/* ─────────────────────────────────────────
   Santos Studio — styles.css
───────────────────────────────────────── */

/* ── Tokens ── */
:root {
  --navy-deep:  #060F1A;
  --navy-base:  #0B1929;
  --navy-mid:   #0F2238;
  --navy-card:  #142538;
  --gold:       #C9A84C;
  --white:      #FFFFFF;
  --text-sec:   #7A9BB8;
  --text-dim:   #4D6A85;

  --ff-serif: Georgia, 'Times New Roman', serif;
  --ff-sans:  'Inter', system-ui, -apple-system, sans-serif;

  --nav-h: 72px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--navy-base);
  color: var(--white);
  font-family: var(--ff-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ─────────────────────────────────────────
   Navigation
───────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 72px);
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(6, 15, 26, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: rgba(201, 168, 76, 0.12);
}

/* Logo */
.nav__logo {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.13em;
  color: var(--white);
  user-select: none;
}

.nav__logo-dot {
  color: var(--gold);
  margin: 0 7px;
}

.nav__logo-word--light {
  font-style: normal;
  font-weight: 300;
  letter-spacing: 0.2em;
}

/* Desktop links */
.nav__links {
  list-style: none;
  display: flex;
  gap: 40px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav__link {
  color: var(--text-sec);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.25s;
  position: relative;
  padding-bottom: 2px;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}

.nav__link:hover,
.nav__link.active          { color: var(--white); }
.nav__link:hover::after,
.nav__link.active::after   { width: 100%; }

/* Nav CTA */
.nav__cta {
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--navy-deep);
  background: var(--gold);
  text-decoration: none;
  padding: 9px 20px;
  border-radius: 2px;
  transition: opacity 0.2s, transform 0.2s var(--ease);
  white-space: nowrap;
}

.nav__cta:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 101;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--white);
  transform-origin: center;
  transition: transform 0.35s var(--ease), opacity 0.2s;
}

.nav__hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ─────────────────────────────────────────
   Mobile Menu
───────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(300px, 80vw);
  height: 100dvh;
  background: var(--navy-card);
  border-left: 1px solid rgba(201, 168, 76, 0.1);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: right 0.45s var(--ease);
}

.mobile-menu.open  { right: 0; }
.mobile-menu ul    { list-style: none; text-align: center; }

.mobile-menu__link {
  display: block;
  padding: 20px 32px;
  color: var(--text-sec);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.2s;
}

.mobile-menu__link:hover { color: var(--gold); }

.mobile-menu__overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 15, 26, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.mobile-menu__overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* ─────────────────────────────────────────
   Hero — shell
───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(135deg, #060F1A 0%, #0B1929 40%, #0F2238 70%, #0B1929 100%);
}

/* ── Ambient background ── */
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}

.orb--1 {
  width: 700px;
  height: 700px;
  top: -200px;
  left: -150px;
  background: radial-gradient(circle at center, #122A50 0%, transparent 70%);
  opacity: 0.55;
  animation: orbDrift1 20s ease-in-out infinite;
}

.orb--2 {
  width: 600px;
  height: 600px;
  bottom: -100px;
  right: -100px;
  background: radial-gradient(circle at center, #0D2240 0%, transparent 70%);
  opacity: 0.5;
  animation: orbDrift2 25s ease-in-out infinite;
}

.orb--gold {
  width: 350px;
  height: 350px;
  top: 45%;
  left: 55%;
  background: radial-gradient(circle at center, #C9A84C 0%, transparent 65%);
  opacity: 0.04;
  animation: orbDrift3 16s ease-in-out infinite;
}

/* Subtle diagonal planes for depth */
.hero__diag {
  position: absolute;
  pointer-events: none;
}

.hero__diag--1 {
  inset: 0;
  background: linear-gradient(118deg, rgba(15, 34, 56, 0.45) 0%, transparent 50%);
}

.hero__diag--2 {
  inset: 0;
  background: linear-gradient(298deg, rgba(20, 37, 56, 0.35) 0%, transparent 45%);
}

@keyframes orbDrift1 {
  0%, 100% { transform: translate(0,    0); }
  33%       { transform: translate(50px, 35px); }
  66%       { transform: translate(-25px, 55px); }
}

@keyframes orbDrift2 {
  0%, 100% { transform: translate(0,    0); }
  33%       { transform: translate(-40px, -45px); }
  66%       { transform: translate(25px,  -20px); }
}

@keyframes orbDrift3 {
  0%, 100% { transform: scale(1); opacity: 0.04; }
  50%       { transform: scale(1.4); opacity: 0.06; }
}

/* ─────────────────────────────────────────
   Hero — content
───────────────────────────────────────── */
.hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(16px, 2.2vh, 26px);
  padding:
    calc(var(--nav-h) + clamp(20px, 3vh, 36px))
    clamp(24px, 6vw, 96px)
    clamp(40px, 5vh, 72px);
}

/* Eyebrow */
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;
}

.eyebrow__line {
  display: block;
  width: 44px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.eyebrow__text {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--text-sec);
  white-space: nowrap;
}

/* Monogram */
.hero__monogram {
  line-height: 0;
}

.monogram-svg {
  width: 76px;
  height: 76px;
}

.monogram__ring {
  stroke-dasharray: 258;
  stroke-dashoffset: 258;
  transition: stroke-dashoffset 1.6s var(--ease) 0.4s;
}

.hero__monogram.visible .monogram__ring {
  stroke-dashoffset: 0;
}

/* Headline */
.hero__headline {
  font-family: var(--ff-serif);
  font-size: clamp(40px, 6.8vw, 88px);
  line-height: 1.07;
  font-weight: normal;
  color: var(--white);
  display: flex;
  flex-direction: column;
  max-width: 960px;
  gap: 0;
}

.headline__row {
  display: block;
}

.headline__gold {
  color: var(--gold);
  font-style: italic;
}

/* Sub */
.hero__sub {
  font-size: clamp(15px, 1.7vw, 18px);
  color: var(--text-sec);
  font-weight: 300;
  line-height: 1.75;
  max-width: 500px;
}

/* CTA */
.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  font-family: var(--ff-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-decoration: none;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--gold);
  color: var(--navy-deep);
}

/* Shimmer sweep on hover */
.btn--primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s var(--ease);
}

.btn--primary:hover::after  { left: 160%; }
.btn--primary:hover         { transform: translateY(-2px); box-shadow: 0 14px 44px rgba(201,168,76,0.28); }
.btn--primary:active        { transform: translateY(0); }

.btn__arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}

.btn--primary:hover .btn__arrow { transform: translateX(5px); }

.cta__note {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

/* ─────────────────────────────────────────
   Scroll indicator
───────────────────────────────────────── */
.hero__scroll {
  position: absolute;
  right: clamp(24px, 3.5vw, 56px);
  bottom: clamp(32px, 5vh, 56px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.scroll__label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--text-dim);
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.scroll__track {
  width: 1px;
  height: 54px;
  background: rgba(77, 106, 133, 0.25);
  position: relative;
  overflow: hidden;
  border-radius: 1px;
}

.scroll__dot {
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  animation: scrollFall 2.2s ease-in-out infinite;
}

@keyframes scrollFall {
  0%   { top: -5px;  opacity: 1; }
  75%  { top: 110%;  opacity: 0.6; }
  76%  { top: -5px;  opacity: 0; }
  100% { top: -5px;  opacity: 1; }
}


/* ─────────────────────────────────────────
   Reveal system
───────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transition:
    opacity  0.9s var(--ease),
    transform 0.9s var(--ease);
}

[data-reveal="fade-up"]   { transform: translateY(36px); }
[data-reveal="fade-in"]   { transform: none; }
[data-reveal="scale-in"]  { transform: scale(0.88); }
[data-reveal="fade-left"] { transform: translateX(48px); }

[data-reveal].visible {
  opacity: 1;
  transform: none;
}

/* ─────────────────────────────────────────
   Section base
───────────────────────────────────────── */
.section {
  position: relative;
  padding: clamp(80px, 11vh, 130px) clamp(24px, 6vw, 96px);
}

/* Gold chapter rule — flush to the left edge */
.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 168, 76, 0.5) 0%, transparent 100%);
}

/* Reusable eyebrow for all sections */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* ─────────────────────────────────────────
   Progress dots
───────────────────────────────────────── */
.progress-dots {
  position: fixed;
  right: clamp(20px, 2.5vw, 36px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
}

.progress-dots.visible {
  opacity: 1;
  pointer-events: all;
}

.dot {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.35);
  background: transparent;
  transition: background 0.35s, transform 0.35s, border-color 0.35s;
}

.dot:hover      { border-color: var(--gold); }
.dot.active     { background: var(--gold); border-color: var(--gold); transform: scale(1.5); }

/* Scroll offset so fixed nav doesn't cover section headings */
section[id] {
  scroll-margin-top: 80px;
}

/* ── Scroll layer system ── */
/* Each .scene provides the bounded scroll context sticky requires.
   Sticky panel first in DOM (background, lower z); absolute overlay
   second (covers the sticky panel, scrolls away with the page). */

.scene {
  position: relative;
  height: 250dvh;
}

/* Scene 2 needs extra height: about's content exceeds 100dvh, so we need
   more scroll track to keep contact sticky after about fully exits */
.scene--2 {
  height: 300dvh;
}

/* Problem (z-1) + Contact (z-2): pinned at viewport top within their scene */
.section.problem {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 100dvh;
  overflow: hidden;
  /* top-aligned: content starts below nav, no center-clamping */
  padding-top: calc(var(--nav-h) + clamp(24px, 3dvh, 48px));
  padding-bottom: clamp(24px, 3dvh, 48px);
}

.section.contact {
  position: sticky;
  top: 0;
  z-index: 2;
  height: 100dvh;
  overflow: hidden;
  /* contact has less content — vertically center it */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--nav-h) + clamp(16px, 2dvh, 32px));
  padding-bottom: clamp(16px, 2dvh, 32px);
}

/* Hero (z-4) + About (z-3): absolute overlays that scroll with the page,
   uncovering the sticky panel underneath */
.hero {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  overflow: hidden;
  /* height from shell's min-height: 100dvh — no fixed cap */
}

/* About uses natural height so content isn't clipped;
   scene--2 is 300dvh so contact stays sticky long enough after about exits */
.section.about {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  min-height: 100dvh;
  height: auto;
  z-index: 3;
  overflow: visible;
}

.footer {
  position: relative;
  z-index: 5;
}

/* ── Mobile: disable curtain effect, restore natural reading order ── */
@media (max-width: 768px) {
  /* Make scenes flex columns so CSS order can resequence children */
  .scene {
    height: auto;
    display: flex;
    flex-direction: column;
  }

  /* Scene 1: hero first, then problem */
  .hero            { order: 1; }
  .section.problem { order: 2; }

  /* Scene 2: about first, then contact */
  .section.about   { order: 1; }
  .section.contact { order: 2; }

  /* Reset sticky/absolute positioning and height constraints */
  .hero,
  .section.about {
    position: relative;
    min-height: unset;
    height: auto;
    overflow: visible;
  }

  .section.problem,
  .section.contact {
    position: relative;
    height: auto;
    overflow: visible;
    /* Reset desktop sticky padding/centering */
    display: block;
    padding-top: clamp(80px, 11vh, 130px);
    padding-bottom: clamp(80px, 11vh, 130px);
  }
}

/* ─────────────────────────────────────────
   Problem section
───────────────────────────────────────── */
.problem {
  background: linear-gradient(
    180deg,
    var(--navy-base) 0%,
    #091726 50%,
    var(--navy-base) 100%
  );
  text-align: center;
}

.problem__inner {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(24px, 3.5vh, 40px);
}

.eyebrow--centered {
  justify-content: center;
}

.problem__headline {
  font-family: var(--ff-serif);
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: normal;
  line-height: 1.15;
  color: var(--white);
}

.problem__headline em {
  color: var(--text-sec);
  font-style: italic;
}

.problem__context {
  font-size: clamp(14px, 1.4vw, 17px);
  color: var(--text-dim);
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.01em;
}

/* Stats */
.problem__stats {
  display: flex;
  align-items: flex-start;
  gap: 0;
  width: 100%;
  margin: clamp(8px, 2vh, 20px) 0;
  border-top: 1px solid rgba(77, 106, 133, 0.15);
  border-bottom: 1px solid rgba(77, 106, 133, 0.15);
  padding: clamp(32px, 5vh, 56px) 0;
}

.stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 0 clamp(20px, 4vw, 48px);
}

.stat__num {
  font-family: var(--ff-serif);
  font-size: clamp(64px, 9vw, 112px);
  font-weight: normal;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat__unit {
  font-size: 0.42em;
  color: var(--gold);
  vertical-align: super;
  line-height: 0;
}

.stat__text {
  font-size: clamp(13px, 1.2vw, 15px);
  color: var(--text-sec);
  font-weight: 300;
  line-height: 1.7;
  max-width: 260px;
}

.stat__source {
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  font-style: italic;
  font-family: var(--ff-serif);
}

.stat__divider {
  width: 1px;
  align-self: stretch;
  background: rgba(77, 106, 133, 0.18);
  flex-shrink: 0;
}

.problem__close {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(18px, 2.2vw, 26px);
  color: var(--text-sec);
  letter-spacing: 0.01em;
}

/* ─────────────────────────────────────────
   Solution section — pinned scroll reveal
───────────────────────────────────────── */

/* Scroll track: P1 reveals + dwell + P1→P2 fade + P2 dwell + P2→P3 fade + P3 dwell */
.trio-scene {
  position: relative;
  height: calc(100dvh + 2200px);
}

/* Sticky viewport container for all three panels */
.trio {
  position: sticky;
  top: 0;
  height: 100dvh;
  overflow: hidden;
}

/* Each panel fills the trio viewport */
.trio__panel {
  position: absolute;
  inset: 0;
}

/* Panels 2 & 3 start hidden — JS drives opacity during scroll */
.trio__panel--2,
.trio__panel--3 { opacity: 0; }

.solution {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(
    180deg,
    var(--navy-base) 0%,
    #091726 55%,
    var(--navy-base) 100%
  );
  /* Override .section padding so flex centering is accurate */
  padding-top: var(--nav-h);
  padding-bottom: 0;
}

/* ── Decorative background ── */
.solution__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.solution__orb {
  position: absolute;
  width: 680px;
  height: 680px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at center, rgba(201, 168, 76, 0.07) 0%, transparent 62%);
  border-radius: 50%;
}

/* Large watermark monogram — gold ring only, no fill */
.solution__mark {
  position: absolute;
  width: 440px;
  height: 440px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.04;
}

/* ── Content ── */
.solution__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(32px, 4.5vh, 52px);
}

.solution__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(18px, 2.8vh, 30px);
}

/* Lines start hidden; JS adds .revealed as user scrolls through scene */
.solution__line {
  font-family: var(--ff-serif);
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: normal;
  line-height: 1.4;
  color: var(--white);
  max-width: 640px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.solution__line.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Lines 1 & 2 — slightly smaller, subdued */
.solution__line:nth-child(1),
.solution__line:nth-child(2) {
  font-size: clamp(18px, 2vw, 23px);
  color: var(--text-sec);
}

/* Line 3 — modest step up */
.solution__line:nth-child(3) {
  font-size: clamp(23px, 2.5vw, 30px);
  line-height: 1.3;
  color: var(--white);
}

/* Line 4 — small italic, separated by a thin rule */
.solution__line--quiet {
  font-size: clamp(13px, 1.2vw, 16px);
  color: var(--text-sec);
  font-style: italic;
  margin-top: 0;
}

.solution__line--quiet::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: rgba(122, 155, 184, 0.28);
  margin: 0 auto clamp(10px, 1.4vh, 16px);
}

/* ─────────────────────────────────────────
   Services panel (trio panel 2)
───────────────────────────────────────── */
.services {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    180deg,
    var(--navy-base) 0%,
    #091726 55%,
    var(--navy-base) 100%
  );
  padding-top: var(--nav-h);
  padding-bottom: 0;
}

.services__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.services__orb {
  position: absolute;
  width: 680px;
  height: 680px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at center, rgba(201, 168, 76, 0.06) 0%, transparent 62%);
  border-radius: 50%;
}

.services__inner {
  position: relative;
  z-index: 1;
  max-width: 580px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(24px, 3vh, 36px);
}

.services__headline {
  font-family: var(--ff-serif);
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: normal;
  line-height: 1.35;
  color: var(--white);
  text-align: center;
  max-width: 520px;
}

.services__rule {
  width: 36px;
  height: 1px;
  background: var(--gold);
  opacity: 0.55;
  flex-shrink: 0;
}

.services__list {
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.services__item {
  display: grid;
  grid-template-columns: 100px 18px 1fr;
  align-items: baseline;
  gap: 0 10px;
  padding: clamp(13px, 1.6vh, 18px) 0;
  border-bottom: 1px solid rgba(77, 106, 133, 0.14);
}

.services__item:first-child {
  border-top: 1px solid rgba(77, 106, 133, 0.14);
}

.services__term {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.06em;
  text-align: right;
}

.services__sep {
  color: var(--gold);
  opacity: 0.5;
  font-size: 13px;
  text-align: center;
}

.services__desc {
  font-size: clamp(13px, 1.15vw, 15px);
  color: var(--text-sec);
  font-weight: 300;
  line-height: 1.6;
}

/* ─────────────────────────────────────────
   All-in-One panel (trio panel 3)
───────────────────────────────────────── */
.allinone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    180deg,
    var(--navy-base) 0%,
    #091726 55%,
    var(--navy-base) 100%
  );
  padding-top: var(--nav-h);
  padding-bottom: 0;
}

.allinone__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.allinone__orb {
  position: absolute;
  width: 680px;
  height: 680px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at center, rgba(201, 168, 76, 0.05) 0%, transparent 62%);
  border-radius: 50%;
}

.allinone__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 2.8vh, 32px);
}

.hub__svg {
  width: clamp(320px, 62vw, 500px);
  height: auto;
}

/* Button: natural content width, not stretched by flex container */
.allinone .btn--primary {
  align-self: center;
  width: auto;
}

.allinone__oneliner {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--text-sec);
  text-align: center;
}

/* ── Mobile: disable pin, restore natural flow ── */
@media (max-width: 768px) {
  .trio-scene {
    height: auto;
  }

  .trio {
    position: relative;
    height: auto;
    overflow: visible;
  }

  .trio__panel {
    position: relative;
    inset: auto;
  }

  /* All panels visible on mobile — no JS-driven crossfade */
  .trio__panel--2,
  .trio__panel--3 {
    opacity: 1;
  }

  .solution {
    padding-top: clamp(80px, 11vh, 130px);
    padding-bottom: clamp(80px, 11vh, 130px);
  }

  .solution__mark  { width: 260px; height: 260px; }
  .solution__orb   { width: 380px; height: 380px; }

  /* Show all lines immediately on mobile */
  .solution__line {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .services,
  .allinone {
    padding-top: clamp(80px, 11vh, 130px);
    padding-bottom: clamp(80px, 11vh, 130px);
  }

  .hub__svg { width: min(300px, 85vw); }
}

/* ─────────────────────────────────────────
   Work section
───────────────────────────────────────── */
.work {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, var(--navy-base) 0%, #091726 55%, var(--navy-base) 100%);
  overflow: hidden;
  padding-top: calc(var(--nav-h) + clamp(40px, 6vh, 72px));
  padding-bottom: clamp(60px, 8vh, 96px);
}

.work__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work__mark {
  width: 440px;
  height: 440px;
  opacity: 0.04;
}

.work__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(18px, 2.8vh, 28px);
}

.work__headline {
  font-family: var(--ff-serif);
  font-size: clamp(30px, 4.2vw, 54px);
  font-weight: normal;
  line-height: 1.15;
  color: var(--white);
}

.work__sub {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(15px, 1.5vw, 19px);
  color: var(--text-sec);
  margin-top: -4px;
}

.work__frames {
  display: flex;
  gap: clamp(14px, 2.2vw, 24px);
  margin-top: clamp(20px, 3.5vh, 40px);
}

.work__frame {
  width: clamp(110px, 16vw, 190px);
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: 3px;
}

/* ─────────────────────────────────────────
   About section
───────────────────────────────────────── */
.about {
  background: linear-gradient(
    180deg,
    var(--navy-base)  0%,
    #0d1f35           10%,
    var(--navy-card)  24%,
    var(--navy-card)  76%,
    #0d1f35           90%,
    var(--navy-base) 100%
  );
}

.about__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: clamp(56px, 8vw, 100px);
  align-items: center;
}

/* Photo */
.about__photo-wrap {
  position: relative;
}

.about__photo-frame {
  position: relative;
  z-index: 1;
  border-radius: 3px;
  overflow: hidden;
  line-height: 0;
}

.about__photo-frame::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(
    to top,
    rgba(13, 30, 50, 0.72) 0%,
    rgba(13, 30, 50, 0.18) 55%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 2;
}

.about__photo {
  width: 100%;
  height: 580px;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: contrast(1.04) brightness(0.96);
  transition: transform 0.8s var(--ease);
}

.about__photo-frame:hover .about__photo {
  transform: scale(1.03);
}

/* Gold accent corner */
.about__photo-accent {
  position: absolute;
  bottom: -14px;
  left: -14px;
  width: 80px;
  height: 80px;
  border-left: 1px solid rgba(201, 168, 76, 0.45);
  border-bottom: 1px solid rgba(201, 168, 76, 0.45);
  border-radius: 0 0 0 3px;
  z-index: 0;
}

/* Copy */
.about__copy {
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 3vh, 32px);
}

.about__headline {
  font-family: var(--ff-serif);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: normal;
  line-height: 1.1;
  color: var(--white);
}

.about__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about__body p {
  font-size: clamp(14px, 1.3vw, 16px);
  color: var(--text-sec);
  font-weight: 300;
  line-height: 1.85;
  max-width: 520px;
}

/* Credentials */
.about__credentials {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(77, 106, 133, 0.18);
  margin-top: 8px;
}

.credential {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(77, 106, 133, 0.18);
}

.credential__title {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.04em;
}

.credential__sub {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* ─────────────────────────────────────────
   Contact section
───────────────────────────────────────── */
.contact {
  background: linear-gradient(
    180deg,
    var(--navy-base)  0%,
    #0d1f35           12%,
    var(--navy-card)  28%
  );
}

.contact__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 96px);
  align-items: center;
}

/* Left */
.contact__left {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vh, 30px);
}

.contact__headline {
  font-family: var(--ff-serif);
  font-size: clamp(38px, 5vw, 66px);
  font-weight: normal;
  line-height: 1.08;
  color: var(--white);
}

.contact__sub {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--text-sec);
  font-weight: 300;
  line-height: 1.8;
  max-width: 400px;
}

.contact__steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 4px;
}

.contact__steps li {
  font-size: 14px;
  color: var(--text-sec);
  font-weight: 300;
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
}

.contact__steps li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 1px;
  background: var(--gold);
}

/* Right — form card */
.contact__right {
  background: var(--navy-base);
  border: 1px solid rgba(77, 106, 133, 0.18);
  border-radius: 3px;
  padding: clamp(28px, 4vw, 48px);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form__label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.form__input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(77, 106, 133, 0.22);
  border-radius: 2px;
  padding: 13px 15px;
  font-family: var(--ff-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--white);
  outline: none;
  transition: border-color 0.25s var(--ease), background 0.25s;
  width: 100%;
}

.form__input::placeholder { color: var(--text-dim); }

.form__input:focus {
  border-color: rgba(201, 168, 76, 0.45);
  background: rgba(201, 168, 76, 0.03);
}

.form__input--error {
  border-color: rgba(210, 70, 70, 0.6);
  background: rgba(210, 70, 70, 0.04);
}

.btn--block {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}

.form__note {
  text-align: center;
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 12px;
  color: var(--text-dim);
  margin-top: -4px;
}

/* Success state */
.form__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 52px 24px;
  text-align: center;
}

.success__ring {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 20px;
  font-family: var(--ff-serif);
}

.success__heading {
  font-family: var(--ff-serif);
  font-size: clamp(18px, 2vw, 22px);
  color: var(--white);
  font-weight: normal;
}

.success__sub {
  font-size: 14px;
  color: var(--text-sec);
  font-weight: 300;
  line-height: 1.6;
  max-width: 280px;
}

/* ─────────────────────────────────────────
   Footer
───────────────────────────────────────── */
.footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(77, 106, 133, 0.14);
  padding: clamp(32px, 5vh, 48px) clamp(24px, 6vw, 96px);
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__monogram {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.footer__name {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

.footer__nav {
  display: flex;
  gap: 32px;
}

.footer__link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}

.footer__link:hover { color: var(--white); }

.footer__copy {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

/* ─────────────────────────────────────────
   Responsive
───────────────────────────────────────── */
@media (max-width: 768px) {
  .nav__links     { display: none; }
  .nav__cta       { display: none; }
  .nav__hamburger { display: flex; }

  .hero__scroll   { display: none; }
  .progress-dots  { display: none; }

  .eyebrow__line  { width: 24px; }

  .problem__stats {
    flex-direction: column;
    gap: 0;
  }

  .stat__divider {
    width: auto;
    height: 1px;
    align-self: auto;
  }

  .stat { padding: 32px 16px; }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer__nav { gap: 20px; flex-wrap: wrap; justify-content: center; }

  .about__photo {
    height: 420px;
    object-position: center 15%;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .hero__headline {
    font-size: clamp(38px, 11vw, 52px);
  }

  .eyebrow__text { font-size: 9px; letter-spacing: 0.18em; }
}

/* ─────────────────────────────────────────
   Reduced motion
───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transition-duration: 0.01ms !important; }
  .orb          { animation: none !important; }
  .scroll__dot  { animation: none !important; }
  .btn--primary::after { transition: none !important; }
}
