/* =========================================================
   Iluvatar Odontologia Integrada
   Clínica de especialistas, à luz do dia — com a carta celeste da marca
   ========================================================= */
:root {
  --paper: #f4f1eb;
  --paper-2: #ebe6dc;
  --paper-3: #e2dccf;
  --white: #fbfaf7;
  --ink: #15130f;
  --ink-2: #48433a;
  --mute: #6b6458;
  --rule: rgba(21, 19, 15, 0.16);
  --rule-strong: rgba(21, 19, 15, 0.32);
  --gold: #d4aa4f;
  --gold-hi: #ecd08e;
  --gold-ink: #7d5e1c;
  --night: #0a0907;
  --night-2: #14110c;
  --bone: #ece4d3;
  --bone-2: #c9bfab;
  --bone-mute: #a59d8c;
  --line-gold: rgba(212, 170, 79, 0.24);
  --line-gold-soft: rgba(212, 170, 79, 0.1);

  --f-display: "Gilda Display", "Times New Roman", serif;
  --f-sans: "Satoshi", system-ui, -apple-system, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --gutter: clamp(1.25rem, 3.6vw, 3rem);
  --maxw: 1480px;
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--paper-3) var(--paper); scrollbar-width: thin; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-sans); font-weight: 400;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 4px; border-radius: 2px; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--paper-3); border: 3px solid var(--paper); border-radius: 10px; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: var(--rule-strong); text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: currentColor; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
p { margin: 0 0 1em; max-width: 66ch; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; line-height: 1.04; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.tnum { font-variant-numeric: tabular-nums lining-nums; }
.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 { position: fixed; left: 1rem; top: -4rem; z-index: 200; background: var(--ink); color: var(--paper); padding: .6rem 1rem; border-radius: 4px; transition: top .3s var(--ease-out); }
.skip:focus { top: 1rem; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
section { position: relative; }
.section { padding: clamp(5rem, 9vw, 9rem) 0; }
main, .site-footer { position: relative; z-index: 1; }

/* ---------- type ---------- */
.display-xl { font-size: clamp(3rem, 1.6rem + 5.2vw, 6rem); line-height: .98; letter-spacing: -0.03em; }
.display-l { font-size: clamp(2.4rem, 1.5rem + 3.4vw, 4.6rem); letter-spacing: -0.025em; }
.display-m { font-size: clamp(1.9rem, 1.3rem + 2.1vw, 3.1rem); }
.it { font-style: italic; color: var(--gold-ink); }
.band-night .it, .site-footer .it, .cta-band .it { color: var(--gold-hi); }
.lede { font-size: clamp(1.08rem, 1rem + .4vw, 1.28rem); color: var(--ink-2); line-height: 1.6; }
.split-line { display: inline-block; vertical-align: top; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.split-line > span { display: inline-block; will-change: transform; }

/* ---------- header (ruled cells) ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--header-h);
  background: rgba(244, 241, 235, .9); backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--rule);
  transition: transform .6s var(--ease-out), box-shadow .5s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -24px rgba(21,19,15,.5); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-grid { height: 100%; display: grid; grid-template-columns: auto 1fr auto auto auto; align-items: stretch; }
.header-grid > * { display: flex; align-items: center; }
.brand { padding: 0 var(--gutter); border-right: 1px solid var(--rule); text-decoration: none; }
.brand img { height: 30px; width: auto; }
.nav { justify-content: center; gap: clamp(1.2rem, 2.6vw, 2.6rem); padding: 0 1.5rem; }
.nav-link { position: relative; font-size: .88rem; font-weight: 500; text-decoration: none; color: var(--ink-2); padding: .4rem 0; transition: color .3s; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--ink); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-phone { padding: 0 1.6rem; border-left: 1px solid var(--rule); font-size: .88rem; font-weight: 500; text-decoration: none; gap: .55rem; }
.header-phone svg { width: 16px; }
.header-cta {
  position: relative; overflow: hidden; isolation: isolate; padding: 0 1.8rem;
  background: var(--ink); color: var(--paper); font-size: .88rem; font-weight: 500; text-decoration: none; gap: .6rem; white-space: nowrap;
  transition: color .5s var(--ease-out);
}
.header-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold); transform: translateY(101%); transition: transform .55s var(--ease-out); }
.header-cta:hover { color: var(--ink); }
.header-cta:hover::before { transform: none; }
.header-cta svg { width: 18px; }
.menu-toggle { display: none; position: relative; border-left: 1px solid var(--rule); }
.menu-toggle span { position: absolute; height: 1.5px; background: var(--ink); transition: transform .5s var(--ease-out), top .5s var(--ease-out); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--paper);
  display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io); visibility: hidden;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; }
.mobile-menu ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.mobile-menu li { overflow: hidden; border-bottom: 1px solid var(--rule); }
.mobile-menu ol a { display: flex; justify-content: space-between; align-items: baseline; padding: .85rem 0; font-family: var(--f-display); font-size: clamp(2rem, 9vw, 3rem); text-decoration: none; transform: translateY(105%); transition: transform .8s var(--ease-out); }
.mobile-menu ol a small { font-family: var(--f-sans); font-size: .78rem; color: var(--mute); }
.menu-open .mobile-menu ol a { transform: none; }
.menu-open .mobile-menu li:nth-child(2) a { transition-delay: .05s; }
.menu-open .mobile-menu li:nth-child(3) a { transition-delay: .1s; }
.menu-open .mobile-menu li:nth-child(4) a { transition-delay: .15s; }
.menu-open .mobile-menu li:nth-child(5) a { transition-delay: .2s; }
.menu-foot { margin-top: 2rem; display: grid; gap: .8rem; color: var(--mute); font-size: .92rem; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper); --hover: var(--gold); --hover-fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  min-height: 56px; padding: 0 1.7rem; border-radius: 999px; background: var(--bg); color: var(--fg);
  font-size: .94rem; font-weight: 500; text-decoration: none; white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease-out);
  box-shadow: 0 14px 30px -18px rgba(21,19,15,.55);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--hover); transform: translateY(101%); transition: transform .6s var(--ease-out); }
.btn:hover { color: var(--hover-fg); }
.btn:hover::before { transform: none; }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn--ghost { --bg: transparent; --fg: var(--ink); --hover: var(--ink); --hover-fg: var(--paper); box-shadow: inset 0 0 0 1px var(--rule-strong); }
.btn--gold { --bg: var(--gold); --fg: var(--night); --hover: var(--gold-hi); --hover-fg: var(--night); box-shadow: 0 14px 30px -18px rgba(0,0,0,.9); }
.btn--ghost-dark { --bg: transparent; --fg: var(--bone); --hover: var(--bone); --hover-fg: var(--night); box-shadow: inset 0 0 0 1px var(--line-gold); }
.magnetic { will-change: transform; }

.link-arrow { display: inline-flex; align-items: center; gap: .8rem; font-size: .92rem; font-weight: 500; text-decoration: none; }
.link-arrow i { display: block; width: 40px; height: 1px; background: currentColor; transform-origin: left; transition: transform .6s var(--ease-out); }
.link-arrow:hover i { transform: scaleX(1.6); }

.wa-float {
  position: fixed; right: clamp(1rem, 2.5vw, 2rem); bottom: clamp(1rem, 2.5vw, 2rem); z-index: 44;
  display: flex; align-items: center; gap: .6rem; height: 58px; padding: 0 1.4rem 0 1.15rem; border-radius: 999px;
  background: var(--ink); color: var(--paper); text-decoration: none; font-size: .9rem; font-weight: 500;
  box-shadow: 0 18px 40px -16px rgba(21,19,15,.6), inset 0 0 0 1px rgba(236,228,211,.22);
  opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none; transition: transform .5s var(--ease-out), opacity .5s;
}
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { transform: translateY(-3px); }
.wa-float svg { width: 24px; height: 24px; color: #7ad697; }

/* ---------- cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 100; pointer-events: none; mix-blend-mode: difference; display: none; opacity: 0; transition: opacity .3s; }
.cursor.on { opacity: 1; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; }
.cursor-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; }
.cursor-ring svg { width: 100%; height: 100%; overflow: visible; transition: scale .5s var(--ease-out); }
.cursor-ring.is-hover svg { scale: 1.8; }
@media (hover: hover) and (pointer: fine) { .has-cursor .cursor { display: block; } }

/* ---------- veil ---------- */
.veil { position: fixed; inset: 0; z-index: 90; pointer-events: none; display: grid; place-items: center; background: var(--paper); visibility: hidden; opacity: 0; }
.js .veil { visibility: visible; opacity: 1; }
.veil svg { width: 80px; }
.veil .veil-line { stroke-dasharray: 600; stroke-dashoffset: 600; }

/* ---------- live dot field ---------- */
.field { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }

/* =========================================================
   HERO
   ========================================================= */
.hero { padding-top: var(--header-h); min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; }
.hero-main { flex: 1; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: center; padding-top: clamp(2rem, 4.5vw, 3.5rem); padding-bottom: clamp(2rem, 4vw, 3.5rem); position: relative; z-index: 1; }
.hero-copy h1 { margin-bottom: 1.8rem; }
.hero-copy .lede { max-width: 40ch; margin-bottom: 2.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
.hero-duo { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(.8rem, 1.6vw, 1.4rem); align-items: start; }
.portrait { margin: 0; position: relative; }
.frame { position: relative; overflow: hidden; border-radius: 4px; background: var(--paper-3); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.portrait:hover .frame img, .doc-media:hover .frame img { transform: scale(1.04); }
.portrait figcaption { margin-top: .9rem; font-size: .88rem; line-height: 1.4; color: var(--mute); }
.portrait figcaption b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.2rem; color: var(--ink); letter-spacing: -0.01em; }
.hero-duo .p1 .frame { aspect-ratio: 3 / 4; }
.hero-duo .p2 { margin-top: clamp(4rem, 9vw, 8rem); }
.hero-duo .p2 .frame { aspect-ratio: 4 / 5; }
.seal {
  position: absolute; z-index: 3; left: calc(50% - 60px); top: 4%; width: 120px; height: 120px; border-radius: 50%;
  background: var(--night); display: grid; place-items: center;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.7);
}
.seal svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.seal svg.ring text { font-family: var(--f-sans); font-size: 9.4px; font-weight: 500; letter-spacing: .24em; fill: var(--gold-hi); text-transform: uppercase; }
.seal .mk { width: 46px; }

.facts { position: relative; z-index: 1; border-top: 1px solid var(--rule); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 1.25rem 1.4rem 1.35rem 0; display: flex; align-items: center; gap: .9rem; font-size: .9rem; line-height: 1.35; color: var(--ink-2); text-decoration: none; }
.fact + .fact { padding-left: 1.4rem; border-left: 1px solid var(--rule); }
.fact b { display: block; color: var(--ink); font-weight: 500; }
.fact .g { width: 28px; height: 28px; flex: none; }
.fact .stars { display: inline-flex; gap: 2px; color: var(--gold-ink); vertical-align: -1px; margin-left: .3rem; }
.fact .stars svg { width: 11px; height: 11px; }
.fact .ico { width: 28px; flex: none; color: var(--gold-ink); }

/* =========================================================
   MANIFESTO
   ========================================================= */
.manifesto .wrap { display: grid; grid-template-columns: 1fr 3fr; gap: 3rem; }
.manifesto aside .mk { width: 72px; }
.manifesto-text { font-family: var(--f-display); font-size: clamp(1.8rem, 1.1rem + 2.5vw, 3.35rem); line-height: 1.16; letter-spacing: -0.02em; max-width: 25ch; margin: 0; }
.manifesto-text .w { opacity: .14; transition: opacity .2s linear; }
.manifesto-text em { color: var(--gold-ink); }
.manifesto-sign { margin-top: 2.6rem; display: flex; gap: 2.6rem; flex-wrap: wrap; color: var(--mute); font-size: .95rem; }
.manifesto-sign strong { display: block; font-weight: 400; color: var(--ink); font-family: var(--f-display); font-size: 1.25rem; }

/* =========================================================
   NIGHT BAND — treatment atlas
   ========================================================= */
.band-night { background: var(--night); color: var(--bone); overflow: hidden; }
.band-night .wrap { position: relative; z-index: 1; }
.band-night h2, .band-night h3 { color: var(--bone); }
.atlas-head { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 2rem 4rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.atlas-head p { color: var(--bone-2); margin: 0; }
.atlas { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.atlas-lists { display: grid; gap: 2.4rem; }
.atlas-group h3 { font-size: 1.35rem; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line-gold); padding-bottom: .7rem; margin-bottom: .4rem; }
.atlas-group h3 small { font-family: var(--f-sans); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); white-space: nowrap; font-weight: 500; }
.atlas-group ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
.atlas-item { display: flex; align-items: center; gap: .7rem; width: 100%; text-align: left; padding: .55rem 0; color: var(--bone-2); font-size: .98rem; line-height: 1.3; transition: color .35s var(--ease-out), transform .45s var(--ease-out); }
.atlas-item::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--gold); flex: none; transition: background .3s, border-color .3s, transform .4s var(--ease-out); }
.atlas-item:hover, .atlas-item.is-on { color: var(--bone); transform: translateX(4px); }
.atlas-item:hover::before, .atlas-item.is-on::before { background: var(--gold-hi); border-color: var(--gold-hi); transform: scale(1.25); }
.atlas-map { position: sticky; top: calc(var(--header-h) + 2rem); }
.atlas-map svg { width: 100%; height: auto; overflow: visible; }
.atlas-map .m-ring { fill: none; stroke: var(--line-gold-soft); stroke-width: 1; }
.atlas-map .m-ring.dash { stroke: var(--line-gold); stroke-dasharray: 1 5; }
.atlas-map .m-axis { stroke: var(--line-gold-soft); stroke-width: 1; }
.atlas-map .m-edge { stroke: var(--gold); stroke-width: 1; opacity: .22; fill: none; transition: opacity .5s var(--ease-out), stroke-width .5s; }
.atlas-map .m-edge.bridge { stroke-dasharray: 3 5; }
.atlas-map .m-edge.is-on { opacity: .95; stroke-width: 1.5; }
.atlas-map .m-star circle.core { fill: var(--bone-2); transition: fill .4s; }
.atlas-map .m-star circle.glow { fill: url(#starglow); opacity: .3; transition: opacity .5s var(--ease-out); }
.atlas-map .m-star text { font-family: var(--f-sans); font-size: 11.5px; fill: var(--bone-mute); transition: fill .4s; }
.atlas-map .m-star.is-on circle.core { fill: var(--gold-hi); }
.atlas-map .m-star.is-on circle.glow { opacity: 1; }
.atlas-map .m-star.is-on text { fill: var(--bone); }
.atlas-map .m-title { font-family: var(--f-display); font-style: italic; font-size: 15px; fill: var(--gold); }
.atlas-map .m-coord { font-size: 8.5px; letter-spacing: .25em; fill: var(--bone-mute); font-family: var(--f-sans); }
.atlas-legend { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.atlas-legend button { font-size: .84rem; font-weight: 500; padding: .65rem 1.1rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-gold); color: var(--bone-2); transition: box-shadow .3s, color .3s, background .3s; }
.atlas-legend button:hover, .atlas-legend button[aria-pressed="true"] { color: var(--night); background: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }

/* =========================================================
   TREATMENT INDEX (ruled rows)
   ========================================================= */
.index-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.index-head p { max-width: 36ch; color: var(--ink-2); margin: 0; }
.tindex { border-top: 1px solid var(--rule-strong); }
.trow {
  position: relative; display: grid; grid-template-columns: 4rem minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 2rem; align-items: center;
  padding: clamp(1.8rem, 3.4vw, 2.8rem) 0; border-bottom: 1px solid var(--rule-strong); text-decoration: none; isolation: isolate;
}
.trow::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; background: var(--paper-2); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease-out); }
.trow:hover::before { transform: none; }
.trow .num { font-size: .9rem; font-weight: 500; color: var(--mute); align-self: start; padding-top: .9rem; }
.trow h3 { font-size: clamp(2.2rem, 1.4rem + 3vw, 4.4rem); transition: transform .6s var(--ease-out); }
.trow:hover h3 { transform: translateX(.8rem); }
.trow .desc { color: var(--ink-2); font-size: .98rem; }
.trow .desc p { margin: 0 0 1rem; }
.who { display: flex; align-items: center; gap: .8rem; font-size: .86rem; color: var(--mute); line-height: 1.3; }
.who img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: top; }
.who b { display: block; color: var(--ink); font-weight: 500; }
.trow .go { width: 64px; height: 64px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--rule-strong); display: grid; place-items: center; transition: background .4s, color .4s, transform .6s var(--ease-out); }
.trow .go svg { width: 20px; }
.trow:hover .go { background: var(--ink); color: var(--paper); transform: rotate(-45deg); }

/* line art (light + dark) */
.art-line { fill: none; stroke: var(--gold-ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.art-soft { fill: none; stroke: var(--rule-strong); stroke-width: 1; }
.art-dot { fill: var(--gold-ink); }
.art-text { font-family: var(--f-sans); font-size: 9px; font-weight: 500; letter-spacing: .18em; fill: var(--mute); text-transform: uppercase; }
.c-line { stroke: var(--gold-ink); stroke-width: 2.2; stroke-linecap: round; fill: none; }
.c-star { fill: var(--gold-ink); }
.c-halo { fill: url(#halo); }
.sparkle { fill: var(--gold); }

/* =========================================================
   DOCTORS
   ========================================================= */
.duo-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.duo-head p { max-width: 38ch; color: var(--ink-2); margin: 0; }
.doc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.doc + .doc { margin-top: clamp(5rem, 10vw, 9rem); }
.doc.flip .doc-media { order: 2; }
.doc-media .frame { aspect-ratio: 4 / 5; }
.doc .name { font-size: clamp(2.3rem, 1.5rem + 2.8vw, 4rem); margin-bottom: .6rem; }
.doc .role { font-size: .94rem; color: var(--gold-ink); font-weight: 500; margin-bottom: 1.6rem; }
.doc .bio { font-family: var(--f-display); font-size: clamp(1.3rem, 1.1rem + .7vw, 1.75rem); line-height: 1.3; max-width: 30ch; margin-bottom: 2rem; color: var(--ink); }
.creds { list-style: none; margin: 0 0 1.8rem; padding: 0; border-top: 1px solid var(--rule); }
.creds li { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--rule); font-size: .98rem; }
.creds li span:first-child { color: var(--mute); font-size: .88rem; padding-top: .1rem; }
.creds li b { font-weight: 500; }
.areas-h { font-size: .9rem; color: var(--mute); margin: 2rem 0 .7rem; font-family: var(--f-sans); font-weight: 500; letter-spacing: 0; }
.areas { display: flex; flex-wrap: wrap; gap: .5rem; }
.areas span { font-size: .88rem; padding: .5rem .95rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--rule-strong); color: var(--ink-2); transition: background .3s, color .3s; }
.areas span:hover { background: var(--ink); color: var(--paper); }

/* =========================================================
   REVIEWS
   ========================================================= */
.reviews { background: var(--paper-2); overflow: hidden; }
.reviews-head { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem 4rem; align-items: end; margin-bottom: 3.5rem; }
.score { font-family: var(--f-display); font-size: clamp(6rem, 3rem + 10vw, 11rem); line-height: .8; letter-spacing: -0.04em; }
.score-meta .stars-row { display: flex; gap: .3rem; margin-bottom: .9rem; color: var(--gold-ink); }
.score-meta .stars-row svg { width: 20px; height: 20px; }
.score-meta h2 { max-width: 16ch; }
.g-badge { display: inline-flex; align-items: center; gap: .7rem; padding: .75rem 1.2rem .75rem .85rem; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--rule); font-size: .9rem; text-decoration: none; transition: box-shadow .3s; }
.g-badge:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.g-badge svg { width: 22px; height: 22px; }
.g-badge b { font-weight: 600; }
.marquee { display: flex; width: max-content; }
.marquee-track { display: flex; gap: 1.25rem; padding-right: 1.25rem; animation: marquee 52s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.quote { margin: 0; width: clamp(300px, 32vw, 460px); flex: none; padding: 2rem 2.1rem; border-radius: 4px; background: var(--white); box-shadow: inset 0 0 0 1px var(--rule); display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.quote .q-stars { display: flex; gap: 3px; color: var(--gold-ink); }
.quote .q-stars svg { width: 13px; height: 13px; }
.quote blockquote { margin: 1.2rem 0 0; font-family: var(--f-display); font-size: clamp(1.25rem, 1.1rem + .5vw, 1.55rem); line-height: 1.32; }
.quote footer { display: flex; justify-content: space-between; align-items: center; font-size: .84rem; color: var(--mute); border-top: 1px solid var(--rule); padding-top: 1rem; }
.quote footer svg { width: 18px; height: 18px; }

/* =========================================================
   VISIT
   ========================================================= */
.visit-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 5vw, 5rem); align-items: stretch; }
.info-list { margin: 2.4rem 0; border-top: 1px solid var(--rule); }
.info-list > div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); }
.info-list dt { font-size: .88rem; color: var(--mute); padding-top: .15rem; }
.info-list dd { margin: 0; }
.info-list dd a { text-decoration: none; }
.info-list dd a:hover { text-decoration: underline; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.map-frame { position: relative; min-height: 480px; border-radius: 4px; overflow: hidden; background: var(--paper-3); box-shadow: inset 0 0 0 1px var(--rule); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.55) sepia(.12) contrast(1.02); }

/* =========================================================
   FOOTER — night + first light
   ========================================================= */
.site-footer { background: var(--night); color: var(--bone); overflow: hidden; }
.closing-zone { position: relative; isolation: isolate; padding-top: clamp(5rem, 10vw, 8rem); }
.closing-zone::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-hi) 50%, transparent); opacity: .7; }
.dawn { position: absolute; left: -10%; right: -10%; bottom: 0; height: 110%; z-index: -1; pointer-events: none;
  background: radial-gradient(52% 62% at 50% 100%, rgba(236,208,142,.5) 0%, rgba(212,170,79,.24) 28%, rgba(138,108,44,.1) 56%, transparent 78%); transform-origin: bottom center; }
.closing { text-align: center; padding-bottom: clamp(5rem, 9vw, 8rem); }
.closing .mark { width: 92px; margin: 0 auto 2rem; }
.closing h2 { max-width: 16ch; margin: 0 auto 1.3rem; color: var(--bone); }
.closing p { margin: 0 auto 2.4rem; color: var(--bone-2); }
.closing .hero-actions { justify-content: center; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding: 3.5rem 0 2.5rem; font-size: .94rem; color: var(--bone-2); }
.footer-cols .foot-h { font-size: .76rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-cols a { text-decoration: none; }
.footer-cols a:hover { color: var(--gold-hi); }
.footer-cols .wordmark { width: 200px; margin-bottom: 1.2rem; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.4rem 0 2rem; border-top: 1px solid var(--line-gold-soft); font-size: .82rem; color: var(--bone-mute); }

/* =========================================================
   INNER PAGES
   ========================================================= */
.page-hero { padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(3.5rem, 7vw, 6rem); position: relative; overflow: hidden; border-bottom: 1px solid var(--rule); }
.page-hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 3rem; align-items: end; }
.crumbs { font-size: .9rem; color: var(--mute); margin-bottom: clamp(3.5rem, 8vw, 6rem); display: flex; gap: .6rem; align-items: center; }
.crumbs a { color: var(--ink-2); }
.page-hero .lede { margin-top: 1.8rem; max-width: 46ch; }
.page-hero:has(.page-hero-photo) .wrap { align-items: center; }
.page-hero:has(.page-hero-photo) .crumbs { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.page-hero-photo { justify-self: end; width: min(100%, 400px); }
.page-hero-photo .frame { aspect-ratio: 4 / 5; }
.page-hero-art { justify-self: end; width: min(100%, 400px); }
.page-hero-art svg { width: 100%; height: auto; overflow: visible; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.split .sticky { position: sticky; top: calc(var(--header-h) + 2.5rem); }
.prose p { color: var(--ink-2); }
.prose p.big { font-family: var(--f-display); font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); color: var(--ink); line-height: 1.3; max-width: 30ch; }

.journey { position: relative; padding-left: 3.5rem; }
.journey-path { position: absolute; left: 11px; top: .6rem; bottom: .6rem; width: 2px; }
.journey-path svg { width: 2px; height: 100%; overflow: visible; }
.journey-path .track { stroke: var(--rule-strong); stroke-width: 1; }
.journey-path .ink { stroke: var(--gold-ink); stroke-width: 1.5; }
.step { position: relative; padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.step:last-child { padding-bottom: 0; }
.step-star { position: absolute; left: calc(-3.5rem + 4px); top: .45rem; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule-strong); transition: background .5s, box-shadow .5s; }
.step.is-lit .step-star { background: var(--gold-ink); box-shadow: 0 0 0 5px rgba(125,94,28,.14); }
.step h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); margin-bottom: .6rem; }
.step .when { font-size: .84rem; font-weight: 500; color: var(--gold-ink); margin-bottom: .5rem; display: block; }
.step p { color: var(--ink-2); margin: 0; }

.ledger { border-top: 1px solid var(--rule-strong); }
.ledger-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 2rem; padding: clamp(1.5rem, 3vw, 2.2rem) 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.ledger-row > * { transition: transform .6s var(--ease-out); }
.ledger-row:hover > * { transform: translateX(.6rem); }
.ledger-row h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
.ledger-row p { margin: 0; color: var(--ink-2); }

.faq { border-top: 1px solid var(--rule-strong); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 1.5rem 0; font-family: var(--f-display); font-size: clamp(1.2rem, 1rem + .7vw, 1.6rem); transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-ink); }
.faq summary .pm { position: relative; width: 22px; height: 22px; flex: none; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform .5s var(--ease-out); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm::after { transform: rotate(0); }
.faq .ans { overflow: hidden; }
.faq .ans p { color: var(--ink-2); padding-bottom: 1.5rem; margin: 0; }

.cta-band { display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center; padding: clamp(2.5rem, 5vw, 4rem); border-radius: 4px; background: var(--night); color: var(--bone); position: relative; overflow: hidden; }
.cta-band h2 { color: var(--bone); }
.cta-band p { color: var(--bone-2); margin: 1rem 0 0; }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule-strong); }
.tl-item { padding: 2rem 1.5rem 0 0; position: relative; }
.tl-item::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--gold-ink); }
.tl-year { font-family: var(--f-display); font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); line-height: 1; margin-bottom: .8rem; }
.tl-item p { color: var(--ink-2); font-size: .98rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
.contact-big a { display: block; font-family: var(--f-display); font-size: clamp(1.7rem, 1.2rem + 2vw, 2.9rem); line-height: 1.15; text-decoration: none; padding: 1.3rem 0; border-bottom: 1px solid var(--rule); transition: color .3s, transform .5s var(--ease-out); }
.contact-big a:first-child { border-top: 1px solid var(--rule-strong); }
.contact-big a:hover { color: var(--gold-ink); transform: translateX(.6rem); }
.contact-big a small { display: block; font-family: var(--f-sans); font-size: .86rem; color: var(--mute); margin-bottom: .4rem; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours td { padding: .9rem 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); }
.hours td:last-child { text-align: right; color: var(--ink); }
.hours tr.today td { color: var(--gold-ink); font-weight: 500; }
.note { font-size: .88rem; color: var(--mute); margin-top: 1rem; }
.plate-caption { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1rem; font-size: .9rem; color: var(--mute); }

.js [data-reveal] { opacity: 0; transform: translateY(26px); }
.js [data-reveal="fade"] { transform: none; }
.js [data-clip] .frame { clip-path: inset(100% 0 0 0); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .header-phone { display: none !important; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .facts .wrap { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .nav, .header-cta { display: none !important; }
  .header-grid { grid-template-columns: 1fr auto; }
  .brand { border-right: 0; }
  .brand img { height: 26px; }
  .menu-toggle { display: block; width: var(--header-h); }
  .menu-toggle span { left: 22px; right: 22px; }
  .menu-toggle span:nth-child(1) { top: 29px; }
  .menu-toggle span:nth-child(2) { top: 37px; }
  .menu-open .menu-toggle span:nth-child(1) { top: 33px; transform: rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { top: 33px; transform: rotate(-45deg); }
  .hero-main { grid-template-columns: 1fr; }
  .seal { width: 92px; height: 92px; top: -2%; left: calc(50% - 46px); }
  .seal .mk { width: 34px; }
  .manifesto .wrap { grid-template-columns: 1fr; gap: 1.5rem; }
  .manifesto aside { display: none; }
  .atlas-head, .atlas { grid-template-columns: 1fr; }
  .atlas-map { position: relative; top: 0; order: -1; }
  .atlas-map .m-star text, .atlas-map .m-coord, .atlas-map .m-title { display: none; }
  .index-head, .duo-head { flex-direction: column; align-items: start; }
  .trow { grid-template-columns: 2.2rem 1fr auto; gap: 1rem 1rem; }
  .trow .desc { grid-column: 2 / -1; }
  .trow .go { width: 52px; height: 52px; }
  .doc, .visit-grid, .split, .page-hero .wrap, .contact-grid { grid-template-columns: 1fr; }
  .doc.flip .doc-media { order: 0; }
  .split .sticky { position: relative; top: 0; }
  .reviews-head { grid-template-columns: 1fr; }
  .page-hero-art { justify-self: start; width: min(70%, 300px); order: -1; }
  .page-hero-photo { justify-self: stretch; width: 100%; }
  .page-hero-photo .frame { aspect-ratio: 5 / 4; }
  .ledger-row { grid-template-columns: 1fr; gap: .5rem; }
  .cta-band { grid-template-columns: 1fr; }
  .map-frame { min-height: 340px; }
  .wa-float span { display: none; }
  .wa-float { padding: 0; width: 58px; justify-content: center; }
}
@media (max-width: 560px) {
  .facts .wrap { grid-template-columns: 1fr; }
  .fact, .fact + .fact, .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact + .fact { border-top: 1px solid var(--rule); }
  .atlas-group ul { grid-template-columns: 1fr; }
  .info-list > div, .creds li { grid-template-columns: 1fr; gap: .2rem; }
  .footer-cols { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .quote { width: 84vw; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js [data-clip] .frame { clip-path: none; }
  .manifesto-text .w { opacity: 1; }
  .marquee-track { animation: none; }
  .marquee { flex-wrap: wrap; width: auto; }
}
