:root {
  --night: #0B1F1A;
  --deep: #102E26;
  --paper: #F4EDDF;
  --paper-alt: #E8DFC9;
  --lime: #C6FF3D;
  --orange: #FF7A29;
  --amber: #FFD166;
  --pine: #1B4A3C;
  --brown: #2A2A24;
  --mist: #A8C0B6;
  --line: rgba(198, 255, 61, .22);
  --shadow: 0 18px 48px rgba(0, 0, 0, .38);
  --font-display: "Oswald", "Archivo Narrow", "Arial Narrow", "Helvetica Neue Condensed", Impact, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1280px;
  --header-gutter: clamp(16px, 4vw, 48px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 4%, rgba(198, 255, 61, .08), transparent 28%),
    radial-gradient(circle at 92% 14%, rgba(255, 122, 41, .07), transparent 26%),
    linear-gradient(145deg, #0b1f1a 0%, #102e26 48%, #0b1f1a 100%);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

p,
h1,
h2,
h3,
h4,
figure {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  line-height: 1.1;
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

::selection {
  background: var(--lime);
  color: var(--night);
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: -.01em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: .75rem 1rem;
  border-radius: 999px;
  background: var(--lime);
  color: var(--night);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  transform: translateY(-180%);
  transition: transform .2s ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: clamp(8px, 1.5vw, 18px) var(--header-gutter) 0;
}

.header-frame {
  width: min(var(--container), 100%);
  margin-inline: auto;
}

.scroll-meter {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 110;
  background: rgba(244, 237, 223, .08);
  pointer-events: none;
}

.scroll-meter-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--lime), var(--amber), var(--orange));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .15s linear;
}

.header-utility {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 2vw, 24px);
  max-height: 34px;
  overflow: hidden;
  padding: 0 clamp(10px, 2vw, 24px) 8px;
  color: var(--mist);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: max-height .25s ease, opacity .2s ease, padding .25s ease;
}

.site-header.is-condensed .header-utility {
  max-height: 0;
  opacity: 0;
  padding-bottom: 0;
}

.utility-item {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  white-space: nowrap;
}

.utility-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(198, 255, 61, .14), 0 0 12px rgba(198, 255, 61, .75);
}

.utility-link {
  color: var(--lime);
  border-bottom: 1px solid rgba(198, 255, 61, .4);
  padding-bottom: 1px;
}

.utility-link:hover {
  color: var(--amber);
  border-color: var(--amber);
}

.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  padding: 10px 12px 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(16, 46, 38, .96), rgba(11, 31, 26, .88)),
    radial-gradient(circle at 82% 20%, rgba(198, 255, 61, .16), transparent 32%);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .06);
  backdrop-filter: blur(18px);
  transition: padding .3s ease, border-radius .3s ease, background .3s ease, box-shadow .3s ease;
}

.site-header.is-condensed .header-bar {
  padding-block: 7px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(16, 46, 38, .99), rgba(11, 31, 26, .95)),
    radial-gradient(circle at 82% 20%, rgba(198, 255, 61, .12), transparent 32%);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .46), inset 0 1px 0 rgba(255, 255, 255, .06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 0;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 255, 61, .22), transparent 62%);
  flex: 0 0 auto;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: var(--lime);
  opacity: .8;
}

.brand-mark::before {
  width: 1px;
  height: 14px;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
}

.brand-mark::after {
  width: 14px;
  height: 1px;
  top: 50%;
  left: 5px;
  transform: translateY(-50%);
}

.brand-mark-core {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}

.brand-name {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .08em;
  white-space: nowrap;
}

.brand-line {
  color: var(--mist);
  font-size: 10px;
  letter-spacing: .16em;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 8px 10px 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--paper);
}

.nav-toggle-box {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.nav-toggle-line {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--lime);
  transition: transform .2s ease;
}

.nav-toggle-label {
  color: var(--mist);
  font-size: 11px;
  letter-spacing: .16em;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:first-child {
  transform: translateY(2.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:last-child {
  transform: translateY(-2.5px) rotate(-45deg);
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
}

.auth-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid rgba(255, 122, 41, .45);
  border-radius: 999px;
  background: rgba(255, 122, 41, .08);
  color: var(--amber);
  font-size: 12px;
  letter-spacing: .08em;
  white-space: nowrap;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.auth-switch:hover {
  color: var(--paper);
  border-color: var(--amber);
  background: rgba(255, 122, 41, .16);
}

.auth-switch-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  min-width: 0;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--mist);
  font-size: 13px;
  letter-spacing: .04em;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease;
}

.nav-link:hover {
  color: var(--paper);
  background: rgba(198, 255, 61, .08);
}

.nav-link[aria-current="page"] {
  color: var(--lime);
  background: rgba(198, 255, 61, .12);
}

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
  transform: translateX(-50%);
}

.header-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  flex: 0 0 auto;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--night);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  white-space: nowrap;
  transition: background .2s ease, transform .2s ease;
}

.header-cta:hover {
  background: var(--amber);
  transform: translateY(-1px);
}

.header-cta-arrow {
  font-family: var(--font-mono);
  font-weight: 700;
}

@media (min-width: 901px) {
  .site-header.is-condensed .site-nav .nav-link:not(.nav-link--offerings) {
    display: none;
  }

  .site-header.is-condensed .header-cta {
    display: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding-top: 8px;
  }

  .header-utility {
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 14px;
    max-height: 58px;
    padding-bottom: 6px;
    font-size: 10px;
  }

  .header-bar {
    padding: 8px 10px 8px 14px;
    border-radius: 24px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-name {
    font-size: 17px;
  }

  .brand-line {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: linear-gradient(150deg, rgba(16, 46, 38, .99), rgba(11, 31, 26, .98));
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
  }

  .nav-panel[data-open="true"] {
    display: flex;
  }

  .auth-switch {
    justify-content: center;
  }

  .site-nav {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-left: 0;
  }

  .nav-link {
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
  }

  .header-actions {
    width: 100%;
  }

  .header-cta {
    width: 100%;
    justify-content: center;
  }
}

.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 120px);
  overflow: hidden;
  border-top: 1px solid var(--pine);
  background:
    radial-gradient(circle at 18% 12%, rgba(198, 255, 61, .1), transparent 30%),
    radial-gradient(circle at 88% 78%, rgba(255, 122, 41, .08), transparent 34%),
    linear-gradient(160deg, var(--deep), var(--night) 62%);
  color: var(--paper);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(198, 255, 61, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198, 255, 61, .04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .85), transparent 70%);
  pointer-events: none;
}

.site-footer::after {
  content: "HOME";
  position: absolute;
  right: -.04em;
  bottom: -.22em;
  z-index: 0;
  color: rgba(198, 255, 61, .04);
  font-family: var(--font-display);
  font-size: clamp(120px, 22vw, 300px);
  line-height: .8;
  letter-spacing: -.04em;
  pointer-events: none;
}

.footer-frame {
  position: relative;
  z-index: 1;
  width: min(var(--container), calc(100% - 2 * var(--header-gutter)));
  margin-inline: auto;
  padding-block: clamp(42px, 7vw, 96px) 24px;
}

.footer-masthead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: clamp(30px, 5vw, 56px);
  border-bottom: 1px solid var(--pine);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.footer-brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 255, 61, .18), transparent 62%);
  flex: 0 0 auto;
}

.footer-brand-mark::before,
.footer-brand-mark::after {
  content: "";
  position: absolute;
  background: var(--lime);
  opacity: .7;
}

.footer-brand-mark::before {
  width: 1px;
  height: 18px;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
}

.footer-brand-mark::after {
  width: 18px;
  height: 1px;
  top: 50%;
  left: 7px;
  transform: translateY(-50%);
}

.footer-brand-core {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 16px var(--lime);
}

.footer-brand-copy {
  display: flex;
  flex-direction: column;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 500;
  letter-spacing: .04em;
}

.footer-brand-line {
  color: var(--mist);
  font-size: 11px;
  letter-spacing: .16em;
}

.footer-coordinate {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--mist);
  font-size: 11px;
  letter-spacing: .18em;
  white-space: nowrap;
}

.footer-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(198, 255, 61, .14), 0 0 16px var(--lime);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .8fr) minmax(0, .9fr);
  gap: clamp(24px, 4vw, 64px);
  padding-block: clamp(32px, 5vw, 56px);
}

.footer-column {
  min-width: 0;
}

.footer-heading {
  margin-bottom: 18px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  display: inline-block;
  width: fit-content;
  border-bottom: 1px solid transparent;
  color: var(--paper);
  font-size: 14px;
  transition: color .2s ease, border-color .2s ease;
}

.footer-link:hover {
  color: var(--lime);
  border-color: var(--lime);
}

.footer-contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  padding-block: 22px;
  border-top: 1px solid var(--pine);
  border-bottom: 1px solid var(--pine);
  color: var(--mist);
  font-size: 12px;
}

.footer-contact-line {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}

.footer-contact-label {
  color: var(--amber);
  font-size: 10px;
  letter-spacing: .16em;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 22px;
  color: var(--mist);
  font-size: 11px;
  letter-spacing: .06em;
}

.footer-legal-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 860px) {
  .footer-masthead {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-contact-strip {
    flex-direction: column;
    gap: 8px;
  }
}

.container {
  width: min(var(--container), calc(100% - 2 * var(--header-gutter)));
  margin-inline: auto;
}

.section {
  padding-block: clamp(48px, 8vw, 110px);
}

.section--tight {
  padding-block: clamp(28px, 5vw, 64px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lime);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--lime);
}

.display {
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 176px);
  font-weight: 500;
  line-height: .9;
  letter-spacing: -.02em;
}

.display--ink {
  color: var(--paper);
}

.display--brown {
  color: var(--brown);
}

.lede {
  max-width: 38em;
  color: var(--mist);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.75;
}

.body-copy {
  max-width: 38em;
  color: var(--mist);
  font-size: 16px;
  line-height: 1.75;
}

.body-copy p + p {
  margin-top: 1em;
}

.paper-panel {
  border: 1px solid var(--paper-alt);
  background: var(--paper);
  color: var(--brown);
  box-shadow: 4px 4px 0 rgba(16, 46, 38, .35);
}

.paper-panel .body-copy,
.paper-panel .lede {
  color: var(--brown);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-align: center;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--solid {
  background: var(--lime);
  color: var(--night);
}

.button--solid:hover {
  background: var(--amber);
}

.button--orange {
  background: var(--orange);
  color: var(--night);
}

.button--orange:hover {
  background: var(--amber);
}

.button--ghost {
  border-color: var(--pine);
  background: rgba(244, 237, 223, .04);
  color: var(--paper);
}

.button--ghost:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.button--ink {
  background: var(--brown);
  color: var(--paper);
}

.button--ink:hover {
  background: var(--deep);
  color: var(--lime);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--mist);
  font-size: 11px;
  letter-spacing: .12em;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--pine);
}

.breadcrumb-link {
  color: var(--lime);
}

.breadcrumb-link:hover {
  color: var(--amber);
}

.breadcrumb-current {
  color: var(--paper);
}

.grid {
  display: grid;
  gap: clamp(18px, 3vw, 36px);
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--asym {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid var(--pine);
  background: rgba(16, 46, 38, .55);
}

.card--paper {
  border-color: var(--paper-alt);
  background: var(--paper);
  color: var(--brown);
  box-shadow: 4px 4px 0 rgba(16, 46, 38, .35);
}

.card--dark {
  background: var(--deep);
  color: var(--paper);
}

.card-label {
  color: var(--lime);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.card--paper .card-label {
  color: var(--orange);
}

.card-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.01em;
}

.card-copy {
  color: var(--mist);
  font-size: 14px;
  line-height: 1.7;
}

.card--paper .card-copy {
  color: var(--brown);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
}

.tag--lime {
  background: var(--lime);
  color: var(--night);
}

.tag--orange {
  background: var(--orange);
  color: var(--night);
}

.tag--ghost {
  border: 1px solid var(--pine);
  background: transparent;
  color: var(--mist);
}

.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--pine);
  background: var(--deep);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 31, 26, 0) 45%, rgba(198, 255, 61, .14));
  pointer-events: none;
}

.media-frame img,
.media-frame picture,
.media-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame--wide {
  aspect-ratio: 16 / 9;
}

.media-frame--tall {
  aspect-ratio: 3 / 4;
}

.media-frame--square {
  aspect-ratio: 1 / 1;
}

.media-frame--cinema {
  aspect-ratio: 21 / 9;
}

@media (max-width: 860px) {
  .grid--2,
  .grid--3,
  .grid--asym {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
