/* ==========================================================================
   COSMECO ONE — styles.css
   --------------------------------------------------------------------------
   REBRANDING? Change the variables in :root below. Everything else follows.
   ========================================================================== */

:root {
  /* ---- Colors ---- */
  --bg:          #F6F2EA;               /* warm cream page background */
  --bg-soft:     #ECE6DA;               /* slightly darker beige for cards */
  --ink:         #1A1A1A;               /* headings & primary text */
  --ink-muted:   rgba(26,26,26,0.7);    /* body text */
  --ink-faint:   rgba(26,26,26,0.25);   /* un-revealed text, dividers */
  --black:       #000000;               /* footer + CTA card */
  --white:       #FFFFFF;
  --accent:      #B08D74;               /* soft clay — use sparingly */
  --line:        rgba(26,26,26,0.18);   /* hairline divider color */
  --line-light:  rgba(255,255,255,0.22);

  /* ---- Fonts ----
     Bought a PP Neue Montreal license? Add its @font-face and put
     "PP Neue Montreal" first in --font-main. */
  --font-main:   "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-script: "Pinyon Script", cursive;
  --font-mono:   "Fragment Mono", ui-monospace, Menlo, monospace;

  /* ---- Type scale ---- */
  --fs-h1:       clamp(40px, 6vw, 48px);
  --fs-h2:       clamp(30px, 4.5vw, 40px);
  --fs-h3:       24px;
  --fs-body:     18px;
  --fs-small:    14px;
  --fs-label:    12px;

  /* ---- Layout & spacing ---- */
  --max-w:       1280px;
  --pad:         16px;                   /* side padding (mobile) */
  --section:     80px;                   /* space between sections (mobile) */
  --radius:      8px;
  --header-h:    72px;

  /* ---- Motion ---- */
  --ease:        cubic-bezier(.22,.61,.36,1);
  --ease-out:    cubic-bezier(.16,1,.3,1);
}

@media (min-width: 768px)  { :root { --pad: 32px; --section: 120px; } }
@media (min-width: 1280px) { :root { --section: 150px; } }
@media (min-width: 1440px) { :root { --fs-h1: 64px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-main);
  font-size: var(--fs-body);
  font-weight: 500;
  letter-spacing: 0.3px;
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -0.01em; line-height: 1.1; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 200;
  background: var(--ink); color: var(--bg); padding: 10px 14px; font-size: var(--fs-small);
  transform: translateY(-150%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: calc(var(--max-w) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section); }
.section--tight { padding-top: 0; }
.section--soft { background: var(--bg-soft); }

.label {
  font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 400;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-muted);
}
.muted { color: var(--ink-muted); }
.small { font-size: var(--fs-small); }
.script { font-family: var(--font-script); font-weight: 400; letter-spacing: 0; font-size: 1.25em; line-height: .9; }

.h1 { font-size: var(--fs-h1); }
.section-title { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); line-height: 1.2; }
.lead { font-size: clamp(22px, 2.6vw, 32px); line-height: 1.25; letter-spacing: -0.005em; }

/* Section head: title → hairline → content */
.section-head { margin-bottom: 40px; }
.section-head .section-title { margin-bottom: 24px; }
.section-head__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.section-head__row .section-title { margin-bottom: 0; }
.divider { height: 1px; background: var(--line); transform-origin: left center; }
.divider--light { background: var(--line-light); }

/* label-left / content-right */
.split { display: grid; gap: 16px; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 3fr; gap: 32px; }
  .split--half { grid-template-columns: 1fr 1fr; }
}

/* ---------- Buttons ---------- */
.btn {
  --btn-fg: var(--ink); --btn-hover-bg: var(--ink); --btn-hover-fg: var(--bg);
  display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 20px; border: 1px solid var(--btn-fg); color: var(--btn-fg);
  font-size: var(--fs-small); font-weight: 500; line-height: 1;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
  white-space: nowrap;
}
.btn__arrow { display: inline-block; transition: transform .4s var(--ease); }
.btn:hover { background: var(--btn-hover-bg); color: var(--btn-hover-fg); border-color: var(--btn-hover-bg); }
.btn:hover .btn__arrow { transform: translate(3px, -3px); }
.btn--light { --btn-fg: var(--white); --btn-hover-bg: var(--white); --btn-hover-fg: var(--ink); }
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--sm { padding: 10px 14px; font-size: 13px; gap: 10px; }
.btn--block { width: 100%; justify-content: space-between; }

.link-arrow { display: inline-flex; gap: 8px; align-items: center; font-size: var(--fs-small); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow:hover .btn__arrow { transform: translate(3px, -3px); }

/* ---------- Media ---------- */
.media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bg-soft); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.media--zoom img { transition: transform 1.2s var(--ease-out); }
.media--zoom:hover img, a:hover .media--zoom img { transform: scale(1.05); }
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-wide { aspect-ratio: 16 / 9; }
@media (min-width: 900px) { .ratio-wide { aspect-ratio: 21 / 9; } }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  color: var(--ink); background: transparent;
  transition: background-color .5s var(--ease), color .5s var(--ease), backdrop-filter .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.logo span { color: var(--accent); }
.nav { display: none; }
.nav__list { display: flex; gap: 28px; font-size: var(--fs-small); }
.nav__list a { position: relative; padding-block: 6px; }
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-cta { display: none; }
.header-cta.btn { --btn-fg: currentColor; }
.site-header .header-cta:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* over a dark hero: white text until scrolled */
body[data-header="light"] .site-header:not(.is-scrolled) { color: var(--white); }
body[data-header="light"] .site-header:not(.is-scrolled) .header-cta:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.site-header.is-scrolled {
  background: rgba(246,242,234,0.78);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
body.menu-open .site-header { color: var(--ink) !important; background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

.menu-toggle { width: 44px; height: 44px; display: grid; place-content: center; gap: 7px; margin-right: -10px; }
.menu-toggle span { display: block; width: 26px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease); }
body.menu-open .menu-toggle span:first-child { transform: translateY(4.25px) rotate(45deg); }
body.menu-open .menu-toggle span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

@media (min-width: 1100px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--bg);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 32px) var(--pad) 32px;
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
}
.mobile-menu ul { display: grid; gap: 6px; }
.mobile-menu li { overflow: hidden; }
.mobile-menu a.mobile-menu__link {
  display: block; font-size: clamp(34px, 9vw, 52px); letter-spacing: -0.02em; line-height: 1.15;
  transform: translateY(100%); opacity: 0;
  transition: transform .7s var(--ease-out), opacity .7s var(--ease-out);
  transition-delay: calc(var(--i) * 60ms);
}
.mobile-menu__foot { display: grid; gap: 16px; opacity: 0; transition: opacity .6s .4s var(--ease); }
body.menu-open .mobile-menu { opacity: 1; visibility: visible; }
body.menu-open .mobile-menu a.mobile-menu__link { transform: none; opacity: 1; transition-delay: calc(120ms + var(--i) * 60ms); }
body.menu-open .mobile-menu__foot { opacity: 1; }
@media (min-width: 1100px) { .mobile-menu { display: none; } }

/* ==========================================================================
   HERO (home)
   ========================================================================== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; color: var(--white); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: #3a3129; }
.hero__media { position: absolute; inset: 0; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.15) 35%, rgba(0,0,0,.25) 60%, rgba(0,0,0,.7) 100%); }
.hero__content { position: relative; padding-top: calc(var(--header-h) + 60px); padding-bottom: 32px; }
.hero__title { font-size: clamp(44px, 5.6vw, 84px); line-height: 1.04; letter-spacing: -0.02em; max-width: 15ch; margin-bottom: 40px; }
.hero__title .script { font-size: 1.18em; display: inline-block; padding-right: .1em; }
.hero__intro { max-width: 34ch; margin-bottom: 28px; color: rgba(255,255,255,.88); }
.hero__strip { position: relative; margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; padding-top: 20px; }
.hero__strip::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line-light); }
.hero__strip .label { color: rgba(255,255,255,.65); display: block; margin-bottom: 6px; }
.hero__strip p { font-size: var(--fs-small); }
@media (min-width: 900px) { .hero__strip { grid-template-columns: repeat(4, 1fr); gap: 32px; } }

/* word split wrappers (added by JS) */
.word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.word__inner { display: inline-block; }

/* ==========================================================================
   PAGE HERO (inner pages)
   ========================================================================== */
.page-hero { padding-top: calc(var(--header-h) + 80px); padding-bottom: 56px; }
.page-hero__label { display: block; margin-bottom: 24px; }
.page-hero__title { font-size: clamp(44px, 8vw, 88px); line-height: 1.02; letter-spacing: -0.02em; max-width: 14ch; }
.page-hero__title .script { font-size: 1.15em; }
.page-hero__foot { margin-top: 48px; display: grid; gap: 24px; }
.page-hero__intro { max-width: 46ch; color: var(--ink-muted); }
@media (min-width: 900px) {
  .page-hero { padding-top: calc(var(--header-h) + 120px); }
  .page-hero__foot { grid-template-columns: 1fr 1fr; align-items: end; }
  .page-hero__foot .btn { justify-self: end; }
}
.page-hero__image { margin-top: 56px; }

/* ==========================================================================
   ABOUT INTRO / WORD REVEAL
   ========================================================================== */
.reveal-text { font-size: clamp(24px, 3.2vw, 40px); line-height: 1.22; letter-spacing: -0.01em; }
.anim [data-reveal-words] .w { color: var(--reveal-faint, var(--ink-faint)); }
.about-intro__foot { margin-top: 40px; display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }

/* ==========================================================================
   STATS
   ========================================================================== */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.stat { padding: 28px 0; border-bottom: 1px solid var(--line); padding-right: 12px; }
.stat__num { display: block; font-size: clamp(44px, 6.5vw, 80px); line-height: 1; letter-spacing: -0.03em; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.stat__label { font-size: var(--fs-small); color: var(--ink-muted); }
.stats .stat:last-child { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(12, 1fr); }
  .stat { grid-column: span 3; padding: 40px 24px 40px 0; }
  .stat:nth-child(n+5) { grid-column: span 4; }
  .stats .stat:last-child { grid-column: span 4; }
  .stat:not(:nth-child(4)):not(:last-child) { border-right: 1px solid var(--line); }
  .stat:not(:nth-child(1)):not(:nth-child(5)) { padding-left: 24px; }
}
.stats--light { border-color: var(--line-light); }
.stats--light .stat { border-color: var(--line-light) !important; }
.stats--light .stat__label { color: rgba(255,255,255,.7); }

/* ==========================================================================
   STAGGERED GALLERY
   ========================================================================== */
.gallery { overflow: hidden; }
.gallery__track {
  display: flex; align-items: flex-end; gap: 16px; padding-inline: var(--pad);
  overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__item { flex: 0 0 62vw; scroll-snap-align: start; }
.gallery__item .media { height: 100%; }
.gallery__item:nth-child(1) { height: 220px; }
.gallery__item:nth-child(2) { height: 270px; }
.gallery__item:nth-child(3) { height: 320px; }
.gallery__item:nth-child(4) { height: 370px; }
.gallery__item:nth-child(5) { height: 420px; }
.gallery__item:nth-child(6) { height: 470px; }
.gallery__item figcaption { margin-top: 10px; }
@media (min-width: 900px) {
  .gallery__track { overflow: visible; scroll-snap-type: none; gap: 24px; width: max-content; }
  .gallery__item { flex-basis: 24vw; max-width: 380px; }
  .gallery__item:nth-child(1) { height: 18vw; }
  .gallery__item:nth-child(2) { height: 23vw; }
  .gallery__item:nth-child(3) { height: 28vw; }
  .gallery__item:nth-child(4) { height: 33vw; }
  .gallery__item:nth-child(5) { height: 38vw; }
  .gallery__item:nth-child(6) { height: 43vw; }
}
@media (min-width: 1600px) {
  .gallery__item:nth-child(1) { height: 290px; } .gallery__item:nth-child(2) { height: 370px; }
  .gallery__item:nth-child(3) { height: 450px; } .gallery__item:nth-child(4) { height: 530px; }
  .gallery__item:nth-child(5) { height: 610px; } .gallery__item:nth-child(6) { height: 690px; }
}

/* ==========================================================================
   STICKY SERVICES
   ========================================================================== */
.services-sticky { display: grid; gap: 32px; }
.services-sticky__media { display: none; }
.service-list { border-top: 1px solid var(--line); }
.service-item { border-bottom: 1px solid var(--line); padding: 28px 0; }
.service-item__head { width: 100%; display: grid; grid-template-columns: 48px 1fr; align-items: baseline; text-align: left; gap: 8px; }
.service-item__title { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.01em; line-height: 1.15; }
.service-item__body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .7s var(--ease), opacity .7s var(--ease); }
.service-item__body > div { overflow: hidden; }
.service-item__inner { padding: 16px 0 0 56px; }
.service-item__inner p { color: var(--ink-muted); max-width: 46ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; padding: 6px 10px; border: 1px solid var(--line); border-radius: 100px; color: var(--ink-muted); }
.service-item__img { margin-top: 20px; }
.service-item .link-arrow { margin-top: 20px; }
.flag { display: inline-block; margin-left: 10px; vertical-align: middle; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); border: 1px solid var(--accent); padding: 4px 8px; border-radius: 100px; }

@media (min-width: 900px) {
  .services-sticky { grid-template-columns: 5fr 6fr; gap: 64px; align-items: start; }
  .services-sticky__media { display: block; position: sticky; top: calc(var(--header-h) + 32px); height: calc(100vh - var(--header-h) - 64px); max-height: 760px; }
  .services-sticky__media .media { height: 100%; }
  .services-sticky__media img { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease); }
  .services-sticky__media img.is-active { opacity: 1; }
  .service-item { padding: 36px 0; min-height: 30vh; transition: opacity .6s var(--ease); opacity: .35; }
  .service-item.is-active { opacity: 1; }
  .service-item__body { grid-template-rows: 0fr; opacity: 0; }
  .service-item.is-active .service-item__body { grid-template-rows: 1fr; opacity: 1; }
  .service-item__img { display: none; }
  .service-item__head { cursor: pointer; }
}

/* ==========================================================================
   QUOTE (full-bleed)
   ========================================================================== */
.quote { position: relative; color: var(--white); overflow: hidden; }
.quote__bg { position: absolute; inset: 0; }
.quote__bg img { width: 100%; height: 120%; object-fit: cover; }
.quote__bg::after { content: ""; position: absolute; inset: 0; background: rgba(20,16,12,.58); }
.quote__inner { position: relative; padding-block: clamp(120px, 18vw, 240px); }
.quote blockquote p { --reveal-faint: rgba(255,255,255,.28); font-size: clamp(30px, 4.6vw, 64px); line-height: 1.12; letter-spacing: -0.02em; max-width: 20ch; }
.quote figcaption { margin-top: 40px; display: flex; gap: 16px; align-items: center; }
.quote figcaption .label { color: rgba(255,255,255,.7); }
.quote__line { width: 48px; height: 1px; background: rgba(255,255,255,.5); }

/* ==========================================================================
   PACKAGES / TIERS
   ========================================================================== */
.tiers { display: grid; gap: 16px; }
@media (min-width: 1000px) { .tiers { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.tier { background: var(--bg-soft); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; gap: 24px; position: relative; }
.tier--featured { background: var(--ink); color: var(--bg); }
.tier--featured .muted, .tier--featured .label { color: rgba(246,242,234,.7); }
.tier--featured .checklist li { border-color: rgba(246,242,234,.15); }
.tier--featured .checklist li::before { color: var(--accent); }
.tier--featured .btn { --btn-fg: var(--bg); --btn-hover-bg: var(--bg); --btn-hover-fg: var(--ink); }
.tier__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tier__badge { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; padding: 5px 9px; border-radius: 100px; border: 1px solid currentColor; opacity: .8; }
.tier__name { font-size: 30px; letter-spacing: -0.015em; }
.tier__price { font-family: var(--font-mono); font-size: 13px; }
.tier h4 { font-family: var(--font-mono); font-size: 12px; font-weight: 400; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; opacity: .7; }
.checklist li { position: relative; padding: 10px 0 10px 26px; border-top: 1px solid var(--line); font-size: 15px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 10px; color: var(--accent); font-size: 14px; }
.tier .btn { margin-top: auto; justify-content: space-between; }

/* comparison table */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 1px solid var(--line); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 16px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; padding-left: 0; }
.compare thead th { font-weight: 500; vertical-align: bottom; }
.compare thead th .label { display: block; margin-bottom: 6px; }
.compare td.yes { color: var(--ink); }
.compare td.no { color: var(--ink-faint); }

/* ==========================================================================
   SELECTED WORK (rows) + WORK GRID
   ========================================================================== */
.case-row { display: grid; gap: 20px; padding-block: 32px; }
.case-row + .divider { }
.case-row__title { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.01em; margin: 10px 0 12px; }
.case-row__desc { color: var(--ink-muted); max-width: 44ch; }
.case-row__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.case-row .link-arrow { margin-top: 24px; }
@media (min-width: 900px) {
  .case-row { grid-template-columns: 5fr 6fr; gap: 48px; align-items: center; padding-block: 40px; }
}

.work-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter-btn { padding: 10px 16px; border: 1px solid var(--line); border-radius: 100px; font-size: var(--fs-small); transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease); }
.filter-btn:hover { border-color: var(--ink); }
.filter-btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.work-grid { display: grid; gap: 48px 24px; }
@media (min-width: 768px) { .work-grid { grid-template-columns: 1fr 1fr; } }
.work-card { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.work-card.is-hidden { display: none; }
.work-card__body { padding-top: 18px; }
.work-card__title { font-size: 24px; letter-spacing: -0.01em; margin: 8px 0; line-height: 1.2; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials { display: grid; gap: 16px; }
@media (min-width: 900px) { .testimonials { grid-template-columns: 5fr 7fr; gap: 20px; } }
.t-media { position: relative; aspect-ratio: 4 / 5; max-height: 640px; }
@media (max-width: 899px) { .t-media { aspect-ratio: 4 / 3; } }
.t-media img { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease); }
.t-media img.is-active { opacity: 1; }
.t-card { background: var(--bg-soft); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 420px; }
@media (min-width: 900px) { .t-card { padding: 48px; } }
.t-quotes { display: grid; }
.t-quote { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility .8s; }
.t-quote.is-active { opacity: 1; visibility: visible; }
.t-quote p { font-size: clamp(22px, 2.4vw, 32px); line-height: 1.25; letter-spacing: -0.01em; }
.t-quote footer { margin-top: 28px; }
.t-quote cite { font-style: normal; display: block; }
.t-controls { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.t-counter { font-family: var(--font-mono); font-size: 13px; }
.t-progress { width: 140px; height: 1px; background: var(--line); margin-top: 10px; overflow: hidden; }
.t-progress span { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.t-progress span.is-running { animation: tprogress 6s linear forwards; }
.testimonials.is-paused .t-progress span { animation-play-state: paused; }
@keyframes tprogress { to { transform: scaleX(1); } }
.t-arrows { display: flex; gap: 8px; }
.t-arrow { width: 48px; height: 48px; border: 1px solid var(--ink); display: grid; place-items: center; transition: background-color .4s var(--ease), color .4s var(--ease); }
.t-arrow:hover { background: var(--ink); color: var(--bg); }
.placeholder-note { display: inline-block; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--accent); margin-top: 16px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; text-align: left; font-size: clamp(19px, 2vw, 24px); letter-spacing: -0.005em; }
.faq-icon { position: relative; flex: 0 0 18px; height: 18px; transition: transform .5s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; }
.faq-icon::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { color: var(--ink-muted); padding: 0 40px 28px 0; max-width: 62ch; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta { position: relative; padding-block: clamp(80px, 12vw, 160px); overflow: hidden; }
.cta__bg { position: absolute; inset: 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__card { position: relative; background: var(--black); color: var(--white); border-radius: 16px; padding: 48px 28px; max-width: 760px; margin-inline: auto; text-align: center; }
.cta__card .label { color: rgba(255,255,255,.6); display: block; margin-bottom: 20px; }
.cta__card h2 { font-size: clamp(32px, 4.6vw, 56px); letter-spacing: -0.02em; margin-bottom: 32px; }
.cta__card p { color: rgba(255,255,255,.75); max-width: 44ch; margin: -12px auto 32px; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (min-width: 768px) { .cta__card { padding: 72px 56px; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--black); color: var(--white); padding-top: 96px; overflow: hidden; }
.site-footer .label { color: rgba(255,255,255,.55); display: block; margin-bottom: 18px; }
.footer-cols { display: grid; gap: 40px; padding-bottom: 72px; border-bottom: 1px solid var(--line-light); }
@media (min-width: 768px) { .footer-cols { grid-template-columns: repeat(3, 1fr); } }
.footer-cols ul { display: grid; gap: 10px; font-size: 15px; }
.footer-cols a { color: rgba(255,255,255,.85); transition: color .3s var(--ease); }
.footer-cols a:hover { color: var(--accent); }
.footer-email { display: inline-block; font-size: 22px; margin-bottom: 20px; }
.footer-wordmark { overflow: hidden; padding-top: 40px; line-height: .82; }
/* Footer brand name: all caps, dark-brown-to-gold gradient */
.footer-wordmark__text { display: inline-block; white-space: nowrap; font-weight: 500; letter-spacing: -0.02em; font-size: 15vw; text-transform: uppercase;
  color: #b8894a; /* fallback if gradients aren't supported */
  background-image: linear-gradient(100deg, #4a2c18 0%, #7a4e2c 30%, #b8894a 62%, #e2c27f 82%, #b8894a 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.footer-wordmark .ch { display: inline-block; background-image: inherit; background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 28px 32px; border-top: 1px solid var(--line-light); margin-top: 24px; font-size: 13px; color: rgba(255,255,255,.6); }
.socials { display: flex; flex-wrap: wrap; gap: 20px; }
.socials a:hover { color: var(--white); }

/* ==========================================================================
   SERVICES PAGE
   ========================================================================== */
.service-detail { display: grid; gap: 32px; padding-block: 56px; }
.service-detail__media { align-self: start; }
.service-detail__num { margin-bottom: 20px; display: block; }
.service-detail h2 { font-size: var(--fs-h2); margin-bottom: 20px; }
.service-detail p { color: var(--ink-muted); max-width: 48ch; }
.service-detail .checklist { margin-top: 28px; max-width: 520px; }
.service-detail .btn { margin-top: 32px; }
@media (min-width: 900px) {
  .service-detail { grid-template-columns: 1fr 1fr; gap: 80px; padding-block: 80px; }
  .service-detail__media { position: sticky; top: calc(var(--header-h) + 32px); }
  .service-detail.is-reversed .service-detail__media { order: 2; }
  .service-detail__text { padding-top: 24px; min-height: 70vh; }
}

.process { position: relative; display: grid; gap: 0; }
.process__line { position: absolute; left: 15px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.process__line-fill { position: absolute; inset: 0; background: var(--ink); transform-origin: top; }
.anim .process__line-fill { transform: scaleY(0); }
.process__step { position: relative; display: grid; grid-template-columns: 32px 1fr; gap: 24px; padding-block: 28px; }
.process__dot { width: 31px; height: 31px; border-radius: 50%; background: var(--bg); border: 1px solid var(--ink); display: grid; place-items: center; font-family: var(--font-mono); font-size: 11px; position: relative; z-index: 1; }
.process__step h3 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 10px; }
.process__step p { color: var(--ink-muted); max-width: 52ch; }
@media (min-width: 900px) {
  .process__step { grid-template-columns: 32px 1fr 1.4fr; gap: 48px; padding-block: 40px; }
  .process__step h3 { margin: 0; }
}

.countries { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.country { padding: 28px 16px 28px 0; border-bottom: 1px solid var(--line); }
.country .country__name { color: var(--ink); font-size: clamp(30px, 3.4vw, 48px); letter-spacing: -0.02em; line-height: 1; margin-bottom: 12px; }
.country p { font-size: var(--fs-small); color: var(--ink-muted); }
.country .label { display: block; margin-bottom: 14px; }
@media (min-width: 900px) {
  .countries { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 1fr; }
  .country { padding: 40px 24px; border-right: 1px solid var(--line); }
  .country:first-child { padding-left: 0; }
  .country:last-child { border-right: 0; }
}

/* ==========================================================================
   VENTURE READY (dark hero)
   ========================================================================== */
.v-hero { background: var(--black); color: var(--white); padding-top: calc(var(--header-h) + 80px); padding-bottom: 72px; position: relative; overflow: hidden; }
.v-hero .page-hero__label { color: rgba(255,255,255,.6); }
.v-hero .page-hero__intro { color: rgba(255,255,255,.75); }
.v-hero__glow { position: absolute; width: 70vw; height: 70vw; right: -20vw; top: -25vw; border-radius: 50%; background: radial-gradient(circle, rgba(176,141,116,.35), transparent 65%); pointer-events: none; }
.v-hero .stats { margin-top: 72px; }
.v-hero .stat__num { font-size: clamp(56px, 9vw, 128px); }
@media (min-width: 900px) {
  .v-hero { padding-top: calc(var(--header-h) + 120px); }
  .v-hero .stats { grid-template-columns: repeat(3, 1fr); }
  .v-hero .stat, .v-hero .stats .stat:last-child { grid-column: auto; padding-left: 24px; border-right: 1px solid var(--line-light); }
  .v-hero .stat:first-child { padding-left: 0; }
  .v-hero .stats .stat:last-child { border-right: 0; }
}
@media (max-width: 899px) { .v-hero .stats { grid-template-columns: 1fr; } }

.pillars { display: grid; gap: 16px; }
@media (min-width: 768px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .pillars--3 { grid-template-columns: repeat(3, 1fr); } }
.pillar { background: var(--bg-soft); border-radius: var(--radius); padding: 32px 28px; }
.pillar .label { display: block; margin-bottom: 40px; }
.pillar h3 { font-size: 24px; margin-bottom: 12px; line-height: 1.2; }
.pillar p { color: var(--ink-muted); font-size: 16px; }

.fit-list { border-top: 1px solid var(--line); }
.fit-list li { display: grid; grid-template-columns: 48px 1fr; gap: 8px; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: clamp(19px, 2vw, 24px); }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.story { display: grid; gap: 32px; }
.story p + p { margin-top: 18px; }
.story p { color: var(--ink-muted); }
@media (min-width: 900px) { .story { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } .story .media { position: sticky; top: calc(var(--header-h) + 32px); } }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; gap: 56px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 4fr 7fr; gap: 80px; } }
.contact-aside { display: grid; gap: 32px; align-content: start; }
.contact-aside p { color: var(--ink-muted); }
.form { display: grid; gap: 28px; }
.form-row { display: grid; gap: 28px; }
@media (min-width: 700px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 10px; }
.field label, .field legend { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-muted); }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--ink-faint);
  padding: 10px 0 12px; font-size: 17px; border-radius: 0; transition: border-color .3s var(--ease);
}
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 12px) 50%, calc(100% - 7px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
fieldset.field { border: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.choice { position: relative; }
.choice input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.choice span { display: inline-block; padding: 10px 16px; border: 1px solid var(--line); border-radius: 100px; font-size: 15px; cursor: pointer; transition: all .3s var(--ease); }
.choice input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-note { font-size: 13px; color: var(--ink-muted); }
.hidden-field { display: none; }
.book-card { background: var(--ink); color: var(--bg); border-radius: var(--radius); padding: 32px 28px; display: grid; gap: 20px; }
.book-card p { color: rgba(246,242,234,.75) !important; }

/* ==========================================================================
   SCROLL-ANIMATION START STATES (only when motion is allowed + JS loaded)
   ========================================================================== */
.anim [data-fade] { opacity: 0; transform: translateY(30px); }
.anim [data-stagger] > * { opacity: 0; transform: translateY(30px); }
.anim [data-hero] { opacity: 0; transform: translateY(20px); }
.anim [data-split-hero] { visibility: hidden; }
.anim .divider, .anim [data-line] { transform: scaleX(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .t-progress span { transform: scaleX(1); }
}

/* ==========================================================================
   HERO — SCROLL REVEAL (home page)
   The hero stays pinned while 5 images wipe in one after another.
   Images: assets/images/hero-reveal/  ·  Logic: js/main.js ("Hero scroll reveal")
   ========================================================================== */
.hero-reveal { position: relative; height: calc(100vh * 4.6); height: calc(100svh * 4.6); background: #2b221c; color: var(--white); }
.hero-reveal__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

.hr-slide { position: absolute; inset: 0; }
.hr-slide + .hr-slide { clip-path: inset(100% 0 0 0); visibility: hidden; }
.hr-slide picture, .hr-slide img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hr-slide img { object-fit: cover; object-position: center; transform-origin: 50% 55%; will-change: transform; }
.hr-slide::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,0) 22%),
    linear-gradient(0deg, rgba(20,14,10,.86) 0%, rgba(20,14,10,.42) 40%, rgba(20,14,10,0) 70%),
    linear-gradient(90deg, rgba(20,14,10,.45) 0%, rgba(20,14,10,0) 55%); }
.hr-shade { position: absolute; inset: 0; background: #120c09; opacity: 0; pointer-events: none; }

.hr-captions { position: absolute; left: 0; right: 0; bottom: 40px; z-index: 3; pointer-events: none; }
.hr-cap { position: absolute; left: var(--pad); right: var(--pad); bottom: 0; max-width: 720px; opacity: 0; }
.hr-cap:first-child { opacity: 1; padding-bottom: var(--hr-strip-h, 120px); }
.hr-cap.is-on { pointer-events: auto; }
.hr-cap .hero__title { margin-bottom: 28px; }
.hr-cap .label { display: block; color: rgba(255,255,255,.72); margin-bottom: 18px; }
.hr-cap__title { font-size: clamp(34px, 4.6vw, 68px); line-height: 1.05; letter-spacing: -0.02em; max-width: 16ch; margin-bottom: 22px; font-weight: 400; }
.hr-cap__title .script { font-size: 1.15em; display: inline-block; padding-right: .1em; }
.hr-cap .hero__intro { margin-bottom: 26px; }

.hr-strip-wrap { position: absolute; left: 0; right: 0; bottom: 32px; z-index: 3; }
.hr-strip { margin-top: 0; }

.hr-rail { position: absolute; z-index: 4; right: var(--pad); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 16px; }
.hr-rail button { all: unset; cursor: pointer; display: flex; align-items: center; justify-content: flex-end; gap: 12px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.55); text-shadow: 0 1px 8px rgba(0,0,0,.45); transition: color .3s var(--ease); }
.hr-rail__dot { width: 7px; height: 7px; border-radius: 50%; border: 1px solid currentColor; transition: transform .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease); }
.hr-rail button.is-active { color: var(--white); }
.hr-rail button.is-active .hr-rail__dot { background: var(--accent); border-color: var(--accent); transform: scale(1.4); }
.hr-rail button:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
@media (max-width: 899px) {
  .hr-rail { top: calc(var(--header-h) + 20px); transform: none; flex-direction: row; gap: 10px; }
  .hr-rail__lbl { display: none; }
}

.hr-hint { position: absolute; z-index: 4; left: 50%; bottom: 12px; transform: translateX(-50%); color: rgba(255,255,255,.6) !important; font-size: 10px;
  display: none; flex-direction: column; align-items: center; gap: 8px; transition: opacity .4s var(--ease); }
.hr-hint i { width: 1px; height: 26px; background: linear-gradient(var(--white), transparent); animation: hr-drip 1.8s ease-in-out infinite; }
@keyframes hr-drip { 0% { transform: scaleY(0); transform-origin: top } 50% { transform: scaleY(1); transform-origin: top } 51% { transform-origin: bottom } 100% { transform: scaleY(0); transform-origin: bottom } }

/* Reduced motion: no pinning — the five panels simply stack */
@media (prefers-reduced-motion: reduce) {
  .hero-reveal { height: auto; }
  .hero-reveal__stage { position: relative; height: auto; overflow: visible; }
  .hr-slide, .hr-slide + .hr-slide { position: relative; height: 100vh; height: 100svh; clip-path: none; visibility: visible; }
  .hr-rail, .hr-hint, .hr-captions, .hr-strip-wrap { display: none; }
  .hr-static { position: absolute; left: 0; right: 0; bottom: 48px; z-index: 3; }
  .hr-static .hr-cap { position: relative; left: auto; right: auto; opacity: 1; padding-bottom: 0; }
}
