/* Frances Ebbrell — site styles. Colours/fonts only from tokens.css. Bricolage Grotesque throughout. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html:not(.motion) { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--color-bg); color: var(--color-ink);
  font-family: var(--font-sans); font-size: 17px; line-height: 1.55; font-weight: 400;
  font-variation-settings: "wdth" 100; font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1; letter-spacing: -0.02em; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--color-pink); color: var(--color-on-pink); }
.wrap { width: 100%; max-width: var(--page); margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--color-surface); padding: 10px 16px; border-radius: var(--radius-pill); }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1.3; margin: 0; display: flex; align-items: center; gap: 10px; }
.muted { color: var(--color-ink-muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-pink); display: inline-block; flex: none; }
.dot.live { box-shadow: 0 0 0 0 var(--color-pink); animation: live 1.8s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.fine { font-size: 14px; color: var(--color-ink-muted); margin-top: 28px; }
.fine a { color: var(--color-ink); }
.fine a:hover { color: var(--color-pink-ink); }

/* ---------- Pills ---------- */
.pill { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 22px; border-radius: var(--radius-pill);
  font: 600 15px/1 var(--font-sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .25s var(--ease-out), color .25s var(--ease-out), border-color .25s var(--ease-out), transform .5s var(--ease-bounce); }
.pill:not(.magnetic):hover { transform: scale(1.06); }
.pill:active { transform: scale(.95); }
.pill svg { width: 17px; height: 17px; flex: none; }
.pill-ink { background: var(--color-ink); color: var(--color-surface); }
.pill-ink:hover { background: var(--color-pink); color: var(--color-on-pink); }
.pill-line { background: var(--color-surface); color: var(--color-ink); border-color: var(--color-line); }
.pill-line:hover { border-color: var(--color-ink); }
.pill-white { background: var(--color-surface); color: var(--color-ink); }
.pill-white:hover { background: var(--color-pink); color: var(--color-on-pink); }
.pill-line-white { background: transparent; color: var(--color-surface); border-color: var(--color-ink-muted); }
.pill-line-white:hover { border-color: var(--color-surface); }

/* ---------- Bar + menu ---------- */
.bar { position: fixed; inset: 0 0 auto; z-index: 40; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 clamp(16px, 3vw, 40px); background: var(--color-bg); transition: box-shadow .3s; }
.bar.is-scrolled { box-shadow: 0 1px 0 var(--color-line); }
.brand { text-decoration: none; color: var(--color-ink); font-size: 21px; font-weight: 800; letter-spacing: -0.04em; display: flex; align-items: center; gap: 8px; }
.brand span { font-size: 11px; font-weight: 600; letter-spacing: .12em; color: var(--color-ink-muted); font-variation-settings: "wdth" 100; }
.bar-actions { display: flex; gap: 8px; align-items: center; }
.menu-toggle { gap: 12px; }
.burger { display: grid; gap: 5px; width: 18px; }
.burger i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease-out); }
.menu-toggle[aria-expanded="true"] .burger i:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .burger i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
@media (max-width: 560px) { .bar .pill-ink span { display: none; } .bar .pill-ink { padding: 0 15px; } .menu-word { display: none; } .menu-toggle { padding: 0 15px; } .brand span { display: none; } }

.menu { position: fixed; inset: 0; z-index: 39; background: var(--color-bg); padding: 104px clamp(16px, 4vw, 48px) 32px; display: flex; flex-direction: column; justify-content: space-between; }
.menu[hidden] { display: none; }
.menu-links { list-style: none; margin: 0; padding: 0; }
.menu-links li { overflow: hidden; border-bottom: 1px solid var(--color-line); }
.menu-links a { display: flex; align-items: baseline; gap: 18px; text-decoration: none; color: var(--color-ink); padding: 6px 0;
  font-size: clamp(44px, 8vw, 120px); font-weight: 800; line-height: 1; letter-spacing: -0.05em; font-variation-settings: "wdth" 100;
  transition: color .25s, transform .5s var(--ease-out); }
.menu-links a span { font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--color-ink-muted); font-variation-settings: "wdth" 100; transform: translateY(-1.2em); }
.menu-links a:hover { color: var(--color-pink); transform: translateX(14px); }
.menu-foot { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 16px; }
.menu-foot a { color: var(--color-ink); text-decoration: none; font-weight: 500; }
.menu-foot a:hover { color: var(--color-pink-ink); }

/* ---------- Opening (hero + town fly-through) ---------- */
.opening { position: relative; --hero-h: 100svh; }
.opening-inner { position: relative; height: var(--hero-h); overflow: hidden; }
.window { position: absolute; inset: 0; z-index: 1; --open: 0; --wt: 31svh; --wx: 19vw; --wb: 3svh;
  clip-path: inset(calc(var(--wt) * (1 - var(--open))) calc(var(--wx) * (1 - var(--open))) calc(var(--wb) * (1 - var(--open))) calc(var(--wx) * (1 - var(--open))) round calc(var(--radius-photo) * (1 - var(--open)))); }
.stage { position: absolute; inset: 0; will-change: transform; }
.stage picture, .stage img { width: 100%; height: 100%; }
.stage img { object-fit: cover; object-position: 50% 45%; }
.credit { position: absolute; right: 12px; bottom: 12px; z-index: 2; margin: 0; font-size: 11px; color: var(--color-surface); background: var(--scrim); padding: 4px 8px; border-radius: 6px; }
.credit a { color: inherit; }
.marker { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--color-pink); box-shadow: 0 0 0 4px var(--color-surface);
  transform: translate(-50%, -50%) scale(var(--inv, 1)); opacity: 0; visibility: hidden; }
.marker::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--color-surface); animation: ping 1.9s var(--ease-out) infinite; }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }

.hero-title { position: absolute; z-index: 2; top: 92px; left: 0; right: 0; text-align: center; margin: 0;
  font-size: clamp(56px, 9.4vw, 172px); font-weight: 800; line-height: .9; letter-spacing: -0.055em; font-variation-settings: "wdth" 100; }
.hero-title .line { display: inline-block; overflow: hidden; padding: 0 .02em .04em; vertical-align: top; }
.hero-title .line > span { display: inline-block; }
.hero-cutout { position: absolute; z-index: 3; left: 50%; --cut-h: min(77svh, 980px); height: var(--cut-h); width: auto; top: calc(var(--hero-h) - var(--cut-h)); transform: translateX(-50%); pointer-events: none; }
.hero-meta { position: absolute; z-index: 3; left: clamp(16px, 3vw, 40px); bottom: 32px; width: calc(19vw - 44px); max-width: 250px; margin: 0; font-size: 15px; line-height: 1.45; color: var(--color-ink-muted); }
.hero-meta b { display: block; color: var(--color-ink); font-weight: 600; margin-bottom: 4px; }
.hero-scroll { position: absolute; z-index: 3; right: clamp(16px, 3vw, 40px); bottom: 32px; width: calc(19vw - 44px); max-width: 250px; margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.hero-scroll i { width: 8px; height: 8px; border-radius: 50%; background: var(--color-pink); animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }
@media (max-width: 1100px) { .hero-meta, .hero-scroll { display: none; } .window { --wx: 12vw; } }
@media (max-width: 700px) {
  .opening { --hero-h: 100svh; }
  .hero-title { top: 84px; font-size: 18.5vw; }
  .hero-title .line { display: block; }
  .window { --wt: 31svh; --wx: 16px; --wb: 16px; }
  .hero-cutout { --cut-h: 62svh; }
  .credit { font-size: 10px; }
}

/* Beats: static list without motion, floating cards with motion */
.beats { list-style: none; margin: 0; padding: clamp(48px, 8vw, 96px) clamp(16px, 4vw, 48px) 0; max-width: var(--page); margin-inline: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.beat { border-top: 1px solid var(--color-ink); padding-top: 18px; }
.beat-n { font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--color-ink-muted); }
.beat h2 { font-size: clamp(26px, 2.4vw, 34px); margin: 10px 0 10px; font-variation-settings: "wdth" 85; }
.beat p { margin: 0; color: var(--color-ink-muted); font-size: 16px; }
.beat a { color: var(--color-ink); font-weight: 600; }
.beat a:hover { color: var(--color-pink-ink); }
.ticks { display: none; }
html:not(.motion) .opening-inner { height: auto; min-height: var(--hero-h); padding-top: var(--hero-h); overflow: visible; }
html:not(.motion) .window, html:not(.motion) .hero-title, html:not(.motion) .hero-cutout, html:not(.motion) .hero-meta, html:not(.motion) .hero-scroll { position: absolute; }
html:not(.motion) .window { height: var(--hero-h); bottom: auto; }
html:not(.motion) .hero-meta, html:not(.motion) .hero-scroll { bottom: auto; top: calc(var(--hero-h) - 92px); }

.motion .opening-inner { height: 100vh; height: 100lvh; }
.motion .hero-cutout { top: auto; bottom: 0; --cut-h: min(77vh, 980px); }
@media (max-width: 700px) { .motion .hero-cutout { --cut-h: 62vh; } }
.motion .beats { position: absolute; z-index: 4; inset: auto auto 32px 32px; width: min(420px, calc(100% - 32px)); padding: 0; display: block; }
.motion .beat { position: absolute; left: 0; bottom: 0; width: 100%; background: var(--color-surface); border-top: 0; border-radius: var(--radius-card); padding: 26px 28px 28px; opacity: 0; visibility: hidden;
  box-shadow: 0 1px 2px rgb(15 15 15 / .06), 0 18px 48px rgb(15 15 15 / .16); }
.motion .marker { visibility: visible; }
.motion .ticks { display: grid; gap: 10px; position: absolute; z-index: 4; right: 28px; top: 50%; transform: translateY(-50%); }
.motion .ticks i { display: block; width: 18px; height: 3px; border-radius: 2px; background: var(--color-surface); opacity: .75; margin-left: auto; transition: width .4s var(--ease-out), background .3s, opacity .3s; box-shadow: 0 0 0 1px rgb(15 15 15 / .15); }
.motion .ticks i.on { width: 36px; background: var(--color-pink); opacity: 1; }
@media (max-width: 700px) { .motion .beats { inset: auto 12px 12px 12px; width: auto; } .motion .beat { padding: 22px 22px 24px; } .motion .ticks { right: 12px; top: 96px; transform: none; } }

/* ---------- Intro (word fill) ---------- */
.intro { padding: clamp(96px, 16vh, 180px) 0 clamp(80px, 12vh, 140px); }
.intro-text { font-size: clamp(30px, 4.4vw, 68px); font-weight: 500; line-height: 1.08; letter-spacing: -0.028em; font-variation-settings: "wdth" 85; max-width: 21em; margin: 0; }
.intro-text .w { transition: color .2s; }
.motion .intro-text .w { color: var(--color-fill-faint); }
.face { display: inline-block; height: .92em; width: 1.55em; object-fit: cover; border-radius: var(--radius-pill); vertical-align: -0.14em; margin: 0 .04em; }
.intro-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(40px, 6vw, 72px); }
.big-link { display: inline-flex; align-items: center; gap: 16px; padding: 18px 26px 18px 30px; border: 1px solid var(--color-ink); border-radius: var(--radius-pill); text-decoration: none; color: var(--color-ink);
  font-size: clamp(20px, 2vw, 28px); font-weight: 600; letter-spacing: -0.015em; font-variation-settings: "wdth" 88; transition: background .3s var(--ease-out), color .3s var(--ease-out); }
.big-link svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .4s var(--ease-out); }
.big-link { transition: background .3s var(--ease-out), color .3s var(--ease-out), transform .55s var(--ease-bounce); }
.big-link:hover { background: var(--color-ink); color: var(--color-surface); transform: scale(1.05) rotate(-1.5deg); }
.big-link:hover svg { transform: translateX(6px); }
.intro-small { margin-top: 28px; font-size: 15px; color: var(--color-ink-muted); }

/* ---------- Listings (type rows + cursor pill) ---------- */
.listings { position: relative; padding: clamp(64px, 10vh, 120px) 0 clamp(80px, 14vh, 160px); }
.listings-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--color-ink); }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { border-bottom: 1px solid var(--color-line); overflow: hidden; }
.row { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; align-items: baseline; column-gap: 24px; padding: clamp(18px, 2.4vw, 30px) 0; text-decoration: none; color: var(--color-ink); }
.row-status { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--color-ink-muted); display: flex; align-items: center; gap: 8px; }
.row-status.is-sold { color: var(--color-ink); }
.row-status.is-sold::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--color-pink); }
.row-name { font-size: clamp(30px, 4.6vw, 74px); font-weight: 800; line-height: 1; letter-spacing: -0.05em; font-variation-settings: "wdth" 100; transition: transform .6s var(--ease-out), color .3s; }
.row-place { font-size: 15px; font-weight: 500; color: var(--color-ink-muted); text-align: right; }
.row-detail { grid-column: 2 / -1; font-size: 16px; color: var(--color-ink-muted); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease-out), opacity .4s, margin .5s var(--ease-out); }
.row:hover .row-name, .row:focus-visible .row-name { transform: translateX(14px); }
.row:hover .row-detail, .row:focus-visible .row-detail { max-height: 3em; opacity: 1; margin-top: 10px; }

@media (max-width: 700px) { .row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; } .row-status { grid-column: 1 / -1; } .row-detail { grid-column: 1 / -1; } }

/* ---------- Community (ink band) ---------- */
.community { position: relative; background: var(--color-ink); color: var(--color-surface); overflow: hidden; margin: 0 clamp(8px, 1.2vw, 18px); border-radius: clamp(32px, 4vw, 56px); }
.community .wrap { position: relative; }
.community .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 6vw, 96px); align-items: end; padding-top: clamp(80px, 14vh, 160px); }
.community-copy { padding-bottom: clamp(80px, 14vh, 160px); }
.count { font-size: clamp(84px, 12.6vw, 206px); font-weight: 800; line-height: .86; letter-spacing: -0.065em; font-variation-settings: "wdth" 100; margin: 0 0 22px; font-variant-numeric: tabular-nums; }
.count { color: var(--color-surface); }
.count em { font-style: normal; color: var(--color-pink); }
.label.on-ink { color: var(--color-ink-soft); }
.community h2 { font-size: clamp(30px, 3.4vw, 52px); font-weight: 600; font-variation-settings: "wdth" 85; line-height: 1.04; letter-spacing: -0.025em; max-width: 16em; margin: clamp(40px, 6vw, 64px) 0 18px; }
.community p:not([class]) { color: var(--color-ink-soft); font-size: 18px; max-width: 34em; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.community-cutout { height: min(88vh, 920px); width: auto; align-self: end; }
@media (max-width: 860px) { .community .wrap { grid-template-columns: 1fr; } .community-copy { padding-bottom: 0; } .community-cutout { height: 62vh; justify-self: center; } }

/* ---------- Podcast ---------- */
.podcast { padding: clamp(96px, 16vh, 180px) 0; }
.podcast h2 { font-size: clamp(40px, 5.8vw, 98px); font-weight: 800; line-height: .94; letter-spacing: -0.055em; font-variation-settings: "wdth" 100; max-width: 12em; margin: 20px 0 0; }
.episode { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(18px, 3vw, 40px); padding: clamp(20px, 3vw, 34px) 0; border-top: 1px solid var(--color-ink); border-bottom: 1px solid var(--color-ink); }
.episode:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 6px; border-radius: 6px; }
.play { width: clamp(72px, 8vw, 104px); aspect-ratio: 1; border-radius: 50%; background: var(--color-pink); display: grid; place-items: center; transition: transform .5s var(--ease-out); }
.play svg { width: 34%; fill: var(--color-on-pink); margin-left: 6%; }
.play { transition: transform .6s var(--ease-bounce); }
.episode:hover .play { transform: scale(1.12) rotate(-8deg); }
.episode-text { display: grid; gap: 8px; }
.episode-title { font-size: clamp(22px, 2.8vw, 42px); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; font-variation-settings: "wdth" 85; }
.bars { display: flex; align-items: center; gap: 4px; height: 56px; }
.bars i { width: 4px; height: 30%; border-radius: 2px; background: var(--color-fill-faint); transition: background .3s; }
.bars i:nth-child(3n) { height: 70%; } .bars i:nth-child(4n) { height: 50%; } .bars i:nth-child(5n) { height: 90%; }
.episode:hover .bars i, .episode:focus-visible .bars i { background: var(--color-pink); animation: eq .9s ease-in-out infinite; }
.bars i:nth-child(2n) { animation-delay: -.3s !important; } .bars i:nth-child(3n) { animation-delay: -.6s !important; }
@keyframes eq { 50% { transform: scaleY(.35); } }
.podcast-note { margin-top: 22px; color: var(--color-ink-muted); }
.podcast-note a { color: var(--color-ink); font-weight: 600; }
.podcast-note a:hover { color: var(--color-pink-ink); }
@media (max-width: 700px) { .bars { display: none; } .episode { grid-template-columns: auto minmax(0, 1fr); } }

/* ---------- Words (one quote at a time) ---------- */
.words { padding: clamp(64px, 10vh, 120px) 0 clamp(96px, 14vh, 160px); border-top: 1px solid var(--color-line); }
.quote-stage { display: grid; margin-top: clamp(32px, 5vw, 56px); }
.q { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out), visibility 0s .7s; }
.q.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.q blockquote { margin: 0; font-size: clamp(28px, 4vw, 62px); font-weight: 500; line-height: 1.08; letter-spacing: -0.028em; font-variation-settings: "wdth" 85; max-width: 22em; }
.q figcaption { margin-top: 26px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.q figcaption::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--color-pink); }

/* ---------- FAQ ---------- */
.faq { padding: clamp(64px, 10vh, 120px) 0; background: var(--color-surface); }
.faq .wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px clamp(32px, 6vw, 96px); align-items: start; }
.faq h2 { font-size: clamp(40px, 5vw, 82px); font-weight: 800; line-height: .94; letter-spacing: -0.055em; font-variation-settings: "wdth" 100; }
.faq-list { border-top: 1px solid var(--color-ink); }
.faq details { border-bottom: 1px solid var(--color-line); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 22px 48px 22px 0; font-size: clamp(19px, 1.7vw, 24px); font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; font-weight: 500; line-height: 1; background: var(--color-bg); color: var(--color-ink); transition: background .3s, color .3s, transform .45s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--color-pink); color: var(--color-on-pink); }
.faq details p { color: var(--color-ink-muted); padding: 0 48px 24px 0; max-width: 42em; margin: 0; }
@media (max-width: 860px) { .faq .wrap { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { padding: clamp(96px, 16vh, 180px) 0 clamp(80px, 12vh, 140px); }
.contact .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px clamp(32px, 6vw, 96px); align-items: end; }
.display { font-size: clamp(66px, 10.6vw, 186px); font-weight: 800; line-height: .9; letter-spacing: -0.065em; font-variation-settings: "wdth" 100; margin-bottom: clamp(24px, 4vw, 44px); }
.phone { position: relative; display: inline-block; font-size: clamp(34px, 4.6vw, 72px); font-weight: 600; letter-spacing: -0.03em; font-variation-settings: "wdth" 85; color: var(--color-ink); text-decoration: none; line-height: 1.1; }
.phone::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 4px; border-radius: 2px; background: var(--color-pink); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.phone:hover::after, .phone:focus-visible::after { transform: scaleX(1); }
.email { display: block; margin-top: 14px; font-size: clamp(17px, 1.5vw, 21px); color: var(--color-ink-muted); text-decoration: none; }
.email:hover { color: var(--color-pink-ink); }
.form { background: var(--color-surface); border-radius: var(--radius-card); padding: clamp(24px, 3vw, 36px); }
.form .label { margin-bottom: 18px; color: var(--color-ink-muted); }
.field { display: grid; gap: 4px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 600; }
.field input, .field textarea { width: 100%; border: 0; border-bottom: 1px solid var(--color-line-strong); background: transparent; padding: 10px 0; font: 400 18px/1.4 var(--font-sans); color: var(--color-ink); border-radius: 0; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom: 2px solid var(--color-ink); padding-bottom: 9px; }
.chips { border: 0; padding: 0; margin: 6px 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-size: 13px; font-weight: 600; padding: 0; margin-bottom: 10px; }
.chips label { position: relative; }
.chips input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 15px; border-radius: var(--radius-pill); border: 1px solid var(--color-line-strong); font-size: 14px; font-weight: 500; transition: background .2s, color .2s, border-color .2s; }
.chips input:checked + span { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-surface); }
.chips input:focus-visible + span { outline: 2px solid var(--color-ink); outline-offset: 2px; }
.form .pill { margin-top: 8px; }
.form-status { font-size: 14px; margin: 12px 0 0; color: var(--color-ink-muted); }
@media (max-width: 860px) { .contact .wrap { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--color-line); padding: 40px 0 32px; font-size: 14px; color: var(--color-ink-muted); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer nav a { color: var(--color-ink); text-decoration: none; font-weight: 500; }
.footer nav a:hover { color: var(--color-pink-ink); }
.brokerage { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--color-line); }
.brokerage img { height: 34px; width: auto; }
.brokerage p { margin: 0; max-width: 56em; font-size: 13px; }
.legal { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; font-size: 13px; }
.legal a { color: var(--color-ink-muted); }

/* ---------- Video modal ---------- */
.modal { position: fixed; inset: 0; z-index: 60; background: var(--scrim); display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-box { position: relative; width: min(1100px, 100%); aspect-ratio: 16 / 9; background: var(--color-ink); border-radius: var(--radius-card); overflow: visible; }
.modal-frame, .modal-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: var(--radius-card); }
.modal-close { position: absolute; right: 0; top: -58px; }

/* ---------- Inner pages ---------- */
.page-top { padding: clamp(130px, 20vh, 200px) 0 clamp(48px, 8vh, 88px); }
.crumbs { font-size: 13px; color: var(--color-ink-muted); margin-bottom: 28px; display: flex; gap: 8px; }
.crumbs a { color: var(--color-ink-muted); }
.page-title { font-size: clamp(52px, 8.2vw, 144px); font-weight: 800; line-height: .92; letter-spacing: -0.06em; font-variation-settings: "wdth" 100; max-width: 10em; }
.page-lede { font-size: clamp(22px, 2.4vw, 34px); font-weight: 500; line-height: 1.18; letter-spacing: -0.02em; font-variation-settings: "wdth" 88; max-width: 26em; margin-top: clamp(28px, 4vw, 48px); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; border-top: 1px solid var(--color-ink); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.2fr); gap: 12px 32px; padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--color-line); align-items: baseline; }
.steps li::before { content: counter(s, decimal-leading-zero); font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--color-ink-muted); }
.steps h2 { font-size: clamp(26px, 2.8vw, 44px); font-weight: 600; font-variation-settings: "wdth" 85; letter-spacing: -0.025em; }
.steps p { margin: 0; color: var(--color-ink-muted); font-size: 17.5px; }
@media (max-width: 860px) { .steps li { grid-template-columns: 48px minmax(0, 1fr); } .steps p { grid-column: 2; } }
.band { padding: clamp(72px, 12vh, 140px) 0; }
.band-ink { background: var(--color-ink); color: var(--color-surface); }
.band-ink p { color: var(--color-ink-soft); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.photo { margin: 0; }
.photo img { width: 100%; border-radius: var(--radius-photo); object-fit: cover; }
.photo figcaption { font-size: 12px; color: var(--color-ink-muted); margin-top: 10px; }
.photo figcaption a { color: inherit; }
.h-mid { font-size: clamp(34px, 4.4vw, 68px); font-weight: 600; line-height: 1; letter-spacing: -0.03em; font-variation-settings: "wdth" 82; margin-bottom: 22px; }
.body-l { font-size: 18.5px; color: var(--color-ink-muted); max-width: 36em; }
.facts-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; border-top: 1px solid var(--color-ink); padding-top: 24px; }
.facts-row b { display: block; font-size: clamp(30px, 3.4vw, 52px); font-weight: 700; letter-spacing: -0.03em; font-variation-settings: "wdth" 78; line-height: 1; margin-bottom: 8px; }
.facts-row span { color: var(--color-ink-muted); font-size: 15px; }
@media (max-width: 700px) { .facts-row { grid-template-columns: 1fr; } }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 40px 0 0; padding: 0; }
.gallery img { aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-card); width: 100%; }
.gallery figcaption { font-size: 11.5px; color: var(--color-ink-muted); margin-top: 6px; }
.gallery figcaption a { color: inherit; }
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr 1fr; } }
.cta-end { padding: clamp(80px, 14vh, 160px) 0; text-align: left; }
.cta-end .display { margin-bottom: 28px; }
.credits-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.credits-table th, .credits-table td { text-align: left; padding: 14px 14px 14px 0; border-bottom: 1px solid var(--color-line); vertical-align: top; }
.credits-table th { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--color-ink-muted); }
.credits-table a { color: var(--color-ink); }

/* ========== Bubbly components ========== */
.brand .dot { width: 10px; height: 10px; }
.quote-nav { display: flex; gap: 10px; margin-top: clamp(36px, 5vw, 56px); }
.quote-nav button { all: unset; cursor: pointer; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 16px; border: 1px solid var(--color-line-strong); color: var(--color-ink); transition: background .3s, color .3s, border-color .3s, transform .5s var(--ease-bounce); }
.quote-nav button:hover { transform: scale(1.1); }
.quote-nav button:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 3px; }
.quote-nav button[aria-pressed="true"] { background: var(--color-pink); border-color: var(--color-pink); color: var(--color-on-pink); transform: scale(1.08); }

/* Hero badge: spinning pink circle */
.badge { position: absolute; z-index: 4; width: clamp(108px, 10.5vw, 168px); left: calc(50% + min(15.5vw, 250px)); top: 44%; pointer-events: none; }
.badge svg { width: 100%; height: auto; display: block; overflow: visible; }
.badge-bg { fill: var(--color-pink); }
.badge-text { fill: var(--color-on-pink); font-family: var(--font-sans); font-size: 15px; font-weight: 700; letter-spacing: .04em; }
.badge-spin { transform-box: view-box; transform-origin: 100px 100px; animation: spin 22s linear infinite; }
.badge-house { fill: none; stroke: var(--color-on-pink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 700px) { .badge { width: 92px; left: auto; right: 22px; top: 50%; } }
html:not(.motion) .badge { top: calc(var(--hero-h) * .44); }

/* Line drawings */
.ln { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ac { fill: var(--color-pink); }
.ac-line { fill: none; stroke: var(--color-pink); stroke-width: 2.8; stroke-linecap: round; }
.motion .draw [pathLength] { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.intro-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: clamp(40px, 6vw, 72px); }
.intro-row .intro-links { margin-top: 0; }
.townhall { width: clamp(150px, 17vw, 250px); height: auto; flex: none; color: var(--color-ink); overflow: visible; }
@media (max-width: 700px) { .intro-row { flex-direction: column; align-items: flex-start; } .townhall { align-self: flex-end; width: 150px; margin-top: -12px; } }

/* Postcards */
.postcards { padding: clamp(24px, 4vh, 48px) 0 clamp(40px, 6vh, 80px); overflow: hidden; }
.pc-viewport { overflow: hidden; padding: 36px 0 28px; }
html:not(.motion) .pc-viewport { overflow-x: auto; scroll-snap-type: x mandatory; }
.pc-track { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); padding: 0 clamp(16px, 4vw, 48px); width: max-content; }
.pc { margin: 0; flex: none; width: clamp(250px, 28vw, 430px); background: var(--color-surface); padding: 12px 12px 16px; border-radius: 34px; transform: rotate(var(--r, 0deg));
  box-shadow: 0 1px 2px rgb(15 15 15 / .06), 0 22px 50px rgb(15 15 15 / .12); transition: transform .6s var(--ease-bounce); scroll-snap-align: center; }
.pc:hover { transform: rotate(0deg) scale(1.04); }
.pc img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; }
.pc-tall { width: clamp(210px, 21vw, 320px); }
.pc-tall img { aspect-ratio: 3 / 4; }
.pc figcaption { margin: 12px 8px 0; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.pc figcaption span { display: block; font-size: 11.5px; font-weight: 400; color: var(--color-ink-muted); margin-top: 2px; letter-spacing: 0; }

/* Listings: sketch card follows the cursor */
.cursor-card { position: fixed; left: 0; top: 0; z-index: 45; pointer-events: none; display: grid; justify-items: center; gap: 6px; padding: 14px 16px 16px; border-radius: 30px; background: var(--color-surface);
  box-shadow: 0 1px 2px rgb(15 15 15 / .08), 0 24px 60px rgb(15 15 15 / .2); opacity: 0; transform: translate(-50%, -115%) scale(.3) rotate(-10deg); transition: opacity .2s, transform .55s var(--ease-bounce); }
.cursor-card.is-on { opacity: 1; transform: translate(-50%, -115%) scale(1) rotate(-3deg); }
.cc-icon { width: 132px; height: 99px; color: var(--color-ink); stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.cursor-card.is-drawing .cc-icon { animation: draw 1s var(--ease-out) both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.cursor-card > span { display: inline-flex; align-items: center; gap: 6px; background: var(--color-pink); color: var(--color-on-pink); font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: var(--radius-pill); }
.cc-arrow { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.row-icon { display: none; }
@media (hover: none), (pointer: coarse) {
  .cursor-card { display: none; }
  .row-detail { max-height: none; opacity: 1; margin-top: 8px; }
  .row { grid-template-columns: minmax(0, 1fr) 72px; }
  .row-status, .row-name, .row-place, .row-detail { grid-column: 1; }
  .row-icon { display: block; grid-column: 2; grid-row: 1 / span 4; align-self: center; width: 72px; height: 54px; color: var(--color-ink); }
  .row-place { text-align: left; }
}

/* River line with travelling dot */
.river { position: relative; margin-top: clamp(48px, 7vw, 96px); }
.river svg { display: block; width: 100%; height: auto; overflow: visible; }
.river-path { fill: none; stroke: var(--color-ink); stroke-width: 2.5; stroke-linecap: round; }
.river-dot { fill: var(--color-pink); stroke: var(--color-bg); stroke-width: 5; }
.river-label { position: absolute; right: clamp(16px, 4vw, 48px); top: -14px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--color-ink-muted); }

/* Community bubbles */
.bubble { position: absolute; border-radius: 50%; pointer-events: none; animation: float 6s ease-in-out infinite; }
.b1 { width: clamp(64px, 7vw, 110px); aspect-ratio: 1; background: var(--color-pink); right: clamp(180px, 24vw, 360px); top: 18%; }
.b2 { width: clamp(40px, 4vw, 64px); aspect-ratio: 1; border: 2px solid var(--color-ink-soft); right: clamp(120px, 15vw, 230px); top: 40%; animation-delay: -2s; }
.b3 { width: 18px; aspect-ratio: 1; background: var(--color-pink); right: clamp(60px, 9vw, 150px); top: 26%; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-14px); } }
@media (max-width: 860px) { .b1 { right: 58%; top: auto; bottom: 34%; } .b2 { right: 16%; top: auto; bottom: 44%; } .b3 { right: 30%; top: auto; bottom: 20%; } }

/* Podcast mic */
.podcast-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(40px, 6vw, 72px); }
.mic { width: clamp(100px, 11vw, 160px); height: auto; flex: none; color: var(--color-ink); overflow: visible; }
@media (max-width: 700px) { .mic { width: 84px; } }

/* Area map */
.faq-side { display: grid; gap: clamp(28px, 4vw, 48px); align-content: start; }
.area-map { width: 100%; max-width: 520px; height: auto; overflow: visible; }
.area-map .lake { fill: var(--color-line); }
.map-river { fill: none; stroke: var(--color-ink-muted); stroke-width: 4; stroke-linecap: round; }
.motion .area-map .map-river { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.map-road { fill: none; stroke: var(--color-ink); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: .018 .014; }
.pl { transform-box: fill-box; transform-origin: center; }
.pl circle { fill: var(--color-surface); stroke: var(--color-ink); stroke-width: 2.5; }
.pl text { font-family: var(--font-sans); font-size: 17px; font-weight: 600; fill: var(--color-ink); }
.pl-big circle { fill: var(--color-ink); }
.pl-big text { font-weight: 800; font-size: 17px; }
.pl-home .home-dot { fill: var(--color-pink); stroke: var(--color-surface); stroke-width: 3; }
.pl-home .home-ring { fill: none; stroke: var(--color-pink); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ring 2.2s var(--ease-out) infinite; }
.pl-home text { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
@keyframes ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.map-time { transform-box: fill-box; transform-origin: center; }
.map-time rect { fill: var(--color-ink); }
.map-time text { font-family: var(--font-sans); font-size: 14px; font-weight: 700; fill: var(--color-surface); }
.map-note { font-family: var(--font-sans); font-size: 11px; fill: var(--color-ink-muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
