/* Hatata Enterprises · site styles · identity v6 Portman Green
   Layout: a Georgian townhouse elevation. Each section is a floor; floors are divided by brass
   string courses (hairlines with a lozenge); arched openings frame film and photography;
   text sits left on a wide twelve column grid with generous margins. One committed look,
   independent of the viewer's light or dark setting. */

@font-face { font-family: "Cinzel"; src: url("../fonts/Cinzel-Variable.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/Manrope-Variable.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --green: #12291F;
  --hunter: #1D3B2F;
  --ink: #0A1A13;
  --brass: #B08D57;
  --brass-hi: #D2B27A;
  --bronze: #7A5C2E;
  --parchment: #F3ECDD;
  --linen: #E8DFCC;
  --stone: #CBBFA5;
  --sage: #B9C2B6;
  --moss: #4B5A50;

  --font-display: "Cinzel", "Cormorant Garamond", "Trajan Pro", Georgia, "Times New Roman", serif;
  --font-text: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --maxw: 1440px;
  --pad-x: clamp(20px, 5vw, 88px);
  --floor: clamp(88px, 12vw, 176px);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --header-h: 84px;

  /* tone defaults (green floor) */
  --bg: var(--green);
  --fg: var(--parchment);
  --muted: var(--sage);
  --rule: rgba(210, 178, 122, .30);
  --accent: var(--brass-hi);
  --accent-ink: var(--green);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--green); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
body {
  margin: 0;
  background: var(--green);
  color: var(--parchment);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--green); }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button { font: inherit; color: inherit; }
::selection { background: var(--brass); color: var(--green); }
:focus-visible { outline: 2px solid var(--brass-hi); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); top: calc(env(safe-area-inset-top, 0px) + 12px); z-index: 100; padding: .7em 1.1em; background: var(--brass-hi); color: var(--green); font-weight: 600; transform: translateY(-160%); transition: transform .3s var(--ease-out); text-decoration: none; }
.skip:focus { transform: none; }

/* ---------- tones (each floor sets its own palette) ---------- */
.tone-green { --bg: var(--green); --fg: var(--parchment); --muted: var(--sage); --rule: rgba(210,178,122,.30); --accent: var(--brass-hi); --accent-ink: var(--green); --field: rgba(243,236,221,.06); color-scheme: dark; }
.tone-hunter { --bg: var(--hunter); --fg: var(--parchment); --muted: #C3CBBF; --rule: rgba(210,178,122,.30); --accent: var(--brass-hi); --accent-ink: var(--green); --field: rgba(243,236,221,.07); color-scheme: dark; }
.tone-ink { --bg: var(--ink); --fg: var(--parchment); --muted: #A9B4AA; --rule: rgba(210,178,122,.24); --accent: var(--brass-hi); --accent-ink: var(--green); --field: rgba(243,236,221,.06); color-scheme: dark; }
.tone-parchment { --bg: var(--parchment); --fg: var(--green); --muted: var(--moss); --rule: rgba(18,41,31,.16); --accent: var(--bronze); --accent-ink: var(--parchment); --field: rgba(18,41,31,.045); color-scheme: light; }
.tone-linen { --bg: var(--linen); --fg: var(--green); --muted: #46544A; --rule: rgba(18,41,31,.18); --accent: var(--bronze); --accent-ink: var(--parchment); --field: rgba(255,255,255,.45); color-scheme: light; }
[class*="tone-"] { background: var(--bg); color: var(--fg); }

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-left: max(var(--pad-x), env(safe-area-inset-left, 0px));
  padding-right: max(var(--pad-x), env(safe-area-inset-right, 0px));
}
.floor { padding-block: var(--floor); position: relative; }
.floor--tight { padding-block: clamp(64px, 8vw, 120px); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 36px); row-gap: 40px; }
.grid > * { min-width: 0; }
.col-1-7 { grid-column: 1 / span 7; } .col-1-6 { grid-column: 1 / span 6; } .col-1-5 { grid-column: 1 / span 5; } .col-1-8 { grid-column: 1 / span 8; }
.col-8-5 { grid-column: 8 / span 5; } .col-7-6 { grid-column: 7 / span 6; } .col-9-4 { grid-column: 9 / span 4; } .col-6-7 { grid-column: 6 / span 7; }
.col-full { grid-column: 1 / -1; }
@media (max-width: 900px) { .grid > [class*="col-"] { grid-column: 1 / -1; } }
.stack > * + * { margin-top: var(--stack, 1.1em); }

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
.display-xl, .display-l, .display-m, .display-s, .h-cinzel { font-family: var(--font-display); font-weight: 400; text-wrap: balance; font-feature-settings: "kern", "liga"; }
.display-xl { font-size: clamp(2.55rem, 6.4vw, 6.6rem); line-height: 1.02; letter-spacing: .005em; }
.display-l { font-size: clamp(2.15rem, 4.5vw, 4.4rem); line-height: 1.06; letter-spacing: .01em; }
.display-m { font-size: clamp(1.7rem, 2.9vw, 2.8rem); line-height: 1.12; letter-spacing: .015em; }
.display-s { font-size: clamp(1.25rem, 1.8vw, 1.65rem); line-height: 1.25; letter-spacing: .03em; }
.lead { font-size: clamp(1.14rem, 1.45vw, 1.42rem); font-weight: 300; line-height: 1.6; max-width: 36em; color: var(--fg); text-wrap: pretty; }
.lead--xl { font-size: clamp(1.45rem, 2.4vw, 2.3rem); line-height: 1.42; font-weight: 300; max-width: 30em; letter-spacing: -.005em; }
p { margin: 0; text-wrap: pretty; }
.muted { color: var(--muted); }
.small { font-size: .875rem; line-height: 1.6; }
.tiny { font-size: .8rem; line-height: 1.55; }
.engraved { font-family: var(--font-display); font-weight: 500; font-size: .8rem; letter-spacing: .26em; line-height: 1.5; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.measure { max-width: 34em; }
.accent { color: var(--accent); }

/* string course: hairline with a lozenge */
.course { display: flex; align-items: center; gap: 14px; color: var(--accent); }
.course::before, .course::after { content: ""; height: 1px; flex: 1; background: var(--rule); }
.course i { width: 7px; height: 7px; background: currentColor; transform: rotate(45deg); flex: none; }
.course--left::before { flex: 0 0 48px; }
.hair { height: 1px; background: var(--rule); border: 0; margin: 0; }

/* ---------- buttons and links ---------- */
.btn {
  --b-bg: var(--accent); --b-fg: var(--accent-ink);
  display: inline-flex; align-items: center; gap: .8em; min-height: 52px; padding: 0 1.6em;
  background: var(--b-bg); color: var(--b-fg); border: 1px solid var(--b-bg);
  font-family: var(--font-text); font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  text-decoration: none; cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease-out), border-color .45s var(--ease-out), transform .35s var(--ease-out);
}
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fg); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .5s var(--ease-out); }
.btn:hover::after, .btn:focus-visible::after { transform: scaleY(1); }
.btn:hover, .btn:focus-visible { color: var(--bg); border-color: var(--fg); }
.btn:active { transform: translateY(1px); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--fg); border-color: var(--rule); }
.btn--ghost:hover, .btn--ghost:focus-visible { border-color: var(--fg); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }

.link { color: var(--fg); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .45s var(--ease-out), color .3s; }
.link:hover, .link:focus-visible { background-size: 0 1px; background-position: 100% 100%; color: var(--accent); }
.arrow-link { display: inline-flex; align-items: center; gap: .65em; font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--fg); }
.arrow-link .arr { width: 34px; height: 1px; background: currentColor; position: relative; transition: width .45s var(--ease-out); }
.arrow-link .arr::after { content: ""; position: absolute; right: 0; top: -3.5px; width: 8px; height: 8px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.arrow-link:hover .arr, .arrow-link:focus-visible .arr { width: 52px; }
.arrow-link:hover { color: var(--accent); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: transform .6s var(--ease-out), background-color .5s var(--ease-out), box-shadow .5s;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.site-header.is-solid { background: rgba(18, 41, 31, .92); backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px) saturate(1.1); box-shadow: 0 1px 0 rgba(210,178,122,.18); }
.site-header.is-hidden { transform: translateY(-110%); }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--parchment); }
.brand img { height: 46px; width: auto; }
.brand .brand__word { height: 17px; }
.header-actions { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); }
.header-link { font-size: .9rem; font-weight: 600; letter-spacing: .02em; text-decoration: none; color: var(--parchment); }
.header-link:hover { color: var(--brass-hi); }
.menu-toggle {
  display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 2px; background: none; border: 0; cursor: pointer;
  color: var(--parchment); font-family: var(--font-display); font-size: .82rem; letter-spacing: .26em; font-weight: 500;
}
.menu-toggle .bars { width: 30px; height: 10px; position: relative; }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .5s var(--ease-out), top .5s var(--ease-out); }
.menu-toggle .bars::before { top: 0; } .menu-toggle .bars::after { top: 9px; left: 8px; }
.menu-toggle:hover .bars::after { left: 0; }
.menu-open .menu-toggle .bars::before { top: 5px; transform: rotate(18deg); }
.menu-open .menu-toggle .bars::after { top: 5px; left: 0; transform: rotate(-18deg); }
@media (max-width: 640px) { .header-link { display: none; } .brand .brand__word { display: none; } .brand img { height: 40px; } }

/* ---------- fullscreen menu (after the 21st.dev fullscreen navigation pattern) ---------- */
.menu { position: fixed; inset: 0; z-index: 45; visibility: hidden; pointer-events: none; }
.menu__bg { position: absolute; inset: 0; background: var(--ink); clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io); }
.menu__inner { position: relative; height: 100%; overflow-y: auto; padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 2vh); padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); opacity: 0; transition: opacity .4s ease .1s; }
.menu.is-open { visibility: visible; pointer-events: auto; }
.menu.is-open .menu__bg { clip-path: inset(0 0 0 0); }
.menu.is-open .menu__inner { opacity: 1; transition-delay: .35s; }
.menu__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.menu__list { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.menu__list li { overflow: hidden; border-bottom: 1px solid rgba(210,178,122,.16); }
.menu__list a { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: clamp(8px, 1.3vh, 14px) 0; text-decoration: none; color: var(--parchment); font-family: var(--font-display); font-size: clamp(1.6rem, 3.6vw, 3.1rem); line-height: 1.12; letter-spacing: .02em; transform: translateY(105%); transition: transform .9s var(--ease-out), color .3s; }
.menu.is-open .menu__list a { transform: none; }
.menu__list li:nth-child(2) a { transition-delay: .04s; } .menu__list li:nth-child(3) a { transition-delay: .08s; } .menu__list li:nth-child(4) a { transition-delay: .12s; } .menu__list li:nth-child(5) a { transition-delay: .16s; } .menu__list li:nth-child(6) a { transition-delay: .2s; } .menu__list li:nth-child(7) a { transition-delay: .24s; } .menu__list li:nth-child(8) a { transition-delay: .28s; } .menu__list li:nth-child(9) a { transition-delay: .32s; }
.menu__list a small { font-family: var(--font-text); font-size: .82rem; letter-spacing: .02em; color: var(--sage); font-weight: 500; white-space: nowrap; }
.menu__list a:hover, .menu__list a:focus-visible, .menu__list a[aria-current="page"] { color: var(--brass-hi); }
.menu__aside { position: sticky; top: 0; display: grid; gap: 22px; }
.menu__window { aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; overflow: hidden; position: relative; background: var(--hunter); max-height: 58vh; }
.menu__window img, .menu__window video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease-out), transform 1.2s var(--ease-out); transform: scale(1.06); }
.menu__window .is-on { opacity: 1; transform: none; }
.menu__meta { display: grid; gap: 6px; color: var(--sage); font-size: .9rem; }
.menu__meta strong { color: var(--parchment); font-weight: 600; }
@media (max-width: 900px) { .menu__grid { grid-template-columns: 1fr; } .menu__aside { position: static; } .menu__window { display: none; } }

/* ---------- curtain (page transition) ---------- */
.curtain { position: fixed; inset: 0; z-index: 90; background: var(--green); display: grid; place-items: center; pointer-events: none; transform: translateY(100%); }
.curtain img { width: 76px; opacity: .95; }
.curtain.is-cover { transform: none; transition: transform .55s var(--ease-io); pointer-events: auto; }
.curtain.is-lift { transform: translateY(-100%); transition: transform .8s var(--ease-io); }
.curtain.is-instant { transition: none; transform: none; }

/* ---------- home hero: the doorway ---------- */
.hero { position: relative; overflow: clip; background: var(--green); }
.hero__grid { position: relative; z-index: 4; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; column-gap: 5vw; padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 3vh); padding-bottom: 7vh; }
.hero__copy { display: grid; gap: 26px; max-width: 640px; position: relative; z-index: 5; }
.hero__address { color: var(--brass-hi); }
.hero__h1 { font-size: clamp(2.6rem, 5.3vw, 5.8rem); line-height: 1.02; }
.hero__h1 .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__h1 .line > span { display: inline-block; }
.hero__lead { color: var(--parchment); opacity: .9; max-width: 30em; }
.hero__door { position: relative; justify-self: end; width: min(100%, 520px); height: calc(100svh - var(--header-h) - 20vh); min-height: 440px; max-height: 760px; border-radius: 999px 999px 0 0; overflow: hidden; background: var(--hunter); }
.hero__film { position: absolute; inset: 0; z-index: 1; background: var(--hunter); }
.hero__film video, .hero__film img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,26,19,.45) 0%, rgba(10,26,19,0) 30%, rgba(10,26,19,0) 65%, rgba(10,26,19,.45) 100%); pointer-events: none; }
.hero__frame { position: absolute; z-index: 3; pointer-events: none; inset: -14px -14px 0 -14px; display: none; }
.hero__frame svg { width: 100%; height: 100%; overflow: visible; }
.hero__frame path { fill: none; stroke: var(--brass-hi); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hero__fan { position: absolute; z-index: 3; left: 50%; top: 6%; width: 22%; transform: translateX(-50%); pointer-events: none; filter: drop-shadow(0 6px 22px rgba(10,26,19,.55)); }
.hero__fan svg { width: 100%; height: auto; overflow: visible; }
.hero__fan path { fill: var(--brass-hi); }
.hero--expand .hero__door { overflow: visible; background: transparent; }
.hero--expand .hero__frame { display: block; }
.hero--expand > .hero__film { position: absolute; inset: 0; z-index: 1; will-change: clip-path; }
.hero__scrim { position: absolute; inset: 0; z-index: 2; background: radial-gradient(ellipse at 50% 46%, rgba(10,26,19,.58), rgba(10,26,19,.28) 60%, rgba(10,26,19,.52)); opacity: 0; pointer-events: none; }
.hero__overlay { position: absolute; inset: auto 0 0 0; z-index: 4; padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px)); opacity: 0; visibility: hidden; }
.hero__overlay .row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; border-top: 1px solid rgba(243,236,221,.32); padding-top: 22px; padding-right: 170px; }
.hero__overlay a { text-decoration: none; color: var(--parchment); display: grid; gap: 6px; align-content: start; }
.hero__overlay a span:first-child { font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.9rem); letter-spacing: .03em; }
.hero__overlay a span:last-child { font-size: .9rem; color: rgba(243,236,221,.84); }
.hero__overlay a:hover span:first-child { color: var(--brass-hi); }
.hero__statement { position: absolute; z-index: 4; left: 0; right: 0; top: 44%; transform: translateY(-50%); text-align: center; opacity: 0; visibility: hidden; color: var(--parchment); text-shadow: 0 2px 30px rgba(10,26,19,.55); }
.hero__cue { position: absolute; z-index: 5; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--sage); font-size: .75rem; letter-spacing: .18em; }
.hero__cue i { width: 1px; height: 42px; background: linear-gradient(var(--brass-hi), transparent); animation: cue 2.4s var(--ease-io) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.film-toggle { position: absolute; z-index: 6; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; background: rgba(10,26,19,.5); border: 1px solid rgba(243,236,221,.3); color: var(--parchment); font-size: .8rem; font-weight: 600; letter-spacing: .04em; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.film-toggle:hover { border-color: var(--brass-hi); color: var(--brass-hi); }
.film-toggle svg { width: 12px; height: 12px; fill: currentColor; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); align-content: start; row-gap: 34px; padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 3svh); padding-bottom: 28px; min-height: 0; }
  .hero__copy { gap: 16px; }
  .hero__h1 { font-size: clamp(2.3rem, 10.5vw, 3.6rem); }
  .hero__lead { font-size: 1.02rem; }
  .hero__door { justify-self: stretch; width: 100%; height: 64svh; min-height: 380px; max-height: 620px; }
  .hero__fan { width: 26%; top: 7%; }
  .hero__cue, .hero__overlay, .hero__statement, .hero__scrim { display: none; }
}

/* ---------- inner page hero ---------- */
.page-hero { position: relative; padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(32px, 6vw, 88px)); padding-bottom: clamp(56px, 8vw, 112px); overflow: clip; }
.page-hero .grid { align-items: end; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px 12px; font-size: .82rem; color: var(--muted); margin-bottom: 22px; list-style: none; padding: 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs li + li::before { content: ""; display: inline-block; width: 5px; height: 5px; background: var(--accent); transform: rotate(45deg); margin-right: 12px; vertical-align: middle; }
.page-hero__title { margin-bottom: 26px; font-size: clamp(2rem, 4.6vw, 5rem); }
@media (max-width: 480px) { .page-hero__title { font-size: 8.4vw; } }
.page-hero__media { position: relative; }
.arch { border-radius: 999px 999px 0 0; overflow: hidden; position: relative; background: var(--hunter); isolation: isolate; }
.arch img, .arch video { width: 100%; height: 100%; object-fit: cover; }
.arch--frame::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(243,236,221,.42); border-bottom: 0; border-radius: 999px 999px 0 0; pointer-events: none; }
.page-hero__media .arch { aspect-ratio: 4 / 5; max-height: 78vh; margin-left: auto; width: 100%; }
.page-hero__media .caption { margin-top: 12px; font-size: .8rem; color: var(--muted); }
.page-hero__keys { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--rule); font-size: .9rem; color: var(--muted); }
.page-hero__keys b { color: var(--fg); font-weight: 600; }

/* ---------- statement ---------- */
.facts { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.facts li { display: grid; grid-template-columns: minmax(0, 9em) minmax(0, 1fr); gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: .95rem; }
.facts li span:first-child { color: var(--muted); }
.facts li span:last-child { color: var(--fg); }

/* ---------- hover list (after the 21st.dev hover image list) ---------- */
.hoverlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.hoverlist li { border-bottom: 1px solid var(--rule); }
.hoverlist a { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) auto; gap: 24px; align-items: center; padding: clamp(22px, 3vw, 40px) 0; text-decoration: none; color: var(--fg); position: relative; }
.hoverlist .name { font-family: var(--font-display); font-size: clamp(1.7rem, 3.6vw, 3.4rem); line-height: 1.06; letter-spacing: .015em; transition: transform .6s var(--ease-out), color .4s; }
.hoverlist .desc { color: var(--muted); font-size: 1rem; max-width: 30em; }
.hoverlist .go { width: 52px; height: 52px; border: 1px solid var(--rule); border-radius: 50%; display: grid; place-items: center; transition: background .4s var(--ease-out), border-color .4s, transform .5s var(--ease-out); }
.hoverlist .go svg { width: 16px; height: 16px; stroke: currentColor; fill: none; }
.hoverlist a:hover .name, .hoverlist a:focus-visible .name { transform: translateX(18px); color: var(--accent); }
.hoverlist a:hover .go, .hoverlist a:focus-visible .go { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: rotate(-45deg); }
.hoverlist__thumb { display: none; }
.hover-preview { position: fixed; left: 0; top: 0; z-index: 30; width: clamp(220px, 20vw, 320px); aspect-ratio: 4 / 5; pointer-events: none; opacity: 0; transform: translate3d(-50%, -50%, 0) scale(.86); transition: opacity .35s var(--ease-out); border-radius: 999px 999px 0 0; overflow: hidden; background: var(--hunter); box-shadow: 0 30px 80px rgba(10,26,19,.35); }
.hover-preview.is-on { opacity: 1; }
.hover-preview img, .hover-preview video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.hover-preview .is-on { opacity: 1; }
@media (max-width: 900px), (hover: none) {
  .hoverlist a { grid-template-columns: minmax(0,1fr) auto; }
  .hoverlist .desc { grid-column: 1 / -1; grid-row: 2; }
  .hoverlist__thumb { display: block; grid-column: 1 / -1; grid-row: 3; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; }
  .hoverlist__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .hover-preview { display: none; }
}

/* ---------- lifecycle sequence (pinned horizontal on wide screens) ---------- */
.sequence { position: relative; overflow: clip; }
.sequence__head { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 28px; margin-bottom: clamp(36px, 5vw, 64px); }
.sequence__track { display: flex; gap: clamp(18px, 2.4vw, 36px); width: max-content; padding-left: max(var(--pad-x), env(safe-area-inset-left, 0px)); padding-right: max(var(--pad-x), env(safe-area-inset-right, 0px)); }
.step { width: clamp(300px, 30vw, 440px); flex: none; display: grid; grid-template-rows: auto auto 1fr; gap: 18px; padding-top: 22px; border-top: 1px solid var(--rule); }
.step__no { font-family: var(--font-display); color: var(--accent); font-size: 1rem; letter-spacing: .2em; }
.step__media { aspect-ratio: 5 / 6; border-radius: 999px 999px 0 0; overflow: hidden; background: var(--hunter); }
.step__media img, .step__media video { width: 100%; height: 100%; object-fit: cover; }
.step h3 { font-family: var(--font-display); font-size: clamp(1.4rem, 2vw, 1.9rem); letter-spacing: .02em; line-height: 1.15; }
.step p { color: var(--muted); font-size: .98rem; }
.step .lead-by { font-size: .82rem; color: var(--accent); font-weight: 600; letter-spacing: .03em; }
.sequence__progress { height: 1px; background: var(--rule); margin-top: 40px; position: relative; }
.sequence__progress i { position: absolute; inset: 0 auto 0 0; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.sequence.is-static .sequence__track { flex-wrap: wrap; width: auto; row-gap: clamp(36px, 5vw, 64px); }
/* pinned on wide screens: the section fills one screen, the introduction travels as the first panel,
   and every step can be read in full while it passes */
.sequence.is-pinned { height: 100vh; height: 100svh; min-height: 600px; display: flex; flex-direction: column; padding-block: clamp(40px, 8vh, 96px) clamp(24px, 4.5vh, 48px); }
.sequence.is-pinned .sequence__track { flex: 1 1 auto; min-height: 0; align-items: stretch; }
.sequence__intro { flex: none; width: clamp(340px, 33vw, 520px); padding-right: clamp(12px, 3vw, 56px); display: flex; flex-direction: column; }
.sequence__intro .sequence__head { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(18px, 3vh, 30px); margin: 0; }
.sequence__intro .display-l { font-size: clamp(2.1rem, 3.3vw, 3.6rem); }
.sequence.is-pinned .step { width: clamp(280px, min(30vw, 58vh), 440px); grid-template-rows: auto minmax(0, 1fr) auto; height: 100%; }
.sequence.is-pinned .step__media { aspect-ratio: auto; height: 100%; min-height: 0; }
.sequence.is-pinned .sequence__progress { margin-top: clamp(14px, 2.5vh, 28px); }
@supports (grid-template-rows: subgrid) {
  /* one shared grid, so images and text line up across every step whatever the length of the text */
  .sequence.is-pinned .sequence__track { display: grid; grid-auto-flow: column; grid-template-rows: auto minmax(0, 1fr) auto; row-gap: 18px; column-gap: clamp(18px, 2.4vw, 36px); }
  .sequence.is-pinned .sequence__intro { grid-row: 1 / -1; }
  .sequence.is-pinned .step { grid-row: span 3; grid-template-rows: subgrid; height: auto; gap: inherit; row-gap: 18px; }
}
@media (max-width: 900px) {
  .sequence__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
  .sequence__track::-webkit-scrollbar { display: none; }
  .step { width: min(82vw, 380px); scroll-snap-align: start; }
}

/* ---------- arched neighbourhood carousel ---------- */
.arches { display: flex; gap: clamp(16px, 2vw, 30px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; scrollbar-width: thin; scrollbar-color: var(--accent) transparent; cursor: grab; overscroll-behavior-x: contain; }
.arches.is-drag { cursor: grabbing; scroll-snap-type: none; }
.arches::-webkit-scrollbar { height: 2px; } .arches::-webkit-scrollbar-thumb { background: var(--accent); }
.arch-card { flex: none; width: clamp(250px, 24vw, 360px); scroll-snap-align: start; text-decoration: none; color: var(--fg); display: grid; gap: 16px; }
.arch-card .arch { aspect-ratio: 3 / 4; }
.arch-card .arch img, .arch-card .arch video { transition: transform 1.4s var(--ease-out); }
.arch-card:hover .arch img, .arch-card:hover .arch video { transform: scale(1.05); }
.arch-card h3 { font-family: var(--font-display); font-size: 1.45rem; letter-spacing: .03em; }
.arch-card p { color: var(--muted); font-size: .95rem; }
.carousel-nav { display: flex; gap: 10px; }
.carousel-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--rule); background: transparent; color: var(--fg); cursor: pointer; display: grid; place-items: center; transition: background .35s, color .35s, border-color .35s; }
.carousel-nav button:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.carousel-nav svg { width: 16px; height: 16px; stroke: currentColor; fill: none; }

/* ---------- tools ---------- */
.tool { border: 1px solid var(--rule); background: var(--field); padding: clamp(22px, 3vw, 40px); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 3.4vw, 56px); }
.tool__title { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.tool__title h3 { font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 1.8rem); letter-spacing: .03em; }
.tool__inputs { display: grid; gap: 20px; align-content: start; }
.field { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); min-width: 0; }
.field > * { min-width: 0; }
.field label, .field .lbl { font-size: .85rem; font-weight: 600; color: var(--fg); letter-spacing: .01em; }
.field .hint { font-size: .8rem; color: var(--muted); }
.input { display: flex; align-items: center; border-bottom: 1px solid var(--fg); transition: border-color .3s; }
.input:focus-within { border-color: var(--accent); }
.input span { font-family: var(--font-text); font-weight: 300; font-size: 1.4rem; color: var(--muted); padding-right: 6px; }
.input input, .input select { flex: 1 1 auto; width: 0; min-width: 0; background: transparent; border: 0; color: var(--fg); font-family: var(--font-text); font-weight: 300; font-size: clamp(1.4rem, 2.4vw, 2rem); padding: 6px 0 10px; outline: none; font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.01em; }
.input--sm input, .input--sm select { font-size: 1.15rem; font-family: var(--font-text); font-weight: 600; }
.input--sm span { font-size: 1.05rem; font-family: var(--font-text); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 1px; background: var(--rule); }
input[type="range"]::-moz-range-track { height: 1px; background: var(--rule); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -9px; background: var(--accent); transform: rotate(45deg); border: 0; }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; background: var(--accent); border: 0; border-radius: 0; transform: rotate(45deg); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { cursor: pointer; padding: 10px 14px; min-height: 44px; display: inline-flex; align-items: center; border: 1px solid var(--rule); font-size: .88rem; font-weight: 600; color: var(--fg); transition: background .3s, color .3s, border-color .3s; }
.seg input:checked + label { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.seg input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.check { display: inline-flex; gap: 12px; align-items: center; cursor: pointer; font-size: .92rem; min-height: 44px; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); }
.tool__result { display: grid; gap: 18px; align-content: start; border-left: 1px solid var(--rule); padding-left: clamp(20px, 3vw, 48px); }
.result-big { font-family: var(--font-text); font-weight: 300; font-size: clamp(2.4rem, 4.6vw, 4.1rem); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums lining-nums; }
.result-sub { color: var(--muted); font-size: .92rem; }
.kv { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px 18px; font-size: .92rem; border-top: 1px solid var(--rule); padding-top: 14px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums lining-nums; }
.bands { display: grid; gap: 10px; }
.band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; font-size: .84rem; }
.band .bar { grid-column: 1 / -1; height: 6px; background: var(--rule); position: relative; overflow: hidden; }
.band .bar i { position: absolute; inset: 0 auto 0 0; background: var(--accent); width: 100%; transform-origin: 0 50%; transform: scaleX(var(--w, 0)); transition: transform .6s var(--ease-out); }
.band .r { color: var(--muted); font-variant-numeric: tabular-nums; }
.tool__note { grid-column: 1 / -1; font-size: .8rem; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 14px; }
.verdict { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; }
.verdict i { width: 9px; height: 9px; transform: rotate(45deg); background: var(--accent); }
.verdict.is-bad i { background: #C7684C; }
@media (max-width: 900px) { .sequence__head { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) { .tool { grid-template-columns: 1fr; } .tool__result { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 22px; } }

/* ---------- cards (journal) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 36px); }
.card { display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; text-decoration: none; color: var(--fg); padding-top: 18px; border-top: 1px solid var(--rule); }
.card__media { aspect-ratio: 16 / 11; overflow: hidden; background: var(--hunter); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.card:hover .card__media img { transform: scale(1.05); }
.card h3 { font-family: var(--font-display); font-size: clamp(1.2rem, 1.6vw, 1.5rem); line-height: 1.22; letter-spacing: .02em; }
.card p { color: var(--muted); font-size: .95rem; }
.card .meta { font-size: .8rem; color: var(--muted); display: flex; gap: 14px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }
.cards--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .cards--two { grid-template-columns: 1fr; } }

/* ---------- services and lists ---------- */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 64px); }
.service { padding: 26px 0; border-top: 1px solid var(--rule); display: grid; gap: 10px; }
.service h3 { font-family: var(--font-display); font-size: clamp(1.2rem, 1.6vw, 1.45rem); letter-spacing: .03em; line-height: 1.25; }
.service p { color: var(--muted); }
.service ul { margin: 6px 0 0; padding-left: 0; list-style: none; display: grid; gap: 6px; }
.service li { padding-left: 18px; position: relative; font-size: .95rem; }
.service li::before { content: ""; position: absolute; left: 0; top: .68em; width: 6px; height: 6px; background: var(--accent); transform: rotate(45deg); }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; } }

.process { list-style: none; padding: 0; margin: 0; counter-reset: p; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 48px); }
.process li { counter-increment: p; padding: 26px 0 30px; border-top: 1px solid var(--rule); display: grid; gap: 10px; align-content: start; }
.process li::before { content: counter(p, upper-roman); font-family: var(--font-display); color: var(--accent); letter-spacing: .14em; font-size: 1rem; }
.process h3 { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: .03em; }
.process p { color: var(--muted); font-size: .97rem; }
@media (max-width: 900px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.checklist li { display: grid; grid-template-columns: 34px minmax(0, 1fr) minmax(0, 12em); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.checklist .tick { width: 24px; height: 24px; border: 1px solid var(--accent); display: grid; place-items: center; transform: rotate(45deg); margin-top: 4px; cursor: pointer; background: transparent; padding: 0; }
.checklist .tick::after { content: ""; width: 10px; height: 10px; background: var(--accent); transform: scale(0); transition: transform .35s var(--ease-out); }
.checklist li.is-done .tick::after { transform: scale(1); }
.checklist strong { font-weight: 600; display: block; }
.checklist span { color: var(--muted); font-size: .94rem; }
.checklist em { font-style: normal; font-size: .85rem; color: var(--accent); font-weight: 600; text-align: right; }
@media (max-width: 640px) { .checklist li { grid-template-columns: 34px minmax(0, 1fr); } .checklist em { grid-column: 2; text-align: left; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0,1fr) 28px; gap: 18px; align-items: center; padding: 22px 0; font-family: var(--font-display); font-size: clamp(1.08rem, 1.5vw, 1.35rem); letter-spacing: .02em; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 28px; height: 28px; position: relative; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 1px; background: var(--accent); transition: transform .45s var(--ease-out); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq .answer { padding: 0 0 24px; max-width: 46em; color: var(--muted); display: grid; gap: 12px; }

/* ---------- notice ---------- */
.notice { border: 1px solid var(--rule); padding: clamp(20px, 2.6vw, 34px); display: grid; gap: 12px; font-size: .93rem; color: var(--muted); }
.notice h3 { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .14em; color: var(--fg); }

/* ---------- split media ---------- */
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 96px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media .arch { aspect-ratio: 4 / 5; }
.split__media .frame { aspect-ratio: 4 / 3; overflow: hidden; background: var(--hunter); }
.split__media .frame img, .split__media .frame video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev .split__media { order: 0; } }

.quote { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.6rem); line-height: 1.25; letter-spacing: .01em; max-width: 26em; text-wrap: balance; }

/* ---------- big film band ---------- */
.filmband { position: relative; height: clamp(420px, 82vh, 860px); overflow: hidden; background: var(--ink); }
.filmband video, .filmband img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; }
.filmband::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,26,19,.15), rgba(10,26,19,.62)); }
.filmband .wrap { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(36px, 6vw, 80px); color: var(--parchment); }
.filmband .caption { font-size: .8rem; color: rgba(243,236,221,.78); margin-top: 18px; }

/* ---------- map ---------- */
.mapwrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.map { width: 100%; height: auto; }
.map .park { fill: rgba(176,141,87,.13); stroke: rgba(210,178,122,.35); stroke-width: 1; }
.map .water { fill: rgba(150,180,170,.18); }
.map .road { fill: none; stroke: rgba(243,236,221,.26); stroke-width: 1.2; }
.map .road--major { stroke: rgba(243,236,221,.42); stroke-width: 1.8; }
.map .river { fill: none; stroke: rgba(150,180,170,.35); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.map .lbl-road { fill: rgba(243,236,221,.42); font: 500 10px var(--font-text); letter-spacing: .12em; }
.map .lbl-park { fill: rgba(210,178,122,.75); font: 500 11px var(--font-display); letter-spacing: .14em; }
.map .area { cursor: pointer; outline: none; }
.map .area circle.halo { fill: rgba(210,178,122,.12); stroke: rgba(210,178,122,.5); transition: r .45s var(--ease-out), fill .3s; }
.map .area circle.dot { fill: var(--brass-hi); }
.map .area text { fill: var(--parchment); font: 500 15px var(--font-display); letter-spacing: .12em; }
.map .area:hover circle.halo, .map .area:focus circle.halo, .map .area.is-active circle.halo { fill: rgba(210,178,122,.3); }
.map .area:focus-visible text { text-decoration: underline; }
.map .office circle { fill: var(--brass-hi); }
.map .office text { fill: var(--brass-hi); font: 600 12px var(--font-text); letter-spacing: .08em; }
.map .office .pulse { fill: none; stroke: var(--brass-hi); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s var(--ease-out) infinite; }
@keyframes pulse { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
.map-card { border-top: 1px solid var(--rule); padding-top: 22px; display: grid; gap: 14px; min-height: 290px; align-content: start; }
.map-card h3 { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.4rem); letter-spacing: .03em; }
.map-card .stations { font-size: .9rem; color: var(--muted); }
@media (max-width: 900px) { .mapwrap { grid-template-columns: 1fr; } }

/* ---------- area sections ---------- */
.area-sec { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 96px); align-items: start; padding-block: clamp(56px, 7vw, 104px); border-top: 1px solid var(--rule); }
.area-sec:nth-of-type(even) .area-sec__media { order: -1; }
.area-sec__media { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; align-items: end; }
.area-sec__media .arch { aspect-ratio: 3 / 4; }
.area-sec__media .frame { aspect-ratio: 3 / 4; overflow: hidden; background: var(--hunter); }
.area-sec__media .frame img { width: 100%; height: 100%; object-fit: cover; }
.area-sec__media .cap { grid-column: 1 / -1; font-size: .8rem; color: var(--muted); }
.area-sec h2 { margin-bottom: 18px; }
.area-sec .stack { --stack: 1.5em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { border: 1px solid var(--rule); padding: 6px 12px; font-size: .82rem; color: var(--fg); }
@media (max-width: 900px) { .area-sec { grid-template-columns: 1fr; } .area-sec:nth-of-type(even) .area-sec__media { order: 0; } }

/* ---------- article ---------- */
.article-hero { padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(32px, 6vw, 80px)); padding-bottom: clamp(40px, 5vw, 72px); }
.article-hero .meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .88rem; margin-top: 26px; }
.prose { max-width: 44rem; font-size: 1.075rem; line-height: 1.78; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-family: var(--font-display); font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1.2; letter-spacing: .02em; margin-top: 2.2em; }
.prose h3 { font-family: var(--font-text); font-weight: 700; font-size: 1.1rem; margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--fg); text-decoration-color: var(--accent); }
.prose a:hover { color: var(--accent); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose th { font-weight: 700; background: var(--field); }
.prose td.n, .prose th.n { text-align: right; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.table-scroll { overflow-x: auto; }
.prose aside, .callout { border-left: 2px solid var(--accent); padding: 4px 0 4px 20px; color: var(--muted); }
.prose .sources { font-size: .88rem; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 20px; }
.prose .sources li { overflow-wrap: anywhere; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 10px; font-size: .9rem; align-content: start; align-self: start; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover, .toc a.is-active { color: var(--accent); }
.article-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(24px, 5vw, 88px); }
@media (max-width: 1000px) { .article-grid { grid-template-columns: minmax(0, 1fr); } .toc { position: static; } }
.article-grid > * { min-width: 0; }

/* ---------- contact ---------- */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 28px; }
.form .full { grid-column: 1 / -1; }
.form .field input, .form .field select, .form .field textarea { width: 100%; min-width: 0; background: transparent; border: 0; border-bottom: 1px solid var(--fg); color: var(--fg); font: 500 1.05rem var(--font-text); padding: 10px 0 12px; outline: none; border-radius: 0; transition: border-color .3s; }
.form .field textarea { min-height: 140px; resize: vertical; }
.form .field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.form .field input:focus, .form .field select:focus, .form .field textarea:focus { border-color: var(--accent); }
.form .err { color: #9E3B26; font-size: .82rem; min-height: 1.2em; }
.tone-green .form .err, .tone-hunter .form .err { color: #F0A58E; }
.form [aria-invalid="true"] { border-color: #C7684C !important; }
@media (max-width: 700px) { .form { grid-template-columns: 1fr; } }
.ready { border: 1px solid var(--rule); padding: 26px; display: grid; gap: 14px; }
.ready pre { white-space: pre-wrap; font: 400 .92rem/1.6 var(--font-text); background: var(--field); padding: 16px; margin: 0; max-height: 280px; overflow: auto; }
.email-reveal { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.email-reveal output { font-weight: 600; font-size: 1.05rem; user-select: all; }
.reveal-link { color: inherit; text-decoration: none; border-bottom: 1px solid var(--accent); }
.reveal-link:hover { color: var(--accent); }
.copy-btn { background: none; border: 1px solid var(--rule); color: var(--fg); min-height: 40px; padding: 0 14px; font-size: .85rem; font-weight: 600; cursor: pointer; }
.copy-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- closing band and seal ---------- */
.closing { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 96px); align-items: center; }
.seal { position: relative; width: min(100%, 420px); aspect-ratio: 1; margin-inline: auto; }
.seal img { position: absolute; inset: 0; width: 100%; height: 100%; }
.seal .ring { animation: spin 60s linear infinite; }
.seal .core { width: 46%; height: auto; inset: 0; margin: auto; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .closing { grid-template-columns: 1fr; } .seal { width: min(70vw, 300px); } }

/* ---------- footer (after the 21st.dev large name footer) ---------- */
.site-footer { padding-top: clamp(64px, 8vw, 120px); padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px)); }
.footer__cols { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 32px clamp(20px, 3vw, 48px); padding-bottom: clamp(44px, 6vw, 80px); }
.footer__cols h2 { font-family: var(--font-display); font-size: .82rem; letter-spacing: .24em; color: var(--brass-hi); margin-bottom: 16px; font-weight: 500; }
.footer__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer__cols a { color: var(--parchment); text-decoration: none; font-size: .95rem; }
.footer__cols a:hover { color: var(--brass-hi); }
.footer__intro { display: grid; gap: 18px; align-content: start; max-width: 26em; }
.footer__intro img { width: 150px; }
.footer__word { width: 100%; height: auto; opacity: .95; margin-block: clamp(10px, 2vw, 24px); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 22px; border-top: 1px solid var(--rule); font-size: .8rem; color: var(--muted); }
.footer__legal a { color: var(--muted); }
@media (max-width: 900px) { .footer__cols { grid-template-columns: 1fr 1fr; } .footer__intro { grid-column: 1 / -1; } }

/* ---------- motion helpers ---------- */
.parallax { will-change: transform; }
.reveal-line { display: block; overflow: hidden; }
.magnetic { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .seal .ring { animation: none; }
}
@media print { .site-header, .menu, .curtain, .film-toggle, .hero__cue { display: none !important; } }

.fig { font-family: var(--font-text); font-weight: 600; letter-spacing: .1em; font-size: .92em; }
.display-xl .fig, .display-l .fig, .display-m .fig { font-weight: 300; letter-spacing: 0; font-size: .86em; }
h2 .fig, h3 .fig, .h-cinzel .fig { font-weight: 400; letter-spacing: .02em; font-size: .9em; }
.hero__address { font-family: var(--font-text); font-weight: 500; font-size: .86rem; letter-spacing: .08em; line-height: 1.5; }

/* ---------- Google reviews (home floor and footer badge) ---------- */
.stars { display: inline-flex; gap: 3px; color: var(--accent); vertical-align: middle; }
.stars svg { width: 15px; height: 15px; fill: currentColor; }
.stars--lg svg { width: 22px; height: 22px; }
.rating { display: grid; gap: 10px; justify-items: start; min-width: 0; }
.rating__score { display: flex; align-items: center; gap: 16px; margin: 0; }
.rating__num { font-family: var(--font-text); font-weight: 300; font-size: clamp(2.8rem, 4.6vw, 4.2rem); line-height: 1; letter-spacing: -.01em; color: var(--fg); }
.rating__count { margin: 0; font-size: .95rem; color: var(--muted); }
.rating__links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 6px 0 0; }
.reviews__track { margin-top: clamp(28px, 4vw, 56px); align-items: stretch; }
.review { width: clamp(280px, 30vw, 430px); margin: 0; padding: clamp(24px, 2.4vw, 34px); border: 1px solid var(--rule); background: rgba(243, 236, 221, .035); align-content: start; grid-template-rows: auto 1fr auto auto; cursor: default; }
.review blockquote { margin: 0; font-size: 1rem; line-height: 1.75; color: var(--fg); }
.review blockquote p { margin: 0 0 .8em; }
.review blockquote p:last-child { margin-bottom: 0; }
.review blockquote p:first-child::before { content: "\201C"; font-family: var(--font-display); color: var(--accent); margin-right: .08em; }
.review blockquote p:last-child::after { content: "\201D"; font-family: var(--font-display); color: var(--accent); margin-left: .04em; }
.review--long blockquote { display: -webkit-box; -webkit-line-clamp: 8; line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.review--long.is-open blockquote { display: block; -webkit-line-clamp: unset; overflow: visible; }
.review__more { justify-self: start; background: none; border: 0; padding: 6px 0; min-height: 44px; color: var(--accent); font-weight: 600; font-size: .9rem; cursor: pointer; text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; }
.review__more:hover { color: var(--fg); }
.review figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: .9rem; }
.review__name { font-weight: 600; color: var(--fg); }
.review__src { color: var(--muted); letter-spacing: .04em; }
.reviews__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 22px; }
.reviews__foot p { margin: 0; max-width: 40em; }
.g-badge { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 16px; border: 1px solid var(--rule); color: var(--parchment); text-decoration: none; font-size: .88rem; width: fit-content; max-width: 100%; transition: border-color .3s, color .3s; }
.g-badge:hover, .g-badge:focus-visible { border-color: var(--brass-hi); }
.g-badge__score { font-weight: 600; letter-spacing: .04em; }
.g-badge .stars { color: var(--brass-hi); }
.g-badge .stars svg { width: 13px; height: 13px; }
.g-badge__txt { color: var(--muted); }
@media (max-width: 760px) { .review { width: min(86vw, 380px); } }
