/* Layout: dark stone ground, full-bleed install photos, bands textured with his own panel shots.
   Accent: burnt caramel from Desert Ledge. Motion is kept to one load moment (the headline laid like
   stone courses) plus responses to taps: the sample board flip and the color strip opening.
   Deliberately single-theme (dark): the panel shots are photographed on black. */
:root {
  --ground: #1c1b19;
  --deep: #141311;
  --panel: #262522;
  --line: #3b3934;
  --text: #ece8e2;
  --muted: #bdb6ab;
  --amber: #c98a3e;
  --amber-hi: #e0a457;
  --amber-ink: #1c1b19;
  --sand: #d9c6a3;
  --ok: #9fc79a;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--text); font: 400 17px/1.55 var(--font); overflow-x: hidden; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.wrap { max-width: 1280px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { margin: 0; font-stretch: 125%; font-weight: 900; line-height: .95; letter-spacing: -.02em; text-wrap: balance; }
h2 { font-size: clamp(36px, 5.4vw, 72px); }
h3 { font-size: 20px; font-weight: 700; letter-spacing: 0; line-height: 1.1; }
p { margin: 0; }
.lede { color: var(--text); max-width: 46ch; font-size: 20px; }
main p { max-width: 65ch; }
.num { font-variant-numeric: tabular-nums; }

.note { padding-top: env(safe-area-inset-top, 0px); background: var(--amber); color: var(--amber-ink); font-size: 16px; font-weight: 600; }
.note .wrap { max-width: 1280px; }
.note .wrap { padding-block: 7px; }

/* Header */
header.site { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--deep); }
header.site .wrap { display: flex; align-items: center; gap: 28px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-stretch: 125%; font-weight: 900; font-size: 20px; letter-spacing: -.01em; }
.brand .mark { width: 40px; height: auto; flex: none; transition: transform .4s var(--ease); }
.brand:hover .mark { transform: translateY(-3px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .brand:hover .mark { transform: none; } }
nav.main { display: flex; gap: 26px; margin-left: auto; font-size: 16px; }
nav.main a { text-decoration: none; color: var(--muted); position: relative; padding-block: 4px; }
nav.main a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--text); }
nav.main a:hover::after, nav.main a[aria-current="page"]::after { transform: scaleX(1); }
.phone { font-size: 16px; font-weight: 600; white-space: nowrap; text-decoration: none; }
.phone:hover { color: var(--amber-hi); }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; border: 0; background: var(--panel); border-radius: 2px; padding: 8px 14px; cursor: pointer; font-size: 16px; font-weight: 600; white-space: nowrap; }
.cart-btn:hover { background: var(--line); }
.cart-btn .count, .actionbar .count { background: var(--amber); color: var(--amber-ink); min-width: 22px; height: 22px; border-radius: 11px; display: inline-grid; place-items: center; font-size: 14px; padding-inline: 6px; }
.cart-btn.bump .count { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }
@media (max-width: 920px) {
  header.site { position: relative; top: 0; }
  header.site .wrap { flex-wrap: wrap; row-gap: 0; }
  .phone { margin-left: auto; }
  nav.main { order: 3; flex-basis: 100%; margin-left: 0; gap: 22px; overflow-x: auto; scrollbar-width: none; padding-bottom: 10px; }
  nav.main::-webkit-scrollbar { display: none; }
  nav.main a { white-space: nowrap; }
}
@media (max-width: 460px) { header.site .phone { display: none; } .cart-btn { margin-left: auto; } .brand { font-size: 20px; white-space: nowrap; } header.site .wrap { gap: 16px; } }

.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 24px; border-radius: 2px; font-weight: 700; text-decoration: none; cursor: pointer; border: 0; font-size: 16px; overflow: hidden; transition: transform .2s var(--ease), background-color .2s; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-amber { background: var(--amber); color: var(--amber-ink); }
.btn-amber:hover { background: var(--amber-hi); }
@media (hover: hover) { .btn-amber:hover, .btn-line:hover { transform: translateY(-2px); } .dot:hover { transform: translateY(-3px); } }
.btn-line { background: rgb(236 232 226 / .16); }
.btn-line:hover { background: rgb(236 232 226 / .28); transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: clamp(600px, 88vh, 860px); display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 72%; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(20 19 17 / .64); }
.hero-bg, .pagehead > img { animation: settle 2.6s var(--ease) both; }
@keyframes settle { from { transform: scale(1.08); } }
.hero .wrap { width: 100%; padding-block: 64px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 48px; align-items: center; }
.hero .copy { display: grid; gap: 28px; min-width: 0; }
.hero h1 { font-size: clamp(44px, 5.4vw, 84px); line-height: .9; }
.hero h1 .course { white-space: nowrap; }
.hero h1 .course { display: block; overflow: hidden; padding-bottom: .04em; }
.hero h1 .course span { display: inline-block; animation: lay .9s var(--ease) both; }
.hero h1 .course:nth-child(1) span { animation-delay: .15s; }
.hero h1 .course:nth-child(2) span { animation-delay: .32s; animation-name: lay-r; }
.hero h1 .course:nth-child(3) span { animation-delay: .49s; }
.hero h1 .course:nth-child(2) { padding-left: .6em; }
@keyframes lay { from { transform: translateX(-60%); opacity: 0; } }
@keyframes lay-r { from { transform: translateX(60%); opacity: 0; } }
.hero .lede { color: #e3dbcf; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } }

/* 3D sample board */
.board { display: grid; gap: 18px; justify-items: center; }
/* The tag sits outside the 3D scene, so the turning slab can never pass through it. */
.board-stage { position: relative; width: min(100%, 380px); perspective: 1100px; }
.board-card { position: relative; width: 100%; aspect-ratio: 16 / 10; touch-action: pan-y; user-select: none; -webkit-user-select: none; transform: rotateY(var(--ry, -14deg)) rotateX(var(--rx, 6deg)); transform-style: preserve-3d; transition: transform .25s ease-out; }
/* The panel is a slab with two faces and stone edges. Each color change turns it half a turn, with the new
   color already on the far face, so the edge sweeps past and the new color comes around. */
.slab { --t: 18px; position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.25, .8, .25, 1); }
.slab .face { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: translateZ(calc(var(--t) / 2)) scale(1.04); backface-visibility: hidden; -webkit-backface-visibility: hidden; pointer-events: none; -webkit-user-drag: none; border-radius: 2px; }
.slab .back { transform: rotateY(180deg) translateZ(calc(var(--t) / 2)) scale(1.04); }
.slab .edge { position: absolute; background: linear-gradient(rgb(0 0 0 / .45), rgb(0 0 0 / .45)), var(--edge) center / cover; }
.slab .l, .slab .r { top: 0; bottom: 0; width: var(--t); }
.slab .t, .slab .b { left: 0; right: 0; height: var(--t); }
.slab .l { left: 0; transform-origin: left center; transform: translateZ(calc(var(--t) / 2)) rotateY(90deg); }
.slab .r { right: 0; transform-origin: right center; transform: translateZ(calc(var(--t) / 2)) rotateY(-90deg); }
.slab .t { top: 0; transform-origin: center top; transform: translateZ(calc(var(--t) / 2)) rotateX(-90deg); }
.slab .b { bottom: 0; transform-origin: center bottom; transform: translateZ(calc(var(--t) / 2)) rotateX(90deg); }
.board-stage .tab { position: absolute; z-index: 1; top: 14px; left: -10px; background: var(--amber); color: var(--amber-ink); font-weight: 800; font-size: 14px; padding: 6px 12px; pointer-events: none; }
.board-name { font-stretch: 125%; font-weight: 900; font-size: 28px; line-height: 1; }
.dots { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.dot { width: 36px; height: 36px; padding: 0; border-radius: 50%; overflow: hidden; border: 2px solid rgb(255 255 255 / .2); background: #000; cursor: pointer; transition: transform .2s var(--ease), border-color .2s; }
.dot img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.6); }
.dot[aria-checked="true"] { border-color: var(--amber); transform: scale(1.12); }
.board .btn { min-height: 46px; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-block: 48px 40px; gap: 40px; }
  .board-stage { width: min(100%, 320px); }
}

/* ---------- Color strip ---------- */
.strip-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; padding-block: 72px 28px; }
.strip { display: flex; gap: 3px; height: clamp(400px, 60vh, 600px); background: var(--deep); }
.slice { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; }
.slice img { transition: transform .8s var(--ease); }
.slice.open img { transform: scale(1.04); }
.slice.open { flex-grow: 5.5; }
.slice img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;  }
.slice-hit { position: absolute; inset: 0; z-index: 1; background: none; border: 0; cursor: pointer; }
.slice .tag { position: absolute; inset: 0; padding: 18px 12px; display: flex; align-items: flex-end; justify-content: center; pointer-events: none; background: rgb(0 0 0 / .3); }
.slice .tag b { writing-mode: vertical-rl; transform: rotate(180deg); font-stretch: 125%; font-weight: 900; font-size: 20px; color: var(--text); white-space: nowrap; }
.slice.open .tag { opacity: 0; }
.slice-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 24px 28px 28px; background: rgb(0 0 0 / .74); display: grid; gap: 12px; justify-items: start; display: none; }
.slice.open .slice-info { display: grid; animation: fade .45s .2s var(--ease) both; }
.slice-info b { font-stretch: 125%; font-weight: 900; font-size: clamp(30px, 3.6vw, 52px); line-height: .95; color: var(--text); }
.slice-info span { color: var(--text); font-size: 17px; }
.slice .new { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 2; background: var(--amber); color: var(--amber-ink); font-size: 14px; font-weight: 800; padding: 3px 8px; white-space: nowrap; pointer-events: none; }
.slice.open .new { left: 28px; transform: none; }
@media (max-width: 760px) {
  .strip { flex-direction: column; height: auto; }
  .slice { flex: none; height: 72px; }
  .slice.open { height: 360px; }
  .slice .tag { align-items: center; justify-content: flex-start; padding: 0 18px; background: rgb(0 0 0 / .42); }
  .slice .tag b { writing-mode: horizontal-tb; transform: none; }
  .slice .new { left: auto; right: 14px; top: 50%; transform: translateY(-50%); }
  .slice.open .new { top: 14px; right: 14px; left: auto; transform: none; }
  .slice-info { padding: 18px; }
}

/* ---------- Texture bands ---------- */
.texture { position: relative; background: var(--bg, none) center / cover var(--ground); isolation: isolate; }
.texture::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(20 19 17 / var(--veil, .84)); }

.specs .wrap { padding-block: 64px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.specs .wrap > div { display: grid; gap: 8px; min-width: 0; border-left: 3px solid var(--amber); padding-left: 18px; }
.specs b { font-stretch: 125%; font-weight: 900; font-size: clamp(36px, 5.4vw, 72px); line-height: .9; font-variant-numeric: tabular-nums; }
.specs b small { font-size: .42em; font-weight: 800; margin-left: 4px; color: var(--muted); }
.specs .wrap > div > span { color: var(--muted); font-size: 16px; }
@media (max-width: 760px) { .specs .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; padding-block: 48px; } }

section.block { padding-block: 72px; }
@media (max-width: 600px) { section.block { padding-block: 48px; } }
.head { display: grid; gap: 14px; margin-bottom: 32px; max-width: 760px; }
.rowhead { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.morelink { color: var(--amber); font-weight: 700; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }

/* Inner page headers on a photo */
.pagehead { position: relative; overflow: hidden; isolation: isolate; }
.pagehead > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.pagehead::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(20 19 17 / .66); }
.pagehead .wrap { padding-block: 96px 64px; display: grid; gap: 16px; }
.pagehead h1 { font-size: clamp(44px, 5.4vw, 84px); }
.pagehead h1 .course { display: block; overflow: hidden; }
.pagehead h1 .course span { display: inline-block; animation: lay .9s .1s var(--ease) both; }
.pagehead h1 .course:nth-child(2) span { animation-name: lay-r; animation-delay: .25s; }
.pagehead .lede { color: #e3dbcf; }
.crumbs { font-size: 16px; color: var(--text); }
.crumbs a { color: var(--text); }

/* Color grid with tilt */
.colors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 22px; }
@media (max-width: 960px) { .colors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; } }
.color { display: grid; gap: 12px; align-content: start; min-width: 0; perspective: 900px; }
.color figure { margin: 0; aspect-ratio: 3 / 2; display: grid; place-items: center; overflow: visible; position: relative; border-radius: 3px; transition: transform .3s var(--ease); }
.color:hover figure { transform: translateY(-4px); }
.color figure, .color h3 { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.color.in figure { outline: 3px solid var(--amber); outline-offset: 6px; }
.color figure img { width: 100%; height: 100%; object-fit: contain; }
.color .new { position: absolute; top: 10px; left: 10px; background: var(--amber); color: var(--amber-ink); font-size: 14px; font-weight: 800; padding: 3px 8px; }
.color .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.toggle { background: none; border: 0; padding: 4px 0; min-height: 44px; color: var(--amber); font-weight: 700; cursor: pointer; font-size: 16px; white-space: nowrap; }
.toggle:hover { color: var(--amber-hi); }
@media (max-width: 460px) { .color .meta { flex-direction: column; gap: 2px; } .color h3 { font-size: 17px; font-stretch: 112%; } }

/* Teaser + gallery */
.teaser { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 8px; height: clamp(340px, 48vw, 600px); }
.teaser figure, .work figure { margin: 0; overflow: hidden; position: relative; background: #000; min-width: 0; border-radius: 2px; }
.teaser img, .work img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
@media (hover: hover) { .teaser figure:hover img, .work figure:hover img { transform: scale(1.04); } }
.teaser figcaption, .work figcaption { position: absolute; left: 14px; bottom: 14px; background: var(--amber); color: var(--amber-ink); font-size: 14px; font-weight: 800; padding: 5px 12px; }
@media (max-width: 640px) { .teaser { grid-template-columns: 1fr 1fr; height: 460px; } .teaser figure:first-child { grid-column: span 2; } }
.work { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 340px; grid-auto-flow: row dense; gap: 8px; }
.work figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.work figure:nth-child(7), .work figure:nth-child(19) { grid-column: span 2; }
@media (max-width: 760px) { .work { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; } .work figure:nth-child(1), .work figure:nth-child(7), .work figure:nth-child(19), .work figure:last-child { grid-column: span 2; grid-row: auto; } }
.worklink { margin-top: 24px; display: inline-block; }
.worklink + .worklink { margin-left: 28px; }

/* Made in Warminster: copy, a muted loop of a real wall, two plant/job photos */
.made-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, .8fr); grid-template-rows: auto auto; gap: 8px; align-items: stretch; }
.made-copy { grid-row: span 2; display: grid; gap: 20px; align-content: center; padding-right: 40px; }
.made-copy > * { min-width: 0; }
.made-copy p { font-size: 20px; }
.made-grid figure { margin: 0; position: relative; overflow: hidden; background: #000; min-width: 0; border-radius: 2px; }
.made-video { grid-row: span 2; }
.made-grid video, .made-grid img { width: 100%; height: 100%; object-fit: cover; }
.made-grid figure:not(.made-video) { aspect-ratio: 4 / 5; }
.made-grid figcaption { position: absolute; left: 14px; bottom: 14px; background: var(--amber); color: var(--amber-ink); font-size: 14px; font-weight: 800; padding: 5px 12px; }
@media (max-width: 860px) {
  .made-grid { grid-template-columns: 1fr 1fr; }
  .made-copy { grid-column: span 2; grid-row: auto; padding-right: 0; padding-bottom: 16px; }
  .made-video { grid-row: span 2; }
}
@media (max-width: 560px) { .made-video { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 5; } }
.vid-toggle { position: absolute; right: 14px; bottom: 14px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgb(20 19 17 / .72); color: var(--text); cursor: pointer; }
.vid-toggle:hover { background: rgb(20 19 17 / .9); }

/* CTA band */
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; padding-block: 96px; }
.cta-band h2 { max-width: 16ch; font-size: clamp(32px, 5.4vw, 72px); }
.cta-band .ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Light sand band: tokens flip so components follow */
.band-sand { --panel: #e9dcc4; --line: #b9a685; --text: #1c1b19; --muted: #5a5246; background: var(--sand); color: var(--text); }

/* Forms */
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field > label, .field > .lbl { font-size: 16px; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; background: var(--panel); border: 0; border-bottom: 2px solid var(--text); border-radius: 0; padding: 12px; min-height: 52px; transition: border-color .2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--amber); }
.field [aria-invalid="true"] { border-bottom-color: #e07a5f; }
.field .hint { font-size: 14px; color: var(--muted); }
.check { display: flex; gap: 10px; align-items: center; font-size: 16px; }
.check input { width: 20px; height: 20px; accent-color: var(--amber); }

/* Calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.calc form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; }
@media (max-width: 600px) { .calc form { grid-template-columns: minmax(0, 1fr); } }
.calc-warn { grid-column: 1 / -1; margin: 0; padding: 10px 14px; background: rgb(224 122 95 / .16); font-weight: 600; }
.out { display: grid; gap: 20px; background: var(--ground); color: #ece8e2; padding: 32px; border-radius: 3px; }
.out h3 { color: #ece8e2; }
.out .big { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.out .big b { font-stretch: 125%; font-weight: 900; font-size: clamp(64px, 18vw, 140px); line-height: .8; font-variant-numeric: tabular-nums; color: var(--amber); }
.out .big b.tick { animation: tick .35s var(--ease); }
@keyframes tick { 40% { transform: translateY(-6px); color: var(--amber-hi); } }
.out .big span { font-size: 20px; color: #b3aa9c; }
.lines { margin: 0; display: grid; gap: 4px; }
.lines div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 14px; background: rgb(255 255 255 / .05); }
.lines dt { color: #d8d3cb; }
.lines dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
@media (max-width: 860px) { .calc { grid-template-columns: minmax(0, 1fr); gap: 56px; } .out { padding: 22px; } }

/* Quote */
.quote { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; }
.quote aside { display: grid; gap: 22px; align-content: start; }
.contact { margin: 0; display: grid; gap: 20px; }
.contact div { display: grid; gap: 2px; border-left: 3px solid var(--amber); padding-left: 14px; }
.contact dt { color: var(--muted); font-size: 14px; }
.contact dd { margin: 0; font-size: 20px; font-weight: 700; }
.quote form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; background: var(--panel); padding: 32px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.seg input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.seg label { background: var(--ground); padding: 10px 16px; font-size: 16px; cursor: pointer; border-radius: 2px; transition: background .2s, border-color .2s; }
.seg input:checked + label { background: var(--amber); color: var(--amber-ink); font-weight: 700; }
.seg input:focus-visible + label { outline: 2px solid var(--amber); outline-offset: 2px; }
.sent { grid-column: 1 / -1; border-left: 3px solid var(--ok); padding: 10px 14px; background: var(--ground); animation: fade .4s both; }
.sent.err { border-left-color: var(--amber); }
.fromcalc { grid-column: 1 / -1; border-left: 3px solid var(--amber); padding: 10px 14px; background: var(--ground); font-size: 16px; }
@media (max-width: 860px) { .quote { grid-template-columns: minmax(0, 1fr); gap: 32px; } .quote form { grid-template-columns: minmax(0, 1fr); padding: 20px; } }

footer { background: var(--deep); }
footer .lockup { width: 168px; height: auto; margin-bottom: 14px; mix-blend-mode: lighten; }
footer .wrap { padding-block: 48px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; font-size: 16px; color: var(--muted); }
footer .col { display: grid; gap: 6px; align-content: start; }
footer strong { color: var(--text); font-stretch: 125%; font-weight: 900; font-size: 28px; line-height: 1; }
@media (max-width: 700px) { footer .wrap { grid-template-columns: minmax(0, 1fr); } }


/* Sample cart */
.scrim { position: fixed; inset: 0; background: rgb(0 0 0 / .6); z-index: 40; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); z-index: 50; background: var(--panel); display: grid; grid-template-rows: auto 1fr auto; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); padding-right: env(safe-area-inset-right, 0px); transform: translateX(100%); transition: transform .4s var(--ease); }
.drawer.open { transform: none; box-shadow: -30px 0 60px -20px #000; } /* taste-skill-ignore: the open cart drawer is a real overlay */
body.locked { overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.drawer header { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; background: var(--ground); }
.drawer header h3 { font-size: 28px; font-weight: 900; }
.x { background: var(--panel); border: 0; width: 42px; height: 42px; cursor: pointer; font-size: 20px; line-height: 1; border-radius: 2px; }
.items { overflow-y: auto; padding: 10px 22px; display: grid; gap: 6px; align-content: start; }
.item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px; background: rgb(255 255 255 / .04); }
.item img { width: 64px; height: 64px; object-fit: contain; }
.item b { font-weight: 700; display: block; }
.qty { display: inline-flex; align-items: center; background: var(--ground); margin-top: 6px; }
.qty button { width: 42px; height: 42px; background: none; border: 0; cursor: pointer; font-size: 17px; }
.qty span { min-width: 22px; text-align: center; font-variant-numeric: tabular-nums; }
.amt { text-align: right; display: grid; gap: 8px; justify-items: end; font-variant-numeric: tabular-nums; }
.rm { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: 14px; padding: 0; }
.empty { color: var(--muted); padding-block: 32px; display: grid; gap: 14px; justify-items: start; }
.summary { padding: 18px 22px 22px; display: grid; gap: 10px; background: var(--ground); }
.summary .ln { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.summary .ln.muted { color: var(--muted); }
.summary .ln.tot { padding-top: 8px; font-weight: 800; font-size: 20px; }
.summary .btn { width: 100%; margin-top: 6px; }
.summary .btn[disabled] { opacity: .4; cursor: not-allowed; }
.summary small { color: var(--muted); font-size: 14px; }
.handoff { border-left: 3px solid var(--amber); padding: 8px 12px; font-size: 14px; background: var(--panel); }

.actionbar { display: none; }
@media (max-width: 700px) {
  .actionbar { display: grid; grid-template-columns: auto 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--panel); padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
  .actionbar { transition: transform .3s var(--ease); }
  .actionbar.tuck { transform: translateY(110%); }
  .actionbar .btn { min-height: 46px; padding: 10px; }
  footer { padding-bottom: 72px; }
}

.rise-ready .rise { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease) var(--d, 0ms), transform .75s var(--ease) var(--d, 0ms); }
.rise-ready .rise.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .board-card { transform: none; }
  .rise-ready .rise { opacity: 1; transform: none; }
}
@media (max-width: 560px) { .hero h1, .pagehead h1 { font-size: 10.5vw; font-stretch: 112%; } .hero .copy { grid-template-columns: minmax(0, 1fr); } }

/* Icons (Phosphor bold, inline sprite) */
.i { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }
.btn, .phone, .cart-btn, .toggle, .seg label, .ico, .contact dt { display: inline-flex; align-items: center; gap: .5em; }
.btn .i { width: 1.25em; height: 1.25em; }
.phone .i, .contact dt .i { color: var(--amber); }
.specs .wrap > div > .i { width: 34px; height: 34px; color: var(--amber); }
footer .ico .i { color: var(--amber); margin-top: .15em; }
footer .ico { align-items: flex-start; }
.sent.ico { display: flex; gap: .6em; }
.sent .i { color: var(--ok); margin-top: .2em; }

/* Calculator: how to measure */
.measure { display: grid; gap: 24px; }
.measure ol { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; counter-reset: step; }
.measure li { background: var(--panel); display: grid; gap: 8px; align-content: start; padding-bottom: 24px; }
.measure li > :not(figure) { margin-inline: 24px; }
.measure figure { margin: 0 0 12px; aspect-ratio: 4 / 3; overflow: hidden; }
.measure figure img { width: 100%; height: 100%; object-fit: cover; }
.measure li b { font-stretch: 112%; font-size: 20px; }
@media (max-width: 760px) { .measure ol { grid-template-columns: minmax(0, 1fr); } }

/* Quote: plant to wall */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.steps figure { margin: 0; position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--deep); }
.steps img { width: 100%; height: 100%; object-fit: cover; }
.steps figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; background: rgb(20 19 17 / .78); display: grid; gap: 4px; }
.steps figcaption b { font-stretch: 112%; font-size: 20px; }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } .steps figure { aspect-ratio: 4 / 3; } }

@media (max-width: 460px) { .cart-btn .lbl { display: none; } .cart-btn { padding: 8px 10px; } }
.actionbar .btn { white-space: nowrap; }

.dims { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.dims div { background: var(--panel); padding: 18px 20px; display: grid; gap: 4px; align-content: start; }
.dims dt { font-weight: 700; }
.dims dd { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .dims { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .dims { grid-template-columns: minmax(0, 1fr); } }

/* See it on your wall */
.vis { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.vis-frame { position: relative; background: var(--deep); border-radius: 2px; overflow: hidden; aspect-ratio: 4 / 3; display: grid; }
.vis-frame.has-photo { aspect-ratio: auto; }
.vis-frame canvas { width: auto; max-width: 100%; max-height: 75vh; height: auto; margin-inline: auto; display: block; grid-area: 1 / 1; touch-action: manipulation; cursor: crosshair; }
.vis-frame:not(.has-photo) canvas { visibility: hidden; }
.vis-empty { grid-area: 1 / 1; display: flex; flex-wrap: wrap; gap: 12px; align-content: center; justify-content: center; padding: 24px; text-align: center; }
.vis-empty p { flex-basis: 100%; margin: 4px 0 0; color: var(--muted); font-size: 16px; }
.vis-empty label { cursor: pointer; }
.vis-status { min-height: 1.5em; margin: 12px 0 0; font-size: 16px; color: var(--muted); }
.vis-steps { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 861px) { .vis-stage { position: sticky; top: 84px; } }
.vis-step h2 { font-size: 20px; margin: 0 0 8px; }
.vis-step p { margin: 0 0 12px; font-size: 16px; color: var(--text); }
.vis-row { display: flex; flex-wrap: wrap; gap: 8px; }
.vis-row .btn:disabled { opacity: .45; cursor: not-allowed; }
.vis-note { margin-top: 12px !important; }
.vis-colors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.vis-colors button { background: none; border: 2px solid transparent; padding: 0; cursor: pointer; display: grid; gap: 4px; text-align: left; font-size: 14px; font-weight: 700; border-radius: 2px; }
.vis-colors button img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; }
.vis-colors button span { padding: 0 4px 4px; }
.vis-colors button[aria-checked="true"] { border-color: var(--amber); }
.vis-lead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.vis-lead h2 { margin: 0 0 12px; }
.vis-lead form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vis-lead form .btn, .vis-lead form .vis-status { grid-column: 1 / -1; }
@media (max-width: 860px) { .vis, .vis-lead { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 460px) { .vis-lead form { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) { nav.main a[href="/quote"] { display: none; } }
.vis-frame.comparing canvas { cursor: ew-resize; touch-action: pan-y; }
/* The wipe is dragged on the photo itself; the range stays for keyboards and shows only when focused. */
.vis-slider { position: absolute; width: 1px; height: 1px; opacity: 0; accent-color: var(--amber); }
.vis-slider:focus-visible { position: static; width: 100%; height: 28px; margin: 14px 0 0; opacity: 1; }
.vis-examples { flex-basis: 100%; display: grid; gap: 10px; margin-top: 12px; }
.vis-examples > span { font-size: 14px; font-weight: 700; color: var(--muted); }
#visExamples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
#visExamples button { background: none; border: 0; padding: 0; cursor: pointer; display: grid; gap: 4px; font-size: 14px; font-weight: 700; text-align: left; }
#visExamples img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; transition: opacity .2s; }
@media (hover: hover) { #visExamples button:hover img { opacity: .8; } }
.vis-frame:not(.has-photo) { aspect-ratio: auto; min-height: 420px; }
@media (max-width: 460px) { nav.main { gap: 16px; } }
.contact dd.txt { font-weight: 400; font-size: 16px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 40px; align-items: start; }
.faq-head { display: grid; gap: 16px; justify-items: start; position: sticky; top: 100px; }
.faq-head h2 { margin: 0; }
.faq-head p { margin: 0; font-size: 20px; color: var(--muted); max-width: 30ch; }
@media (max-width: 860px) { .faq-head { position: static; } }
.faq-list { display: grid; gap: 8px; }
.faq details { background: var(--panel); border-radius: 2px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-size: 20px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--amber); font-size: 28px; font-weight: 400; transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 20px; max-width: 65ch; color: var(--text); font-size: 17px; }
.faq details a { color: var(--amber-hi); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.thanks { padding-block: 120px; } .thanks h1 { margin: 0 0 20px; } .thanks .lede { max-width: 50ch; margin: 0 0 28px; }

/* Google reviews */
.hero-reviews { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-weight: 700; color: #e3dbcf; text-decoration: underline; text-underline-offset: 4px; }
.hero-reviews .i { color: var(--amber-hi); }
.reviews { background: var(--amber); color: var(--amber-ink); }
.reviews-in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.reviews h2 { margin: 0 0 12px; }
.reviews p { margin: 0; font-size: 20px; max-width: 46ch; }
.reviews-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.reviews .btn-amber { background: var(--amber-ink); color: var(--text); }
.reviews .btn-amber:hover { background: #000; }
.reviews .btn-line { background: transparent; color: var(--amber-ink); outline: 2px solid var(--amber-ink); outline-offset: -2px; }
@media (max-width: 860px) { .reviews-in { grid-template-columns: minmax(0, 1fr); } .reviews-ctas { justify-content: flex-start; } }

/* AI render in progress */
.vis-frame.rendering canvas { animation: visPulse 1.6s ease-in-out infinite; }
.vis-places { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(96px, 30%), 1fr)); min-width: 0; gap: 8px; margin: 12px 0; }
.vis-places button { font: inherit; font-size: 14px; font-weight: 600; padding: 8px 6px 10px; border-radius: 6px; border: 0; background: rgba(255,255,255,.06); color: inherit; cursor: pointer; display: grid; gap: 6px; justify-items: center; transition: background-color .15s ease, transform .15s ease; }
.vis-places button:active { transform: scale(.97); }
.vis-places button svg { width: 100%; max-width: 110px; height: auto; }
.vis-places .ln { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; opacity: .75; }
.vis-places .op { fill: rgba(255,255,255,.12); stroke: currentColor; stroke-width: 1.5; opacity: .75; }
.vis-places .op.dark { fill: #141311; }
.vis-places .mantel { fill: #141311; opacity: 1; }
.vis-places .st { fill: url(#stoneCourses); }
.vis-places button:hover { background: rgba(255,255,255,.11); }
.vis-places button[aria-checked="true"] { background: rgba(201,138,62,.3); }
.vis-places button[aria-checked="true"] span { color: var(--amber-hi); }
.vis-note-field { display: grid; gap: 6px; margin: 4px 0 12px; font-size: 15px; }
.vis-note-field span { opacity: .7; }
.vis-note-field input { font: inherit; font-size: 16px; padding: 12px; border-radius: 4px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: inherit; }
.vis-hint { font-size: 14px; opacity: .8; margin: 0 0 8px; }
.vis-plan { margin-top: 16px; padding: 16px; background: rgba(255,255,255,.07); font-size: 16px; line-height: 1.5; display: grid; gap: 10px; }
.vis-plan b { display: block; }
.vis-loading { grid-area: 1 / 1; align-self: stretch; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 16px; padding: 24px;
  text-align: center; color: #fff; background: rgba(20, 19, 17, .74); }
.vis-loading[hidden] { display: none; }
.vis-loading strong { font-size: clamp(18px, 4.5vw, 24px); line-height: 1.25; }
.vis-loading span { font-size: 16px; }
.vis-loading .wall { width: min(240px, 60vw); display: grid; gap: 3px; }
.vis-loading .wall div { display: grid; gap: 3px; }
.vis-loading .wall i { height: 14px; background: rgba(255, 255, 255, .14); transition: background-color .35s ease; }
.vis-loading .wall i.on { background: var(--amber); }
.vis-loading .wall div:nth-child(odd) i.on:nth-child(even) { background: var(--amber-hi); }
@keyframes visPulse { 50% { opacity: .82; } }
@media (prefers-reduced-motion: reduce) { .vis-frame.rendering canvas { animation: none; } }
/* Samples page: a "View cart" button floats at the bottom once a color is picked. Centered with margins, not a
   transform, because the shared button hover lift replaces the transform and would shove it sideways. */
.viewcart-float { position: fixed; left: 0; right: 0; margin-inline: auto; width: fit-content; bottom: 24px; z-index: 30; min-height: 52px; padding-inline: 22px; box-shadow: 0 10px 30px rgb(0 0 0 / .35); animation: floatIn .3s var(--ease); }
@keyframes floatIn { from { opacity: 0; transform: translateY(14px); } }
@media (max-width: 700px) { .viewcart-float { display: none; } }
#viewCart .count { background: var(--amber-ink); color: var(--amber); min-width: 22px; height: 22px; border-radius: 11px; display: inline-grid; place-items: center; font-size: 14px; padding-inline: 6px; }
