/* =============================================================
   CC HAIR STUDIO — Luxury Editorial Design System
   Palette: deep navy · royal blue · champagne · soft gold
   ============================================================= */

/* -------------------------------------------------------------
   1. Tokens
   ------------------------------------------------------------- */
:root {
  /* Grounds */
  --bg:        #F6F2E9;   /* warm champagne cream */
  --bg-2:      #EEE7D8;   /* sand */
  --paper:     #FCFAF4;
  --navy:      #0A1A38;   /* deepest — the "black" */
  --navy-2:    #0C1E3F;
  --navy-3:    #12294F;   /* card on dark */
  --royal:     #14346B;   /* logo blue */
  --royal-2:   #1D4585;

  /* Ink (text on light) */
  --ink:       #14213A;
  --ink-soft:  #2C3654;
  --ink-mute:  #71768C;
  --line:      rgba(10,26,56,.14);
  --line-soft: rgba(10,26,56,.08);

  /* Cream (text on dark) */
  --cream:     #F4EEE2;
  --cream-2:   #D8CFBB;
  --cream-3:   #9AA0B4;

  /* Gold */
  --gold:      #B7862F;   /* legible gold for text on cream */
  --gold-2:    #C9A24B;   /* accent gold */
  --gold-bright:#DEC382;  /* gold on dark */
  --gold-line: rgba(183,134,47,.5);

  /* Type */
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --sans:    "Inter", system-ui, -apple-system, sans-serif;
  --label:   "Jost", "Inter", sans-serif;

  /* Motion */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:    cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce:cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Space */
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --nav-h: 84px;
  --maxw: 1560px;
}

/* -------------------------------------------------------------
   2. Reset & base
   ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
ul { list-style: none; }
::selection { background: var(--navy); color: var(--cream); }

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

/* -------------------------------------------------------------
   3. Utilities
   ------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1.1rem; background: var(--navy); color: var(--cream);
  border-radius: 6px; font-family: var(--label); font-size: .8rem; letter-spacing: .08em;
}
.skip-link:focus { top: 1rem; }

.kicker {
  font-family: var(--label);
  font-size: clamp(.66rem, 1vw, .74rem);
  text-transform: uppercase;
  letter-spacing: .32em;
  font-weight: 400;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: .8em;
}
.kicker::before {
  content: ""; width: 2.2em; height: 1px; background: var(--gold-line);
  display: inline-block;
}
.kicker.center::after {
  content: ""; width: 2.2em; height: 1px; background: var(--gold-line);
  display: inline-block;
}
.on-dark .kicker { color: var(--gold-bright); }
.on-dark .kicker::before, .on-dark .kicker.center::after { background: rgba(222,195,130,.5); }

/* -------------------------------------------------------------
   4. Typography
   ------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.01em;
  text-wrap: balance;
  color: var(--ink);
}
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--cream); }
em, .italic { font-style: italic; }
.display-xl { font-size: clamp(3rem, 11vw, 10rem); line-height: 0.92; }
.display-l  { font-size: clamp(2.5rem, 7vw, 6rem); line-height: 0.98; }
.display-m  { font-size: clamp(2rem, 4.6vw, 3.7rem); }
.display-s  { font-size: clamp(1.6rem, 3vw, 2.5rem); }
.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 46ch;
}
.on-dark .lead { color: var(--cream-2); }
.muted { color: var(--ink-mute); }
.on-dark .muted { color: var(--cream-3); }
.serif-quote { font-family: var(--display); font-style: italic; }

/* -------------------------------------------------------------
   5. Buttons & links
   ------------------------------------------------------------- */
.btn {
  --pad-y: 1rem; --pad-x: 1.9rem;
  display: inline-flex; align-items: center; gap: .8em;
  padding: var(--pad-y) var(--pad-x);
  font-family: var(--label); font-size: .78rem; font-weight: 400;
  letter-spacing: .18em; text-transform: uppercase;
  border-radius: 2px; position: relative; overflow: hidden;
  transition: background .5s var(--ease-out), color .5s var(--ease-out), border-color .5s var(--ease-out), transform .4s var(--ease-out);
  will-change: transform;
}
.btn .btn-arrow { transition: transform .45s var(--ease-out); display: inline-block; }
.btn:hover .btn-arrow { transform: translateX(6px); }

.btn-primary { background: var(--navy); color: var(--cream); }
.btn-primary:hover { background: var(--royal); }
.on-dark .btn-primary { background: var(--gold-2); color: var(--navy); }
.on-dark .btn-primary:hover { background: var(--gold-bright); }

.btn-ghost { border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--navy); background: var(--navy); color: var(--cream); }
.on-dark .btn-ghost { border-color: rgba(244,238,226,.32); color: var(--cream); }
.on-dark .btn-ghost:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); }

.btn-gold { background: var(--gold-2); color: var(--navy); }
.btn-gold:hover { background: var(--gold-bright); }

/* animated underline link */
.link-u {
  position: relative; font-family: var(--label); font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase; display: inline-flex; gap: .6em; align-items: center;
  padding-bottom: 3px;
}
.link-u::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.link-u:hover::after { transform: scaleX(1); transform-origin: left; }
.link-u .btn-arrow { transition: transform .4s var(--ease-out); }
.link-u:hover .btn-arrow { transform: translateX(5px); }

/* -------------------------------------------------------------
   6. Reveal system
   ------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }  /* defensive: never invisible */

/* Hero copy is always above the fold — never gate it behind scroll-reveal
   (guarantees the headline shows even if IntersectionObserver/transition stalls). */
.hero .reveal { opacity: 1; transform: none; animation: heroReveal 1s var(--ease-out) both; }
.hero .reveal[data-delay="1"] { animation-delay: .10s; }
.hero .reveal[data-delay="2"] { animation-delay: .20s; }
.hero .reveal[data-delay="3"] { animation-delay: .30s; }
.hero .reveal[data-delay="4"] { animation-delay: .42s; }
@keyframes heroReveal { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero .reveal { animation: none; } }
[data-delay="1"] { transition-delay: .08s; }
[data-delay="2"] { transition-delay: .16s; }
[data-delay="3"] { transition-delay: .24s; }
[data-delay="4"] { transition-delay: .32s; }
[data-delay="5"] { transition-delay: .40s; }

/* split lines */
.split-line { display: block; overflow: hidden; }
.split-line > span { display: block; transform: translateY(105%); transition: transform 1s var(--ease-out); }
.split-ready .split-line > span { transition: transform 1.05s var(--ease-out); }
.is-in .split-line > span, .split-line.is-in > span { transform: none; }

/* image reveal (clip) */
.img-reveal { position: relative; overflow: hidden; }
.img-reveal img { transform: scale(1.12); transition: transform 1.6s var(--ease-out); }
.img-reveal::after {
  content: ""; position: absolute; inset: 0; background: var(--bg);
  transform: scaleY(1); transform-origin: bottom;
  transition: transform 1.2s var(--ease-out);
}
.img-reveal.is-in::after { transform: scaleY(0); }
.img-reveal.is-in img { transform: scale(1); }
.on-dark .img-reveal::after { background: var(--navy); }

/* -------------------------------------------------------------
   7. Splash
   ------------------------------------------------------------- */
.splash {
  position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center;
  background: var(--navy);
  transition: opacity .9s var(--ease-out), visibility .9s;
  animation: splashSafety .01s 4.2s forwards;
}
.splash.is-out { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes splashSafety { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.splash-mark { text-align: center; }
.splash-mono {
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: clamp(3rem, 9vw, 5.5rem); color: var(--cream); line-height: 1;
  letter-spacing: .02em;
}
.splash-sub {
  font-family: var(--label); text-transform: uppercase; letter-spacing: .42em;
  font-size: .7rem; color: var(--gold-bright); margin-top: 1rem; padding-left: .42em;
  opacity: 0; animation: fadeUp 1s .3s var(--ease-out) forwards;
}
.splash-bar { width: 0; height: 1px; background: var(--gold-2); margin: 1.6rem auto 0; animation: splashBar 1.6s .2s var(--ease-out) forwards; }
@keyframes splashBar { to { width: 120px; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* -------------------------------------------------------------
   8. Nav
   ------------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: height .5s var(--ease-out), background .5s var(--ease-out), backdrop-filter .5s, box-shadow .5s;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; width: 100%; }
.nav.is-stuck {
  height: 66px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line-soft);
}
/* on dark hero pages nav text is cream until stuck */
.nav.on-hero-dark:not(.is-stuck) { color: var(--cream); }
.nav.on-hero-dark:not(.is-stuck) .brand-name { color: var(--cream); }
.nav.on-hero-dark:not(.is-stuck) .brand-cc { color: var(--cream); }

.brand { display: flex; align-items: center; gap: .7rem; }
.brand-cc {
  font-family: var(--display); font-style: italic; font-weight: 600;
  font-size: 1.7rem; line-height: 1; color: var(--navy); letter-spacing: .01em;
}
.brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--label); font-size: .82rem; letter-spacing: .26em; text-transform: uppercase; color: var(--navy); }
.brand-sub { font-family: var(--label); font-size: .54rem; letter-spacing: .42em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }

.nav-links { display: none; gap: 2rem; align-items: center; }
.nav-links a {
  font-family: var(--label); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
  position: relative; padding: .3rem 0; color: inherit;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.active { color: var(--gold); }

.nav-right { display: flex; align-items: center; gap: 1.2rem; }
.lang-toggle {
  font-family: var(--label); font-size: .72rem; letter-spacing: .1em; display: flex; gap: .3rem; align-items: center;
}
.lang-toggle button { padding: .2rem .1rem; opacity: .5; transition: opacity .3s; letter-spacing: .1em; }
.lang-toggle button.active { opacity: 1; color: var(--gold); }
.lang-toggle .sep { opacity: .3; }
.nav-cta { display: none; }

.burger { display: flex; flex-direction: column; gap: 5px; width: 30px; height: 20px; justify-content: center; }
.burger span { height: 1.5px; width: 100%; background: currentColor; transition: transform .4s var(--ease-out), opacity .3s; }
.burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999; background: var(--navy); color: var(--cream);
  display: flex; flex-direction: column; justify-content: center; padding: var(--gutter);
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-out); pointer-events: none;
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); pointer-events: auto; }
.mobile-menu nav { display: flex; flex-direction: column; gap: .2rem; }
.mobile-menu nav a {
  font-family: var(--display); font-size: clamp(2rem,9vw,3rem); color: var(--cream);
  padding: .35rem 0; opacity: 0; transform: translateY(20px);
}
.mobile-menu.is-open nav a { animation: fadeUp .6s var(--ease-out) forwards; }
.mobile-menu.is-open nav a:nth-child(1){animation-delay:.15s}
.mobile-menu.is-open nav a:nth-child(2){animation-delay:.22s}
.mobile-menu.is-open nav a:nth-child(3){animation-delay:.29s}
.mobile-menu.is-open nav a:nth-child(4){animation-delay:.36s}
.mobile-menu.is-open nav a:nth-child(5){animation-delay:.43s}
.mobile-menu.is-open nav a:nth-child(6){animation-delay:.50s}
.mobile-menu.is-open nav a:nth-child(7){animation-delay:.57s}
.mobile-menu-foot { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; opacity: 0; animation: fadeUp .6s .6s var(--ease-out) forwards; }
.mm-hidden { animation: none !important; }

/* -------------------------------------------------------------
   9. Hero
   ------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; text-align: center; overflow: hidden; isolation: isolate;
  color: var(--cream); padding-bottom: clamp(3rem, 8vh, 6rem); padding-top: var(--nav-h);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 20s var(--ease-soft) forwards; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,26,56,.5) 0%, rgba(10,26,56,.15) 35%, rgba(10,26,56,.55) 100%);
}
.hero-grain { position: absolute; inset: 0; z-index: -1; opacity: .05; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("assets/img/grain.webp"); background-size: 300px; }
.hero-inner { max-width: 26ch; margin-inline: auto; }
.hero-title { font-size: clamp(3rem, 9.5vw, 8.2rem); line-height: 0.94; color: var(--cream); text-shadow: 0 2px 40px rgba(8,16,32,.55); }
.hero-title em { color: var(--gold-bright); }
.hero-sub { font-family: var(--display); font-style: italic; font-size: clamp(1.15rem,2.3vw,1.9rem); color: var(--cream-2); margin: 1.4rem auto 0; max-width: 32ch; line-height: 1.35; text-shadow: 0 2px 24px rgba(8,16,32,.5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.6rem; justify-content: center; }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
  font-family: var(--label); font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: var(--cream-2);
}
.hero-scroll .line { width: 1px; height: 46px; background: linear-gradient(var(--gold-bright), transparent); position: relative; overflow: hidden; }
.hero-scroll .line::after { content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--gold-bright); animation: scrollDot 2.2s var(--ease-soft) infinite; }
@keyframes scrollDot { 0%{ top:-50% } 100%{ top:100% } }

/* small page hero (interior pages) */
.page-hero {
  position: relative; padding: calc(var(--nav-h) + clamp(3rem,10vh,7rem)) 0 clamp(3rem,7vh,5rem);
  background: var(--navy); color: var(--cream); overflow: hidden; isolation: isolate;
}
.page-hero .hero-grain { opacity: .06; }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; opacity: .5; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg::after { content:""; position:absolute; inset:0; background: linear-gradient(90deg, var(--navy) 20%, transparent 90%); }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); }
.page-hero .lead { color: var(--cream-2); margin-top: 1.2rem; }
.breadcrumb { font-family: var(--label); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cream-3); margin-bottom: 1.6rem; display: flex; gap: .6rem; }
.breadcrumb a:hover { color: var(--gold-bright); }

/* -------------------------------------------------------------
   10. Sections
   ------------------------------------------------------------- */
section { position: relative; }
.section { padding-block: clamp(4.5rem, 11vh, 9rem); }
.section-dark { background: var(--navy); color: var(--cream); }
.section-cream { background: var(--bg-2); }
.section-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 1rem; }

/* philosophy — asymmetric editorial */
.philo { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.philo-img { position: relative; aspect-ratio: 4/5; }
.philo-img img { width: 100%; height: 100%; object-fit: cover; }
.philo-tag {
  position: absolute; bottom: 1.4rem; left: 1.4rem; right: 1.4rem;
  font-family: var(--label); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--cream); display: flex; justify-content: space-between;
}
.philo-body h2 { margin-bottom: 1.6rem; }
.philo-quote { font-family: var(--display); font-style: italic; font-size: clamp(1.4rem,2.6vw,2.1rem); line-height: 1.35; color: var(--ink-soft); }
.philo-p { margin-top: 1.4rem; color: var(--ink-soft); max-width: 52ch; }

/* stats row */
.stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem 1rem; margin-top: clamp(2.5rem,5vw,4rem); border-top: 1px solid var(--line); padding-top: clamp(2rem,4vw,3rem); }
.stat .num { font-family: var(--display); font-size: clamp(2.4rem,5vw,4rem); color: var(--gold); line-height: 1; }
.on-dark .stat .num { color: var(--gold-bright); }
.stat .lab { font-family: var(--label); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); margin-top: .7rem; }
.on-dark .stat .lab { color: var(--cream-3); }
/* value pillars — replaces vanity metrics */
.pillars { grid-template-columns: repeat(2,1fr); }
.stat .num.serif-word { font-style: italic; font-size: clamp(1.9rem,4vw,3.1rem); }
@media (min-width: 900px){ .pillars { grid-template-columns: repeat(4,1fr); } }

/* journal: articles not yet published */
.jcard.is-soon, .philo.is-soon { cursor: default; }
.soon-badge {
  display: inline-block; margin-top: .8rem;
  font-family: var(--label); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--gold-line); border-radius: 100px; padding: .3rem .7rem;
}

/* -------------------------------------------------------------
   11. Services — editorial index (not generic cards)
   ------------------------------------------------------------- */
.svc-index { border-top: 1px solid var(--line); }
.on-dark .svc-index { border-color: rgba(244,238,226,.16); }
.svc-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center;
  padding: clamp(1.6rem,3vw,2.4rem) 0; border-bottom: 1px solid var(--line);
  position: relative; transition: padding-left .5s var(--ease-out);
}
.on-dark .svc-row { border-color: rgba(244,238,226,.16); }
.svc-row .idx { font-family: var(--label); font-size: .74rem; letter-spacing: .1em; color: var(--gold); align-self: start; padding-top: .5rem; }
.svc-row .svc-name { font-family: var(--display); font-size: clamp(1.8rem,4vw,3.2rem); line-height: 1.05; transition: color .4s; }
.svc-row .svc-desc { font-size: .92rem; color: var(--ink-mute); margin-top: .5rem; max-width: 46ch; }
.on-dark .svc-row .svc-desc { color: var(--cream-3); }
.svc-row .svc-meta { text-align: right; font-family: var(--label); font-size: .72rem; letter-spacing: .1em; color: var(--ink-mute); white-space: nowrap; }
.on-dark .svc-row .svc-meta { color: var(--cream-2); }
.svc-row .svc-arrow { transition: transform .5s var(--ease-out), opacity .4s; opacity: 0; transform: translateX(-8px); }
@media (hover:hover){
  .svc-row:hover { padding-left: 1.2rem; }
  .svc-row:hover .svc-name { color: var(--gold); }
  .svc-row:hover .svc-arrow { opacity: 1; transform: translateX(0); }
}
/* floating preview image on hover (desktop) */
.svc-preview {
  position: fixed; top: 0; left: 0; width: 260px; aspect-ratio: 4/5; z-index: 60;
  pointer-events: none; opacity: 0; transform: translate(-50%,-50%) scale(.9);
  transition: opacity .4s var(--ease-out), transform .5s var(--ease-out); overflow: hidden; border-radius: 3px;
  box-shadow: 0 30px 60px rgba(10,26,56,.4);
}
.svc-preview img { width: 100%; height: 100%; object-fit: cover; }
.svc-preview.is-on { opacity: 1; }

/* -------------------------------------------------------------
   12. Drag gallery / horizontal rail
   ------------------------------------------------------------- */
.rail-wrap { position: relative; }
.rail {
  display: flex; gap: clamp(1rem,2vw,1.6rem); overflow-x: auto; overflow-y: visible;
  padding-block: .5rem 2rem; scroll-snap-type: x mandatory;
  scrollbar-width: none; cursor: grab;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.rail-card { flex: 0 0 auto; width: clamp(260px, 34vw, 420px); scroll-snap-align: start; }
.rail-card .ph { aspect-ratio: 3/4; overflow: hidden; position: relative; }
.rail-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
@media(hover:hover){ .rail-card:hover .ph img { transform: scale(1.05); } }
.rail-card h3 { font-size: 1.5rem; margin-top: 1.1rem; }
.rail-card .cap { font-family: var(--label); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); margin-top: .5rem; }
.on-dark .rail-card .cap { color: var(--cream-3); }
.rail-hint { font-family: var(--label); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); display: flex; align-items: center; gap: .6rem; }

/* -------------------------------------------------------------
   13. Technology strip
   ------------------------------------------------------------- */
.tech-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: rgba(244,238,226,.14); border: 1px solid rgba(244,238,226,.14); }
.tech-cell { background: var(--navy); padding: clamp(1.8rem,3vw,2.6rem); position: relative; overflow: hidden; min-height: 240px; display: flex; flex-direction: column; justify-content: flex-end; }
.tech-cell .tech-bg { position: absolute; inset: 0; z-index: 0; opacity: .5; transition: opacity .6s, transform 1.4s var(--ease-out); }
.tech-cell .tech-bg img { width: 100%; height: 100%; object-fit: cover; }
.tech-cell:hover .tech-bg { opacity: .8; transform: scale(1.06); }
.tech-cell > * { position: relative; z-index: 1; }
.tech-cell .tech-no { font-family: var(--label); font-size: .7rem; letter-spacing: .2em; color: var(--gold-bright); margin-bottom: auto; }
.tech-cell h3 { font-size: 1.7rem; }
.tech-cell p { font-size: .88rem; color: var(--cream-2); margin-top: .6rem; max-width: 34ch; }

/* -------------------------------------------------------------
   14. Results / before-after
   ------------------------------------------------------------- */
.results-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem,4vw,3rem); }
.ba { position: relative; }
.ba-media { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; aspect-ratio: 3/2; overflow: hidden; }
.ba-media figure { position: relative; overflow: hidden; }
.ba-media img { width: 100%; height: 100%; object-fit: cover; }
.ba-media figcaption { position: absolute; top: 1rem; left: 1rem; font-family: var(--label); font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--cream); background: rgba(10,26,56,.5); padding: .3rem .7rem; border: 1px solid rgba(244,238,226,.3); }
.ba-info { margin-top: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.ba-info h3 { font-size: 1.4rem; }
.ba-info .tag { font-family: var(--label); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.disclaimer { font-size: .74rem; color: var(--ink-mute); font-style: italic; margin-top: 2rem; }
.on-dark .disclaimer { color: var(--cream-3); }

/* -------------------------------------------------------------
   15. Testimonials — big editorial quote slider
   ------------------------------------------------------------- */
.testi { text-align: center; max-width: 26ch; margin-inline: auto; }
.testi-track { position: relative; min-height: 44vh; display: grid; }
.testi-slide { grid-area: 1/1; opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); pointer-events: none; }
.testi-slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.testi-quote { font-family: var(--display); font-style: italic; font-size: clamp(1.8rem,4.4vw,3.4rem); line-height: 1.22; }
.on-dark .testi-quote { color: var(--cream); }
.testi-quote .mark { color: var(--gold-bright); }
.testi-meta { margin-top: 2rem; font-family: var(--label); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cream-3); }
.testi-meta strong { color: var(--gold-bright); font-weight: 400; }
.testi-dots { display: flex; gap: .6rem; justify-content: center; margin-top: 2.6rem; }
.testi-dots button { width: 28px; height: 2px; background: rgba(244,238,226,.25); transition: background .4s; }
.testi-dots button.active { background: var(--gold-bright); }

/* -------------------------------------------------------------
   16. Journal cards
   ------------------------------------------------------------- */
.journal-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem,4vw,3rem); }
.jcard { display: block; }
.jcard .ph { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.jcard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease-out); }
@media(hover:hover){ .jcard:hover .ph img { transform: scale(1.06); } }
.jcard .cat { font-family: var(--label); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-top: 1.2rem; }
.jcard h3 { font-size: clamp(1.4rem,2.4vw,1.9rem); margin-top: .6rem; line-height: 1.15; transition: color .4s; }
@media(hover:hover){ .jcard:hover h3 { color: var(--gold); } }
.jcard .meta { font-family: var(--label); font-size: .68rem; letter-spacing: .1em; color: var(--ink-mute); margin-top: .8rem; }

/* -------------------------------------------------------------
   17. Team / products (about + home)
   ------------------------------------------------------------- */
.team-grid, .prod-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem,3vw,2.5rem); }
.member .ph, .prod .ph { aspect-ratio: 4/5; overflow: hidden; position: relative; }
.member .ph img, .prod .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
@media(hover:hover){ .member:hover .ph img, .prod:hover .ph img { transform: scale(1.05); } }
.member h3 { font-size: 1.5rem; margin-top: 1.1rem; }
.member .role { font-family: var(--label); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-top: .4rem; }
.member .bio { font-size: .88rem; color: var(--ink-mute); margin-top: .8rem; }
.on-dark .member .bio { color: var(--cream-3); }
.prod .brand-lab { font-family: var(--label); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-top: 1rem; }
.prod h3 { font-size: 1.3rem; margin-top: .4rem; }
.prod .ptype { font-size: .84rem; color: var(--ink-mute); margin-top: .3rem; }
.on-dark .prod .ptype { color: var(--cream-3); }

/* values list */
.values { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.on-dark .values { background: rgba(244,238,226,.16); border-color: rgba(244,238,226,.16); }
.value { background: var(--bg); padding: clamp(1.6rem,3vw,2.4rem) 0; }
.section-dark .value { background: var(--navy); }
.value .vno { font-family: var(--label); font-size: .7rem; letter-spacing: .2em; color: var(--gold); }
.value h3 { font-size: 1.5rem; margin: .8rem 0 .6rem; }
.value p { font-size: .9rem; color: var(--ink-soft); max-width: 40ch; }
.on-dark .value p { color: var(--cream-2); }

/* -------------------------------------------------------------
   18. Steps (treatment detail)
   ------------------------------------------------------------- */
.steps { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.step { background: var(--bg); padding: clamp(1.6rem,3vw,2.2rem) 0; display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; }
.step .sno { font-family: var(--display); font-style: italic; font-size: clamp(2rem,4vw,3rem); color: var(--gold); line-height: 1; }
.step h3 { font-size: 1.4rem; }
.step p { font-size: .9rem; color: var(--ink-soft); margin-top: .5rem; max-width: 50ch; }
.benefits { display: grid; grid-template-columns: 1fr; gap: .9rem; }
.benefit { display: flex; gap: 1rem; align-items: baseline; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.benefit .b-mark { color: var(--gold); font-family: var(--display); font-style: italic; }
.benefit span:last-child { color: var(--ink-soft); }

/* -------------------------------------------------------------
   19. Forms / booking
   ------------------------------------------------------------- */
.form { display: grid; gap: 1.6rem; }
.field { display: flex; flex-direction: column; gap: .5rem; }
.field label { font-family: var(--label); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); }
.on-dark .field label { color: var(--cream-3); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid var(--line); padding: .8rem 0; transition: border-color .4s;
}
.on-dark .field input, .on-dark .field select, .on-dark .field textarea { color: var(--cream); border-color: rgba(244,238,226,.24); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field select { cursor: pointer; }
.field select option { color: #14213A; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 1.6rem; }
.form-note { font-size: .78rem; color: var(--ink-mute); }
.on-dark .form-note { color: var(--cream-3); }
.form-ok {
  display: none; align-items: center; gap: 1rem; padding: 1.4rem; border: 1px solid var(--gold-line);
  background: color-mix(in srgb, var(--gold-2) 8%, transparent); font-family: var(--label);
  font-size: .82rem; letter-spacing: .06em; color: var(--gold); margin-top: 1rem;
}
.form-ok.show { display: flex; animation: fadeUp .6s var(--ease-out); }
.form-ok svg { flex: 0 0 auto; }

/* contact info block */
.contact-info { display: grid; gap: 2rem; }
.ci-item .ci-lab { font-family: var(--label); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: .5rem; }
.ci-item .ci-val { font-family: var(--display); font-size: 1.4rem; }
.ci-item .ci-val a:hover { color: var(--gold); }
.on-dark .ci-item .ci-val { color: var(--cream); }

/* -------------------------------------------------------------
   20. CTA band
   ------------------------------------------------------------- */
.cta-band { text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.cta-band .cta-bg { position: absolute; inset: 0; z-index: -1; opacity: .55; }
.cta-band .cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band h2 { font-size: clamp(2.4rem,6vw,5rem); }
.cta-band .lead { margin: 1.4rem auto 2.4rem; }

/* -------------------------------------------------------------
   21. Marquee
   ------------------------------------------------------------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 1.2rem 0; }
.on-dark .marquee, .section-dark .marquee { border-color: rgba(244,238,226,.16); }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: marq 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--display); font-style: italic; font-size: clamp(1.4rem,3vw,2.2rem); color: var(--ink-soft); display: inline-flex; align-items: center; gap: 3rem; }
.on-dark .marquee-track span, .section-dark .marquee-track span { color: var(--cream-2); }
.marquee-track span::after { content: "✦"; color: var(--gold); font-size: .7em; font-style: normal; }
@keyframes marq { to { transform: translateX(-50%); } }

/* -------------------------------------------------------------
   22. Footer
   ------------------------------------------------------------- */
.footer { background: var(--navy); color: var(--cream); padding-top: clamp(4rem,8vh,7rem); }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 3rem; padding-bottom: 4rem; border-bottom: 1px solid rgba(244,238,226,.14); }
.footer-brand .brand-cc { color: var(--cream); font-size: 2.6rem; }
.footer-brand .brand-name { color: var(--cream); }
.footer-tagline { font-family: var(--display); font-style: italic; font-size: 1.5rem; color: var(--cream-2); margin-top: 1.4rem; max-width: 22ch; }
.footer-col h4 { font-family: var(--label); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-bright); font-weight: 400; margin-bottom: 1.2rem; }
.footer-col ul { display: grid; gap: .7rem; }
.footer-col a, .footer-col li { font-size: .92rem; color: var(--cream-2); transition: color .3s; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom { display: flex; flex-direction: column; gap: 1rem; padding: 2rem 0 2.5rem; font-family: var(--label); font-size: .68rem; letter-spacing: .08em; color: var(--cream-3); }
.footer-bottom a:hover { color: var(--gold-bright); }

/* -------------------------------------------------------------
   23. WhatsApp discreet button
   ------------------------------------------------------------- */
.wa {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 800;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .8rem 1.2rem; background: var(--navy); color: var(--cream);
  border: 1px solid rgba(222,195,130,.4); border-radius: 40px;
  font-family: var(--label); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(10,26,56,.28);
  opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), background .4s;
}
.wa.show { opacity: 1; transform: none; }
.wa:hover { background: var(--royal); }
.wa svg { fill: var(--gold-bright); }

/* -------------------------------------------------------------
   24. Custom cursor
   ------------------------------------------------------------- */
.cursor, .cursor-label { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block; position: fixed; top: 0; left: 0; z-index: 4000; pointer-events: none;
    width: 8px; height: 8px; border-radius: 50%; background: var(--gold-2);
    transform: translate(-50%,-50%); opacity: 0; transition: opacity .3s, width .35s var(--ease-out), height .35s var(--ease-out), background .35s;
    mix-blend-mode: difference;
  }
  .cursor.is-ready { opacity: 1; }
  .cursor.is-hover { width: 54px; height: 54px; background: transparent; border: 1px solid var(--gold-2); mix-blend-mode: normal; }
  .cursor-label {
    display: block; position: fixed; top: 0; left: 0; z-index: 4001; pointer-events: none;
    transform: translate(-50%,-50%); font-family: var(--label); font-size: .58rem; letter-spacing: .18em;
    text-transform: uppercase; color: var(--gold-2); opacity: 0; transition: opacity .3s;
  }
  .cursor-label.is-on { opacity: 1; }
  a, button, .svc-row, .rail { cursor: none; }
}

/* -------------------------------------------------------------
   25. Page transitions (View Transitions API)
   ------------------------------------------------------------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .5s var(--ease-out) both; }
::view-transition-new(root) { animation: vtIn .6s var(--ease-out) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(10px); } }

/* -------------------------------------------------------------
   26. Responsive
   ------------------------------------------------------------- */
@media (min-width: 600px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(4,1fr); }
  .results-grid { grid-template-columns: 1fr 1fr; }
  .journal-grid { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .prod-grid { grid-template-columns: repeat(3,1fr); }
}
@media (min-width: 720px) {
  .tech-grid { grid-template-columns: repeat(3,1fr); }
  .values { grid-template-columns: repeat(2,1fr); }
  .value { padding: clamp(2rem,3vw,2.6rem); }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .burger { display: none; }
  .nav-cta { display: inline-flex; }
  .philo { grid-template-columns: 0.85fr 1.15fr; }
  .philo.reverse { grid-template-columns: 1.15fr 0.85fr; }
  .journal-grid { grid-template-columns: repeat(3,1fr); }
  .team-grid { grid-template-columns: repeat(3,1fr); }
  .split-2 { grid-template-columns: 1fr 1fr; }
  .booking-layout { grid-template-columns: 1fr 1fr; gap: clamp(3rem,6vw,7rem); }
  .value { padding: clamp(2.4rem,3vw,3rem); }
}
@media (min-width: 1280px) {
  .philo { grid-template-columns: 0.8fr 1.2fr; }
}

/* generic grids used above */
.split-2, .booking-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }

/* -------------------------------------------------------------
   27. Reduced motion — only intrusive
   ------------------------------------------------------------- */
@media (max-width: 719px) {
  .hero-scroll { display: none; }
  .hero { min-height: 92svh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg img { animation: none; }
  .marquee-track { animation-duration: 90s; }
  .hero-scroll .line::after { animation: none; }
}

/* -------------------------------------------------------------
   28. Gallery masonry + lightbox
   ------------------------------------------------------------- */
.masonry { columns: 1; column-gap: clamp(.8rem,1.5vw,1.2rem); }
@media (min-width:600px){ .masonry { columns: 2; } }
@media (min-width:960px){ .masonry { columns: 3; } }
@media (min-width:1400px){ .masonry { columns: 4; } }
.masonry .cell {
  break-inside: avoid; margin-bottom: clamp(.8rem,1.5vw,1.2rem);
  position: relative; overflow: hidden; cursor: pointer; background: var(--bg-2);
}
.masonry .cell img { width: 100%; height: auto; display: block; transition: transform 1.1s var(--ease-out), filter .6s; }
.masonry .cell::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,26,56,.55), transparent 55%);
  opacity: 0; transition: opacity .5s var(--ease-out);
}
.masonry .cell .view {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2; color: var(--cream);
  font-family: var(--label); font-size: .64rem; letter-spacing: .24em; text-transform: uppercase;
  opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
@media(hover:hover){
  .masonry .cell:hover img { transform: scale(1.05); }
  .masonry .cell:hover::after { opacity: 1; }
  .masonry .cell:hover .view { opacity: 1; transform: none; }
}
.gallery-filter { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-bottom: clamp(2rem,4vw,3rem); }
.gallery-filter button {
  font-family: var(--label); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-mute); padding: .3rem 0; position: relative;
}
.gallery-filter button::after { content:""; position:absolute; left:0; bottom:-2px; width:100%; height:1px; background:var(--gold); transform:scaleX(0); transform-origin:left; transition:transform .4s var(--ease-out); }
.gallery-filter button.active { color: var(--ink); }
.gallery-filter button.active::after { transform: scaleX(1); }
.cell.is-hide { display: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 5000; background: rgba(8,16,32,.94);
  display: grid; place-items: center; padding: 4vw;
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease-out), visibility .5s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; box-shadow: 0 40px 90px rgba(0,0,0,.5); transform: scale(.97); transition: transform .5s var(--ease-out); }
.lightbox.is-open img { transform: scale(1); }
.lightbox .lb-close, .lightbox .lb-nav {
  position: absolute; color: var(--cream); font-family: var(--label); font-size: 1.6rem;
  width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(244,238,226,.25); border-radius: 50%;
  transition: background .3s, border-color .3s;
}
.lightbox .lb-close:hover, .lightbox .lb-nav:hover { background: rgba(244,238,226,.12); border-color: var(--gold-2); }
.lightbox .lb-close { top: 4vw; right: 4vw; }
.lightbox .lb-prev { left: 3vw; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 3vw; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 4vw; left: 50%; transform: translateX(-50%); font-family: var(--label); font-size: .72rem; letter-spacing: .2em; color: var(--cream-3); }
@media (max-width:600px){ .lightbox .lb-nav{ width:44px;height:44px } .lightbox .lb-prev{left:.5rem} .lightbox .lb-next{right:.5rem} }

/* -------------------------------------------------------------
   29. In Motion — video section
   ------------------------------------------------------------- */
.vgrid { display: grid; grid-template-columns: 1fr; gap: clamp(1rem,2vw,1.6rem); max-width: 340px; margin-inline: auto; }
.vcard { position: relative; overflow: hidden; background: var(--navy-2); aspect-ratio: 9/16; border-radius: 3px; }
.vcard video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease-out); }
@media(hover:hover){ .vcard:hover video { transform: scale(1.04); } }
.vcard .vlabel {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2; color: var(--cream);
  font-family: var(--label); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase;
  background: rgba(10,26,56,.42); padding: .35rem .8rem; border: 1px solid rgba(244,238,226,.22);
  backdrop-filter: blur(4px);
}
.vcard::after { content:""; position:absolute; inset:0; background: linear-gradient(0deg, rgba(10,26,56,.35), transparent 45%); pointer-events:none; }
@media (min-width: 720px){ .vgrid { grid-template-columns: repeat(3,1fr); max-width: 1000px; } }

/* -------------------------------------------------------------
   30. Responsive polish (mobile + desktop optimisation)
   ------------------------------------------------------------- */
/* Service rows: stack price/meta below name on small screens */
@media (max-width: 560px) {
  .svc-row { grid-template-columns: auto 1fr; gap: .4rem 1.1rem; }
  .svc-row .svc-name { font-size: clamp(1.5rem, 7vw, 2rem) !important; }
  .svc-row .svc-meta { grid-column: 2; text-align: left; margin-top: .4rem; }
  .svc-row .svc-arrow { display: none; }
}
/* Hero: keep title clear of the nav on short screens */
@media (max-width: 560px) {
  .hero { align-items: flex-end; }              /* bottom-anchored where gradient is darkest = best legibility */
  .hero-inner { max-width: 100%; }
  .hero-title { font-size: clamp(2.9rem, 15vw, 4.4rem); }
  .hero-sub { font-size: 1.05rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
/* Section head centring already handled; tighten section rhythm on phones */
@media (max-width: 560px) {
  .section { padding-block: clamp(3.2rem, 12vh, 5rem); }
  .stats { grid-template-columns: repeat(2,1fr); gap: 1.6rem 1rem; }
  .ba-info { flex-direction: column; gap: .3rem; }
  .breadcrumb { flex-wrap: wrap; }
}
/* Tablet: services/journal breathe better */
@media (min-width: 561px) and (max-width: 959px) {
  .vgrid { max-width: 620px; }
}
/* Large desktop: cap hero text and rail card size elegantly */
@media (min-width: 1600px) {
  .hero-title { font-size: 8.6rem; }
  .rail-card { width: 440px; }
}
/* Prevent any media from forcing horizontal scroll */
img, video, .rail, .masonry { max-width: 100%; }
/* Tap targets a touch larger on mobile */
@media (hover: none) {
  .nav-links a, .footer-col a { padding-block: .35rem; }
  .btn { --pad-y: 1.05rem; }
}
