:root {
  --carbon: #0b0d10;
  --navy: #0f1b2d;
  --steel: #8a9199;
  --mist: #e8ebef;
  --white: #f4f6f8;
  --gold: #c4a35a;
  --amber: #d4893a;
  --composite: #1c2128;
  --og-od: #4a5240;
  --og-bark: #6b5344;
  --font-display: "Exo 2", "Futura", sans-serif;
  --font-body: "Figtree", "Gill Sans", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--mist);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.55;
  background:
    radial-gradient(90% 55% at 85% 0%, rgba(196, 163, 90, 0.14), transparent 50%),
    radial-gradient(70% 45% at 10% 60%, rgba(74, 82, 64, 0.18), transparent 55%),
    linear-gradient(165deg, #050608 0%, var(--carbon) 42%, var(--navy) 100%);
  min-height: 100vh;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }

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

/* —— Nav —— */
.site-nav {
  position: fixed; inset: 0 0 auto; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.5rem;
  background: linear-gradient(to bottom, rgba(11, 13, 16, 0.72), transparent);
  transition: backdrop-filter 0.4s var(--ease), background 0.4s var(--ease);
}

.site-nav.is-scrolled {
  backdrop-filter: blur(14px);
  background: rgba(11, 13, 16, 0.92);
  border-bottom: 1px solid rgba(232, 235, 239, 0.08);
}

.nav-brand {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
}

.nav-links {
  display: flex; gap: 1.35rem;
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.9;
}

.nav-links a:hover { color: var(--gold); }

@media (max-width: 700px) { .nav-links { display: none; } }

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100dvh;
  display: grid; align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(5, 6, 8, 0.96) 0%, rgba(11, 13, 16, 0.35) 48%, rgba(15, 27, 45, 0.4) 100%),
    linear-gradient(90deg, rgba(5, 6, 8, 0.55) 0%, transparent 45%),
    url("assets/hero-exo-outgear-layer.png") center 28% / cover no-repeat;
  transform: scale(1.04);
  animation: hero-drift 22s var(--ease) infinite alternate;
}

@keyframes hero-drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.09) translate3d(-1.2%, -0.6%, 0); }
}

.hero-copy {
  position: relative; z-index: 1;
  padding: clamp(5rem, 12vh, 8rem) clamp(1.25rem, 5vw, 4rem) clamp(2.5rem, 6vh, 4rem);
  max-width: 40rem;
  animation: rise 1.15s var(--ease) both;
}

@keyframes rise {
  from { opacity: 0; transform: translate3d(0, 32px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.brand-mark {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7.5vw, 5.2rem);
  line-height: 0.92;
  letter-spacing: 0.04em;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
}

.lede {
  margin: 0 0 1.75rem;
  max-width: 32rem;
  font-size: 1.02rem;
  color: rgba(232, 235, 239, 0.78);
}

.cta-group { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.cta-primary { background: var(--gold); color: var(--carbon); }
.cta-primary:hover { background: var(--amber); transform: translateY(-1px); }
.cta-ghost { border-color: rgba(232, 235, 239, 0.35); background: transparent; }
.cta-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* —— Sections —— */
.section { padding: clamp(4rem, 10vh, 7.5rem) clamp(1.25rem, 5vw, 4rem); }

.section-form,
.section-material,
.section-jewellery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

@media (max-width: 860px) {
  .section-form,
  .section-material,
  .section-jewellery { grid-template-columns: 1fr; }
  .section-material .section-visual { order: -1; }
}

.eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.eyebrow-light { color: var(--gold); }

.section-text h2,
.line-head h2,
.outgear-bleed-copy h2,
.waitlist-panel h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  letter-spacing: 0.02em;
}

.section-text p,
.line-head p,
.outgear-bleed-copy p,
.waitlist-panel > p,
.line-feature-copy p {
  margin: 0;
  max-width: 34rem;
  color: rgba(232, 235, 239, 0.7);
}

.section-visual {
  position: relative;
  min-height: clamp(280px, 42vw, 520px);
  overflow: hidden;
  background: var(--composite);
}

.section-visual::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, transparent 50%, rgba(196, 163, 90, 0.12));
}

/* —— Exogear line —— */
.section-line { display: grid; gap: 2.25rem; }

.line-feature {
  position: relative;
  min-height: clamp(300px, 48vw, 560px);
  overflow: hidden;
  background: var(--composite);
}

.line-feature img {
  transition: transform 1.2s var(--ease);
}

.line-feature:hover img { transform: scale(1.03); }

.line-feature-copy {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: linear-gradient(to top, rgba(5, 6, 8, 0.92), transparent);
}

.line-feature-copy h3 {
  margin: 0.35rem 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.sku-code {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.sku-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 700px) { .sku-mosaic { grid-template-columns: 1fr; } }

.mosaic-cell {
  margin: 0;
  position: relative;
  min-height: clamp(240px, 36vw, 420px);
  overflow: hidden;
  background: var(--composite);
}

.mosaic-cell img {
  transition: transform 0.7s var(--ease);
}

.mosaic-cell:hover img { transform: scale(1.04); }

.mosaic-cell figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1rem 1.1rem;
  font-size: 0.85rem;
  background: linear-gradient(to top, rgba(5, 6, 8, 0.9), transparent);
}

/* —— Outgear —— */
.section-outgear {
  display: grid;
  gap: 1.25rem;
  padding-top: clamp(3rem, 8vh, 5rem);
}

.outgear-bleed {
  position: relative;
  min-height: clamp(360px, 62vw, 720px);
  overflow: hidden;
  background: #0a0c0a;
}

.outgear-bleed::before {
  content: "";
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to top, rgba(5, 6, 8, 0.92) 0%, transparent 55%),
    linear-gradient(90deg, rgba(74, 82, 64, 0.25), transparent 40%);
}

.outgear-bleed img {
  animation: outgear-drift 24s var(--ease) infinite alternate;
}

@keyframes outgear-drift {
  from { transform: scale(1.02); }
  to { transform: scale(1.06) translate3d(-1%, 0, 0); }
}

.outgear-bleed-copy {
  position: absolute; z-index: 2;
  left: 0; right: 0; bottom: 0;
  padding: clamp(1.75rem, 5vw, 3.5rem);
  max-width: 36rem;
}

.outgear-bleed-copy h2 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: 0.08em;
}

.outgear-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.og-cell {
  margin: 0;
  position: relative;
  min-height: clamp(260px, 38vw, 440px);
  overflow: hidden;
  background: #12140f;
}

.og-cell.og-wide {
  grid-column: 1 / -1;
  min-height: clamp(280px, 42vw, 480px);
}

.og-cell img {
  transition: transform 0.75s var(--ease), filter 0.75s var(--ease);
  filter: saturate(0.92);
}

.og-cell:hover img {
  transform: scale(1.035);
  filter: saturate(1.05);
}

.og-cell figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.1rem 1.2rem;
  display: grid; gap: 0.2rem;
  background: linear-gradient(to top, rgba(5, 6, 8, 0.92), transparent);
}

.og-cell figcaption strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.og-cell figcaption span:last-child {
  font-size: 0.82rem;
  color: rgba(232, 235, 239, 0.65);
}

@media (max-width: 700px) {
  .outgear-grid { grid-template-columns: 1fr; }
  .og-cell.og-wide { grid-column: auto; }
}

/* —— Portal to L Marshall —— */
.section-portal-marshall {
  display: grid;
  gap: 1rem;
  padding-top: clamp(3rem, 8vh, 5rem);
}

.world-portal {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: clamp(340px, 52vw, 580px);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border: 1px solid rgba(184, 149, 107, 0.28);
  background: #07080c;
}

@media (max-width: 860px) {
  .world-portal { grid-template-columns: 1fr; }
}

.world-portal-media {
  position: relative;
  min-height: 260px;
  overflow: hidden;
}

.world-portal-media img {
  transition: transform 1.1s var(--ease);
}

.world-portal:hover .world-portal-media img {
  transform: scale(1.04);
}

.world-portal-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.75rem, 4vw, 3rem);
  background:
    radial-gradient(70% 50% at 0% 0%, rgba(184, 149, 107, 0.14), transparent 55%),
    linear-gradient(165deg, #07080c, #101218);
}

.world-portal-copy h2 {
  margin: 0 0 0.75rem;
  font-family: "Cormorant Garamond", var(--font-display), serif;
  font-weight: 500;
  letter-spacing: 0.14em;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.world-portal-copy p {
  margin: 0 0 1.5rem;
  max-width: 28rem;
  color: rgba(232, 235, 239, 0.72);
}

.world-portal-cta {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(196, 163, 90, 0.45);
  align-self: flex-start;
  padding-bottom: 0.35rem;
}

.world-portal:hover .world-portal-cta {
  color: var(--amber);
  border-color: var(--amber);
}

.portal-alt {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(232, 235, 239, 0.45);
}

.portal-alt a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* —— Waitlist —— */
.section-waitlist { padding-bottom: clamp(5rem, 12vh, 8rem); }

.waitlist-panel {
  max-width: 36rem;
  padding-top: 0.5rem;
}

.waitlist-form {
  margin-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 0.6rem;
}

.waitlist-form input,
.waitlist-form select {
  flex: 1 1 12rem; min-width: 0;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(232, 235, 239, 0.2);
  background: rgba(28, 33, 40, 0.85);
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
}

.waitlist-form select { cursor: pointer; }

.waitlist-form input:focus,
.waitlist-form select:focus { border-color: var(--gold); }

.waitlist-form button {
  padding: 0.9rem 1.3rem; border: 0;
  background: var(--gold); color: var(--carbon);
  font-family: var(--font-body); font-weight: 700;
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s var(--ease);
}

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

.form-note {
  margin-top: 1rem;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
}

/* —— Footer —— */
.site-footer {
  padding: 2rem clamp(1.25rem, 5vw, 4rem) 2.5rem;
  border-top: 1px solid rgba(232, 235, 239, 0.1);
  font-size: 0.82rem;
  color: rgba(232, 235, 239, 0.5);
}

.site-footer p { margin: 0 0 0.4rem; }
.site-footer strong {
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  color: var(--gold);
}
.fine { font-size: 0.75rem; }

/* —— Reveal —— */
.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: translate3d(0, 0, 0); }

.section-text h2 { position: relative; }
.section-text h2::after {
  content: "";
  display: block; width: 2.5rem; height: 2px; margin-top: 0.75rem;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.7s var(--ease) 0.15s;
}
.reveal.is-in h2::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  .hero-media,
  .outgear-bleed img { animation: none; }
  .hero-copy, .reveal { animation: none; transition: none; opacity: 1; transform: none; }
  .section-text h2::after { transform: scaleX(1); }
}
