/* =====================================================================
   JUST PIANO SERVICES — design system
   Layout concept: dark cinematic photography alternating with warm ivory
   editorial sections; one serif voice, one sans for reading.
   ===================================================================== */
:root {
  /* Palette (from brief) */
  --piano-black: #101010;
  --charcoal: #1B1B1B;
  --ivory: #F8F6F1;
  --white: #FFFFFF;
  --gold: #C4A46A;
  --grey: #777777;

  /* Derived */
  --gold-deep: #A8884F;
  --gold-soft: rgba(196, 164, 106, .38);
  --ink: #1B1B1B;
  --ink-2: rgba(27, 27, 27, .74);
  --ink-3: rgba(27, 27, 27, .56);
  --rule: rgba(27, 27, 27, .12);
  --on-dark: #F8F6F1;
  --on-dark-2: rgba(248, 246, 241, .74);
  --on-dark-3: rgba(248, 246, 241, .52);
  --rule-dark: rgba(248, 246, 241, .14);

  /* Type */
  --serif: 'Cormorant Garamond', 'Cormorant', Garamond, 'Times New Roman', serif;
  --sans: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  --fs-display: clamp(2.85rem, 6.4vw, 6.1rem);
  --fs-h2: clamp(2.2rem, 4.2vw, 3.9rem);
  --fs-h3: clamp(1.6rem, 2.2vw, 2.05rem);
  --fs-lead: clamp(1.06rem, 1.25vw, 1.2rem);
  --fs-body: 1rem;
  --fs-small: .875rem;
  --fs-label: .72rem;

  /* Space & motion */
  --nav-h: 76px;
  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1280px;
  --section-y: clamp(88px, 11vw, 168px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.is-routing { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.04; letter-spacing: -.012em; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
[id] { scroll-margin-top: calc(var(--nav-h) + 76px); }
::selection { background: var(--gold); color: var(--piano-black); }
:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 4px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--gold); color: var(--piano-black); padding: 10px 16px; font-size: var(--fs-small); font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ------------------------------------------------------------ layout */
.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section-y); }
.bg-ivory { background: var(--ivory); color: var(--ink); }
.bg-white { background: var(--white); color: var(--ink); }
.bg-dark { background: var(--piano-black); color: var(--on-dark); }
.bg-charcoal { background: var(--charcoal); color: var(--on-dark); }

/* ------------------------------------------------------------ type */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-size: var(--fs-label); font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .8; }
.eyebrow--plain::before { display: none; }
.bg-ivory .eyebrow, .bg-white .eyebrow { color: var(--gold-deep); }
.h-display { font-size: var(--fs-display); font-weight: 400; line-height: 1.0; letter-spacing: -.018em; }
.h-display em, .h2 em { font-style: italic; font-weight: 400; color: var(--gold); }
.bg-ivory .h2 em, .bg-white .h2 em { color: var(--gold-deep); }
.h2 { font-size: var(--fs-h2); font-weight: 400; }
.h3 { font-size: var(--fs-h3); font-weight: 500; }
.lead { font-size: var(--fs-lead); line-height: 1.7; color: var(--ink-2); max-width: 60ch; }
.bg-dark .lead, .bg-charcoal .lead, .hero .lead, .page-hero .lead, .cta-band .lead, .book .lead { color: var(--on-dark-2); }
.prose p + p { margin-top: 1.1em; }
.prose { color: var(--ink-2); max-width: 62ch; }
.bg-dark .prose, .bg-charcoal .prose { color: var(--on-dark-2); }
.muted { color: var(--grey); }

/* Line-by-line reveals: each line clips its inner span */
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line > span { display: block; }

/* ------------------------------------------------------------ buttons */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 30px;
  font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid transparent; transition: color .5s var(--ease), border-color .5s var(--ease), background-color .5s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn .arrow { width: 18px; height: 10px; transition: transform .5s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--gold { background: var(--gold); color: var(--piano-black); }
.btn--gold::before { background: var(--ivory); }
.btn--ghost { border-color: rgba(248, 246, 241, .42); color: var(--ivory); }
.btn--ghost::before { background: var(--ivory); }
.btn--ghost:hover { color: var(--piano-black); border-color: var(--ivory); }
.btn--dark { background: var(--piano-black); color: var(--ivory); }
.btn--dark::before { background: var(--gold); }
.btn--dark:hover { color: var(--piano-black); }
.btn--line { border-color: rgba(27, 27, 27, .3); color: var(--ink); }
.btn--line::before { background: var(--piano-black); }
.btn--line:hover { color: var(--ivory); border-color: var(--piano-black); }
.btn--lg { min-height: 62px; padding: 0 38px; font-size: .82rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.text-link {
  display: inline-flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  padding-bottom: 6px; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size .6s var(--ease-out), color .4s;
}
.text-link:hover { background-size: 0 1px; background-position: right bottom; }
.text-link .arrow { width: 18px; height: 10px; transition: transform .5s var(--ease-out); }
.text-link:hover .arrow { transform: translateX(5px); }

.gold-rule { display: block; height: 1px; width: 100%; background: var(--gold); transform-origin: left; }

/* ------------------------------------------------------------ navigation */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--ivory);
  transition: background-color .6s var(--ease), border-color .6s var(--ease), backdrop-filter .6s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(16, 16, 16, .72);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: rgba(196, 164, 106, .16);
}
.nav__inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand__mark { display: grid; grid-auto-flow: column; gap: 3px; height: 22px; align-items: start; }
.brand__mark i { display: block; width: 4px; height: 22px; border: 1px solid var(--gold); border-top: 0; }
.brand__mark i:nth-child(2) { height: 14px; background: var(--gold); border: 0; width: 3px; margin-inline: -1px; position: relative; z-index: 1; }
.brand__text { font-family: var(--serif); font-size: 1.08rem; font-weight: 600; letter-spacing: .2em; line-height: 1; white-space: nowrap; }
.nav__links { display: flex; align-items: center; gap: clamp(22px, 3vw, 44px); }
.nav__link {
  position: relative; font-size: .76rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; padding: 8px 0; white-space: nowrap;
  color: var(--on-dark-2); transition: color .4s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .55s var(--ease-out);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--ivory); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__cta { min-height: 44px; padding: 0 22px; font-size: .72rem; }
.nav__toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 1px; background: var(--ivory); transition: transform .5s var(--ease-out), top .5s var(--ease-out); }
.nav__toggle span:nth-child(1) { top: 18px; }
.nav__toggle span:nth-child(2) { top: 25px; }
.menu-open .nav__toggle span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.menu-open .nav__toggle span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--piano-black); color: var(--ivory);
  padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 32px) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  visibility: hidden; opacity: 0; transition: opacity .5s var(--ease), visibility 0s linear .5s;
}
.menu-open .mobile-menu { visibility: visible; opacity: 1; transition: opacity .5s var(--ease); }
.mobile-menu__links { display: grid; gap: 6px; }
.mobile-menu__links a {
  font-family: var(--serif); font-size: clamp(2.6rem, 11vw, 3.6rem); line-height: 1.15; display: flex; align-items: baseline; gap: 16px;
  transform: translateY(24px); opacity: 0; transition: transform .7s var(--ease-out), opacity .7s var(--ease-out);
}
.mobile-menu__links a small { font-family: var(--sans); font-size: .7rem; letter-spacing: .2em; color: var(--gold); }
.mobile-menu__links a[aria-current="page"] { color: var(--gold); }
.menu-open .mobile-menu__links a { transform: none; opacity: 1; }
.menu-open .mobile-menu__links a:nth-child(2) { transition-delay: .06s; }
.menu-open .mobile-menu__links a:nth-child(3) { transition-delay: .12s; }
.menu-open .mobile-menu__links a:nth-child(4) { transition-delay: .18s; }
.mobile-menu__foot { display: grid; gap: 14px; }
.mobile-menu__foot .btn { width: 100%; }
.mobile-menu__foot p { color: var(--on-dark-3); font-size: var(--fs-small); }

/* ------------------------------------------------------------ loader & page curtain */
.curtain {
  position: fixed; inset: 0; z-index: 200; background: var(--piano-black);
  display: grid; place-items: center; pointer-events: none; opacity: 0; visibility: hidden;
}
.curtain.is-on { opacity: 1; visibility: visible; pointer-events: auto; }
.curtain__inner { display: grid; justify-items: center; gap: 18px; }
.curtain__word { font-family: var(--serif); font-size: 1.05rem; letter-spacing: .32em; color: var(--ivory); opacity: .9; padding-left: .32em; }
.curtain__bar { width: 120px; height: 1px; background: rgba(196, 164, 106, .22); overflow: hidden; }
.curtain__bar i { display: block; height: 100%; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
html.js-intro .curtain { opacity: 1; visibility: visible; }

/* ------------------------------------------------------------ hero (home) */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(620px, 88vh); min-height: max(620px, 88svh);
  display: flex; align-items: flex-end;
  background: #0b0a09; color: var(--on-dark);
}
.hero__media { position: absolute; inset: -2%; z-index: -3; will-change: transform; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 72%; }
.hero__sweep {
  position: absolute; inset: 0; z-index: -2; pointer-events: none; mix-blend-mode: screen; opacity: 0;
  background: linear-gradient(104deg, transparent 0%, transparent 38%, rgba(214, 170, 96, .0) 42%, rgba(226, 186, 116, .34) 50%, rgba(214, 170, 96, 0) 58%, transparent 62%, transparent 100%);
  background-size: 260% 100%; background-position: 120% 0;
  -webkit-mask-image: linear-gradient(180deg, transparent 38%, #000 62%);
  mask-image: linear-gradient(180deg, transparent 38%, #000 62%);
}
.hero__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 10, 9, .94) 0%, rgba(10, 10, 9, .72) 34%, rgba(10, 10, 9, .18) 64%, rgba(10, 10, 9, 0) 80%),
    linear-gradient(180deg, rgba(10, 10, 9, .6) 0%, rgba(10, 10, 9, 0) 26%, rgba(10, 10, 9, 0) 62%, rgba(10, 10, 9, .55) 100%);
}
.hero__content { padding-top: calc(var(--nav-h) + 72px); padding-bottom: clamp(120px, 16vh, 180px); width: 100%; }
.hero__copy { max-width: 760px; display: grid; gap: 28px; justify-items: start; }
.hero h1 { color: var(--ivory); }
.hero .lead { max-width: 48ch; }
.scroll-cue {
  position: absolute; left: var(--gutter); bottom: 64px; display: flex; align-items: center; gap: 14px;
  font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--on-dark-3);
}
.scroll-cue__track { width: 1px; height: 46px; background: rgba(248, 246, 241, .2); overflow: hidden; position: relative; }
.scroll-cue__track i { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { top: -40%; } 60%, 100% { top: 100%; } }
.hero__meta { position: absolute; right: var(--gutter); bottom: 64px; text-align: right; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--on-dark-3); }
.hero__meta strong { display: block; color: var(--gold); font-weight: 600; }

/* Piano-key edge: the hero's dark drips into the ivory section as black keys */
.key-edge { position: relative; height: 46px; margin-top: -1px; background: var(--ivory); overflow: hidden; }
.key-edge svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.key-edge .wk { fill: none; stroke: rgba(27, 27, 27, .10); stroke-width: 1; }
.key-edge .bk { fill: var(--piano-black); transform-box: fill-box; transform-origin: top; }
.key-edge::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, var(--ivory) 100%); pointer-events: none; }

/* ------------------------------------------------------------ page heroes (about/services) */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; color: var(--on-dark); background: #0b0a09;
  min-height: max(440px, 56vh); display: flex; align-items: flex-end;
}
.page-hero--tall { min-height: max(520px, 72vh); }
.page-hero__media { position: absolute; inset: -6% 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10, 10, 9, .9) 0%, rgba(10, 10, 9, .6) 42%, rgba(10, 10, 9, .15) 80%),
              linear-gradient(180deg, rgba(10, 10, 9, .55) 0%, transparent 30%, transparent 55%, rgba(10, 10, 9, .7) 100%);
}
.page-hero__content { padding-top: calc(var(--nav-h) + 64px); padding-bottom: clamp(56px, 9vh, 96px); width: 100%; }
.page-hero__copy { max-width: 780px; display: grid; gap: 24px; justify-items: start; }
.page-hero .gold-rule { width: 88px; }
.page-hero .scroll-cue { bottom: 40px; left: auto; right: var(--gutter); }

/* ------------------------------------------------------------ section heads */
.sec-head { display: grid; gap: 22px; margin-bottom: clamp(48px, 6vw, 84px); }
.sec-head--split { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: end; gap: 40px 6vw; }
.sec-head--center { justify-items: center; text-align: center; }
.sec-head--center .lead { margin-inline: auto; }

/* ------------------------------------------------------------ service cards (home) */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 36px); }
.card { display: grid; gap: 22px; align-content: start; transition: opacity .6s var(--ease); }
.cards:hover .card:not(:hover) { opacity: .55; }
.card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--charcoal); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.4s var(--ease-out), filter 1s var(--ease); filter: saturate(.92); }
.card:hover .card__media img { transform: scale(1.075); filter: saturate(1.04); }
.card__media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(196, 164, 106, 0); transition: box-shadow .7s var(--ease); }
.card:hover .card__media::after { box-shadow: inset 0 0 0 1px rgba(196, 164, 106, .55); }
.card__index { position: absolute; top: 18px; left: 20px; font-family: var(--serif); font-style: italic; color: var(--ivory); font-size: 1.1rem; opacity: .85; }
.card__body { display: grid; gap: 14px; }
.card__title { font-size: clamp(1.7rem, 2.3vw, 2.1rem); font-weight: 500; }
.card__rule { height: 1px; width: 100%; background: var(--rule); position: relative; overflow: hidden; }
.card__rule::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(.18); transform-origin: left; transition: transform .9s var(--ease-out); }
.card:hover .card__rule::after { transform: scaleX(1); }
.card__text { color: var(--ink-2); font-size: .97rem; max-width: 40ch; }
.card__more { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); display: inline-flex; gap: 10px; align-items: center; }
.card__more .arrow { width: 16px; height: 9px; transition: transform .5s var(--ease-out); }
.card:hover .card__more .arrow { transform: translateX(5px); }
.cards-foot { margin-top: clamp(40px, 5vw, 64px); display: flex; justify-content: center; }

/* ------------------------------------------------------------ why (home) */
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 640px; }
.why__visual { position: relative; overflow: hidden; background: #0b0a09; color: var(--on-dark); display: flex; align-items: flex-end; isolation: isolate; }
.why__visual img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; z-index: -2; opacity: .62; }
.why__visual::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 10, 9, .25), rgba(10, 10, 9, .82)); }
.why__stat { padding: clamp(40px, 6vw, 88px) var(--gutter); width: 100%; }
.why__num { font-family: var(--serif); font-weight: 300; font-size: clamp(7rem, 15vw, 13.5rem); line-height: .82; letter-spacing: -.03em; color: var(--ivory); display: block; }
.why__num sup { font-size: .42em; vertical-align: top; position: relative; top: .12em; color: var(--gold); font-weight: 400; margin-left: .04em; }
.why__stat .gold-rule { width: min(320px, 70%); margin: 28px 0 18px; }
.why__label { font-size: .76rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--on-dark-2); max-width: 26ch; }
.why__copy { background: var(--white); padding: var(--section-y) var(--gutter); display: grid; align-content: center; gap: 28px; }
.why__copy > * { max-width: 560px; }
.reasons { display: grid; margin-top: 12px; border-top: 1px solid var(--rule); }
.reason { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 18px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.reason__n { font-family: var(--serif); font-style: italic; color: var(--gold-deep); font-size: 1.15rem; line-height: 1.5; }
.reason h3 { font-size: 1.5rem; font-weight: 500; }
.reason p { grid-column: 2; color: var(--ink-2); font-size: .97rem; }

/* ------------------------------------------------------------ CTA band */
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: #0b0a09; color: var(--on-dark); padding-block: clamp(110px, 15vw, 210px); }
.cta-band__media { position: absolute; inset: -10% 0; z-index: -2; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 30% 50%, rgba(10, 10, 9, .78) 0%, rgba(10, 10, 9, .9) 70%); }
.cta-band__inner { display: grid; gap: 28px; justify-items: start; max-width: 820px; }
.cta-band .lead { max-width: 52ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 34px; margin-top: 10px; }
.phone-link { display: inline-flex; flex-direction: column; gap: 2px; }
.phone-link small { font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--on-dark-3); }
.phone-link span { font-family: var(--serif); font-size: 1.7rem; color: var(--ivory); transition: color .4s; font-variant-numeric: lining-nums; }
.phone-link:hover span { color: var(--gold); }
.btn--wa { gap: 14px; }
.btn--wa .wa-ico { width: 18px; height: 18px; }
.btn--glow { box-shadow: 0 0 0 0 rgba(196, 164, 106, .0); transition: box-shadow .8s var(--ease), color .5s var(--ease), background-color .5s var(--ease); }
.btn--glow:hover { box-shadow: 0 18px 50px -12px rgba(196, 164, 106, .55); }

/* ------------------------------------------------------------ about: story */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.story__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--charcoal); }
.story__media img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
/* real photo: the frame takes the photo's portrait shape and shows all of it (no parallax overscan) */
.story__media.story__media--photo { aspect-ratio: 3 / 4; width: min(100%, calc(80vh * .75)); justify-self: center; }
.story__media--photo img { inset: 0; height: 100%; }
.media-note { position: absolute; left: 16px; bottom: 14px; font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(248, 246, 241, .62); }
.story__copy { display: grid; gap: 28px; }
.story__copy .h2 .line:nth-child(2) > span { color: var(--gold-deep); font-style: italic; }
.highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 12px; padding-top: 30px; border-top: 1px solid var(--rule); }
.highlight strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.3rem, 3.6vw, 3.2rem); line-height: 1; color: var(--ink); }
.highlight span { display: block; margin-top: 10px; font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }

/* ------------------------------------------------------------ about: philosophy */
.philosophy { position: relative; isolation: isolate; overflow: hidden; }
.philosophy__bg { position: absolute; inset: -8% 0; z-index: -2; }
.philosophy__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.philosophy::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16, 16, 16, .92) 0%, rgba(16, 16, 16, .7) 45%, rgba(16, 16, 16, .94) 100%); }
.philosophy__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 6vw; align-items: start; margin-bottom: clamp(56px, 7vw, 100px); }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule-dark); border: 1px solid var(--rule-dark); }
.value {
  --mx: 50%; --my: 0%;
  position: relative; background: rgba(16, 16, 16, .82); padding: clamp(32px, 3.6vw, 52px); display: grid; gap: 18px; align-content: start;
  transition: background-color .7s var(--ease);
}
.value::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .7s var(--ease);
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(196, 164, 106, .14), transparent 60%);
}
.value:hover::before { opacity: 1; }
.value__icon { width: 54px; height: 54px; color: var(--gold); }
.value__icon path, .value__icon line, .value__icon circle, .value__icon rect { vector-effect: non-scaling-stroke; }
.value h3 { font-size: 2rem; font-weight: 400; color: var(--ivory); }
.value p { color: var(--on-dark-2); max-width: 32ch; }

/* ------------------------------------------------------------ about: craft sequence */
.craft { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.craft__aside { position: sticky; top: calc(var(--nav-h) + 48px); display: grid; gap: 28px; }
.craft__steps { display: grid; border-top: 1px solid var(--rule); margin-top: 8px; }
.craft__step { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); color: var(--ink-3); transition: color .5s var(--ease); }
.craft__step b { font-family: var(--serif); font-style: italic; font-weight: 400; }
.craft__step span { font-size: .76rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; align-self: center; }
.craft__step.is-active { color: var(--ink); }
.craft__step.is-active b { color: var(--gold-deep); }
.craft__frames { display: grid; gap: clamp(56px, 8vw, 120px); }
.frame { display: grid; gap: 16px; }
.frame:nth-child(2) { margin-left: clamp(0px, 8vw, 110px); }
.frame:nth-child(3) { margin-right: clamp(0px, 6vw, 80px); }
.frame__media { position: relative; overflow: hidden; background: var(--charcoal); aspect-ratio: 5 / 4; }
.frame:nth-child(2) .frame__media { aspect-ratio: 4 / 5; }
.frame__media img { width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 55%; }
.frame figcaption { display: flex; gap: 14px; align-items: baseline; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.frame figcaption b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.05rem; letter-spacing: 0; text-transform: none; color: var(--gold-deep); }

/* ------------------------------------------------------------ simple CTA (ivory) */
.cta-simple { text-align: center; display: grid; justify-items: center; gap: 26px; }
.cta-simple .lead { margin-inline: auto; }
.cta-simple .btn-row { justify-content: center; margin-top: 8px; }

/* ------------------------------------------------------------ services: intro + nav strip */
.svc-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 6vw; align-items: end; }
.svc-nav {
  position: sticky; top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); z-index: 50;
  background: rgba(248, 246, 241, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-block: 1px solid var(--rule);
}
.svc-nav__list { position: relative; display: flex; gap: clamp(18px, 3.4vw, 52px); overflow-x: auto; scrollbar-width: none; }
.svc-nav__list::-webkit-scrollbar { display: none; }
.svc-nav a { flex: none; display: inline-flex; gap: 10px; align-items: baseline; padding: 20px 0; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); transition: color .4s var(--ease); white-space: nowrap; }
.svc-nav a b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: .95rem; letter-spacing: 0; color: var(--gold-deep); }
.svc-nav a:hover, .svc-nav a.is-active { color: var(--ink); }
.svc-nav__ink { position: absolute; bottom: 0; left: 0; height: 2px; width: 0; background: var(--gold); transition: transform .6s var(--ease-out), width .6s var(--ease-out); }

/* ------------------------------------------------------------ services: service blocks */
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.svc--flip .svc__media { order: 2; }
.svc__media { position: relative; }
.svc__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--charcoal); }
.svc__frame img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; }
.svc__copy { display: grid; gap: 26px; align-content: start; padding-top: clamp(0px, 3vw, 40px); }
.svc__title { font-size: var(--fs-h2); font-weight: 400; display: grid; gap: 6px; }
.svc__num { font-family: var(--sans); font-size: .76rem; font-weight: 600; letter-spacing: .22em; color: var(--gold-deep); }
.svc__sub { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2vw, 1.85rem); line-height: 1.25; color: var(--ink-2); }
.bg-dark .svc__sub { color: var(--on-dark-2); }
.svc__rule { width: 100%; max-width: 560px; }
.info { display: grid; gap: 28px; margin-top: 6px; }
.info h3 { font-family: var(--sans); font-size: .76rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; line-height: 1.4; }
.bg-dark .info h3 { color: var(--ivory); }
.ticks li { position: relative; padding: 9px 0 9px 30px; border-bottom: 1px solid var(--rule); color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1.3em; width: 14px; height: 1px; background: var(--gold); }
.bg-dark .ticks li { border-color: var(--rule-dark); color: var(--on-dark-2); }
.note { padding: 22px 0 0; border-top: 1px solid var(--gold-soft); color: var(--ink-2); }
.note h3 { margin-bottom: 8px; }
.svc__cta { margin-top: 8px; }

/* string vibration motif */
.string-motif { width: 100%; max-width: 560px; height: 38px; color: var(--gold); display: block; }
.string-motif path { fill: none; stroke: currentColor; stroke-width: 1.2; }
.string-motif .pin { fill: currentColor; }

/* before / after */
.ba { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--charcoal); user-select: none; touch-action: pan-y; --pos: 50%; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__after { clip-path: inset(0 0 0 var(--pos)); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; background: rgba(248, 246, 241, .85); transform: translateX(-.5px); pointer-events: none; }
.ba__knob { position: absolute; top: 50%; left: 0; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; border: 1px solid rgba(248, 246, 241, .85); background: rgba(16, 16, 16, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: grid; place-items: center; }
.ba__knob svg { width: 20px; height: 10px; color: var(--ivory); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba__tag { position: absolute; top: 16px; font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ivory); background: rgba(16, 16, 16, .55); padding: 7px 10px; pointer-events: none; }
.ba__tag--l { left: 16px; }
.ba__tag--r { right: 16px; }
.caption { margin-top: 14px; font-size: .78rem; color: var(--ink-3); line-height: 1.55; }
.bg-dark .caption { color: var(--on-dark-3); }

/* repair issues grid */
.issues { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-top: clamp(56px, 7vw, 96px); }
.issue { position: relative; background: var(--white); padding: 34px 28px 38px; display: grid; gap: 14px; align-content: start; transition: background-color .6s var(--ease); }
.issue::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out); }
.issue:hover { background: var(--ivory); }
.issue:hover::after { transform: scaleX(1); }
.issue__n { font-family: var(--serif); font-style: italic; color: var(--gold-deep); font-size: 1.1rem; }
.issue h3 { font-size: 1.55rem; font-weight: 500; }
.issue p { color: var(--ink-2); font-size: .95rem; }
.issues-note { margin-top: 18px; font-size: .82rem; color: var(--ink-3); }
.repair-foot { margin-top: clamp(36px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }

/* regulation anatomy */
.reg { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.anatomy { position: relative; }
.anatomy__frame { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0b0a09; }
.anatomy__frame img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); }
.tag__dot { position: relative; display: block; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(196, 164, 106, .22); }
.tag__dot::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1px solid rgba(196, 164, 106, .5); animation: ping 2.8s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 70%, 100% { transform: scale(1.5); opacity: 0; } }
.tag__label {
  position: absolute; top: 50%; white-space: nowrap; display: flex; align-items: center; gap: 10px;
  font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ivory);
  transform: translateY(-50%);
}
.tag__label::before { content: ""; width: 34px; height: 1px; background: rgba(248, 246, 241, .7); }
.tag--r .tag__label { left: 14px; }
.tag--l .tag__label { right: 14px; flex-direction: row-reverse; }
.tag__label span { background: rgba(16, 16, 16, .62); padding: 6px 9px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tag__num { display: none; }
.anatomy__legend { display: none; }

/* assessment */
.assess { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.assess__media { position: relative; aspect-ratio: 5 / 6; overflow: hidden; background: var(--charcoal); }
.assess__media img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; }
.assess__copy { position: relative; display: grid; gap: 26px; }
.grand-line { position: absolute; right: -2%; top: -8%; width: min(320px, 60%); color: var(--gold); opacity: .55; pointer-events: none; z-index: 0; }
.grand-line path { fill: none; stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; }
.assess__copy > *:not(.grand-line) { position: relative; z-index: 1; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px 7vw; align-items: start; }
.faq__aside { display: grid; gap: 24px; position: sticky; top: calc(var(--nav-h) + 96px); }
.acc { border-top: 1px solid var(--rule); }
.acc__item { border-bottom: 1px solid var(--rule); }
.acc__q {
  width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 28px; gap: 24px; align-items: center; text-align: left;
  padding: 26px 0; font-family: var(--serif); font-size: clamp(1.35rem, 1.9vw, 1.7rem); font-weight: 500; line-height: 1.25; color: var(--ink);
  transition: color .4s var(--ease);
}
.acc__q:hover { color: var(--gold-deep); }
.acc__icon { position: relative; width: 28px; height: 28px; border: 1px solid var(--rule); border-radius: 50%; transition: border-color .4s, background-color .4s; }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1px; background: currentColor; transform: translate(-50%, -50%); transition: transform .5s var(--ease-out); }
.acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc__q[aria-expanded="true"] .acc__icon { border-color: var(--gold); background: var(--gold); }
.acc__q[aria-expanded="true"] .acc__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-out); }
.acc__a > div { overflow: hidden; }
.acc__a p { padding: 0 48px 28px 0; color: var(--ink-2); max-width: 62ch; }
.acc__q[aria-expanded="true"] + .acc__a { grid-template-rows: 1fr; }

/* Book section */
.book { position: relative; isolation: isolate; overflow: hidden; color: var(--on-dark); background: #0b0a09; padding-block: clamp(120px, 16vw, 220px); text-align: center; }
.book__media { position: absolute; inset: -10% 0; z-index: -2; }
.book__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; }
.book::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 50%, rgba(10, 10, 9, .72) 0%, rgba(10, 10, 9, .9) 75%); }
.book__inner { display: grid; justify-items: center; gap: 26px; max-width: 860px; margin-inline: auto; }
.book .lead { margin-inline: auto; }
.book .cta-band__actions { justify-content: center; }
.book__hours { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-3); }

/* ------------------------------------------------------------ footer */
.footer { position: relative; background: #0A0A0A; color: var(--on-dark); padding-top: clamp(80px, 9vw, 120px); padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px)); overflow: hidden; }
.footer__keys { position: absolute; top: 0; left: 0; right: 0; height: 64px; opacity: .5; pointer-events: none; }
.footer__keys svg { width: 100%; height: 100%; display: block; }
.footer__keys .wk { fill: none; stroke: rgba(248, 246, 241, .08); }
.footer__keys .bk { fill: rgba(248, 246, 241, .06); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1.1fr); gap: 48px 6vw; padding-bottom: 64px; }
.footer__brand .brand { margin-bottom: 22px; }
.footer__tag { font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.2; color: var(--on-dark-2); max-width: 22ch; }
.footer h4 { font-family: var(--sans); font-size: .7rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.footer__links { display: grid; gap: 12px; }
.footer__links a { position: relative; justify-self: start; color: var(--on-dark-2); transition: color .4s var(--ease), padding-left .5s var(--ease-out); }
.footer__links a::before { content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 1px; background: var(--gold); transition: width .5s var(--ease-out); }
.footer__links a:hover { color: var(--ivory); padding-left: 22px; }
.footer__links a:hover::before { width: 14px; }
.contact-list { display: grid; gap: 14px; }
.contact-list dt { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--on-dark-3); }
.contact-list dd { margin: 2px 0 0; color: var(--on-dark); overflow-wrap: anywhere; }
.contact-list a { transition: color .4s; }
.contact-list a:hover { color: var(--gold); }
.footer__divider { height: 1px; background: var(--rule-dark); position: relative; overflow: hidden; }
.footer__divider i { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); transform: translateX(-100%); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; padding-top: 26px; font-size: .78rem; color: var(--on-dark-3); }

/* ------------------------------------------------------------ floating WhatsApp */
.wa-float {
  position: fixed; z-index: 80; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--piano-black); color: var(--ivory); border: 1px solid rgba(196, 164, 106, .7);
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .6);
  transition: background-color .5s var(--ease), color .5s var(--ease), transform .5s var(--ease-out), opacity .6s var(--ease);
}
.wa-float svg { width: 22px; height: 22px; }
.wa-float:hover { background: var(--gold); color: var(--piano-black); transform: translateY(-3px); }
.wa-float__tip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(6px, -50%); white-space: nowrap;
  background: var(--piano-black); color: var(--ivory); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; padding: 8px 12px;
  opacity: 0; pointer-events: none; transition: opacity .4s, transform .4s var(--ease-out); border: 1px solid rgba(196, 164, 106, .4);
}
.wa-float:hover .wa-float__tip, .wa-float:focus-visible .wa-float__tip { opacity: 1; transform: translate(0, -50%); }
html.js-intro .wa-float { opacity: 0; }

/* ------------------------------------------------------------ image placeholders while loading */
.img-shell { background: linear-gradient(110deg, #141312 30%, #1d1b18 50%, #141312 70%); background-size: 300% 100%; animation: shimmer 2.2s linear infinite; }
.img-shell img { opacity: 0; transition: opacity .9s var(--ease); }
.img-shell.is-loaded { animation: none; background: var(--charcoal); }
.img-shell.is-loaded img { opacity: 1; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

/* ------------------------------------------------------------ JS-driven initial states (only when motion is allowed) */
html.anim [data-reveal] { opacity: 0; transform: translateY(26px); }
html.anim [data-mask] { clip-path: inset(0 0 100% 0); }
html.anim [data-mask="left"] { clip-path: inset(0 100% 0 0); }
html.anim [data-line] { transform: scaleX(0); }
html.anim .hero [data-hero], html.anim .page-hero [data-hero] { opacity: 0; }
/* The hero image is painted immediately (good for load-speed scores); a dark veil fades off it instead. */
.hero__veil, .page-hero__veil { position: absolute; inset: 0; z-index: -1; background: #0b0a09; opacity: 0; pointer-events: none; }
html.anim .hero__veil, html.anim .page-hero__veil { opacity: 1; }
html.anim .hero .line > span, html.anim .page-hero .line > span, html.anim .legal-hero .line > span { transform: translateY(105%); }
html.anim .tag { opacity: 0; }

/* ------------------------------------------------------------ SPA preview: page switching */
[data-page][hidden] { display: none !important; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .issues { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reg { grid-template-columns: minmax(0, 1fr); }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .faq__aside { position: static; }
}
@media (max-width: 900px) {
  :root { --nav-h: 68px; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .cards:hover .card:not(:hover) { opacity: 1; }
  .card__media { aspect-ratio: 5 / 4; }
  .sec-head--split, .svc-intro, .story, .philosophy__head, .craft, .svc, .assess { grid-template-columns: minmax(0, 1fr); }
  .svc--flip .svc__media { order: 0; }
  .why { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .why__visual { min-height: 420px; }
  .values { grid-template-columns: minmax(0, 1fr); }
  .craft__aside { position: static; }
  .frame:nth-child(2), .frame:nth-child(3) { margin: 0; }
  .story__media { aspect-ratio: 4 / 4.4; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero__meta { display: none; }
  .hero__media img { object-position: 70% 78%; }
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(10, 10, 9, .78) 0%, rgba(10, 10, 9, .55) 40%, rgba(10, 10, 9, .25) 62%, rgba(10, 10, 9, .8) 100%);
  }
  .scroll-cue { display: none; }
  .grand-line { width: 200px; top: -4%; opacity: .35; }
  /* anatomy: numbered dots + legend instead of floating labels */
  .tag__label { display: none; }
  .tag__dot { width: 22px; height: 22px; display: grid; place-items: center; }
  .tag__num { display: block; font-size: .66rem; font-weight: 700; color: var(--piano-black); }
  .tag__dot::after { inset: -6px; }
  .anatomy__legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; margin-top: 18px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); }
  .anatomy__legend li { display: flex; gap: 10px; align-items: center; }
  .anatomy__legend b { width: 20px; height: 20px; border-radius: 50%; background: var(--gold); color: var(--piano-black); display: grid; place-items: center; font-size: .62rem; flex: none; }
}
@media (max-width: 560px) {
  .btn { width: 100%; }
  .btn-row { width: 100%; }
  .hero__copy .btn-row .btn { width: 100%; }
  .highlights { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
  .issues { grid-template-columns: minmax(0, 1fr); }
  .acc__a p { padding-right: 0; }
  .cta-band__actions { width: 100%; }
  .footer__bottom { flex-direction: column; }
  .ba__knob { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .scroll-cue__track i { display: none; }
}

/* =====================================================================
   TESTIMONIALS PAGE
   ===================================================================== */
.page-hero--testimonials { min-height: max(500px, 64vh); }
.page-hero--testimonials .page-hero__media img { object-position: 72% 60%; }

/* ---------------- Google reviews */
.reviews { position: relative; z-index: 1; padding-block: var(--section-y); }
.reviews__summary {
  position: relative; z-index: 2;
  margin-top: calc(-1 * clamp(64px, 9vw, 120px));
  background: var(--white); border-radius: 18px;
  box-shadow: 0 40px 90px -50px rgba(16, 16, 16, .55), 0 1px 0 rgba(196, 164, 106, .25) inset;
  padding: clamp(28px, 4vw, 56px);
  display: grid; grid-template-columns: minmax(0, 1.2fr) auto auto; gap: 28px clamp(28px, 4vw, 64px); align-items: center;
}
.reviews__intro { display: grid; gap: 16px; }
.reviews__score { display: grid; justify-items: center; gap: 6px; padding-inline: clamp(0px, 2vw, 24px); border-inline: 1px solid var(--rule); }
.reviews__score[hidden] { display: none; }
.reviews__rating { font-family: var(--serif); font-size: clamp(3.2rem, 5vw, 4.4rem); font-weight: 400; line-height: .95; font-variant-numeric: lining-nums; }
.reviews__count { font-size: .82rem; color: var(--ink-2); }
.reviews__source { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }
.reviews__actions { display: grid; gap: 14px; justify-items: start; }
.reviews__fallback { max-width: 60ch; margin: clamp(40px, 5vw, 64px) auto 0; text-align: center; color: var(--ink-2); font-size: 1.02rem; }
.reviews__embed { margin-top: clamp(40px, 5vw, 64px); background: var(--white); border-radius: 18px; padding: clamp(16px, 3vw, 36px); box-shadow: 0 30px 70px -50px rgba(16, 16, 16, .45); overflow: hidden; }
.reviews__embed[hidden], .reviews__fallback[hidden], .rv[hidden] { display: none; }

.stars { position: relative; display: inline-block; line-height: 0; color: var(--gold); }
.stars svg { width: 15px; height: 15px; fill: currentColor; }
.stars--lg svg { width: 20px; height: 20px; }
.stars__base, .stars__row { display: inline-flex; gap: 2px; }
.stars__base { color: rgba(196, 164, 106, .25); }
.stars__fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; }

.rv { margin-top: clamp(40px, 5vw, 64px); }
.rv__track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 4px;
  padding: 6px 4px 30px; margin-inline: -4px; scrollbar-width: none; overscroll-behavior-x: contain;
}
.rv__track::-webkit-scrollbar { display: none; }
.rv__track:focus-visible { outline-offset: -2px; }
.rv-card {
  flex: 0 0 clamp(280px, calc((100% - 40px) / 3), 420px); scroll-snap-align: start;
  background: var(--white); border-radius: 16px; padding: 28px 28px 24px;
  border: 1px solid rgba(27, 27, 27, .06); box-shadow: 0 22px 48px -34px rgba(16, 16, 16, .4);
  display: grid; gap: 14px; align-content: start;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), border-color .6s;
}
.rv-card:hover { transform: translateY(-4px); box-shadow: 0 34px 60px -36px rgba(16, 16, 16, .45); border-color: rgba(196, 164, 106, .45); }
.rv-card__head { display: flex; gap: 14px; align-items: center; min-width: 0; }
.rv-card__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; background: var(--ivory); }
.rv-card__avatar--ini { display: grid; place-items: center; font-family: var(--serif); font-size: 1.2rem; color: var(--gold-deep); border: 1px solid var(--gold-soft); }
.rv-card__who { display: grid; min-width: 0; }
.rv-card__name { font-weight: 600; font-size: .95rem; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.rv-card__name:hover { color: var(--gold-deep); }
.rv-card__time { font-size: .78rem; color: var(--ink-3); }
.rv-card__text { color: var(--ink-2); font-size: .95rem; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.rv-card.is-open .rv-card__text { -webkit-line-clamp: unset; display: block; }
.rv-card__more { justify-self: start; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.rv-card__more[hidden] { display: none; }
.rv-card__src { margin-top: 4px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.rv__nav { display: flex; align-items: center; gap: 24px; }
.rv__nav.is-static .rv__btns, .rv__nav.is-static .rv__progress { visibility: hidden; }
.rv__progress { flex: 1; height: 1px; background: var(--rule); position: relative; overflow: hidden; }
.rv__progress i { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(.2); transition: transform .5s var(--ease-out); }
.rv__btns { display: flex; gap: 10px; }
.rv__btn {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(27, 27, 27, .22); color: var(--ink);
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), opacity .3s;
}
.rv__btn svg { width: 18px; height: 10px; }
.rv__btn:hover:not(:disabled) { background: var(--piano-black); color: var(--ivory); border-color: var(--piano-black); }
.rv__btn:disabled { opacity: .3; cursor: default; }
.rv__btn--light { border-color: rgba(248, 246, 241, .3); color: var(--ivory); }
.rv__btn--light:hover:not(:disabled) { background: var(--gold); color: var(--piano-black); border-color: var(--gold); }
.rv__credit { margin-top: 16px; font-size: .74rem; color: var(--ink-3); }

/* ---------------- Gallery */
.gallery { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.gallery__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 6vw; align-items: end; margin-bottom: clamp(44px, 6vw, 84px); }
.gx { position: relative; }
.gx__stage { position: relative; }
.gx__track { display: grid; gap: clamp(56px, 7vw, 110px); width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.gx-frame { margin: 0; display: grid; gap: 14px; }
.gx-frame__inner { position: relative; }
/* --ar = photo width/height, --fa = whole frame width/height, --c1/--c2 = pair column weights (keep both photos the same height) */
.gx-frame__inner { width: 100%; margin-inline: auto; }
.gx-frame--full .gx-frame__inner { max-width: min(100%, calc(74vh * var(--fa, 1.6))); }
.gx-frame--pair .gx-frame__inner { display: grid; grid-template-columns: minmax(0, var(--c1, 1fr)) minmax(0, var(--c2, 1fr)); gap: clamp(14px, 2vw, 28px); align-items: start; max-width: min(100%, calc(62vh * var(--fa, 1.6))); }
.gx-open { position: relative; display: block; width: 100%; overflow: hidden; background: #151413; border-radius: 4px; cursor: zoom-in; box-shadow: 0 34px 70px -38px rgba(0, 0, 0, .9); }
.gx-frame--full .gx-open { aspect-ratio: var(--ar, 1.6); }
.gx-frame--pair .gx-open { aspect-ratio: var(--ar, .8); }
.gx-open img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.gx-open:hover img { transform: scale(1.045); }
.gx-open::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(196, 164, 106, .16); border-radius: inherit; transition: border-color .6s var(--ease); pointer-events: none; } /* hairline gold frame, brightens on hover */
.gx-open:hover::after, .gx-open:focus-visible::after { border-color: rgba(196, 164, 106, .6); }
.gx-frame__shade { position: absolute; inset: 0; background: #0b0a09; opacity: 0; pointer-events: none; }
.gx-frame__cap { font-size: .84rem; color: var(--on-dark-3); }
.gx-frame__cap:empty { display: none; }
.gx-ph {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: 10px; padding: 16px;
  background: radial-gradient(ellipse at 28% 18%, #2b2620 0%, #161412 55%, #0e0d0c 100%);
  border: 1px solid rgba(196, 164, 106, .28); color: var(--on-dark-3);
}
.gx-ph__n { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 6vw, 5.6rem); line-height: 1; color: var(--gold); }
.gx-ph__t { font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--on-dark-2); }
.gx-ph__s { font-size: .72rem; color: var(--on-dark-3); }

.gx__hud { display: none; align-items: center; gap: 16px 28px; position: relative; width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding: 26px var(--gutter) 0; }
.gx__count { font-family: var(--serif); font-size: 1.7rem; line-height: 1; color: var(--ivory); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.gx__sep { color: var(--gold); margin: 0 .35em; }
.gx__caption { flex: 1; min-width: 0; font-size: .86rem; color: var(--on-dark-2); }
.gx__btns { display: flex; gap: 10px; }
.gx__bar { position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 1px; background: var(--rule-dark); overflow: hidden; }
.gx__bar i { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(.12); transition: transform .6s var(--ease-out); }

/* swipe mode (phones, tablets, reduced motion) — every photograph becomes its own slide */
.gx--swipe .gx__hud { display: flex; }
.gx--swipe .gx__track {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  padding: 4px var(--gutter) 8px; max-width: none; align-items: center;
}
.gx--swipe .gx__track::-webkit-scrollbar { display: none; }
.gx--swipe .gx-frame, .gx--swipe .gx-frame__inner { display: contents; }
.gx--swipe .gx-frame__shade, .gx--swipe .gx-frame__cap { display: none; }
.gx--swipe .gx-open { flex: 0 0 auto; width: min(86vw, 900px, calc(56vh * var(--ar, 1.33))); aspect-ratio: var(--ar, 1.33); scroll-snap-align: center; margin-top: 0 !important; opacity: .45; transform: scale(.93); transition: opacity .6s var(--ease), transform .6s var(--ease-out); }
.gx--swipe .gx-open.is-active { opacity: 1; transform: none; }
@media (max-width: 899px) {
  .gx:not(.gx--cine):not(.gx--swipe) .gx__track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 8px; }
  .gx:not(.gx--cine):not(.gx--swipe) .gx-frame, .gx:not(.gx--cine):not(.gx--swipe) .gx-frame__inner { display: contents; }
  .gx:not(.gx--cine):not(.gx--swipe) .gx-open { flex: 0 0 auto; width: min(86vw, calc(56vh * var(--ar, 1.33))); scroll-snap-align: center; margin-top: 0; }
}

/* cinematic mode (desktop with a mouse) */
.gx--cine .gx__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.gx--cine .gx__track { position: absolute; inset: 0; display: block; padding: 0; max-width: none; }
.gx--cine .gx-frame { position: absolute; left: 50%; top: 47%; width: min(68vw, calc(62vh * var(--fa, 1.6))); will-change: transform, clip-path; }
.gx--cine .gx-frame--pair { width: min(76vw, calc(56vh * var(--fa, 1.6))); }
.gx--cine .gx-frame__inner { max-width: none; }
.gx--cine .gx-frame__cap { display: none; }
.gx--cine .gx__hud { display: flex; position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; padding-bottom: 30px; padding-right: calc(var(--gutter) + 70px); }

/* ---------------- Recognition */
.recog__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.recog__visual { margin: 0; }
.recog__img { width: 100%; height: auto; border-radius: 4px; }
.recog__copy { display: grid; gap: 26px; }
.recog__text { color: var(--ink-2); font-size: 1.05rem; line-height: 1.8; max-width: 60ch; }
.recog__text a { color: var(--gold-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.recog__text a:hover { color: var(--ink); }
.plaque {
  position: relative; aspect-ratio: 4 / 5; max-width: 460px; margin-inline: auto;
  background: radial-gradient(ellipse at 50% 26%, #29251f 0%, #141311 58%, #0c0b0a 100%);
  color: var(--ivory); display: grid; place-content: center; justify-items: center; text-align: center; gap: 20px; padding: 14%;
  box-shadow: 0 50px 90px -50px rgba(16, 16, 16, .7);
}
.plaque::before, .plaque::after { content: ""; position: absolute; pointer-events: none; }
.plaque::before { inset: 18px; border: 1px solid rgba(196, 164, 106, .6); }
.plaque::after { inset: 26px; border: 1px solid rgba(196, 164, 106, .2); }
.plaque__eyebrow { font-size: .7rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); padding-left: .32em; }
.plaque__name { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 4.6vw, 4rem); line-height: 1; letter-spacing: .01em; }
.plaque__rule { width: 64px; height: 1px; background: var(--gold); }
.plaque__title { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 1.7vw, 1.45rem); color: var(--on-dark-2); max-width: 16ch; line-height: 1.3; }
.plaque__date { font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--on-dark-3); padding-left: .26em; }

/* ---------------- Lightbox */
html.lb-open, html.lb-open body { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 260; display: grid; place-items: center; padding: calc(64px + env(safe-area-inset-top, 0px)) 72px calc(40px + env(safe-area-inset-bottom, 0px)); opacity: 0; transition: opacity .32s var(--ease); }
.lb[hidden] { display: none; }
.lb.is-open { opacity: 1; }
.lb__backdrop { position: absolute; inset: 0; background: rgba(8, 8, 7, .95); }
.lb__figure { position: relative; margin: 0; display: grid; gap: 16px; justify-items: center; max-width: 100%; transform: scale(.98); transition: transform .45s var(--ease-out); }
.lb.is-open .lb__figure { transform: none; }
.lb__media img { display: block; max-width: min(100%, 1500px); max-height: calc(100vh - 170px); max-height: calc(100svh - 170px); width: auto; height: auto; object-fit: contain; }
.lb__media .gx-ph--lb { position: relative; inset: auto; width: min(80vw, 1000px); aspect-ratio: 3 / 2; max-height: calc(100svh - 190px); }
.lb__meta { display: flex; gap: 18px; align-items: baseline; color: var(--on-dark-2); font-size: .86rem; }
.lb__count { font-family: var(--serif); font-size: 1.2rem; color: var(--gold); font-variant-numeric: lining-nums tabular-nums; }
.lb__close { position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); right: 14px; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(248, 246, 241, .3); }
.lb__close span { position: absolute; left: 15px; right: 15px; top: 24px; height: 1px; background: var(--ivory); transform: rotate(45deg); }
.lb__close span + span { transform: rotate(-45deg); }
.lb__close:hover { background: var(--gold); border-color: var(--gold); }
.lb__close:hover span { background: var(--piano-black); }
.lb__nav { position: absolute; top: 50%; margin-top: -25px; }
.lb__nav--prev { left: 14px; }
.lb__nav--next { right: 14px; }

@media (max-width: 1080px) {
  .reviews__summary { grid-template-columns: minmax(0, 1fr) auto; }
  .reviews__intro { grid-column: 1 / -1; }
  .reviews__score { border-inline: 0; justify-items: start; padding: 0; }
}
@media (max-width: 900px) {
  .gallery__head, .recog__grid { grid-template-columns: minmax(0, 1fr); }
  .rv-card { flex-basis: 84%; }
}
@media (max-width: 640px) {
  .reviews__summary { grid-template-columns: minmax(0, 1fr); border-radius: 14px; }
  .reviews__actions .btn { width: 100%; }
  .lb { padding-inline: 12px; padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
  .lb__nav { top: auto; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); margin-top: 0; }
  .lb__nav--prev { left: calc(50% - 60px); }
  .lb__nav--next { right: calc(50% - 60px); }
  .gx__hud { flex-wrap: wrap; }
  .gx__caption { order: 3; flex-basis: 100%; }
  .gx__btns { margin-left: auto; }
}

/* =====================================================================
   PRIVACY POLICY
   ===================================================================== */
.legal-hero { position: relative; background: var(--piano-black); color: var(--on-dark); padding-top: calc(var(--nav-h) + clamp(64px, 10vh, 112px)); padding-bottom: clamp(48px, 7vh, 80px); overflow: hidden; isolation: isolate; }
.legal-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 120% at 85% 0%, rgba(196, 164, 106, .12), transparent 60%); }
.legal-hero__inner { display: grid; gap: 22px; justify-items: start; }
.legal-hero__title { font-size: clamp(2.8rem, 6vw, 5.2rem); }
.legal-hero__rule { width: 88px; }
.legal { padding-top: clamp(40px, 6vw, 72px); padding-bottom: var(--section-y); }
.legal__doc { max-width: 68ch; margin-inline: auto; font-size: 1.04rem; line-height: 1.85; color: var(--ink-2); }
.legal__updated { font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); }
.legal__intro { margin-top: 22px; font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.55; color: var(--ink); }
.legal__sec { margin-top: clamp(44px, 6vw, 68px); display: grid; gap: 16px; }
.legal__divider { display: block; width: 56px; height: 1px; background: var(--gold); transform-origin: left; }
.legal__h { font-size: clamp(1.7rem, 2.6vw, 2.15rem); font-weight: 500; color: var(--ink); line-height: 1.15; }
.legal__num { font-style: italic; color: var(--gold-deep); margin-right: .15em; }
.legal__list { display: grid; gap: 4px; }
.legal__list li { position: relative; padding: 10px 0 10px 30px; border-bottom: 1px solid var(--rule); }
.legal__list li:last-child { border-bottom: 0; }
.legal__list li::before { content: ""; position: absolute; left: 0; top: 1.55em; width: 14px; height: 1px; background: var(--gold); }
.legal__list strong { color: var(--ink); font-weight: 600; }
.legal__contact { font-style: normal; display: grid; gap: 4px; padding: 22px 26px; background: var(--white); border-left: 2px solid var(--gold); }
.legal__contact-name { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); }
.legal__contact a { color: var(--gold-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal__contact a:hover { color: var(--ink); }
.footer__legal { margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--rule-dark); color: var(--on-dark-2); transition: color .4s; }
.footer__legal:hover { color: var(--gold); }

/* four nav links: use the menu button below 1000px so the bar never wraps */
.nav__cta, .brand { flex: none; }
@media (max-width: 1000px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
}

/* Elfsight / embedded review widget: neutralise site-wide element styles without overriding the widget's own classes */
:where(.reviews__embed) :is(h1, h2, h3, h4, h5, h6) { font-family: inherit; font-weight: inherit; line-height: inherit; letter-spacing: normal; text-wrap: wrap; }
:where(.reviews__embed) :is(ul, ol) { list-style: revert; }
:where(.reviews__embed) img { display: inline-block; }
.reviews__embed { min-height: 120px; }

/* reviews: one panel, centred in the ivory band with equal space above and below */
.reviews__embed, .reviews__fallback { position: relative; z-index: 2; margin-top: 0; }
.reviews__embed.is-off { position: absolute; left: 0; right: 0; top: 0; visibility: hidden; pointer-events: none; }
.reviews__fallback {
  max-width: none; margin-inline: 0; background: var(--white); border-radius: 18px;
  box-shadow: 0 40px 90px -50px rgba(16, 16, 16, .55); padding: clamp(32px, 5vw, 64px);
  display: grid; justify-items: center; gap: 26px; text-align: center;
}
.reviews__fallback p { max-width: 56ch; color: var(--ink-2); font-size: 1.05rem; }
.reviews__fallback .reviews__actions { justify-items: center; }
.reviews[data-rv-mode="places"] .rv { margin-top: 0; }
