/* ==========================================================================
   GK Therapy — Kurtköy Fizik Tedavi & Reformer Pilates
   Design & build: EAX Studio
   ========================================================================== */

:root {
  --forest: #183029;
  --forest-2: #203d34;
  --pine: #2d5046;
  --sage: #5f8676;
  --sage-soft: #9db8aa;
  --mist: #e4ece6;
  --cream: #f5f1e8;
  --paper: #fbf9f4;
  --ink: #142019;
  --ink-soft: #4a5a52;
  --gold: #b89a66;
  --gold-soft: #d9c49c;
  --leaf: #93bb7f;
  --line: rgba(20, 32, 25, .12);
  --line-light: rgba(245, 241, 232, .16);

  --ff-display: "Cormorant Garamond", "Times New Roman", serif;
  --ff-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-script: "Allura", cursive;

  --radius: 22px;
  --radius-lg: 34px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(88px, 12vw, 168px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: clamp(16px, 1.05vw, 17.5px);
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 500; line-height: 1.05; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
::selection { background: var(--leaf); color: var(--forest); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 999; background: var(--forest); color: var(--cream); padding: 12px 18px; border-radius: 10px; }
.skip-link:focus { top: 16px; }

/* ---------- Grain overlay ---------- */
.grain {
  pointer-events: none; position: fixed; inset: -50%; z-index: 90; opacity: .05;
  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");
  animation: grain 8s steps(8) infinite;
}
@keyframes grain { 0%,100% { transform: translate(0,0) } 25% { transform: translate(-3%,2%) } 50% { transform: translate(2%,-3%) } 75% { transform: translate(-2%,-1%) } }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: var(--forest); color: var(--cream);
  transition: clip-path 1.1s var(--ease-io), visibility 0s 1.1s;
  clip-path: inset(0 0 0 0);
}
.preloader.is-done { clip-path: inset(0 0 100% 0); visibility: hidden; }
.preloader__inner { display: grid; justify-items: center; gap: 18px; }
.preloader svg { width: 74px; }
.preloader svg path { stroke: var(--leaf); stroke-width: 1.4; fill: none; stroke-dasharray: 300; stroke-dashoffset: 300; animation: draw 1.4s var(--ease) forwards; }
.preloader svg path:nth-child(2) { animation-delay: .12s } .preloader svg path:nth-child(3) { animation-delay: .24s } .preloader svg path:nth-child(4) { animation-delay: .36s } .preloader svg path:nth-child(5) { animation-delay: .5s }
.preloader__word { font-family: var(--ff-script); font-size: 42px; line-height: 1; opacity: 0; animation: fadeUp 1s .5s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 80;
  transition: transform .6s var(--ease), background .4s, padding .4s, box-shadow .4s;
  padding-block: 22px;
  color: var(--cream);
}
.header.is-scrolled { padding-block: 12px; background: rgba(24, 48, 41, .82); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 10px 40px -20px rgba(0,0,0,.4); }
.header.is-hidden { transform: translateY(-110%); }
.header__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand__mark { width: 46px; height: 46px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px var(--line-light); }
.brand__mark img { width: 100%; height: 100%; border-radius: 50%; }
.brand__text { display: flex; flex-direction: column; gap: 5px; }
.brand__name { font-family: var(--ff-script); font-size: 31px; line-height: 1; padding-bottom: 2px; white-space: nowrap; }
.brand__sub { display: block; font-size: 10px; line-height: 1; letter-spacing: .24em; text-transform: uppercase; opacity: .7; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav a:not(.btn) { font-size: 14px; letter-spacing: .02em; position: relative; opacity: .86; transition: opacity .3s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:not(.btn):hover { opacity: 1; }
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-light); position: relative; }
.menu-toggle span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-toggle span:nth-child(1) { top: 19px } .menu-toggle span:nth-child(2) { top: 26px }
.menu-open .menu-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg) }
.menu-open .menu-toggle span:nth-child(2) { top: 22px; transform: rotate(-45deg) }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--cream); --fg: var(--forest);
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 14.5px; letter-spacing: .01em; overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), transform .3s var(--ease);
  will-change: transform;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold); border-radius: inherit; transform: translateY(101%); transition: transform .6s var(--ease); }
.btn:hover::before { transform: none; }
.btn:hover { color: var(--forest); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--sm { padding: 11px 20px; font-size: 13.5px; }
.btn--dark { --bg: var(--forest); --fg: var(--cream); }
.btn--dark::before { background: var(--pine); }
.btn--dark:hover { color: var(--cream); }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1px currentColor; }
.btn--ghost::before { background: var(--cream); }
.btn--ghost:hover { color: var(--forest); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.link-arrow svg { width: 16px; transition: transform .5s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Typography helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--sage); }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.on-dark .eyebrow { color: var(--gold-soft); }
.h-xl { font-size: clamp(46px, 7.6vw, 118px); line-height: .96; letter-spacing: -.025em; }
.h-lg { font-size: clamp(38px, 5.2vw, 76px); letter-spacing: -.02em; }
.h-md { font-size: clamp(28px, 3vw, 42px); }
.h-lg em, .h-xl em, .h-md em { font-style: italic; color: var(--sage); }
.on-dark .h-lg em, .on-dark .h-xl em, .on-dark .h-md em { color: var(--leaf); }
.lead { font-size: clamp(17px, 1.35vw, 20px); color: var(--ink-soft); max-width: 60ch; }
.on-dark .lead { color: rgba(245, 241, 232, .74); }

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

/* Generic reveal */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
[data-reveal="scale"] { transform: scale(.94); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; color: var(--cream); background: var(--forest);
  display: grid; align-items: end; padding-block: 140px clamp(48px, 7vw, 90px); overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: -8% 0 0; z-index: -2; background: url("../img/hero-paper.webp") center/cover no-repeat; opacity: .5; mix-blend-mode: luminosity; will-change: transform; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 78% 40%, rgba(45,80,70,.1), rgba(24,48,41,.92) 62%), linear-gradient(180deg, rgba(24,48,41,.55), rgba(24,48,41,.2) 40%, rgba(24,48,41,.95)); }
.hero__grid { display: grid; grid-template-columns: 1.6fr .4fr; gap: clamp(24px, 4vw, 70px); align-items: end; }
.hero__kicker { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 12.5px; letter-spacing: .04em; border: 1px solid var(--line-light); background: rgba(245,241,232,.05); backdrop-filter: blur(6px); }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 0 rgba(147,187,127,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(147,187,127,0) } 100% { box-shadow: 0 0 0 0 rgba(147,187,127,0) } }
.hero h1 { font-size: clamp(42px, 5.8vw, 96px); line-height: .95; letter-spacing: -.028em; }
.hero h1 em { font-style: italic; color: var(--leaf); }
.hero h1 .script { font-family: var(--ff-script); font-style: normal; font-size: 1.12em; color: var(--gold-soft); letter-spacing: 0; line-height: .6; }
.hero__lead { margin-top: 30px; max-width: 54ch; font-size: clamp(16.5px, 1.3vw, 19px); color: rgba(245,241,232,.78); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__side { display: grid; gap: 18px; justify-items: end; }
.spine-wrap { position: relative; width: min(100%, 300px); aspect-ratio: 300 / 520; }
.spine-wrap svg { width: 100%; height: 100%; overflow: visible; }
.spine-caption { position: absolute; left: -8px; bottom: 10%; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); writing-mode: vertical-rl; transform: rotate(180deg); opacity: .8; }
.rating-card { display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; border-radius: 18px; background: rgba(245,241,232,.07); border: 1px solid var(--line-light); backdrop-filter: blur(10px); transition: background .4s; }
.rating-card:hover { background: rgba(245,241,232,.12); }
.rating-card__g { width: 40px; height: 40px; border-radius: 12px; background: var(--cream); display: grid; place-items: center; flex: none; }
.rating-card__g svg { width: 22px; }
.rating-card strong { font-family: var(--ff-display); font-size: 30px; font-weight: 600; line-height: 1; }
.stars { display: inline-flex; gap: 2px; color: #f4b942; }
.stars svg { width: 14px; height: 14px; }
.rating-card small { display: block; font-size: 12.5px; opacity: .72; }
.hero__scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase; opacity: .6; }
.hero__scroll i { width: 1px; height: 44px; background: linear-gradient(var(--cream), transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold); animation: scrolldown 2s var(--ease-io) infinite; }
@keyframes scrolldown { to { top: 110%; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--forest); color: var(--cream); border-top: 1px solid var(--line-light); overflow: hidden; padding-block: 26px; }
.marquee__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: flex; align-items: center; gap: 34px; padding-right: 34px; font-family: var(--ff-display); font-size: clamp(24px, 3vw, 40px); font-style: italic; white-space: nowrap; }
.marquee__item svg { width: 22px; color: var(--leaf); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); position: relative; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--forest); color: var(--cream); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(48px, 6vw, 84px); }
.section-head .eyebrow { margin-bottom: 22px; }

/* Manifesto */
.manifesto { padding-block: clamp(96px, 13vw, 190px); }
.manifesto__text { font-family: var(--ff-display); font-size: clamp(30px, 4.3vw, 64px); line-height: 1.12; letter-spacing: -.015em; max-width: 22ch; }
.manifesto__text .w { color: rgba(20,32,25,.14); transition: color .5s; }
.manifesto__text .w.is-lit { color: var(--ink); }
.manifesto__text .w.accent.is-lit { color: var(--sage); font-style: italic; }
.manifesto__grid { display: grid; grid-template-columns: .35fr 1fr; gap: 40px; }
.definition {
  margin-top: clamp(40px, 5vw, 64px); max-width: 760px; padding: 26px 30px; border-left: 2px solid var(--gold);
  background: linear-gradient(90deg, rgba(184,154,102,.09), transparent); font-size: 16px; color: var(--ink-soft); border-radius: 0 14px 14px 0;
}
.definition strong { color: var(--ink); }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service {
  --mx: 50%; --my: 50%;
  position: relative; padding: clamp(28px, 3vw, 40px); border-radius: var(--radius-lg); background: var(--paper);
  border: 1px solid var(--line); overflow: hidden; isolation: isolate; min-height: 360px;
  display: flex; flex-direction: column; transition: transform .7s var(--ease), border-color .4s, box-shadow .7s var(--ease);
}
.service::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(147,187,127,.2), transparent 60%); opacity: 0; transition: opacity .5s; }
.service:hover { transform: translateY(-6px); border-color: rgba(95,134,118,.4); box-shadow: 0 30px 60px -34px rgba(24,48,41,.35); }
.service:hover::before { opacity: 1; }
.service__num { font-family: var(--ff-display); font-size: 15px; color: var(--sage); font-style: italic; }
.service__icon { width: 64px; height: 64px; margin: 26px 0 30px; color: var(--pine); }
.service__icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font-size: clamp(26px, 2.3vw, 34px); margin-bottom: 14px; }
.service p { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 18px; }
.service ul { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 7px; }
.service li { font-size: 12.5px; padding: 5px 11px; border-radius: 999px; background: var(--mist); color: var(--pine); }
.service--feature { grid-column: span 2; background: var(--forest); color: var(--cream); border-color: transparent; }
.service--feature p { color: rgba(245,241,232,.72); }
.service--feature .service__icon { color: var(--leaf); }
.service--feature .service__num { color: var(--gold-soft); }
.service--feature h3 { font-size: clamp(32px, 3.4vw, 50px); max-width: 16ch; }
.service--feature li { background: rgba(245,241,232,.08); color: var(--cream); }
.service--feature .service__bg { position: absolute; inset: 0; z-index: -2; background: url("../img/texture-paper.webp") center/cover; opacity: .18; mix-blend-mode: luminosity; }
.techniques { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.techniques span:first-child { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--sage); margin-right: 8px; font-weight: 600; }
.tag { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; transition: background .3s, color .3s, border-color .3s; }
.tag:hover { background: var(--forest); color: var(--cream); border-color: var(--forest); }

/* Process (sticky) */
.process { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 110px); }
.process__sticky { position: sticky; top: 120px; align-self: start; }
.process__progress { margin-top: 44px; height: 2px; background: var(--line-light); border-radius: 2px; overflow: hidden; max-width: 340px; }
.process__progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--leaf), var(--gold)); transition: width .2s linear; }
.process__count { margin-top: 16px; font-family: var(--ff-display); font-size: 20px; font-style: italic; color: var(--gold-soft); }
.steps { display: grid; gap: 22px; }
.step { padding: clamp(28px, 3.2vw, 44px); border-radius: var(--radius-lg); border: 1px solid var(--line-light); background: rgba(245,241,232,.03); transition: background .6s, border-color .6s, transform .6s var(--ease); }
.step.is-active { background: rgba(245,241,232,.08); border-color: rgba(217,196,156,.4); }
.step__top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.step__n { font-family: var(--ff-display); font-size: clamp(54px, 6vw, 88px); line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--gold-soft); }
.step h3 { font-size: clamp(26px, 2.4vw, 34px); }
.step p { color: rgba(245,241,232,.72); margin: 0; }
.step__meta { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--leaf); }

/* Spotlight (reformer) */
.spotlight { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.spotlight__visual { position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; background: var(--forest); isolation: isolate; }
.spotlight__visual .tex { position: absolute; inset: -10%; background: url("../img/hero-paper.webp") center/cover; opacity: .55; mix-blend-mode: luminosity; will-change: transform; }
.spotlight__visual svg.reformer { position: absolute; left: 6%; right: 6%; bottom: 14%; width: 88%; color: var(--cream); }
.spotlight__badge { position: absolute; top: 24px; left: 24px; right: 24px; display: flex; justify-content: space-between; color: var(--cream); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.spotlight__quote { position: absolute; left: 28px; right: 28px; top: 16%; color: var(--cream); font-family: var(--ff-display); font-style: italic; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.15; }
.spotlight__quote small { display: block; margin-top: 12px; font-family: var(--ff-body); font-style: normal; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); }
.checklist { list-style: none; padding: 0; margin: 30px 0 36px; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.checklist li::before { content: ""; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d5046' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: clamp(64px, 8vw, 110px); }
.stat { padding: 34px 20px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat__v { font-family: var(--ff-display); font-size: clamp(48px, 5.4vw, 84px); line-height: 1; letter-spacing: -.02em; }
.stat__v sup { font-size: .4em; color: var(--sage); vertical-align: super; margin-left: 4px; }
.stat__l { margin-top: 10px; font-size: 14px; color: var(--ink-soft); }

/* About */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.about__card { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; background: var(--forest); box-shadow: 0 40px 80px -40px rgba(24,48,41,.5); }
.about__card img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; }
.about__sign { position: absolute; left: 24px; right: 24px; bottom: 22px; padding: 18px 20px; border-radius: 18px; background: rgba(24,48,41,.72); backdrop-filter: blur(10px); color: var(--cream); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.about__sign b { display: block; font-family: var(--ff-display); font-size: 24px; font-weight: 500; }
.about__sign span { font-size: 12.5px; opacity: .75; }
.about__sign .script { font-family: var(--ff-script); font-size: 34px; color: var(--gold-soft); line-height: 1; }
.timeline { list-style: none; padding: 0; margin: 40px 0 0; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding: 0 0 28px 30px; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--sage); }
.timeline b { display: block; font-family: var(--ff-display); font-size: 22px; font-weight: 600; }
.timeline span { color: var(--ink-soft); font-size: 15px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.value { padding: 20px; border-radius: 18px; background: var(--cream); }
.value b { display: block; font-family: var(--ff-display); font-size: 21px; margin-bottom: 4px; }
.value span { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; display: block; }

/* Reviews */
.reviews-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 56px; }
.gsummary { display: flex; align-items: center; gap: 22px; padding: 20px 26px; border-radius: 22px; background: rgba(245,241,232,.06); border: 1px solid var(--line-light); }
.gsummary__score { font-family: var(--ff-display); font-size: 64px; line-height: .9; }
.gsummary small { display: block; opacity: .7; font-size: 13px; margin-top: 4px; }
.gsummary .stars svg { width: 18px; height: 18px; }
.reviews-rows { display: grid; gap: 18px; overflow: hidden; padding-block: 4px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.reviews-row { display: flex; gap: 18px; width: max-content; animation: marquee 90s linear infinite; }
.reviews-row--rev { animation-direction: reverse; animation-duration: 110s; }
.reviews-rows:hover .reviews-row { animation-play-state: paused; }
.review { width: min(84vw, 400px); flex: none; padding: 26px; border-radius: 24px; background: var(--cream); color: var(--ink); display: flex; flex-direction: column; gap: 14px; }
.review__head { display: flex; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--cream); background: var(--sage); flex: none; font-size: 16px; }
.review__who b { display: block; font-size: 15px; line-height: 1.3; }
.review__who span { font-size: 12.5px; color: var(--ink-soft); }
.review__g { margin-left: auto; width: 20px; flex: none; }
.review p { margin: 0; font-size: 15px; line-height: 1.65; color: #2b3a33; }
.reviews-foot { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 48px; }
.reviews-note { text-align: center; font-size: 12.5px; opacity: .55; margin-top: 18px; }

/* Articles */
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); border: 1px solid var(--line); transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.article-card:hover { transform: translateY(-8px); box-shadow: 0 34px 70px -40px rgba(24,48,41,.45); }
.article-card__media { position: relative; aspect-ratio: 16/11; background: var(--forest); overflow: hidden; }
.article-card__media .tex { position: absolute; inset: 0; background: url("../img/texture-paper.webp") center/cover; opacity: .6; mix-blend-mode: luminosity; transition: transform 1.2s var(--ease); }
.article-card:hover .tex { transform: scale(1.08); }
.article-card__media svg { position: absolute; inset: 18% 22%; width: 56%; height: 64%; color: var(--cream); stroke: currentColor; fill: none; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.article-card__cat { position: absolute; top: 18px; left: 18px; padding: 6px 12px; border-radius: 999px; background: rgba(245,241,232,.14); backdrop-filter: blur(6px); color: var(--cream); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; }
.article-card__body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.article-card h3 { font-size: 27px; line-height: 1.12; }
.article-card p { color: var(--ink-soft); font-size: 15px; margin: 0; }
.article-card .meta { margin-top: auto; padding-top: 12px; font-size: 12.5px; color: var(--sage); display: flex; justify-content: space-between; }
.article-card a::after { content: ""; position: absolute; inset: 0; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 100px); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-family: var(--ff-display); font-size: clamp(21px, 1.8vw, 26px); font-weight: 500; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 38px; height: 38px; flex: none; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: background .4s, transform .6s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 12px; right: 12px; top: 18px; height: 1.5px; background: var(--ink); transition: transform .6s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { background: var(--forest); transform: rotate(180deg); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: var(--cream); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq__a { overflow: hidden; }
.faq__a p { padding: 0 60px 26px 0; margin: 0; color: var(--ink-soft); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact__card { padding: clamp(30px, 4vw, 54px); border-radius: var(--radius-lg); background: rgba(245,241,232,.05); border: 1px solid var(--line-light); }
.contact__list { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 22px; }
.contact__list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.contact__list .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(245,241,232,.08); color: var(--leaf); }
.contact__list .ic svg { width: 20px; }
.contact__list small { display: block; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 2px; }
.contact__list a:hover { color: var(--leaf); }
.hours { width: 100%; border-collapse: collapse; font-size: 14.5px; margin-top: 4px; }
.hours td { padding: 3px 0; }
.hours td:last-child { text-align: right; opacity: .8; }
.hours tr.is-today td { color: var(--leaf); font-weight: 600; opacity: 1; }
.map { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 460px; background: var(--forest-2); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }
.map__placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 30px; background: url("../img/texture-paper.webp") center/cover; }
.map__placeholder::before { content: ""; position: absolute; inset: 0; background: rgba(24,48,41,.72); }
.map__placeholder > div { position: relative; display: grid; gap: 16px; justify-items: center; }
.map__pin { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--forest); animation: bob 2.6s var(--ease-io) infinite; }
.map__pin svg { width: 26px; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(46px, 7vw, 96px); background: var(--sage); color: var(--cream); display: grid; grid-template-columns: 1.3fr .7fr; gap: 30px; align-items: center; isolation: isolate; margin-top: 20px; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/texture-paper.webp") center/cover; opacity: .35; mix-blend-mode: multiply; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* Footer */
.footer { background: var(--ink); color: rgba(245,241,232,.78); padding: clamp(70px, 9vw, 120px) 0 36px; font-size: 14.5px; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { font-family: var(--ff-body); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 18px; font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--cream); }
.footer__big { font-family: var(--ff-script); font-size: clamp(90px, 19vw, 300px); line-height: .9; color: rgba(245,241,232,.06); text-align: center; margin: 50px 0 10px; white-space: nowrap; user-select: none; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line-light); font-size: 13px; }
.footer__bottom a { text-decoration: underline; text-underline-offset: 3px; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; transition: background .3s, color .3s; }
.social a:hover { background: var(--cream); color: var(--forest); }
.social svg { width: 18px; }


/* Cookie consent */
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 95; width: min(420px, calc(100vw - 32px)); padding: 22px; border-radius: 20px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0,0,0,.35); border: 1px solid var(--line); font-size: 14px; display: none; }
.consent.is-visible { display: block; animation: fadeUp .8s var(--ease); }
.consent p { margin-bottom: 14px; color: var(--ink-soft); }
.consent a { text-decoration: underline; }
.consent__actions { display: flex; gap: 8px; }

/* Custom cursor (desktop) */
.cursor { position: fixed; top: 0; left: 0; z-index: 150; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--gold); pointer-events: none; mix-blend-mode: difference; transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), opacity .3s; opacity: 0; }
.cursor.is-hover { width: 54px; height: 54px; margin: -27px 0 0 -27px; background: var(--cream); }
@media (hover: hover) and (pointer: fine) { .has-cursor .cursor { opacity: 1; } }

/* ---------- Article pages ---------- */
.page-hero { background: var(--forest); color: var(--cream); padding: 170px 0 clamp(60px, 8vw, 110px); position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/texture-paper.webp") center/cover; opacity: .28; mix-blend-mode: luminosity; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; opacity: .7; margin-bottom: 30px; }
.crumbs a:hover { text-decoration: underline; }
.page-hero h1 { font-size: clamp(40px, 6vw, 88px); max-width: 16ch; letter-spacing: -.02em; }
.page-hero .lead { margin-top: 26px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 36px; font-size: 13.5px; opacity: .8; }
.article-meta b { color: var(--gold-soft); font-weight: 600; }
.prose-wrap { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: clamp(30px, 6vw, 90px); justify-content: center; }
.toc { position: sticky; top: 110px; align-self: start; font-size: 14px; }
.toc b { display: block; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--sage); margin-bottom: 14px; }
.toc ol { padding: 0; margin: 0; list-style: none; display: grid; gap: 10px; border-left: 1px solid var(--line); }
.toc a { display: block; padding-left: 16px; color: var(--ink-soft); margin-left: -1px; border-left: 1px solid transparent; transition: color .3s, border-color .3s; }
.toc a.is-active, .toc a:hover { color: var(--ink); border-color: var(--gold); }
.prose { font-size: clamp(16.5px, 1.15vw, 18.5px); line-height: 1.8; }
.prose h2 { font-size: clamp(30px, 3vw, 42px); margin: 2em 0 .6em; scroll-margin-top: 110px; }
.prose h3 { font-size: clamp(23px, 2vw, 28px); margin: 1.6em 0 .5em; }
.prose p, .prose li { color: #2e3d36; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--sage); }
.prose .tldr { padding: 26px 30px; border-radius: 20px; background: var(--cream); border: 1px solid var(--line); margin-bottom: 2em; }
.prose .tldr b { display: block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--sage); margin-bottom: 8px; }
.prose .tldr p { margin: 0; }
.prose blockquote { margin: 2em 0; padding: 4px 0 4px 26px; border-left: 2px solid var(--gold); font-family: var(--ff-display); font-size: 1.45em; font-style: italic; line-height: 1.35; color: var(--pine); }
.prose .note { font-size: 14.5px; padding: 18px 22px; border-radius: 14px; background: var(--mist); color: var(--pine); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 1.5em 0; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); }
.prose .refs { font-size: 14px; color: var(--ink-soft); }
.author-box { display: grid; grid-template-columns: 72px 1fr; gap: 20px; align-items: center; margin-top: 3em; padding: 26px; border-radius: 22px; background: var(--forest); color: var(--cream); }
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.author-box b { font-family: var(--ff-display); font-size: 22px; font-weight: 500; }
.author-box p { margin: 4px 0 0; font-size: 14px; color: rgba(245,241,232,.72) !important; }
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 100; background: linear-gradient(90deg, var(--leaf), var(--gold)); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .service--feature { grid-column: span 2; }
  .articles { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .prose-wrap { grid-template-columns: 1fr; }
  .toc { display: none; }
}
@media (max-width: 900px) {
  .menu-toggle { display: block; z-index: 2; }
  .nav { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 22px; background: var(--forest); clip-path: circle(0 at calc(100% - 44px) 44px); transition: clip-path .9s var(--ease-io); }
  .nav a:not(.btn) { font-family: var(--ff-display); font-size: 36px; opacity: 1; }
  .menu-open .nav { clip-path: circle(150% at calc(100% - 44px) 44px); }
  .menu-open { overflow: hidden; }
  .menu-open .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; box-shadow: none; }
  .nav .btn { margin-top: 12px; }
  .hero__grid, .section-head, .process, .spotlight, .about, .faq-wrap, .contact, .cta-band, .manifesto__grid { grid-template-columns: 1fr; }
  .hero__side { justify-items: start; grid-template-columns: auto 1fr; align-items: end; }
  .spine-wrap { width: 120px; }
  .spine-caption { display: none; }
  .process__sticky { position: static; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat { padding-bottom: 24px; }
  .cta-band .actions { justify-content: flex-start; }
  .spotlight__visual { aspect-ratio: 5/4; }
}
@media (max-width: 640px) {
  .services, .articles { grid-template-columns: 1fr; }
  .service--feature { grid-column: auto; }
  .service { min-height: 0; }
  .values { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .brand__sub { display: none; }
  .hero { padding-top: 120px; }
  .hero__side { grid-template-columns: 1fr; }
  .spine-wrap { display: none; }
  .faq__a p { padding-right: 0; }
  .gsummary { width: 100%; }
  .map { min-height: 360px; }
  .hero__scroll { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal], .split .line > span { opacity: 1 !important; transform: none !important; }
  .manifesto__text .w { color: var(--ink); }
}

/* ==========================================================================
   v2 — Photography
   ========================================================================== */
.service { min-height: 0; }
.service__media { margin: 20px 0 26px; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist); }
.service__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.4s var(--ease); }
.service:hover .service__media img { transform: scale(1.07); }
.service--feature { display: grid; grid-template-columns: 1fr 1.05fr; column-gap: clamp(28px, 4vw, 56px); align-items: start; }
.service--feature > * { grid-column: 1; }
.service--feature .service__media { grid-column: 2; grid-row: 1 / span 5; margin: 0; aspect-ratio: auto; height: 100%; min-height: 380px; }
.service--feature .service__num { margin-bottom: 24px; }
.service--feature ul { margin-top: 8px; }

.spotlight__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.spotlight__visual:hover .spotlight__img { transform: scale(1.04); }
.spotlight__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,32,25,.62) 0%, rgba(20,32,25,.12) 42%, rgba(20,32,25,0) 60%, rgba(20,32,25,.35) 100%); }
.spotlight__badge, .spotlight__quote { z-index: 1; }
.spotlight__quote { top: 64px; }
.spotlight__note { position: absolute; right: 18px; bottom: 16px; z-index: 1; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(245,241,232,.7); }

.article-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.article-card:hover .article-card__media img { transform: scale(1.06); }
.article-card__cat { z-index: 1; background: rgba(24,48,41,.55); }

@media (max-width: 900px) {
  .service--feature { grid-template-columns: 1fr; }
  .service--feature .service__media { grid-column: 1; grid-row: auto; min-height: 0; height: auto; width: 100%; aspect-ratio: 3 / 2; margin: 20px 0 26px; }
  .service--feature > * { min-width: 0; }
}

/* ---------- Techniques explorer ---------- */
.techniques-block { margin-top: clamp(48px, 6vw, 80px); }
.techniques-block .eyebrow { margin-bottom: 20px; }
.tech-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.tech-tab { padding: 11px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; background: transparent; transition: background .35s, color .35s, border-color .35s, transform .35s var(--ease); }
.tech-tab:hover { border-color: var(--sage); transform: translateY(-2px); }
.tech-tab[aria-selected="true"] { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.tech-panels { margin-top: 22px; position: relative; }
.tech-panel { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 4vw, 60px); padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); scroll-margin-top: 110px; }
.tech-panel[hidden] { display: none; }
.tech-panel.is-entering { animation: techIn .7s var(--ease); }
@keyframes techIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.tech-panel h3 { font-size: clamp(28px, 2.8vw, 40px); margin-bottom: 14px; }
.tech-panel p { color: var(--ink-soft); }
.tech-panel__side { padding-left: clamp(0px, 3vw, 40px); border-left: 1px solid var(--line); }
.tech-panel__side b { display: block; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--sage); margin-bottom: 12px; }
.tech-panel__side ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 9px; }
.tech-panel__side li { padding-left: 20px; position: relative; font-size: 15px; }
.tech-panel__side li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: var(--gold); }
.tech-panel__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
@media (max-width: 900px) {
  .tech-panel { grid-template-columns: 1fr; }
  .tech-panel__side { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 22px; }
}
.service--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.1fr; column-gap: clamp(28px, 4vw, 56px); }
.service--wide > * { grid-column: 1; min-width: 0; }
.service--wide .service__media { grid-column: 2; grid-row: 1 / span 5; margin: 0; aspect-ratio: 16 / 9; }
@media (max-width: 640px) {
  .service--wide { grid-template-columns: 1fr; }
  .service--wide .service__media { grid-column: 1; grid-row: auto; aspect-ratio: 4 / 3; margin: 20px 0 26px; }
}

/* ---------- Anatomy lens (hover reveals skeleton & muscles) ---------- */
@property --r { syntax: "<length>"; inherits: true; initial-value: 0px; }
[data-xray] { position: relative; cursor: none; isolation: isolate; }
[data-xray] .xray {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; z-index: 1;
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--x, 50%) var(--y, 50%), #000 96%, transparent 100%);
          mask-image: radial-gradient(circle var(--r) at var(--x, 50%) var(--y, 50%), #000 96%, transparent 100%);
}
[data-xray] { --r: 0px; transition: --r .6s var(--ease); }
[data-xray].is-lens { --r: clamp(80px, 11vw, 130px); }
[data-xray].is-full { --r: 2000px; transition: --r 1.4s var(--ease-io); }
.xray-ring {
  position: absolute; z-index: 2; left: var(--x, 50%); top: var(--y, 50%); width: calc(var(--r) * 2); height: calc(var(--r) * 2);
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 1px rgba(245,241,232,.85), 0 0 0 7px rgba(245,241,232,.12), 0 20px 50px -10px rgba(0,0,0,.45);
  opacity: 0; transition: opacity .4s;
}
[data-xray].is-lens .xray-ring { opacity: 1; }
.xray-ring::after { content: "Anatomi"; position: absolute; left: 50%; bottom: -30px; transform: translateX(-50%); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--cream); background: rgba(24,48,41,.8); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.xray-toggle {
  position: absolute; z-index: 3; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .04em;
  background: rgba(24,48,41,.72); color: var(--cream); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(245,241,232,.22); cursor: pointer; transition: background .3s;
}
.xray-toggle:hover, .is-full .xray-toggle { background: var(--cream); color: var(--forest); }
.xray-toggle svg { width: 18px; height: 18px; }
.xray-hint { position: absolute; z-index: 3; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; font-size: 11px; letter-spacing: .08em; background: rgba(24,48,41,.6); color: var(--cream); backdrop-filter: blur(6px); pointer-events: none; transition: opacity .4s; }
.is-lens .xray-hint, .is-full .xray-hint { opacity: 0; }
@media (hover: none) { .xray-hint { display: none; } [data-xray] { cursor: auto; } }
.has-cursor .cursor.is-hidden { opacity: 0; }


/* ==========================================================================
   v3 — Action bar (WhatsApp + Ara)
   ========================================================================== */
.action-bar {
  position: fixed; right: 20px; bottom: 20px; z-index: 70; display: flex; align-items: stretch; gap: 8px;
  transform: translateY(calc(100% + 40px)); opacity: 0; transition: transform .8s var(--ease), opacity .5s;
}
.action-bar.is-visible { transform: none; opacity: 1; }
.menu-open .action-bar { transform: translateY(calc(100% + 40px)); opacity: 0; }
.action-bar__wa, .action-bar__call {
  display: flex; align-items: center; border-radius: 999px; box-shadow: 0 18px 40px -16px rgba(10,20,16,.55), 0 0 0 1px rgba(245,241,232,.12) inset;
  transition: transform .4s var(--ease), background .3s, color .3s;
}
.action-bar__wa { gap: 12px; padding: 7px 20px 7px 7px; background: var(--forest); color: var(--cream); }
.action-bar__wa:hover, .action-bar__call:hover { transform: translateY(-3px); }
.action-bar__icon { position: relative; width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; }
.action-bar__icon::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid rgba(37,211,102,.55); animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(.85); opacity: 1; } 80%, 100% { transform: scale(1.35); opacity: 0; } }
.action-bar__icon svg { width: 22px; height: 22px; }
.action-bar__txt { display: grid; line-height: 1.2; }
.action-bar__txt b { font-size: 14px; font-weight: 600; white-space: nowrap; }
.action-bar__txt small { display: flex; align-items: center; gap: 6px; font-size: 11.5px; opacity: .72; white-space: nowrap; }
.action-bar__txt small i { width: 6px; height: 6px; border-radius: 50%; background: var(--leaf); }
.action-bar__call { justify-content: center; gap: 8px; width: 56px; background: var(--cream); color: var(--forest); }
.action-bar__call svg { width: 20px; height: 20px; }
.action-bar__call span { display: none; }

@media (max-width: 640px) {
  .action-bar {
    left: 0; right: 0; bottom: 0; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(251,249,244,.9); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-top: 1px solid var(--line); box-shadow: 0 -12px 30px -18px rgba(10,20,16,.35);
  }
  .action-bar__wa { flex: 1; padding: 6px 16px 6px 6px; box-shadow: none; }
  .action-bar__icon { width: 40px; height: 40px; }
  .action-bar__call { width: auto; padding: 0 20px; background: transparent; color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); font-weight: 600; font-size: 14px; }
  .action-bar__call span { display: inline; }
  .action-bar__wa:hover, .action-bar__call:hover { transform: none; }
  body.has-action-bar .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .consent { bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* ==========================================================================
   v3 — Anatomy on touch devices: scroll scanner + press-and-hold lens
   ========================================================================== */
[data-xray].is-scan:not(.is-lens):not(.is-full) .xray {
  -webkit-mask-image: linear-gradient(90deg, transparent calc(var(--sx, -30%) - 17%), #000 calc(var(--sx, -30%) - 12%), #000 calc(var(--sx, -30%) + 12%), transparent calc(var(--sx, -30%) + 17%));
          mask-image: linear-gradient(90deg, transparent calc(var(--sx, -30%) - 17%), #000 calc(var(--sx, -30%) - 12%), #000 calc(var(--sx, -30%) + 12%), transparent calc(var(--sx, -30%) + 17%));
}
.xray-scan { position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--sx, -30%); width: 2px; margin-left: -1px; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: linear-gradient(180deg, transparent, rgba(217,196,156,.95) 20%, rgba(245,241,232,1) 50%, rgba(217,196,156,.95) 80%, transparent);
  box-shadow: 0 0 18px 4px rgba(147,187,127,.55); }
[data-xray].is-scan:not(.is-lens):not(.is-full) .xray-scan { opacity: 1; }
@media (hover: none) {
  .xray-hint { display: block; }
  .is-scan:not(.is-lens):not(.is-full) .xray-hint { opacity: 1; }
  [data-xray] { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
  .xray-ring::after { bottom: auto; top: -32px; }
}

/* Horizontal overflow guard — declared last so body never becomes its own scroll container */
@supports (overflow: clip) { html, body { overflow-x: clip; } }
