/* CrestStone · "Stone doesn't bend. Clay does."
   Oxide: a white page and near-black type, so the real stone, marble and earth in the photographs carry all the colour.
   Fired clay appears twice, as bookends: the opening, and Talk to us with the footer. No cream, no black chassis.
   Instrument Serif (roman only) for titles, Jost for everything else. Sentence case everywhere, no tracked capitals.
   Type for an older audience: running text 20 to 22px, nothing under 16px, 56px buttons. */
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: block; src: url(/fonts/instrument-serif-normal-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: block; src: url(/fonts/instrument-serif-normal-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300 600; font-display: swap; src: url(/fonts/jost-latin.woff2) format('woff2'); }

:root {
  /* colour */
  --clay: #7A2C1A; --clay-2: #5C2013; --clay-3: #94412B;
  --page: #FFFFFF; --slip: #F3F1ED; --ink: #15110F;
  --ink-72: rgba(21, 17, 15, .72); --ink-50: rgba(21, 17, 15, .5); --hair: rgba(21, 17, 15, .12);
  --white: #FFFFFF; --white-80: rgba(255, 255, 255, .8); --hair-white: rgba(255, 255, 255, .28);
  --btn-hover: #3A2E28;
  --scrim: linear-gradient(to top, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, 0) 45%);
  /* type */
  --serif: "Instrument Serif", "Times New Roman", serif; --sans: "Jost", "Futura", "Avenir Next", sans-serif;
  --fs-display: clamp(56px, 9.4vw, 152px);
  --fs-h2: clamp(40px, 4.45vw, 64px);
  --fs-h3: clamp(28px, 2.2vw, 32px);
  --fs-lead: clamp(20px, calc(1.2rem + .25vw), 22px);
  --fs-body: clamp(20px, calc(1.05rem + .3vw), 22px);
  --fs-ui: 18px; --fs-meta: 17px; --fs-legal: 16px;
  /* space */
  --gutter: 40px; --container: 1320px; --bar: 80px;
  --space-section: clamp(96px, calc(6vw + 60px), 176px);
  --space-head: 64px; --space-label: 16px; --space-lead: 24px; --space-group: 24px; --space-items: 96px; --space-actions: 40px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
@media (max-width: 720px) {
  :root { --gutter: 20px; --bar: 64px; --space-head: 40px; --space-lead: 16px; --space-group: 16px; --space-items: 64px; }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--page); }
body { background: var(--page); color: var(--ink); font-family: var(--sans); font-weight: 400; font-size: var(--fs-body); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: left; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }
h2 { font-size: var(--fs-h2); line-height: 1.02; }
h3 { font-size: var(--fs-h3); line-height: 1.15; }
p { max-width: 34em; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
[id] { scroll-margin-top: calc(var(--bar) + 32px); }
#buildings, #collections, #system, #talk, #main { scroll-margin-top: var(--bar); }
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--white); padding: 14px 20px; font-size: var(--fs-ui); font-weight: 500; border-radius: 2px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.label { display: block; font-size: var(--fs-meta); font-weight: 500; color: var(--ink-72); margin-bottom: var(--space-label); }
.lead { font-size: var(--fs-lead); line-height: 1.5; margin-top: var(--space-lead); }
.meta { font-size: var(--fs-meta); color: var(--ink-72); }
.link { font-size: var(--fs-ui); font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: opacity .15s; }
.link:hover { opacity: .7; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- buttons: square, solid or outline, 56px ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 28px; border-radius: 2px; font-family: var(--sans); font-size: var(--fs-ui); font-weight: 500; white-space: nowrap; border: 1px solid var(--ink); transition: background .15s, color .15s, border-color .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
.btn-secondary { background: transparent; color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--white); }
.on-clay .btn-primary { background: var(--white); color: var(--ink); border-color: var(--white); }
.on-clay .btn-primary:hover { background: rgba(255, 255, 255, .86); }
.on-clay .btn-secondary { color: var(--white); border-color: var(--white); }
.on-clay .btn-secondary:hover { background: var(--white); color: var(--ink); }
.on-clay :focus-visible { outline-color: var(--white); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: var(--space-actions); }

/* ---------- the bar: transparent over the opening, solid white everywhere else, never hidden ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--bar); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--gutter); color: var(--ink); }
.top::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--page); border-bottom: 1px solid var(--hair); transition: opacity .2s; }
.top.is-over { color: var(--white); }
.top.is-over::before { opacity: 0; }
.menu-btn { justify-self: start; display: inline-flex; align-items: center; gap: 12px; min-width: 56px; height: 56px; margin-left: -12px; padding: 0 12px; font-size: var(--fs-ui); font-weight: 500; }
.menu-btn i { display: grid; gap: 5px; width: 22px; } .menu-btn i::before, .menu-btn i::after { content: ""; height: 1.5px; background: currentColor; }
.logo { justify-self: center; }
.logo img { height: 36px; width: auto; filter: brightness(0) saturate(100%) invert(5%) sepia(9%) saturate(1500%) hue-rotate(340deg) brightness(95%); transition: filter .2s; }
.top.is-over .logo img { filter: none; }
.top.is-over :focus-visible { outline-color: var(--white); }
.words { justify-self: end; display: flex; align-items: center; gap: 32px; font-size: var(--fs-ui); font-weight: 500; }
.words a { position: relative; padding: 8px 0; }
.words a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.words a:hover::after, .words a.is-on::after { transform: scaleX(1); }
.top-spacer { justify-self: end; width: 48px; display: none; }
.menu { position: fixed; inset: 0; z-index: 50; background: var(--page); display: grid; grid-template-rows: var(--bar) 1fr auto; padding: 0 var(--gutter) 40px; }
.menu[hidden] { display: none; }
.menu-close { justify-self: start; align-self: center; height: 56px; font-size: var(--fs-ui); font-weight: 500; display: inline-flex; align-items: center; gap: 12px; }
.menu nav { display: flex; flex-direction: column; justify-content: center; gap: 4px; max-width: var(--container); width: 100%; margin: 0 auto; }
.menu nav a { font-family: var(--serif); font-size: clamp(40px, 5vw, 72px); line-height: 1.15; transition: opacity .15s; }
.menu nav a:hover { opacity: .6; }
.menu-direct a { display: inline-flex; align-items: center; min-height: 48px; }
.menu-direct { display: flex; flex-wrap: wrap; gap: 0 32px; font-size: var(--fs-ui); max-width: var(--container); width: 100%; margin: 0 auto; }
.thumb { display: none; }

/* ---------- 1. the opening: a sheet bends as you scroll ---------- */
.open { position: relative; height: 200vh; background: var(--clay); color: var(--white); }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 48%, var(--clay-3) 0%, var(--clay) 60%); opacity: .7; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 2; touch-action: pan-y; }
.stage.no-webgl canvas { display: none; }
.sheet-2d { position: absolute; left: 50%; top: 56%; translate: -50% -50%; width: min(64vw, 900px); aspect-ratio: 2 / 1; z-index: 2; box-shadow: 0 50px 60px -40px rgba(0, 0, 0, .5); overflow: hidden; }
.sheet-2d[hidden] { display: none; }
.sheet-2d img { width: 100%; height: 100%; object-fit: cover; }
.lines { position: absolute; left: 0; right: 0; top: calc(var(--bar) + 8px); z-index: 3; display: grid; padding: 0 var(--gutter); pointer-events: none; text-align: center; }
.lines > * { grid-area: 1 / 1; font-family: var(--serif); font-size: var(--fs-display); line-height: .92; letter-spacing: -.01em; color: var(--white); transition: opacity .3s; }
.lines .is-b { opacity: 0; }
.open-copy { position: absolute; left: var(--gutter); bottom: 40px; z-index: 4; max-width: 30em; }
.open-copy .eyebrow { display: block; font-size: var(--fs-meta); font-weight: 500; color: var(--white-80); margin-bottom: 8px; }
.open-copy p { font-size: 20px; line-height: 1.45; }
.samples { position: absolute; right: var(--gutter); top: 50%; z-index: 4; display: flex; flex-direction: column; gap: 12px; }
.sample { position: relative; width: 56px; height: 84px; border-radius: 2px; overflow: visible; padding: 0; }
.sample img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; box-shadow: 0 6px 16px rgba(0, 0, 0, .25); transition: transform .3s var(--ease); }
.sample:hover img { transform: translateX(-4px); }
.sample.is-on img { box-shadow: 0 0 0 2px var(--white), 0 6px 16px rgba(0, 0, 0, .25); }
.sample span { display: none; }
.samples-name { position: absolute; right: 0; top: calc(100% + 14px); white-space: nowrap; font-size: var(--fs-meta); font-weight: 500; color: var(--white); text-align: right; }

/* ---------- sections ---------- */
.sec { padding: var(--space-section) 0; }

/* 2. buildings: the curve, then two more */
.bld-a { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100svh - var(--bar)); }
.bld-a .pic { position: relative; overflow: hidden; background: var(--slip); }
.bld-a .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.bld-a .txt { display: flex; flex-direction: column; justify-content: center; padding: 56px var(--gutter) 56px 64px; max-width: calc(var(--container) / 2 + var(--gutter)); }
.spec { margin-top: var(--space-actions); border-top: 1px solid var(--hair); }
.spec li { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 56px; border-bottom: 1px solid var(--hair); }
.spec span { font-size: var(--fs-meta); color: var(--ink-72); }
.spec b { font-weight: 400; font-size: 20px; text-align: right; }
.spec.tall li { min-height: 64px; }
.bld-b { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; align-items: start; margin-top: var(--space-items); }
.card-b { display: block; }
.card-b figure { overflow: hidden; background: var(--slip); }
.card-b img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card-b:hover img { transform: scale(1.02); }
.card-b.wide figure { aspect-ratio: 3 / 2; } .card-b.tall figure { aspect-ratio: 4 / 5; }
.card-b h3 { margin-top: var(--space-group); }
.card-b:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.card-b .meta { margin-top: 6px; }

/* 3. collections: one deck on the table */
#collections.sec { padding: 0; margin-top: var(--space-items); }
.coll { display: grid; grid-template-columns: 4fr 8fr; gap: 24px; min-height: calc(100svh - var(--bar)); padding-block: 48px; align-content: center; align-items: center; }
.coll-side .lead { margin-top: 20px; }
.coll-list { margin-top: var(--space-actions); }
.coll-list button { display: flex; align-items: center; gap: 20px; width: 100%; min-height: 72px; padding: 8px 0; font-size: 24px; line-height: 1.2; font-weight: 500; color: var(--ink-72); transition: color .15s; }
.coll-list button:hover, .coll-list button.is-on { color: var(--ink); }
.coll-list img { width: 56px; height: 56px; border-radius: 2px; object-fit: cover; flex: none; }
.coll-list button span { border-bottom: 2px solid transparent; padding-bottom: 2px; }
.coll-list button.is-on span { border-bottom-color: var(--clay); }
.coll-side .btn { margin-top: var(--space-actions); }
.deck-stage { --len: clamp(300px, 36vw, 560px); --pivot: calc(var(--thick) * .22); --thick: calc(var(--len) / 2); position: relative; height: calc(var(--len) + var(--thick) * .4); }
.cards { position: absolute; inset: 0; user-select: none; touch-action: pan-y; cursor: grab; }
.cards[hidden] { display: none; }
.cards.is-drag { cursor: grabbing; }
.card { position: absolute; left: calc(50% - (var(--len) - var(--thick) / 2) / 2 - var(--pivot)); bottom: 4%; width: var(--len); height: var(--thick); transform-origin: var(--pivot) 50%; transform: rotate(calc(var(--i) * var(--a, 0deg) * -1)) translateY(calc(var(--i) * -.3px)); border-radius: 3px; overflow: hidden; background: var(--slip); box-shadow: 0 1px 0 rgba(21, 17, 15, .14), 0 14px 26px -14px rgba(21, 17, 15, .45); padding: 0; transition: transform .8s var(--ease), box-shadow .2s, opacity .4s; transition-delay: calc(var(--i) * 4ms), 0s, 0s; }
.card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cards.is-drag .card { transition: none; }
.cards:not(.is-open) .card:not(:nth-last-child(-n+10)) { opacity: 0; }
@media (hover: hover) { .cards.is-open .card:hover { box-shadow: 0 0 0 2px var(--ink), 0 14px 26px -12px rgba(21, 17, 15, .5); z-index: 2; } }
.card:focus-visible { box-shadow: 0 0 0 2px var(--ink), 0 14px 26px -12px rgba(21, 17, 15, .5); z-index: 2; }
.deck-name { margin-top: 16px; max-width: none; font-size: var(--fs-meta); color: var(--ink-72); min-height: 1.6em; text-align: center; }
.deck-name b { font-weight: 500; color: var(--ink); }

/* 4. the material band */
.band { position: relative; height: 72vh; min-height: 520px; overflow: hidden; background: var(--slip); color: var(--white); }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: var(--scrim); }
.band-copy { position: absolute; left: var(--gutter); bottom: 40px; z-index: 1; }
.band-copy h2 { font-size: var(--fs-h2); }
.band-copy span { display: block; margin-top: 12px; font-size: var(--fs-meta); color: var(--white-80); }

/* 5. the sheet in layers */
.layers { display: grid; grid-template-columns: 4fr 8fr; gap: 24px; align-items: start; }
.layers figure { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0 32px; align-items: center; }
.layers svg { width: 100%; height: auto; display: block; }
.layer-names li { padding: 18px 0; border-top: 1px solid var(--hair); }
.layer-names li:last-child { border-bottom: 1px solid var(--hair); }
.layer-names b { display: block; font-weight: 500; font-size: var(--fs-ui); }
.layer-names span { display: block; font-size: var(--fs-meta); color: var(--ink-72); margin-top: 2px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin-top: var(--space-head); }
.specs .spec { margin-top: 0; }
.hub-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: var(--space-actions); }
.hub-row p { font-size: 20px; }

/* 6. talk to us, and the footer, on fired clay */
.talk { background: var(--clay-2); color: var(--white); padding-bottom: 96px; }
.talk .label { color: var(--white-80); }
.talk-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 24px 64px; align-items: start; }
.talk .lead { color: var(--white-80); }
.phone-big { display: inline-block; margin-top: 56px; font-family: var(--serif); font-size: clamp(36px, 3.4vw, 48px); line-height: 1.1; }
.phone-big:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; }
.talk .meta { color: var(--white-80); margin-top: 8px; }
.mail { display: inline-block; margin-top: var(--space-group); font-size: 22px; border-bottom: 1px solid var(--hair-white); }
.form { display: grid; gap: 28px; }
.form label { display: grid; gap: 12px; }
.form label > span, .chips legend { font-size: var(--fs-meta); font-weight: 500; color: var(--white); }
.form input:not([type=checkbox]), .form textarea { width: 100%; height: 56px; padding: 0 16px; border: 0; border-radius: 2px; background: var(--white); color: var(--ink); font: inherit; font-size: 21px; }
.form textarea { height: 140px; padding: 14px 16px; resize: vertical; }
.form input:focus-visible, .form textarea:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.form .is-bad { box-shadow: 0 0 0 3px #FFD3C4; }
.chips { border: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend { margin-bottom: 12px; }
.chips label { display: inline-flex; cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-flex; align-items: center; height: 56px; padding: 0 20px; border: 1px solid var(--hair-white); border-radius: 2px; font-size: var(--fs-meta); color: var(--white); transition: background .15s, color .15s; }
.chips input:checked + span { background: var(--white); color: var(--ink); border-color: var(--white); }
.chips input:focus-visible + span { outline: 2px solid var(--white); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.status { min-height: 1.5em; font-size: var(--fs-meta); color: var(--white-80); }
.status a { color: var(--white); text-decoration: underline; }
.foot { background: var(--clay-2); color: var(--white); padding: 0 0 48px; }
.foot .wrap { padding-top: 96px; }
.foot-logo { display: block; width: min(56vw, 760px); margin: 0 auto; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; margin-top: 64px; font-size: 20px; }
.foot-h { font-family: var(--sans); font-size: var(--fs-meta); font-weight: 500; color: var(--white-80); margin-bottom: 8px; }
.foot-cols li a { display: inline-flex; align-items: center; min-height: 44px; }
.foot-cols li:not(:has(a)) { min-height: 44px; display: flex; align-items: center; }
.foot-cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-legal a { display: inline-flex; align-items: center; min-height: 44px; }
.foot-legal span { display: inline-flex; align-items: center; min-height: 44px; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: 64px; font-size: var(--fs-legal); color: var(--white-80); }
.foot-legal a:hover { color: var(--white); }

/* ---------- the finish in your hand ---------- */
.fv { position: fixed; inset: 0; z-index: 60; background: rgba(21, 17, 15, .96); display: grid; place-items: center; padding: calc(var(--bar) + 8px) var(--gutter) 32px; overflow-y: auto; color: var(--white); }
.fv[hidden] { display: none; }
body.fv-open { overflow: hidden; }
.fv-panel { container-type: inline-size; position: relative; width: min(1040px, 100%, calc((100svh - 400px) * 2)); min-width: min(100%, 560px); display: grid; gap: 28px; }
.fv .close { position: fixed; right: var(--gutter); top: 12px; z-index: 2; height: 56px; padding: 0 20px; border: 1px solid var(--hair-white); border-radius: 2px; background: rgba(21, 17, 15, .6); color: var(--white); font-size: var(--fs-ui); font-weight: 500; }
.fv .close:hover { border-color: var(--white); }
.fv-card { position: relative; width: 100%; aspect-ratio: 2 / 1; border-radius: 3px; overflow: hidden; background: var(--slip); box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .6); transform-origin: 50% 50%; will-change: transform; }
.fv-card img { width: 100%; height: 100%; object-fit: cover; }
.fv-copy { display: grid; grid-template-columns: 1fr auto; gap: 8px 40px; align-items: end; }
.fv-copy h2 { font-size: var(--fs-h3); grid-column: 1; }
.fv-copy .meta { color: var(--white-80); grid-column: 1; }
.fv-copy p { grid-column: 1; font-size: 20px; margin-top: 4px; }
.fv-actions { grid-column: 2; grid-row: 1 / span 3; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; justify-content: flex-end; }
.fv-actions .link { min-height: 48px; display: inline-flex; align-items: center; }
.fv-nav { display: flex; align-items: center; justify-content: center; gap: 24px; font-size: var(--fs-meta); color: var(--white-80); }
.arrow { width: 56px; height: 56px; border-radius: 2px; border: 1px solid var(--hair-white); color: var(--white); font-size: 22px; text-align: center; }
.arrow:hover { border-color: var(--white); }

/* ---------- inner pages ---------- */
body.page { padding-top: var(--bar); }
.page-head { padding-top: 32px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--fs-legal); color: var(--ink-72); margin-bottom: 24px; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.page-head h1, .b-split h1, .about h1 { font-size: var(--fs-h2); line-height: 1.02; }
.b-split .spec { margin-top: 32px; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs { align-items: center; margin-bottom: 8px; }
.subnav { position: sticky; top: var(--bar); z-index: 30; background: var(--page); border-bottom: 1px solid var(--hair); }
.subnav .wrap { display: flex; gap: 32px; height: 56px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { white-space: nowrap; font-size: var(--fs-ui); font-weight: 500; color: var(--ink-72); padding: 6px 0; border-bottom: 2px solid transparent; }
.subnav a:hover { color: var(--ink); }
.subnav a.is-on { color: var(--ink); border-bottom-color: var(--ink); }
/* a finish */
.fin { display: grid; grid-template-columns: 7fr 5fr; gap: 24px 64px; align-items: start; padding-top: 32px; }
.fin-pic { width: 100%; aspect-ratio: 2 / 1; border-radius: 3px; overflow: hidden; background: var(--slip); box-shadow: 0 30px 60px -30px rgba(21, 17, 15, .45); }
.fin-pic img { width: 100%; height: 100%; object-fit: cover; }
.shades { margin-top: var(--space-group); }
.shades .meta { margin-bottom: 12px; }
.shades ul { display: flex; gap: 3px; }
.shades li { flex: 0 1 72px; min-width: 0; }
.shades button { width: 100%; aspect-ratio: 1 / 2; padding: 0; overflow: hidden; border-radius: 2px; box-shadow: 0 0 0 1px var(--hair); }
.shades button img { width: 100%; height: 100%; object-fit: cover; }
.shades button.is-on { box-shadow: 0 0 0 2px var(--ink); }
.fin-side { position: sticky; top: calc(var(--bar) + 32px); }
.fin-side h1 { font-size: var(--fs-h2); line-height: 1.02; }
.fin-side .coll-name { font-size: 20px; color: var(--ink-72); margin-top: 8px; }
.fin-side .coll-name + .spec { margin-top: 32px; }
.fin-side .lead { margin-top: var(--space-group); font-size: 21px; }
.fin-side .spec { margin-top: 32px; }
.fin-side .actions { margin-top: 32px; }
.fin-side .actions .btn { flex: 1 1 0; }
.fin-side .dl { display: inline-block; margin-top: 24px; }
.row-head { margin-top: var(--space-section); margin-bottom: 0; }

.tile { display: block; }
.tile figure { aspect-ratio: 1 / 2; border-radius: 2px; overflow: hidden; background: var(--slip); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile:hover img { transform: scale(1.02); }
.tile b { display: block; margin-top: 12px; font-weight: 400; font-size: 20px; line-height: 1.3; }
.tile:hover b { text-decoration: underline; text-underline-offset: 4px; }
.grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 40px 24px; padding-top: var(--space-head); }
.next-prev { display: flex; justify-content: space-between; gap: 24px; margin-top: var(--space-section); padding: 0 0 var(--space-section); }
.next-prev a { font-family: var(--serif); font-size: var(--fs-h3); line-height: 1.2; }
.next-prev a:last-child { text-align: right; }
.next-prev small { display: block; font-family: var(--sans); font-size: var(--fs-meta); color: var(--ink-72); margin-bottom: 6px; }
.next-prev a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
/* a building */
.b-split { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100svh - var(--bar)); }
.b-split .pic { position: relative; overflow: hidden; background: var(--slip); }
.b-split .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.b-split .txt { display: flex; flex-direction: column; justify-content: center; padding: 64px var(--gutter) 64px 64px; }
.b-wide { height: 80vh; min-height: 480px; overflow: hidden; background: var(--slip); }
.b-wide img { width: 100%; height: 100%; object-fit: cover; }
.b-contained { margin-top: 32px; } .b-contained img { width: 100%; height: auto; }
.facts4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 64px; }
.facts4 span { display: block; font-size: var(--fs-meta); color: var(--ink-72); }
.facts4 b { display: block; font-weight: 400; font-size: 20px; margin-top: 4px; }
.story { max-width: 60ch; margin-top: var(--space-head); }
.story h2 { font-size: var(--fs-h3); margin: 40px 0 12px; }
.story h2:first-child { margin-top: 0; }
.story p { font-size: 21px; }
.pair { display: grid; grid-template-columns: 5fr 7fr; grid-auto-rows: 100%; gap: 24px; margin-top: var(--space-items); height: min(72vh, 760px); }
.pair img { min-height: 0; }
.pair.one { grid-template-columns: 1fr; height: auto; }
.pair img { width: 100%; height: 100%; object-fit: cover; background: var(--slip); }
.pair.one img { height: auto; }
.quote { margin-top: var(--space-items); max-width: 24ch; font-family: var(--serif); font-size: clamp(28px, 2.6vw, 36px); line-height: 1.2; }
.quote small { display: block; margin-top: 16px; font-family: var(--sans); font-size: var(--fs-meta); color: var(--ink-72); }
.ba { margin-top: var(--space-items); }
.ba-box { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--slip); cursor: ew-resize; user-select: none; touch-action: pan-y; }
.ba-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-after { clip-path: inset(0 0 0 var(--x, 50%)); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; background: var(--white); translate: -1px 0; pointer-events: none; }
.ba-tags { display: flex; justify-content: space-between; margin-top: 12px; font-size: var(--fs-meta); color: var(--ink-72); }
/* about, architects */
.about { display: grid; grid-template-columns: auto 1fr; gap: 24px 80px; align-items: center; padding: 32px 0 var(--space-section); min-height: calc(100svh - var(--bar)); }
.about figure { overflow: hidden; background: var(--slip); aspect-ratio: 4 / 5; height: min(calc(100svh - var(--bar) - 64px), 860px); }
.about img { width: 100%; height: 100%; object-fit: cover; }
.qa { margin-top: var(--space-head); border-top: 1px solid var(--hair); }
.qa > li { display: grid; grid-template-columns: 5fr 7fr; gap: 16px 64px; padding: 40px 0; border-bottom: 1px solid var(--hair); }
.qa h2 { font-size: var(--fs-h3); }
.qa p { font-size: 21px; }
.qa .actions { margin-top: 24px; }
.qa svg { width: 100%; max-width: 520px; height: auto; margin-top: 24px; }
.downloads { margin-top: var(--space-section); }
.dl-table { margin-top: 32px; border-top: 1px solid var(--hair); }
.dl-table li { display: grid; grid-template-columns: 1fr auto auto; gap: 24px; align-items: center; min-height: 64px; border-bottom: 1px solid var(--hair); }
.dl-table li > span:first-child { font-size: 20px; }
.dl-table .meta { white-space: nowrap; }
.dl-table .link { justify-self: end; }
/* legal, 404 */
.legal { max-width: 46em; padding: 32px 0 var(--space-section); }
.legal h1 { font-size: var(--fs-h2); margin-bottom: 40px; }
.legal h2 { font-size: var(--fs-h3); margin: 40px 0 12px; }
.legal p { margin-bottom: 14px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.nf { min-height: calc(100svh - var(--bar)); display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.nf h1 { font-size: var(--fs-h2); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- tablet ---------- */
@media (max-width: 1023px) {
  .words { display: none; } .top-spacer { display: block; }
  .thumb { display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; height: calc(64px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--page); border-top: 1px solid var(--hair); font-size: 17px; font-weight: 500; }
  .thumb a { display: flex; align-items: center; justify-content: center; }
  .thumb a.is-on { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .samples { top: auto !important; bottom: calc(84px + env(safe-area-inset-bottom)); left: 0; right: 0; flex-direction: row; justify-content: center; }
  .sample { width: 56px; height: 56px; }
  .sample span { display: none; }
  .open-copy { left: var(--gutter); right: var(--gutter); bottom: calc(160px + env(safe-area-inset-bottom)); }
  .deck-stage { --len: 56vw; }
  .fv-copy { grid-template-columns: 1fr; }
  .fv-actions { grid-column: 1; grid-row: auto; justify-content: flex-start; margin-top: 8px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .bld-a, .b-split { grid-template-columns: 1fr; min-height: 0; }
  .bld-a .pic, .b-split .pic { height: min(80vh, 125vw); }
  .about { grid-template-columns: 1fr; min-height: 0; }
  .about figure { height: auto; width: 100%; max-height: 70vh; }
  .pair { height: auto; grid-auto-rows: auto; } .pair img { height: auto; aspect-ratio: 4 / 5; }
  .bld-a .txt, .b-split .txt { padding: 40px var(--gutter) 0; max-width: none; }
  .coll { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .coll-side { display: contents; }
  .coll-side > .label, .coll-side > h2, .coll-side > .lead, .coll-list { order: 0; }
  .coll-deck { order: 1; margin-top: 24px; }
  #coll-all { order: 2; margin-top: 8px; justify-self: start; }
  .layers, .talk-grid, .fin, .about, .qa > li { grid-template-columns: 1fr; }
  .layers figure { grid-template-columns: 1fr; gap: 24px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .fin-side { position: static; }
}
/* ---------- phone ---------- */
@media (max-width: 720px) {
  .logo img { height: 30px; }
  .menu-btn { height: 48px; }
  .menu-btn b { display: none; }
  .open-copy p { font-size: 20px; }
  .bld-b { grid-template-columns: 1fr; gap: var(--space-items); }
  .card-b.wide figure, .card-b.tall figure { aspect-ratio: 4 / 5; }
  .coll-list { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin: 32px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter); scrollbar-width: none; }
  .coll-list::-webkit-scrollbar { display: none; }
  .coll-list li { flex: 0 0 128px; scroll-snap-align: start; }
  .coll-list button { flex-direction: column; align-items: flex-start; min-height: 0; padding: 0; gap: 8px; font-size: 16px; line-height: 1.25; }
  .coll-list img { width: 128px; height: 64px; }
  .deck-stage { --len: 66vw; }
  .coll-side .btn { width: 100%; }
  .band { height: 80svh; }
  .specs { grid-template-columns: 1fr; }
  .spec li { min-height: 56px; }
  .hub-row .btn, .form-actions .btn { width: 100%; }
  .foot-logo { width: 80vw; }
  .fv { padding: 72px 16px 24px; place-items: start center; }
  .fv .close { top: 8px; right: 8px; }
  .fv-panel { min-width: 0; width: 100%; gap: 16px; }
  .fv-actions .btn { flex: 1 1 0; padding: 0 12px; }
  .fv-nav { position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 2 / 1; justify-content: space-between; padding: 0 8px; pointer-events: none; }
  .fv-nav span { display: none; }
  .fv-nav .arrow { pointer-events: auto; width: 48px; height: 48px; background: rgba(21, 17, 15, .55); }
  .fin-side .actions .btn { flex: 1 1 100%; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .facts4 { grid-template-columns: 1fr 1fr; }
  .pair { grid-template-columns: 1fr; }
  .b-wide { height: 60svh; }
  .next-prev { flex-direction: column; } .next-prev a:last-child { text-align: left; }
  .foot-cols { grid-template-columns: 1fr; }
  .dl-table li { grid-template-columns: 1fr auto; } .dl-table .meta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; } .open { height: auto; } .stage { position: relative; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .card-b img, .tile img { transition: none; }
}
.row-head { font-size: var(--fs-h3); }
.downloads h2 { font-size: var(--fs-h2); }
.hub-page .page-head, .collection .page-head { padding-top: 40px; }
.facts4 dd, .facts4 dt { margin: 0; }

@media (max-width: 360px) { .sample { width: 48px; height: 48px; } .samples { gap: 8px; } }
@media (min-width: 1024px) and (max-height: 820px) {
  .sample { width: 48px; height: 72px; } .samples { gap: 8px; }
  .coll-list { margin-top: 20px; } .coll-list button { min-height: 48px; font-size: 21px; } .coll-list img { width: 44px; height: 44px; } .coll-side .btn { margin-top: 20px; }
  .coll-side h2 { font-size: clamp(40px, 3.6vw, 56px); } .coll-side .lead { margin-top: 12px; } .coll { padding-block: 32px; }
  .deck-stage { --len: clamp(300px, 30vw, 520px); }
}
@media (prefers-reduced-motion: reduce) { .lines { display: block; } .lines > * { display: block; } .lines .is-b { opacity: 1; } }
.facts4[hidden], .facts4.hidden { display: none; }
.more-all { margin-top: 40px; }
.b-split .actions { margin-top: 32px; }
@media (max-width: 720px) { .more-all .btn, .actions .btn { max-width: 100%; white-space: normal; text-align: center; line-height: 1.2; height: auto; min-height: 56px; padding-block: 10px; } .more-all .btn { width: 100%; } }

@media (max-width: 1023px) { .samples-name { right: 50%; translate: 50% 0; top: auto; bottom: calc(100% + 12px); } }
@media (max-width: 720px) { .samples-name { display: none; } }
.fin:not(:has(.shades)) { align-items: center; }

@container (max-width: 900px) { .fv-copy { grid-template-columns: 1fr; } .fv-actions { grid-column: 1; grid-row: auto; justify-content: flex-start; margin-top: 8px; } }
@media (min-width: 1024px) and (max-height: 820px) {
  .fv-nav { position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 2 / 1; justify-content: space-between; padding: 0 16px; pointer-events: none; }
  .fv-nav span { display: none; } .fv-nav .arrow { pointer-events: auto; background: rgba(21, 17, 15, .55); }
  .bld-a .txt, .b-split .txt { padding-block: 32px; } .bld-a h2 { font-size: clamp(40px, 3.6vw, 56px); }
  .bld-a .spec, .b-split .spec { margin-top: 24px; } .bld-a .spec li, .b-split .spec li { min-height: 44px; } .bld-a .actions, .b-split .actions { margin-top: 24px; }
}
.foot-legal { max-width: none; }
.lead, .open-copy p, .coll-side .lead { text-wrap: pretty; }
.open-copy p { text-wrap: balance; }
.band-copy span { color: var(--white); }
.hub-page section[id], .hub-page li[id] { scroll-margin-top: calc(var(--bar) + 56px + 32px); }
/* bigger hit areas for text links, without moving their underline */
.dl-table .link, .fin-side .dl, .form-actions .link, .phone-big, .mail, .legal a { position: relative; }
.dl-table .link::after, .fin-side .dl::after, .form-actions .link::after, .phone-big::after, .mail::after { content: ""; position: absolute; left: -8px; right: -8px; top: 50%; height: 48px; translate: 0 -50%; }
@media (max-width: 1023px) {
  .samples-name { display: none; }
  .coll { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .menu-btn { height: 56px; }
  #coll-all { white-space: normal; height: auto; min-height: 56px; padding-block: 10px; text-align: center; line-height: 1.2; }
  .fv-nav .arrow { width: 56px; height: 56px; }
  /* a finish page on a phone: its name first, then the sheet */
  .fin { display: flex; flex-direction: column; gap: 0; align-items: stretch; }
  .fin-side { display: contents; }
  .fin-side .crumbs { order: 0; } .fin-side h1 { order: 1; } .fin-side .coll-name { order: 2; margin-bottom: 20px; }
  .fin > div:first-child { order: 3; } .fin-side .lead { order: 4; } .fin-side .spec { order: 5; } .fin-side .actions { order: 6; } .fin-side .dl { order: 7; align-self: flex-start; }
}
@media (min-width: 375px) and (max-width: 720px) { .menu-btn b { display: inline; } }
@media (max-width: 720px) and (max-height: 620px) {
  .open-copy .eyebrow { display: none; } .open-copy { bottom: calc(148px + env(safe-area-inset-bottom)); }
  #fv-line { display: none; } .fv { padding-top: 64px; }
  #collections.sec { margin-top: 48px; } #collections .lead { margin-top: 12px; } .coll-list { margin-top: 16px; } .coll-list img { height: 48px; } .coll-deck { margin-top: 12px; }
  .shades button { aspect-ratio: 2 / 3; }
}

/* ---------- the 2026 range: named colourways, family tiles, on-site photos, more buildings ---------- */
.shades ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 16px 8px; }
.shades li { flex: none; min-width: 0; }
.shades button { width: 100%; aspect-ratio: auto; display: flex; flex-direction: column; gap: 8px; padding: 0; overflow: visible; border-radius: 0; box-shadow: none; text-align: left; }
.shades button img { width: 100%; height: auto; aspect-ratio: 1 / 2; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px var(--hair); }
.shades button.is-on { box-shadow: none; }
.shades button.is-on img { box-shadow: 0 0 0 2px var(--ink); }
.shades button span { font-size: 16px; line-height: 1.25; color: var(--ink-72); }
.shades button.is-on span, .shades button:hover span { color: var(--ink); }
.tile .dots { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 10px; }
.tile .dots img { width: 20px; height: 20px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px var(--hair); }
.insitu { margin-top: var(--space-items); max-width: 1136px; }
.insitu img { width: 100%; height: auto; background: var(--slip); }
.insitu figcaption, .why-pic figcaption { margin-top: 12px; }
.layers .why-pic { display: block; }
.why-pic img { width: 100%; height: auto; background: var(--slip); }
.layers .layer-names { margin-top: 32px; }
.more-b { margin-top: var(--space-items); }
.more-b ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
.more-b figure { aspect-ratio: 1 / 1; overflow: hidden; background: var(--slip); }
.more-b figure img { width: 100%; height: 100%; object-fit: cover; }
.more-b h3 { font-size: 24px; margin-top: 16px; }
.more-b .meta { margin-top: 4px; }
.more-b .b-fin { margin-top: 6px; font-size: 17px; color: var(--ink-72); }
.more-b .b-fin a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.dl-table.sizes { margin-top: 24px; }
.dl-table.sizes li { grid-template-columns: minmax(200px, 1fr) 2fr; }
.dl-table.sizes li span { text-align: right; font-size: 20px; }
.dl-table.sizes a { font-size: 20px; }
.dl-table.sizes a:hover { text-decoration: underline; text-underline-offset: 4px; }
.qa .steps { margin-top: 24px; }
.qa .steps b { color: var(--ink); }
@media (max-width: 1023px) { .more-b ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) {
  .shades ul { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); }
  .more-b h3 { font-size: 21px; }
  .dl-table.sizes li { grid-template-columns: 1fr; gap: 2px; padding: 12px 0; }
  .dl-table.sizes li span { text-align: left; font-size: 18px; }
}
@media (max-width: 720px) and (max-height: 620px) { .shades button img { aspect-ratio: 2 / 3; } }

.fin-side .dl[hidden] { display: none; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 4px 16px; padding: 18px 0; border-top: 1px solid var(--hair); align-items: baseline; }
.steps li:last-child { border-bottom: 1px solid var(--hair); }
.steps b { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1; }
.steps span { font-size: 20px; font-weight: 500; }
.steps small { display: block; margin-top: 4px; font-size: 18px; font-weight: 400; line-height: 1.5; color: var(--ink-72); }

/* products first, then the buildings: air between the deck and the Kuchaiya split */
#buildings { margin-top: var(--space-items); }

/* the opening leads with the brand: the logo big, Fabricated Clay Cladding™ under it, the line smaller below.
   While the bar sits over the opening its own small logo steps aside, and comes back when the bar turns white. */
.open-head { position: absolute; left: 0; right: 0; top: calc(var(--bar) + 4px); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: clamp(14px, 2.4vh, 28px); padding: 0 var(--gutter); pointer-events: none; text-align: center; }
.lockup { display: flex; flex-direction: column; align-items: center; gap: clamp(8px, 1.3vh, 14px); }
.lockup-logo { height: clamp(54px, 6.6vw, 104px); width: auto; }
.lockup-cat { max-width: none; font-family: var(--sans); font-weight: 500; font-size: clamp(22px, 2.15vw, 32px); line-height: 1.2; color: var(--white); }
.open-head .lines { position: static; padding: 0; }
.open-head .lines > * { font-size: clamp(32px, 4.3vw, 66px); }
.top .logo { transition: opacity .25s, visibility .25s; }
.home .top.is-over .logo { opacity: 0; visibility: hidden; }
@media (min-width: 1024px) and (max-height: 820px) { .sample { width: 44px; height: 60px; } }
/* very short phones: the sheet needs the room more than the sentence does */
@media (max-width: 720px) and (max-height: 620px) { .open-copy { display: none; } .lockup-logo { height: 46px; } .lockup-cat { font-size: 20px; } }
