/* Lillian Bai: one stylesheet for every page. Light pages alternate with deep night sections.
   One accent (brass) for the primary action. Source Serif 4 for display, Jost for text, both self-hosted (never Bodoni
   Moda: AK, 28 Nov 2026, "This font is too had to read. Don't use it again").
   No inline styles anywhere (the CSP forbids them). */

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url('../fonts/source-serif-4-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url('../fonts/source-serif-4-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/jost-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/jost-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* The greeting's Chinese (你好, 侬好): Noto Serif SC Light, only those three characters (assets/fonts/README.md). */
@font-face {
  font-family: 'Noto Serif SC Hello';
  font-style: normal;
  font-display: swap;
  font-weight: 300;
  src: url('../fonts/noto-serif-sc-hello.woff2') format('woff2');
  unicode-range: U+4F60, U+4FAC, U+597D;
}

:root {
  color-scheme: only light;
  --white: #ffffff;
  --surface: #f3f4f6;
  --ink: #0f1420;
  --ink-2: #353c49;
  --muted: #5a6270;
  --line: #e1e4e9;
  --line-strong: #c7ccd4;
  --night: #0b1220;
  --night-2: #111a2c;
  --night-3: #070d18;
  --on-night: #f4f5f7;
  --on-night-2: #b8bfcb;
  --night-line: rgba(244, 245, 247, 0.16);
  --accent: #c19a5b;
  --accent-text: #7a5a26;
  --accent-on-night: #d9b77f;
  --hero-top: #ffffff; /* the light band on her property pages (src/styles/portfolio.css) */
  --hero-bottom: #edf0f5;
  /* The home hero's night stage (top left, middle, bottom right of its gradient), and the lightest it gets behind the
     hero's text while the light behind her breathes (hero-lift, measured in a browser at every size; the contrast test
     checks text on it, and the browser gate fails if the stage gets lighter than it). */
  --hero-night-top: #0a1120;
  --hero-night-mid: #0e1a33;
  --hero-night-bottom: #13254a;
  --hero-lift: #39435a; /* relative luminance 0.056; the lightest measured behind the hero's text was 0.051 (22 Nov 2026) */
  --on-night-strong: #f7f5f0; /* the greeting and her name: the brightest white on night */
  --focus-light: #0f1420;
  --focus-dark: #f4f5f7;

  --font-display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-text: 'Jost', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;

  --gutter: 20px;
  --container: 1200px;
  --radius: 4px;
  --header-h: 64px;
  --section-y: clamp(64px, 9vw, 128px);
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --header-h: 76px; }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
@media (min-width: 768px) { body { font-size: 18px; } }

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
figure, blockquote { margin: 0; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--focus-light); outline-offset: 3px; }
.night :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .menu :focus-visible { outline-color: var(--focus-dark); }

.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: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--white); color: var(--ink); padding: 12px 16px; border-radius: var(--radius);
  text-decoration: none; font-weight: 500;
}
.skip:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }

/* Type */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.08;
  font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.5rem);
  text-wrap: balance;
}
.display--md { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); }
.eyebrow {
  font-family: var(--font-text);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin: 0 0 18px;
}
.night .eyebrow { color: var(--accent-on-night); }
.lede { font-size: clamp(1.08rem, 1rem + 0.35vw, 1.28rem); line-height: 1.6; color: var(--ink-2); max-width: 46ch; }
.night .lede { color: var(--on-night-2); }
.muted { color: var(--muted); }
.night .muted { color: var(--on-night-2); }
.small { font-size: 0.875rem; }

/* Icons */
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon--lg { width: 32px; height: 32px; stroke-width: 1.3; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: var(--radius);
  font-family: var(--font-text); font-size: 1rem; font-weight: 500; letter-spacing: 0.01em;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--primary { background: var(--accent); color: var(--night); }
.btn--primary:hover { background: #cfab70; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--outline:hover { border-color: var(--ink); }
.night .btn--outline, .site-header .btn--outline { color: var(--on-night); border-color: rgba(244, 245, 247, 0.4); }
.night .btn--outline:hover, .site-header .btn--outline:hover { border-color: var(--on-night); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--ink-2); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 0.95rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled='true'] { opacity: 0.6; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .actions--stack-sm > .btn { flex: 1 1 100%; } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--night); color: var(--on-night);
  border-bottom: 1px solid var(--night-line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
/* Her name and role stay on one line each and never stand taller than her mark beside them (AK, 21 Nov 2026: "the
   name next to the logo should shrink so It's not taller than the logo in the nav bar"; tested at every width). */
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; line-height: 1; min-height: 44px; }
.wordmark__text { display: flex; flex-direction: column; justify-content: center; line-height: 1; }
/* Her mark (src/lib/mark.mjs): initials under an open brass arch, beside her name. */
.mark { display: block; flex: none; width: 30px; height: 40px; }
.mark__arch { stroke: var(--accent-on-night); }
.mark__rule { fill: var(--accent-on-night); }
.mark__letters { fill: currentColor; }
@media (min-width: 768px) { .site-header .mark { width: 33px; height: 44px; } }
.wordmark__name {
  font-family: var(--font-display);
  font-weight: 500; font-size: 1.25rem; line-height: 1; letter-spacing: 0.01em; white-space: nowrap;
}
.wordmark__role { font-size: 0.56rem; line-height: 1; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-night-2); margin-top: 6px; white-space: nowrap; }
@media (min-width: 768px) {
  .wordmark { gap: 12px; }
  .wordmark__name { font-size: 1.45rem; }
  .wordmark__role { font-size: 0.62rem; letter-spacing: 0.2em; margin-top: 7px; }
}
/* The narrowest phones: the menu button keeps its name for screen readers but shows only its icon. */
@media (max-width: 374px) {
  .menu-toggle { padding: 0; width: 44px; }
  .menu-toggle [data-menu-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.site-nav { display: none; }
.site-nav a {
  color: var(--on-night-2); text-decoration: none; font-size: 0.95rem; font-weight: 450;
  padding: 10px 2px; min-height: 44px; display: inline-flex; align-items: center; border-bottom: 1px solid transparent;
}
.site-nav a:hover { color: var(--on-night); }
.site-nav a[aria-current='page'] { color: var(--on-night); border-bottom-color: var(--accent-on-night); }
.site-header__end { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: var(--radius);
  background: transparent; color: var(--on-night); border: 1px solid rgba(244, 245, 247, 0.28);
  text-decoration: none; cursor: pointer; font-size: 0.95rem; font-weight: 500;
}
.icon-btn:hover { border-color: var(--on-night); }
@media (min-width: 1024px) {
  .site-nav { display: flex; gap: 28px; }
  .menu-toggle, .header-call { display: none; }
}

/* Mobile menu */
.menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 39;
  background: var(--night); color: var(--on-night);
  padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  overflow-y: auto; display: none;
}
.menu[data-open] { display: block; }
.menu__list { list-style: none; border-top: 1px solid var(--night-line); }
.menu__list li { border-bottom: 1px solid var(--night-line); }
.menu__list a {
  display: flex; align-items: center; justify-content: space-between; min-height: 60px;
  font-family: var(--font-display);
  font-size: 1.6rem; text-decoration: none; color: var(--on-night);
}
.menu__list a[aria-current='page'] { color: var(--accent-on-night); }
.menu__actions { display: grid; gap: 12px; margin-top: 28px; }
body.menu-open { overflow: hidden; }

/* Sections */
.section { padding: var(--section-y) 0; position: relative; }
.surface { background: var(--surface); }
.night { background: var(--night); color: var(--on-night); }

/* Her portrait in an arch (home, About and the page heroes). */

/* The portrait is the arch itself: no offset outline beside it (AK, 21 Nov 2026: it read as a misplaced box). */

/* Hero (home): hello, in her three languages (AK, 22 Nov 2026, choosing it from thirty first screens: "6 but you can
   slightly crop her arm as it's already a little chopped off"). A night stage: the greeting large at the top left (Hello,
   你好, 侬好, each with its language), her name, role, lede and buttons below it, and her portrait cut out of its studio
   background (scripts/lib/cutout.mjs) standing on the right, flush with the screen's edge, where the photograph already
   cuts her arm, and with its foot. A soft light breathes behind her and a sheen of light passes slowly; a button in the
   corner pauses both. Phones and tablets: the greeting beside her portrait, then everything else below. */
.hero__stage {
  --hello: clamp(60px, min(7.4vw, 12.5svh), 128px);
  /* her portrait's width beside the text: 90 per cent of the first screen's height, at most 760 px tall */
  --hero-pw-side: calc(min((100svh - var(--header-h)) * 0.9, 760px) * 460 / 706);
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(100svh - var(--header-h));
  display: flex; flex-direction: column;
  background: linear-gradient(160deg, var(--hero-night-top) 0%, var(--hero-night-mid) 55%, var(--hero-night-bottom) 100%);
  color: var(--on-night);
}
.hero__light { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
/* The light behind her: brass at its heart, cooling to blue. */
.hero__glow {
  position: absolute; right: -12%; bottom: -30%; width: min(72vw, 1100px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(217, 183, 127, 0.26), rgba(120, 146, 196, 0.12) 52%, rgba(120, 146, 196, 0) 100%);
}
/* A broad, faint band of light that crosses the stage now and then (only while moving). */
.hero__sheen {
  position: absolute; top: -20%; bottom: -20%; left: -40%; width: 34%; opacity: 0;
  background: linear-gradient(90deg, rgba(244, 245, 247, 0), rgba(244, 245, 247, 0.07) 50%, rgba(244, 245, 247, 0));
  transform: skewX(-16deg);
}
.hero__portrait {
  position: absolute; z-index: 1; right: 0; bottom: 0;
  height: min(90%, 760px); aspect-ratio: 460 / 706;
}
.hero__portrait picture { display: block; height: 100%; }
.hero__portrait img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: 100% 100%; }
.hero__grid {
  position: relative; z-index: 2; flex: 1 0 auto;
  display: flex; flex-direction: column; justify-content: space-between; gap: clamp(56px, 9svh, 104px);
  padding-block: clamp(32px, 6.5svh, 72px);
}
/* The greeting's words alone, one under another (AK, 27 Nov 2026: "We don't need to say English mandarin shanghainese
   keep a bit of a gap before we show Lillian's name. It's a bit cramped"): a clear space then parts it from her name. */
.hero__hello { margin: 0; display: grid; grid-template-columns: auto; justify-content: start; }
.hero__greeting { display: contents; }
.hero__word {
  font-family: var(--font-display); font-weight: 400;
  font-size: var(--hello); line-height: 1.04; letter-spacing: -0.01em; color: var(--on-night-strong);
}
/* Chinese is set on a larger square than Latin capitals: a little smaller, so 你好 and 侬好 stand level with Hello. */
.hero__word:is([lang|="zh"], [lang|="wuu"]) {
  font-family: 'Noto Serif SC Hello', 'Songti SC', 'Noto Serif CJK SC', serif; font-weight: 300;
  font-size: calc(var(--hello) * 0.86); line-height: calc(1.04 / 0.86); letter-spacing: 0.02em; color: var(--accent-on-night);
}
/* Never under her portrait: the text stops short of it, whatever the screen's shape. */
.hero__text { max-width: min(700px, 100vw - var(--hero-pw-side) - max(var(--gutter), (100vw - var(--container)) / 2) - 48px); }
.hero__name {
  margin: 0; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(3.1rem, 2.1rem + 2.15vw, 4.25rem); line-height: 1.04; letter-spacing: -0.005em; color: var(--on-night-strong);
}
.hero__eyebrow { display: flex; align-items: center; gap: 14px; margin: 14px 0 0; font-size: clamp(0.92rem, 0.85rem + 0.2vw, 1.02rem); }
.hero__eyebrow::before { content: ''; flex: none; width: 36px; height: 1px; background: currentColor; transform-origin: left center; }
.hero__lede { margin: 18px 0 0; max-width: 34em; color: var(--on-night-2); font-size: clamp(1.15rem, 1rem + 0.45vw, 1.38rem); line-height: 1.55; }
.hero__actions { margin-top: 30px; }
.hero__actions .btn { min-height: 58px; padding: 0 30px; font-size: 1.1rem; }
/* Pause the background motion (WCAG 2.2.2), in the stage's top corner, over the night above her head. Shown by the
   script only when the visitor has not asked to reduce motion; the choice is remembered. */
.hero__motion { position: absolute; z-index: 3; top: 6px; right: 6px; }
.hero__pause { position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--on-night-2); cursor: pointer; }
.hero__pause::before { content: ''; position: absolute; inset: 9px; border-radius: 50%; border: 1px solid rgba(244, 245, 247, 0.28); }
.hero__pause:hover { color: var(--on-night); }
.hero__pause:hover::before { border-color: var(--on-night); }
.hero__pause .icon { position: relative; width: 12px; height: 12px; }
.hero__play-icon, .hero__pause[aria-pressed='true'] .hero__pause-icon { display: none; }
.hero__pause[aria-pressed='true'] .hero__play-icon { display: block; }

/* Short screens beside the text (laptops 720 to 820 px tall): the greeting takes its size from the screen's height and
   the spacing tightens, so her words keep their size and both buttons stay in the first screen. */
@media (min-width: 1180px) and (max-height: 820px), (min-width: 900px) and (orientation: landscape) and (max-height: 820px) {
  .hero__stage { --hello: clamp(52px, min(7.4vw, 10.4svh), 128px); }
  .hero__grid { padding-block: clamp(22px, 4.6svh, 48px); gap: clamp(40px, 6.5svh, 56px); }
  .hero__name { font-size: clamp(2.9rem, 1.6rem + 2.1vw, 3.9rem); }
  .hero__lede { margin-top: 14px; }
  .hero__actions { margin-top: 24px; }
}

/* Phones and tablets: the greeting beside her portrait, then her name, role, lede and buttons below. Her portrait fades
   out at its foot here, where the photograph's own edge would otherwise cut across the page. */
@media (max-width: 1179.98px) and (orientation: portrait), (max-width: 899.98px) {
  .hero__stage {
    --hero-pw: min(50vw, 460px, (100svh - var(--header-h)) * 0.56);
    --hello: clamp(56px, 12vw, 116px);
    display: grid; align-content: start;
    grid-template-columns: var(--gutter) minmax(0, 1fr) var(--hero-pw);
  }
  .hero__grid { display: contents; }
  /* One column, each word under the last, so the greeting never reaches her portrait. */
  .hero__hello { grid-column: 2; grid-row: 1; align-self: start; position: relative; z-index: 2; padding-top: 28px; row-gap: 6px; }
  .hero__portrait {
    position: relative; grid-column: 3; grid-row: 1; right: auto; bottom: auto; height: auto; width: 100%; margin-top: 14px;
    -webkit-mask-image: linear-gradient(180deg, #000 70%, rgba(0, 0, 0, 0)); mask-image: linear-gradient(180deg, #000 70%, rgba(0, 0, 0, 0));
  }
  .hero__text { grid-column: 2 / 4; grid-row: 2; position: relative; z-index: 2; padding: 36px var(--gutter) 40px 0; max-width: 680px; }
  .hero__name { font-size: clamp(3.2rem, 1.9rem + 4.1vw, 4.7rem); }
  .hero__lede { font-size: clamp(1.15rem, 0.95rem + 0.8vw, 1.45rem); }
  /* The pause control after the buttons, at the right (over the first screen's top corner it would sit on her portrait). */
  .hero__motion { position: relative; top: auto; right: auto; grid-column: 3; grid-row: 3; justify-self: end; margin: -16px 6px 8px 0; }
  /* The light breathes behind the greeting and her words here, where the stage shows. */
  .hero__glow {
    right: auto; left: -45%; bottom: auto; top: 18%; width: 150vw;
    background: radial-gradient(closest-side, rgba(217, 183, 127, 0.17), rgba(120, 146, 196, 0.1) 52%, rgba(120, 146, 196, 0) 100%);
  }
  .hero__sheen { background: linear-gradient(90deg, rgba(244, 245, 247, 0), rgba(244, 245, 247, 0.05) 50%, rgba(244, 245, 247, 0)); }
}
/* Tablets held upright: the greeting, her portrait and her words sit in the middle of the tall first screen. */
@media (min-width: 600px) and (max-width: 1179.98px) and (orientation: portrait) { .hero__stage { align-content: center; } }
/* Phones: everything down to both buttons fits the first screen above the action bar, on an iPhone SE too. */
@media (max-width: 599.98px) {
  /* As tall as what is in it (no empty night under the buttons): her figures follow straight on. */
  .hero__stage { --hero-pw: 41vw; --hello: clamp(44px, 13.6vw, 60px); min-height: 0; }
  .hero__hello { padding-top: 16px; row-gap: 4px; }
  .hero__portrait { margin-top: 4px; }
  .hero__name { font-size: 3.05rem; }
  .hero__eyebrow { margin-top: 6px; font-size: 0.86rem; gap: 10px; letter-spacing: 0.15em; }
  .hero__eyebrow::before { width: 24px; }
  .hero__lede { margin-top: 10px; font-size: 17.5px; line-height: 1.5; }
  .hero__actions { margin-top: 14px; gap: 10px; }
  .hero__actions .btn { min-height: 52px; padding: 0 20px; font-size: 1.08rem; }
  .hero__text { padding-top: 22px; padding-bottom: 24px; }
}

@media (prefers-reduced-motion: no-preference) {
  /* Entrance (done by 2 s): hello rises in each language in turn, then her name, role, words and buttons; she appears. */
  .hero__greeting > *, .hero__text > * { animation: hello-rise 1.1s cubic-bezier(0.2, 0.75, 0.25, 1) both; }
  .hero__greeting:nth-child(1) > * { animation-delay: 0.1s; }
  .hero__greeting:nth-child(2) > * { animation-delay: 0.32s; }
  .hero__greeting:nth-child(3) > * { animation-delay: 0.54s; }
  .hero__name { animation-delay: 0.78s; }
  .hero__eyebrow { animation-delay: 0.88s; }
  .hero__lede { animation-delay: 0.98s; }
  .hero__actions { animation-delay: 1.08s; }
  .hero__portrait { animation: hello-portrait 1.6s cubic-bezier(0.2, 0.75, 0.25, 1) 0.2s both; }
  /* Ambient, never ending, calm: the light behind her swells and settles (9 s each way); a sheen crosses the stage (16 s). */
  .hero__glow { animation: hello-glow 9s ease-in-out infinite alternate; will-change: transform, opacity; }
  .hero__sheen { opacity: 1; animation: hello-sheen 16s linear infinite; will-change: transform; }
  /* The visitor paused it (the button in the hero), or the hero is off screen: the ambient motion stops where it is. */
  :is(.hero--paused, .hero--offscreen) :is(.hero__glow, .hero__sheen) { animation-play-state: paused; }

  @keyframes hello-rise { from { opacity: 0; transform: translate3d(0, 26px, 0); } }
  @keyframes hello-portrait { from { opacity: 0; transform: translate3d(0, 18px, 0); } }
  @keyframes hello-glow { from { opacity: 0.45; transform: translate3d(-6%, 4%, 0) scale(0.88); } to { opacity: 1; transform: translate3d(5%, -4%, 0) scale(1.1); } }
  @keyframes hello-sheen { from { transform: skewX(-16deg) translateX(0); } to { transform: skewX(-16deg) translateX(560%); } }
}
/* Her figures continue the night stage, a hairline apart. */

/* ---------------------------------------------------------------------------------------------------------------------
   Below the opening (AK, 27 Nov 2026, decision 5 in CLAUDE.md; src/sections.mjs): each section its own composition, clear
   of the AI-made patterns (no label over a title over an aside, no strip of figures, no arrow links, no button pair, no
   equal cards), every photograph whole at its own proportions, and each section moving its own way (Motion, below).
   --------------------------------------------------------------------------------------------------------------------- */

[hidden] { display: none !important; }

/* The one alternative to a primary action: her number, as a text link in the display face. */
.call-link { display: inline-flex; align-items: center; gap: 0.45em; min-height: 44px; color: var(--ink); text-decoration: none; }
.call-link__words { color: var(--muted); font-size: 0.95rem; }
.call-link__number {
  font-family: var(--font-display); font-weight: 500;
  font-size: 1.22rem; letter-spacing: 0.01em; border-bottom: 1px solid var(--accent); padding-bottom: 1px;
}
.call-link:hover .call-link__number { border-bottom-width: 2px; padding-bottom: 0; }
.call-link--on-night { color: var(--on-night); }
.call-link--on-night .call-link__words { color: var(--on-night-2); }
.call-link--on-night .call-link__number { border-bottom-color: var(--accent-on-night); }
/* A link in words, underlined in brass: the way on from a section (never an arrow). */
.quiet-link {
  display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 500;
  text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 6px;
}
.quiet-link:hover { text-decoration-thickness: 2px; }
.night .quiet-link { color: var(--on-night); text-decoration-color: var(--accent-on-night); }

/* The opening's actions: the brass button, and her number beside it. */
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.hero__actions .call-link__number { font-size: 1.3rem; }

/* Her record: one sentence, set large on the night that continues the opening, each figure in brass. */
.record { background: var(--night); color: var(--on-night); border-top: 1px solid var(--night-line); padding: clamp(40px, 6vw, 88px) 0 clamp(32px, 4.5vw, 60px); }
.record__line {
  margin: 0; max-width: 23em; color: var(--on-night);
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.65rem, 0.95rem + 2.9vw, 3.45rem); line-height: 1.16; letter-spacing: -0.01em; text-wrap: pretty;
}
.record__fig {
  display: inline-block; line-height: 1.08; color: var(--accent-on-night); white-space: nowrap;
  background-image: linear-gradient(var(--accent-on-night), var(--accent-on-night)); background-repeat: no-repeat;
  background-position: 0 94%; background-size: 100% 1px;
}
.record__source { margin: 22px 0 0; font-size: 0.82rem; color: var(--on-night-2); }

/* Featured properties: the address as the heading, the particulars as one line, the photograph whole to the screen's edge. */
.presenting { padding: var(--section-y) 0; }
.presenting__grid { display: grid; gap: 36px; }
.presenting__words { padding: 0 var(--gutter); }
.presenting__note { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; color: var(--ink); font-size: 1.05rem; font-weight: 500; }
.presenting__note::before { content: ''; width: 32px; height: 1px; background: var(--accent); }
.presenting__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.5rem, 1.5rem + 4vw, 5rem); line-height: 1.06; letter-spacing: -0.015em; }
.presenting__title a { text-decoration: none; }
.presenting__title a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.1em; }
.presenting__place { color: var(--muted); }
.presenting__lead { margin: 24px 0 0; color: var(--ink-2); font-size: 1.12rem; max-width: 38ch; }
.presenting__facts { display: flex; flex-wrap: wrap; align-items: center; row-gap: 6px; margin: 22px 0 0; color: var(--ink); font-size: 0.98rem; }
.presenting__sep { display: inline-block; width: 1px; height: 14px; margin: 0 14px; background: var(--line-strong); }
.presenting__sale { margin: 8px 0 0; color: var(--muted); font-size: 0.95rem; }
.presenting__go { margin: 22px 0 0; }
.presenting__photo { display: block; background: var(--surface); }
.presenting__photo img { width: 100%; height: auto; }
.presenting__more-title { margin: 56px 0 0; font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; }
.presenting__more { list-style: none; margin-top: 18px; border-top: 1px solid var(--line); }
.presenting__more a { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.presenting__more-name { font-family: var(--font-display); font-size: 1.35rem; }
.presenting__more-place { color: var(--muted); }
@media (min-width: 1000px) {
  .presenting__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr); align-items: center; column-gap: clamp(48px, 5vw, 96px);
    padding-left: max(var(--gutter), calc((100% - var(--container)) / 2));
  }
  .presenting__words { padding: 0; }
}

/* In her clients' words: one quote large with a hanging mark, then three more as a conversation. */
.said { padding: clamp(72px, 10vw, 150px) 0; }
.said__lead { position: relative; max-width: 1000px; }
.said__mark { display: block; height: 0.42em; font-family: var(--font-display); font-size: clamp(6rem, 4rem + 7vw, 11rem); line-height: 0.82; color: var(--accent-on-night); }
.said__lead blockquote { margin: 0; }
.said__headline { font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 1.15rem + 3.3vw, 4.1rem); line-height: 1.07; letter-spacing: -0.01em; text-wrap: balance; color: var(--on-night-strong); margin: 0 0 28px; }
.said__text { color: var(--on-night-2); font-size: clamp(1.04rem, 1rem + 0.25vw, 1.16rem); max-width: 62ch; }
.said__by { display: grid; gap: 2px; margin-top: 24px; }
.said__name { color: var(--on-night); font-weight: 500; }
.said__detail { color: var(--on-night-2); font-size: 0.92rem; }
.said__more { display: grid; gap: 56px; margin-top: clamp(64px, 8vw, 120px); }
.said__one { position: relative; margin: 0; padding-top: 26px; }
.said__one::before { content: ''; position: absolute; left: 0; top: 0; width: 72px; height: 1px; background: var(--accent-on-night); transform-origin: left; }
.said__one blockquote { margin: 0; }
.said__title { font-family: var(--font-display); font-weight: 500; font-size: 1.55rem; line-height: 1.2; color: var(--on-night); margin-bottom: 14px; }
.said__one p:not(.said__title) { color: var(--on-night-2); }
.said__all { margin: clamp(56px, 7vw, 96px) 0 0; }
@media (min-width: 900px) {
  .said__text { columns: 2; column-gap: 48px; max-width: none; }
  .said__more { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 80px; align-items: start; }
  .said__one--1 { grid-column: 1 / span 5; }
  .said__one--2 { grid-column: 7 / span 6; margin-top: 140px; }
  .said__one--3 { grid-column: 3 / span 6; }
}
@media (min-width: 1240px) { .said__mark { position: absolute; left: -0.52em; top: 0.02em; } }

/* How she works: rows, each title beside its text, a hairline over each. */
.approach { padding: var(--section-y) 0; }
.approach__heading { margin-bottom: clamp(40px, 5vw, 72px); max-width: 12em; }
.approach .pillars { list-style: none; display: grid; grid-template-columns: none; gap: 0; background: none; border: 0; border-radius: 0; overflow: visible; border-bottom: 1px solid var(--line-strong); }
.pillar-row { position: relative; display: grid; gap: 14px; padding: 30px 0 34px; }
.pillar-row::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-strong); transform-origin: left; }
.approach .pillar { background: none; padding: 0; display: grid; gap: 14px; align-content: start; container-type: inline-size; }
.pillar__text { margin: 0; color: var(--ink-2); max-width: 58ch; }
@media (min-width: 900px) {
  .pillar-row { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 56px; padding: 40px 0 44px; align-items: start; }
  .pillar__text { padding-top: 46px; }
}

/* Recently sold: three photographs whole at different sizes, then a ledger of the next sales. */
.sold-spread { padding: var(--section-y) 0; }
.sold-spread .display { margin-bottom: clamp(32px, 4.5vw, 56px); }
.sold-spread__photos { display: grid; gap: 40px; }
.sale { margin: 0; }
.sale__photo { background: var(--surface); }
.sale__photo img { width: 100%; height: auto; }
.sale__words { padding-top: 16px; }
.sale__street { font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; line-height: 1.2; }
.sale__line { margin: 6px 0 0; color: var(--ink-2); font-size: 0.95rem; }
.sale__line span + span::before { content: '\00B7'; margin: 0 8px; color: var(--muted); }
.sale__price { color: var(--ink); font-weight: 600; }
.sale__role { margin: 2px 0 0; color: var(--muted); font-size: 0.88rem; }
@media (min-width: 1000px) {
  .sold-spread__photos { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px; align-items: start; }
  .sale--a { grid-column: 1 / span 7; grid-row: 1 / span 2; }
  .sale--b { grid-column: 9 / span 4; grid-row: 1; }
  .sale--c { grid-column: 9 / span 4; grid-row: 2; }
}
.ledger { list-style: none; margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--ink); }
.ledger__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; row-gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.ledger__street { grid-column: 1; grid-row: 1; font-family: var(--font-display); font-weight: 500; font-size: 1.22rem; line-height: 1.25; }
.ledger__price { grid-column: 2; grid-row: 1; font-weight: 600; text-align: right; }
.ledger__suburb { grid-column: 1; grid-row: 2; color: var(--ink-2); font-size: 0.95rem; }
.ledger__when { grid-column: 2; grid-row: 2; color: var(--muted); font-size: 0.9rem; text-align: right; }
.ledger__role { grid-column: 1 / -1; grid-row: 3; color: var(--muted); font-size: 0.88rem; }
@media (min-width: 900px) {
  .ledger__row { grid-template-columns: 9.5em minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) 7.5em; column-gap: 24px; }
  .ledger__when { grid-column: 1; grid-row: 1; text-align: left; }
  .ledger__street { grid-column: 2; }
  .ledger__suburb { grid-column: 3; grid-row: 1; }
  .ledger__role { grid-column: 4; grid-row: 1; }
  .ledger__price { grid-column: 5; }
}
.sold-spread__all { margin: 28px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; }
.sold-spread__count { color: var(--ink-2); }

/* Recognition as an honours board: her rankings as large numerals, the badges a quieter line beneath. */
.board { padding: var(--section-y) 0; }
.board__grid { display: grid; gap: 40px; }
.board__ranks { list-style: none; display: grid; gap: 40px; }
.board__rank { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 22px; align-items: end; }
.board__n { grid-row: 1 / span 2; font-family: var(--font-display); font-weight: 500; font-size: clamp(5.5rem, 3.6rem + 6vw, 9.5rem); line-height: 0.78; letter-spacing: -0.03em; color: var(--accent-on-night); }
.board__no { font-size: 0.22em; letter-spacing: 0.02em; vertical-align: 2.6em; margin-right: 0.15em; color: var(--on-night-2); }
.board__what { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; line-height: 1.15; color: var(--on-night); }
.board__detail { margin: 6px 0 0; color: var(--on-night-2); font-size: 0.98rem; max-width: 26ch; }
.board__badges { list-style: none; border-top: 1px solid var(--night-line); padding-top: 28px; display: grid; gap: 18px; }
.board__badge { display: block; color: var(--on-night); font-weight: 500; }
.board__badge-detail { display: block; color: var(--on-night-2); font-size: 0.95rem; }
@media (min-width: 700px) {
  .board__ranks { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; }
  .board__rank:nth-child(2) { margin-top: 72px; }
  .board__badges { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; }
}
@media (min-width: 1000px) {
  .board__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 64px; row-gap: 56px; }
  .board__heading { grid-column: 1; grid-row: 1 / span 2; }
  .board__ranks, .board__badges { grid-column: 2; }
}

/* Her story: the heading large, a lead paragraph in the display face, her credentials beneath the heading. */
.story { padding: var(--section-y) 0; }
.story__grid { display: grid; gap: 32px; }
.story__heading { font-size: clamp(2.4rem, 1.4rem + 3.8vw, 4.6rem); line-height: 1; letter-spacing: -0.015em; }
.story__words p { color: var(--ink-2); max-width: 60ch; }
.story__words p:first-child { font-family: var(--font-display); font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem); line-height: 1.38; color: var(--ink); }
.story .creds { margin-top: 0; }
@media (min-width: 1000px) {
  .story__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 80px; row-gap: 40px; }
  .story__heading { grid-column: 1; grid-row: 1; }
  .story__words { grid-column: 2; grid-row: 1 / span 2; }
  .story .creds { grid-column: 1; grid-row: 2; align-self: start; }
}

/* Where she sells: the suburbs as words set large, each with its count. */
.places { padding: var(--section-y) 0; }
.places__heading { margin-bottom: clamp(28px, 4vw, 48px); }
.places__list { list-style: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0; }
.places__list a { display: inline-flex; align-items: flex-start; gap: 6px; min-height: 44px; padding: 4px 30px 4px 0; color: var(--ink); text-decoration: none; }
.places__name { font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 1.2rem + 3.2vw, 4.1rem); line-height: 1.06; letter-spacing: -0.01em; }
.places__count { margin-top: 0.35em; color: var(--accent-text); font-size: 0.85rem; font-weight: 600; }
.places__list a:hover .places__name { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.12em; }
.places__note { margin: clamp(28px, 4vw, 44px) 0 0; color: var(--ink-2); max-width: 60ch; }
.places__others { margin: 10px 0 0; color: var(--muted); max-width: 72ch; }

/* The invitation at a page's foot: the question large, one button, her number beside it. */
.invite { background: var(--night-3); padding: clamp(72px, 10vw, 140px) 0; }
.invite__inner { display: grid; gap: 28px; }
.invite__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.5rem, 1.3rem + 4.6vw, 5.4rem); line-height: 1; letter-spacing: -0.015em; color: var(--on-night-strong); text-wrap: balance; }
.invite__text { color: var(--on-night-2); max-width: 40ch; }
.invite__go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin: 24px 0 0; }
@media (min-width: 1000px) { .invite__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; column-gap: 72px; } }

/* Inner pages' heading: where it sits, the title large, a lede; on About her portrait whole beside it. */
.page-hero__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.7rem, 1.5rem + 4.8vw, 5.8rem); line-height: 0.98; letter-spacing: -0.02em; text-wrap: balance; }
.page-hero .page-hero__lede { margin-top: 24px; max-width: 48ch; }
.page-hero__portrait { align-self: end; }
.page-hero__portrait img { width: 100%; height: auto; }

/* Light pages' quotes: the conversation of the home page, in ink on white. */
.voices { padding: var(--section-y) 0; }
.voices__heading { margin-bottom: clamp(8px, 2vw, 24px); }
.voices .said__one::before { background: var(--accent); }
.voices .said__title { color: var(--ink); }
.voices .said__one p:not(.said__title) { color: var(--ink-2); }
.voices .said__name { color: var(--ink); }
.voices .said__detail { color: var(--muted); }
.voices .said__more { margin-top: clamp(40px, 5vw, 64px); }

/* The board's closing line on About: her record, in words. */
.board__record { margin: 0; color: var(--on-night-2); max-width: 60ch; }
.board__source { display: block; margin-top: 6px; font-size: 0.82rem; }
@media (min-width: 1000px) { .board__record { grid-column: 2; } }

/* Every sale: a ledger, each row with its photograph whole beside it. */
.sold-list { padding: clamp(40px, 6vw, 80px) 0 var(--section-y); }
.sold-list__heading { margin-bottom: clamp(28px, 4vw, 48px); }
.sold-list__note { margin: 28px 0 0; color: var(--muted); font-size: 0.92rem; }
.ledger--photos { margin-top: 0; }
.ledger--photos .ledger__row { grid-template-columns: 112px minmax(0, 1fr) auto; column-gap: 16px; padding: 18px 0; align-items: start; }
.ledger--photos .ledger__photo { grid-column: 1; grid-row: 1 / span 3; background: var(--surface); }
.ledger--photos .ledger__photo img { width: 100%; height: auto; }
.ledger--photos .ledger__street { grid-column: 2; grid-row: 1; }
.ledger--photos .ledger__price { grid-column: 3; grid-row: 1; }
.ledger--photos .ledger__suburb { grid-column: 2; grid-row: 2; }
.ledger--photos .ledger__when { grid-column: 3; grid-row: 2; }
.ledger--photos .ledger__role { grid-column: 2 / -1; grid-row: 3; }
.ledger__type { color: var(--muted); }
@media (max-width: 420px) {
  .ledger--photos .ledger__row { grid-template-columns: 96px minmax(0, 1fr); }
  .ledger--photos .ledger__price { grid-column: 2; grid-row: 3; text-align: left; }
  .ledger--photos .ledger__when { grid-column: 2; grid-row: 4; text-align: left; }
  .ledger--photos .ledger__role { grid-column: 2; grid-row: 5; }
  .ledger--photos .ledger__photo { grid-row: 1 / span 5; }
}
@media (min-width: 900px) {
  .ledger--photos .ledger__row { grid-template-columns: 200px 9.5em minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) 7.5em; column-gap: 24px; align-items: center; padding: 16px 0; }
  .ledger--photos .ledger__photo { grid-column: 1; grid-row: 1; }
  .ledger--photos .ledger__when { grid-column: 2; grid-row: 1; text-align: left; }
  .ledger--photos .ledger__street { grid-column: 3; }
  .ledger--photos .ledger__suburb { grid-column: 4; grid-row: 1; }
  .ledger--photos .ledger__role { grid-column: 5; grid-row: 1; }
  .ledger--photos .ledger__price { grid-column: 6; }
}

/* The sold page's suburbs, as words to choose from (never pills): the one chosen underlined in brass. */
.filters { display: flex; flex-wrap: wrap; gap: 2px 22px; overflow: visible; padding: 0; margin: 0 0 14px; }
.filter { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--ink-2); cursor: pointer; font-size: 1rem; text-decoration: none; border-bottom: 2px solid transparent; }
.filter:hover { color: var(--ink); }
.filter[aria-pressed='true'] { color: var(--ink); border-bottom-color: var(--accent); }
.filter__count { color: var(--muted); font-size: 0.8rem; }
@media (max-width: 759.98px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); scroll-snap-type: x proximity; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; scroll-snap-align: start; white-space: nowrap; }
}
.filter-status { margin: 0 0 18px; }
.ledger [hidden] { display: none; }

/* Every review, in reading columns. */
.reviews-page { padding: clamp(48px, 7vw, 96px) 0 var(--section-y); }
.wall { columns: 1; column-gap: 56px; }
@media (min-width: 760px) { .wall { columns: 2; } }
@media (min-width: 1150px) { .wall { columns: 3; } }
.wall__one { break-inside: avoid; margin: 0 0 48px; padding-top: 22px; position: relative; }
.wall__one::before { content: ''; position: absolute; left: 0; top: 0; width: 56px; height: 1px; background: var(--accent); }
.wall__one blockquote { margin: 0; }
.wall__title { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; line-height: 1.22; margin-bottom: 12px; color: var(--ink); }
.wall__one p:not(.wall__title) { color: var(--ink-2); }
.wall .said__name { color: var(--ink); }
.wall .said__detail { color: var(--muted); }

/* The properties page's way on. */
.after-note { padding: 0 0 var(--section-y); }
.presenting--empty .presenting__title { margin-bottom: 0; }
.notfound__title { margin-bottom: 18px; }
.notfound__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

/* Her forms' pages: the form open on the page (no box round it), beside it her direct lines and a client's words. */
.form-page .composer { border-top: 1px solid var(--ink); padding-top: 26px; }
.form-page .composer--done { border-top: 1px solid var(--ink); padding-top: 26px; }
.form-page aside .display { margin-bottom: 4px; }
/* A button that reads as words: the other way, beside the one button. */
.quiet-button {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 6px;
}
.quiet-button:hover { text-decoration-thickness: 2px; }
/* Her direct lines: how, then where, a hairline between. */
.lines { list-style: none; border-top: 1px solid var(--line-strong); }
.line { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 12px; align-items: baseline; min-height: 52px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.line__how { color: var(--muted); font-size: 0.92rem; }
.line__what { font-family: var(--font-display); font-size: 1.2rem; overflow-wrap: anywhere; }
.line:hover .line__what { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.form-quote { margin-top: clamp(32px, 4vw, 48px); }
.form-quote::before { background: var(--accent); }
.form-quote .said__title { color: var(--ink); }
.form-quote p:not(.said__title) { color: var(--ink-2); }
.form-quote .said__name { color: var(--ink); }
.form-quote .said__detail { color: var(--muted); }

/* Motion: each section its own way (src/client/site.js marks what is below the first screen as it loads, and lets
   each in as it is scrolled to). Only for visitors who have not asked to reduce motion; without the script nothing is
   marked, so nothing is ever hidden; every movement ends with every word shown and every photograph whole. */
@media (prefers-reduced-motion: no-preference) {
  [data-motion='figures'].is-pending .record__fig { background-size: 0 1px; }
  [data-motion='figures'] .record__fig { transition: background-size 1.1s cubic-bezier(0.2, 0.7, 0.1, 1); }
  [data-motion='figures'] .record__fig:nth-of-type(2) { transition-delay: 0.25s; }
  [data-motion='figures'] .record__fig:nth-of-type(3) { transition-delay: 0.5s; }
  /* The photograph itself is never clipped (so it loads, and is seen to arrive): a cover in the page's own ground lifts
     off it. */
  [data-motion='unveil'] { position: relative; }
  [data-motion='unveil']::after { content: ''; position: absolute; inset: 0; background: var(--white); transform-origin: top; transform: scaleY(0); transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.1, 1); pointer-events: none; }
  [data-motion='unveil'].is-pending::after { transform: scaleY(1); transition: none; }
  [data-motion='lines'] .said__headline, [data-motion='lines'] .said__text, [data-motion='lines'] .said__mark { transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.1, 1); }
  [data-motion='lines'] .said__text { transition-delay: 0.2s; }
  [data-motion='lines'].is-pending .said__headline, [data-motion='lines'].is-pending .said__text { opacity: 0; transform: translateY(22px); }
  [data-motion='lines'].is-pending .said__mark { opacity: 0; transform: translateY(-12px); }
  [data-motion='rule']::before { transition: transform 1s cubic-bezier(0.2, 0.7, 0.1, 1); }
  [data-motion='rule'].is-pending::before { transform: scaleX(0); }
  [data-motion='rise'] .board__n { transition: opacity 0.9s ease, transform 1s cubic-bezier(0.2, 0.7, 0.1, 1); }
  [data-motion='rise'].is-pending .board__n { opacity: 0; transform: translateY(24%); }
  [data-motion='stagger'] li { transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.1, 1); }
  [data-motion='stagger'].is-pending li { opacity: 0; transform: translateY(16px); }
  [data-motion='stagger'] li:nth-child(2) { transition-delay: 0.08s; }
  [data-motion='stagger'] li:nth-child(3) { transition-delay: 0.16s; }
  [data-motion='stagger'] li:nth-child(4) { transition-delay: 0.24s; }
  [data-motion='stagger'] li:nth-child(5) { transition-delay: 0.32s; }
  [data-motion='stagger'] li:nth-child(n+6) { transition-delay: 0.4s; }
}

/* Page hero (inner pages) */
.page-hero { background: var(--night); color: var(--on-night); padding: clamp(48px, 8vw, 104px) 0 clamp(44px, 6vw, 80px); }
.page-hero__grid { display: grid; gap: 28px; align-items: end; }
.page-hero .lede { margin-top: 20px; }
.page-hero--with-portrait .page-hero__grid { grid-template-columns: minmax(0, 1fr) 132px; }
@media (min-width: 900px) {
  .page-hero--with-portrait .page-hero__grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; }
}
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.85rem; color: var(--on-night-2); margin-bottom: 22px; }
.breadcrumb li + li::before { content: '/'; margin-right: 6px; opacity: 0.6; }
.breadcrumb a { color: var(--on-night-2); text-decoration: none; display: inline-flex; min-height: 24px; align-items: center; }
.breadcrumb a:hover { color: var(--on-night); text-decoration: underline; }

/* Filters */
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; margin: 0 0 20px; scrollbar-width: thin; }
.filter-status { font-size: 0.95rem; color: var(--muted); margin-bottom: 20px; }

/* Approach */
.pillars { list-style: none; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
/* The card titles share one size, the largest at which all four fit on one line in the cards (AK, 21 Nov 2026, of
   this section: "Titles should be one line"; then "we don't want lots of different sizings of fonts for one section");
   the longest, "A broad and diverse buyer pool", is about 15.5em. On the narrowest phones they wrap rather than shrink. */
.pillar { background: var(--white); padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 14px; align-content: start; container-type: inline-size; }
.pillar .icon { color: var(--accent-text); }
.pillar__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.125rem, calc(100cqi / 15.5), 1.5rem); line-height: 1.2; }
.pillar p { color: var(--ink-2); }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.reviews { columns: 1; column-gap: 24px; }
@media (min-width: 760px) { .reviews { columns: 2; } }
@media (min-width: 1150px) { .reviews { columns: 3; } }

/* About */
.split { display: grid; gap: 32px; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; } }
.creds { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: 32px; }
.creds li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.creds .icon { color: var(--accent-text); margin-top: 2px; }
.creds strong { display: block; font-weight: 500; }
.creds span { color: var(--muted); font-size: 0.95rem; }

/* CTA band */

/* Forms (the message composer) */
.composer { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 500; font-size: 0.95rem; }
.field .hint { font-size: 0.85rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--white); color: var(--ink); font-size: 1rem;
}
.field textarea { min-height: 128px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--focus-light); outline-offset: 1px; border-color: var(--ink); }
.field [aria-invalid='true'] { border-color: #b3261e; }
.field__error { color: #b3261e; font-size: 0.9rem; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.composer__send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.composer__status { font-size: 0.95rem; color: var(--ink-2); background: var(--surface); border-radius: var(--radius); padding: 14px 16px; }
.composer__status[hidden] { display: none; }
.composer__privacy { font-size: 0.85rem; color: var(--muted); margin: 0; }
/* Sending from the site (README.md, "Enquiries"): one action, Turnstile's check only when it needs the visitor, the
   visitor's own app offered if a send cannot go, and "Sending", then "Sent" in the form's place. */
@media (min-width: 640px) { .composer__send--one { grid-template-columns: minmax(0, 1fr); justify-items: start; } }
.composer__send[hidden], .composer__fallback[hidden], .composer[hidden] { display: none; }
.composer__check:empty { display: none; }
.composer__check { max-width: 100%; overflow: hidden; }
.composer__fallback { display: grid; gap: 14px; padding: 18px 20px; background: var(--surface); border-left: 2px solid var(--accent); border-radius: var(--radius); }
.composer__fallback-text { margin: 0; color: var(--ink); }
.composer__fallback-text:focus { outline: none; }
.composer__fallback-text:focus-visible { outline: 2px solid var(--focus-light); outline-offset: 3px; }
.composer--done { justify-items: start; }
.composer--done:focus { outline: none; }
.composer--done:focus-visible { outline: 2px solid var(--focus-light); outline-offset: 3px; }
.composer__done-icon { color: var(--accent-text); }
.composer__done-title { margin: 0; }
.composer__done-note { margin: 0; color: var(--ink-2); max-width: 60ch; }
/* Sending: the tick waits; the note and "Write another message" appear once it has gone. */
.composer--done[data-state='sending'] .composer__done-icon { opacity: 0.35; }
.composer--done[data-state='sending'] [data-done-note], .composer--done[data-state='sending'] [data-again] { visibility: hidden; }
@keyframes composer-wait { 50% { opacity: 0.9; } }
@media (prefers-reduced-motion: no-preference) { .composer--done[data-state='sending'] .composer__done-icon { animation: composer-wait 1.4s ease-in-out infinite; } }
.benefits { list-style: none; display: grid; gap: 14px; margin: 24px 0 0; }
.stack-top { margin-top: clamp(24px, 3vw, 36px); }
.benefits li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; }
.benefits .icon { color: var(--accent-text); margin-top: 3px; }
.layout-2 { display: grid; gap: 40px; }
@media (min-width: 960px) { .layout-2 { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 64px; align-items: start; } }

/* Footer */
.site-footer { background: var(--night-3); color: var(--on-night-2); padding: clamp(56px, 7vw, 88px) 0 32px; font-size: 0.95rem; border-top: 1px solid var(--night-line); }
.site-footer a { color: var(--on-night); text-decoration: none; }
.site-footer .muted { color: var(--on-night-2); }
.site-footer a:hover { text-decoration: underline; }
.site-footer__grid { display: grid; gap: 36px; }
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); } }
.site-footer .wordmark__name { font-size: 1.9rem; color: var(--on-night); }
.site-footer .wordmark { color: var(--on-night); gap: 14px; }
.site-footer .mark { width: 36px; height: 48px; }
.site-footer__label { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-on-night); margin-bottom: 12px; font-weight: 500; }
.site-footer__list { list-style: none; display: grid; gap: 2px; }
.site-footer__list a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer__legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--night-line); display: grid; gap: 10px; font-size: 0.82rem; }
.site-footer__legal p { margin: 0; }
.site-footer__legal a { text-decoration: underline; text-underline-offset: 3px; }
.site-footer__disclaimer { max-width: 72ch; }
/* Barfoot & Thompson's wordmark beside her licence line (src/lib/agency.mjs): the agency's own letters, white with its
   gold ampersand, set on the footer's night with clear space round them, whole at their own proportions. */
.site-footer__licence { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding-bottom: 6px; }
.agency-logo { display: block; flex: none; max-width: none; height: auto; }
.site-footer__licence .agency-logo { width: auto; height: 30px; margin: 4px 0; }
.site-footer__licence p { margin: 0; max-width: 46ch; }
/* The template's credit, last of all (CLAUDE.md, decision 3): Lovain's small mark and "Premium Property Site by Lovain",
   in the accent. */
.site-footer__by { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--night-line); }
.site-footer .lovain-credit { display: inline-flex; align-items: center; gap: 0.65rem; min-height: 44px; color: var(--accent-on-night); text-decoration: none; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; }
.site-footer .lovain-credit:hover span, .site-footer .lovain-credit:focus-visible span { text-decoration: underline; text-underline-offset: 0.3em; }
.lovain-credit__mark { width: 1.25rem; height: 1.25rem; flex: none; color: var(--on-night); }

/* Mobile action bar */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(11, 18, 32, 0.97); border-top: 1px solid var(--night-line);
}
.action-bar[data-hidden] { transform: translateY(110%); visibility: hidden; }
@media (prefers-reduced-motion: no-preference) { .action-bar { transition: transform 0.2s ease, visibility 0.2s; } }
.action-bar .btn { min-height: 48px; padding: 0 12px; }
.action-bar .btn--outline { color: var(--on-night); border-color: rgba(244, 245, 247, 0.4); }
body.has-action-bar { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) {
  .action-bar { display: none; }
  body.has-action-bar { padding-bottom: 0; }
}

/* Privacy (src/pages.mjs): a reading column. */
.privacy h2 { margin: 2.4rem 0 0.75rem; }
.privacy h2:first-child { margin-top: 0; }
.privacy p { color: var(--ink-2); max-width: 66ch; }
.privacy a { text-underline-offset: 3px; }

/* 404 */
.notfound { min-height: 50vh; display: grid; align-content: center; }
.notfound__actions { margin-top: 28px; }

@media print {
  .site-header, .action-bar, .menu, .cta-band { display: none !important; }
  .night, .hero, .hero__stage, .page-hero { background: none !important; color: #000 !important; }
  .hero__backdrop { display: none !important; }
  .is-pending, .is-pending * { clip-path: none !important; opacity: 1 !important; transform: none !important; }
  [data-motion='unveil'].is-pending::after { display: none !important; }
}

/* The share icons (src/lib/share.mjs, src/client/share.js) and the square picture WeChat's card takes, on her pages and
   her property pages alike: the build adds this to her stylesheet and to each property page's. Her colours (the same
   values as src/styles/site.css), and nothing app-like: the apps' own marks in the text colour, no tiles or pills. */

/* The square picture for WeChat's link card: in the page, first, off screen, never shown (never display:none, which
   WeChat skips). Her portrait on her pages; the property's card photograph on its pages. */
.share-thumb { position: absolute; top: 0; left: -10000px; width: 480px; height: 480px; overflow: hidden; pointer-events: none; }

.share-to { position: relative; }
.share-to__label { margin: 0; }
.share-to__list { list-style: none; margin: 0 0 0 -11px; padding: 0; display: flex; flex-wrap: wrap; gap: 2px; }
.share-to__link {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
  border: 0; background: none; color: inherit; cursor: pointer; transition: color 0.2s ease;
}
.share-to__icon { display: block; width: 22px; height: 22px; fill: currentColor; }
.share-to__link:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.share-to__panel { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; max-width: 26rem; }
.share-to__panel[hidden] { display: none; }
.share-to__qr { flex: none; }
.share-to__qr[hidden] { display: none; }
.share-to__code { display: block; width: 132px; height: 132px; }
.share-to__note { flex: 1 1 12rem; margin: 0; font-size: 0.875rem; line-height: 1.55; }
.share-to__status { margin: 6px 0 0; font-size: 0.875rem; line-height: 1.55; overflow-wrap: anywhere; }
.share-to__status:empty { margin: 0; }

/* On a night ground (her footer). */
.share-to--night { color: #b8bfcb; }
.share-to--night .share-to__link:hover { color: #d9b77f; }
.share-to--night .share-to__note, .share-to--night .share-to__status { color: #b8bfcb; }

/* On a light ground (a property's first screen, under "Presented by"): the label beside the icons. */
.share-to--day { color: #353c49; font-family: "Jost", "Futura", "Helvetica Neue", Arial, sans-serif; }
.share-to--day .share-to__link:hover { color: #7a5a26; }
.share-to--day .share-to__code { outline: 1px solid #e1e4e9; }
.share-to--inline { display: flex; flex-wrap: wrap; align-items: center; column-gap: 14px; }
.share-to--inline .share-to__label { font-size: 0.8125rem; color: #5a6270; }
.share-to--inline .share-to__list { margin-left: 0; }
.share-to--inline .share-to__panel, .share-to--inline .share-to__status { flex-basis: 100%; }
.pf-share { margin-top: 1rem; }

@media (prefers-reduced-motion: reduce) { .share-to__link { transition: none; } }
