/* Riverglass
   Voice: Newsreader. Instruments and controls: Instrument Sans.
   The accent is not a fixed colour. It is the sky at the hour shown in the model (--sky-a, --sky-b, --sky-c). */

@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-latin-opsz-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-latin-opsz-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin-wdth-normal.woff2") format("woff2"); font-weight: 400 700; font-stretch: 75% 100%; font-style: normal; font-display: swap; }

:root {
  --hemlock: #0e1c1a;
  --river: #17322e;
  --moss: #2f4337;
  --bluestone: #63727a;
  --mist: #e6eae5;
  --birch: #f6f7f3;
  --ink: #15211f;
  --rule: rgba(21, 33, 31, .16);
  --rule-light: rgba(246, 247, 243, .2);
  --sky-a: #ffe0b8;
  --sky-b: #f3c58f;
  --sky-c: #6f8fc4;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1.25rem, 4.2vw, 3.75rem);
  --nav-h: 4.25rem;
  --glass: rgba(11, 22, 20, .58);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.is-locked { overflow: hidden; }
body { margin: 0; background: var(--mist); color: var(--ink); font: 400 1.1875rem/1.62 var(--serif); font-optical-sizing: auto; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure, table { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--sky-b); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }
h1, h2, h3 { font-weight: 320; line-height: 1.04; letter-spacing: -.018em; text-wrap: balance; }
h2 { font-size: clamp(2.2rem, 4.3vw, 3.75rem); }
h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.12; }
p { text-wrap: pretty; }
.wrap { max-width: 84rem; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--birch); color: var(--ink); padding: .75rem 1rem; font: 500 .9375rem var(--sans); }
.skip:focus { left: .5rem; top: .5rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.note { font: 400 .8125rem/1.5 var(--sans); color: var(--bluestone); max-width: 62ch; }
.band--night .note { color: rgba(246, 247, 243, .62); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: .7rem 1.35rem; border-radius: 2px; font: 550 .9375rem/1 var(--sans); letter-spacing: .005em; text-decoration: none; border: 1px solid transparent; transition: background-color .2s, color .2s, border-color .2s; }
.btn--light { background: var(--birch); color: var(--hemlock); }
.btn--light:hover { background: var(--sky-a); }
.btn--dark { background: var(--hemlock); color: var(--birch); }
.btn--dark:hover { background: var(--river); }
.btn--line { border-color: currentColor; }
.btn--line:hover { background: rgba(246, 247, 243, .14); }
.band--paper .btn--line:hover, .band--birch .btn--line:hover { background: rgba(21, 33, 31, .07); }

/* ---------- navigation ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-inline: var(--gutter); color: var(--birch); transition: background-color .35s, color .35s, box-shadow .35s; }
.nav.is-solid, .nav--paper { color: var(--ink); background: var(--mist); box-shadow: 0 1px 0 var(--rule); }
.nav__mark { font: 480 1.4375rem/1 var(--serif); letter-spacing: -.015em; text-decoration: none; display: inline-flex; align-items: center; gap: .55rem; }
.nav__mark svg { width: 1.5rem; height: 1.5rem; }
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2.3vw, 2.2rem); font: 500 .9375rem/1 var(--sans); }
.nav__links a { text-decoration: none; opacity: .88; transition: opacity .2s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: .45em; }
.nav__links .nav__cta { opacity: 1; border: 1px solid currentColor; padding: .62rem 1rem; border-radius: 2px; }
.nav__links .nav__cta:hover { text-decoration: none; background: rgba(246, 247, 243, .16); }
.nav.is-solid .nav__cta:hover, .nav--paper .nav__cta:hover { background: rgba(21, 33, 31, .08); }
.nav__toggle { display: none; font: 550 .9375rem/1 var(--sans); padding: .7rem .2rem; }
@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__links { position: absolute; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0; padding: .5rem var(--gutter) 1.5rem; background: var(--mist); color: var(--ink); box-shadow: 0 1px 0 var(--rule), 0 24px 40px rgba(14, 28, 26, .16); display: none; }
  .nav.is-open .nav__links { display: flex; }
  .nav.is-open { color: var(--ink); background: var(--mist); }
  .nav__links a { padding: 1rem 0; width: 100%; border-bottom: 1px solid var(--rule); font-size: 1.0625rem; }
  .nav__links .nav__cta { border: 0; border-bottom: 1px solid var(--rule); padding: 1rem 0; border-radius: 0; }
}

/* ---------- the model ---------- */
.stage-wrap { position: relative; height: 620vh; background: var(--hemlock); }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #0b1614; color: var(--birch); isolation: isolate; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; opacity: 0; transition: opacity 1.4s ease; }
.stage.is-live canvas { opacity: 1; }
.stage.is-exploring canvas { touch-action: none; cursor: grab; }
.stage.is-exploring.is-dragging canvas { cursor: grabbing; }
.stage__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.stage__shade { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(180deg, rgba(6, 13, 12, .42) 0, rgba(6, 13, 12, 0) 19%),
  radial-gradient(115% 95% at 0% 100%, rgba(6, 13, 12, .86) 0, rgba(6, 13, 12, .5) 34%, rgba(6, 13, 12, 0) 62%),
  linear-gradient(0deg, rgba(6, 13, 12, .5) 0, rgba(6, 13, 12, 0) 26%); transition: opacity .6s; }
.stage.is-exploring .stage__shade { opacity: .35; }
.stage__grain { position: absolute; inset: 0; pointer-events: none; opacity: .09; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"); }
.stage__labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

/* tags pinned to the land */
.tag { position: absolute; left: 0; top: 0; translate: -50% -100%; white-space: nowrap; opacity: 0; visibility: hidden; transition: opacity .45s, visibility .45s; font: 500 .8125rem/1.2 var(--sans); color: var(--birch); text-shadow: 0 1px 10px rgba(6, 13, 12, .9), 0 0 2px rgba(6, 13, 12, .8); will-change: transform; }
.tag.is-on { opacity: 1; visibility: visible; }
.tag--parcel { display: flex; flex-direction: column; align-items: center; gap: .15rem; padding-bottom: 1.6rem; }
.tag--parcel::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 1.3rem; background: linear-gradient(var(--birch), rgba(246, 247, 243, 0)); }
.tag--parcel b { font: 420 1.25rem/1 var(--serif); letter-spacing: -.01em; }
.tag--parcel span { font-variant-numeric: tabular-nums; opacity: .92; }
.tag--cool b { color: #d9eef4; }
.tag--water { font: italic 400 1.0625rem/1 var(--serif); letter-spacing: .12em; color: rgba(214, 232, 238, .9); translate: -50% -50%; }
.tag--place { opacity: 0; color: rgba(246, 247, 243, .84); }
.tag--note { font: italic 400 .9375rem/1 var(--serif); color: rgba(246, 247, 243, .92); }
.tag--south::after { content: ""; display: block; width: 1px; height: 1.2rem; margin: .3rem auto 0; background: currentColor; opacity: .7; }
.tag--house { pointer-events: auto; width: 1.75rem; height: 1.75rem; border-radius: 50%; display: grid; place-items: center; background: var(--birch); color: var(--hemlock); font: 600 .8125rem/1 var(--sans); text-shadow: none; box-shadow: 0 0 0 1px rgba(6, 13, 12, .25), 0 6px 18px rgba(6, 13, 12, .45); translate: -50% -50%; transition: opacity .45s, visibility .45s, background-color .2s, scale .2s; }
.tag--house::after { content: ""; position: absolute; inset: -.6rem; border-radius: 50%; }
.tag--house:hover, .tag--house.is-picked { background: var(--sky-a); scale: 1.14; }
.stage[data-chapter="light"] .tag--house { opacity: 0; visibility: hidden; }

/* chapters */
.chapter { position: absolute; left: var(--gutter); bottom: clamp(1.75rem, 7.5vh, 5rem); width: min(34rem, calc(100% - 2 * var(--gutter))); opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .55s ease, transform .7s cubic-bezier(.2, .7, .2, 1), visibility .55s; }
.chapter.is-on { opacity: 1; visibility: visible; transform: none; }
.chapter h1 { font-size: clamp(2.85rem, 6.3vw, 6.1rem); font-weight: 300; line-height: .97; letter-spacing: -.028em; margin-bottom: 1.5rem; padding-bottom: .08em;
  background: linear-gradient(104deg, #fff 8%, var(--sky-a) 44%, #fff 62%, var(--sky-b) 96%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; filter: drop-shadow(0 2px 22px rgba(6, 13, 12, .5)); }
.chapter--hero { width: min(52rem, calc(100% - 2 * var(--gutter))); }
.chapter--hero > p { max-width: 33rem; }
.chapter h2 { font-size: clamp(2.1rem, 3.9vw, 3.5rem); margin-bottom: 1.1rem; }
.chapter p { color: rgba(246, 247, 243, .88); text-shadow: 0 1px 14px rgba(6, 13, 12, .55); }
.chapter .actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.facts { margin-top: 1.4rem; font: 500 .9375rem/1.3 var(--sans); color: rgba(246, 247, 243, .94); width: fit-content; min-width: min(19rem, 100%); font-variant-numeric: tabular-nums; }
.facts li { padding: .5rem 2rem .5rem 0; border-top: 1px solid var(--rule-light); }
.facts li:last-child { border-bottom: 1px solid var(--rule-light); }
.sum { margin-top: 1.4rem; font: 500 1.0625rem/1.3 var(--sans); font-variant-numeric: tabular-nums; color: var(--birch); display: inline-flex; gap: .6rem; padding-top: .9rem; border-top: 1px solid var(--rule-light); }
.chapter .fine { margin-top: 1.1rem; font: 400 .8125rem/1.45 var(--sans); color: rgba(246, 247, 243, .64); text-shadow: none; }

/* chapter rail */
.rail { position: absolute; right: var(--gutter); top: 50%; translate: 0 -50%; display: flex; flex-direction: column; gap: .2rem; align-items: flex-end; }
.rail button { display: flex; align-items: center; gap: .6rem; padding: .45rem 0; font: 500 .75rem/1 var(--sans); color: rgba(246, 247, 243, .0); transition: color .25s; }
.rail button::after { content: ""; width: 1.1rem; height: 1.5px; background: rgba(246, 247, 243, .5); transition: width .3s, background-color .3s; }
.rail button:hover, .rail button:focus-visible { color: rgba(246, 247, 243, .9); }
.rail button.is-on::after { width: 2.3rem; background: var(--sky-a); }
.stage.is-exploring .rail, .stage.has-card .rail { opacity: 0; pointer-events: none; }

/* live strip and the hour control */
.live { position: absolute; top: calc(var(--nav-h) + .35rem); right: var(--gutter); text-align: right; font: 500 .8125rem/1.45 var(--sans); color: rgba(246, 247, 243, .8); text-shadow: 0 1px 8px rgba(6, 13, 12, .7); }
.live b { font-weight: 600; color: var(--birch); font-variant-numeric: tabular-nums; }
.live__dot { display: inline-block; width: .42rem; height: .42rem; border-radius: 50%; background: var(--sky-a); margin-right: .45rem; vertical-align: .08em; box-shadow: 0 0 0 0 rgba(255, 224, 184, .6); animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 224, 184, .55); } 70%, 100% { box-shadow: 0 0 0 .5rem rgba(255, 224, 184, 0); } }
.timebar { position: absolute; right: var(--gutter); bottom: clamp(1.75rem, 7.5vh, 5rem); width: min(21.5rem, calc(100% - 2 * var(--gutter))); padding: 1rem 1.1rem 1.05rem; background: var(--glass); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); border: 1px solid rgba(246, 247, 243, .16); border-radius: 4px; font-family: var(--sans); transition: opacity .5s, transform .5s, visibility .5s; }
.timebar__label { display: block; font: 500 .75rem/1 var(--sans); color: rgba(246, 247, 243, .66); margin-bottom: .5rem; }
.timebar__read { display: flex; align-items: baseline; gap: .6rem; margin-bottom: .8rem; }
.timebar__read strong { font: 400 1.75rem/1 var(--serif); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.timebar__read span { font: 500 .875rem/1 var(--sans); color: var(--sky-a); }
.timebar input[type="range"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 1.5rem; margin: 0; background: transparent; cursor: pointer; }
.timebar input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, #1a2444 0, #1a2444 calc(var(--rise, 30%) - 5%), #e79c6b var(--rise, 30%), #cfe0ee calc(var(--rise, 30%) + 7%), #cfe0ee calc(var(--set, 70%) - 7%), #f0a36a var(--set, 70%), #1a2444 calc(var(--set, 70%) + 5%), #1a2444 100%); }
.timebar input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, #1a2444 0, #1a2444 calc(var(--rise, 30%) - 5%), #e79c6b var(--rise, 30%), #cfe0ee calc(var(--rise, 30%) + 7%), #cfe0ee calc(var(--set, 70%) - 7%), #f0a36a var(--set, 70%), #1a2444 calc(var(--set, 70%) + 5%), #1a2444 100%); }
.timebar input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 1.15rem; height: 1.15rem; margin-top: calc(-.575rem + 2px); border-radius: 50%; background: var(--birch); border: 0; box-shadow: 0 0 0 4px rgba(246, 247, 243, .18), 0 2px 8px rgba(0, 0, 0, .5); }
.timebar input[type="range"]::-moz-range-thumb { width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--birch); border: 0; box-shadow: 0 0 0 4px rgba(246, 247, 243, .18), 0 2px 8px rgba(0, 0, 0, .5); }
.chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .75rem; }
.chips button { font: 500 .78rem/1 var(--sans); padding: .46rem .62rem; border-radius: 2px; border: 1px solid rgba(246, 247, 243, .22); color: rgba(246, 247, 243, .9); transition: background-color .2s, border-color .2s, color .2s; }
.chips button:hover, .chips button.is-on { background: var(--birch); color: var(--hemlock); border-color: var(--birch); }
.stage.is-static .timebar, .stage.is-static .live, .stage.is-static [data-explore], .stage:not(.is-live) .timebar { opacity: 0; visibility: hidden; }
.stage[data-ch="hero"] .timebar { opacity: 0; visibility: hidden; transform: translateY(10px); }

/* house card */
.housecard { position: absolute; right: var(--gutter); top: 50%; translate: 0 -58%; width: min(21.5rem, calc(100% - 2 * var(--gutter))); padding: 1.25rem 1.25rem 1.3rem; background: var(--glass); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); border: 1px solid rgba(246, 247, 243, .16); border-radius: 4px; z-index: 5; }
.housecard h3 { font-size: 1.75rem; margin-bottom: .2rem; }
.housecard__model { font: 500 .9375rem/1.3 var(--sans); color: var(--sky-a); }
.housecard dl { margin-top: 1rem; font: 400 .875rem/1.35 var(--sans); display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; row-gap: .5rem; }
.housecard dt { color: rgba(246, 247, 243, .62); }
.housecard dd { font-variant-numeric: tabular-nums; }
.housecard__pick { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--rule-light); }
.housecard__pick p { font: 500 .75rem/1 var(--sans); color: rgba(246, 247, 243, .66); margin-bottom: .55rem; }
.housecard__total { margin-top: .9rem; font: 400 .8125rem/1.4 var(--sans); color: rgba(246, 247, 243, .78); }
.housecard__total b { color: var(--birch); font-weight: 600; font-variant-numeric: tabular-nums; }
.housecard__close { position: absolute; top: .55rem; right: .55rem; width: 2.25rem; height: 2.25rem; display: grid; place-items: center; font: 400 1.4rem/1 var(--sans); color: rgba(246, 247, 243, .8); border-radius: 50%; }
.housecard__close:hover { background: rgba(246, 247, 243, .12); }

/* explore bar */
.explorebar { position: absolute; left: 50%; top: calc(var(--nav-h) + .5rem); translate: -50% 0; display: flex; align-items: center; gap: 1rem; padding: .5rem .5rem .5rem 1rem; background: var(--glass); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid rgba(246, 247, 243, .16); border-radius: 4px; font: 500 .875rem/1.2 var(--sans); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.stage.is-exploring .explorebar { opacity: 1; visibility: visible; }
.stage.is-exploring .chapter, .stage.is-exploring .live { opacity: 0; visibility: hidden; }
.explorebar .btn { min-height: 2.25rem; padding: .45rem .9rem; }

@media (max-width: 760px) {
  .stage-wrap { height: 560vh; }
  .rail, .live { display: none; }
  .chapter { bottom: 1.4rem; }
  .chapter h1 { font-size: clamp(2.6rem, 12.5vw, 3.6rem); margin-bottom: 1rem; }
  .chapter h2 { font-size: 2rem; margin-bottom: .7rem; }
  .chapter p { font-size: 1.0625rem; line-height: 1.5; }
  .facts { font-size: .8125rem; margin-top: .9rem; } .facts li { padding-block: .35rem; }
  .timebar { left: var(--gutter); right: var(--gutter); width: auto; top: calc(var(--nav-h) + .4rem); bottom: auto; padding: .7rem .85rem .8rem; opacity: 0; visibility: hidden; }
  .timebar__label { display: none; } .timebar__read { margin-bottom: .35rem; } .timebar__read strong { font-size: 1.35rem; } .chips { margin-top: .45rem; }
  .stage.is-live[data-ch="light"] .timebar, .stage.is-live.is-exploring .timebar { opacity: 1; visibility: visible; }
  .stage.is-exploring .explorebar { top: auto; bottom: 1rem; width: calc(100% - 2 * var(--gutter)); justify-content: space-between; }
  .housecard { top: auto; bottom: 1rem; left: var(--gutter); right: var(--gutter); translate: none; width: auto; }
  .stage.has-card .chapter { opacity: 0; visibility: hidden; }
  .stage.has-card.is-exploring .explorebar { opacity: 0; visibility: hidden; }
}

/* ---------- sections ---------- */
.band { padding-block: clamp(4.75rem, 11vw, 9.5rem); scroll-margin-top: var(--nav-h); }
.band--paper { background: var(--mist); }
.band--birch { background: var(--birch); }
.band--night { background: var(--hemlock); color: var(--birch); }
.lede { font-size: clamp(1.3rem, 1.9vw, 1.6rem); line-height: 1.42; font-weight: 350; letter-spacing: -.006em; }
.cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1.25rem, 2.6vw, 2.5rem); row-gap: clamp(2.25rem, 5vw, 4rem); }
.prose > * + * { margin-top: 1.05em; }

/* the houses */
.houses h2 { grid-column: 1 / span 8; }
.houses__lede { grid-column: 1 / span 6; }
.houses__text { grid-column: 8 / span 5; }
.houses__figure { grid-column: 1 / -1; }
.houses__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: .25rem; }
.houses__scroll svg { min-width: 44rem; }
.houses__figure svg { width: 100%; height: auto; overflow: visible; }
.houses__figure figcaption { margin-top: .9rem; }
.houses__table { grid-column: 1 / -1; }
.spec { width: 100%; border-collapse: collapse; font: 400 1rem/1.35 var(--sans); font-variant-numeric: tabular-nums; }
.spec caption { text-align: left; font: 400 .8125rem/1.5 var(--sans); color: var(--bluestone); caption-side: bottom; padding-top: 1rem; }
.spec th, .spec td { text-align: left; padding: 1.05rem 1rem 1.05rem 0; border-top: 1px solid var(--rule); vertical-align: baseline; }
.spec thead th { font: 500 .8125rem/1.2 var(--sans); color: var(--bluestone); border-top: 0; padding-block: 0 .7rem; }
.spec tbody th { font: 400 1.375rem/1.15 var(--serif); letter-spacing: -.01em; }
.spec td:last-child, .spec th:last-child { text-align: right; padding-right: 0; }
.spec .pick { font: 550 .8125rem/1 var(--sans); padding: .55rem .8rem; border: 1px solid var(--rule); border-radius: 2px; transition: background-color .2s, color .2s, border-color .2s; white-space: nowrap; }
.spec .pick:hover { border-color: var(--ink); }
.spec .pick.is-on { background: var(--ink); color: var(--birch); border-color: var(--ink); }
.planline { margin-top: 1.4rem; font: 400 1rem/1.5 var(--sans); }
.planline b { font-weight: 600; font-variant-numeric: tabular-nums; }
.hs-frame { fill: none; stroke: var(--ink); stroke-width: 2.4; }
.hs-mull { stroke: var(--ink); stroke-width: 1.2; }
.hs-ground { stroke: var(--ink); stroke-width: 1; }
.hs-deck { stroke: var(--ink); stroke-width: 3; }
.hs-label { font: 500 9.5px var(--sans); fill: var(--ink); }
.hs-sub { font: 400 9px var(--sans); fill: var(--bluestone); font-variant-numeric: tabular-nums; }
.hs-person { fill: var(--bluestone); }

/* the river, live */
.river__sentence { font-size: clamp(1.75rem, 3.5vw, 3.15rem); line-height: 1.2; font-weight: 300; letter-spacing: -.018em; max-width: 25em; margin-top: clamp(1.5rem, 3vw, 2.5rem); min-height: 3.6em; }
.river__sentence b { font-weight: 300; font-variant-numeric: tabular-nums; background: linear-gradient(100deg, var(--sky-a), var(--sky-b)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.river__sentence .wait { color: rgba(246, 247, 243, .5); }
html.has-river .river__sentence .wait { display: none; }
.river__foot { margin-top: clamp(2rem, 4vw, 3.25rem); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2rem; row-gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--rule-light); }
.river__foot p:first-child { grid-column: 1 / span 4; font: 500 .9375rem/1.45 var(--sans); }
.river__foot p:last-child { grid-column: 6 / span 7; }

/* the place */
.place h2 { grid-column: 1 / span 7; }
.place__text { grid-column: 1 / span 6; }
.place__side { grid-column: 8 / span 5; }
.ledger { width: 100%; border-collapse: collapse; font: 400 1rem/1.35 var(--sans); font-variant-numeric: tabular-nums; }
.ledger th, .ledger td { text-align: right; padding: .85rem 0 .85rem 1rem; border-top: 1px solid var(--rule); font-weight: 400; }
.ledger th:first-child, .ledger td:first-child { text-align: left; padding-left: 0; }
.ledger thead th { font: 500 .8125rem/1.2 var(--sans); color: var(--bluestone); border-top: 0; padding-top: 0; }
.ledger tfoot th, .ledger tfoot td { border-top: 1.5px solid var(--ink); font-weight: 600; }
.reach { margin-top: 2.25rem; display: grid; grid-template-columns: auto 1fr; column-gap: 1.5rem; row-gap: .7rem; font: 400 1rem/1.4 var(--sans); }
.reach dt { color: var(--bluestone); }
.reach dd { font-variant-numeric: tabular-nums; }

/* people */
.people h2 { grid-column: 1 / span 7; }
.people__lede { grid-column: 1 / span 7; }
.person { grid-column: span 6; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(1.25rem, 2.4vw, 2rem); align-items: end; text-decoration: none; }
.portrait { aspect-ratio: 4 / 5; overflow: hidden; background: var(--moss); border-radius: 2px; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; filter: saturate(.92) contrast(1.02); transition: scale .8s cubic-bezier(.2, .7, .2, 1); }
a.person:hover .portrait img { scale: 1.03; }
.person h3 { margin-bottom: .45rem; }
.person__role { font: 500 .9375rem/1.4 var(--sans); color: var(--bluestone); }
.person__line { margin-top: .9rem; font-size: 1.0625rem; line-height: 1.5; }
.person__more { display: inline-block; margin-top: 1rem; font: 550 .9375rem/1 var(--sans); text-decoration: underline; text-underline-offset: .4em; text-decoration-thickness: 1px; }

/* inquire */
.inquire h2 { font-size: clamp(2.5rem, 6vw, 5.25rem); line-height: .98; letter-spacing: -.026em; max-width: 14em; font-weight: 300; }
.inquire__grid { margin-top: clamp(2.25rem, 5vw, 4rem); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2rem; row-gap: 2rem; align-items: end; }
.inquire__grid > p { grid-column: 1 / span 5; color: rgba(246, 247, 243, .86); }
.contact { grid-column: 7 / span 6; font-family: var(--sans); }
.contact__name { font: 400 1.75rem/1.15 var(--serif); letter-spacing: -.012em; }
.contact__role { font: 500 .9375rem/1.4 var(--sans); color: rgba(246, 247, 243, .66); margin-top: .25rem; }
.contact .actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* footer */
.foot { background: #091412; color: rgba(246, 247, 243, .72); padding-block: clamp(2.75rem, 5vw, 4rem) 2.5rem; font: 400 .8125rem/1.6 var(--sans); }
.foot__top { display: flex; justify-content: space-between; align-items: baseline; gap: 2rem; flex-wrap: wrap; padding-bottom: 1.75rem; border-bottom: 1px solid var(--rule-light); color: var(--birch); }
.foot__top .nav__mark { font-size: 1.6rem; }
.foot__links { display: flex; flex-wrap: wrap; gap: 1.5rem; font: 500 .9375rem/1 var(--sans); }
.foot__links a { text-decoration: none; opacity: .86; } .foot__links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: .4em; }
.foot__notes { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2rem; row-gap: 1.25rem; padding-top: 1.75rem; }
.foot__notes p { grid-column: span 6; max-width: 68ch; }

/* ---------- about page ---------- */
.about-hero { padding-top: calc(var(--nav-h) + clamp(3.5rem, 9vw, 8rem)); padding-bottom: clamp(3rem, 7vw, 6rem); }
.about-hero h1 { font-size: clamp(2.9rem, 7vw, 6.4rem); font-weight: 300; line-height: .97; letter-spacing: -.028em; max-width: 11em; }
.about-hero .lede { margin-top: clamp(1.5rem, 3vw, 2.5rem); max-width: 34em; }
.profile { padding-block: clamp(3.5rem, 8vw, 7rem); border-top: 1px solid var(--rule); scroll-margin-top: var(--nav-h); }
.profile__head { grid-column: 1 / span 4; position: sticky; top: calc(var(--nav-h) + 1.5rem); align-self: start; }
.profile__head .portrait { margin-bottom: 1.4rem; }
.profile h2 { font-size: clamp(2.2rem, 3.6vw, 3.25rem); }
.profile__role { margin-top: .6rem; font: 500 1rem/1.4 var(--sans); color: var(--bluestone); }
.profile__body { grid-column: 6 / span 7; }
.profile__body p + p { margin-top: 1.15em; }
.profile__body p:first-child { font-size: clamp(1.3rem, 1.8vw, 1.55rem); line-height: 1.42; font-weight: 350; letter-spacing: -.006em; }
.glance { margin-top: clamp(2rem, 4vw, 3rem); border-top: 1.5px solid var(--ink); font-family: var(--sans); }
.glance div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 1.5rem; padding: .85rem 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.glance dt { font: 400 1.5rem/1.1 var(--serif); letter-spacing: -.012em; font-variant-numeric: tabular-nums; }
.glance dd { font: 400 .9375rem/1.4 var(--sans); color: #33423f; }
.profile--flip .profile__head { grid-column: 9 / span 4; grid-row: 1; }
.profile--flip .profile__body { grid-column: 1 / span 7; grid-row: 1; }
.about-cta { text-align: left; }
.about-cta h2 { max-width: 15em; }
.about-cta .actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

@media (max-width: 900px) {
  .houses h2, .houses__lede, .houses__text, .houses__figure, .place h2, .place__text, .place__side, .people h2, .people__lede, .person, .profile__head, .profile__body, .profile--flip .profile__head, .profile--flip .profile__body { grid-column: 1 / -1; grid-row: auto; }
  .profile__head { position: static; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: 1.25rem; align-items: end; }
  .profile__head .portrait { margin-bottom: 0; }
  .river__foot p:first-child, .river__foot p:last-child, .inquire__grid > p, .contact, .foot__notes p { grid-column: 1 / -1; }
  .spec thead { display: none; }
  .spec, .spec tbody, .spec tr, .spec th, .spec td { display: block; }
  .spec tr { padding: 1rem 0; border-top: 1px solid var(--rule); }
  .spec th, .spec td { border: 0; padding: .15rem 0; text-align: left !important; }
  .spec td[data-label]::before { content: attr(data-label) ": "; color: var(--bluestone); }
  .spec .pick { margin-top: .6rem; }
}
@media (max-width: 560px) {
  body { font-size: 1.0625rem; }
  .person { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .glance div { grid-template-columns: 1fr; row-gap: .15rem; }
  .ledger { font-size: .875rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@view-transition { navigation: auto; }
