/* ==========================================================================
   AurelSoft
   The studio is the frame (brand guidelines v1.0: Midnight Navy, Soft White,
   Signature Gold, Manrope + Inter); each product keeps its own colours.
   ========================================================================== */

:root {
  /* Studio (brand guidelines) */
  --gold: #D4AF37;          /* Signature Gold: logo, accents, key actions */
  --gold-deep: #B78E1E;     /* Deep Gold */
  --gold-hover: #E0BE4E;
  --gold-soft: rgba(212, 175, 55, .32);
  --sand: #E7D9A8;          /* Warm Sand */
  --navy: #0B1426;          /* Midnight Navy: dark surfaces, headings */
  --navy-2: #0F1A30;
  --navy-3: #15223B;
  --navy-deep: #080F1D;
  --graphite: #24272D;      /* Graphite: body text, neutral surfaces */
  --white: #F7F7F5;         /* Soft White: light backgrounds */
  --steel: #6B7280;         /* Steel Gray */
  --on-navy: rgba(247, 247, 245, .76);
  --on-navy-muted: rgba(247, 247, 245, .6);
  --line-navy: rgba(247, 247, 245, .09);

  /* Products */
  --aurel-bg: #12201B;
  --aurel-ivory: #EFE9DC;
  --aurel-brass: #C9A96B;
  --tempo-bg: #F3F2FA;
  --tempo-ink: #17142B;
  --tempo-violet: #6A5AF9;
  --tempo-pink: #E2489F;
  --fit-navy: #0F2340;
  --fit-orange: #EA5A0C;
  --fit-yellow: #F6C21A;

  /* Type */
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Manrope", "Inter", ui-sans-serif, system-ui, sans-serif;
  --step--1: .875rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  --step-3: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
  --step-4: clamp(3rem, 1.6rem + 6vw, 6.25rem);
  --step-5: clamp(3rem, 1rem + 7vw, 7.5rem);

  /* Layout */
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(88px, 12vw, 168px);
  --radius-lg: 20px;
  --radius-md: 14px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--white);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, dt, .brand, .panel__name { font-family: var(--font-head); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.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 {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--gold); color: var(--navy);
  border-radius: 8px; text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Brand ---------- */

/* Lockup: the Golden A + "aurel" in Signature Gold + "soft" in Soft White (reversed lockup).
   Clear space around it is at least half the mark's width. */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--white);
}
.brand__mark { width: 30px; height: auto; flex: none; }
.brand__word {
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1;
  letter-spacing: -.025em;
  padding-bottom: 2px;
}
.brand__aurel { color: var(--gold); }
.brand__text { display: grid; gap: 8px; }
.brand--tagline { gap: 14px; }
.brand--tagline .brand__mark { width: 44px; }
.brand--tagline .brand__word { font-size: 1.75rem; }
.brand__tag {
  font-family: var(--font);
  font-size: .6875rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--on-navy-muted);
}

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background-color .3s ease, box-shadow .3s ease;
}
.nav[data-scrolled] {
  background: rgba(11, 20, 38, .86);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line-navy);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 32px);
  font-size: .9375rem;
}
.nav__links a {
  text-decoration: none;
  color: var(--on-navy);
  transition: color .2s ease;
}
.nav__links a:hover { color: var(--white); }
.nav__links .nav__cta {
  color: var(--navy);
  background: var(--gold);
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 600;
}
.nav__links .nav__cta:hover { color: var(--navy); background: var(--gold-hover); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: none; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav__burger, .nav__burger::before, .nav__burger::after {
  display: block; width: 20px; height: 2px; background: var(--white);
  border-radius: 2px; transition: transform .3s var(--ease), opacity .2s;
  position: relative;
}
.nav__burger::before, .nav__burger::after { content: ""; position: absolute; left: 0; }
.nav__burger::before { top: -6px; }
.nav__burger::after { top: 6px; }
.nav[data-open] .nav__burger { background: transparent; }
.nav[data-open] .nav__burger::before { transform: translateY(6px) rotate(45deg); }
.nav[data-open] .nav__burger::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--navy);
    border-bottom: 1px solid var(--line-navy);
    display: none;
  }
  .nav[data-open] { background: var(--navy); }
  .nav[data-open] .nav__links { display: flex; }
  .nav__links a { padding: 14px 0; font-size: 1.0625rem; border-bottom: 1px solid var(--line-navy); }
  .nav__links .nav__cta { margin-top: 16px; text-align: center; border-bottom: 0; padding: 14px; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  padding-top: calc(72px + clamp(40px, 6vw, 88px));
  padding-bottom: clamp(64px, 8vw, 112px);
}
/* Graphic language: fine triangular line art in gold, fading out from the top right. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 30% 0;
  z-index: -1;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='208' viewBox='0 0 120 208'%3E%3Cpath fill='none' stroke='%23D4AF37' d='M0 0l120 208M120 0L0 208M60 0L-60 208M60 0l120 208M0 104h120M0 0h120'/%3E%3C/svg%3E") 0 0 / 120px 208px;
  opacity: .16;
  -webkit-mask-image: radial-gradient(ellipse 60% 85% at 95% 0%, #000 5%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 85% at 95% 0%, #000 5%, transparent 72%);
}
.hero__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 30rem);
  gap: 28px clamp(32px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.hero__title {
  grid-column: 1 / -1;
  font-size: var(--step-5);
  font-weight: 700;
  line-height: .96;
  letter-spacing: -.04em;
  color: var(--white);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.08em; }
.hero__title .line > span { display: block; }
.hero__title .line + .line { color: var(--gold); }
.hero__lede {
  grid-column: 2;
  max-width: 34rem;
  color: var(--on-navy);
  font-size: var(--step-1);
  line-height: 1.55;
  padding-bottom: .5rem;
}

@media (max-width: 960px) {
  .hero__intro { grid-template-columns: 1fr; }
  .hero__lede { grid-column: 1; }
}

/* ---------- Triptych (hero product panels) ---------- */

.triptych {
  display: flex;
  gap: 14px;
  height: clamp(440px, 62vh, 620px);
}
.panel {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--p-bg);
  transition: flex-grow .7s var(--ease);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.panel > a {
  position: absolute;
  inset: 0;
  display: block;
  text-decoration: none;
  color: var(--p-fg);
  border-radius: inherit;
}
.panel > a:focus-visible { outline-offset: -4px; }

@media (hover: hover) and (min-width: 821px) {
  .panel:hover, .panel:focus-within { flex-grow: 2.1; }
}

.panel__shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), opacity .6s ease;
}
.panel:hover .panel__shot { transform: scale(1.03); }

.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, var(--p-bg) 18%, color-mix(in srgb, var(--p-bg) 70%, transparent) 42%, transparent 72%);
}

.panel__body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(20px, 2.4vw, 32px);
}
.panel__kind { font-size: var(--step--1); opacity: .72; }
.panel__name {
  font-size: clamp(1.875rem, 1.2rem + 1.8vw, 2.75rem);
  line-height: 1.05;
  font-weight: var(--p-weight, 700);
  letter-spacing: var(--p-track, -.03em);
  font-style: var(--p-style, normal);
  text-transform: var(--p-case, none);
}
.panel__line { max-width: 22rem; opacity: .86; }
.panel__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: var(--step--1);
  font-weight: 600;
}
.panel__live i {
  width: 8px; height: 8px; border-radius: 50%;
  background: #3DD68C;
  box-shadow: 0 0 0 0 rgba(61, 214, 140, .6);
  animation: live 2.4s ease-out infinite;
}
@keyframes live {
  0% { box-shadow: 0 0 0 0 rgba(61, 214, 140, .55); }
  70%, 100% { box-shadow: 0 0 0 8px rgba(61, 214, 140, 0); }
}

.panel--aurel { --p-bg: var(--aurel-bg); --p-fg: var(--aurel-ivory); --p-weight: 400; --p-track: .2em; }
.panel--aurel .panel__shot { object-position: 55% 35%; }
.panel--tempo { --p-bg: #241A63; --p-fg: #fff; --p-weight: 800; --p-track: -.04em; background: linear-gradient(150deg, #5B4BF2, #8B4FE6 55%, #D9479F); }
.panel--tempo::after { background: linear-gradient(to top, #3B2797 14%, rgba(59, 39, 151, .72) 40%, rgba(59, 39, 151, 0) 70%); }
.panel--tempo { --phone-frame: #17142B; --phone-ratio: 520 / 1120; }
.panel--fit { --p-bg: var(--fit-navy); --p-fg: #fff; --p-weight: 900; --p-track: -.01em; --p-style: italic; --p-case: uppercase; }
.panel--fit { background: radial-gradient(120% 80% at 70% 10%, #1D3A63, var(--fit-navy) 60%); }
.panel__phones {
  position: absolute;
  inset: 0;
  display: block;
}
.panel__phones img {
  position: absolute;
  top: 9%;
  width: clamp(130px, 44%, 210px);
  aspect-ratio: var(--phone-ratio, 9 / 18);
  object-fit: cover;
  object-position: top;
  border-radius: 18px;
  border: 4px solid var(--phone-frame, #071629);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .6);
  transition: transform 1s var(--ease);
}
.panel__phones img:first-child { left: 50%; transform: translateX(-92%) rotate(-7deg); }
.panel__phones img:last-child { left: 50%; top: 13%; transform: translateX(-8%) rotate(5deg); }
.panel:hover .panel__phones img:first-child { transform: translateX(-100%) rotate(-9deg); }
.panel:hover .panel__phones img:last-child { transform: translateX(0) rotate(6deg); }

@media (max-width: 820px) {
  .triptych { flex-direction: column; height: auto; }
  .panel { flex: none; height: 340px; }
}

/* ---------- Product chapters ---------- */

.chapter {
  --c-bg: var(--navy);
  --c-fg: var(--white);
  --c-muted: var(--on-navy);
  --c-accent: var(--gold);
  --c-line: rgba(255, 255, 255, .12);
  background: var(--c-bg);
  color: var(--c-fg);
  padding-block: var(--section);
}

.chapter--aurel {
  --c-bg: var(--aurel-bg);
  --c-fg: var(--aurel-ivory);
  --c-muted: rgba(239, 233, 220, .7);
  --c-accent: var(--aurel-brass);
  --c-line: rgba(201, 169, 107, .24);
}
.chapter--tempo {
  --c-bg: var(--tempo-bg);
  --c-fg: var(--tempo-ink);
  --c-muted: #565370;
  --c-accent: var(--tempo-violet);
  --c-line: rgba(23, 20, 43, .12);
}
.chapter--fit {
  --c-bg: var(--fit-navy);
  --c-fg: #fff;
  --c-muted: #B6C3D4;
  --c-accent: var(--fit-yellow);
  --c-line: rgba(255, 255, 255, .14);
}

.chapter__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.chapter__grid--phones { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }

.chapter__kind {
  color: var(--c-accent);
  font-weight: 600;
  font-size: var(--step--1);
  margin-bottom: 18px;
}
.chapter__name {
  font-size: var(--step-4);
  line-height: .95;
  letter-spacing: -.04em;
  font-weight: 750;
}
.chapter--aurel .chapter__name { font-weight: 400; letter-spacing: .18em; margin-right: -.18em; }
.chapter--tempo .chapter__name { font-weight: 800; }
.chapter--fit .chapter__name { font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -.02em; }

.chapter__tagline {
  margin-top: 18px;
  font-size: var(--step-2);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -.015em;
}
.chapter__desc {
  margin-top: 24px;
  color: var(--c-muted);
  max-width: 34rem;
}
.chapter__actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}
.soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--step--1);
  color: var(--c-muted);
}
.soon::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  border: 2px solid var(--fit-yellow);
}

@media (max-width: 960px) {
  .chapter__grid, .chapter__grid--phones { grid-template-columns: 1fr; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 650;
  text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s ease, background-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--aurel { background: var(--aurel-brass); color: #13201B; border-radius: 2px; }
.btn--aurel:hover { background: #D4B67C; }
.btn--tempo {
  color: #fff;
  border-radius: 16px;
  background: linear-gradient(120deg, var(--tempo-violet), #9050EE 60%, var(--tempo-pink));
  box-shadow: 0 12px 28px -10px rgba(106, 90, 249, .65);
}
.btn--fit {
  background: var(--fit-yellow);
  color: var(--fit-navy);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  border-radius: 10px;
}
.btn--fit:hover { background: #FFD03A; }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-hover); box-shadow: 0 14px 30px -14px rgba(212, 175, 55, .6); }

/* ---------- Gallery ---------- */

.gallery { display: grid; gap: 14px; }
.gallery__stage {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--c-line), 0 40px 80px -36px rgba(0, 0, 0, .55);
  aspect-ratio: 16 / 10;
}
.gallery__stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0 0;
  transition: opacity .35s ease;
}
.gallery__stage img.is-swapping { opacity: 0; }
.gallery figcaption {
  font-size: var(--step--1);
  color: var(--c-muted);
  min-height: 1.6em;
}
.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.gallery__thumbs button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  opacity: .55;
  box-shadow: 0 0 0 1px var(--c-line);
  transition: opacity .2s ease, box-shadow .2s ease;
}
.gallery__thumbs button:hover { opacity: .85; }
.gallery__thumbs button[aria-pressed="true"] {
  opacity: 1;
  box-shadow: 0 0 0 2px var(--c-accent);
}
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }

/* ---------- Phones (Commit 40+) ---------- */

.phones {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 22px);
  align-items: start;
}
.phone { display: grid; gap: 12px; }
.phone img {
  width: 100%;
  aspect-ratio: var(--phone-ratio, 9 / 18.5);
  object-fit: cover;
  object-position: top;
  border-radius: 22px;
  border: 5px solid var(--phone-frame, #071629);
  box-shadow: var(--phone-shadow, 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 60px -30px rgba(0, 0, 0, .7));
  background: #F1F1F1;
}
.chapter--tempo .phones {
  --phone-frame: var(--tempo-ink);
  --phone-ratio: 520 / 1120;
  --phone-shadow: 0 30px 60px -28px rgba(60, 40, 160, .5);
}
.phone:nth-child(even) { margin-top: 48px; }
.phone figcaption { font-size: var(--step--1); color: var(--c-muted); text-align: center; }

@media (max-width: 960px) {
  .phones {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 12px;
    scrollbar-width: none;
  }
  .phones::-webkit-scrollbar { display: none; }
  .phone { flex: 0 0 min(58vw, 260px); scroll-snap-align: start; }
  .phone:nth-child(even) { margin-top: 0; }
}

/* ---------- Features + under the hood ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px clamp(20px, 3vw, 40px);
  margin-top: clamp(72px, 9vw, 120px);
}
.features li { border-top: 1px solid var(--c-line); padding-top: 22px; }
.features h3 {
  font-size: 1.0625rem;
  line-height: 1.35;
  font-weight: 650;
  letter-spacing: -.01em;
  margin-bottom: 10px;
}
.features p { color: var(--c-muted); font-size: .9688rem; line-height: 1.6; }

@media (max-width: 1024px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

.hood {
  margin-top: clamp(48px, 6vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: 16px clamp(24px, 4vw, 56px);
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--c-fg) 5%, transparent);
  box-shadow: inset 0 0 0 1px var(--c-line);
}
.hood__title { font-size: var(--step-1); font-weight: 650; letter-spacing: -.01em; }
.hood__note { color: var(--c-muted); max-width: 48rem; }
.stack {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.stack li {
  font-size: .8125rem;
  font-weight: 550;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--c-line);
  color: var(--c-fg);
}
@media (max-width: 760px) {
  .hood { grid-template-columns: 1fr; }
  .stack { grid-column: 1; }
}

/* ---------- Section titles (studio sections) ---------- */

.section-title {
  font-size: var(--step-3);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -.03em;
}
.section-lede { font-size: var(--step-1); line-height: 1.55; max-width: 36rem; }

/* ---------- How we build ---------- */

.craft {
  background: var(--white);
  color: var(--navy);
  padding-block: var(--section);
}
.craft__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px clamp(32px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(56px, 7vw, 96px);
}
.craft .section-lede { color: var(--graphite); }
.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 64px) clamp(28px, 4vw, 56px);
  margin: 0;
}
.principles div { position: relative; border-top: 1px solid rgba(11, 20, 38, .16); padding-top: 24px; }
.principles div::before {
  content: "";
  position: absolute;
  top: -2px; left: 0;
  width: 40px; height: 3px;
  background: var(--gold);
}
.principles dt {
  font-size: var(--step-1);
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.3;
  margin-bottom: 12px;
}
.principles dd { color: var(--graphite); }

@media (max-width: 960px) {
  .craft__head { grid-template-columns: 1fr; }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) { .principles { grid-template-columns: 1fr; } }

/* ---------- What's next ---------- */

.next { padding-block: var(--section); background: var(--navy); }
.next .section-title { margin-bottom: clamp(48px, 6vw, 80px); }
.roadmap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px clamp(24px, 3vw, 40px);
  position: relative;
}
.roadmap::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 6px;
  height: 1px;
  background: linear-gradient(to right, var(--gold) 0%, var(--gold) 45%, rgba(247, 247, 245, .14) 55%);
}
.roadmap li { position: relative; padding-top: 40px; }
.roadmap li::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: inset 0 0 0 2px rgba(247, 247, 245, .3);
}
.roadmap li:has(.status--now)::before { background: var(--gold); box-shadow: 0 0 0 5px rgba(212, 175, 55, .18); }
.roadmap h3 { font-size: var(--step-1); font-weight: 650; letter-spacing: -.015em; margin: 14px 0 10px; }
.roadmap p { color: var(--on-navy-muted); font-size: .9688rem; }
.status {
  display: inline-block;
  font-size: .8125rem;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 999px;
  color: var(--on-navy);
  box-shadow: inset 0 0 0 1px rgba(247, 247, 245, .2);
}
.status--now { color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold-soft); }

@media (max-width: 960px) {
  .roadmap { grid-template-columns: 1fr 1fr; }
  .roadmap::before { display: none; }
}
@media (max-width: 600px) {
  .roadmap { grid-template-columns: 1fr; gap: 0; padding-left: 28px; }
  .roadmap::before {
    display: block; left: 6px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto;
    background: linear-gradient(to bottom, var(--gold) 45%, rgba(247, 247, 245, .14) 55%);
  }
  .roadmap li { padding: 0 0 40px; }
  .roadmap li:last-child { padding-bottom: 0; }
  .roadmap li::before { left: -28px; }
  .roadmap h3 { margin-top: 10px; }
}

/* ---------- Studio + contact ---------- */

.studio {
  background: var(--navy-2);
  padding-block: var(--section);
}
.studio__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 32px clamp(32px, 6vw, 96px);
  align-items: start;
}
.studio__copy { display: grid; gap: 20px; font-size: var(--step-1); line-height: 1.6; color: var(--on-navy); }
.studio__copy p { max-width: 36rem; }

.contact {
  margin-top: clamp(72px, 9vw, 120px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px 48px;
  padding: clamp(28px, 4vw, 52px);
  border-radius: var(--radius-lg);
  background: var(--navy-3);
  box-shadow: inset 0 0 0 1px var(--gold-soft);
}
.contact__title { font-size: var(--step-2); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 10px; }
.contact p { color: var(--on-navy); max-width: 40rem; }

@media (max-width: 960px) {
  .studio__grid { grid-template-columns: 1fr; }
  .contact { flex-direction: column; align-items: flex-start; }
}

/* ---------- Footer ---------- */

.footer { background: var(--navy-deep); padding: 72px 0 32px; font-size: .9375rem; }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-navy);
}
.footer__note { margin-top: 18px; color: var(--on-navy-muted); }
.footer__head { font-size: .9375rem; font-weight: 600; margin-bottom: 14px; color: var(--white); }
.footer ul { display: grid; gap: 8px; }
.footer ul a { color: var(--on-navy-muted); text-decoration: none; }
.footer ul a:hover { color: var(--gold); }
.footer__base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  color: var(--on-navy-muted);
  font-size: var(--step--1);
}
@media (max-width: 600px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}

/* ---------- Lightbox ---------- */

.lightbox {
  padding: 0;
  border: 0;
  background: transparent;
  max-width: min(1600px, 94vw);
  max-height: 92vh;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(8, 15, 29, .92); }
.lightbox img { max-height: 88vh; width: auto; border-radius: 10px; box-shadow: 0 40px 100px rgba(0, 0, 0, .6); }
.lightbox__close {
  position: absolute;
  top: -52px; right: 0;
  width: 44px; height: 44px;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .22); }

/* ---------- Page-load sequence (the one orchestrated moment) ---------- */

@media (prefers-reduced-motion: no-preference) {
  .hero__title .line > span { animation: rise 1s var(--ease) both; }
  .hero__title .line:nth-child(2) > span { animation-delay: .12s; }
  .hero__lede { animation: fade .9s ease .35s both; }
  .panel { animation: lift 1.1s var(--ease) both; }
  .panel:nth-child(1) { animation-delay: .45s; }
  .panel:nth-child(2) { animation-delay: .55s; }
  .panel:nth-child(3) { animation-delay: .65s; }
}
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lift { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
