:root {
  --forest: #003c2f;
  --forest-deep: #002d24;
  --ivory: #f5e5bd;
  --ivory-soft: #e8d8b0;
  --cobalt: #0649d8;
  --orange: #ff4b16;
  --ink: #001f19;
  --line: rgba(245, 229, 189, 0.32);
  color-scheme: dark;
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-synthesis: none;
  text-rendering: geometricPrecision;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--forest-deep);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--forest-deep);
  color: var(--ivory);
}

body.modal-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-shell {
  min-height: 100svh;
  overflow: hidden;
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
  padding: 0 4.2vw;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 45, 36, 0.86);
}

.topbar::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(circle, rgba(245, 229, 189, 0.3) 0 0.55px, transparent 0.7px);
  background-size: 4px 4px;
  opacity: 0.12;
  content: "";
  pointer-events: none;
}

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

.brand img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border: 1px solid rgba(245, 229, 189, 0.18);
}

.brand-rule {
  width: 40px;
  height: 1px;
  margin: 0 16px;
  background: var(--orange);
}

.brand-meta {
  color: var(--ivory-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 13px;
  font-weight: 600;
}

.nav > a:not(.nav-primary) {
  position: relative;
  padding: 12px 0;
}

.nav > a:not(.nav-primary)::after {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 1px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.nav > a:not(.nav-primary):hover::after,
.nav > a:not(.nav-primary):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 138px;
  padding: 14px 16px;
  background: var(--orange);
  color: var(--ink);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-primary:hover,
.nav-primary:focus-visible {
  background: var(--ivory);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding-top: 92px;
  isolation: isolate;
}

.hero-art {
  position: absolute;
  inset: 92px 0 0;
  z-index: -3;
  overflow: hidden;
  background: var(--forest-deep);
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.025);
  animation: art-arrive 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  will-change: transform;
}

.art-wash {
  position: absolute;
  inset: 0;
  background: rgba(0, 45, 36, 0.13);
  mix-blend-mode: multiply;
}

.art-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(245, 229, 189, 0.48) 0 0.6px, transparent 0.8px);
  background-size: 5px 5px;
  opacity: 0.06;
  pointer-events: none;
}

.hero-panel {
  position: relative;
  display: flex;
  align-items: center;
  width: min(67vw, 1040px);
  padding: clamp(72px, 9vh, 120px) 4.2vw clamp(48px, 6vh, 80px);
}

.panel-field {
  position: absolute;
  inset: 0 -6vw 0 0;
  z-index: -1;
  clip-path: polygon(0 0, 82% 0, 68% 100%, 0 100%);
  background: rgba(0, 48, 37, 0.94);
}

.panel-field::after {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(245, 229, 189, 0.38) 0 0.55px, transparent 0.75px);
  background-size: 4px 4px;
  opacity: 0.08;
  content: "";
}

.hero-copy {
  width: min(620px, 76%);
  animation: copy-arrive 900ms 180ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
  color: var(--ivory-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(255, 75, 22, 0.12);
}

h1 {
  max-width: 760px;
  margin: 0;
  color: var(--ivory);
  font-size: clamp(62px, 7.2vw, 116px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.84;
}

h1 em {
  display: inline-block;
  margin-top: 0.14em;
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.055em;
}

.hero-description {
  max-width: 520px;
  margin: 34px 0 0;
  color: rgba(245, 229, 189, 0.78);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 172px;
  padding: 17px 18px;
  border: 1px solid var(--ivory);
  font-size: 13px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
}

.button-primary {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--ink);
}

.button-primary:hover,
.button-primary:focus-visible {
  border-color: var(--ivory);
  background: var(--ivory);
}

.button-secondary {
  background: transparent;
  color: var(--ivory);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--ivory);
  color: var(--forest-deep);
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: clamp(42px, 7vh, 78px) 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
}

.proof-row div {
  min-width: 0;
  padding-right: 18px;
}

.proof-row div + div {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.proof-row dt {
  margin: 0 0 7px;
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-style: italic;
}

.proof-row dd {
  margin: 0;
  color: rgba(245, 229, 189, 0.6);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.scene-label,
.vertical-label {
  position: absolute;
  z-index: 4;
  margin: 0;
  color: rgba(245, 229, 189, 0.66);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.scene-label {
  right: 4.2vw;
  bottom: 34px;
}

.vertical-label {
  top: 50%;
  right: 24px;
  writing-mode: vertical-rl;
  transform: translateY(-40%) rotate(180deg);
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 4.2vw;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(245, 229, 189, 0.54);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 62px;
  height: 1px;
  overflow: hidden;
  background: rgba(245, 229, 189, 0.28);
}

.scroll-cue i::after {
  position: absolute;
  inset: 0;
  background: var(--orange);
  content: "";
  animation: scan 2.2s ease-in-out infinite;
  transform: translateX(-100%);
}

.launch-modal {
  width: min(660px, calc(100vw - 32px));
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ivory);
  overflow: visible;
}

.launch-modal::backdrop {
  background: rgba(0, 31, 25, 0.86);
}

.launch-modal[open] {
  animation: modal-enter 260ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.modal-card {
  position: relative;
  padding: clamp(34px, 6vw, 62px);
  border: 1px solid var(--ivory);
  background: var(--forest);
  box-shadow: 12px 12px 0 var(--cobalt), 18px 18px 0 var(--orange);
  overflow: hidden;
}

.modal-card::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(245, 229, 189, 0.48) 0 0.55px, transparent 0.75px);
  background-size: 4px 4px;
  opacity: 0.08;
  content: "";
  pointer-events: none;
}

.modal-card::after {
  position: absolute;
  top: -70px;
  right: -70px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: var(--orange);
  content: "";
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-content: center;
  border: 1px solid var(--forest-deep);
  background: var(--ivory);
  color: var(--forest-deep);
  cursor: pointer;
}

.modal-close span {
  grid-area: 1 / 1;
  width: 18px;
  height: 1px;
  background: currentColor;
  transform: rotate(45deg);
}

.modal-close span + span {
  transform: rotate(-45deg);
}

.modal-brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 42px;
}

.modal-brand img {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(245, 229, 189, 0.24);
  object-fit: cover;
}

.modal-brand i {
  display: block;
  width: 72px;
  height: 1px;
  background: var(--orange);
}

.modal-kicker {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  color: var(--ivory-soft);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.modal-card h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 9vw, 92px);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.modal-copy {
  position: relative;
  z-index: 1;
  max-width: 410px;
  margin: 24px 0 0;
  color: rgba(245, 229, 189, 0.76);
  font-size: 17px;
  line-height: 1.55;
}

.modal-status {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr 12px 1fr auto;
  align-items: center;
  gap: 12px;
  margin: 40px 0;
  color: rgba(245, 229, 189, 0.58);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.modal-status i {
  height: 1px;
  background: rgba(245, 229, 189, 0.32);
}

.modal-status b {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(255, 75, 22, 0.12);
}

.modal-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.modal-actions button {
  cursor: pointer;
  font-family: inherit;
}

.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;
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

@keyframes art-arrive {
  from { transform: scale(1.07); }
  to { transform: scale(1.025); }
}

@keyframes copy-arrive {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scan {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}

@keyframes modal-enter {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 980px) {
  .topbar {
    height: 78px;
    padding: 0 24px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand-rule,
  .brand-meta {
    display: none;
  }

  .menu-toggle {
    position: relative;
    z-index: 3;
    display: grid;
    gap: 6px;
    width: 44px;
    height: 44px;
    place-content: center;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ivory);
  }

  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 18px;
    height: 1px;
    background: currentColor;
    transition: transform 180ms ease;
  }

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

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .nav {
    position: fixed;
    inset: 77px 0 auto;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--line);
    background: var(--forest-deep);
  }

  .nav.is-open {
    display: grid;
  }

  .nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-primary {
    margin-top: 14px;
    padding: 16px;
    border: 0;
  }

  .hero {
    padding-top: 78px;
  }

  .hero-art {
    inset: 78px 0 0;
  }

  .hero-art img {
    object-position: 38% center;
  }

  .hero-panel {
    width: 100%;
    padding: 72px 24px 110px;
  }

  .panel-field {
    inset: 0;
    clip-path: polygon(0 0, 92% 0, 78% 100%, 0 100%);
    background: rgba(0, 48, 37, 0.91);
  }

  .hero-copy {
    width: min(640px, 84%);
  }

  .scene-label,
  .vertical-label {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-art img {
    object-position: 32% center;
  }

  .hero-panel {
    align-items: flex-end;
    padding-top: 108px;
  }

  .panel-field {
    clip-path: none;
    background: rgba(0, 45, 36, 0.88);
  }

  .hero-copy {
    width: 100%;
  }

  .eyebrow {
    margin-bottom: 20px;
    font-size: 9px;
  }

  h1 {
    font-size: clamp(54px, 17vw, 78px);
  }

  .hero-description {
    margin-top: 26px;
    font-size: 15px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 28px;
  }

  .button {
    min-width: 0;
    padding: 15px 14px;
    font-size: 11px;
  }

  .proof-row {
    margin-top: 36px;
  }

  .proof-row div {
    padding-right: 10px;
  }

  .proof-row div + div {
    padding-left: 10px;
  }

  .proof-row dt {
    font-size: 16px;
  }

  .proof-row dd {
    font-size: 8px;
  }

  .scroll-cue {
    display: none;
  }

  .modal-card {
    padding: 34px 24px 30px;
    box-shadow: 7px 7px 0 var(--cobalt), 11px 11px 0 var(--orange);
  }

  .modal-card::after {
    top: -90px;
    right: -90px;
  }

  .modal-brand {
    margin-bottom: 32px;
  }

  .modal-status {
    grid-template-columns: auto 1fr 10px 1fr auto;
    gap: 8px;
    margin: 30px 0;
    font-size: 7px;
  }

  .modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
