/* =========================================================
   Cleo Culver Real Estate — site.css
   Palettes x day/night are driven by two attributes on <html>:
   data-palette="champagne|rose|sage|bay"  data-theme="light|dark"
   ========================================================= */

/* ---------- Fonts (self-hosted, no Google calls) ---------- */
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda-latin-standard-normal.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda-latin-standard-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-standard-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-standard-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-wght-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

/* ---------- Palettes: each defines a light (l-) and dark (d-) set ---------- */
:root[data-palette="champagne"] {
  --l-bg: #f7f3ec; --l-bg-2: #efe8dc; --l-surface: #fffdf9; --l-ink: #1b1915; --l-ink-2: #6b6357; --l-line: #ddd3c3; --l-accent: #9a7440; --l-accent-2: #c8a46c; --l-on-accent: #fffdf9; --l-inverse: #16140f; --l-on-inverse: #f3ece0;
  --d-bg: #11100d; --d-bg-2: #19170f; --d-surface: #1e1b15; --d-ink: #f1e9dc; --d-ink-2: #a89d8b; --d-line: #343026; --d-accent: #cfa96b; --d-accent-2: #e6c891; --d-on-accent: #16130d; --d-inverse: #f1e9dc; --d-on-inverse: #16130d;
  --palette-name: "Champagne";
}
:root, :root[data-palette="rose"] {
  --l-bg: #f8f0ec; --l-bg-2: #f1e3dd; --l-surface: #fffaf8; --l-ink: #2a1c20; --l-ink-2: #7a6166; --l-line: #e6d2cc; --l-accent: #9c4a5e; --l-accent-2: #c9848f; --l-on-accent: #fffaf8; --l-inverse: #2a1c20; --l-on-inverse: #f8ebe7;
  --d-bg: #160f12; --d-bg-2: #1f151a; --d-surface: #241a1e; --d-ink: #f5e6e8; --d-ink-2: #b39aa0; --d-line: #3a2b31; --d-accent: #e39aab; --d-accent-2: #f2c1ca; --d-on-accent: #1d1216; --d-inverse: #f5e6e8; --d-on-inverse: #1d1216;
  --palette-name: "Rosé";
}
:root[data-palette="sage"] {
  --l-bg: #f2f2ec; --l-bg-2: #e6e8dd; --l-surface: #fbfbf7; --l-ink: #1b231d; --l-ink-2: #5f6b61; --l-line: #d3d8ca; --l-accent: #4f6b52; --l-accent-2: #a3865a; --l-on-accent: #fbfbf7; --l-inverse: #1b231d; --l-on-inverse: #eef0e6;
  --d-bg: #0f1310; --d-bg-2: #151b16; --d-surface: #1a211c; --d-ink: #e6ebe2; --d-ink-2: #9aa597; --d-line: #2c362e; --d-accent: #a5c29f; --d-accent-2: #d1b483; --d-on-accent: #0f1310; --d-inverse: #e6ebe2; --d-on-inverse: #0f1310;
  --palette-name: "Sage & Brass";
}
:root[data-palette="bay"] {
  --l-bg: #eef1f3; --l-bg-2: #e0e6ea; --l-surface: #f9fbfc; --l-ink: #121d27; --l-ink-2: #566472; --l-line: #cfd8df; --l-accent: #2b5878; --l-accent-2: #b08b5b; --l-on-accent: #f9fbfc; --l-inverse: #121d27; --l-on-inverse: #e9eef2;
  --d-bg: #0b1218; --d-bg-2: #101a22; --d-surface: #142029; --d-ink: #e2e9ef; --d-ink-2: #92a2b0; --d-line: #24333f; --d-accent: #86b6d8; --d-accent-2: #d8b583; --d-on-accent: #0b1218; --d-inverse: #e2e9ef; --d-on-inverse: #0b1218;
  --palette-name: "Bay Fog";
}

/* ---- Soft light palettes: muted pastel tones, pale bands instead of near-black, no glaring white ---- */
:root[data-palette="blush"] {
  --l-bg: #f4e6e3; --l-bg-2: #ecd8d4; --l-surface: #f9efed; --l-ink: #4a3439; --l-ink-2: #6e555b; --l-line: #e2cac5; --l-accent: #aa566d; --l-accent-2: #dca2ae; --l-on-accent: #fff8f7; --l-inverse: #e8cfd0; --l-on-inverse: #4a3439;
  --d-bg: #45363b; --d-bg-2: #4f3f45; --d-surface: #56464c; --d-ink: #f8ecee; --d-ink-2: #dcc9cd; --d-line: #67555b; --d-accent: #f4b8c5; --d-accent-2: #f9d3db; --d-on-accent: #3a2c31; --d-inverse: #f3e2e4; --d-on-inverse: #3a2c31;
}
:root[data-palette="linen"] {
  --l-bg: #efe8dc; --l-bg-2: #e6dccc; --l-surface: #f6f0e7; --l-ink: #3d352c; --l-ink-2: #645949; --l-line: #dccfbd; --l-accent: #84653c; --l-accent-2: #c8ad85; --l-on-accent: #fffaf2; --l-inverse: #e0d3bf; --l-on-inverse: #3d352c;
  --d-bg: #453c32; --d-bg-2: #4f463b; --d-surface: #574d42; --d-ink: #f7f0e6; --d-ink-2: #dacfc0; --d-line: #675b4c; --d-accent: #e8cba0; --d-accent-2: #f1dec0; --d-on-accent: #3a3229; --d-inverse: #efe5d6; --d-on-inverse: #3a3229;
}
:root[data-palette="seaglass"] {
  --l-bg: #e3efec; --l-bg-2: #d5e6e2; --l-surface: #edf6f4; --l-ink: #2a3c3a; --l-ink-2: #4a615e; --l-line: #c6dcd8; --l-accent: #36736b; --l-accent-2: #8fc2ba; --l-on-accent: #f5fbfa; --l-inverse: #cbe1dd; --l-on-inverse: #2a3c3a;
  --d-bg: #314746; --d-bg-2: #395150; --d-surface: #405957; --d-ink: #ebf6f4; --d-ink-2: #c8dcd9; --d-line: #4e6866; --d-accent: #a9e0d7; --d-accent-2: #cbede7; --d-on-accent: #263837; --d-inverse: #dcefeb; --d-on-inverse: #263837;
}
:root[data-palette="lilac"] {
  --l-bg: #ebe5f1; --l-bg-2: #dfd7ea; --l-surface: #f3eff7; --l-ink: #362e40; --l-ink-2: #61566e; --l-line: #d6cce3; --l-accent: #765a9f; --l-accent-2: #bba9d6; --l-on-accent: #faf8fc; --l-inverse: #ddd2ea; --l-on-inverse: #362e40;
  --d-bg: #3e3649; --d-bg-2: #473e53; --d-surface: #4e455a; --d-ink: #f4eff9; --d-ink-2: #d7cde2; --d-line: #5e546c; --d-accent: #d6c4f3; --d-accent-2: #e6dbf7; --d-on-accent: #332b3d; --d-inverse: #ece4f6; --d-on-inverse: #332b3d;
}

/* ---------- Theme selection ---------- */
:root, :root[data-theme="light"] {
  --bg: var(--l-bg); --bg-2: var(--l-bg-2); --surface: var(--l-surface); --ink: var(--l-ink); --ink-2: var(--l-ink-2); --line: var(--l-line);
  --accent: var(--l-accent); --accent-2: var(--l-accent-2); --on-accent: var(--l-on-accent); --inverse: var(--l-inverse); --on-inverse: var(--l-on-inverse);
  --shadow: 0 30px 60px -30px rgb(40 30 15 / .28); --img-dim: 1; color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: var(--d-bg); --bg-2: var(--d-bg-2); --surface: var(--d-surface); --ink: var(--d-ink); --ink-2: var(--d-ink-2); --line: var(--d-line);
    --accent: var(--d-accent); --accent-2: var(--d-accent-2); --on-accent: var(--d-on-accent); --inverse: var(--d-inverse); --on-inverse: var(--d-on-inverse);
    --shadow: 0 30px 60px -30px rgb(0 0 0 / .7); --img-dim: .9; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: var(--d-bg); --bg-2: var(--d-bg-2); --surface: var(--d-surface); --ink: var(--d-ink); --ink-2: var(--d-ink-2); --line: var(--d-line);
  --accent: var(--d-accent); --accent-2: var(--d-accent-2); --on-accent: var(--d-on-accent); --inverse: var(--d-inverse); --on-inverse: var(--d-on-inverse);
  --shadow: 0 30px 60px -30px rgb(0 0 0 / .7); --img-dim: .9; color-scheme: dark;
}

:root {
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  /* "Classic" type: Bodoni at a sturdier optical size so hairlines don't vanish */
  --serif-vs: "opsz" 22; --serif-w: 560; --serif-w-em: 500; --serif-ls: 0em;
  --sans: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --topbar: 38px;
  --header: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-weight: 420; font-size: 1.0625rem; line-height: 1.7;
  font-variation-settings: var(--serif-vs); /* only the serif has an opsz axis; Jost ignores it */
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  transition: background-color .6s var(--ease), color .6s var(--ease);
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
img { filter: brightness(var(--img-dim)); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--bg); padding: 10px 16px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.display, h1, h2, h3 { font-family: var(--serif); font-weight: var(--serif-w); letter-spacing: var(--serif-ls); margin: 0; }
.display { font-size: clamp(3rem, 7.4vw, 7.25rem); line-height: .95; }
h2, .h2 { font-size: clamp(2.3rem, 4.6vw, 4.4rem); line-height: 1; }
h3, .h3 { font-size: clamp(1.45rem, 2vw, 1.9rem); line-height: 1.15; }
em, .it { font-style: italic; }
.display em, h2 em, .h2 em { color: var(--accent); font-weight: var(--serif-w-em); }
.eyebrow {
  font-family: var(--sans); font-size: .72rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink-2); display: inline-flex; align-items: center; gap: 14px; margin: 0 0 22px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow .num { color: var(--accent); font-weight: 600; }
.lede { font-size: clamp(1.08rem, 1.35vw, 1.28rem); line-height: 1.65; color: var(--ink-2); max-width: 38rem; }
p { margin: 0 0 1.1em; }
h1 + p, h2 + p, h2 + .lede, .display + .lede { margin-top: 28px; }
.band h2 + p { margin-top: 24px; }
.muted { color: var(--ink-2); }
.small { font-size: .86rem; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--ink); --t: var(--bg);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 28px; border: 1px solid var(--b); background: var(--b); color: var(--t);
  font-size: .8rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate; transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: translateY(101%); transition: transform .5s var(--ease-out); z-index: -1; }
.btn:hover::after, .btn:focus-visible::after { transform: none; }
.btn:hover, .btn:focus-visible { color: var(--on-accent); border-color: var(--accent); }
.btn--ghost { --b: transparent; --t: var(--ink); border-color: var(--ink); }
.btn--light { --b: #fff; --t: #111; }
.btn--line-light { --b: transparent; --t: #fff; border-color: rgb(255 255 255 / .7); }
.btn .arr { transition: transform .4s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.link {
  font-size: .78rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px; padding-bottom: 6px; position: relative;
}
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform .5s var(--ease); }
.link:hover::after { transform: scaleX(.35); }
.play-ico { width: 34px; height: 34px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; }
.play-ico svg { width: 10px; margin-left: 2px; fill: currentColor; }

/* ---------- Top style bar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; height: var(--topbar); z-index: 60;
  background: var(--inverse); color: var(--on-inverse); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  transition: transform .5s var(--ease), background-color .6s var(--ease);
}
.topbar .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.stylebar { display: flex; align-items: center; gap: 14px; }
.stylebar__label { opacity: .7; }
.swatches { display: flex; gap: 8px; }
.swatch {
  width: 18px; height: 18px; border-radius: 50%; padding: 0; cursor: pointer; border: 1px solid color-mix(in srgb, var(--on-inverse) 35%, transparent);
  background: conic-gradient(var(--sw-a) 0 50%, var(--sw-b) 0 100%); transform: rotate(-45deg);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.swatch:hover { transform: rotate(-45deg) scale(1.18); }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--inverse), 0 0 0 3px var(--on-inverse); }
.swatch[data-set="champagne"] { --sw-a: #f3ead9; --sw-b: #9a7440; }
.swatch[data-set="rose"] { --sw-a: #f6e4df; --sw-b: #9c4a5e; }
.swatch[data-set="sage"] { --sw-a: #e9ebe0; --sw-b: #4f6b52; }
.swatch[data-set="bay"] { --sw-a: #e3e9ee; --sw-b: #2b5878; }
.swatch[data-set="blush"] { --sw-a: #f4e6e3; --sw-b: #dca2ae; }
.swatch[data-set="linen"] { --sw-a: #efe8dc; --sw-b: #c8ad85; }
.swatch[data-set="seaglass"] { --sw-a: #e3efec; --sw-b: #8fc2ba; }
.swatch[data-set="lilac"] { --sw-a: #ebe5f1; --sw-b: #bba9d6; }
.swatch-div { width: 1px; height: 14px; background: color-mix(in srgb, var(--on-inverse) 30%, transparent); align-self: center; }
.stylebar__name { min-width: 7.5em; opacity: .85; font-style: italic; font-family: var(--serif); text-transform: none; letter-spacing: 0; font-size: .9rem; }
.theme-toggle {
  display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid color-mix(in srgb, var(--on-inverse) 30%, transparent); color: inherit;
  height: 26px; padding: 0 10px 0 4px; border-radius: 99px; cursor: pointer; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
}

.theme-toggle__knob { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--on-inverse); color: var(--inverse); transition: transform .5s var(--ease-out); }
.theme-toggle__knob svg { width: 11px; height: 11px; }
.theme-toggle .ico-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .ico-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .ico-moon { display: block; }
.type-toggle { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid color-mix(in srgb, var(--on-inverse) 30%, transparent); color: inherit; height: 26px; padding: 0 10px; border-radius: 99px; cursor: pointer; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.type-toggle b { font-family: var(--serif); font-size: .95rem; letter-spacing: 0; text-transform: none; font-weight: var(--serif-w); }

.topbar__contact { display: flex; gap: 22px; align-items: center; }
.no-stylebar .stylebar { display: none; }
.no-stylebar .topbar .wrap { justify-content: flex-end; }
.topbar__contact a:hover { color: var(--accent-2); }

/* ---------- Header ---------- */
.header {
  position: fixed; left: 0; right: 0; top: var(--topbar); z-index: 50; height: var(--header);
  transition: background-color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease), height .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header.is-solid { background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-color: var(--line); height: 66px; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; letter-spacing: -.01em; }
.brand__name em { color: var(--accent); }
.brand__sub { font-size: .58rem; letter-spacing: .34em; text-transform: uppercase; color: var(--ink-2); margin-top: 6px; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); }
.nav a { font-size: .78rem; font-weight: 450; letter-spacing: .2em; text-transform: uppercase; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--accent); }
.header__cta { min-height: 44px; padding: 0 20px; font-size: .72rem; }
.menu-btn { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 1px; background: var(--ink); transition: transform .45s var(--ease), opacity .3s; }
.menu-btn span:nth-child(1) { top: 17px; } .menu-btn span:nth-child(2) { top: 26px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }
/* header over dark hero imagery */
.header--over:not(.is-solid) { color: #fff; }
.header--over:not(.is-solid) .brand__sub { color: rgb(255 255 255 / .75); }
.header--over:not(.is-solid) .menu-btn span { background: #fff; }
.header--over:not(.is-solid) .btn--ghost { --t: #fff; border-color: rgb(255 255 255 / .8); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--bg); padding: calc(var(--topbar) + var(--header) + 24px) var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 6px; clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-out); visibility: hidden;
}
.menu-open .mobile-menu { clip-path: inset(0); visibility: visible; }
.mobile-menu a { font-family: var(--serif); font-size: clamp(2.2rem, 9vw, 3.2rem); line-height: 1.25; }
.mobile-menu a[aria-current="page"] { color: var(--accent); font-style: italic; }
.mobile-menu .btn { margin-top: 24px; font-family: var(--sans); font-size: .8rem; }

:root:not([data-type="classic"]) { --serif: "Fraunces", Georgia, serif; --serif-vs: "opsz" 72; --serif-w: 420; --serif-w-em: 420; --serif-ls: -.01em; }
main { display: block; }
.section { padding: clamp(84px, 11vw, 160px) 0; position: relative; }
.section--tight { padding: clamp(60px, 7vw, 100px) 0; }
.section--alt { background: var(--bg-2); }
.section--inverse { background: var(--inverse); color: var(--on-inverse); }
.section--inverse .eyebrow, .section--inverse .muted, .section--inverse .lede { color: color-mix(in srgb, var(--on-inverse) 70%, transparent); }
.section--inverse .btn--ghost { --t: var(--on-inverse); border-color: var(--on-inverse); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: clamp(40px, 5vw, 72px); flex-wrap: wrap; }
.section-head .lede { margin: 18px 0 0; }

/* ---------- Hero (home) ---------- */
.hero { padding: calc(var(--topbar) + var(--header) + clamp(36px, 6vw, 80px)) 0 clamp(60px, 8vw, 110px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 70vw; height: 70vw; right: -18vw; top: -22vw; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 16%, transparent), transparent);
  pointer-events: none; animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate(-6vw, 5vw) scale(1.1); } }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 5vw, 88px); align-items: center; position: relative; }
.hero .display { margin: 0 0 30px; font-size: clamp(2.9rem, 5.6vw, 6.1rem); line-height: .97; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__proof { display: flex; align-items: center; gap: 16px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-2); max-width: 36rem; }
.stars { color: var(--accent); letter-spacing: .18em; font-size: .95rem; }
.hero__proof strong { color: var(--ink); font-weight: 500; }

/* Viewfinder — the camera is the hero */
.viewfinder { position: relative; aspect-ratio: 1; width: 100%; max-width: 600px; justify-self: end; }
.viewfinder__frame { position: absolute; inset: 0; overflow: hidden; background: #000; box-shadow: var(--shadow); clip-path: inset(0); }
.viewfinder video, .viewfinder__frame img { width: 100%; height: 100%; object-fit: cover; filter: none; }
.viewfinder__ui { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(rgb(0 0 0 / .38), transparent 22%, transparent 74%, rgb(0 0 0 / .45)); color: #fff; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; font-variant-numeric: tabular-nums; text-shadow: 0 1px 8px rgb(0 0 0 / .5); }
.vf-corner { position: absolute; width: 30px; height: 30px; border: 0 solid rgb(255 255 255 / .9); transition: inset .9s var(--ease-out); }
.vf-corner.tl { left: 16px; top: 16px; border-left-width: 1.5px; border-top-width: 1.5px; }
.vf-corner.tr { right: 16px; top: 16px; border-right-width: 1.5px; border-top-width: 1.5px; }
.vf-corner.bl { left: 16px; bottom: 16px; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.vf-corner.br { right: 16px; bottom: 16px; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.vf-rec { position: absolute; left: 30px; top: 28px; display: flex; align-items: center; gap: 8px; }
.vf-rec i { width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; animation: rec 1.4s steps(2, jump-none) infinite; }
@keyframes rec { 50% { opacity: .15; } }
.vf-tc { position: absolute; right: 30px; top: 28px; }
.vf-title { position: absolute; left: 30px; bottom: 28px; max-width: 60%; line-height: 1.5; }
.vf-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgb(255 255 255 / .2); }
.vf-progress i { display: block; height: 100%; width: 0; background: var(--accent-2); }
.vf-sound {
  position: absolute; right: 26px; bottom: 22px; pointer-events: auto; display: inline-flex; align-items: center; gap: 10px;
  background: rgb(0 0 0 / .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; border: 1px solid rgb(255 255 255 / .4);
  padding: 9px 14px; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; transition: background .3s;
}
.vf-sound:hover { background: rgb(0 0 0 / .6); }
.viewfinder__caption { position: absolute; left: -1px; top: calc(100% + 16px); font-size: .78rem; color: var(--ink-2); letter-spacing: .04em; }
.viewfinder__tag {
  position: absolute; left: -26px; top: 50%; transform: translate(-50%, -50%) rotate(-90deg); transform-origin: center;
  font-size: .66rem; letter-spacing: .4em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap;
}

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; white-space: nowrap; }
.marquee__track { display: inline-flex; gap: 0; animation: marquee 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.4vw, 2.1rem); padding: 0 .9em; }
.marquee span.dot { font-style: normal; color: var(--accent); font-size: 1rem; padding: 0; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Films ---------- */
.films { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 34px); }
.film { cursor: pointer; text-align: left; background: none; border: 0; padding: 0; color: inherit; display: block; width: 100%; }
.film__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #000; }
.film__media img { width: 100%; height: 100%; object-fit: cover; filter: none; transition: transform 1.4s var(--ease-out), opacity .6s; opacity: .92; }
.film:hover .film__media img { transform: scale(1.06); opacity: 1; }
.film__play {
  position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; display: grid; place-items: center;
  background: rgb(255 255 255 / .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgb(255 255 255 / .6); color: #fff;
  transition: transform .6s var(--ease-out), background .4s;
}
.film__play svg { width: 16px; margin-left: 3px; fill: currentColor; }
.film:hover .film__play { transform: scale(1.16); background: var(--accent); border-color: var(--accent); }
.film__dur { position: absolute; right: 14px; bottom: 12px; color: #fff; font-size: .7rem; letter-spacing: .18em; font-variant-numeric: tabular-nums; background: rgb(0 0 0 / .45); padding: 3px 8px; }
.film__meta { padding-top: 22px; }
.film__kicker { font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; opacity: .65; }
.film__title { font-family: var(--serif); font-size: clamp(1.35rem, 1.8vw, 1.7rem); line-height: 1.2; margin-top: 8px; }
.film--feature { grid-column: span 3; display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.film--feature .film__media { aspect-ratio: 16 / 10; }
.film--feature .film__title { font-size: clamp(2rem, 3.4vw, 3.2rem); }

/* ---------- Listing cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 2.6vw, 40px) clamp(18px, 2.2vw, 32px); }
.card { position: relative; cursor: pointer; display: block; background: none; border: 0; padding: 0; text-align: left; color: inherit; width: 100%; }
.card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.card:hover .card__media img { transform: scale(1.07); }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / .45), transparent 42%); opacity: .8; transition: opacity .6s; }
.card:hover .card__media::after { opacity: 1; }
.chip-row { position: absolute; left: 16px; top: 16px; display: flex; gap: 8px; flex-wrap: wrap; z-index: 2; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; font-size: .64rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; background: rgb(255 255 255 / .92); color: #111; }
.chip--dark { background: rgb(10 10 10 / .55); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.chip--dark i { width: 6px; height: 6px; border-radius: 50%; background: #ff3b30; }
.card__view { position: absolute; right: 16px; bottom: 16px; z-index: 2; color: #fff; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; opacity: 0; transform: translateY(8px); transition: .5s var(--ease); }
.card:hover .card__view { opacity: 1; transform: none; }
.card__body { padding-top: 20px; }
.card__price { font-family: var(--serif); font-size: clamp(1.6rem, 2.1vw, 2rem); line-height: 1; font-variant-numeric: lining-nums; }
.card__place { margin-top: 10px; font-size: .95rem; }
.card__place b { font-weight: 500; }
.specs { display: flex; flex-wrap: wrap; gap: 0; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.specs span { padding-right: 14px; margin-right: 14px; border-right: 1px solid var(--line); }
.specs span:last-child { border: 0; margin: 0; padding: 0; }
.cards--feature { grid-template-columns: 1.4fr 1fr 1fr; align-items: end; }
.cards--feature .card:first-child .card__media { aspect-ratio: 4 / 4.6; }
.cards--feature .card:not(:first-child) .card__media { aspect-ratio: 4 / 5.4; }
.illustrative { margin-top: 34px; font-size: .78rem; color: var(--ink-2); letter-spacing: .04em; }

/* ---------- Feelings ---------- */
.feelings { --mask-bg: var(--bg-2); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.feeling { position: relative; aspect-ratio: 3 / 4.4; overflow: hidden; color: #fff; display: block; }
.feeling img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.8s var(--ease-out); }
.feeling::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / .62), rgb(0 0 0 / 0) 55%); transition: background .6s; }
.feeling:hover img { transform: scale(1.08); }
.feeling__text { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 2; }
.feeling__n { font-size: .68rem; letter-spacing: .3em; opacity: .8; }
.feeling__title { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 2.3vw, 2.2rem); line-height: 1.05; margin: 6px 0 0; }
.feeling__desc { font-size: .88rem; line-height: 1.5; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s, margin .5s; margin: 0; }
.feeling:hover .feeling__desc, .feeling:focus-visible .feeling__desc { max-height: 6em; opacity: .9; margin-top: 10px; }

/* ---------- About teaser / split ---------- */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.portrait { position: relative; }
.portrait__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; z-index: 1; }
.portrait__img img { width: 100%; height: 110%; margin-top: -5%; object-fit: cover; }
.portrait::before { content: ""; position: absolute; inset: 28px -28px -28px 28px; border: 1px solid var(--accent); z-index: 0; transition: transform 1.2s var(--ease-out); }
.portrait__play { position: absolute; z-index: 2; left: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 12px; color: #fff; background: rgb(0 0 0 / .38); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgb(255 255 255 / .45); padding: 10px 16px 10px 10px; cursor: pointer; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; }
.signature { font-family: var(--serif); font-style: italic; font-size: 2.6rem; color: var(--accent); line-height: 1; margin-top: 10px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 44px; padding-top: 34px; border-top: 1px solid var(--line); }
.stat__n { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.stat__n sup { font-size: .4em; color: var(--accent); vertical-align: super; margin-left: 2px; }
.stat__l { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); margin-top: 10px; line-height: 1.5; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); position: relative; padding-top: 54px; }
.process__line { position: absolute; left: 0; right: 0; top: 10px; height: 1px; background: var(--line); }
.process__line i { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 2.2s var(--ease-out); }
.process.is-in .process__line i { transform: scaleX(1); }
.step { position: relative; }
.step::before { content: ""; position: absolute; top: -50px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 1px solid var(--accent); transition: background .4s; }
.process.is-in .step::before { background: var(--accent); transition-delay: calc(var(--i) * .45s + .3s); }
.step__n { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 1.1rem; }
.step h3 { margin: 8px 0 14px; }
.step p { color: var(--ink-2); font-size: .98rem; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.quote-stage { display: grid; }
.quote { grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); pointer-events: none; }
.quote.is-active { opacity: 1; transform: none; pointer-events: auto; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.5rem, 2.5vw, 2.35rem); line-height: 1.25; font-weight: 400; }
.quote blockquote::before { content: "\201C"; display: block; font-size: 6.5rem; line-height: 1; height: .52em; color: var(--accent); font-style: italic; }
.quote figcaption { margin-top: 30px; display: flex; align-items: center; gap: 14px; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; }
.quote figcaption .muted { letter-spacing: .1em; }
.sample-tag { font-size: .6rem; letter-spacing: .2em; border: 1px solid var(--line); padding: 3px 7px; color: var(--ink-2); }
.quote-nav { display: flex; gap: 10px; margin-top: 36px; }
.quote-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: none; cursor: pointer; transition: border-color .3s, background .3s, color .3s; }
.quote-nav button:hover { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.proof-card { border: 1px solid var(--line); background: var(--surface); padding: clamp(28px, 3vw, 44px); box-shadow: var(--shadow); }
.proof-card__score { font-family: var(--serif); font-size: clamp(4rem, 7vw, 6rem); line-height: .9; }
.proof-card .stars { font-size: 1.2rem; display: block; margin: 14px 0 18px; }

/* ---------- Full-bleed band ---------- */
.band { position: relative; min-height: min(86vh, 820px); display: grid; align-items: end; color: #fff; overflow: hidden; background: #0b0f14; }
.band__img { position: absolute; inset: -14% 0; }
.band__img img { width: 100%; height: 100%; object-fit: cover; filter: none; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(5 8 12 / .82), rgb(5 8 12 / .15) 70%); }
.band .wrap { position: relative; z-index: 2; padding-block: clamp(60px, 8vw, 120px); }
.band h2 { max-width: 14ch; }
.band h2 em { color: var(--accent-2); }
.band p { max-width: 34rem; color: rgb(255 255 255 / .82); font-size: 1.1rem; }
.band .eyebrow { color: rgb(255 255 255 / .8); }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta h2 { font-size: clamp(2.8rem, 7vw, 6.5rem); line-height: .95; }
.cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 44px; }
.cta__phone { display: block; margin-top: 28px; font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--ink-2); }
.cta__phone:hover { color: var(--accent); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: calc(var(--topbar) + var(--header) + clamp(48px, 7vw, 110px)) 0 clamp(50px, 6vw, 90px); position: relative; overflow: hidden; }
.page-hero .display { max-width: 12ch; }
.page-hero__row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(30px, 5vw, 90px); align-items: end; }
.page-hero__row .lede { margin: 0; }
.page-hero--image { min-height: min(92vh, 900px); display: grid; align-items: end; color: #fff; padding-bottom: clamp(56px, 7vw, 100px); }
.page-hero--image .page-hero__bg { position: absolute; inset: 0; }
.page-hero--image .page-hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: none; animation: kenburns 24s ease-out forwards; }
.page-hero--image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / .72), rgb(0 0 0 / .1) 60%, rgb(0 0 0 / .35)); }
.page-hero--image .wrap { position: relative; z-index: 2; }
.page-hero--image .lede, .page-hero--image .eyebrow { color: rgb(255 255 255 / .85); }
.page-hero--image .display em { color: var(--accent-2); }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1); } }

/* ---------- Listings page tools ---------- */
.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding: 22px 0; border-block: 1px solid var(--line); margin-bottom: clamp(36px, 4vw, 56px); position: sticky; top: calc(var(--topbar) + 66px); z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.filter-groups { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-group__label { font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-2); margin-right: 6px; }
.pill { border: 1px solid var(--line); background: none; padding: 8px 15px; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: all .35s var(--ease); }
.pill:hover { border-color: var(--ink); }
.pill[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filters__right { display: flex; align-items: center; gap: 18px; font-size: .82rem; color: var(--ink-2); }
.select { appearance: none; -webkit-appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23888' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat right 12px center; border: 1px solid var(--line); padding: 9px 34px 9px 14px; font-size: .78rem; letter-spacing: .08em; cursor: pointer; }
.cards .card { transition: opacity .5s var(--ease), transform .6s var(--ease-out); }
.cards .card.is-hidden { display: none; }
.cards .card.is-entering { opacity: 0; transform: translateY(24px); }
.empty { text-align: center; padding: 60px 0; color: var(--ink-2); display: none; }

.live { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.live__panel { position: relative; border: 1px solid var(--line); background: var(--surface); min-height: 520px; overflow: hidden; }
.live__poster { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: #fff; }
.live__poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: none; }
.live__poster::after { content: ""; position: absolute; inset: 0; background: rgb(5 10 15 / .55); }
.live__poster > div { position: relative; z-index: 2; padding: 30px; }
.live__poster h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 22px; }
.live iframe { width: 100%; height: 860px; border: 0; display: block; background: #fff; }
.live__links { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 26px; }

/* ---------- Dialogs ---------- */
dialog { border: 0; padding: 0; background: transparent; color: inherit; max-width: none; max-height: none; }
dialog::backdrop { background: rgb(8 8 8 / .82); backdrop-filter: blur(6px); }
.lightbox[open] { display: grid; place-items: center; width: 100vw; height: 100dvh; animation: fade .4s var(--ease); }
.lightbox__inner { width: min(88vw, 82dvh); position: relative; }
.lightbox video { width: 100%; aspect-ratio: 1; background: #000; filter: none; }
.lightbox__title { color: #fff; font-family: var(--serif); font-size: 1.5rem; margin-top: 16px; }
.x-btn { position: fixed; right: 22px; top: 22px; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .5); background: rgb(0 0 0 / .3); color: #fff; font-size: 1.4rem; cursor: pointer; z-index: 3; }
.x-btn:hover { background: var(--accent); border-color: var(--accent); }
@keyframes fade { from { opacity: 0; } }
.home-modal[open] { width: min(1180px, 94vw); max-height: 92dvh; overflow: auto; background: var(--bg); color: var(--ink); animation: rise .55s var(--ease-out); box-shadow: 0 40px 120px rgb(0 0 0 / .45); }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } }
.home-modal .x-btn { position: sticky; float: right; top: 16px; right: 16px; margin: 16px 16px 0 0; background: var(--ink); color: var(--bg); border-color: transparent; }
.hm { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.hm__gallery { background: var(--bg-2); }
.hm__main { aspect-ratio: 4 / 3.4; overflow: hidden; }
.hm__main img { width: 100%; height: 100%; object-fit: cover; animation: fade .6s; }
.hm__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 6px; }
.hm__thumbs button { padding: 0; border: 0; aspect-ratio: 4 / 3; overflow: hidden; cursor: pointer; opacity: .6; transition: opacity .3s; background: none; }
.hm__thumbs button[aria-current="true"], .hm__thumbs button:hover { opacity: 1; }
.hm__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.hm__info { padding: clamp(28px, 4vw, 54px); }
.hm__price { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; margin: 12px 0 10px; }
.hm__info .specs { font-size: .8rem; }
.hm__info p { margin-top: 24px; color: var(--ink-2); }
.hm__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hm__note { margin-top: 22px; font-size: .76rem; color: var(--ink-2); }

/* ---------- About page bits ---------- */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.value { background: var(--bg); padding: clamp(30px, 3.5vw, 54px); transition: background .5s; }
.value:hover { background: var(--surface); }
.value__n { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 3rem; line-height: 1; }
.value h3 { margin: 22px 0 14px; }
.value p { color: var(--ink-2); margin: 0; }
.areas { columns: 3; column-gap: 40px; margin: 0; padding: 0; list-style: none; }
.areas li { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.75rem); padding: 12px 0; border-bottom: 1px solid var(--line); break-inside: avoid; display: flex; justify-content: space-between; align-items: baseline; }
.areas li small { font-family: var(--sans); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.creds { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 0; }
.creds li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.creds li span:first-child { color: var(--ink-2); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; padding-top: 3px; }
.pull { font-family: var(--serif); font-size: clamp(2rem, 4.2vw, 3.8rem); line-height: 1.12; max-width: 22ch; margin: 0 auto; text-align: center; font-weight: 400; }
.pull em { color: var(--accent); }

/* ---------- Video page ---------- */
.tour-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); counter-reset: s; }
.tour-steps li { list-style: none; border-top: 1px solid var(--line); padding-top: 22px; }
.tour-steps li::before { counter-increment: s; content: "0" counter(s); font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 1.1rem; }
.tour-steps h3 { margin: 10px 0 12px; }
.tour-steps p { color: var(--ink-2); margin: 0; }
ol.tour-steps { padding: 0; margin: 0; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 100px); align-items: start; }
.contact__info { position: sticky; top: calc(var(--topbar) + 100px); }
.contact__big { display: block; font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.1; margin: 8px 0 6px; transition: color .3s; }
.contact__big:hover { color: var(--accent); }
.contact__block { padding: 26px 0; border-bottom: 1px solid var(--line); }
.contact__block:first-child { padding-top: 0; }
.socials { display: flex; gap: 12px; margin-top: 14px; }
.socials a { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: all .35s var(--ease); }
.socials a:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.socials svg { width: 17px; height: 17px; fill: currentColor; }

.form { background: var(--surface); border: 1px solid var(--line); padding: clamp(26px, 4vw, 58px); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.form h2 { font-size: clamp(2rem, 3.2vw, 2.8rem); margin-bottom: 8px; }
.fieldset { border: 0; padding: 0; margin: 30px 0 0; }
.fieldset legend { font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; padding: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-block; border: 1px solid var(--line); padding: 10px 16px; font-size: .8rem; letter-spacing: .08em; transition: all .3s var(--ease); cursor: pointer; }
.choice input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; }
.field { position: relative; margin-top: 26px; }
.field label { display: block; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 10px 0 12px; font-size: 1.05rem; border-radius: 0; outline: none; transition: border-color .3s;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23888' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat right 4px center; }
.field select option { background: var(--surface); color: var(--ink); }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.field:focus-within::after { transform: scaleX(1); }
.field.has-error input, .field.has-error textarea { border-color: #c0392b; }
.field__err { color: #c0392b; font-size: .78rem; margin-top: 6px; min-height: 0; }
:root[data-theme="dark"] .field__err { color: #ff8a7a; }
.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 26px; font-size: .84rem; color: var(--ink-2); line-height: 1.5; }
.check input { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 34px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__done { position: absolute; inset: 0; background: var(--surface); display: grid; place-items: center; text-align: center; padding: 40px; opacity: 0; pointer-events: none; transition: opacity .6s var(--ease); }
.form.is-done .form__done { opacity: 1; pointer-events: auto; }
.tick { width: 88px; height: 88px; margin: 0 auto 26px; }
.tick circle, .tick path { fill: none; stroke: var(--accent); stroke-width: 1.5; }
.tick circle { stroke-dasharray: 260; stroke-dashoffset: 260; }
.tick path { stroke-dasharray: 60; stroke-dashoffset: 60; stroke-width: 2; }
.form.is-done .tick circle { animation: draw 1s .15s var(--ease-out) forwards; }
.form.is-done .tick path { animation: draw .6s .9s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form__done h3 { font-size: clamp(2rem, 3vw, 2.6rem); margin-bottom: 14px; }
.notice { margin-top: 16px; font-size: .8rem; color: var(--ink-2); border-left: 2px solid var(--accent); padding: 4px 0 4px 12px; text-align: left; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Coverage map ---------- */
.cover { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .75fr); gap: clamp(30px, 4vw, 64px); align-items: center; }
.map { margin: 0; position: relative; }
.map svg { width: 100%; height: auto; display: block; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map figcaption { font-size: .68rem; color: var(--ink-2); margin-top: 12px; letter-spacing: .04em; }
.map figcaption a { text-decoration: underline; text-underline-offset: 2px; }
.map-water { fill: color-mix(in srgb, var(--accent) 9%, var(--bg)); }
.map-contour { fill: none; stroke: var(--accent); stroke-opacity: .2; stroke-width: 1; }
.map-land { fill: var(--surface); }
.map-coast { fill: none; stroke: color-mix(in srgb, var(--ink) 40%, transparent); stroke-width: 1.3; stroke-dasharray: 1; stroke-dashoffset: 0; }
.map-glow circle { transform-box: fill-box; transform-origin: center; }
.map-route { fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-opacity: .5; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-opacity .35s, stroke-width .35s; }
.map-city { cursor: pointer; transition: opacity .35s; }
.map-hit { fill: transparent; }
.map-dot { fill: var(--accent); stroke: var(--surface); stroke-width: 3; transform-box: fill-box; transform-origin: center; transition: transform .45s var(--ease-out); }
.map-city--office .map-dot { fill: var(--ink); stroke: var(--accent); stroke-width: 3.5; }
.map-pulse { fill: none; stroke: var(--accent); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: map-pulse 2.6s var(--ease-out) infinite; }
@keyframes map-pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(5); opacity: 0; } }
.map-label { font-family: var(--sans); font-size: 17px; font-weight: 500; letter-spacing: .05em; fill: var(--ink); paint-order: stroke; stroke: var(--surface); stroke-width: 5px; stroke-linejoin: round; transition: fill .3s; }
.map-city--office .map-label { font-weight: 600; letter-spacing: .08em; }
.map-water-label { font-family: var(--serif); font-style: italic; font-size: 24px; fill: var(--accent); opacity: .6; letter-spacing: .03em; }
.map-ref circle { fill: none; stroke: var(--ink-2); stroke-width: 1.5; }
.map-ref text { font-family: var(--serif); font-style: italic; font-size: 16px; fill: var(--ink-2); paint-order: stroke; stroke: var(--surface); stroke-width: 4px; }
.map-furniture line { stroke: var(--ink-2); stroke-width: 1.5; }
.map-furniture text { font-family: var(--sans); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; fill: var(--ink-2); }
.map-north path { fill: var(--ink-2); }
/* hover / legend focus */
.map.has-active .map-city:not(.is-active) { opacity: .35; }
.map-city.is-active .map-dot { transform: scale(1.6); }
.map-city.is-active .map-label { fill: var(--accent); }
.map-route.is-active { stroke-opacity: 1; stroke-width: 2.6; }
.cover__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.cover__stats .stat__n { font-size: clamp(2.2rem, 3.4vw, 3.2rem); }
.map-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 26px; margin-top: 28px; }
.map-county h4 { font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-2); font-weight: 500; margin: 0 0 10px; }
.map-county ul { list-style: none; padding: 0; margin: 0; }
.map-county button { background: none; border: 0; padding: 3px 0; font-family: var(--serif); font-weight: var(--serif-w); font-size: 1.15rem; cursor: pointer; color: inherit; text-align: left; transition: color .3s, transform .35s var(--ease); }
.map-county button:hover, .map-county button.is-active, .map-county button:focus-visible { color: var(--accent); transform: translateX(5px); }
.map-county small { font-family: var(--sans); font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); margin-left: 6px; }
/* draw-in sequence */
.js .map .map-coast { stroke-dashoffset: 1; }
.js .map .map-land, .js .map .map-contours, .js .map .map-water-label, .js .map .map-ref, .js .map .map-furniture { opacity: 0; }
.js .map .map-glow circle { opacity: 0; transform: scale(.25); }
.js .map .map-route { stroke-dashoffset: 1; }
.js .map .map-dot { transform: scale(0); }
.js .map .map-label, .js .map .map-pulse { opacity: 0; }
.js .map.is-in .map-coast { stroke-dashoffset: 0; transition: stroke-dashoffset 2.6s var(--ease); }
.js .map.is-in .map-land { opacity: 1; transition: opacity 1.4s .7s; }
.js .map.is-in .map-contours { opacity: 1; transition: opacity 1.6s 1s; }
.js .map.is-in .map-water-label { opacity: .6; transition: opacity 1.2s 1.4s; }
.js .map.is-in .map-ref, .js .map.is-in .map-furniture { opacity: 1; transition: opacity 1s 1.6s; }
.js .map.is-in .map-glow circle { opacity: 1; transform: none; transition: opacity 1.6s calc(2.1s + var(--i) * 90ms), transform 1.8s var(--ease-out) calc(2.1s + var(--i) * 90ms); }
.js .map.is-in .map-route { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--ease-out) calc(1.5s + var(--i) * 110ms), stroke-opacity .35s, stroke-width .35s; }
.js .map.is-in .map-dot { transform: scale(1); transition: transform .7s cubic-bezier(.34, 1.56, .64, 1) calc(1.3s + var(--i) * 110ms); }
.js .map.is-in .map-city.is-active .map-dot { transform: scale(1.6); transition-delay: 0s; }
.js .map.is-in .map-label { opacity: 1; transition: opacity .8s calc(1.6s + var(--i) * 110ms), fill .3s; }
.js .map.is-in .map-pulse { opacity: 1; transition: opacity .6s 1.3s; }
@media (max-width: 1080px) { .cover { grid-template-columns: 1fr; } .map-legend { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .map-legend { grid-template-columns: 1fr 1fr; }
  .map-label, .map-ref text, .map-furniture text { display: none; }
  .map-city.is-active .map-label, .map-city--office .map-label { display: block; font-size: 40px; stroke-width: 9px; }
  .map-water-label { font-size: 32px; }
  .map-office-tag { display: none; }
  .map-dot { r: 11; } .map-city--office .map-dot { r: 14; }
}

/* ---------- Little black book (map side card) ---------- */
.book { margin-top: 26px; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; }
.book::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); }
.book .eyebrow { margin-bottom: 10px; }
.book h3 { font-size: 1.6rem; }
.book p { margin: 6px 0 12px; }
.book ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.book li { display: grid; grid-template-columns: 9em 1fr; gap: 10px; font-size: .92rem; align-items: baseline; }
.book li span { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.book li b { font-weight: 450; }
.book__hint { font-size: .72rem !important; color: var(--ink-2); margin: 14px 0 0 !important; letter-spacing: .04em; }
.book.is-swap h3, .book.is-swap p, .book.is-swap ul { animation: book-in .55s var(--ease-out); }
@keyframes book-in { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Quiz ---------- */
.quiz { max-width: 1100px; margin: 0 auto; }
.quiz__bar { height: 3px; background: var(--line); margin-bottom: 26px; overflow: hidden; }
.quiz__bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .6s var(--ease-out); }
.quiz__top { display: flex; justify-content: space-between; align-items: center; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); }
.quiz__top b { color: var(--accent); font-weight: 600; }
.quiz__back { background: none; border: 0; cursor: pointer; color: var(--ink); }
.quiz__q { font-size: clamp(2rem, 4vw, 3.4rem); margin: 18px 0 34px; }
.quiz__opts { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.quiz__opts--txt, .quiz__opts--budget { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.quiz__opts.is-in .qopt { animation: rise .6s var(--ease-out) both; }
.quiz__opts.is-in .qopt:nth-child(2) { animation-delay: .06s; } .quiz__opts.is-in .qopt:nth-child(3) { animation-delay: .12s; } .quiz__opts.is-in .qopt:nth-child(4) { animation-delay: .18s; }
.qopt { background: var(--surface); border: 1px solid var(--line); padding: 0; cursor: pointer; text-align: left; color: inherit; transition: border-color .3s, transform .4s var(--ease-out), box-shadow .4s; }
.qopt:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow); }
.qopt[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.qopt__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; }
.qopt__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.qopt:hover .qopt__img img { transform: scale(1.06); }
.qopt--img .qopt__label { display: block; padding: 16px 18px 18px; font-family: var(--serif); font-size: 1.15rem; line-height: 1.25; }
.qopt--txt { display: flex; align-items: center; gap: 18px; padding: 24px 26px; }
.qopt__n { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: .78rem; letter-spacing: .1em; color: var(--accent); transition: background .3s, color .3s; }
.qopt--txt:hover .qopt__n, .qopt--txt[aria-pressed="true"] .qopt__n { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.qopt--txt .qopt__label { font-family: var(--serif); font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
.results.is-in .match { animation: rise .8s var(--ease-out) both; animation-delay: var(--d); }
.matches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); margin-bottom: clamp(40px, 5vw, 70px); }
.match { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.match__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.match__img img { width: 100%; height: 100%; object-fit: cover; }
.match__rank { position: absolute; left: 16px; top: 14px; font-family: var(--serif); font-style: italic; font-size: 2.2rem; color: #fff; text-shadow: 0 2px 14px rgb(0 0 0 / .45); }
.match__body { padding: 22px 24px 26px; }
.match__pct { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); }
.match__pct b { color: var(--accent); font-size: 1.05rem; letter-spacing: .04em; }
.match h3 { font-size: 2rem; margin: 6px 0 8px; }
.match__book { list-style: none; padding: 14px 0 0; margin: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: .88rem; }
.match__book li { display: grid; grid-template-columns: 9em 1fr; gap: 8px; align-items: baseline; }
.match__book span { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.results__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.map--static svg { box-shadow: var(--shadow); }

/* ---------- Sell ---------- */
.sell-steps { list-style: none; padding: 0; margin: 30px 0 34px; counter-reset: s; display: grid; gap: 22px; }
.sell-steps li { padding-left: 58px; position: relative; }
.sell-steps li::before { counter-increment: s; content: "0" counter(s); position: absolute; left: 0; top: 2px; font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 1.5rem; }
.sell-steps h3 { font-size: 1.45rem; margin-bottom: 6px; }
.sell-steps p { color: var(--ink-2); margin: 0; }
.form .choice input[type="checkbox"] + span { padding-left: 14px; }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.calc__inputs { padding: clamp(26px, 4vw, 54px); }
.calc__out { padding: clamp(26px, 4vw, 54px); background: var(--inverse); color: var(--on-inverse); display: flex; flex-direction: column; }
.calc__out .eyebrow { color: color-mix(in srgb, var(--on-inverse) 70%, transparent); }
.calc__big { font-family: var(--serif); font-weight: var(--serif-w); font-size: clamp(3rem, 6vw, 5.4rem); line-height: 1; font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.01em; }
.calc__stretch { margin-top: 14px; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.calc__stretch b { font-family: var(--serif); font-size: 1.35rem; letter-spacing: 0; text-transform: none; margin-left: 8px; opacity: 1; }
.calc__monthly { display: flex; justify-content: space-between; align-items: baseline; margin-top: 30px; padding-top: 22px; border-top: 1px solid color-mix(in srgb, var(--on-inverse) 20%, transparent); }
.calc__monthly span { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; opacity: .75; }
.calc__monthly b { font-family: var(--serif); font-size: 2rem; font-weight: var(--serif-w); }
.calc__bar { display: flex; height: 12px; margin-top: 18px; overflow: hidden; border-radius: 99px; gap: 2px; }
.calc__bar i { display: block; min-width: 2px; transition: flex .6s var(--ease-out); }
.seg-0 { background: var(--accent-2); } .seg-1 { background: color-mix(in srgb, var(--accent-2) 60%, var(--on-inverse)); } .seg-2 { background: color-mix(in srgb, var(--on-inverse) 55%, transparent); } .seg-3 { background: color-mix(in srgb, var(--accent-2) 35%, transparent); } .seg-4 { background: color-mix(in srgb, var(--on-inverse) 30%, transparent); }
.calc__legend { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 6px; font-size: .86rem; }
.calc__legend li { display: flex; align-items: center; gap: 10px; }
.calc__legend li i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.calc__legend li b { margin-left: auto; font-weight: 450; font-variant-numeric: tabular-nums; }
.calc__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.calc__out .btn { --b: var(--on-inverse); --t: var(--inverse); }
.calc__out .btn--ghost { --b: transparent; --t: var(--on-inverse); border-color: var(--on-inverse); }
.calc__note { font-size: .74rem; line-height: 1.55; opacity: .7; margin: 26px 0 0; }
.range { margin-top: 22px; }
.range__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.range label { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.range output { font-family: var(--serif); font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.range input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; margin: 6px 0 0; cursor: pointer; --p: 50%; }
.range input[type="range"]::-webkit-slider-runnable-track { height: 3px; background: linear-gradient(to right, var(--accent) var(--p), var(--line) var(--p)); }
.range input[type="range"]::-moz-range-track { height: 3px; background: var(--line); }
.range input[type="range"]::-moz-range-progress { height: 3px; background: var(--accent); }
.range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9.5px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); box-shadow: 0 4px 14px rgb(0 0 0 / .15); transition: transform .2s; }
.range input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); }
.range input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
.calc__more { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 16px; }
.calc__more summary { cursor: pointer; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.calc__more .field { margin-top: 18px; }

/* ---------- Guide ---------- */
.guide { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(36px, 6vw, 100px); align-items: center; }
.guide__cover img { width: 100%; box-shadow: 0 40px 80px -30px rgb(0 0 0 / .45); transform: rotate(-2.5deg); transition: transform .8s var(--ease-out); }
.guide__cover:hover img { transform: rotate(0) scale(1.02); }
.guide__list { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 10px; }
.guide__list li { padding-left: 28px; position: relative; }
.guide__list li::before { content: "✦"; position: absolute; left: 0; color: var(--accent); }
.form--inline { padding: clamp(22px, 3vw, 34px); }
.form--inline .form__foot { margin-top: 22px; }

/* ---------- For Cleo page ---------- */
.picker { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.picker__card { text-align: left; background: var(--surface); border: 1px solid var(--line); padding: 18px; cursor: pointer; color: inherit; display: flex; flex-direction: column; gap: 6px; transition: border-color .3s, transform .4s var(--ease-out), box-shadow .3s; }
.picker__card:hover { transform: translateY(-3px); border-color: var(--accent); }
.picker__card[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.picker__card b { font-family: var(--serif); font-size: 1.35rem; font-weight: var(--serif-w); }
.picker__sw { height: 64px; margin-bottom: 8px; border: 1px solid rgb(0 0 0 / .06); }
.sw-rose { background: linear-gradient(90deg, #f8f0ec 0 40%, #2a1c20 40% 60%, #9c4a5e 60% 80%, #c9848f 80%); }
.sw-champagne { background: linear-gradient(90deg, #f7f3ec 0 40%, #16140f 40% 60%, #9a7440 60% 80%, #c8a46c 80%); }
.sw-sage { background: linear-gradient(90deg, #f2f2ec 0 40%, #1b231d 40% 60%, #4f6b52 60% 80%, #a3865a 80%); }
.sw-bay { background: linear-gradient(90deg, #eef1f3 0 40%, #121d27 40% 60%, #2b5878 60% 80%, #b08b5b 80%); }
.sw-blush { background: linear-gradient(90deg, #f4e6e3 0 40%, #e8cfd0 40% 60%, #dca2ae 60% 80%, #aa566d 80%); }
.sw-linen { background: linear-gradient(90deg, #efe8dc 0 40%, #e0d3bf 40% 60%, #c8ad85 60% 80%, #8f6f45 80%); }
.sw-seaglass { background: linear-gradient(90deg, #e3efec 0 40%, #cbe1dd 40% 60%, #8fc2ba 60% 80%, #36736b 80%); }
.sw-lilac { background: linear-gradient(90deg, #ebe5f1 0 40%, #ddd2ea 40% 60%, #bba9d6 60% 80%, #765a9f 80%); }
.picker__row { display: flex; flex-wrap: wrap; gap: 18px 34px; align-items: center; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.picker__group { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.picker__copy { margin-left: auto; gap: 18px; }
.picker__choice { font-family: var(--serif); font-size: 1.25rem; }
.research { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.research > div { background: var(--surface); padding: clamp(22px, 2.6vw, 34px); }
.research b { font-family: var(--serif); font-weight: var(--serif-w); font-size: clamp(2.4rem, 3.6vw, 3.2rem); line-height: 1; color: var(--accent); display: block; }
.research p { margin: 12px 0 10px; font-size: .95rem; }
.research span { display: block; font-size: .82rem; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 10px; }
@media (max-width: 1080px) { .research { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .research { grid-template-columns: 1fr; } }
.tour { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.tour__card { background: var(--surface); border: 1px solid var(--line); display: block; transition: transform .5s var(--ease-out), box-shadow .5s; }
.tour__card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.tour__img { aspect-ratio: 16 / 9; overflow: hidden; }
.tour__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.tour__card:hover .tour__img img { transform: scale(1.06); }
.tour__body { padding: 20px 22px 24px; }
.tour__body h3 { font-size: 1.45rem; margin-bottom: 8px; }
.tour__body .link { margin-top: 14px; }
.options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: color-mix(in srgb, var(--on-inverse) 18%, transparent); border: 1px solid color-mix(in srgb, var(--on-inverse) 18%, transparent); }
.option { background: var(--inverse); padding: clamp(24px, 3vw, 40px); }
.option h3 { margin: 14px 0 10px; }
.option p { opacity: .8; margin: 0; }
.option__tag { font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; border: 1px solid currentColor; padding: 4px 9px; opacity: .8; }
.ideas { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.ideas li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.ideas li b { font-family: var(--serif); font-size: 1.3rem; font-weight: var(--serif-w); }
.todo { list-style: none; padding: 0; margin: 0; }
.todo li { border-bottom: 1px solid var(--line); }
.todo label { display: grid; grid-template-columns: 30px 1fr; gap: 16px; padding: 18px 0; cursor: pointer; align-items: start; }
.todo input { position: absolute; opacity: 0; pointer-events: none; }
.todo__box { width: 26px; height: 26px; border: 1.5px solid var(--accent); border-radius: 50%; display: grid; place-items: center; transition: background .3s; margin-top: 2px; }
.todo__box::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--on-accent); border-top: 0; border-right: 0; transform: rotate(-45deg) scale(0); transition: transform .35s var(--ease-out); margin-top: -2px; }
.todo input:checked + .todo__box { background: var(--accent); }
.todo input:checked + .todo__box::after { transform: rotate(-45deg) scale(1); }
.todo input:focus-visible + .todo__box { outline: 2px solid var(--accent); outline-offset: 3px; }
.todo label > span:last-child { display: grid; gap: 4px; }
.todo label b { font-family: var(--serif); font-size: 1.25rem; font-weight: var(--serif-w); }
.todo input:checked ~ span b { text-decoration: line-through; text-decoration-color: var(--accent); opacity: .6; }
.todo__progress { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.todo__ring { --p: 0%; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 1.4rem; background: radial-gradient(closest-side, var(--bg) 82%, transparent 83%), conic-gradient(var(--accent) var(--p), var(--line) 0); transition: --p .6s; }
.review-ribbon { position: fixed; left: 16px; bottom: 16px; z-index: 70; background: var(--accent); color: var(--on-accent); padding: 10px 16px; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; box-shadow: 0 10px 30px rgb(0 0 0 / .25); border-radius: 99px; transition: transform .3s; }
.review-ribbon:hover { transform: translateY(-2px); }
.review-ribbon[hidden] { display: none; }
.section--inverse .btn--light { border-color: color-mix(in srgb, var(--on-inverse) 25%, transparent); }

@media (max-width: 1080px) {
  .quiz__opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .matches, .results__grid, .calc, .guide { grid-template-columns: 1fr; }
  .picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tour, .options { grid-template-columns: 1fr 1fr; }
  .picker__copy { margin-left: 0; }
}
@media (max-width: 720px) {
  .quiz__opts--txt, .quiz__opts--budget, .tour, .options { grid-template-columns: 1fr; }
  .qopt--img .qopt__label { font-size: 1rem; padding: 12px; }
  .qopt__img { aspect-ratio: 1; }
  .guide__cover { max-width: 260px; }
  .swatch { width: 15px; height: 15px; } .swatches { gap: 5px; }
  :root:not(.no-stylebar) .topbar__contact { display: none; }
  .review-ribbon { left: 10px; bottom: 10px; padding: 8px 12px; font-size: .6rem; }
}

/* ---------- For Cleo: market, platforms, ideas ---------- */
.no-review [data-review-link] { display: none !important; }
.nav a[data-review-link] { color: var(--accent); }
.market { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.market__card { background: var(--surface); border: 1px solid var(--line); padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; }
.market__card b { font-family: var(--serif); font-weight: var(--serif-w); font-size: clamp(2.4rem, 3.6vw, 3.2rem); line-height: 1; color: var(--accent); }
.market__card h3 { font-size: 1.3rem; margin: 10px 0 8px; }
.market__card .muted { margin: 0 0 14px; }
.market__so { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .92rem; }
.market__so span, .platform__do span { display: block; font-size: .6rem; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.platforms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.platform { background: var(--bg); padding: clamp(20px, 2.4vw, 30px); display: flex; flex-direction: column; transition: background .4s; }
.platform:hover { background: var(--surface); }
.platform__n { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 1.6rem; line-height: 1; }
.platform h3 { font-size: 1.35rem; margin: 10px 0 8px; }
.platform p { font-size: .9rem; margin: 0 0 12px; color: var(--ink-2); }
.platform .platform__do { margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink); }
.idea-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 22px); }
.idea { border: 1px solid var(--line); padding: 22px; background: var(--surface); display: flex; flex-direction: column; gap: 10px; }
.idea h3 { font-size: 1.25rem; }
.idea p { margin: 0; flex: 1; }
.idea .option__tag { align-self: flex-start; color: var(--accent); }
@media (max-width: 1300px) { .header__cta { display: none; } }
@media (max-width: 1080px) { .market, .platforms, .idea-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .market, .platforms, .idea-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--inverse); color: var(--on-inverse); padding: clamp(70px, 8vw, 120px) 0 36px; }
.footer a:hover { color: var(--accent-2); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid color-mix(in srgb, var(--on-inverse) 18%, transparent); }
.footer__word { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: .95; }
.footer__word em { color: var(--accent-2); }
.footer h4 { font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; font-weight: 500; opacity: .6; margin: 6px 0 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; }
.footer .socials a { border-color: color-mix(in srgb, var(--on-inverse) 28%, transparent); }
.footer__legal { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 30px; font-size: .76rem; opacity: .7; line-height: 1.7; }
.eho { display: inline-flex; align-items: center; gap: 8px; }
.eho svg { width: 22px; height: 22px; fill: currentColor; }

/* ---------- Reveal animations ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--ease), transform 1.2s var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="mask"] { opacity: 1; transform: none; }
.js [data-reveal="mask"]::before { content: ""; position: absolute; inset: 0; z-index: 4; background: var(--mask-bg, var(--bg)); transform-origin: top; transition: transform 1.4s var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms); pointer-events: none; }
.js [data-reveal="mask"].is-in::before { transform: scaleY(0); }
.js [data-reveal="mask"] img { transform: scale(1.18); transition: transform 2.2s var(--ease-out); }
.js [data-reveal="mask"].is-in img { transform: scale(1); }
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-word > span { display: inline-block; transform: translateY(105%); transition: transform 1.15s var(--ease-out); transition-delay: calc(var(--w) * 70ms + 150ms); }
.is-split.is-in .split-word > span { transform: none; }
.js .viewfinder__frame { clip-path: inset(50% 50% 50% 50%); transition: clip-path 1.5s .35s var(--ease-out); }
.js .viewfinder.is-in .viewfinder__frame { clip-path: inset(0); }
.js .viewfinder .vf-corner { opacity: 0; transition: opacity .6s 1.2s, inset .9s; }
.js .viewfinder.is-in .vf-corner { opacity: 1; }
.viewfinder:hover .vf-corner.tl { left: 10px; top: 10px; } .viewfinder:hover .vf-corner.tr { right: 10px; top: 10px; }
.viewfinder:hover .vf-corner.bl { left: 10px; bottom: 10px; } .viewfinder:hover .vf-corner.br { right: 10px; bottom: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav, .header__cta { display: none; }
  .menu-btn { display: block; }
  .hero__grid, .split, .quotes, .live, .contact, .page-hero__row { grid-template-columns: 1fr; }
  .viewfinder { justify-self: start; max-width: 640px; }
  .viewfinder__tag { display: none; }
  .cards, .cards--feature { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards--feature .card:first-child { grid-column: span 2; }
  .cards--feature .card .card__media { aspect-ratio: 4 / 4.4 !important; }
  .cards--feature .card:first-child .card__media { aspect-ratio: 16 / 10 !important; }
  .feelings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 70px; }
  .process__line { display: none; }
  .step::before { top: -30px; }
  .film--feature { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .contact__info { position: static; }
  .values { grid-template-columns: 1fr; }
  .areas { columns: 2; }
  .hm { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --header: 64px; }
  body { font-size: 1rem; }
  .topbar__contact .hide-sm, .stylebar__label, .stylebar__name, .type-toggle__txt { display: none; }
  .stylebar__name { min-width: 0; }
  .films { grid-template-columns: 1fr; }
  .film--feature { grid-column: auto; }
  .cards, .cards--feature { grid-template-columns: 1fr; }
  .cards--feature .card:first-child { grid-column: auto; }
  .feelings { grid-template-columns: 1fr 1fr; gap: 8px; }
  .feeling__text { left: 14px; right: 14px; bottom: 14px; }
  .feeling__desc { display: none; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .stat__l { font-size: .62rem; letter-spacing: .14em; }
  .process { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .areas { columns: 1; }
  .portrait::before { inset: 16px -12px -16px 12px; }
  .filters { position: static; }
  .vf-title { max-width: 46%; font-size: .6rem; }
  .vf-sound { right: 16px; bottom: 16px; padding: 8px 10px; }
  .vf-rec { left: 24px; top: 24px; } .vf-tc { right: 24px; top: 24px; }
  .page-hero--image { min-height: 78vh; }
  .hero__proof { flex-wrap: wrap; }
}
@media (max-width: 400px) {
  .stylebar { gap: 8px; } .swatches { gap: 6px; }
  .theme-toggle__txt { display: none; }
  .theme-toggle { padding: 0 4px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; }
  .js [data-reveal], .js [data-reveal="mask"], .split-word > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js .viewfinder__frame { clip-path: none; }
}
