/* Paradise Grove — what differs from the shared day/night system in styles.css.
   The developer asked for greens and blues: the sage of the cladding by day, river-dusk blues at night. */

:root {
  --paper: #f0f1ec;
  --surface: #e2e5dc;
  --sky: #dbe5e6;
  --ink: #1f2a25;
  --muted: #56635b;
  --accent: #47604f;
  --accent-ink: #f0f1ec;
  --on-photo: #f2f3ee;

  --dusk-1: #d9e1e0;
  --dusk-1-ink: #1d2a2b;
  --dusk-2: #a9bcc4;
  --dusk-2-ink: #16242b;
  --dusk-3: #3f5563;
  --dusk-3-ink: #eef1ee;
  --dusk-4: #1c2a36;
  --dusk-4-ink: #e9eeec;
  --night: #101a24;
  --glow: #e3b98a;
}

/* the name is set in type until a logo exists */
.bar .mark { width: auto; height: auto; background: none; -webkit-mask: none; mask: none; font-family: var(--font-display); font-weight: 300; font-size: 1.375rem; letter-spacing: 0.01em; text-decoration: none; white-space: nowrap; }
.hero h1 { line-height: 0.9; }
.hero h1 .line { padding-bottom: 0.12em; }
.hero .wordmark { font-family: var(--font-display); font-weight: 300; font-variation-settings: "opsz" 144, "SOFT" 100; font-size: clamp(3.4rem, 12.6vw, 13.5rem); letter-spacing: -0.03em; white-space: nowrap; }
.foot-end .wordmark { aspect-ratio: auto; background: none; -webkit-mask: none; mask: none; color: var(--paper); font-family: var(--font-display); font-weight: 300; font-variation-settings: "opsz" 144, "SOFT" 100; font-size: clamp(3.2rem, 13vw, 14rem); line-height: 0.9; letter-spacing: -0.03em; text-align: center; white-space: nowrap; }
html[data-mode="night"] .foot-end .wordmark { background: none; color: var(--glow); }

/* every picture has a night twin: stack the two and let html[data-mode] pick */
.intro .lone, .hood .wide, .row-scroll figure, .inside .shot, .showcase .frame { display: grid; }
.intro .lone > img, .hood .wide > img, .row-scroll figure > img, .inside .shot > img { grid-area: 1 / 1; width: 100%; height: 100%; object-fit: cover; transition: opacity var(--t-mode) var(--ease-in-out), visibility 0s linear var(--t-mode), transform 900ms var(--ease-out); }
.intro .lone > img, .residences .swap.abs .media { position: absolute; inset: 0; }
/* showcase: no zoom in. A tall crop on the balcony doors widens to the whole balcony, then the frame opens out to the whole house */
.showcase { height: 400vh; --fh: min(32vw, 46svh); --fw4: min(92vw, calc(76svh * 16 / 9)); }
.showcase .frame { aspect-ratio: auto; height: var(--fh); width: calc(var(--fh) * 0.8); transition: width 1100ms var(--ease-out), height 1100ms var(--ease-out); }
.showcase[data-stage="2"] .frame { width: calc(var(--fh) * 1.7); }
.showcase[data-stage="3"] .frame { width: min(88vw, calc(var(--fh) * 2.8)); }
.showcase[data-stage="4"] .frame { width: var(--fw4); height: calc(var(--fw4) * 9 / 16); }
.showcase .frame .view { position: absolute; inset: 0; transition: opacity 900ms ease; }
.showcase .frame .view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: none !important; transition: opacity var(--t-mode) var(--ease-in-out), visibility 0s linear var(--t-mode); }
.showcase .frame .wide, .showcase[data-stage="4"] .frame .bal { opacity: 0; }
.showcase[data-stage="4"] .frame .wide { opacity: 1; }
.showcase h2 { transition: opacity 500ms ease; }
.showcase h2 .a { top: calc(50% - var(--fh) / 2 - 1.05em); }
.showcase h2 .b { top: calc(50% + var(--fh) / 2 + 0.12em); }
.showcase[data-stage="4"] h2 { opacity: 0; }
.showcase .caption { left: 50%; top: calc(50% + var(--fh) / 2 + var(--step-head) * 1.2 + 14px); width: min(52ch, 88vw); text-align: center; transform: translateX(-50%); }
.showcase:not([data-stage="3"]) .caption { opacity: 0; transform: translate(-50%, 16px); }
.showcase .tag { position: absolute; left: 0; bottom: 0; z-index: 2; max-width: min(34ch, 80%); padding: 18px 22px; background: var(--paper); color: var(--ink); font-size: var(--step-small); opacity: 0; transform: translateY(12px); transition: opacity 600ms ease 300ms, transform 800ms var(--ease-out) 300ms, background-color var(--t-mode) ease, color var(--t-mode) ease; pointer-events: none; }
html[data-mode="night"] .showcase .tag { background: var(--dusk-4); color: var(--dusk-4-ink); }
.showcase .tag a { display: block; margin-top: 6px; color: inherit; text-underline-offset: 3px; }
.showcase[data-stage="4"] .tag { opacity: 1; transform: none; pointer-events: auto; }
html[data-mode="day"] .is-day, html[data-mode="night"] .is-night { transition-delay: 0s; }

/* inclusions: the statement is the headline, the two schemes sit large beside it */
.inside { height: 520vh; background: #1b2620; color: #eef0ea; transition: background-color var(--t-mode) ease; }
html[data-mode="night"] .inside { background: var(--night); }
.inside .stage { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 72px); align-items: center; padding: 96px var(--margin) 40px; }
.inside .stage::after { content: none; }
.inside .say { position: relative; }
.inside .count { font-size: var(--step-small); letter-spacing: 0.08em; color: var(--glow); margin-bottom: 20px; }
.inside .steps { position: static; transform: none; width: auto; text-align: left; display: grid; color: inherit; }
.inside .steps li, .inside .steps li:first-child { grid-area: 1 / 1; padding: 0; margin: 0; font-family: inherit; font-size: inherit; color: inherit; opacity: 0; transform: translateY(18px); transition: opacity 500ms ease, transform 700ms var(--ease-out); pointer-events: none; }
.inside .steps li.on { opacity: 1; transform: none; pointer-events: auto; }
.inside .steps li.on:not(:first-child)::before { content: none; }
.inside .steps h2, .inside .steps h3 { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.1rem, 4.3vw, 4.4rem); line-height: 1.02; letter-spacing: 0; text-wrap: balance; }
.inside .steps p { margin-top: 22px; font-size: clamp(1.0625rem, 1.35vw, 1.3125rem); line-height: 1.5; max-width: 30ch; color: #cdd3ca; }
.inside .lead-in { margin-top: 36px; font-size: var(--step-small); }
.inside .lead-in a { color: inherit; text-underline-offset: 4px; }
.inside .shots { display: grid; }
.inside .pair { grid-area: 1 / 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.2vw, 20px); opacity: 0; transform: translateY(24px); transition: opacity 700ms ease, transform 900ms var(--ease-out); }
.inside .pair.on { opacity: 1; transform: none; }
.inside .pair figure { margin: 0; }
.inside .pair figure:last-child { margin-top: clamp(24px, 6vh, 72px); }
.inside .shot { aspect-ratio: 4 / 5; max-height: 66svh; width: 100%; overflow: hidden; }
.inside .pair img, .inside .pair img:first-child, .inside .pair img:last-child { position: static; inset: auto; left: auto; right: auto; top: auto; width: 100%; height: 100%; aspect-ratio: auto; opacity: 1; transform: none; display: block; }
html[data-mode="day"] .inside .pair img.is-night, html[data-mode="night"] .inside .pair img.is-day { opacity: 0; }
.inside figcaption { margin-top: 10px; font-size: var(--step-small); color: #cdd3ca; }

/* floor plans: the Eclipse sheets cut into layers the page colours itself, all six types at one scale */
.plans { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 96px); padding: var(--section) var(--margin); background: var(--paper); transition: background-color var(--t-mode) ease, color var(--t-mode) ease;
  --fp-line: #1f2a25; --fp-floor: #d6decf; --fp-out: #a9b7a6; --fp-on: #47604f; --fp-off: #d3d9cc; }
html[data-mode="night"] .plans { background: var(--dusk-4); color: var(--dusk-4-ink); --muted: #a9b6b8; --fp-line: #e9eeec; --fp-floor: rgb(227 185 138 / 0.2); --fp-out: #6f8492; --fp-on: #e3b98a; --fp-off: #2c3d4b; }
.plans .side { position: sticky; top: 96px; align-self: start; }
.plans h2 { font-size: var(--step-head); line-height: 1; letter-spacing: 0; }
.plans .types { display: grid; margin-top: clamp(28px, 4vw, 56px); border-bottom: 1px solid color-mix(in srgb, currentColor 30%, transparent); }
.plans .types button { display: grid; grid-template-columns: 2.2em 1fr auto; gap: 10px; align-items: baseline; text-align: left; font: inherit; font-size: var(--step-small); color: inherit; background: none; border: 0; border-top: 1px solid color-mix(in srgb, currentColor 30%, transparent); padding: 12px 0; min-height: 46px; cursor: pointer; opacity: 0.6; transition: opacity 200ms ease; }
.plans .types button b { font-family: var(--font-display); font-weight: 300; font-size: var(--step-mid); line-height: 1; }
.plans .types button:hover, .plans .types button[aria-selected="true"] { opacity: 1; }
.plans .types button[aria-selected="true"] span:first-of-type { text-decoration: underline; text-underline-offset: 4px; }
.plans .types button:focus-visible { outline: 2px solid var(--fp-on); outline-offset: 2px; }
.plans .areas { margin-top: 32px; display: grid; gap: 6px; max-width: 260px; }
.plans .areas[hidden], .plans .ptype[hidden] { display: none; }
.plans .areas div { display: flex; justify-content: space-between; font-size: var(--step-small); }
.plans .areas div:last-child { margin-top: 6px; padding-top: 8px; border-top: 1px solid currentColor; font-weight: 500; }
.plans .where { margin-top: 36px; max-width: 200px; }
.plans .where p { font-size: 0.8125rem; color: var(--muted); margin-bottom: 10px; }
.locator { display: block; width: 100%; height: auto; }
.locator .ground { fill: none; stroke: currentColor; stroke-width: 0.6px; vector-effect: non-scaling-stroke; opacity: 0.35; }
.locator .h { fill: var(--fp-off); transition: fill 300ms ease; }
.plans[data-active="a"] .locator .t-a, .plans[data-active="b"] .locator .t-b, .plans[data-active="c"] .locator .t-c, .plans[data-active="d"] .locator .t-d, .plans[data-active="e"] .locator .t-e, .plans[data-active="f"] .locator .t-f { fill: var(--fp-on); }
.plans .sheets { max-width: 900px; justify-self: end; width: 100%; }
.plans .ptype { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: flex-start; column-gap: 5.6%; row-gap: 20px; }
.plans .level { margin: 0; width: calc(var(--w) / var(--wmax) * 100%); }
.plans .fplan { position: relative; aspect-ratio: var(--w) / var(--h); }
.plans .fplan i { position: absolute; inset: 0; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; transition: background-color var(--t-mode) ease; }
.plans .fplan .line { background: var(--fp-line); }
.plans .fplan .floor { background: var(--fp-floor); }
.plans .fplan .out { background: repeating-linear-gradient(135deg, var(--fp-out) 0 1px, transparent 1px 7px); opacity: 0.7; }
.plans figcaption { margin-top: 14px; font-family: var(--font-display); font-weight: 300; font-size: var(--step-mid); }
.plans .shown { flex-basis: 100%; font-size: var(--step-small); color: var(--muted); }
.plans .fine { margin-top: 28px; font-size: 0.8125rem; line-height: 1.5; color: var(--muted); max-width: 70ch; }

.foot-end .imprint + .imprint { margin-top: 14px; }
.foot-end .imprint strong { font-weight: 500; }
.foot-end .imprint { scroll-margin-top: 90px; }

/* first home path */
.first { padding: var(--section) var(--margin); background: var(--paper); transition: background-color var(--t-mode) ease, color var(--t-mode) ease; }
html[data-mode="night"] .first { background: var(--dusk-3); color: var(--dusk-3-ink); }
.first h2 { font-family: var(--font-display); font-weight: 300; font-size: var(--step-head); line-height: 1; letter-spacing: 0; max-width: 14ch; }
.first .path { list-style: none; padding: 0; margin: clamp(40px, 6vw, 88px) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 56px); }
.first .path li { border-top: 1px solid currentColor; padding-top: 18px; }
.first .path .n { font-family: var(--font-display); font-weight: 300; font-size: var(--step-mid); display: block; }
.first .path h3 { font-size: var(--step-body); font-weight: 500; margin-top: 28px; }
.first .path p { margin-top: 10px; max-width: 34ch; }
.sheet .close a { color: inherit; text-underline-offset: 3px; }

.sheet .row { cursor: default; }
.sheet .row:hover .name { text-decoration: none; }
.sheet { -webkit-mask: none; mask: none; padding-top: 64px; padding-bottom: 64px; }

/* surroundings map, drawn from OpenStreetMap data */
.area { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(28px, 4vw, 72px); align-items: end; margin-top: clamp(72px, 9vw, 150px); padding-top: 22px; border-top: 1px solid currentColor;
  --mp-land: #e6e9e0; --mp-green: #c3cfba; --mp-water: #a9c0c9; --mp-road: #ffffff; --mp-ink: #1f2a25; --mp-site: #47604f; --mp-pin: #f0f1ec; }
html[data-mode="night"] .area { --mp-land: #1a2733; --mp-green: #24392f; --mp-water: #3f6377; --mp-road: #3a4a57; --mp-ink: #d5dedc; --mp-site: #e3b98a; --mp-pin: #101a24; }
.area .chart { margin: 0; overflow: hidden; }
.area-svg { display: block; width: 100%; height: auto; }
.area-svg * { transition: fill var(--t-mode) ease, stroke var(--t-mode) ease; }
.area-svg .land { fill: var(--mp-land); } .area-svg .green { fill: var(--mp-green); } .area-svg .water { fill: var(--mp-water); }
.area-svg .ln { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.area-svg .river { stroke: var(--mp-water); stroke-width: 5; } .area-svg .stream { stroke: var(--mp-water); stroke-width: 1.4; }
.area-svg .road3 { stroke: var(--mp-road); stroke-width: 1.1; } .area-svg .road2 { stroke: var(--mp-road); stroke-width: 2.4; } .area-svg .road1 { stroke: var(--mp-road); stroke-width: 3.6; }
.area-svg .obahn { stroke: var(--mp-ink); stroke-width: 1.2; stroke-dasharray: 5 3; opacity: 0.7; }
.area-svg .trail { stroke: var(--mp-site); stroke-width: 1.2; stroke-dasharray: 1 3.5; }
.area-svg .ring { fill: none; stroke: var(--mp-ink); stroke-width: 0.9; stroke-dasharray: 2 4; opacity: 0.7; }
.area-svg text { font-family: var(--font-text); fill: var(--mp-ink); text-anchor: middle; }
.area-svg .lb { font-size: 8.5px; } .area-svg .lb.road { font-size: 7.5px; opacity: 0.75; }
.area-svg .lb.water { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: 14px; paint-order: stroke; stroke: var(--mp-land); stroke-width: 3px; }
.area-svg .lb.suburb { font-size: 8px; letter-spacing: 0.3em; font-weight: 500; opacity: 0.55; }
.area-svg .lb.ringl { font-size: 7.5px; opacity: 0.85; paint-order: stroke; stroke: var(--mp-land); stroke-width: 3px; }
.area-svg .pin circle { fill: var(--mp-ink); } .area-svg .pin text { fill: var(--mp-pin); font-size: 9px; font-weight: 500; }
.area-svg .site circle { fill: var(--mp-site); } .area-svg .site .halo { opacity: 0.22; }
.area-svg .site text { font-family: var(--font-display); font-weight: 300; font-size: 17px; text-anchor: start; paint-order: stroke; stroke: var(--mp-land); stroke-width: 4px; }
.area-svg .north path, .area-svg .scale path { fill: none; stroke: var(--mp-ink); stroke-width: 0.8; } .area-svg .north text, .area-svg .scale text { font-size: 8px; font-weight: 500; }
.area h3 { font-family: var(--font-display); font-weight: 300; font-size: var(--step-head); line-height: 1; letter-spacing: 0; }
.area .about p { margin-top: 24px; max-width: 36ch; }
.area .near { list-style: none; padding: 0; margin: 32px 0 0; }
.area .near li { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: baseline; padding: 10px 0; border-top: 1px solid color-mix(in srgb, currentColor 30%, transparent); font-size: var(--step-small); }
.area .near li:last-child { border-bottom: 1px solid color-mix(in srgb, currentColor 30%, transparent); }
.area .near b { font-weight: 500; } .area .near strong { font-weight: 500; display: block; } .area .near em { font-style: normal; color: var(--muted); }
.area .about .src { margin-top: 20px; font-size: 0.8125rem; color: var(--muted); }

/* master plan: the dzine linework, restyled */
.plan-sheet { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 4vw, 72px); align-items: end; margin-top: clamp(72px, 9vw, 150px); padding-top: 22px; border-top: 1px solid currentColor;
  --pl-ground: #dfe4d9; --pl-line: #1f2a25; --pl-two: #b7c3ad; --pl-three: #7d937c; --pl-bal: #47604f; --pl-no: #1f2a25; --pl-no-deep: #f0f1ec; }
html[data-mode="night"] .plan-sheet { --pl-ground: #22313d; --pl-line: #c9d3d2; --pl-two: #6f6557; --pl-three: #a98d6c; --pl-bal: #e3b98a; --pl-no: #f1ede6; --pl-no-deep: #1c2a36; }
.plan-sheet h3 { font-family: var(--font-display); font-weight: 300; font-size: var(--step-head); line-height: 1; letter-spacing: 0; }
.plan-sheet .about p { margin-top: 24px; max-width: 34ch; }
.plan-sheet .key { list-style: none; padding: 0; margin: 36px 0 0; }
.plan-sheet .key li { display: grid; grid-template-columns: 18px 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid color-mix(in srgb, currentColor 30%, transparent); font-size: var(--step-small); cursor: default; }
.plan-sheet .key li:last-child { border-bottom: 1px solid color-mix(in srgb, currentColor 30%, transparent); }
.plan-sheet .key i { width: 18px; height: 18px; background: var(--pl-two); transition: background-color var(--t-mode) ease; }
.plan-sheet .key [data-k="three"] i { background: var(--pl-three); }
.plan-sheet .key [data-k="bal"] i { background: var(--pl-bal); }
.plan-sheet .about .src { margin-top: 20px; font-size: 0.8125rem; color: var(--muted); }
.plan-sheet .plan { margin: 0; }
.plan-svg { display: block; width: 100%; height: auto; overflow: visible; }
.plan-svg path, .plan-svg circle, .plan-svg text { transition: fill var(--t-mode) ease, stroke var(--t-mode) ease, opacity 300ms ease; }
.plan-svg .ground { fill: var(--pl-ground); }
.plan-svg .fp.k-two { fill: var(--pl-two); } .plan-svg .fp.k-three { fill: var(--pl-three); } .plan-svg .fp.k-bal { fill: var(--pl-bal); }
.plan-svg .fp.inner { fill-opacity: 0.62; } .plan-svg .fp.porch { fill-opacity: 0.3; }
.plan-svg .ln { fill: none; stroke: var(--pl-line); stroke-linecap: round; vector-effect: non-scaling-stroke; }
.plan-svg .ln.heavy { stroke-width: 0.9px; } .plan-svg .ln.mid { stroke-width: 0.7px; } .plan-svg .ln.fine { stroke-width: 0.5px; opacity: 0.7; }
.plan-svg text { font-family: var(--font-text); text-anchor: middle; fill: var(--pl-line); }
.plan-svg .no { font-family: var(--font-display); font-weight: 300; font-size: 11.5px; fill: var(--pl-no); }
.plan-svg .no.k-bal { fill: var(--pl-no-deep); }
html[data-mode="night"] .plan-svg .no.k-three { fill: var(--pl-no-deep); }
.plan-svg .st { font-size: 6.4px; letter-spacing: 0.34em; font-weight: 500; }
.plan-svg .st.one { letter-spacing: 0; }
.plan-svg .st.drive { font-family: var(--font-display); font-weight: 300; font-style: italic; font-size: 8.5px; letter-spacing: 0.02em; opacity: 0.8; }
.plan-svg .north circle, .plan-svg .north path { fill: none; stroke: var(--pl-line); stroke-width: 0.6px; vector-effect: non-scaling-stroke; }
.plan-svg .north .tip { fill: var(--pl-line); }
.plan-svg .north text { font-size: 6.4px; font-weight: 500; }
.plan-sheet:has(.key li:hover) .fp, .plan-sheet:has(.key li:hover) .no { opacity: 0.22; }
.plan-sheet:has(.key [data-k="two"]:hover) .k-two, .plan-sheet:has(.key [data-k="three"]:hover) .k-three, .plan-sheet:has(.key [data-k="bal"]:hover) .k-bal { opacity: 1; }
.hood .wide .over { position: absolute; }

/* register form */
.preview .card { width: 440px; padding-bottom: 0; }
.eoi { display: grid; gap: 14px; margin-top: 20px; }
.eoi label { display: grid; gap: 6px; font-size: var(--step-small); }
.eoi input, .eoi select { font: inherit; font-size: 1rem; color: inherit; background: #fff; border: 1px solid rgb(31 42 37 / 0.25); border-radius: 4px; padding: 12px; min-height: 46px; }
html[data-mode="night"] .eoi input, html[data-mode="night"] .eoi select { background: #f4f6f3; color: #1d2a2b; }
.eoi input:focus-visible, .eoi select:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.eoi .legal { font-size: 0.8125rem; line-height: 1.5; color: var(--muted); max-width: none; }
html[data-mode="night"] .eoi .legal { color: #4b5b5c; }
.eoi-msg { min-height: 1.4em; font-weight: 500; }
.eoi-msg.bad { color: #9a3324; }
.eoi button.go { width: calc(100% + 64px); border: 0; cursor: pointer; font: inherit; font-weight: 500; }
.eoi button.go[disabled] { opacity: 0.6; cursor: default; }
.preview .card-wrap { padding-bottom: 12vh; }
.preview { min-height: 0; }

@media (max-width: 760px) {
  .inside .stage { grid-template-columns: 1fr; align-content: center; gap: 26px; padding: 84px 20px 28px; }
  .inside .steps { top: auto; bottom: auto; left: auto; width: auto; min-height: 9.5em; }
  .inside .steps h2, .inside .steps h3 { font-size: clamp(2.125rem, 10vw, 3rem); }
  .inside .steps p { margin-top: 12px; }
  .inside .lead-in { display: none; }
  .inside .count { margin-bottom: 12px; }
  .inside .shot { max-height: 40svh; }
  .inside .pair img:last-child { display: block; }
  .inside .pair figure:last-child { margin-top: 0; }
  .showcase { --fh: 78vw; --fw4: 100vw; }
  .showcase[data-stage="2"] .frame { width: 82vw; }
  .showcase[data-stage="3"] .frame { width: 94vw; }
  .showcase[data-stage="4"] .frame { width: 100vw; height: min(72svh, 125vw); }
  .showcase .caption { left: 50%; right: auto; bottom: auto; top: calc(50% + var(--fh) / 2 + 13vw * 1.2 + 10px); width: 88vw; }
  /* floor plans: one column, and each type fills the width (the shared scale would make the narrow plans tiny on a phone) */
  .plans { grid-template-columns: 1fr; gap: 36px; }
  .plans .side { position: static; }
  .plans .where { display: none; }
  .plans .types button { grid-template-columns: 1.8em 1fr; row-gap: 2px; }
  .plans .types button .nums { grid-column: 2; }
  .plans .areas { max-width: none; }
  .plans .sheets { max-width: none; justify-self: stretch; }
  .plans .ptype { column-gap: 0; justify-content: space-between; }
  .plans .level { width: calc(var(--w) / var(--pair) * 100%); }
  .plans figcaption { font-size: 1.125rem; }
  .plans .ptype:is([data-for="d"], [data-for="e"], [data-for="f"]) { row-gap: 28px; }
  .plans .ptype:is([data-for="d"], [data-for="e"], [data-for="f"]) .level { width: calc(var(--w) / 1539 * 100%); }
  /* site: the note sits under the picture, not over it */
  .hood .wide { aspect-ratio: auto; background: none; overflow: visible; grid-template-rows: auto auto; }
  .hood .wide > img { height: auto; aspect-ratio: 4 / 3; }
  .hood .wide .over { position: static; grid-row: 2; width: auto; padding: 16px 0 0; }
  .area { grid-template-columns: 1fr; align-items: start; }
  .plan-sheet { grid-template-columns: 1fr; align-items: start; }
  .plan-svg .no { font-size: 13px; }
  .first .path { grid-template-columns: 1fr; }
  .bar nav a[href="#first-home"] { display: none; }
  .bar .mark { font-size: 1.125rem; }
  .preview .card { width: auto; }
  .hero .wordmark { font-size: 15.5vw; }
}

/* Lead-profile pages (/first-home, /invest): the block under the hero that speaks to that buyer */
.first.lead .path .n { font-size: var(--step-mid); white-space: nowrap; }
.first .fine { margin-top: clamp(28px, 4vw, 48px); max-width: 62ch; font-size: 0.86em; opacity: 0.72; }
.eoi-share { margin-top: 10px; font-size: 0.92em; }
.eoi-share button { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Floor plans page for the Buyer's Pack email */
.plans-only main { padding-top: 96px; }
.plans-intro h1 { font-family: var(--font-display); font-weight: 300; font-size: var(--step-head); line-height: 1; letter-spacing: 0; max-width: 16ch; }
.plans-intro, .plans-next { padding-block: clamp(48px, 7vw, 96px); }
.plans-intro .fine, .plans-next .fine { font-size: var(--step-body); opacity: 1; margin-top: 24px; }

/* Intro: the picture and the words sit side by side as one block, with the cladding note as the picture's caption.
   (The scattered Rose Park layout left a small picture adrift under a lot of empty space.) */
@media (min-width: 761px) {
  .intro .grid { row-gap: 0; }
  .intro .lone { grid-column: 1 / 6; grid-row: 1 / 3; margin-top: 0; align-self: center; }
  .intro .statement { grid-column: 7 / 13; grid-row: 1; align-self: end; margin-top: 0; }
  .intro .statement p { text-indent: 0; max-width: 24em; }
  .intro .mix { grid-column: 7 / 12; grid-row: 2; align-self: start; }
  .intro .note { grid-column: 1 / 6; grid-row: 3; margin-top: 16px; max-width: none; }
  .intro .note cite { display: inline; margin: 0 0 0 0.5em; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .intro .lone { grid-column: 1 / 6; }
  .intro .statement { grid-column: 7 / 13; font-size: var(--step-lead); }
  .intro .mix { grid-column: 7 / 13; }
}

/* Hero film: the two videos take the place of the hero stills */
.hero .swap.abs video { transform: scale(var(--hero-scale, 1)); transform-origin: 50% 60%; background: #3b3a37; }
@media (max-width: 760px) { .hero .swap.abs video { object-position: 62% 50%; } }

/* The Paradise Grove logo (supplied pack, white versions) takes the place of the set-in-type name.
   Drawn as masks so the same file shows white over the hero and dark in the solid top bar. The words stay in the
   markup for screen readers. */
.bar .mark { width: 196px; height: 11px; font-size: 0; letter-spacing: 0; background: currentColor; -webkit-mask: url(img/logo-wordmark.svg?v=2) center / contain no-repeat; mask: url(img/logo-wordmark.svg?v=2) center / contain no-repeat; }
.hero h1 { line-height: 0; }
.hero h1 .line { padding-bottom: 0; overflow: hidden; }
.hero .wordmark { display: block; font-size: 0; letter-spacing: 0; width: clamp(280px, 54vw, 940px); height: auto; aspect-ratio: 2928.45 / 555.91; background: currentColor; -webkit-mask: url(img/logo-primary.svg?v=2) left center / contain no-repeat; mask: url(img/logo-primary.svg?v=2) left center / contain no-repeat; }
.foot-end .wordmark { font-size: 0; letter-spacing: 0; line-height: 0; width: min(100%, 1180px); margin: 90px auto 0; aspect-ratio: 2928.45 / 555.91; background: var(--paper); -webkit-mask: url(img/logo-primary.svg?v=2) center / contain no-repeat; mask: url(img/logo-primary.svg?v=2) center / contain no-repeat; }
html[data-mode="night"] .foot-end .wordmark { background: var(--paper); }
.back .sign { font-size: 0; line-height: 0; width: 210px; aspect-ratio: 1711.75 / 261.24; background: currentColor; -webkit-mask: url(img/logo-mark.svg?v=2) left center / contain no-repeat; mask: url(img/logo-mark.svg?v=2) left center / contain no-repeat; }
@media (max-width: 760px) {
  .bar .mark { width: 160px; height: 9px; font-size: 0; }
  .hero .wordmark { width: 82vw; font-size: 0; }
  .foot-end .wordmark { width: calc(100% - 40px); margin: 70px auto 0; }
  .back .sign { width: 170px; padding-right: 0; }
}

/* Hero: the logo sits in the sky; on wide screens the hero pins while the roofline is traced and lifts into the mark. */
.hero { overflow: clip; }
.hero-stage { position: relative; height: 100svh; min-height: 560px; overflow: hidden; }
.hero.is-pinned { height: 230svh; min-height: 0; }
.hero.is-pinned .hero-stage { position: sticky; top: 0; }
.hero::before, .hero::after { display: none; }
.hero-stage::after { content: ""; position: absolute; inset: auto 0 0 0; height: 46%; background: linear-gradient(to top, rgb(0 0 0 / 0.55), rgb(0 0 0 / 0)); pointer-events: none; }
.hero-stage::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 44%; z-index: 1; background: linear-gradient(to bottom, rgb(0 0 0 / 0.36), rgb(0 0 0 / 0.14) 55%, rgb(0 0 0 / 0)); pointer-events: none; }
html[data-mode="night"] .hero-stage::before { height: 24%; background: linear-gradient(to bottom, rgb(0 0 0 / 0.3), rgb(0 0 0 / 0)); }
.hero .sky { position: absolute; z-index: 2; left: 50%; top: clamp(92px, 16svh, 190px); width: clamp(280px, 44vw, 720px); margin: 0; transform: translateX(-50%); line-height: 0; }
.hero .sky .lm { display: block; width: 58.5%; margin: 0 auto; aspect-ratio: 1711.75 / 261.24; background: currentColor; -webkit-mask: url(img/logo-mark.svg?v=2) center / contain no-repeat; mask: url(img/logo-mark.svg?v=2) center / contain no-repeat; }
.hero .sky .lw { display: block; margin-top: 4.8%; font-size: 0; aspect-ratio: 2928.45 / 154.48; background: currentColor; -webkit-mask: url(img/logo-wordmark.svg?v=2) center / contain no-repeat; mask: url(img/logo-wordmark.svg?v=2) center / contain no-repeat; }
.hero.is-pinned .sky .lm { opacity: 0; }
.js .hero.is-pinned .sky .lw { animation: none; }
.hero .roofline { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.hero .roofline { opacity: 0; }
.hero .roofline polyline { stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 760px) {
  .hero .sky { top: 96px; width: 78vw; }
  .hero .roofline { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .hero .sky .lw { opacity: 0; animation: rise 900ms var(--ease-out) 300ms forwards; }
}
/* Inclusions: six dots in place of the "1 / 6" counter; the current one is filled and a little longer. */
.inside .count.dots { display: flex; align-items: center; gap: 9px; letter-spacing: 0; }
.inside .count.dots i { display: block; width: 7px; height: 7px; border-radius: 7px; background: currentColor; opacity: 0.32; transition: width 320ms var(--ease-out), opacity 320ms ease; }
.inside .count.dots i.on { width: 22px; opacity: 1; }
/* Tablet widths (761 to 1099px): the full bar does not fit, so the clock goes, the links stay on one line and the wordmark is smaller. */
@media (min-width: 761px) and (max-width: 1099px) {
  .bar { padding-inline: 20px; }
  .bar .clock { display: none; }
  .bar nav { gap: 14px; }
  .bar nav a { white-space: nowrap; }
  .bar .mark { width: 150px; height: 9px; }
  .bar .end { gap: 14px; }
  .bar { grid-template-columns: auto 1fr auto; column-gap: 18px; }
}
@media (min-width: 761px) and (max-width: 899px) {
  .bar nav a:last-child { display: none; }   /* the fourth link does not fit beside the wordmark here */
}
/* Phones: the car ends up behind the hero words, so the shade under them is deeper. */
@media (max-width: 760px) {
  .hero-stage::after { height: 62%; background: linear-gradient(to top, rgb(0 0 0 / 0.78), rgb(0 0 0 / 0.5) 45%, rgb(0 0 0 / 0)); }
}
/* Thank-you page */
.thanks .thanks-name { font-size: var(--step-lead); margin-bottom: 14px; opacity: 0.8; }
.thanks .thanks-top h1 { font-family: var(--font-display); font-weight: 300; font-size: var(--step-head); line-height: 1; letter-spacing: 0; max-width: 14ch; }
.thanks .thanks-lede { margin-top: 22px; font-size: var(--step-lead); max-width: 34ch; }
.thanks .path .n { white-space: nowrap; }
.thanks .thanks-go { display: inline-block; margin-top: 22px; padding: 14px 22px; border: 0; cursor: pointer; font: inherit; font-size: var(--step-small); font-weight: 500; text-decoration: none; background: var(--accent); color: var(--accent-ink); transition: transform 140ms var(--ease-out), background-color 200ms ease; }
.thanks .thanks-go:hover { background: #3a5042; }
.thanks .thanks-go:active { transform: scale(0.98); }
html[data-mode="night"] .thanks .thanks-go { background: var(--glow); color: #16232e; }
html[data-mode="night"] .thanks .thanks-go:hover { background: #efcba2; }
.thanks .thanks-share { padding-top: 0; }
.thanks .thanks-share h2 { font-size: var(--step-mid); max-width: none; line-height: 1.15; letter-spacing: 0; }
.thanks .thanks-share .fine { margin-top: 12px; }
/* Sweet Sans Pro sits lower in its line than the old serif, so the showcase headline keeps clear of the picture. */
.showcase h2 .a { top: calc(50% - var(--fh) / 2 - 1.32em); }
.showcase h2 .b { top: calc(50% + var(--fh) / 2 + 0.34em); }
.showcase .caption { top: calc(50% + var(--fh) / 2 + var(--step-head) * 1.5 + 16px); }
/* Footer logo: a sign-off, not a banner. */
.foot-end .wordmark { width: min(64%, 440px); margin: 84px auto 0; }
@media (max-width: 760px) {
  .showcase h2 { font-size: 9.4vw; }
  .showcase h2 span { white-space: nowrap; }   /* the wider font no longer fits "opens to a balcony" on one line at 13vw */
  .showcase .caption { top: calc(50% + var(--fh) / 2 + 9.4vw * 1.5 + 14px); }
  .foot-end .wordmark { width: min(68%, 280px); margin: 64px auto 0; }
}
