/*
 * iDesignDevelop — public site.
 *
 * THE PALETTE IS FIVE VALUES, and that is the whole system.
 * Founder directive 2026-10-04: "crisp white background black text …
 * Luxury Modern think apple, tesla", applying everywhere with no
 * per-surface exceptions, and retiring gold as a brand colour.
 *
 *   paper #FFFFFF · ink #111111 · mute #767676 · rule #E3E3E3 · plate #000
 *
 * Colour enters through a photograph and nowhere else.
 *
 * ── THE ACCENT IS ONE TOKEN, ON PURPOSE ───────────────────────────────────
 * The brief for this redesign asks for "restrained bronze accents", which
 * the 2026-10-04 directive forbids. Rather than pick a side in CSS, the
 * accent is a single custom property set to ink. Adding ?accent=bronze to
 * the URL sets it to bronze for that one page view — enough to review the
 * two side by side, and not enough to ship by accident. One line decides
 * it. See DECISIONS.md.
 */

:root {
  --paper: #ffffff;
  --ink: #111111;
  --mute: #767676;
  --rule: #e3e3e3;
  --plate: #000000;

  /* Ink by default — the hard rule. The review flag swaps this one value. */
  --accent: var(--ink);
  --accent-rule: var(--ink);

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* A spacing scale, so vertical rhythm is a choice and not an accident. */
  --s1: 0.5rem;  --s2: 1rem;   --s3: 1.5rem;  --s4: 2rem;
  --s5: 3rem;    --s6: 4.5rem; --s7: 7rem;    --s8: 10rem;

  --gutter: 16px;          /* the phone side gutter the brief asks for */
  --measure: 62ch;
  --maxw: 1240px;
}

:root[data-accent="bronze"] {
  /* Bronze, held to a rule weight and a word — never a fill. */
  --accent: #8a6a43;
  --accent-rule: #8a6a43;
}

/* ───────────────────────────── reset ─────────────────────────────────── */

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

/* `hidden` is an assertion that something is not there. A component that
   sets `display` — every .btn here does — silently overrules it, which is
   how the header's start action sat on top of the hero's own. */
[hidden] { display: none !important; }

/*
 * NO `scroll-behavior: smooth` ON <html>.
 *
 * It animates FRAGMENT NAVIGATION too, so somebody opening a shared link
 * to /#plans watches the whole page slide past before arriving — and
 * under any condition that interrupts the animation (a slow first paint,
 * a compositor that is not running) they arrive nowhere at all, looking
 * at the top of a page they did not ask for. That is what happened here.
 *
 * In-page nav clicks get the smooth scroll from JavaScript instead, where
 * it is a nicety that can be skipped. A cold link jumps, instantly and
 * correctly, with or without a script.
 */
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }

/*
 * The header is fixed, so an anchor lands its target UNDER it — the
 * heading somebody clicked for is the one thing hidden when they arrive.
 * A little more than the header's own height, so the section's eyebrow
 * clears it too.
 */
:target, section[id] { scroll-margin-top: 88px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

/*
 * NO `overflow-x: hidden` ON THE BODY.
 *
 * It is the usual way to promise "no horizontal scroll", and it does it by
 * clipping rather than by fixing — which makes <body> a scroll container
 * and takes `position: sticky`, fragment navigation and smooth scrolling
 * with it. Measured at 375, 768 and 1440: scrollWidth equals clientWidth,
 * so nothing overflows and there is nothing to clip. If something does
 * overflow later, the element that overflows is the bug.
 */

/*
 * The width/height ATTRIBUTES on every image below are load-bearing: they
 * reserve the right box before the file arrives, which is what keeps the
 * page from shifting. But an attribute height is a definite height, and
 * `aspect-ratio` is ignored when both dimensions are definite — the sample
 * book pages rendered 841px tall instead of 204px because of exactly that.
 * So height returns to auto, and the ratio decides.
 */
img, video { max-width: 100%; display: block; }
img[width][height] { height: auto; }
/*
 * The three that genuinely fill their box, and say so.
 *
 * The attribute selectors are repeated here deliberately. Without them
 * this rule is (0,1,1) and `img[width][height]` above is (0,2,1), so the
 * more general rule won and the hero photograph stopped covering its
 * container — on a phone it filled the top quarter and the rest of the
 * hero was black. Specificity, not order, decides between these two.
 */
.hero__media img[width][height],
.hero__media video,
.compare img[width][height] { height: 100%; }
button { font: inherit; color: inherit; }

/* One visible focus ring for everything, and it is never removed. */
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 1px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Keyboard users land on a skip link before anything else. */
.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: 0.75rem 1.25rem; text-decoration: none; font-size: 14px;
  transition: top .15s;
}
.skip:focus { top: var(--gutter); }

/* ──────────────────────── type and primitives ────────────────────────── */

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 760px) { .wrap { padding-inline: 40px; } }

h1, h2, h3 { font-family: var(--serif); font-weight: 300; letter-spacing: -0.01em; margin: 0; }

/* Sentence case, large and readable — clamped so it never needs a
   breakpoint and never overflows a 320px phone. */
h1 { font-size: clamp(2.5rem, 7.5vw, 5rem);  line-height: 1.02; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem);  line-height: 1.08; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.2; }

/* The headline grammar read off 231 Lauren: a roman clause, then an
   italic one. Never a colon, never a question. */
.it { font-style: italic; color: var(--mute); }

p { margin: 0 0 var(--s2); max-width: var(--measure); }
.lede { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--mute); line-height: 1.55; }

/* Micro-caps label over a heavy rule — the structural label of the system. */
.eyebrow {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--mute); font-weight: 500; margin: 0 0 var(--s2);
}

.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }

/* Buttons. Primary is near-black; secondary is a hairline. Nothing is
   rounded and nothing has a shadow. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 52px; padding: 0 1.75rem;
  font-size: 15px; font-weight: 500; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  transition: background .18s, color .18s, border-color .18s;
}
/*
 * ── A VARIANT MUST UNDO WHAT THE BASE DOES, NOT JUST ADD TO IT ────────────
 *
 * `.btn:hover` paints the base dark. `.btn--quiet:hover` used to set
 * text-decoration-color and NOTHING ELSE — same specificity, so it won
 * only for the one property it named and the dark background came
 * through underneath ink-coloured text. Pressing "View a sample Vision
 * Book" turned it into a black box with black text in it.
 *
 * So every variant now states its background, border and colour on every
 * interactive state, including :active and :focus-visible. A state that
 * is not written is a state that inherits the base's, which is the whole
 * fault.
 */
.btn:hover, .btn:focus-visible { background: #2b2b2b; border-color: #2b2b2b; color: var(--paper); }
.btn:active { background: #000; border-color: #000; color: var(--paper); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn--ghost:hover, .btn--ghost:focus-visible, .btn--ghost:active {
  background: transparent; color: var(--ink); border-color: var(--ink);
}
/*
 * A QUIET BUTTON IS STILL SOMETHING A THUMB HAS TO HIT.
 *
 * These measured 22–27px tall — inside WCAG 2.5.8's 24px floor by a
 * hair, and well under the 44px a thumb actually wants. The underline
 * stays tight to the text; the tappable box grows around it.
 */
.btn--quiet {
  background: transparent; border: 0; color: var(--ink); padding: 0;
  min-height: 44px; display: inline-flex; align-items: center;
  text-decoration: underline; text-underline-offset: 5px;
  text-decoration-color: var(--rule); text-decoration-thickness: 1px;
}
/* Never a background, never a border, in any state — see the note above. */
.btn--quiet:hover, .btn--quiet:focus-visible, .btn--quiet:active {
  background: transparent; border: 0; color: var(--ink);
  text-decoration-color: var(--ink);
}
/* On the film the quiet button is white, so its states must be white too. */
.hero__secondary .btn--quiet:hover,
.hero__secondary .btn--quiet:focus-visible,
.hero__secondary .btn--quiet:active { color: #fff; text-decoration-color: #fff; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ─────────────────── the review notice (preview builds) ──────────────────
 *
 * A review build has to say it is one. It used to say so inside the hero,
 * under the Continue button, where it was the fourth line of a four-line
 * composition and read as product copy. It lives at the very top of the
 * page now — inside the fixed header, above the brand row, so it is on
 * screen the whole time and nowhere near the hero's own words. A
 * published build renders nothing here at all.
 */
.reviewbar {
  background: var(--plate); color: #fff;
  font-size: 12.5px; line-height: 1.45;
}
.reviewbar__in { padding-block: .55rem; }
.reviewbar strong { font-weight: 500; }
.reviewbar span { color: rgba(255,255,255,.72); }
/* The bar makes the header taller, so an anchor has further to clear. */
body:has(.reviewbar) section[id] { scroll-margin-top: 124px; }

/* ───────────────────────────── header ────────────────────────────────── */

.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, border-color .3s, color .3s;
  border-bottom: 1px solid transparent;
}
/* Over the film the header is transparent with white type; it returns to
   paper on scroll. Both states are declared, so neither is a surprise. */
.hdr[data-over="film"] { color: #fff; }
.hdr[data-over="paper"] {
  background: var(--paper); color: var(--ink); border-bottom-color: var(--rule);
}
.hdr__in {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  min-height: 68px;
}
.brand {
  font-family: var(--serif); font-size: 1.0625rem; letter-spacing: .06em;
  text-decoration: none; color: inherit; white-space: nowrap;
  display: inline-flex; align-items: center; min-height: 44px;
}
.nav { display: none; gap: var(--s3); align-items: center; }
@media (min-width: 900px) { .nav { display: flex; } }
.nav a {
  color: inherit; text-decoration: none; font-size: 14px;
  padding: .4rem 0; border-bottom: 1px solid transparent;
}
.nav a:hover { border-bottom-color: currentColor; }
.hdr .btn { min-height: 44px; padding: 0 1.1rem; font-size: 14px; white-space: nowrap; }
/* Below the nav breakpoint the header carries Log in and the menu only;
   the hero's own Continue and the menu's links are the way in. */
@media (max-width: 899px) { .hdr [data-nav-start] { display: none !important; } }
.hdr[data-over="film"] .btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.hdr[data-over="film"] .btn--ghost:hover { border-color: #fff; }
.hdr[data-over="film"] .btn:not(.btn--ghost) { background: #fff; color: var(--ink); border-color: #fff; }
.hdr[data-over="film"] :focus-visible { outline-color: #fff; }

/* The phone menu is a plain disclosure — no hover anywhere. */
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; cursor: pointer;
  min-width: 44px; min-height: 44px; padding: 0;
}
@media (min-width: 900px) { .menu-btn { display: none; } }
.menu {
  display: none; background: var(--paper); color: var(--ink);
  border-top: 1px solid var(--rule); padding: var(--s2) 0 var(--s3);
}
.menu[data-open="true"] { display: block; }
.menu a {
  display: block; padding: .85rem var(--gutter); color: var(--ink);
  text-decoration: none; font-size: 16px; border-bottom: 1px solid var(--rule);
}

/* ────────────────────────────── hero ─────────────────────────────────── */

.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; }
.hero__media { position: absolute; inset: 0; overflow: hidden; background: #111; }
.hero__media img, .hero__media video {
  width: 100%; height: 100%; object-fit: cover;
}
/* The poster sits under the film and is never removed — if the video
   cannot play, for any reason, the hero is still a photograph. */
.hero__media video { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.hero__media video[data-playing="true"] { opacity: 1; }

/* A light scrim, weighted to the bottom where the type is, so the headline
   and the nav stay readable over every frame of the cut. */
.hero__scrim {
  position: absolute; inset: 0;
  /*
   * ── SHADING INTEGRATED INTO THE IMAGE, NOT LAID OVER IT ────────────────
   *
   * The earlier treatment was a left-to-right wash, and measurement said
   * it was not enough: across eight points of the cut the supporting
   * line's background fell to 2.0–2.5:1 and its MEAN failed at three of
   * them. The obvious fix — a panel behind the text — was rejected on
   * sight, and rightly: a rectangle with an edge stops being a photograph.
   *
   * So the weight is an ELLIPSE centred on the type, wider than it is
   * tall, falling to nothing well before any border. It has no edge to
   * see at any point, it leaves the corners and the lower third of the
   * frame at close to full brightness, and it puts its density exactly
   * where the words are.
   *
   * The three thin layers under it do the rest: a band so the nav reads,
   * a footing under the secondary row, and a whisper over everything so
   * the ellipse has something to melt into rather than ending in clear
   * image. The footing carries a mid stop because its first draft held
   * the sample link but let the film control, further right and over a
   * lit bed at 21s, fall to 3.7:1.
   *
   * Measured at the type over eight points of the cut, glyphs hidden so
   * the reading is of the background: every block clears its threshold at
   * both widths. The tightest is the eyebrow at 4s, 5.08:1 against 4.5.
   */
  background:
    radial-gradient(ellipse 78% 58% at 50% 45%,
      rgba(0,0,0,.66) 0%,
      rgba(0,0,0,.58) 30%,
      rgba(0,0,0,.38) 56%,
      rgba(0,0,0,.14) 78%,
      rgba(0,0,0,0) 100%),
    linear-gradient(to bottom, rgba(0,0,0,.40) 0%, rgba(0,0,0,.12) 14%, rgba(0,0,0,0) 30%),
    linear-gradient(to top, rgba(0,0,0,.52) 0%, rgba(0,0,0,.32) 20%, rgba(0,0,0,.10) 34%, rgba(0,0,0,0) 46%),
    linear-gradient(rgba(0,0,0,.10), rgba(0,0,0,.10));
}

/*
 * ── NARROW SCREENS NEED A WIDER ELLIPSE, NOT A DARKER PAGE ────────────────
 *
 * At 390px the text column fills most of the frame, so a greater share of
 * each line sits over whatever the film is doing — measured at 4.01–4.44:1
 * on the brightest 5% against the 4.5 the supporting line needs, while the
 * means were comfortable at 5.9–9.6.
 *
 * The answer is coverage rather than density: the ellipse grows past the
 * viewport's width so its falloff happens off-screen, and gains a little
 * at the core. The phone keeps the same picture, slightly more evenly
 * shaded, instead of a darker one.
 */
@media (max-width: 759px) {
  .hero__scrim {
    background:
      radial-gradient(ellipse 125% 54% at 50% 44%,
        rgba(0,0,0,.72) 0%,
        rgba(0,0,0,.66) 34%,
        rgba(0,0,0,.46) 62%,
        rgba(0,0,0,.18) 82%,
        rgba(0,0,0,0) 100%),
      linear-gradient(to bottom, rgba(0,0,0,.42) 0%, rgba(0,0,0,.14) 14%, rgba(0,0,0,0) 30%),
      linear-gradient(to top, rgba(0,0,0,.52) 0%, rgba(0,0,0,.20) 18%, rgba(0,0,0,0) 38%),
      linear-gradient(rgba(0,0,0,.12), rgba(0,0,0,.12));
  }
}
/*
 * ── A CENTRED COLUMN, WITH ROOM AROUND IT ─────────────────────────────────
 * Warrin's spaciousness: the architecture is the subject and the words sit
 * in the middle of it, narrow, with air on both sides. Luma's hierarchy:
 * one headline, one sentence, one field, one action, in that order and
 * nothing competing.
 */
.hero { align-items: center; text-align: center; }
.hero__in {
  position: relative; width: 100%;
  padding-block: 7rem 6rem;
  display: flex; flex-direction: column; align-items: center;
}
@media (min-width: 760px) { .hero__in { padding-block: 8rem 7rem; } }

/*
 * Weight 500, not the 300 the rest of the page uses. A display serif at
 * 300 is a hairline, and a hairline over moving film is the first thing
 * to disappear — the founder's "soft, easy, luxurious" is carried by the
 * tracking and the spacing, not by making the letters thin enough to
 * vanish. The shadow is a whisper, there to seat the type on the image
 * rather than to do the contrast work; the ellipse does that.
 */
.hero h1 {
  color: #fff;
  font-weight: 500;
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 0;
  max-width: 18ch;
  text-shadow: 0 1px 30px rgba(0,0,0,.35);
}

.hero__sub {
  color: rgba(255,255,255,.96);
  /* 56ch, not 44: the sentence is 62 characters and 44 broke it before
     "Vision Book", which is the two words it is about. It sets as one
     line from 760px up and wraps where it likes on a phone. */
  max-width: 56ch;
  margin: 1.1rem 0 0;
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  line-height: 1.5;
  text-shadow: 0 1px 22px rgba(0,0,0,.4);
}

/* ──────────────── the entry: a field, then one action ────────────────── */

/*
 * THE WHITE PANEL IS GONE.
 *
 * It was a solid card because a card is the easy way to guarantee
 * contrast for a form. It also parked a bright rectangle in the middle of
 * the photograph and made the first screen look like a form with a
 * picture behind it. The field keeps its own solid ground — an input must,
 * to be readable and to look typable — but it is one compact control
 * rather than a panel, with the action directly beneath it.
 */
/*
 * THE ENTRY NOW SITS ON PAPER, NOT ON THE FILM.
 *
 * Every colour here used to be chosen to survive over a moving picture —
 * white label text, a white field, a heavy drop shadow to lift it off the
 * image. On a white section all of that is wrong: the shadow becomes a
 * smudge and the white-on-white label disappears. The bar is bounded by a
 * rule instead, and the type takes the page's own ink.
 */
.entry {
  margin-top: var(--s3);
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .5rem;
}

.entry__label {
  display: block; font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--mute);
}

/* The bar is the surface; the field and the button sit inside it. */
.entry__bar {
  display: flex; align-items: center; gap: .35rem;
  padding: 5px;
  background: var(--paper);
  border: 1px solid var(--rule); border-radius: 2px;
}
.entry__bar:focus-within { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.entry__bar:has(.field[aria-invalid="true"]) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }

.field {
  flex: 1 1 auto; min-width: 0;
  width: 100%; min-height: 48px; padding: .7rem .95rem;
  font: inherit; font-size: 16px;        /* 16px: iOS must not zoom on focus */
  color: var(--ink); background: transparent;
  border: 0; border-radius: 2px;
  text-align: left;
}
.field::placeholder { color: var(--mute); }
.field:focus { outline: none; }

textarea.field { min-height: 88px; resize: vertical; line-height: 1.5; text-align: left; }

.entry .btn { flex: 0 0 auto; width: auto; min-height: 48px; padding-inline: 1.4rem; border-radius: 2px; }

/*
 * On a phone there is not room for a readable placeholder AND a button
 * on one line, so the bar stacks — still one surface, and both controls
 * keep a comfortable 48px target.
 */
@media (max-width: 479px) {
  .entry__bar { flex-direction: column; align-items: stretch; gap: 6px; }
  .entry .btn { width: 100%; }
}

/* The launch note sits under the action, quiet, and never shifts it. */
.entry .note {
  margin: .25rem 0 0; max-width: 54ch; font-size: 12.5px; color: var(--mute);
}
.entry .note:empty { display: none; }
.entry .note--err { color: var(--ink); font-weight: 500; }
.entry .note a { color: var(--ink); }

.entry__secondary { margin: var(--s3) 0 0; }

/* ── the free property preview (1 Nov 2026) ───────────────────────────────
   Ink on paper like the rest of the page. States are WORDS, not colours:
   a reader should not have to learn a key to know how sure we are. */
.preview {
  margin-top: var(--s3); width: 100%; max-width: 560px;
  padding: var(--s3); border: 1px solid var(--rule); border-radius: 2px; background: var(--paper);
}
.preview__addr { margin: .35rem 0 var(--s2); font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.2; }
.preview__list { margin: 0; }
.preview__row {
  display: grid; grid-template-columns: minmax(0, 9.5rem) 1fr; gap: .25rem 1rem;
  padding: .6rem 0; border-top: 1px solid var(--rule);
}
.preview__row:first-child { border-top: 0; }
.preview__row dt { color: var(--mute); font-size: 13px; }
.preview__row dd { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .6rem; }
.preview__val { font-size: 15px; color: var(--ink); }
.preview__state { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.preview__state--verified { color: var(--ink); }
.preview__hazards { margin: var(--s2) 0 0; padding-top: var(--s2); border-top: 1px solid var(--rule); font-size: 14px; }
.preview__fine { margin: .6rem 0 0; font-size: 12.5px; color: var(--mute); max-width: 60ch; }
.preview__go { margin-top: var(--s2); display: inline-flex; }
.preview--bare { padding: 0; border: 0; background: none; }
.preview--bare .preview__fine { margin-top: 0; }
@media (max-width: 479px) {
  .preview { padding: var(--s2); }
  .preview__row { grid-template-columns: 1fr; }
  .preview__go { width: 100%; justify-content: center; }
}

/* The entry section carries no top rule: the film above it is the edge. */
.entry-sec { padding-block: var(--s5); }

/*
 * THE "ADD A DIRECTION" DISCLOSURE IS GONE — markup, styles and script.
 * Its question is asked again in the app's first step, where the answer
 * is the agent's own and can be written in their own words. Deleting the
 * rules with it is the point: a style for a control that no longer exists
 * is how a deleted control comes back.
 */

/*
 * THE FILM CONTROL — ONE PLACE, AND IT KEEPS IT.
 *
 * It was the last item of the hero's bottom row, so it moved whenever the
 * copy above it changed length: a control for the film that wandered
 * around the film, landing in a different spot on a phone than on a
 * desktop. It is anchored to the bottom-left of the frame now and is a
 * child of the hero rather than of the column, so nothing in the column
 * can push it.
 *
 * Bottom-LEFT, not right: the right is where a browser puts its own
 * scrollbar and where a phone's gesture area sits, and the sample-book
 * link already owns the centre.
 */
.film-ctl {
  position: absolute; z-index: 3;
  left: var(--gutter); bottom: calc(var(--gutter) + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 44px; padding: 0 .2rem;
  background: none; border: 0; cursor: pointer;
  color: rgba(255,255,255,.80); font-size: 12px; letter-spacing: .04em;
  text-shadow: 0 1px 16px rgba(0,0,0,.55);
}
@media (min-width: 760px) { .film-ctl { left: 40px; bottom: 32px; } }
.film-ctl::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: currentColor; opacity: .55; flex: 0 0 auto;
}
.film-ctl:hover { color: #fff; }
.film-ctl:focus-visible { outline-color: #fff; }

.hero__secondary {
  margin-top: 2rem;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: .25rem 2rem;
}
.hero__secondary .btn--quiet { color: #fff; text-decoration-color: rgba(255,255,255,.5); }
.hero__secondary .btn--quiet:hover { text-decoration-color: #fff; }

/* ──────────────────────────── sections ───────────────────────────────── */

.sec { padding-block: var(--s6); }
@media (min-width: 760px) { .sec { padding-block: var(--s7); } }
.sec--tight { padding-block: var(--s5); }
.sec__head { max-width: 46rem; margin-bottom: var(--s5); }
.sec__head h2 { margin-bottom: var(--s2); }

/* The one inversion the system allows. */
.plate { background: var(--plate); color: #fff; }
.plate .eyebrow { color: rgba(255,255,255,.62); }
.plate .lede { color: rgba(255,255,255,.76); }
.plate .rule { border-top-color: rgba(255,255,255,.18); }
.plate .btn--ghost { color: #fff; border-color: rgba(255,255,255,.42); }
.plate .btn--ghost:hover { border-color: #fff; }
.plate .btn:not(.btn--ghost) { background: #fff; color: var(--plate); border-color: #fff; }
.plate :focus-visible { outline-color: #fff; }

/* ─────────────────── B · the transformation proof ────────────────────── */

.compare { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #f3f3f3; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* The finished state is clipped from the left; the handle moves the clip.
   clip-path keeps both images at full resolution — no transform scaling,
   so neither side softens. */
.compare__after { clip-path: inset(0 0 0 var(--split, 50%)); }
.compare__range {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: ew-resize;
}
.compare__handle {
  position: absolute; top: 0; bottom: 0; left: var(--split, 50%);
  width: 1px; background: #fff; pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0,0,0,.18);
}
/*
 * THE HANDLE SAYS WHAT IT DOES.
 *
 * It was an empty 44px circle on a hairline, which is a target but not an
 * instruction — a reader has to guess that it drags, and on a phone, with
 * no cursor to change shape over it, most do not. Two chevrons inside the
 * circle and three words under the frame say it instead of implying it.
 */
.compare__grip {
  position: absolute; top: 50%; left: 50%;
  width: 44px; height: 44px; transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #fff; border-radius: 50%; background: rgba(0,0,0,.34);
  color: #fff;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.compare__range:focus-visible + .compare__handle .compare__grip {
  outline: 2px solid #fff; outline-offset: 3px;
}

/*
 * The instruction. It is aria-hidden because the range input already
 * carries it as a label — a screen reader should hear it once, from the
 * control, not twice. It fades out once the reader has dragged, because
 * an instruction that stays after it has been followed is clutter.
 */
.compare__hint {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  z-index: 2; margin: 0; white-space: nowrap;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: rgba(0,0,0,.46); padding: .35rem .7rem;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: opacity .4s ease;
}
.compare[data-touched="true"] .compare__hint,
.compare[data-original="true"] .compare__hint { opacity: 0; pointer-events: none; }

/*
 * THE OVERLAID TAGS ARE GONE.
 *
 * Two dark chips sat on the image reading "Conceptual rendering · Warm
 * Minimalist" and "Conceptual rendering · Luxury Modern · Wellness",
 * a caption row underneath repeated both names, and a paragraph under
 * that explained them a third time. The same three facts, three times,
 * two of them printed over the photograph they were describing. One
 * caption row and one shared disclosure now carry all of it.
 */

.caption { font-size: 13px; color: var(--mute); margin-top: var(--s2); max-width: 60ch; }

/* The other rooms: a compact, scrollable, keyboard-reachable strip. */
.rooms { display: flex; gap: var(--s1); margin-top: var(--s3); flex-wrap: wrap; }
.room {
  background: transparent; border: 1px solid var(--rule); color: var(--mute);
  padding: .55rem .85rem; font-size: 13px; cursor: pointer; min-height: 44px;
}
.room[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); }
.room:hover { border-color: var(--ink); }

/*
 * The original condition, on top of the pair, shown only when asked for.
 * It covers the frame rather than taking a side, because a three-way
 * slider is a puzzle and this is a supporting control, not the headline.
 */
.compare__orig { position: absolute; inset: 0; width: 100%; z-index: 1; }
.compare[data-original="true"] .compare__handle { display: none; }
.compare[data-original="true"] .compare__range { cursor: default; }

/*
 * THE CAPTION ROW — one line, and the side it is on is the information.
 *
 * Deliberately NOT the chip or toggle styling used elsewhere: three
 * different pairs live on this page — two finish directions, two costed
 * scenarios, two plan intervals — and giving any two of them the same
 * shape is how a reader comes to think they are the same choice.
 *
 * It stays a two-column row at EVERY width. Letting it wrap on a phone
 * would put the right-hand scheme's name underneath the left-hand one,
 * and the whole job of this row is which side is which.
 */
.finishes {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--s2); flex-wrap: nowrap;
  margin-top: var(--s2); font-size: 13px; letter-spacing: .02em;
}
.finishes__l, .finishes__r { color: var(--ink); }
.finishes__r { text-align: right; }
@media (max-width: 479px) { .finishes { font-size: 12px; gap: var(--s1); } }

/*
 * THE DEMO IDENTIFIER.
 *
 * A line of text under the frame, not a chip over it — the overlaid tags
 * were removed on purpose. It sits ABOVE the caption row and outside
 * #cmpNote, because that note hides itself in the photograph view and
 * this fact must not hide with it. Same size and colour as the rest of
 * the apparatus: an identifier, not a badge.
 */
.demo-tag {
  margin: var(--s2) 0 0; font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--mute);
}

/* One disclosure for both images, not one printed on each. */
.finishes__note {
  margin: .5rem 0 0; font-size: 12px; letter-spacing: .04em;
  color: var(--mute);
}

/* In the photograph view there is one image, so the row names it. */
.finishes[data-single="true"] { justify-content: flex-start; }

/* ── the view switch: the two renders, or the source photograph ────────── */
.viewsw {
  display: flex; gap: var(--s1); flex-wrap: wrap;
  margin-bottom: var(--s3);
}
.viewsw__b {
  display: inline-flex; align-items: center; gap: .6rem;
  background: transparent; border: 1px solid var(--rule); color: var(--mute);
  padding: .4rem .85rem .4rem .6rem; font: inherit; font-size: 13px;
  min-height: 48px; cursor: pointer;
}
.viewsw__b:hover { border-color: var(--ink); color: var(--ink); }
.viewsw__b[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); }
.viewsw__icon { display: inline-flex; margin-left: .25rem; color: currentColor; }
/*
 * A REAL FRAME, OR NO FRAME AT ALL.
 *
 * The thumbnail is the actual state-0 photograph of the room on screen —
 * the same file the control opens. It is not a generic icon and it is
 * never another room's picture: if the source frame for this room does
 * not load, the script disables the control rather than show something
 * that is not what pressing it would give you.
 */
.viewsw__thumb {
  width: 64px; height: 40px; object-fit: cover; flex: 0 0 auto;
  background: #f3f3f3; border: 1px solid var(--rule);
}
.viewsw__b[disabled] { opacity: .4; cursor: not-allowed; }
.viewsw__b[disabled]:hover { border-color: var(--rule); color: var(--mute); }

/* The room strip, on its own line under the frame. */
.proof__controls { margin-top: var(--s3); }
.proof__controls .rooms { margin-top: 0; }

/* ───────────────────── C · the Vision Book pages ─────────────────────── */

.book { display: grid; gap: var(--s3); }
@media (min-width: 900px) { .book { grid-template-columns: repeat(3, 1fr); gap: var(--s4); } }
.book figure { margin: 0; }
.book img {
  width: 100%; aspect-ratio: 1500 / 843; object-fit: cover;
  border: 1px solid var(--rule); background: #fafafa;
}
.book figcaption { font-size: 13px; color: var(--mute); margin-top: .7rem; }

/* ── the sample book: a centred viewer, not a drawer ──────────────────────
 *
 * It opened as a full-height panel pinned to the right edge, which gave
 * the pages a column narrower than they are wide and left a third of the
 * screen showing a page the reader had just left. A book is the subject
 * while it is open, so it is centred, with the film stopped behind it and
 * the backdrop doing the quieting.
 *
 * On a phone it takes the whole screen, because at 390px a margin is just
 * less page.
 */
dialog.sheet {
  width: min(1100px, 100vw); max-width: 100vw;
  height: 100svh; max-height: 100svh;
  margin: 0 auto; padding: 0; border: 0;
  background: var(--paper); color: var(--ink);
}
@media (min-width: 760px) {
  dialog.sheet {
    width: min(1100px, calc(100vw - 2 * var(--s5)));
    height: min(100svh - 2 * var(--s4), 920px);
    max-height: calc(100svh - 2 * var(--s4));
    margin: auto;                    /* centred both ways inside the top layer */
    border: 1px solid var(--rule);
    box-shadow: 0 30px 90px rgba(0,0,0,.28);
  }
}
/* Subdued, not black: the page stays legible behind it as context. */
dialog.sheet::backdrop {
  background: rgba(17,17,17,.62);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}

.sheet__bar {
  position: sticky; top: 0; z-index: 2; background: var(--paper);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s2);
  padding: var(--s2) var(--gutter); border-bottom: 1px solid var(--rule);
}
@media (min-width: 760px) { .sheet__bar { padding-inline: var(--s4); } }
.sheet__close { min-height: 44px; }

.sheet__body { padding: var(--s3) var(--gutter) var(--s5); overflow-y: auto; }
@media (min-width: 760px) { .sheet__body { padding-inline: var(--s4); } }
.sheet__body img {
  width: 100%; aspect-ratio: 1500 / 843; object-fit: contain;
  border: 1px solid var(--rule); margin-bottom: var(--s3); background: #fafafa;
}

/*
 * THE PAGE UNDERNEATH DOES NOT MOVE.
 *
 * Locking the scroll is what keeps the reader where they were — without
 * it the page behind can scroll under the dialog on a trackpad, and they
 * close the book somewhere they never went. `scrollbar-gutter: stable`
 * on <html> is the other half: hiding the scrollbar without reserving
 * its space shifts the whole layout sideways at the moment of opening.
 */
html.is-locked { overflow: hidden; }

/* ───────────────────────── D · how it works ──────────────────────────── */

.steps { display: grid; gap: var(--s4); counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s5); } }
.step { border-top: 1px solid var(--ink); padding-top: var(--s2); }
.step__n {
  font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--accent);
  display: block; margin-bottom: var(--s2);
}
.step h3 { margin-bottom: .5rem; }
.step p { color: var(--mute); font-size: 15px; margin: 0; }

/* ─────────────────────────── E · the plans ───────────────────────────── */

.toggle { display: inline-flex; border: 1px solid var(--rule); margin-bottom: var(--s4); }
.toggle button {
  background: transparent; border: 0; padding: .65rem 1.15rem; font-size: 14px;
  cursor: pointer; color: var(--mute); min-height: 46px;
}
.toggle button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.plans { display: grid; gap: var(--s4); }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); gap: 0; } }
.plan { border-top: 1px solid var(--ink); padding-top: var(--s3); }
@media (min-width: 900px) {
  .plan { padding: var(--s3) var(--s3) 0; border-left: 1px solid var(--rule); }
  .plan:first-child { border-left: 0; padding-left: 0; }
  .plan:last-child { padding-right: 0; }
}
.plan h3 { margin-bottom: .25rem; }
.plan__who { font-size: 14px; color: var(--mute); margin: 0 0 var(--s3); min-height: 2.6em; }
/*
 * EACH OF THESE IS ITS OWN LINE.
 *
 * They are <span>s — the build emits spans so the monthly/annual toggle
 * can swap their text — and a span is inline, so `margin-top` did nothing
 * and the price, the period, the annual line and the allowance all ran
 * together into one overlapping paragraph. Stacking is the job of the
 * stylesheet here, not of the element the content happens to be in.
 */
.plan__price, .plan__per, .plan__alt, .plan__books { display: block; }

.plan__price { font-family: var(--serif); font-size: 2.6rem; line-height: 1; }
.plan__per { font-size: 13px; color: var(--mute); margin-top: .45rem; }
.plan__alt { font-size: 13px; color: var(--mute); margin-top: .2rem; }
.plan__books {
  margin: var(--s3) 0; padding: var(--s2) 0; font-size: 15px;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.plan ul { list-style: none; margin: 0 0 var(--s3); padding: 0; }

/*
 * ── THE CARD IS A PRICE, AN ALLOWANCE AND A DOOR ──────────────────────────
 *
 * The per-card feature lists are gone; what both plans include is stated
 * once below. So the card has room to breathe, and the action sits at its
 * foot on a consistent baseline whether or not the card above it is as
 * tall as its neighbour.
 */
.plan { display: flex; flex-direction: column; }
.plan__cta { margin-top: auto; align-self: flex-start; }
@media (max-width: 899px) { .plan__cta { align-self: stretch; text-align: center; } }

.plans__annual { margin-top: var(--s3); }
/* The single-property strip under the plans (one purchase, not monthly). */
.single { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--s3); margin-top: var(--s4); padding: var(--s3); border: 1px solid var(--rule); }
.single h3 { margin: 4px 0; }
.single .plan__cta { margin-top: 0; }

/* The inclusions, once, under the three cards. */
.incl { margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--ink); }
.incl__h {
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--mute);
  margin: 0 0 var(--s3);
}
.incl__list {
  list-style: none; margin: 0 0 var(--s3); padding: 0;
  display: grid; gap: 0 var(--s4);
}
@media (min-width: 640px)  { .incl__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .incl__list { grid-template-columns: repeat(3, 1fr); } }
.incl__list li {
  font-size: 15px; padding: .6rem 0;
  border-bottom: 1px solid var(--rule);
}
/*
 * THE NOTE MOVED BELOW THE LIST, AND THE BLANK LINE WENT WITH IT.
 *
 * It sat between the allowance and the list, where only one of three
 * cards had anything to say — so the other two padded the row with
 * &nbsp; to keep the three lists level, and that padding rendered as an
 * empty line under the allowance on every card. Below the list nothing
 * has to be kept level, so the note can simply be absent when empty.
 */
.plan__note {
  margin: 0 0 var(--s3); font-size: 13px; color: var(--mute); line-height: 1.45;
}
.plan__note:empty { display: none; }
.plan li {
  font-size: 14px; color: var(--mute); padding: .5rem 0;
  border-bottom: 1px solid var(--rule); line-height: 1.45;
}

/* A number that is not settled must LOOK unsettled, everywhere it appears. */
.unresolved {
  display: inline-block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  border: 1px dashed var(--ink); padding: .3rem .5rem; color: var(--ink);
  font-family: var(--sans);
}

/* ──────────────────────────── F · studio ─────────────────────────────── */

.svc { display: grid; gap: var(--s4); align-items: start; padding-block: var(--s5); border-top: 1px solid var(--rule); }
@media (min-width: 900px) { .svc { grid-template-columns: 1fr 1fr; gap: var(--s7); padding-block: var(--s6); } }
.svc__price { font-family: var(--serif); font-size: 3rem; line-height: 1; margin: 0 0 .4rem; }
.svc ul { list-style: none; margin: var(--s3) 0 0; padding: 0; }
.svc li { font-size: 15px; padding: .65rem 0; border-bottom: 1px solid var(--rule); color: var(--mute); }
.svc li:first-child { border-top: 1px solid var(--rule); }

/* ───────────────────────────── closing ───────────────────────────────── */

.close__grid { display: grid; gap: var(--s4); }
@media (min-width: 860px) { .close__grid { grid-template-columns: 1.15fr 1fr; gap: var(--s7); align-items: start; } }
.sig { font-family: var(--serif); font-size: 1.1rem; margin-top: var(--s3); }
.sig small { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: .4rem; }

.foot { padding-block: var(--s5) 0; border-top: 1px solid var(--rule); font-size: 13px; color: var(--mute); }
.foot a {
  color: var(--mute);
  /* The one link in the footer, given a thumb-sized box of its own. */
  display: inline-flex; align-items: center; min-height: 44px;
}
.foot__row {
  display: flex; flex-wrap: wrap; gap: var(--s3);
  justify-content: space-between; align-items: center;
}

/*
 * THE DISCLAIMER, GIVEN ITS OWN ROOM.
 *
 * It was a single 78ch block hung off the end of the copyright row,
 * running the full width of a 1240px page — a paragraph nobody can track
 * a line of, in the place readers already skip. It sits under its own
 * rule now, in a centred column at a readable measure, broken into the
 * four separate things it says. The wording is unchanged; only where it
 * breaks is new.
 *
 * The COLUMN is centred. The TEXT inside it is not: centred paragraphs
 * are the other way to make a legal notice unreadable.
 */
.foot__legal {
  margin-top: var(--s4); padding-block: var(--s4) var(--s5);
  border-top: 1px solid var(--rule);
}
/*
 * THE DISCLAIMER USES THE PAGE, INSTEAD OF A COLUMN DOWN THE MIDDLE.
 *
 * A 72ch box centred under a full-width row shared no edge with
 * anything and left two empty thirds either side. The container now
 * spans the page like every other .wrap — so its first character sits
 * on the same vertical as the copyright line above it — and the four
 * paragraphs run as TWO COLUMNS across that width. Two, not four:
 * four columns on a 1240px page gave each clause about 38 characters,
 * which is narrower than the centred box this replaced and harder to
 * read, not easier. Two columns keep a comfortable measure and still
 * use the whole page.
 *
 * Columns collapse to one below 900px, which is the only thing that
 * works on a phone, and `break-inside: avoid` keeps a clause from
 * splitting across two columns where it would read as two clauses.
 */
.foot__legalin {
  max-width: var(--maxw); margin-inline: auto; text-align: left;
  font-size: 12.5px; line-height: 1.7;
}
@media (min-width: 900px) {
  .foot__legalin { columns: 2; column-gap: var(--s5); }
}
.foot__legalin p { margin: 0 0 1.15rem; break-inside: avoid; }
.foot__legalin p:last-child { margin-bottom: 0; }

/* ───────────────────────── motion, held back ─────────────────────────── */

/*
 * Content lifts once, slightly, when it arrives. Anything more competes
 * with the photographs, which are the only thing on this page worth
 * looking at.
 *
 * ── VISIBLE IS THE DEFAULT; HIDDEN IS THE ENHANCEMENT ─────────────────────
 * This was the other way round — `.rise { opacity: 0 }` with JavaScript
 * revealing each element as it scrolled into view. Everything below the
 * hero was therefore invisible until a script said otherwise, so a blocked
 * or failed app.js left a white page under a photograph, and a deep link
 * straight to #plans rendered nothing at all.
 *
 * Hiding content is now something only a working script may do: it sets
 * `data-animate` on <html> before first paint, and that attribute is what
 * arms the rule below. No script, no hiding — the page is simply there.
 */
.rise { opacity: 1; transform: none; }

[data-animate] .rise {
  opacity: 0; transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-animate] .rise[data-in="true"] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-animate] .rise { opacity: 1; transform: none; transition: none; }
  .hero__media video { transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ═══════════════════════════ print ═══════════════════════════════════════
 *
 * The page had no print styles at all, and printed badly in every way a
 * screen-first page does: the fixed header sat on top of the first
 * paragraph on every sheet, the dark sections burned a page of ink each,
 * the hero's 100svh produced a near-empty first sheet, and controls that
 * do nothing on paper — the film toggle, the compare slider, the buttons —
 * printed as furniture.
 *
 * The poster still is already in the markup behind the video, so the hero
 * prints the approved frame without a second asset.
 */
@media print {
  /* 1 ── the fixed header stops being fixed, so nothing sits on the text */
  .hdr { position: static; border-bottom: 1px solid #999; }
  .menu { display: none !important; }

  /* 2 ── dark on white, everywhere, including the inverted sections */
  html, body { background: #fff !important; color: #000 !important; }
  .plate, .hero, .sec, .foot, .close__grid > div {
    background: #fff !important; color: #000 !important;
  }
  .plate h1, .plate h2, .plate h3, .plate p, .plate .lede,
  .hero h1, .sig, .sig small, .caption, .lede, .eyebrow, .foot, .foot a {
    color: #000 !important; text-shadow: none !important;
  }
  a { color: #000 !important; text-decoration: underline; }

  /* 3 ── controls that cannot be used on paper */
  .film-ctl, .menu-btn, .hdr .btn, .btn--quiet, .plan__cta, .svc__cta,
  .compare__range, .compare__handle, .compare__hint, .viewsw, .rooms,
  .entry__bar, .entry__label, .entry .note, .entry__secondary,
  .sheet, .reviewbar, .toggle { display: none !important; }

  /* 4 ── the hero is a picture and a line, not a full screen of it */
  .hero { min-height: 0 !important; display: block; padding-block: 0; }
  .hero__media { position: static; height: auto; }
  .hero__media video { display: none !important; }
  .hero__media img { position: static; width: 100%; height: auto; }
  .hero__scrim { display: none !important; }
  .hero__in { padding-block: 1.5rem !important; }

  /* 5 ── sections stop reserving screen-sized air */
  .sec { padding-block: 1.5rem !important; }
  .entry-sec { padding-block: 1rem !important; }

  /* 6 ── a heading stays with its text, and a card is not split */
  h1, h2, h3 { break-after: avoid-page; page-break-after: avoid; }
  .plan, .svc, .step, .incl__list li, .foot__legalin p {
    break-inside: avoid; page-break-inside: avoid;
  }
  .sec { break-inside: auto; }

  /* 7 ── animation-on-scroll must never print as invisible */
  .rise { opacity: 1 !important; transform: none !important; }

  /* 8 ── the disclaimer reads as one column on paper */
  .foot__legalin { columns: 1 !important; }
}

/* ─────────────────── one page of the book, enlarged ──────────────────────
 *
 * The sheet shows eleven pages at the width of the screen. On a phone that
 * is a 1500px document drawn at 343px — 23% — and until now there was no
 * way out of it: a flat <img>, not focusable, no pointer, nothing saying
 * it could be opened. Lee, on a real handset: "the vision book images
 * cannot expand / be viewed in a larger scope."
 */
.page {
  display: block; width: 100%; padding: 0; margin: 0 0 var(--s3);
  background: none; border: 0; cursor: zoom-in;
}
.page img { display: block; width: 100%; height: auto; }
.page:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.pagev {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(17,17,17,.94);
  /* The sheet is a <dialog> in the top layer, so this must sit above it
     without being a second modal competing for focus. */
}
.pagev.is-on { display: block; }
.pagev__scroll {
  position: absolute; inset: 0; overflow: auto;
  display: flex; align-items: center; justify-content: center;
  padding: var(--s3);
  -webkit-overflow-scrolling: touch;
}
/* Fit first: a page that opens at full size opens somewhere nobody chose. */
.pagev__img { max-width: 100%; max-height: 100%; height: auto; cursor: zoom-in; }
/* Then full size, with the frame panning under it. */
.pagev.is-zoomed .pagev__scroll { display: block; }
.pagev.is-zoomed .pagev__img {
  max-width: none; max-height: none; width: 1500px; cursor: zoom-out;
}
.pagev__close {
  position: absolute; top: var(--s2); right: var(--s2); z-index: 1;
  background: var(--paper); color: var(--ink); border-color: var(--paper);
}
.pagev__hint {
  position: absolute; left: 50%; bottom: var(--s2); transform: translateX(-50%);
  margin: 0; font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.8); pointer-events: none;
}
.pagev.is-zoomed .pagev__hint { opacity: 0; }

/* A pointer device has a cursor and a scroll wheel; it does not need the
   tap instruction, and the mat is wide enough there to read as a lightbox. */
@media (hover: hover) and (pointer: fine) {
  .pagev__hint { display: none; }
}

/* ── address suggestions (Jodi, 10 Nov) ─────────────────────────────────── */
.entry { position: relative; }
.suggest {
  list-style: none; margin: 4px 0 0; padding: 4px 0; max-width: 100%;
  background: var(--paper); border: 1px solid var(--ink); border-radius: 2px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  position: relative; z-index: 5;
}
.suggest[hidden] { display: none; }
.suggest__item {
  padding: .75rem .95rem; min-height: 44px; font-size: 15px; color: var(--ink);
  cursor: pointer; border-top: 1px solid var(--rule);
}
.suggest__item:first-child { border-top: 0; }
.suggest__item[aria-selected="true"], .suggest__item:hover { background: var(--rule); }

/* ── waiting, visibly (Jodi, 19 Nov 2026) ─────────────────────────────── */
.suggest__item--wait { color: var(--mute); cursor: default; }
.suggest__item--wait:hover { background: none; }
.think { display: grid; justify-items: start; gap: .35rem; }
.think__house { width: 120px; height: 72px; margin-bottom: .4rem; }
.think__line {
  fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: think-draw 3.2s ease-in-out infinite;
}
.think__line--1 { animation-delay: .25s; }
.think__line--2 { animation-delay: .5s; }
.think__line--3 { animation-delay: .75s; }
.think__line--4 { animation-delay: 1s; }
@keyframes think-draw {
  0% { stroke-dashoffset: 1; opacity: 1; }
  45%, 80% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
.think__msg { margin: 0; font-family: var(--serif); font-size: 1.25rem; line-height: 1.3; color: var(--ink); }
.think__fine { margin: 0; font-size: 12.5px; color: var(--mute); }
@media (prefers-reduced-motion: reduce) {
  .think__line { animation: none; stroke-dashoffset: 0; }
}
