/* Kokomo Grills (retail site, www.kokomogrillsdirect.com)
   ------------------------------------------------------------------------
   TYPE, read off their logo. The logo has two voices: "KoKoMo" in heavy,
   flared mid-century display capitals with small round o's, and "Grills"
   beside it in a bold casual brush script, under a palm. The name is the
   dominant voice; the script is the gesture.
     display  League Spartan 600-800 mid-century geometric, the big round O's of "KoKoMo"
     body     Plus Jakarta Sans 400  a clean humanist sans for reading and the UI
     labels   Plus Jakarta Sans 700, capitals, lightly tracked (never mono)
     beat     Kaushan Script         a brush script like "Grills", ONE phrase in the hero only
   Oct 28 2026: Alex did not love the first pass (Grandstander + Pacifico,
   data/type/specimen_candidates.png): copying the logo's bounce read young
   for a $10,000 island. He picked this pairing from four rendered on the real
   homepage (data/type/specimen_options_oct28.png). The logo keeps the tiki
   voice; the page type echoes one trait of it and stays grown-up. Neither
   face is used on another site in the family. Their dealer site uses Wix's
   Barlow, DIN and Helvetica.
   PALETTE: the logo's black and their red (#ED1C24 on their site, deepened
   here so it holds contrast on sand) on a warm desert-sand ground, with coal
   for the chrome (utility bar, footer, tab bar). Palm green is a small accent.
   ------------------------------------------------------------------------ */

:root {
  --paper: #F6F0E6;
  --paper-2: #EDE3D3;
  --dune: #E3D3BA;
  --card: #FFFDF8;
  --ink: #1E1914;
  --ink-2: #453C33;
  --ink-3: #6B6056;
  --red: #C51F28;
  --red-2: #A0161E;
  --red-lt: #FF968D;
  --palm: #24533F;
  --palm-lt: #9ED3B6;
  --coal: #1B1714;
  --coal-2: #2A231E;
  --cream: #F8F2E8;
  --cream-2: #DCD2C4;
  --sun: #E3A137;
  --line: rgba(30, 25, 20, .13);
  --line-2: rgba(30, 25, 20, .24);
  --display: "League Spartan", "Century Gothic", system-ui, sans-serif;
  --text: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --script: "Kaushan Script", "Brush Script MT", cursive;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 48px);
  --radius: 6px;
  --head-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font: 400 1.0625rem/1.7 var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--red-2); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--red); }
p { margin: 0 0 1.05em; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0 0 .5em; letter-spacing: -.005em; }
/* League Spartan's ink spans 0.99em (ascent .77 + descent .22, measured in Chrome), so no heading line
   goes under 1.02; render_check.py's "ink" probe holds every letter to it */
h1 { font-size: clamp(2.2rem, 1.35rem + 3vw, 4.1rem); line-height: 1.06; font-weight: 800; letter-spacing: -.015em; }
h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.6rem); line-height: 1.1; font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); line-height: 1.22; font-weight: 700; }
em, i { font-style: italic; }
strong { font-weight: 700; color: var(--ink); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 780px; }
.eyebrow {
  display: block; margin: 0 0 .85rem;
  font: 700 .8rem/1.3 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--red-2);
}
.lede { font-size: clamp(1.08rem, 1rem + .35vw, 1.26rem); line-height: 1.62; color: var(--ink-2); max-width: 44rem; }
/* Kaushan's ink spans 1.24em */
.beat { font-family: var(--script); font-weight: 400; line-height: 1.35; }
h1, h2, .beat { text-wrap: balance; }
.section { padding: clamp(60px, 8vw, 116px) 0; }
.section--tight { padding: clamp(40px, 5vw, 72px) 0; }
.band-paper { background: var(--paper-2); }
.band-dune { background: var(--dune); }
.center { text-align: center; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--ink); color: var(--cream); border-radius: var(--radius); }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px 40px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 40px); }
.section-head h2 { margin: 0; max-width: 26ch; }

/* ------------------------------------------------------------- buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 50px; padding: .8em 1.5em;
  font: 700 .95rem/1.2 var(--text); letter-spacing: .01em; white-space: nowrap;
  border: 1px solid var(--red); border-radius: 999px;
  background: var(--red); color: #fff; text-decoration: none; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.btn:hover { background: var(--red-2); border-color: var(--red-2); color: #fff; }
.btn-line { background: transparent; color: var(--red-2); border-color: var(--red-2); }
.btn-line:hover { background: var(--red-2); color: #fff; }
.btn-light { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-ghost { background: transparent; border-color: rgba(248, 242, 232, .8); color: var(--cream); }
.btn-ghost:hover { background: rgba(248, 242, 232, .14); border-color: var(--cream); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.more { font: 700 .95rem/1.3 var(--text); text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; gap: .4em; color: var(--red-2); }
.more::after { content: "\2192"; transition: transform .25s; }
.more:hover::after { transform: translateX(4px); }

/* ------------------------------------------------------- utility bar ---- */
.utility { background: var(--coal); color: var(--cream-2); font-size: .86rem; }
.utility-in { max-width: 1320px; margin: 0 auto; padding: 0 var(--gut); min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.utility p { margin: 0; display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.utility a { color: var(--cream); text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.utility a:hover { text-decoration: underline; color: #fff; }
.utility strong { color: var(--cream); font-weight: 700; }

/* ------------------------------------------------------------ masthead --- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 253, 248, .93);
  -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(30, 25, 20, .08); }
.header-in {
  max-width: 1320px; margin: 0 auto; padding: 0 var(--gut);
  height: var(--head-h);
  display: flex; align-items: center; gap: clamp(14px, 1.6vw, 24px);
  transition: height .3s;
}
.site-header.is-stuck .header-in { height: 72px; }
.brand { display: block; line-height: 0; flex: none; }
.brand img { height: 64px; width: auto; transition: height .3s; }
.site-header.is-stuck .brand img { height: 52px; }
.nav-desk { display: flex; align-items: center; gap: clamp(12px, 1.3vw, 22px); margin-left: auto; }
.nav-desk a {
  font: 600 .96rem/1 var(--text); white-space: nowrap;
  color: var(--ink); text-decoration: none; padding: 10px 0; border-bottom: 2px solid transparent;
}
.nav-desk a:hover, .nav-desk a[aria-current="page"] { color: var(--red-2); border-bottom-color: currentColor; }
.head-act { display: flex; align-items: center; gap: 12px; flex: none; }
.head-act .btn { min-height: 46px; padding: .65em 1.25em; }
.head-call { font: 700 .95rem/1.2 var(--text); color: var(--ink); text-decoration: none; display: inline-flex; flex-direction: column; align-items: flex-end; min-height: 44px; justify-content: center; }
.head-call small { font: 600 .72rem/1.2 var(--text); color: var(--ink-3); letter-spacing: .04em; text-transform: uppercase; }
.head-call:hover { color: var(--red-2); }
.burger {
  display: none;
  width: 48px; height: 48px; border: 1px solid var(--line-2); border-radius: 999px;
  background: transparent; color: var(--ink); cursor: pointer; align-items: center; justify-content: center;
}
.burger svg { width: 22px; height: 22px; }

/* -------------------------------------------------------------- drawer --- */
.drawer { position: fixed; inset: 0; z-index: 120; visibility: hidden; pointer-events: none; }
.drawer[data-open="true"] { visibility: visible; pointer-events: auto; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(27, 23, 20, .5); opacity: 0; transition: opacity .3s; }
.drawer[data-open="true"] .drawer-scrim { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw);
  background: var(--card); box-shadow: -12px 0 40px rgba(27, 23, 20, .25);
  display: flex; flex-direction: column; padding: 16px 22px calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; transform: scale(.97); transform-origin: right center; transition: opacity .28s, transform .28s;
}
.drawer[data-open="true"] .drawer-panel { opacity: 1; transform: none; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.drawer-top img { height: 52px; width: auto; }
.drawer-close { width: 48px; height: 48px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.drawer-close svg { width: 20px; height: 20px; }
.drawer-nav { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.drawer-nav a { display: flex; align-items: center; min-height: 54px; border-bottom: 1px solid var(--line); font: 600 1.18rem/1.4 var(--display); color: var(--ink); text-decoration: none; }
.drawer-nav a[aria-current="page"] { color: var(--red-2); }
.drawer-foot { margin-top: 20px; font-size: .98rem; line-height: 1.6; color: var(--ink-2); }
.drawer-foot a { display: inline-flex; align-items: center; min-height: 44px; }
.drawer-foot p { margin: 0 0 4px; }
.drawer-foot .btn { width: 100%; margin-top: 12px; color: #fff; }

/* --------------------------------------------------------------- hero ---- */
.hero { position: relative; overflow: hidden; background: var(--coal); color: var(--cream); min-height: clamp(560px, calc(100svh - var(--head-h) - 38px), 860px); display: flex; align-items: flex-end; }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media picture { display: block; width: 100%; height: 100%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; transform: scale(1.12); transform-origin: 50% 40%; will-change: transform; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to right, rgba(20, 16, 13, .9) 0%, rgba(20, 16, 13, .84) 34%, rgba(20, 16, 13, .62) 45%, rgba(20, 16, 13, .2) 54%, rgba(20, 16, 13, 0) 62%),
    radial-gradient(ellipse 46% 40% at 0% 100%, rgba(20, 16, 13, .5), rgba(20, 16, 13, 0));
}
.hero-copy { position: relative; z-index: 2; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut) clamp(44px, 7vw, 92px); }
.hero-copy > * { max-width: 32rem; }
.hero h1 { color: #FFFCF6; margin-bottom: .2em; text-shadow: 0 2px 26px rgba(0, 0, 0, .35); }
.hero .beat { display: block; font-size: clamp(1.3rem, 1.05rem + 1vw, 1.95rem); color: #FFC9A8; margin: 0 0 .9rem; }
.hero .lede { color: #F3EBDF; margin-bottom: 1.6rem; }
/* Laptop screens are short (1366 x 768, 1280 x 720, and 1270 x 640 on a 1920 x 1200 screen at 150%), so
   the words outgrow the hero and ride up against the header. Keep a gap above the headline and let the
   headline shrink with the screen's height, so both buttons stay above the fold. */
@media (min-width: 861px) {
  .hero-copy { padding-top: clamp(32px, 5svh, 72px); }
  .hero h1 { font-size: max(2.2rem, min(1.35rem + 3vw, 4.1rem, 8.1svh)); }
}

/* --------------------------------------------------- quick visit strip -- */
.quick { background: var(--card); border-bottom: 1px solid var(--line); }
.quick-in { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 2.15fr); gap: clamp(20px, 3.4vw, 56px); align-items: center; padding-top: clamp(28px, 4vw, 46px); padding-bottom: clamp(28px, 4vw, 46px); }
.quick h2 { font-size: clamp(1.4rem, 1.15rem + .9vw, 1.9rem); margin-bottom: .3em; }
.quick p { margin: 0; }

/* ------------------------------------------------------- page heads ------ */
.pagehead { padding: clamp(34px, 4.4vw, 60px) 0 clamp(26px, 3.4vw, 44px); border-bottom: 1px solid var(--line); background: var(--paper); }
.pagehead h1 { max-width: 22ch; font-size: clamp(2.05rem, 1.3rem + 2.2vw, 3.3rem); }
.pagehead .lede { margin-top: .6rem; }
.pagehead .beat { display: block; font-size: clamp(1.15rem, 1rem + .55vw, 1.45rem); color: var(--red-2); margin: -.1em 0 .8rem; }
.pagehead--img .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.pagehead-fig { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.pagehead-fig picture { display: block; width: 100%; height: 100%; }
.pagehead-fig img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5em; margin: 0 0 1.2rem; padding: 0; list-style: none; font-size: .88rem; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: .5em; color: var(--ink-3); }
.crumbs a { color: var(--ink-3); text-decoration: none; display: inline-flex; min-height: 24px; align-items: center; }
.crumbs a:hover { color: var(--red-2); }
.ph-cta { margin-top: 18px; }

/* -------------------------------------------------------------- forms ---- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1.15fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font: 700 .86rem/1.3 var(--text); color: var(--ink); }
.field label .opt, .field .label .opt { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; min-height: 50px; padding: 12px 14px;
  font: 400 16px/1.4 var(--text); color: var(--ink);
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius);
  -webkit-appearance: none; appearance: none;
}
.field select {
  padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(197, 31, 40, .14); }
.field-note { margin: 0; font-size: .86rem; color: var(--ink-3); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.form-privacy { margin: 0; font-size: .88rem; color: var(--ink-3); }
.form-privacy a { color: var(--ink-3); display: inline-flex; min-height: 24px; align-items: center; }
.form-error { margin: 0; padding: 12px 14px; border-left: 3px solid var(--red); background: rgba(197, 31, 40, .06); color: var(--ink); font-size: .95rem; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); box-shadow: 0 18px 40px rgba(30, 25, 20, .06); }
.form-card h2 { font-size: clamp(1.4rem, 1.15rem + .8vw, 1.85rem); margin-bottom: .3em; }
.form-card .form-intro { margin-bottom: 18px; }
.form-card .form-intro p { margin: 0; }
.form-legend { margin: 6px 0 -4px; padding-top: 14px; border-top: 1px solid var(--line); font: 700 .8rem/1.3 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--red-2); }

/* showroom choice */
.rooms { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 8px; }
.rooms legend { padding: 0; margin-bottom: 6px; font: 700 .86rem/1.3 var(--text); color: var(--ink); }
.rooms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }   /* three across in a wide form, stacked in a narrow one */
.room { position: relative; display: block; cursor: pointer; }
.room input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.room-box { display: grid; gap: 2px; height: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; font-size: .9rem; line-height: 1.4; color: var(--ink-2); transition: border-color .2s, box-shadow .2s; }
.room-box b { font: 700 1rem/1.3 var(--text); color: var(--ink); }
.room-tag { justify-self: start; margin-bottom: 2px; padding: 2px 8px; border-radius: 999px; background: var(--palm); color: #fff; font: 700 .7rem/1.4 var(--text); letter-spacing: .06em; text-transform: uppercase; }
.room input:checked + .room-box { border-color: var(--red); box-shadow: 0 0 0 2px var(--red) inset; }
.room input:focus-visible + .room-box { outline: 2px solid var(--red); outline-offset: 2px; }

/* photo uploader (several photos, each sent as its own field) + visit date */
.field label.filedrop {
  display: flex; align-items: center; gap: 14px; min-height: 80px; padding: 14px 16px;
  border: 1px dashed var(--line-2); border-radius: var(--radius); background: #fff; cursor: pointer;
  font: 400 .98rem/1.4 var(--text); color: var(--ink-2); letter-spacing: 0; text-transform: none;
}
.field label.filedrop:hover, .filedrop.is-over { border-color: var(--red); background: #FFF7F3; }
.filedrop svg { width: 28px; height: 28px; flex: none; color: var(--red); }
.filedrop-name { display: block; font-size: .88rem; color: var(--ink-3); }
.field input.filedrop-input { position: absolute !important; width: 1px; height: 1px; min-height: 0; opacity: 0; padding: 0; border: 0; overflow: hidden; }
.field input.filedrop-more { display: none; }
.filedrop-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 0; padding: 0; list-style: none; }
.filedrop-list li { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 4px 10px; padding: 6px 40px 6px 6px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-size: .84rem; color: var(--ink-3); max-width: 100%; }
.filedrop-list img { width: 56px; height: 56px; object-fit: cover; border-radius: 4px; grid-row: span 2; }
.filedrop-list b { font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.filedrop-x { position: absolute; top: 50%; right: 4px; transform: translateY(-50%); width: 32px; height: 32px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-3); cursor: pointer; font-size: 1.2rem; line-height: 1; }
.filedrop-x:hover { background: var(--paper-2); color: var(--ink); }
.filedrop-msg { margin: 0; font-size: .9rem; color: var(--ink); }
.datepick { position: relative; }
.datepick-btn { width: 100%; min-height: 50px; padding: 12px 14px; text-align: left; font: 400 16px/1.4 var(--text); color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); cursor: pointer; }
.datepick-btn.is-empty { color: var(--ink-3); }
.dp-pop { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; width: min(320px, 86vw); background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: 0 18px 40px rgba(30, 25, 20, .16); padding: 12px; }
.dp-pop[hidden] { display: none; }
.dp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-weight: 700; color: var(--ink); }
.dp-nav { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; font-size: 1.1rem; color: var(--ink); }
.dp-nav:disabled { opacity: .35; cursor: default; }
.dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; }
.dp-dow { font-size: .74rem; color: var(--ink-3); padding: 4px 0; }
.dp-day { min-height: 38px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font: 600 .95rem/1 var(--text); color: var(--ink); }
.dp-day:hover:not(:disabled) { background: var(--paper-2); }
.dp-day:disabled { color: #C7BEB3; cursor: default; }
.dp-day.is-sel { background: var(--red); color: #fff; }
.dp-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; font-size: .84rem; color: var(--ink-3); }
.dp-clear { border: 0; background: transparent; color: var(--red-2); cursor: pointer; font: 700 .88rem/1 var(--text); min-height: 32px; }

/* ----------------------------------------------------------- lookbook ---- */
.tiles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.8vw, 22px); }
.tile { position: relative; display: block; overflow: hidden; border-radius: var(--radius); text-decoration: none; color: #fff; background: var(--coal); min-height: 300px; }
.tile:nth-child(1) { grid-column: span 7; min-height: 460px; }
.tile:nth-child(2) { grid-column: span 5; }
.tile:nth-child(3) { grid-column: span 5; }
.tile:nth-child(4) { grid-column: span 7; }
.tile-img { position: absolute; inset: 0; }
.tile-img picture { display: block; width: 100%; height: 100%; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.tile:hover .tile-img img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 16, 13, .8) 0%, rgba(20, 16, 13, .3) 42%, rgba(20, 16, 13, 0) 66%); pointer-events: none; }
.tile-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(18px, 2.4vw, 30px); }
.tile-cap h3 { color: #fff; font-weight: 700; font-size: clamp(1.35rem, 1.1rem + .9vw, 1.95rem); margin: 0 0 4px; }
.tile-cap span { display: inline-flex; align-items: center; gap: .4em; font-size: .95rem; color: #F3E8DB; }
.tile-cap span::after { content: "\2192"; }

/* --------------------------------------------------------------- steps ---- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 30px); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 22px 20px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); counter-increment: step; }
.steps li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 12px; border-radius: 999px; background: var(--red); color: #fff; font: 700 1.1rem/1 var(--display); }
.steps h3 { margin: 0 0 6px; }
.steps p { margin: 0; font-size: .98rem; }
.policy { margin: clamp(24px, 3vw, 36px) 0 0; padding: 18px 22px; border-left: 3px solid var(--palm); background: var(--card); border-radius: 0 var(--radius) var(--radius) 0; max-width: 54rem; }
.policy p { margin: 0; color: var(--ink); }
.policy p + p { margin-top: .5em; color: var(--ink-2); }

/* --------------------------------------------------------- statement ---- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5.6vw, 88px); align-items: start; }
.split > * { min-width: 0; }
.split--center { align-items: center; }
.split--wide { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }

/* ---------------------------------------------------------------- facts --- */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); margin: 0; padding: 0; list-style: none; }
.facts li { padding: 20px 22px; border-top: 3px solid var(--red); background: var(--card); border-radius: 0 0 var(--radius) var(--radius); }
.facts b { display: block; font: 700 clamp(1.2rem, 1.05rem + .5vw, 1.45rem)/1.3 var(--display); color: var(--ink); margin-bottom: 4px; }
.facts span { font-size: .98rem; color: var(--ink-2); }

/* ---------------------------------------------------------------- cards --- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 30px); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink-2); text-decoration: none; transition: box-shadow .3s, transform .3s; }
a.card:hover { box-shadow: 0 18px 42px rgba(30, 25, 20, .1); transform: translateY(-2px); }
.card-img { overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.card-img picture { display: block; width: 100%; height: 100%; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img.is-white { background: #fff; }
.card-img.is-white img { object-fit: contain; padding: 6%; }
.card-body { padding: clamp(16px, 2vw, 24px); display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 { margin: 0; }
.card-body p { margin: 0; font-size: .98rem; }
.card-body .more { margin-top: auto; padding-top: 8px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; }
.card-tags li { padding: 3px 10px; border-radius: 999px; background: var(--paper-2); font-size: .8rem; font-weight: 600; color: var(--ink-2); }

/* ---------------------------------------------------------- showrooms ---- */
.rooms-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 30px); }
.rooms-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.showroom { display: flex; flex-direction: column; gap: 6px; padding: clamp(20px, 2.4vw, 28px); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.showroom.is-main { border: 2px solid var(--red); }
.showroom h3 { margin: 0; }
.showroom p { margin: 0; font-size: .98rem; }
.showroom .tag { justify-self: start; align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: var(--palm); color: #fff; font: 700 .72rem/1.4 var(--text); letter-spacing: .06em; text-transform: uppercase; }
.showroom .more { margin-top: auto; padding-top: 8px; }
.showroom a[href^="tel:"] { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 2px 16px; margin: 4px 0 0; font-size: .96rem; }
.hours dt { color: var(--ink-3); }
.hours dd { margin: 0; color: var(--ink); }

/* ------------------------------------------------------------ dark band --- */
.dark { background: var(--coal); color: var(--cream-2); }
.dark h2, .dark h3 { color: var(--cream); }
.dark .eyebrow { color: var(--red-lt); }
.dark a { color: var(--red-lt); }
.dark .more { color: var(--red-lt); }
.dark .lede, .dark p { color: var(--cream-2); }
.dark strong { color: var(--cream); }
.dark .hours dt { color: var(--cream-2); }
.dark .hours dd { color: var(--cream); }
.dark .btn-light, .dark .btn-light:hover { color: var(--ink); }
.dark .btn, .dark .btn:hover { color: #fff; }
.dark .btn-ghost { color: var(--cream); }
.palm { background: var(--palm); color: #E6F1EA; }
.palm h2, .palm h3 { color: #fff; }
.palm .eyebrow { color: var(--palm-lt); }
.palm p { color: #E6F1EA; }

/* -------------------------------------------------------------- prose ---- */
.prose { max-width: 46rem; }
.prose p { color: var(--ink-2); }
.prose h2 { margin-top: 1.3em; font-size: clamp(1.45rem, 1.15rem + .9vw, 2rem); }
.prose h3 { margin-top: 1.3em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.note {
  margin: 1.6em 0 0; padding: 18px 22px; border-left: 3px solid var(--red); background: var(--card);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.note .eyebrow { margin-bottom: .4rem; }
.note p { margin: 0; color: var(--ink); }
.faq { display: grid; gap: 10px; max-width: 54rem; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 14px 20px; font: 600 1.08rem/1.4 var(--display); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 700 1.4rem/1 var(--text); color: var(--red); flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq .faq-a { padding: 0 20px 18px; }
.faq .faq-a p { margin: 0 0 .7em; }

/* ------------------------------------------------------------ reviews ---- */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 30px); }
.review { margin: 0; padding: clamp(20px, 2.4vw, 28px); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 12px; }
.review-stars { display: flex; gap: 2px; color: var(--sun); }
.review-stars svg { width: 18px; height: 18px; }
.review blockquote { margin: 0; font-size: 1.02rem; line-height: 1.62; color: var(--ink); }
.review blockquote p { margin: 0; }
.review figcaption { margin-top: auto; font-size: .9rem; color: var(--ink-3); }
.review figcaption b { color: var(--ink); font-weight: 700; }

/* ----------------------------------------------------------- figures ----- */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 16px); }
.gallery--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: var(--paper-2); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; }
.gallery button picture { display: block; width: 100%; height: 100%; }
.gallery button img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery button:hover img { transform: scale(1.04); }
.fig { margin: 0; }
.fig img { width: 100%; height: auto; border-radius: var(--radius); }
.fig figcaption, .fig-cap { margin-top: 10px; font-size: .88rem; color: var(--ink-3); }
.dark .fig figcaption { color: var(--cream-2); }
.map { border: 0; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--radius); background: var(--paper-2); display: block; }

/* ------------------------------------------------------------- visit ----- */
.visit-card { display: grid; gap: 4px; font-size: 1.02rem; margin: 0; }
.visit-card dt { font: 700 .8rem/1.3 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--red-2); margin-top: 16px; }
.dark .visit-card dt { color: var(--red-lt); }
.visit-card dd { margin: 0; color: var(--ink); }
.dark .visit-card dd { color: var(--cream); }
.visit-card dd a { display: inline-flex; align-items: center; min-height: 32px; }
.list-links { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.list-links li { border-bottom: 1px solid var(--line); }
.list-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 54px; text-decoration: none; color: var(--ink); font: 600 1.12rem/1.4 var(--display); }
.list-links a::after { content: "\2192"; color: var(--red); }
.list-links a:hover { color: var(--red-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .95rem; color: var(--ink-2); background: var(--card); }

/* ------------------------------------------------------------- footer ---- */
.site-footer { background: var(--coal); color: var(--cream-2); padding: clamp(52px, 7vw, 88px) 0 0; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(0, 1fr)); gap: 32px clamp(24px, 4vw, 56px); }
.footer-logo { width: 200px; height: auto; margin-bottom: 18px; }
.footer-grid p { margin: 0 0 8px; }
.footer-h { font: 700 .8rem/1.3 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--red-lt); margin: 0 0 12px; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin: 0; }
.footer-list a, .footer-contact a { color: var(--cream); text-decoration: none; display: inline-flex; align-items: center; min-height: 34px; }
.footer-list a:hover, .footer-contact a:hover { color: #fff; text-decoration: underline; }
.footer-contact { font-style: normal; line-height: 1.6; color: var(--cream); }
.footer-contact p { margin: 0 0 12px; }
.footer-contact b { color: var(--cream); }
/* "or text us" after Deer Valley's number. A computer has nothing to text with, so there it reads as plain words. */
.or-text { white-space: nowrap; }
@media (min-width: 861px) and (hover: hover) and (pointer: fine) {
  .or-text a, .footer-contact .or-text a, .visit-card dd .or-text a { pointer-events: none; color: inherit; text-decoration: none; }
}
.footer-bottom { margin-top: clamp(36px, 5vw, 60px); border-top: 1px solid rgba(248, 242, 232, .14); padding: 20px 0 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; font-size: .88rem; color: var(--cream-2); }
.footer-bottom a { color: var(--cream-2); display: inline-flex; align-items: center; min-height: 32px; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; column-gap: 28px; }
.footer-bottom .dealer-link { text-decoration: none; }
.footer-bottom .dealer-link:hover { color: #fff; text-decoration: underline; }
/* Crutchfield Marketing credit: the standard snippet (Footer-Credit-Pill.html), color inherited */
.cm-credit { display: inline-flex; align-items: center; gap: .42em; font-size: .75rem; line-height: 1; letter-spacing: .01em; text-decoration: none; color: inherit; padding: .5em .2em; border-radius: 999px; white-space: nowrap; min-height: 32px; }
.cm-credit:hover b, .cm-credit:focus-visible b { text-decoration: underline; text-underline-offset: .25em; }
.cm-credit svg { height: 1.35em; width: auto; flex: none; display: block; }
.cm-credit b { font-weight: 600; }

/* ------------------------------------------------------------- tab bar --- */
.tabbar { display: none; }

/* ----------------------------------------------------------- lightbox ---- */
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(20, 16, 13, .94); display: flex; align-items: center; justify-content: center; padding: 64px 16px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1400px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-height: calc(100vh - 160px); width: auto; height: auto; object-fit: contain; border-radius: var(--radius); background: #fff; }
.lightbox figcaption { margin-top: 12px; color: var(--cream-2); font-size: .92rem; text-align: center; }
.lb-btn { position: absolute; width: 48px; height: 48px; border: 1px solid rgba(248, 242, 232, .4); border-radius: 999px; background: rgba(27, 23, 20, .6); color: var(--cream); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; line-height: 1; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ------------------------------------------------------ pricing page ---- */
/* /outdoor-kitchen-cost/ (build/pricing.py): Zach's pricing page in the site's own type, color and parts */
.pr-head .lede { max-width: 46rem; }
.pr-head-in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); grid-template-areas: "copy ranges" "foot ranges"; column-gap: clamp(28px, 4.4vw, 72px); align-items: center; }
.pr-head-copy { grid-area: copy; }
.pr-head-in .pr-ranges { grid-area: ranges; grid-template-columns: minmax(0, 1fr); margin: 0; }
.pr-head-in .pr-head-foot { grid-area: foot; align-self: start; }
.pr-ranges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); max-width: 860px; margin: clamp(20px, 2.6vw, 30px) 0 0; }
.pr-range { padding: clamp(18px, 2.2vw, 26px); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 4px; }
.pr-range p { margin: 0; }
.pr-range-name { font: 700 .82rem/1.3 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--red-2); }
.pr-range-from { font-size: .98rem; }
.pr-range-fig { font: 700 clamp(1.55rem, 1.2rem + 1.1vw, 2.15rem)/1.12 var(--display); color: var(--ink); letter-spacing: -.01em; }
.pr-range-note { font-size: .88rem; color: var(--ink-3); }
.pr-head-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: clamp(20px, 2.6vw, 28px); }
.pr-head-cta { margin: 0; }
.pr-jump { display: flex; flex-wrap: wrap; gap: 8px; }
.pr-jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card); color: var(--ink); text-decoration: none; font: 600 .92rem/1.2 var(--text); }
.pr-jump a:hover { border-color: var(--red-2); color: var(--red-2); }
.pr-sec-head { margin-bottom: clamp(22px, 3vw, 36px); max-width: 48rem; }
.pr-sec-head h2 { margin: 0; }
.pr-sec-head p { margin: .6em 0 0; font-size: clamp(1.02rem, .98rem + .2vw, 1.12rem); }
/* his cut-outs are trimmed at the roof edge: shown whole (contain), in a near-square frame, on their own backdrop
   color (pricing.py sets it from the photo) */
.pr-build .card-img { position: relative; aspect-ratio: 6 / 5; }
.pr-build .card-img.is-white img { padding: 3%; }
.pr-build.is-pop { border: 2px solid var(--ink); }
.pr-build .card-body { gap: 10px; }
.pr-badge { position: absolute; top: 12px; left: 12px; padding: 4px 12px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 .76rem/1.4 var(--text); letter-spacing: .04em; white-space: nowrap; }
/* .pr-build .x: .card-body p (margin 0, .98rem) would otherwise win */
.pr-build .pr-price { margin: 0; font: 700 clamp(1.5rem, 1.25rem + .7vw, 1.85rem)/1.15 var(--display); color: var(--red-2); letter-spacing: -.01em; }
.pr-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pr-list li { position: relative; padding-left: 1.15em; }
.pr-list li::before { content: "\25C6"; position: absolute; left: 0; top: .52em; font-size: .62em; line-height: 1; color: var(--red); }
.pr-build .pr-fin { margin: auto 0 0; padding-top: 6px; font-size: .92rem; color: var(--ink-3); }
/* no overflow: hidden here - a clipped table would pass render_check's overflow probe unseen */
.pr-table-wrap { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.pr-table thead th:first-child { border-top-left-radius: var(--radius); }
.pr-table thead th:last-child { border-top-right-radius: var(--radius); }
.pr-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.pr-table th, .pr-table td { padding: 15px 20px; text-align: left; vertical-align: top; }
.pr-table thead th { background: var(--coal); color: var(--cream); font: 700 .82rem/1.3 var(--text); letter-spacing: .08em; text-transform: uppercase; }
.pr-table tbody tr + tr { border-top: 1px solid var(--line); }
.pr-table tbody th { font-weight: 700; color: var(--ink); }
.pr-cost { font-weight: 700; color: var(--ink); white-space: nowrap; }
.pr-incl { color: var(--red-2); }
.pr-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); margin-top: clamp(16px, 2.4vw, 28px); }
.pr-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.pr-box { padding: clamp(20px, 2.6vw, 30px); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.pr-box h3 { margin: 0 0 14px; }
.pr-box > p:last-child { margin-bottom: 0; }
.pr-box--dark { background: var(--coal); border-color: var(--coal); color: var(--cream-2); }
.pr-box--dark h3, .pr-box--dark strong { color: var(--cream); }
.pr-box--dark .pr-list li::before { color: var(--red-lt); }
.pr-box--sand { background: var(--paper-2); border-color: var(--paper-2); }
.pr-rows { margin: 0; display: grid; }
.pr-rows div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.pr-rows div:first-child { padding-top: 0; }
.pr-rows div:last-child { border-bottom: 0; }
.pr-rows dt { margin: 0; }
.pr-rows dd { margin: 0; font-weight: 700; color: var(--ink); white-space: nowrap; text-align: right; }
.pr-note { margin: 14px 0 0; font-size: .92rem; color: var(--ink-3); }
.pr-fin-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4.4vw, 64px); align-items: center; }
.pr-fin-grid h2 { margin-bottom: .45em; }
.dark .pr-terms { font-size: .88rem; color: #C9BFB2; max-width: 40rem; }
.pr-fin-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin: 6px 0 0; }
.dark .pr-apply { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--cream); }
.pr-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pr-tile { padding: 20px 18px; border: 1px solid rgba(248, 242, 232, .22); border-radius: var(--radius); }
.dark .pr-tile p { margin: 0; }
.dark .pr-tile-name { font-size: .92rem; color: var(--cream-2); }
.dark .pr-tile .pr-tile-fig { font: 700 clamp(1.4rem, 1.2rem + .6vw, 1.7rem)/1.2 var(--display); color: var(--cream); margin: 4px 0; }
.dark .pr-tile-sub { font-size: .84rem; color: #C9BFB2; }
.pr-est-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.pr-q { margin: 0 0 26px; }
.pr-q-h { margin: 0 0 10px; font: 700 1.05rem/1.4 var(--text); color: var(--ink); }
.pr-q-h span { font-weight: 400; color: var(--ink-3); }
.pr-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.pr-opt { min-height: 48px; padding: 10px 16px; border: 2px solid var(--line-2); border-radius: var(--radius); background: #fff; color: var(--ink); font: 600 .95rem/1.25 var(--text); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.pr-opt:hover { border-color: var(--ink-3); }
.pr-opt[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pr-dims { margin-top: 12px; padding: 16px 18px; background: var(--paper-2); border-radius: var(--radius); }
.pr-dims-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 16px; }
.pr-dim { width: 132px; }
.pr-dims-plus { margin: 0; padding-bottom: 12px; font: 600 1.3rem/1 var(--text); color: var(--ink-3); }
.pr-dims-sum { margin: 0; padding-bottom: 14px; }
.pr-dims-help { margin: 10px 0 0; font-size: .9rem; color: var(--ink-3); }
.pr-counter { margin: 0 0 26px; padding: 14px 18px; background: var(--paper-2); border-radius: var(--radius); }
.pr-est { position: sticky; top: calc(var(--head-h) + 16px); padding: clamp(22px, 2.6vw, 30px); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 40px rgba(30, 25, 20, .06); }
.pr-est p { margin: 0; }
.pr-est-k { font: 700 .8rem/1.3 var(--text); letter-spacing: .12em; color: var(--red-2); }
.pr-est-total { margin: 6px 0 4px !important; font: 800 clamp(1.7rem, 1.35rem + 1.1vw, 2.3rem)/1.12 var(--display); color: var(--ink); letter-spacing: -.01em; }
.pr-est-pay { color: var(--ink-2); }
.pr-est-lines { display: grid; gap: 5px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .95rem; }
.pr-est-rate { color: var(--ink-3); }
.pr-est-fine { margin-top: 16px !important; padding-top: 14px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--ink-3); }
.pr-est-cta { width: 100%; margin-top: 16px; }
.pr-est-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 8px 18px; border-radius: var(--radius); background: var(--coal); color: var(--cream); text-decoration: none; box-shadow: 0 10px 28px rgba(0, 0, 0, .3); }
.pr-est-bar:hover { color: #fff; }
.pr-est-bar-k { font: 700 .72rem/1.3 var(--text); letter-spacing: .12em; color: var(--red-lt); }
.pr-est-bar-v { font: 700 1.12rem/1.2 var(--display); white-space: nowrap; }
.pr-est-bar-v::after { content: " \2193"; color: var(--red-lt); }
.pr-est-note { margin: 0; padding: 12px 14px; border-left: 3px solid var(--palm); background: #EEF5F0; color: var(--ink); font-size: .95rem; }
.pr-promise-band { padding: clamp(48px, 6vw, 84px) 0; }
.pr-promise-band a[href^="tel:"] { white-space: nowrap; }
.pr-promise { margin: 0 auto .5em; max-width: 30ch; font: 800 clamp(1.5rem, 1.15rem + 1.3vw, 2.3rem)/1.18 var(--display); color: var(--ink); letter-spacing: -.01em; text-wrap: balance; }
.pr-fineprint { font-size: .9rem; color: var(--ink-3); }
/* (its breakpoints are at the end of the file, after the site's own) */

/* ============================================================= motion ===== */
.js .rv { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), transform .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); will-change: opacity, transform; }
.js .rv-slow { transform: translate3d(0, 30px, 0); transition-duration: 1.2s; }
.js .rv.is-in { opacity: 1; transform: none; }
.js .rv.is-done { will-change: auto; }
.js .rv-zoom img { transform: scale(1.06); transition: transform 1.6s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.js .rv-zoom.is-in img { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rv, .js .rv-slow { opacity: 1; transform: none; transition: none; }
  .js .rv-zoom img { transform: none; transition: none; }
  .hero-media img { transform: none !important; }
  .tile-img img, .gallery button img, .card { transition: none; }
  html { scroll-behavior: auto; }
}

/* ======================================================== breakpoints ===== */
@media (max-width: 1239px) {
  :root { --head-h: 76px; }
  .header-in { height: var(--head-h); }
  .site-header.is-stuck .header-in { height: 68px; }
  .nav-desk { display: none; }
  .head-act { margin-left: auto; }
  .brand img { height: 56px; }
  .site-header.is-stuck .brand img { height: 48px; }
  .burger { display: inline-flex; }
}
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards, .cards--4, .reviews, .rooms-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-in { grid-template-columns: minmax(0, 1fr); }
  .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-row .btn { grid-column: 1 / -1; }
  .pagehead--img .wrap { grid-template-columns: minmax(0, 1fr); }
  .pagehead-fig { aspect-ratio: 16 / 9; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .head-call { display: none; }
}
@media (max-width: 860px) {
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--card); }
  .utility { display: none; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .head-act .btn { display: none; }
  .tabbar {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    height: calc(64px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: rgba(27, 23, 20, .97); border-top: 1px solid rgba(248, 242, 232, .1);
    transform: translateZ(0); will-change: transform; transition: transform .25s;
  }
  body.is-typing .tabbar { transform: translateY(110%); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 64px; color: #DCD1C3; text-decoration: none; font: 700 .7rem/1 var(--text); letter-spacing: .02em; }
  .tabbar a svg { width: 22px; height: 22px; }
  .tabbar a[aria-current="page"] { color: var(--red-lt); }
  .tabbar .fab { position: relative; justify-content: flex-end; padding-bottom: 8px; color: var(--cream); }
  .tabbar .fab-btn {
    position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
    width: 58px; height: 58px; border-radius: 50%;
    background: linear-gradient(160deg, #E8343C, var(--red-2));
    box-shadow: 0 0 0 5px rgba(27, 23, 20, .97), 0 8px 18px rgba(0, 0, 0, .35);
    display: flex; align-items: center; justify-content: center; color: #fff;
  }
  .tabbar .fab-btn svg { width: 24px; height: 24px; }
  .split, .split--center, .split--wide { grid-template-columns: minmax(0, 1fr); }
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .tile:nth-child(n) { grid-column: auto; min-height: 280px; }
  .tile:nth-child(1) { min-height: 340px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .rooms-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: calc(100svh - var(--head-h) - 64px); }
}
@media (max-width: 560px) {
  .cards, .cards--4, .cards--2, .reviews, .rooms-list, .steps { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .btn-row .btn { flex: 1 1 100%; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .gallery--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand img { height: 50px; }
  .ph-cta .btn { flex: 1 1 100%; }
}
/* Phones, and any screen narrower than 3:2 (an iPad sideways, 1024 x 768): the words cannot sit beside
   the island there, so the phone cut runs across the top in a bounded band, framed on the island and its
   fire, and the words sit under it on the hero's own coal. No seam: the band fades into the coal. */
@media (max-width: 860px), (max-aspect-ratio: 3/2) {
  .hero-media { inset: 0 0 auto 0; height: clamp(360px, 60svh, 560px); }
  .hero-media img { object-position: 50% 30%; }
  .hero::after { inset: 0 0 auto 0; height: clamp(360px, 60svh, 560px);
    background: linear-gradient(to bottom, rgba(27, 23, 20, 0) 0%, rgba(27, 23, 20, 0) 36%, rgba(27, 23, 20, .72) 54%, rgba(27, 23, 20, .93) 68%, var(--coal) 86%);
  }
  .hero-copy > * { max-width: 40rem; }
}
@media (min-width: 1240px) { .brand img { height: 70px; } .site-header.is-stuck .brand img { height: 56px; } }
/* six nav labels, the Deer Valley number and the button fit from 1320 (the header's own max width) up;
   below that the number lives in the utility bar above */
@media (min-width: 1240px) and (max-width: 1319px) { .head-call { display: none; } }
/* seven labels (Pricing added): the number waits until 1400, where the masthead may grow to 1400 wide */
@media (min-width: 1240px) and (max-width: 1399px) { .header-in--7 .head-call { display: none; } }
@media (min-width: 1400px) { .header-in--7 { max-width: 1400px; } }
@media (min-width: 1081px) { .ph-cta { display: none; } }
h2.h3 { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); line-height: 1.32; font-weight: 600; letter-spacing: 0; }
[hidden] { display: none !important; }

/* pricing page breakpoints (after the site's own: verify.py reads the first 860px block as the masthead's) */
@media (max-width: 1080px) {
  .pr-head-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "ranges" "foot"; }
  .pr-head-in .pr-ranges { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(20px, 2.6vw, 30px); }
  .pr-est-grid, .pr-fin-grid { grid-template-columns: minmax(0, 1fr); }
  .pr-est { position: static; }
  .pr-three { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .pr-two { grid-template-columns: minmax(0, 1fr); }
  /* the cost table becomes one card per choice: his ranked choice and its cost on the top line, then what keeps it
     lower and what pushes it higher, each under its own label */
  .pr-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .pr-table, .pr-table tbody { display: block; }
  .pr-table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name cost" "lo lo" "hi hi"; column-gap: 14px; padding: 16px 18px; }
  .pr-table tbody th { grid-area: name; padding: 0 0 6px; font-size: 1.06rem; }
  .pr-table td { display: block; padding: 6px 0 0; }
  .pr-table td.pr-lo { grid-area: lo; }
  .pr-table td.pr-hi { grid-area: hi; }
  .pr-table td.pr-cost { grid-area: cost; padding: 0 0 6px; text-align: right; }
  .pr-table td.pr-lo::before, .pr-table td.pr-hi::before { content: attr(data-label); display: block; font: 700 .72rem/1.5 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
  .pr-est-bar { bottom: calc(64px + env(safe-area-inset-bottom) + 10px); }
}
@media (max-width: 560px) {
  .pr-head-in .pr-ranges, .pr-tiles { grid-template-columns: minmax(0, 1fr); }
  .pr-head-cta, .pr-head-cta .btn { width: 100%; }
  .pr-dim { width: 112px; }
  /* a price that does not fit beside its label drops under it, right-aligned, instead of squeezing the label */
  .pr-rows div { flex-wrap: wrap; row-gap: 2px; }
  .pr-rows dd { margin-left: auto; }
}
