/* Door City — site styles.
   Colours are measured from their logo: orange #f37121 ("DOOR"), grey #939598 ("CITY") and #6d6e71 (the line under it).
   Type: Oswald, condensed like their wordmark, for headings; Figtree for reading. Both self-hosted.
   The thread through the site is their logo's skyline: four bars and a double door (.sky). */

@font-face { font-family: "Oswald"; src: url("/fonts/oswald.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --orange: #f37121;            /* their logo */
  --orange-ink: #a3440a;        /* the same orange, deepened so it passes as text on light paper */
  --grey: #939598;              /* their logo */
  --grey-ink: #626366;          /* their logo's darker grey, deepened a touch for small text */
  --char: #1f2023;              /* charcoal: their showroom cladding */
  --char-2: #2a2b2f;
  --char-3: #36383c;
  --paper: #f6f3ee;
  --paper-2: #ece6dd;
  --card: #fffdf9;
  --line: #ddd5c9;
  --timber: #a35d2b;            /* the stained maple most of their doors wear */
  --ink: #1f2023;
  --text: #33343a;
  --on-dark: #f1ede6;
  --on-dark-2: #c9c6c0;
  --head: "Oswald", "Arial Narrow", "Roboto Condensed", sans-serif-condensed, Impact, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 72rem;
  --pad: clamp(1.1rem, 4.5vw, 2.5rem);
  --r: 14px;
  --header-h: 4.4rem;
  --ease: cubic-bezier(.22, .8, .24, 1);

  /* library pieces, set to this site */
  --cb-bg: rgb(246 243 238 / .96); --cb-ink: var(--ink); --cb-call: var(--orange); --cb-call-ink: #1a1a1c;
  --cb-h: 4.4rem; --cb-h-stuck: 3.4rem;
  --qd-bg: var(--paper); --qd-ink: var(--ink); --qd-accent: var(--orange); --qd-time: .34s;
  --pc-time: .5s;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 4.5rem; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1.0625rem/1.6 var(--body); text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; color: var(--ink); line-height: 1.02; letter-spacing: .005em; text-transform: uppercase; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 11vw, 5.6rem); }
h2 { font-size: clamp(2rem, 7.4vw, 3.6rem); }
h3 { font-size: clamp(1.25rem, 4.6vw, 1.6rem); line-height: 1.12; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
strong { color: var(--ink); font-weight: 700; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: .75rem; top: -4rem; z-index: 200; padding: .7rem 1rem; background: var(--ink); color: #fff; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: .75rem; }
.lede { font-size: clamp(1.08rem, 3.6vw, 1.3rem); line-height: 1.5; color: var(--text); max-width: 38rem; }
.muted { color: var(--grey-ink); }
.small { font-size: .9rem; }

/* ---------- the skyline mark: their logo's four bars and a double door ---------- */
.sky { display: inline-block; width: 2.3em; height: 1.05em; flex: none; vertical-align: -.08em; color: var(--orange);
  background:
    linear-gradient(currentColor 0 0) 0 100% / 14% 52% no-repeat,
    linear-gradient(currentColor 0 0) 18% 100% / 14% 78% no-repeat,
    linear-gradient(currentColor 0 0) 36% 100% / 14% 100% no-repeat,
    linear-gradient(currentColor 0 0) 54.5% 100% / 14% 70% no-repeat,
    linear-gradient(90deg, currentColor 0 47%, transparent 47% 53%, currentColor 53%) 100% 100% / 26% 60% no-repeat; }
.eyebrow { display: flex; align-items: center; gap: .6rem; margin: 0 0 1rem; font: 600 .8rem/1.2 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--orange-ink); }
.on-dark .eyebrow, .eyebrow.on-dark { color: var(--orange); }

/* ---------- buttons ---------- */
.btn { --b: var(--orange); --bi: #1a1a1c; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 3.2rem; padding: .75rem 1.35rem; border: 2px solid var(--b); border-radius: 999px; background: var(--b); color: var(--bi); font: 600 1.02rem/1.1 var(--body); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgb(243 113 33 / .28); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn-ghost { --b: transparent; --bi: var(--ink); border-color: currentColor; }
.btn-ghost:hover { background: rgb(0 0 0 / .05); box-shadow: none; }
.on-dark .btn-ghost { --bi: var(--on-dark); }
.on-dark .btn-ghost:hover { background: rgb(255 255 255 / .08); }
.btn-dark { --b: var(--char); --bi: #fff; }
.btn-dark:hover { box-shadow: 0 8px 20px rgb(0 0 0 / .25); }
.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.ico { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: .1rem; }
.link-arrow:hover { color: var(--orange-ink); }
.on-dark .link-arrow { color: var(--on-dark); }

/* ---------- header (library: sticky call bar 2, reworked) ---------- */
html { container-type: scroll-state; container-name: cb-page; }
.cb-head { position: sticky; top: 0; z-index: 50; height: var(--cb-h); container-type: scroll-state; container-name: cb-head; pointer-events: none; }
.cb-head-in { position: absolute; inset: 0 0 auto 0; height: 100%; display: flex; align-items: center; gap: .8rem; padding: 0 var(--pad); background: var(--cb-bg); color: var(--cb-ink); border-bottom: 1px solid rgb(0 0 0 / .08); pointer-events: auto; transition: height .25s ease, box-shadow .25s ease; -webkit-backdrop-filter: saturate(1.2) blur(8px); backdrop-filter: saturate(1.2) blur(8px); }
.logo { display: block; flex: none; height: calc(100% - 1.1rem); max-height: 3.3rem; }
.logo img { height: 100%; width: auto; }
.cb-phone { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; padding: 0 1.05rem; border-radius: 999px; font-weight: 700; font-size: .98rem; white-space: nowrap; text-decoration: none; background: var(--cb-call); color: var(--cb-call-ink); }
.cb-phone:hover { text-decoration: none; filter: brightness(1.05); }
@container cb-head scroll-state(stuck: top) {
  .cb-head-in { height: var(--cb-h-stuck); box-shadow: 0 6px 18px rgb(0 0 0 / .12); }
}
.nav { display: contents; }
.menu-btn { order: 3; flex: none; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 2.75rem; min-width: 2.75rem; padding: 0 .8rem; border: 1px solid rgb(0 0 0 / .18); border-radius: 999px; background: transparent; color: var(--ink); font: 600 .95rem/1 var(--body); cursor: pointer; }
.menu-btn .ico { width: 1.2em; height: 1.2em; }
.menu { margin: 0; inset: auto; position: fixed; top: calc(var(--cb-h-stuck) + .5rem); right: .6rem; left: .6rem; padding: .6rem; border: 0; border-radius: 18px; background: var(--char); color: var(--on-dark); box-shadow: 0 24px 60px rgb(0 0 0 / .35); }
.menu ul { list-style: none; margin: 0; padding: 0; display: grid; }
.menu a { display: flex; justify-content: space-between; align-items: center; padding: .85rem 1rem; border-radius: 10px; color: var(--on-dark); text-decoration: none; font: 500 1.35rem/1.1 var(--head); text-transform: uppercase; letter-spacing: .03em; }
.menu a:hover, .menu a[aria-current="page"] { background: var(--char-3); }
.menu a[aria-current="page"]::after { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--orange); }
.menu .menu-call { margin-top: .4rem; background: var(--orange); color: #1a1a1c; justify-content: center; font-family: var(--body); font-weight: 700; font-size: 1.05rem; text-transform: none; letter-spacing: 0; }
.menu .menu-call:hover { background: var(--orange); filter: brightness(1.05); }
@media (prefers-reduced-motion: no-preference) {
  .menu { opacity: 0; translate: 0 -.5rem; transition: opacity .22s ease, translate .22s var(--ease), overlay .22s allow-discrete, display .22s allow-discrete; }
  .menu:popover-open { opacity: 1; translate: 0 0; }
  @starting-style { .menu:popover-open { opacity: 0; translate: 0 -.5rem; } }
}
.menu::backdrop { background: rgb(0 0 0 / .35); }
@media (min-width: 72rem) {
  .menu-btn { display: none; }
  .menu[popover] { display: block; position: static; inset: auto; padding: 0; margin: 0 0 0 auto; background: none; box-shadow: none; color: var(--ink); opacity: 1; translate: none; overflow: visible; }
  .menu ul { display: flex; gap: .1rem; }
  .menu a { padding: .55rem .7rem; font: 500 .98rem/1 var(--body); text-transform: none; letter-spacing: 0; color: var(--ink); border-radius: 999px; }
  .menu a:hover { background: rgb(0 0 0 / .05); }
  .menu a[aria-current="page"] { background: none; box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
  .menu a[aria-current="page"]::after { display: none; }
  .menu .menu-call { display: none; }
  .cb-phone { margin-left: .6rem; }
}
@media (max-width: 24.5rem) { .menu-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .menu-btn { padding: 0; width: 2.75rem; } .cb-head-in { gap: .5rem; } }
@media (max-width: 21rem) { .cb-phone .num { display: none; } .cb-phone::after { content: "Call"; } }

/* ---------- bottom bar (phones) ---------- */
.cb-foot { position: fixed; inset: auto 0 0 0; z-index: 60; display: none; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgb(31 32 35 / .97); box-shadow: 0 -6px 18px rgb(0 0 0 / .18); transition: padding .22s ease, background-color .22s ease; }
@media (max-width: 47.5rem) { .cb-foot { display: flex; } body { padding-bottom: 0; } .site-foot { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)); } }
.cb-foot :is(a, button) { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; min-height: 50px; padding: 0 .9rem; border-radius: 999px; border: 2px solid transparent; font: 700 1rem/1 var(--body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: min-height .22s ease, flex-grow .22s ease, opacity .18s ease, padding .22s ease, border-width .22s ease; }
.cb-foot .cb-call { background: var(--orange); color: #1a1a1c; }
.cb-foot .cb-second { background: transparent; border-color: rgb(255 255 255 / .55); color: #f4f1ec; overflow: hidden; }
@container cb-page scroll-state((scrolled: block-end) and (scrollable: block-end)) {
  .cb-foot { padding: 6px 12px calc(6px + env(safe-area-inset-bottom)); background: rgb(31 32 35 / .85); gap: 0; }
  .cb-foot :is(a, button) { min-height: 42px; }
  .cb-foot .cb-second { flex-grow: 0; flex-basis: 0; padding: 0; border-width: 0; opacity: 0; visibility: hidden; transition: min-height .22s ease, flex-grow .22s ease, opacity .18s ease, padding .22s ease, border-width .22s ease, visibility 0s .22s; }
}

/* ---------- tape-measure progress line (library: progress line, pl-tape) ---------- */
@property --pl { syntax: "<number>"; inherits: true; initial-value: 0; }
.pl { --pl-top: var(--cb-h-stuck); --pl-h: 12px; --pl-head: 7px; --pl-accent: var(--orange); display: none; position: fixed; inset: var(--pl-top) 0 auto 0; height: var(--pl-h); z-index: 49; pointer-events: none; filter: drop-shadow(0 1px 2px rgb(0 0 0 / .25)); }
@supports (animation-timeline: scroll()) { .pl { display: block; animation: pl-go linear both; animation-timeline: scroll(root block); } }
@keyframes pl-go { from { --pl: 0; } to { --pl: 1; } }
.pl::before { content: ""; position: absolute; inset: 0; clip-path: inset(0 calc((1 - var(--pl)) * 100%) 0 0);
  background:
    repeating-linear-gradient(90deg, rgb(20 16 8 / .85) 0 1.5px, transparent 1.5px 50px) 0 0 / 100% 78% no-repeat,
    repeating-linear-gradient(90deg, rgb(20 16 8 / .7) 0 1px, transparent 1px 10px) 0 0 / 100% 42% no-repeat,
    linear-gradient(to bottom, color-mix(in srgb, var(--pl-accent), #fff 22%), var(--pl-accent) 45%, color-mix(in srgb, var(--pl-accent), #000 12%)); }
.pl::after { content: ""; position: absolute; top: -1px; left: calc(var(--pl) * (100% - var(--pl-head))); width: var(--pl-head); height: calc(100% + 5px); border-radius: 0 0 2px 2px; background: linear-gradient(90deg, #8d9399, #e3e6e9 45%, #9aa0a6); box-shadow: 0 1px 2px rgb(0 0 0 / .35); }
@media print { .pl { display: none; } }

/* ---------- sections ---------- */
.sec { padding: clamp(3rem, 11vw, 7rem) 0; position: relative; }
.sec-tight { padding: clamp(2.6rem, 8vw, 4.5rem) 0; }
.on-dark { background: var(--char); color: var(--on-dark-2); }
.on-dark :is(h1, h2, h3, strong) { color: var(--on-dark); }
.on-dark .lede { color: var(--on-dark-2); }
.clad { background: linear-gradient(rgb(31 32 35 / .74), rgb(31 32 35 / .74)), var(--char) url("/img/tex-cladding-dark-573.webp") center / 420px auto repeat; }
.paper-2 { background: var(--paper-2); }
.sec-head { max-width: 44rem; margin-bottom: clamp(1.3rem, 5vw, 2.6rem); }
.sec-head h2 { margin-bottom: .35em; }
.sec-head p:last-child { margin-bottom: 0; }
.split { display: grid; gap: 2rem; }
@media (min-width: 56rem) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; } }

/* ---------- arrive as they scroll (site.js adds .in) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; translate: 0 1.6rem; transition: opacity .8s var(--ease), translate .9s var(--ease); }
  .js .rv.in { opacity: 1; translate: 0 0; }
  .js .rv-2 { transition-delay: .12s; }
  .js .rv-3 { transition-delay: .24s; }
}

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; color: var(--on-dark); background: var(--char); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(20 20 22 / .55) 0%, rgb(20 20 22 / .05) 30%, rgb(20 20 22 / .25) 52%, rgb(20 20 22 / .92) 80%, #1f2023 100%); }
.hero-in { min-height: calc(100svh - var(--cb-h)); display: flex; flex-direction: column; justify-content: flex-end; padding-top: 4rem; padding-bottom: clamp(1.6rem, 6vw, 3rem); }
.hero h1 { color: #fff; font-size: clamp(2.9rem, 13.2vw, 6.2rem); line-height: .95; margin: 0 0 1rem; max-width: 11ch; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .lede { color: #e6e2db; margin-bottom: 1.4rem; max-width: 30rem; }
.hero .eyebrow { color: #fff; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; margin: 1.3rem 0 0; padding: 0; list-style: none; font: 500 .86rem/1.3 var(--body); color: #d8d4cd; }
.hero-facts li { display: flex; align-items: center; gap: .45rem; }
.hero-facts li::before { content: ""; width: .4rem; height: .4rem; background: var(--orange); border-radius: 1px; }
/* light raking across the grain: one slow pass, then rest */
.hero-light { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgb(255 236 210 / .16) 47%, rgb(255 244 228 / .22) 50%, transparent 62%) -100% 0 / 260% 100% no-repeat; mix-blend-mode: soft-light; }
@media (prefers-reduced-motion: no-preference) {
  .hero-media img { animation: drift 22s var(--ease) both; }
  .hero-light { animation: rake 9s 1.2s ease-in-out infinite; }
  .hero-in > * { animation: rise .9s var(--ease) both; }
  .hero-in > :nth-child(2) { animation-delay: .08s; } .hero-in > :nth-child(3) { animation-delay: .16s; } .hero-in > :nth-child(4) { animation-delay: .24s; } .hero-in > :nth-child(5) { animation-delay: .32s; }
}
@keyframes drift { from { scale: 1.08; translate: 0 2%; } to { scale: 1; translate: 0 0; } }
@keyframes rake { 0% { background-position: 130% 0; } 55%, 100% { background-position: -30% 0; } }
@keyframes rise { from { opacity: 0; translate: 0 1.2rem; } to { opacity: 1; translate: 0 0; } }
@media (min-width: 56rem) {
  .hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); min-height: calc(100vh - var(--cb-h)); max-height: 60rem; }
  .hero::before { background: linear-gradient(90deg, #1f2023 0%, #1f2023 46%, rgb(31 32 35 / .0) 62%); }
  .hero-media { left: 42%; }
  .hero-light { left: 42%; }
  .hero-in { grid-column: 1; min-height: 0; justify-content: center; padding-left: max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad))); padding-right: 2rem; }
  .hero h1 { font-size: clamp(3.6rem, 6.4vw, 6.4rem); }
}

/* ---------- the range: a pair of doors that opens as you reach it ---------- */
.range { overflow: hidden; }
.doors-stage { position: relative; }
.doors { position: absolute; inset: 0 -1px; z-index: 3; display: grid; grid-template-columns: 1fr 1fr; perspective: 1800px; pointer-events: none; }
.leaf { position: relative; background: #6e3a17 url("/img/tex-maya-499.webp") center / cover; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .25), inset 0 0 80px rgb(0 0 0 / .35); transform-style: preserve-3d; backface-visibility: hidden; }
.leaf-l { transform-origin: 0 50%; }
.leaf-r { transform-origin: 100% 50%; background-position: 70% 40%; }
.leaf::before { content: ""; position: absolute; inset: 9% 16%; border-radius: 3px; box-shadow: inset 0 0 0 2px rgb(0 0 0 / .22), inset 0 0 0 7px rgb(255 220 180 / .12), inset 0 0 0 9px rgb(0 0 0 / .18); }
.leaf-l::after, .leaf-r::after { content: ""; position: absolute; top: 46%; width: .5rem; height: 18%; border-radius: 99px; background: linear-gradient(90deg, #8c9196, #eceff1 50%, #8c9196); box-shadow: 0 2px 6px rgb(0 0 0 / .4); }
.leaf-l::after { right: 7%; }
.leaf-r::after { left: 7%; }
.doors-word { position: absolute; z-index: 4; inset: 0; display: grid; place-items: center; pointer-events: none; font: 700 clamp(2.2rem, 12vw, 6rem)/1 var(--head); color: #fff; text-transform: uppercase; letter-spacing: .04em; text-shadow: 0 2px 30px rgb(0 0 0 / .45); }
.js .doors-stage:not(.open) .rail { visibility: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .leaf { transition: transform 1.5s cubic-bezier(.55, .05, .2, 1), opacity .4s 1.25s; }
  .doors-word { transition: opacity .5s ease; }
  .doors-stage.open .leaf-l { transform: rotateY(-105deg); opacity: 0; }
  .doors-stage.open .leaf-r { transform: rotateY(105deg); opacity: 0; }
  .doors-stage.open .doors-word { opacity: 0; }
}
.no-js .doors, .doors-stage.done .doors { display: none; }
@media (prefers-reduced-motion: reduce) { .doors { display: none; } .js .doors-stage:not(.open) .rail { visibility: visible; } }

/* swipe rows: the next card shows at the edge */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 20rem); gap: .9rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 var(--pad); padding: .3rem var(--pad) 1.2rem; margin: 0; list-style: none; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 56rem) {
  .rail { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto; overflow: visible; max-width: var(--wrap); margin: 0 auto; }
  .rail.rail-3 { grid-template-columns: repeat(3, 1fr); }
}
.type-card { position: relative; display: block; border-radius: var(--r); overflow: hidden; background: var(--char-2); color: #fff; text-decoration: none; aspect-ratio: 4 / 5; isolation: isolate; }
.type-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: scale 1.2s var(--ease); }
.type-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 45%, rgb(15 15 17 / .88)); }
.type-card:hover img { scale: 1.05; }
.type-card-txt { position: absolute; inset: auto 0 0 0; padding: 1.1rem 1.1rem 1.2rem; }
.type-card h3 { color: #fff; margin: 0 0 .25rem; font-size: 1.7rem; }
.type-card p { margin: 0; font-size: .93rem; line-height: 1.4; color: #e2ded7; }
.type-card .go { position: absolute; top: .9rem; right: .9rem; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: rgb(255 255 255 / .16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.range-foot { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; margin-top: .6rem; }

/* ---------- solid, not veneer ---------- */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 1.6rem 0 1.2rem; }
.slab { position: relative; height: clamp(9.5rem, 40vw, 16rem); border-radius: 10px; overflow: hidden; background: #c9ad85; box-shadow: 0 1px 0 rgb(255 255 255 / .06), 0 14px 30px rgb(0 0 0 / .35); }
.slab-face { position: absolute; inset: 0; background: url("/img/tex-maya-400.webp") center / cover; }
.slab-veneer .slab-core { position: absolute; inset: 0; background:
  radial-gradient(circle at 20% 30%, rgb(110 84 52 / .5) 0 1px, transparent 1.5px) 0 0 / 7px 9px,
  radial-gradient(circle at 70% 60%, rgb(90 70 40 / .45) 0 1px, transparent 1.6px) 0 0 / 11px 8px,
  radial-gradient(circle at 40% 80%, rgb(250 235 200 / .5) 0 1.2px, transparent 1.8px) 0 0 / 13px 12px,
  linear-gradient(#c8b08a, #bba07a); }
.slab-veneer .slab-face { clip-path: inset(0 0 0 0); }
.slab-solid .slab-face::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(255 230 190 / .0), rgb(255 230 190 / .18)); opacity: 0; }
.slab-label { position: absolute; left: .8rem; bottom: .7rem; right: .8rem; font: 600 .95rem/1.15 var(--head); text-transform: uppercase; letter-spacing: .06em; color: #fff; text-shadow: 0 1px 8px rgb(0 0 0 / .6); }
.slab-label small { display: block; font: 500 .8rem/1.3 var(--body); text-transform: none; letter-spacing: 0; opacity: .92; }
.sander { position: absolute; top: 0; bottom: 0; left: -30%; width: 22%; background: linear-gradient(90deg, transparent, rgb(255 255 255 / .22) 40%, rgb(255 255 255 / .35) 50%, rgb(255 255 255 / .22) 60%, transparent); filter: blur(2px); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .versus.in .slab-veneer .slab-face { clip-path: inset(0 0 0 100%); transition: clip-path 2.4s cubic-bezier(.5, 0, .3, 1) .4s; }
  .versus.in .slab-solid .slab-face::after { opacity: 1; transition: opacity 2.4s ease .4s; }
  .versus.in .sander { animation: sand 2.4s cubic-bezier(.5, 0, .3, 1) .4s both; }
}
@media (prefers-reduced-motion: reduce) { .slab-veneer .slab-face { clip-path: inset(0 0 0 55%); } }
.no-js .slab-veneer .slab-face { clip-path: inset(0 0 0 55%); }
@keyframes sand { 0% { left: -30%; opacity: 1; } 90% { opacity: 1; } 100% { left: 108%; opacity: 0; } }
.big-num { display: block; font: 700 clamp(4.4rem, 26vw, 10rem)/.85 var(--head); color: var(--orange); letter-spacing: -.01em; margin: 0 0 .3rem; }
.big-num small { font-size: .32em; letter-spacing: .04em; margin-left: .15em; color: var(--on-dark); }

/* ---------- steps and facts ---------- */
.steps { counter-reset: s; }
.step { position: relative; padding: 1.3rem 1.2rem 1.25rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); height: 100%; }
.step::before { counter-increment: s; content: "0" counter(s); display: block; font: 700 2.1rem/1 var(--head); color: var(--orange-ink); margin-bottom: .4rem; }
.step h3 { margin-bottom: .35rem; font-size: 1.35rem; }
.step p { margin: 0; font-size: .97rem; line-height: 1.5; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 1.2rem 0 0; padding: 0; list-style: none; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.facts li { background: var(--paper); padding: 1.1rem 1rem; }
.facts b { display: block; font: 700 clamp(1.9rem, 8vw, 2.6rem)/1 var(--head); color: var(--ink); margin-bottom: .3rem; }
.facts span { display: block; font-size: .9rem; line-height: 1.35; color: var(--grey-ink); }
@media (min-width: 56rem) { .facts { grid-template-columns: repeat(4, 1fr); } }

/* ---------- showrooms ---------- */
.room-card { display: flex; flex-direction: column; height: 100%; border-radius: var(--r); overflow: hidden; background: var(--char-2); color: var(--on-dark-2); border: 1px solid rgb(255 255 255 / .06); }
.room-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.room-card .room-art { aspect-ratio: 16 / 10; display: grid; place-items: end start; padding: 1rem; background: var(--char-3) url("/img/tex-cladding-dark-573.webp") center / 300px auto; font: 700 2.6rem/1 var(--head); text-transform: uppercase; color: rgb(255 255 255 / .16); }
.room-body { padding: 1.1rem 1.1rem 1.25rem; display: flex; flex-direction: column; gap: .2rem; flex: 1; }
.room-body h3 { color: var(--on-dark); margin: 0 0 .15rem; font-size: 1.55rem; }
.room-body p { margin: 0 0 .4rem; font-size: .96rem; line-height: 1.45; }
.room-body .tel { margin-top: auto; padding-top: .5rem; font: 600 1.25rem/1.1 var(--head); letter-spacing: .03em; color: var(--orange); text-decoration: none; }
.room-body .tel:hover { text-decoration: underline; }
.open-now { display: inline-flex; align-items: center; gap: .45rem; font-size: .86rem; font-weight: 600; color: var(--on-dark); margin-bottom: .35rem; min-height: 1.3em; }
.open-now::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--grey); }
.open-now[data-open="yes"]::before { background: #5bd38a; box-shadow: 0 0 0 4px rgb(91 211 138 / .18); }
.open-now:empty { display: none; }
.hours { margin: .2rem 0 .3rem; font-size: .9rem; line-height: 1.45; display: grid; grid-template-columns: auto 1fr; gap: 0 .8rem; }
.hours dt { color: var(--on-dark); font-weight: 600; }
.hours dd { margin: 0; }
.light .room-card { background: var(--card); color: var(--text); border-color: var(--line); }
.light .room-body h3, .light .hours dt, .light .open-now { color: var(--ink); }
.light .room-body .tel { color: var(--orange-ink); }

/* ---------- page tops (inner pages) ---------- */
.page-top { padding: clamp(2.6rem, 9vw, 5rem) 0 clamp(2rem, 6vw, 3.4rem); }
.page-top h1 { font-size: clamp(2.6rem, 11vw, 5rem); margin-bottom: .35em; }
.page-top-grid { display: grid; gap: 1.6rem; }
.page-top-pic { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; max-height: 34rem; background: var(--char-2); }
.page-top-pic img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 55.99rem) { .page-top-pic { aspect-ratio: 4 / 3.4; } }
@media (min-width: 56rem) { .page-top-grid { grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: center; } }
.crumbs { font-size: .88rem; margin: 0 0 1.1rem; color: var(--grey-ink); }
.crumbs a { color: inherit; }
.crumbs span[aria-hidden] { margin: 0 .35rem; }
.on-dark .crumbs { color: var(--on-dark-2); }

/* ---------- content blocks on inner pages ---------- */
.prose { max-width: 42rem; }
.prose h2 { margin-top: 2.2rem; font-size: clamp(1.7rem, 6vw, 2.5rem); }
.prose h3 { margin-top: 1.6rem; }
.cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); margin: 0; padding: 0; list-style: none; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem 1.2rem; }
.card h3 { margin-bottom: .4rem; font-size: 1.35rem; }
.card p { margin: 0 0 .5rem; font-size: .98rem; }
.card p:last-child { margin-bottom: 0; }
.card .meta { font: 600 .78rem/1.3 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: .5rem; }
.styles { display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0 0; padding: 0; list-style: none; }
.styles li { padding: .3rem .65rem; border-radius: 999px; background: var(--paper-2); font-size: .85rem; line-height: 1.2; color: var(--ink); }
.sizes { width: 100%; border-collapse: collapse; font-size: .95rem; margin: .6rem 0 0; }
.sizes th, .sizes td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.sizes th { font: 600 .78rem/1.2 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--grey-ink); }
.sizes td:first-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
.table-scroll { overflow-x: auto; }
.callout { display: grid; gap: .4rem; padding: 1.2rem 1.2rem 1.25rem; border-radius: var(--r); background: var(--char); color: var(--on-dark-2); border-left: 6px solid var(--orange); }
.callout strong { color: var(--on-dark); }
.callout p { margin: 0; }
.cta-band { padding: clamp(2.6rem, 9vw, 4.4rem) 0; }
.cta-band h2 { margin-bottom: .3em; }
.cta-band .lede { margin-bottom: 1.4rem; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: min(62%, 16rem); gap: .7rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .2rem var(--pad) 1rem; margin: 0 calc(var(--pad) * -1); list-style: none; }
.strip li { scroll-snap-align: start; }
.strip figure { margin: 0; }
.strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; background: var(--paper-2); }
.strip figcaption { font-size: .85rem; line-height: 1.35; margin-top: .45rem; color: var(--grey-ink); }
@media (min-width: 56rem) { .strip { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1rem 2rem 1rem 0; font-weight: 700; color: var(--ink); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .2rem; top: .8rem; font: 500 1.5rem/1 var(--head); color: var(--orange-ink); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 1rem; }

/* ---------- gallery ---------- */
.filters { display: flex; gap: .45rem; overflow-x: auto; padding: .2rem var(--pad) .8rem; margin: 0 calc(var(--pad) * -1) 1rem; scrollbar-width: none; border: 0; }
.filters legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.filters label { flex: none; display: inline-flex; align-items: center; gap: .4rem; min-height: 2.75rem; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-weight: 600; font-size: .95rem; cursor: pointer; white-space: nowrap; }
.filters label span { font-weight: 500; color: var(--grey-ink); font-size: .85rem; }
.filters input { position: absolute; opacity: 0; pointer-events: none; }
.filters label:has(input:checked) { background: var(--char); color: #fff; border-color: var(--char); }
.filters label:has(input:checked) span { color: var(--on-dark-2); }
.filters label:has(input:focus-visible) { outline: 3px solid var(--orange); outline-offset: 2px; }
.gal { columns: 2 10rem; column-gap: .7rem; margin: 0; padding: 0; list-style: none; }
.gal li { break-inside: avoid; margin: 0 0 .7rem; }
@media (min-width: 56rem) { .gal { columns: 4 14rem; column-gap: 1rem; } .gal li { margin-bottom: 1rem; } }
.gal figure { margin: 0; }
.gal button { display: block; width: 100%; padding: 0; border: 0; background: var(--paper-2); border-radius: 10px; overflow: hidden; cursor: zoom-in; }
.gal img { width: 100%; height: auto; transition: scale .8s var(--ease); }
.gal button:hover img { scale: 1.03; }
.gal figcaption { font-size: .84rem; line-height: 1.35; padding: .45rem .1rem 0; color: var(--grey-ink); }
.gallery:has(#f-front:checked) .gal li:not([data-room~="front"]),
.gallery:has(#f-double:checked) .gal li:not([data-room~="double"]),
.gallery:has(#f-living:checked) .gal li:not([data-room~="living"]),
.gallery:has(#f-garage:checked) .gal li:not([data-room~="garage"]),
.gallery:has(#f-inside:checked) .gal li:not([data-room~="inside"]),
.gallery:has(#f-custom:checked) .gal li:not([data-room~="custom"]) { display: none; }
.lightbox { width: min(100% - 1.2rem, 64rem); max-height: 94vh; padding: 0; border: 0; border-radius: 14px; background: #111; color: #eee; overflow: hidden; }
.lightbox::backdrop { background: rgb(10 10 12 / .85); }
.lightbox img { width: 100%; max-height: calc(94vh - 4rem); object-fit: contain; background: #111; }
.lightbox-bar { display: flex; align-items: center; gap: .8rem; padding: .6rem .6rem .6rem 1rem; }
.lightbox-bar p { margin: 0; flex: 1; font-size: .92rem; line-height: 1.35; }
.lightbox-bar button { min-height: 2.75rem; padding: 0 1rem; border-radius: 999px; border: 1px solid rgb(255 255 255 / .4); background: transparent; color: #fff; font: 600 .95rem/1 var(--body); cursor: pointer; }

/* ---------- finishes library ---------- */
.fin-nav { display: flex; gap: .45rem; overflow-x: auto; padding: .2rem var(--pad) .8rem; margin: 0 calc(var(--pad) * -1) .6rem; scrollbar-width: none; }
.fin-nav a { flex: none; min-height: 2.75rem; display: inline-flex; align-items: center; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card); text-decoration: none; font-weight: 600; font-size: .95rem; }
.fin-nav a:hover { border-color: var(--ink); }
.fin-group { padding: clamp(2rem, 7vw, 3.4rem) 0; border-top: 1px solid var(--line); }
.fin-group > h2 { font-size: clamp(1.9rem, 7vw, 3rem); }
.swatches { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); margin: 0; padding: 0; list-style: none; }
.swatch { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.swatch-face { aspect-ratio: 16 / 10; background: var(--paper-2) center / cover; position: relative; }
.swatch-face img { width: 100%; height: 100%; object-fit: cover; }
.swatch-body { padding: 1rem 1.05rem 1.1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.swatch-body h3 { margin: 0; font-size: 1.3rem; }
.swatch-body p { margin: 0; font-size: .95rem; line-height: 1.5; }
.swatch-body .where { font-size: .85rem; color: var(--grey-ink); }
.pick { margin-top: auto; padding-top: .6rem; display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .92rem; cursor: pointer; min-height: 2.75rem; }
.pick input { width: 1.25rem; height: 1.25rem; accent-color: var(--orange-ink); }
/* glass, drawn in CSS: what each looks like with light behind it */
.glass { background: linear-gradient(135deg, #d9e4e8, #f3f6f7 45%, #c9d6db); }
.glass::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgb(255 255 255 / .55) 42%, transparent 50%); }
.glass-clear { background: linear-gradient(160deg, #7aa3b8, #b9d2dc 40%, #6f8f80 70%, #4f6a59); }
.glass-frost { background: radial-gradient(circle at 30% 20%, #fff 0 1px, transparent 1.5px) 0 0 / 5px 5px, linear-gradient(160deg, #e9eef0, #d8e0e3); }
.glass-tint { background: linear-gradient(160deg, #4b5357, #6d777b 45%, #3d4447); }
.glass-grey { background: linear-gradient(160deg, #5f6669, #8a9295 50%, #545b5e); }
.glass-sand { background: radial-gradient(circle at 50% 50%, rgb(255 255 255 / .5) 0 .8px, transparent 1.2px) 0 0 / 4px 4px, linear-gradient(160deg, #e7ddcd, #d6c9b3); }
.glass-louvre { background: repeating-linear-gradient(180deg, #c7d3d8 0 10px, #8fa0a7 10px 12px, #e7eef0 12px 22px) ; }

/* ---------- forms ---------- */
.form { display: grid; gap: .85rem; }
.field { display: grid; gap: .3rem; }
.field label { font-weight: 700; font-size: .95rem; color: var(--ink); }
.field .hint { font-size: .85rem; color: var(--grey-ink); margin: 0; }
.field input, .field textarea, .field select { width: 100%; min-height: 3rem; padding: .7rem .85rem; border: 1px solid #b9b1a4; border-radius: 10px; background: #fff; color: var(--ink); font: 400 1rem/1.4 var(--body); }
.field textarea { min-height: 6.5rem; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid rgb(243 113 33 / .5); outline-offset: 1px; border-color: var(--orange-ink); }
.row2 { display: grid; gap: .85rem; }
@media (min-width: 30rem) { .row2 { grid-template-columns: 1fr 1fr; } }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; }
.form-note { font-size: .85rem; color: var(--grey-ink); margin: 0; }

/* ---------- quote drawer (library: quote drawer) ---------- */
.qd { position: fixed; inset: auto 0 0 0; margin: 0; width: 100%; max-width: none; max-height: 90vh; max-height: min(90dvh, 48rem); padding: 1.6rem clamp(1rem, 5vw, 1.6rem) calc(1.4rem + env(safe-area-inset-bottom)); border: 0; border-radius: 22px 22px 0 0; background: var(--qd-bg); color: var(--qd-ink); box-shadow: 0 -12px 40px rgb(0 0 0 / .3); overflow: auto; overscroll-behavior: contain; }
.qd::before { content: ""; position: absolute; top: .6rem; left: 50%; width: 2.6rem; height: .28rem; margin-left: -1.3rem; border-radius: 99px; background: currentColor; opacity: .22; }
.qd-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin: 0 0 .4rem; }
.qd-title { margin: 0; font-size: 1.9rem; }
.qd-sub { margin: 0 0 1rem; font-size: .95rem; color: var(--grey-ink); }
.qd-close { flex: none; min-width: 2.8rem; min-height: 2.8rem; padding: 0 .9rem; border: 1px solid currentColor; border-radius: 999px; background: transparent; color: inherit; font: 600 .9rem/1 var(--body); cursor: pointer; opacity: .8; }
.qd-close:hover { opacity: 1; }
.qd :focus-visible { outline: 3px solid var(--qd-accent); outline-offset: 2px; }
.qd-next { margin: 1.1rem 0 0; padding: .9rem 0 0 1.2rem; border-top: 1px solid rgb(0 0 0 / .12); font-size: .9rem; line-height: 1.5; }
.qd-next li + li { margin-top: .2rem; }
.qd-alt, .cb-foot .qd-alt, .mq-send .qd-alt { display: none; }
.qd::backdrop { background: rgb(0 0 0 / 0); }
@supports selector(:popover-open) {
  .qd:popover-open::backdrop { background: rgb(0 0 0 / .5); }
  @media (prefers-reduced-motion: no-preference) {
    .qd { translate: 0 100%; transition: translate var(--qd-time) cubic-bezier(.2, .9, .25, 1), overlay var(--qd-time) allow-discrete, display var(--qd-time) allow-discrete; }
    .qd:popover-open { translate: 0 0; }
    @starting-style { .qd:popover-open { translate: 0 100%; } }
    .qd::backdrop { transition: background-color var(--qd-time) ease, overlay var(--qd-time) allow-discrete, display var(--qd-time) allow-discrete; }
    @starting-style { .qd:popover-open::backdrop { background: rgb(0 0 0 / 0); } }
  }
}
@media (min-width: 48rem) {
  .qd { inset: auto 1.5rem 1.5rem auto; width: min(28rem, calc(100vw - 3rem)); max-height: min(88vh, 46rem); border-radius: 20px; box-shadow: 0 18px 50px rgb(0 0 0 / .3); }
  .qd::before { display: none; }
  @supports selector(:popover-open) {
    @media (prefers-reduced-motion: no-preference) {
      .qd { translate: 0 1.5rem; opacity: 0; transition: translate var(--qd-time) cubic-bezier(.2, .9, .25, 1), opacity var(--qd-time) ease, overlay var(--qd-time) allow-discrete, display var(--qd-time) allow-discrete; }
      .qd:popover-open { translate: 0 0; opacity: 1; }
      @starting-style { .qd:popover-open { translate: 0 1.5rem; opacity: 0; } }
    }
  }
}
@supports not selector(:popover-open) {
  .qd { position: static; max-height: none; border-radius: 16px; box-shadow: none; border: 1px solid rgb(0 0 0 / .15); margin: 2rem auto; max-width: 34rem; }
  .qd::before, .qd-close, .qd-open { display: none; }
  .qd-alt { display: inline; }
  .cb-foot .qd-alt, .mq-send .qd-alt { display: inline-flex; }
}

/* ---------- quote carry (library: quote carry) ---------- */
.carry-summary { margin: 0 0 .4rem; padding: .85rem 1rem .9rem; border-radius: 12px; border: 1px solid var(--line); border-left: 5px solid var(--orange); background: var(--card); }
.carry-summary[hidden] { display: none; }
.carry-title { margin: 0 0 .5rem; font: 600 .8rem/1.2 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--orange-ink); }
.carry-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.carry-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: .75rem; align-items: baseline; }
.carry-label { grid-column: 1; font-size: .8rem; color: var(--grey-ink); }
.carry-value { grid-column: 1; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; font-size: .95rem; }
.carry-remove { grid-column: 2; grid-row: 1 / span 2; align-self: center; min-height: 2.5rem; padding: .3rem .8rem; font: 600 .82rem/1 var(--body); color: var(--ink); background: transparent; border: 1px solid #b9b1a4; border-radius: 999px; cursor: pointer; }
.carry-sent { margin: .6rem 0 0; font-size: .82rem; color: var(--grey-ink); }
.carry-count { display: inline-grid; place-items: center; min-width: 1.4em; height: 1.4em; margin-left: .2em; padding: 0 .3em; border-radius: 999px; font-size: .8em; font-weight: 800; background: #fff; color: #1a1a1c; }
.carry-count[hidden] { display: none; }

/* ---------- photo carry (library: photo carry) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .pc-1 { view-transition-name: pc-1; } .pc-2 { view-transition-name: pc-2; } .pc-3 { view-transition-name: pc-3; } .pc-4 { view-transition-name: pc-4; }
  :is(.pc-1, .pc-2, .pc-3, .pc-4) { view-transition-class: pc; }
  ::view-transition-group(.pc) { animation-duration: var(--pc-time); animation-timing-function: cubic-bezier(.3, .1, .2, 1); z-index: 2; }
  ::view-transition-old(.pc), ::view-transition-new(.pc) { width: 100%; height: 100%; object-fit: cover; animation-duration: var(--pc-time); }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .3s; }
}

/* ---------- footer ---------- */
.site-foot { position: relative; background: var(--char); color: var(--on-dark-2); padding: 3.4rem 0 2.2rem; font-size: .95rem; }
.foot-sky { position: absolute; left: 0; right: 0; top: calc(-1 * clamp(1.4rem, 4vw, 2.4rem) + 1px); height: clamp(1.4rem, 4vw, 2.4rem); display: flex; align-items: flex-end; gap: clamp(3px, .6vw, 6px); padding: 0 var(--pad); pointer-events: none; }
.foot-sky i { display: block; flex: 1; height: 50%; background: var(--char); border-radius: 1px 1px 0 0; }
.foot-sky i:nth-child(6n+1) { height: 46%; } .foot-sky i:nth-child(6n+2) { height: 72%; } .foot-sky i:nth-child(6n+3) { height: 100%; }
.foot-sky i:nth-child(6n+4) { height: 70%; } .foot-sky i:nth-child(6n+5) { height: 30%; } .foot-sky i:nth-child(6n) { height: 58%; }
.on-dark + .site-foot .foot-sky, .clad + .site-foot .foot-sky { display: none; }
.foot-grid { display: grid; gap: 2rem; }
@media (min-width: 52rem) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; } }
.site-foot h2 { font-size: 1.05rem; letter-spacing: .1em; color: var(--on-dark); margin-bottom: .8rem; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.site-foot a { color: var(--on-dark); text-decoration-color: rgb(255 255 255 / .3); }
.site-foot a:hover { text-decoration-color: var(--orange); }
.foot-logo { display: inline-block; background: var(--paper); padding: .55rem .8rem; border-radius: 10px; margin-bottom: 1rem; }
.foot-logo img { height: 3.1rem; width: auto; }
.foot-tel { font: 600 1.5rem/1.1 var(--head); letter-spacing: .03em; color: var(--orange) !important; text-decoration: none; }
.foot-legal { margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px solid rgb(255 255 255 / .1); display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .84rem; color: var(--on-dark-2); }
.foot-legal p { margin: 0; }
.credit { margin-left: auto; opacity: .75; }
.credit a { color: inherit; }

/* ---------- 404 ---------- */
.lost { min-height: 70vh; display: grid; align-items: center; }
.lost .big-num { color: var(--orange-ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .cb-head-in, .cb-foot, .cb-foot :is(a, button), .btn, .type-card img, .gal img { transition: none !important; }
}
@media print {
  .cb-foot, .qd, .menu-btn, .doors, .pl { display: none !important; }
  .cb-head { position: static; }
  .hero { color: #000; background: none; }
}

/* ---------- finishes page details ---------- */
.fin-top { background: var(--char) url("/img/tex-maya-499.webp") 70% 40% / cover; position: relative; isolation: isolate; }
.fin-top::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(25 25 28 / .92) 0%, rgb(25 25 28 / .72) 55%, rgb(25 25 28 / .35)); }
.fin-top h1 { color: #fff; }
.fin-top .lede { color: #e6e2db; }
.fin-top .crumbs { color: #d8d4cd; }
.swatch-oak { background:
  repeating-linear-gradient(92deg, rgb(150 110 60 / .0) 0 9px, rgb(150 110 60 / .22) 9px 10px, rgb(150 110 60 / 0) 10px 23px, rgb(120 85 45 / .18) 23px 24px),
  repeating-linear-gradient(88deg, rgb(255 245 225 / .25) 0 40px, rgb(190 150 100 / .15) 40px 70px),
  linear-gradient(180deg, #dcc39d, #cfb287); }
.swatch-primed { background: radial-gradient(circle at 30% 30%, rgb(0 0 0 / .035) 0 1px, transparent 1.5px) 0 0 / 6px 6px, linear-gradient(160deg, #fbfaf7, #ecebe6); }
.swatch-type { display: grid; place-items: center; background: var(--char) url("/img/tex-cladding-dark-573.webp") center / 300px auto; }
.swatch-type span { font: 700 2.6rem/1 var(--head); text-transform: uppercase; letter-spacing: .06em; color: rgb(255 255 255 / .2); }
.h3 { font-size: clamp(1.4rem, 5vw, 1.8rem); }
.contact-form { padding: 1.4rem 1.3rem 1.5rem; }
.contact-form h2 { margin-bottom: .8rem; }
.on-dark .page-top, .page-top.on-dark { color: var(--on-dark-2); }
.room-body .link-arrow { align-self: flex-start; margin-top: .6rem; font-size: .95rem; }
.on-dark .room-body .link-arrow { color: var(--on-dark); }
.hero .btn-ghost { --bi: #fff; }
.hero .btn-ghost:hover { background: rgb(255 255 255 / .1); }
@media (max-width: 47.5rem) { .hero-in { padding-bottom: calc(5.4rem + env(safe-area-inset-bottom)); } }

/* footer, compact on a phone */
@media (max-width: 51.99rem) {
  .site-foot { padding-top: 2.6rem; font-size: .92rem; }
  .foot-grid { gap: 1.5rem; }
  .foot-logo { padding: .4rem .6rem; margin-bottom: .6rem; }
  .foot-logo img { height: 2.5rem; }
  .foot-tag { display: none; }
  .site-foot p { margin-bottom: .5rem; }
  .site-foot h2 { margin-bottom: .5rem; }
  .foot-doors { display: none; }
  .site-foot { padding-bottom: calc(5.6rem + env(safe-area-inset-bottom)) !important; }
  .foot-legal { margin-top: 1.4rem; }
}

@media (max-width: 55.99rem) { .range .type-card { aspect-ratio: 4 / 4.5; } }
.split > * { min-width: 0; }
.filters { min-width: 0; }
.sizes td:first-child { white-space: normal; min-width: 5.5rem; }
/* finishes: a compact card on a phone, picture beside the words */
@media (max-width: 35.99rem) {
  .swatch { display: grid; grid-template-columns: 7.2rem minmax(0, 1fr); }
  .swatch-face { aspect-ratio: auto; height: 100%; min-height: 9rem; }
  .swatch-body { padding: .85rem .9rem .9rem; gap: .25rem; }
  .swatch-body h3 { font-size: 1.15rem; }
  .swatch-body p { font-size: .9rem; line-height: 1.45; }
  .swatch-type span { font-size: 1.5rem; }
  .pick { padding-top: .3rem; }
}
.filters label { position: relative; }
.gallery.sec-tight { padding-top: 0; }
.pos-left { object-position: 12% 50%; }
