/* ==========================================================================
   Sanju Kanhere - Fitness & Recovery
   Design system: "Kinetic editorial" - ink / bone / ember
   ========================================================================== */

/* ---------- Fonts (self-hosted, Latin subset) ---------- */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 62% 100%; font-display: swap; src: url("../fonts/archivo-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #0e0f0d;
  --ink-2: #171915;
  --ink-3: #22251f;
  --bone: #ece7dc;
  --bone-2: #e1dbcd;
  --paper: #f6f2e9;
  --ember: #ebb306;
  --ember-deep: #c99a00;
  --gold-ink: #846000;   /* accent text on light backgrounds (4.6:1 on bone) */
  --accent-ink: var(--ember);
  --muted-d: #9b9a8f;   /* muted text on dark */
  --muted-l: #5e5c55;   /* muted text on light */
  --line-d: rgba(236, 231, 220, .14);
  --line-l: rgba(14, 15, 13, .14);

  --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --gutter: clamp(16px, 3.2vw, 48px);
  --max: 1520px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); overflow-x: clip; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font: 400 16px/1.6 var(--f-body);
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--ember); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 4px; border-radius: 2px; }

.skip {
  position: fixed; top: 12px; left: 12px; z-index: 1000;
  padding: 10px 16px; background: var(--ember); color: var(--ink);
  font-weight: 700; transform: translateY(-200%); transition: transform .3s var(--ease);
}
.skip:focus { transform: none; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Grain overlay ---------- */
.grain {
  pointer-events: none; position: fixed; inset: 0; z-index: 900; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sec { position: relative; padding-block: clamp(88px, 12vw, 180px); }
.sec--tight { padding-block: clamp(64px, 8vw, 120px); }
.t-ink { background: var(--ink); color: var(--bone); }
.t-ink2 { background: var(--ink-2); color: var(--bone); }
.t-bone { background: var(--bone); color: var(--ink); }
.t-paper { background: var(--paper); color: var(--ink); }
.t-ember { background: var(--ember); color: var(--ink); }
.t-bone .muted, .t-paper .muted { color: var(--muted-l); }
/* light surfaces use a deeper gold for accent text; dark cards nested inside them switch back */
.t-bone, .t-paper, .form { --accent-ink: var(--gold-ink); }
.step:nth-child(odd), .guide:hover { --accent-ink: var(--ember); }
.t-ink .muted, .t-ink2 .muted { color: var(--muted-d); }

/* ---------- Type ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 800;
  font-variation-settings: "wdth" 66;
  font-stretch: 66%;
  text-transform: uppercase;
  line-height: .86;
  letter-spacing: -.01em;
}
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -.01em; }
.accent { color: var(--accent-ink); }
.h-xxl { font-size: clamp(4.2rem, min(15.5vw, 25svh), 16.5rem); }
.h-xl { font-size: clamp(3.4rem, 10vw, 10.5rem); }
.h-l { font-size: clamp(2.8rem, 6.8vw, 7rem); }
.h-m { font-size: clamp(2.1rem, 4.2vw, 4.2rem); }
.h-s { font-size: clamp(1.5rem, 2.3vw, 2.2rem); line-height: .95; }
.display .serif { font-size: 1.08em; line-height: .8; }

.label {
  font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  font-variation-settings: "wdth" 100;
  display: inline-flex; align-items: center; gap: .7em;
}
.label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-ink); flex: none; }
.label--plain::before { display: none; }
.idx { font-family: var(--f-serif); font-style: italic; font-size: 1.1rem; letter-spacing: 0; text-transform: none; }

.lead { font-size: clamp(1.1rem, 1.55vw, 1.42rem); line-height: 1.45; font-weight: 400; max-width: 34em; }
.prose p + p { margin-top: 1.1em; }
.prose p { max-width: 38em; }
.big-quote {
  font-family: var(--f-serif); font-weight: 400;
  font-size: clamp(2.2rem, 5.6vw, 5.6rem); line-height: 1.02; letter-spacing: -.02em;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--bone); --fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  padding: 17px 26px; border-radius: 100px; overflow: hidden; isolation: isolate;
  background: var(--bg); color: var(--fg);
  font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  transition: color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--ember); transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:hover, .btn:focus-visible { color: var(--ink); }
.btn .arr { display: inline-block; transition: transform .55s var(--ease); }
.btn:hover .arr { transform: translateX(4px) rotate(-45deg); }
.btn--ember { --bg: var(--ember); --fg: var(--ink); }
.btn--ember::before { background: var(--bone); }
.btn--ink { --bg: var(--ink); --fg: var(--bone); }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1px currentColor; }
.btn--block { width: 100%; justify-content: space-between; }

.link-u {
  position: relative; display: inline-flex; gap: .5em; align-items: center;
  font-weight: 600; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase;
  padding-bottom: 4px;
}
.link-u::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform-origin: right; transition: transform .6s var(--ease);
}
.link-u:hover::after { transform: scaleX(0); }

/* ---------- Preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 950; background: var(--ink); color: var(--bone);
  display: grid; place-items: center;
  transition: clip-path 1s var(--ease-io);
  clip-path: inset(0 0 0 0);
}
.loader.done { clip-path: inset(0 0 100% 0); }
.loader__inner { text-align: center; }
.loader__name { overflow: hidden; }
.loader__name span { display: block; font-size: clamp(2.6rem, 9vw, 7rem); transform: translateY(105%); animation: rise .9s var(--ease) .1s forwards; }
.loader__count { margin-top: 18px; font-family: var(--f-serif); font-style: italic; font-size: 1.3rem; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.loader__bar { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--ember); width: 0; }
html.no-loader .loader { display: none; }
@keyframes rise { to { transform: none; } }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 600; height: var(--header-h);
  color: var(--bone); transition: transform .6s var(--ease), background .4s, color .4s;
}
.hdr__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hdr.is-scrolled { background: rgba(14, 15, 13, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.hdr.is-hidden { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; gap: 12px; line-height: 1; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 50%; background: var(--ember); color: var(--ink);
  display: grid; place-items: center; font-family: var(--f-display); font-weight: 900;
  font-variation-settings: "wdth" 70; font-size: 1rem; letter-spacing: .02em;
  transition: transform .8s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-360deg); }
.brand__txt { font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 72; text-transform: uppercase; font-size: 1.05rem; letter-spacing: .02em; }
.brand__txt small { display: block; margin-top: 4px; font-family: var(--f-body); font-variation-settings: "wdth" 100; font-weight: 500; font-size: .6rem; letter-spacing: .22em; color: var(--muted-d); }
.hdr__nav { display: flex; align-items: center; gap: 30px; }
.hdr__nav > a:not(.btn) { position: relative; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.hdr__nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--ember);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.hdr__nav > a:not(.btn):hover::after, .hdr__nav > a[aria-current="page"]::after { transform: scaleX(1); }
.hdr__nav .btn { padding: 12px 20px; font-size: .72rem; white-space: nowrap; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; height: 44px; padding: 0 4px;
}
.menu-btn__lines { position: relative; width: 28px; height: 10px; }
.menu-btn__lines::before, .menu-btn__lines::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor;
  transition: transform .6s var(--ease), top .6s var(--ease);
}
.menu-btn__lines::before { top: 0; }
.menu-btn__lines::after { top: 8px; }
body.menu-open .menu-btn__lines::before { top: 4px; transform: rotate(45deg); }
body.menu-open .menu-btn__lines::after { top: 4px; transform: rotate(-45deg); }

/* ---------- Fullscreen menu ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 550; background: var(--ember); color: var(--ink);
  clip-path: circle(0% at calc(100% - 60px) 38px);
  transition: clip-path .9s var(--ease-io), visibility 0s linear .9s;
  visibility: hidden; overflow-y: auto;
}
body.menu-open .overlay { clip-path: circle(150% at calc(100% - 60px) 38px); visibility: visible; transition: clip-path .9s var(--ease-io); }
body.menu-open .hdr { color: var(--ink); background: transparent; backdrop-filter: none; }
body.menu-open .hdr .brand__mark { background: var(--ink); color: var(--accent-ink); }
body.menu-open .hdr .brand__txt small { color: rgba(14, 15, 13, .6); }
body.menu-open .hdr__nav > a, body.menu-open .hdr__nav .btn { opacity: 0; pointer-events: none; }
.overlay__in {
  min-height: 100%; display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px;
  padding-top: calc(var(--header-h) + 4vh); padding-bottom: 40px; align-content: space-between;
}
.overlay__main li { overflow: hidden; }
.overlay__main a {
  display: flex; align-items: baseline; gap: 18px;
  font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 66; text-transform: uppercase;
  font-size: clamp(2.4rem, min(7.4vw, 9svh), 7rem); line-height: .92;
  transform: translateY(105%); transition: transform .9s var(--ease), color .3s;
}
.overlay__main a .idx { font-size: .9rem; }
.overlay__main a:hover { color: var(--bone); }
body.menu-open .overlay__main a { transform: none; }
.overlay__main li:nth-child(1) a { transition-delay: .25s; } .overlay__main li:nth-child(2) a { transition-delay: .3s; }
.overlay__main li:nth-child(3) a { transition-delay: .35s; } .overlay__main li:nth-child(4) a { transition-delay: .4s; }
.overlay__main li:nth-child(5) a { transition-delay: .45s; } .overlay__main li:nth-child(6) a { transition-delay: .5s; }
.overlay__main li:nth-child(7) a { transition-delay: .55s; } .overlay__main li:nth-child(8) a { transition-delay: .6s; }
.overlay__side { align-self: end; display: grid; gap: 34px; opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .8s var(--ease); }
body.menu-open .overlay__side { opacity: 1; transform: none; transition-delay: .5s; }
.overlay__side h3 { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; font-weight: 700; opacity: .65; }
.overlay__side li a { font-size: 1.05rem; font-weight: 500; line-height: 1.9; }
.overlay__side li a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Reveal primitives ---------- */
.line { display: block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }
.line > span { display: block; transform: translateY(108%); transition: transform 1.2s var(--ease); }
.is-in .line > span, .line.is-in > span { transform: none; }
.line:nth-child(2) > span { transition-delay: .08s; } .line:nth-child(3) > span { transition-delay: .16s; }
.line:nth-child(4) > span { transition-delay: .24s; }

.rv { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .1s; } .rv-d2 { transition-delay: .2s; } .rv-d3 { transition-delay: .3s; }

.wipe { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-io); }
.wipe.is-in { clip-path: inset(0 0 0 0); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; padding-top: calc(var(--header-h) + 28px); padding-bottom: 36px; display: flex; flex-direction: column; overflow: hidden; }
.hero__meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  padding-bottom: 22px; border-bottom: 1px solid var(--line-d);
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d);
}
.hero__meta > :nth-child(2) { text-align: center; }
.hero__meta > :last-child { text-align: right; }
.hero__meta b { color: var(--bone); font-weight: 600; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ember); margin-right: 8px; vertical-align: 1px; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }

/* photo column + headline column; the photo's height is capped by the viewport so it can never spill onto the text below */
.hero__body {
  flex: 1; position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center;
  gap: clamp(24px, 3vw, 56px); padding-block: clamp(28px, 5vh, 60px);
}
.hero__title {
  grid-column: 2; grid-row: 1; position: relative; z-index: 2; width: fit-content; margin-inline: auto;
  font-size: clamp(4.2rem, min(13.5vw, 23svh), 15rem);
}
.hero__title .row { display: flex; align-items: flex-end; gap: .2em; white-space: nowrap; }
.hero__title .row--i { padding-left: 7vw; }
.hero__title .serif { color: var(--accent-ink); }
.hero__aside {
  grid-column: 1; grid-row: 1; position: relative; z-index: 1;
  height: min(58svh, 40vw, 640px); aspect-ratio: 2 / 3;
}
.portrait {
  position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 999px 999px 18px 18px;
  background: #000;
}
.portrait img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%;
  transform: scale(1.18); transition: transform 2.2s var(--ease);
}
.portrait.is-in img { transform: none; }
/* soft gold rim at the base so the photo melts into the page */
.portrait::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(14,15,13,.85), transparent 28%),
    radial-gradient(90% 55% at 50% 100%, rgba(235,179,6,.18), transparent 70%);
}
.badge {
  position: absolute; z-index: 3; right: -58px; bottom: 12%;
  width: 132px; height: 132px; border-radius: 50%; background: var(--ember); color: var(--ink);
  display: grid; place-items: center;
}
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.badge text { font: 700 10px var(--f-body); letter-spacing: .12em; text-transform: uppercase; fill: var(--ink); }
.badge__c { font-family: var(--f-display); font-weight: 900; font-variation-settings: "wdth" 70; font-size: 1.9rem; line-height: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__foot { display: grid; grid-template-columns: auto 1fr 1.2fr; gap: 40px; align-items: end; }
.hero__foot .scroll-cue { order: -1; }
.hero__foot .hero__cta { justify-content: flex-end; }
.hero__foot .lead { color: var(--bone); max-width: 30em; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--muted-d); }
.scroll-cue i { position: relative; width: 1px; height: 54px; background: var(--line-d); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ember); animation: drip 2s var(--ease-io) infinite; }
@keyframes drip { to { top: 100%; } }

/* letter split */
.split-ch { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.is-in .split-ch { transform: none; }
.split-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .05em; margin-bottom: -.05em; }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; padding-block: 22px; border-block: 1px solid rgba(14,15,13,.2); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item { display: inline-flex; align-items: center; gap: .5em; padding-inline: .35em; font-size: clamp(2.4rem, 6vw, 5.4rem); white-space: nowrap; }
.marquee__item .serif { text-transform: none; }
.marquee__star { width: .62em; height: .62em; flex: none; margin-inline: .25em; }
.marquee--tilt { transform: rotate(-2deg) scale(1.04); margin-block: -10px; z-index: 3; }

/* ---------- Intro / philosophy ---------- */
.philo__grid { display: grid; grid-template-columns: 1fr 3fr; gap: 40px; }
.scrub .w { color: rgba(14, 15, 13, .5); transition: color .3s linear; }
.scrub .w.on { color: var(--ink); }
.t-ink .scrub .w, .t-ink2 .scrub .w { color: rgba(236, 231, 220, .5); }
.t-ink .scrub .w.on, .t-ink2 .scrub .w.on { color: var(--bone); }
.scrub .w.serif-w { font-style: italic; }
.scrub .w.serif-w.on { color: var(--accent-ink); }

.about__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-top: clamp(80px, 10vw, 150px); align-items: start; }
.about__intro { grid-column: 1 / span 5; }
.about__text { grid-column: 7 / span 6; }
.about__text .lead { margin-bottom: 1.4em; color: var(--ink); }
.note {
  margin-top: 28px; padding: 18px 20px; border-left: 2px solid var(--accent-ink); background: rgba(14,15,13,.05);
  font-size: .9rem; line-height: 1.55;
}
.t-ink .note, .t-ink2 .note { background: rgba(236,231,220,.05); color: var(--muted-d); }
.note strong { color: inherit; font-weight: 700; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-l); margin-top: clamp(60px, 8vw, 120px); }
.stat { padding: 28px 24px 0 0; }
.stat + .stat { border-left: 1px solid var(--line-l); padding-left: 24px; }
.stat__n { font-size: clamp(4rem, 10vw, 9.5rem); line-height: .85; display: flex; align-items: flex-start; }
.stat__n sup { font-size: .4em; color: var(--accent-ink); margin-left: .05em; line-height: 1; }
.stat__l { margin-top: 14px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.stat__l em { font-family: var(--f-serif); font-size: 1.05rem; line-height: 1; letter-spacing: 0; text-transform: none; color: var(--muted-l); }

/* ---------- Section heading ---------- */
.shead { display: grid; grid-template-columns: 1fr 2.2fr; gap: 40px; align-items: end; margin-bottom: clamp(48px, 7vw, 100px); }
.shead__l { display: grid; gap: 14px; align-self: start; }
.shead p.lead { margin-top: 24px; }

/* ---------- Services list ---------- */
.svc { border-top: 1px solid var(--line-d); }
.svc__row { position: relative; border-bottom: 1px solid var(--line-d); overflow: hidden; }
.svc__a {
  position: relative; z-index: 1; display: grid; grid-template-columns: 80px 1fr 240px 64px;
  gap: 20px; align-items: center; padding: clamp(22px, 3vw, 38px) 0;
  transition: color .5s var(--ease), padding .6s var(--ease);
}
.svc__row::before {
  content: ""; position: absolute; inset: 0; background: var(--ember);
  transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease);
}
.svc__n { font-family: var(--f-serif); font-style: italic; font-size: 1.2rem; color: var(--muted-d); transition: color .5s; }
.svc__t { font-size: clamp(2rem, 5vw, 5rem); transition: transform .7s var(--ease); }
.svc__c { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-d); transition: color .5s; }
.svc__arr {
  width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-d);
  display: grid; place-items: center; transition: transform .6s var(--ease), background .5s, border-color .5s;
}
.svc__arr svg { width: 18px; height: 18px; }
.svc__d { display: none; }
@media (hover: hover) {
  .svc__row:hover::before { transform: scaleY(1); }
  .svc__row:hover .svc__a { color: var(--ink); padding-inline: 20px; }
  .svc__row:hover .svc__n, .svc__row:hover .svc__c { color: var(--ink); }
  .svc__row:hover .svc__t { transform: translateX(10px); }
  .svc__row:hover .svc__arr { background: var(--ink); color: var(--accent-ink); border-color: var(--ink); transform: rotate(45deg); }
}
.svc-preview {
  position: fixed; left: 0; top: 0; z-index: 400; width: 300px; aspect-ratio: 4 / 5; pointer-events: none; will-change: transform, translate;
  border-radius: 14px; overflow: hidden; background: var(--ink-3); color: var(--bone);
  opacity: 0; transform: translate(-50%, -50%) scale(.6); transition: opacity .35s, transform .5s var(--ease);
}
.svc-preview.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.svc-preview__art { position: absolute; inset: 0; }
.svc-preview__art svg { width: 100%; height: 100%; }
.svc-preview__txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; font-size: .88rem; line-height: 1.45; background: linear-gradient(transparent, rgba(14,15,13,.92) 35%); }
.svc-preview__txt b { display: block; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 8px; }

/* ---------- Process: horizontal pinned ---------- */
.hscroll { position: relative; }
.hscroll__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.hscroll__track { display: flex; gap: 24px; padding-inline: var(--gutter); will-change: transform; }
.hscroll__intro { flex: none; width: min(560px, 80vw); display: flex; flex-direction: column; justify-content: center; gap: 26px; padding-right: 4vw; }
.step {
  flex: none; position: relative; width: min(440px, 78vw); height: min(560px, 68svh);
  border-radius: 20px; padding: 32px; display: flex; flex-direction: column; justify-content: space-between;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line-l);
  overflow: hidden;
}
.step:nth-child(odd) { background: var(--ink); color: var(--bone); border-color: transparent; }
.step:nth-child(odd) .muted { color: var(--muted-d); }
.step__n { font-size: clamp(7rem, 16vw, 14rem); line-height: .8; color: var(--accent-ink); }
.step h3 { font-size: clamp(1.8rem, 2.6vw, 2.6rem); margin-bottom: 14px; }
.step p { font-size: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 16px; border-radius: 100px; border: 1px solid currentColor; font-size: .78rem; font-weight: 600; letter-spacing: .06em; }

/* ---------- Programmes ---------- */
.prog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prog__card {
  position: relative; display: flex; flex-direction: column; min-height: 600px; padding: 34px;
  border-radius: 22px; border: 1px solid var(--line-d); background: var(--ink-2);
  transition: transform .8s var(--ease), border-color .4s;
}
.prog__card:hover { transform: translateY(-10px); border-color: rgba(236,231,220,.35); }
.prog__card--feat { background: var(--ember); color: var(--ink); border-color: transparent; }
.prog__card--feat:hover { border-color: transparent; }
.prog__card--feat .muted { color: rgba(14,15,13,.72); }
.prog__k { display: flex; justify-content: space-between; align-items: center; font-size: .7rem; letter-spacing: .16em; font-weight: 700; text-transform: uppercase; }
.prog__k .idx { font-size: 1.1rem; }
.prog__card h3 { margin-top: clamp(60px, 8vw, 110px); font-size: clamp(2.6rem, 4.2vw, 4.4rem); }
.prog__card > p { margin-top: 18px; }
.prog__list { margin-top: 26px; margin-bottom: 34px; flex: 1; }
.prog__list li { display: flex; gap: 12px; align-items: baseline; padding: 12px 0; border-top: 1px solid currentColor; border-color: rgba(236,231,220,.14); font-size: .95rem; }
.prog__card--feat .prog__list li { border-color: rgba(14,15,13,.2); }
.prog__list li::before { content: "+"; font-weight: 700; color: var(--accent-ink); }
.prog__card--feat .prog__list li::before { color: var(--ink); }
.fine { margin-top: 30px; font-size: .84rem; color: var(--muted-d); max-width: 46em; }
.t-bone .fine, .t-paper .fine { color: var(--muted-l); }

/* ---------- Areas ---------- */
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.radar { position: relative; aspect-ratio: 1; width: 100%; max-width: 640px; justify-self: center; }
.radar svg { width: 100%; height: 100%; overflow: visible; }
.radar .ring { fill: none; stroke: rgba(14,15,13,.22); stroke-width: 1; }
.radar .ring--dash { stroke-dasharray: 3 6; }
.radar .sweep { transform-origin: 300px 300px; animation: spin 9s linear infinite; }
.radar .pin circle { transition: r .4s var(--ease), fill .3s; }
.radar .pin text { font: 600 13px var(--f-body); letter-spacing: .1em; text-transform: uppercase; fill: var(--ink); }
.radar .pin.on circle.dot { fill: var(--ember); r: 9; }
.radar .center text { font: 800 14px var(--f-body); letter-spacing: .12em; text-transform: uppercase; }
.radar__cap { position: absolute; left: 0; bottom: -6px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-l); }
.area-list li { border-top: 1px solid var(--line-l); }
.area-list li:last-child { border-bottom: 1px solid var(--line-l); }
.area-item { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 22px 0; cursor: default; transition: padding .5s var(--ease); }
.area-item:hover, .area-item.on { padding-left: 12px; }
.area-item .idx { color: var(--accent-ink); }
.area-item h3 { font-size: clamp(1.6rem, 2.6vw, 2.5rem); margin-bottom: 8px; }
.area-item p { font-size: .95rem; color: var(--muted-l); max-width: 34em; }

/* ---------- Insights ---------- */
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guide {
  position: relative; display: flex; flex-direction: column; gap: 22px; padding: 30px; min-height: 460px;
  border-radius: 20px; background: var(--bone); border: 1px solid var(--line-l);
  transition: background .5s var(--ease), color .5s var(--ease);
}
.guide:hover { background: var(--ink); color: var(--bone); }
.guide:hover .muted { color: var(--muted-d); }
.guide__top { display: flex; justify-content: space-between; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.guide__top .idx { color: var(--accent-ink); font-size: 1.15rem; }
.guide h3 { margin-top: auto; font-size: clamp(1.9rem, 2.6vw, 2.6rem); }
.guide p { font-size: .97rem; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-l); }
.faq__item { border-bottom: 1px solid var(--line-l); }
.faq__q {
  width: 100%; display: grid; grid-template-columns: 60px 1fr 44px; gap: 16px; align-items: center;
  padding: 28px 0; text-align: left; transition: padding .5s var(--ease);
}
.faq__q:hover { padding-left: 10px; }
.faq__q .idx { color: var(--accent-ink); }
.faq__q span.q { font-family: var(--f-display); font-weight: 700; font-variation-settings: "wdth" 80; text-transform: uppercase; font-size: clamp(1.2rem, 2.1vw, 1.9rem); line-height: 1.05; }
.faq__ic { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-l); transition: background .4s, transform .6s var(--ease); }
.faq__ic::before, .faq__ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq__ic::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .6s var(--ease); }
.faq__item.open .faq__ic { background: var(--ember); border-color: var(--accent-ink); transform: rotate(180deg); }
.faq__item.open .faq__ic::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.faq__item.open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 60px 30px 76px; max-width: 58em; color: var(--muted-l); font-size: 1.02rem; }
.t-ink .faq, .t-ink .faq__item { border-color: var(--line-d); }

/* ---------- CTA ---------- */
.cta { text-align: center; overflow: hidden; }
.cta__title { position: relative; z-index: 1; }
.cta__title .serif { color: var(--accent-ink); }
.magnet-wrap { display: flex; justify-content: center; margin-top: clamp(-70px, -3vw, -24px); position: relative; z-index: 2; }
.magnet {
  width: clamp(150px, 15vw, 210px); aspect-ratio: 1; border-radius: 50%;
  background: var(--ember); color: var(--ink); display: grid; place-items: center; text-align: center;
  font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; line-height: 1.35;
  transition: transform .5s var(--ease), background .4s;
}
.magnet:hover { background: var(--bone); }
.magnet span { display: block; pointer-events: none; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.contact > *, .fgrid > * { min-width: 0; }
.btn--block { text-align: left; }
.contact__info dl { display: grid; gap: 0; margin: 40px 0 0; border-top: 1px solid var(--line-d); }
.contact__info dl > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-d); }
.contact__info dt { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--muted-d); padding-top: 3px; }
.contact__info dd { margin: 0; }
.form { background: var(--bone); color: var(--ink); border-radius: 24px; padding: clamp(26px, 3.4vw, 48px); }
.form h3 { font-size: clamp(2rem, 3vw, 3rem); margin-bottom: 8px; }
.form > p.muted { margin-bottom: 18px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.fgrid .full { grid-column: 1 / -1; }
.field { position: relative; padding-top: 22px; }
.field label { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 4px; }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid rgba(14,15,13,.3); background: transparent;
  padding: 10px 0 12px; font-size: 1.05rem; border-radius: 0; color: var(--ink); outline: none;
  transition: border-color .3s;
}
.field select { appearance: none; -webkit-appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230e0f0d' stroke-width='1.5'/%3E%3C/svg%3E") right 4px center no-repeat; padding-right: 24px; }
.field textarea { min-height: 100px; resize: vertical; }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ember); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 26px 0 22px; font-size: .9rem; line-height: 1.45; cursor: pointer; }
.consent input { width: 20px; height: 20px; flex: none; margin: 1px 0 0; accent-color: var(--accent-ink); }
.privacy { margin-top: 14px; font-size: .78rem; color: var(--muted-l); line-height: 1.5; }

/* ---------- Page hero (subpages) ---------- */
.phero { position: relative; padding-top: calc(var(--header-h) + clamp(60px, 10vw, 140px)); padding-bottom: clamp(60px, 8vw, 110px); overflow: hidden; }
.crumbs { display: flex; gap: 10px; flex-wrap: wrap; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d); margin-bottom: clamp(30px, 4vw, 54px); }
.crumbs a:hover { color: var(--accent-ink); }
.crumbs span[aria-hidden] { color: var(--accent-ink); }
.phero__title .serif { color: var(--accent-ink); }
.phero__foot { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; margin-top: clamp(40px, 6vw, 80px); padding-top: 28px; border-top: 1px solid var(--line-d); align-items: start; }
.phero__num {
  position: absolute; right: var(--gutter); top: calc(var(--header-h) + 30px);
  font-family: var(--f-serif); font-style: italic; font-size: clamp(8rem, 24vw, 26rem); line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(236,231,220,.18); pointer-events: none; user-select: none;
}

/* service detail */
.detail { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.detail__art { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 30px); align-self: start; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: var(--ink); }
.detail__art svg { width: 100%; height: 100%; }
.detail__body { grid-column: 7 / span 6; }
.detail__body h2 { margin-bottom: 30px; }
.detail__body .lead { color: var(--ink); }
.kv { margin-top: 50px; border-top: 1px solid var(--line-l); }
.kv > div { display: grid; grid-template-columns: 50px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line-l); }
.kv .idx { color: var(--accent-ink); }
.kv h3 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin-bottom: 6px; }
.kv p { color: var(--muted-l); }

.next-svc { display: block; padding-block: clamp(70px, 10vw, 150px); border-top: 1px solid var(--line-d); overflow: hidden; }
.next-svc__k { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.next-svc__t { transition: color .5s, transform .9s var(--ease); }
.next-svc:hover .next-svc__t { color: var(--accent-ink); transform: translateX(2vw); }

/* ---------- Footer ---------- */
.ftr { background: var(--ink); color: var(--bone); padding-top: clamp(70px, 9vw, 130px); overflow: hidden; border-top: 1px solid var(--line-d); }
.ftr__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.ftr__grid h3 { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--muted-d); margin-bottom: 18px; }
.ftr__grid li a { display: inline-block; line-height: 2; transition: color .3s, transform .4s var(--ease); }
.ftr__grid li a:hover { color: var(--accent-ink); transform: translateX(4px); }
.ftr__lede { font-size: 1.15rem; max-width: 22em; line-height: 1.45; }
.ftr__mark { margin-top: clamp(60px, 8vw, 120px); font-size: clamp(3rem, 15.6vw, 17rem); line-height: .78; white-space: nowrap; text-align: center; letter-spacing: -.02em; color: var(--bone); }
.ftr__mark .serif { color: var(--accent-ink); }
.ftr__legal { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 24px 0 96px; margin-top: 30px; border-top: 1px solid var(--line-d); font-size: .76rem; color: var(--muted-d); }
.ftr__legal p { max-width: 70em; }
.ftr__legal { align-items: baseline; }
.to-top { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bone); white-space: nowrap; }
.to-top:hover { color: var(--accent-ink); }

/* ---------- WhatsApp float ---------- */
.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 500;
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px 14px 16px;
  border-radius: 100px; background: var(--bone); color: var(--ink);
  font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  box-shadow: 0 10px 40px rgba(0,0,0,.35);
  transform: translateY(140%); transition: transform .7s var(--ease), background .3s;
}
.wa.show { transform: none; }
.wa:hover { background: var(--ember); }
.wa svg { width: 20px; height: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .hdr__nav > a:not(.btn) { display: none; }
}
@media (max-width: 1100px) {
  .prog { grid-template-columns: 1fr 1fr; }
  .prog__card--feat { grid-column: 1 / -1; min-height: 0; }
  .guides { grid-template-columns: 1fr 1fr; }
  .guides .guide:last-child { grid-column: 1 / -1; min-height: 340px; }
  .ftr__grid { grid-template-columns: 1fr 1fr 1fr; }
  .ftr__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .hero__meta { grid-template-columns: 1fr 1fr; }
  .hero__meta > :nth-child(2) { display: none; }
  .hero__body { grid-template-columns: 1fr; gap: 0; }
  /* mobile hero: everything centred, headline above photo */
  .hero__aside { grid-column: 1; grid-row: 2; height: auto; width: min(300px, 62vw); margin: 34px auto 0; }
  .hero__title { grid-column: 1; grid-row: 1; margin-inline: auto; text-align: center; }
  .hero__title .row { justify-content: center; }
  .hero__title .row--i { padding-left: 0; }
  .hero__title.h-xxl { font-size: 19.5vw; }
  .badge { width: 108px; height: 108px; right: -48px; }
  .hero__foot { grid-template-columns: 1fr; gap: 26px; justify-items: center; text-align: center; }
  .hero__foot .lead { margin-inline: auto; }
  .hero__foot .hero__cta { justify-content: center; }
  .scroll-cue { display: none; }
  .philo__grid, .shead, .phero__foot { grid-template-columns: 1fr; gap: 22px; }
  .about__intro, .about__text, .detail__art, .detail__body { grid-column: 1 / -1; }
  .detail__art { position: relative; top: 0; max-height: 70svh; width: 100%; }
  .about__grid, .detail { grid-template-columns: 1fr; }
  .about__grid { gap: 30px; }
  .svc__a { grid-template-columns: 44px 1fr 48px; }
  .svc__c { display: none; }
  .svc__arr { width: 46px; height: 46px; }
  .svc__d { display: block; grid-column: 2 / -1; font-size: .94rem; color: var(--muted-d); margin-top: -6px; }
  .areas, .contact { grid-template-columns: 1fr; }
  .overlay__in { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hdr__nav .btn { display: none; }
  .brand__txt small { display: none; }
  .hero__meta { font-size: .64rem; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line-l); padding-left: 0; margin-top: 28px; }
  .prog, .guides { grid-template-columns: 1fr; }
  .guides .guide:last-child { grid-column: auto; }
  .prog__card { min-height: 0; padding: 26px; }
  .guide { min-height: 360px; padding: 24px; }
  .faq__q { grid-template-columns: 36px 1fr 40px; gap: 10px; }
  .faq__ic { width: 40px; height: 40px; }
  .faq__a p { padding: 0 0 26px 46px; }
  .contact__info dl > div { grid-template-columns: 1fr; gap: 4px; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .wa span { display: none; }
  .wa { padding: 15px; right: 14px; bottom: 14px; }
  .btn { padding: 15px 22px; }
}

/* Process: vertical stack when no horizontal pinning */
@media (max-width: 900px) {
  .hscroll__sticky { position: relative; height: auto; display: block; padding-block: 90px; }
  .hscroll__track { flex-direction: column; transform: none !important; }
  .hscroll__intro { width: 100%; padding: 0 0 20px; }
  .step { width: 100%; height: auto; min-height: 360px; gap: 40px; }
  .hscroll { height: auto !important; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .line > span, .split-ch, .rv, .wipe { transform: none !important; opacity: 1 !important; clip-path: none !important; }
  .loader { display: none; }
  .scrub .w { color: inherit !important; }
}

/* footer credit */
.credit { font-size: .76rem; color: var(--muted-d); white-space: nowrap; }
.credit a { color: var(--bone); font-weight: 700; text-decoration: underline; text-decoration-color: var(--ember); text-underline-offset: 4px; }
.credit a:hover { color: var(--ember); }
