/*
Theme Name: Firearms Instructor in Las Vegas
Theme URI: https://firearmsinstructorinlasvegas.com/
Author: Condition Zero Tactical
Description: One-page site for Thomas Marshall, firearms instructor in Las Vegas: a class finder, classes and prices linking to conditionzerotactical.com, the CCW class step by step, the training team, reviews, the range and questions. Edit everything under Appearance > Customize > Instructor Site · Page.
Version: 1.4.0
Requires at least: 6.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: firearms-instructor-lv
*/

/* ---------- Tokens: "Mojave range" ----------
   Juniper (desert scrub at dusk), caliche sand (the range berms), and range safety orange
   (the cones on the firing line) as the one action color. */
:root {
  --juniper: #1d2a23;
  --signal: #f0661f;
  --sand: #e6dcc8;
  --juniper-2: color-mix(in srgb, var(--juniper) 86%, #ffffff);
  --juniper-deep: color-mix(in srgb, var(--juniper) 78%, #000000);
  --paper: #fbfbf9;
  --ink: var(--juniper);
  --muted: #4d5a50;
  --line: color-mix(in srgb, var(--juniper) 16%, transparent);
  --on-dark: #eef0ea;
  --on-dark-muted: #bac4b7;
  --star: #b84a0c;
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --stencil: "Big Shoulders Stencil Display", "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --header: 72px;
  --radius: 4px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
figure, blockquote { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.05; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--focus, var(--juniper)); outline-offset: 3px; border-radius: 2px; }
.hero, .finder, .closing, .site-footer, .phone-bar, .skip-link { --focus: var(--sand); }
.result-card { --focus: var(--juniper); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--signal); color: var(--juniper); font-weight: 700; }
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-title { font-family: var(--display); font-size: clamp(2.4rem, 3.4vw + 1.2rem, 3.75rem); letter-spacing: .005em; margin-bottom: .45em; }
.icon { flex: none; }
.checked { color: var(--muted); font-size: .9375rem; }

/* ---------- Buttons ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 0 1.25em; border: 2px solid transparent; border-radius: var(--radius); font: 700 1rem/1.15 var(--body); text-decoration: none; text-align: center; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.button.big { min-height: 56px; padding: 0 1.6em; font-size: 1.0625rem; }
.button.signal { background: var(--signal); color: var(--juniper); }
.button.signal:hover { background: color-mix(in srgb, var(--signal) 85%, #ffffff); }
.button.ghost { border-color: currentColor; color: var(--on-dark); background: transparent; }
.button.ghost:hover { background: var(--on-dark); color: var(--juniper); border-color: var(--on-dark); }
.button.outline { border-color: var(--juniper); color: var(--juniper); background: transparent; }
.button.outline:hover { background: var(--juniper); color: var(--paper); }
.link-button { background: none; border: 0; padding: 12px 4px; min-height: 44px; color: inherit; font: 600 1rem var(--body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header); }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.1; margin-right: auto; padding: 6px 0; }
.brand strong { font: 800 1.6rem/1 var(--display); letter-spacing: .01em; }
.brand span { font-size: .8125rem; color: var(--muted); margin-top: 3px; }
.site-nav .menu { display: flex; gap: 4px; }
.site-nav a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; font-weight: 600; font-size: .9375rem; border-radius: var(--radius); }
.site-nav a:hover { background: color-mix(in srgb, var(--sand) 60%, transparent); }
.menu-toggle { display: none; width: 48px; height: 48px; border: 1px solid color-mix(in srgb, var(--juniper) 62%, transparent); border-radius: var(--radius); background: transparent; cursor: pointer; color: var(--ink); }
.bars { display: grid; gap: 5px; width: 22px; margin: 0 auto; }
.bars span { display: block; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1079px) {
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(29, 42, 35, .12); }
  .site-nav.is-open { display: block; }
  .site-nav .menu { flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; }
  .site-nav a { min-height: 52px; font-size: 1.0625rem; border-bottom: 1px solid var(--line); border-radius: 0; }
}
@media (max-width: 479px) { .header-cta { display: none; } .brand strong { font-size: 1.45rem; } }
/* Without JavaScript the menu button cannot open anything, so phones and tablets show the links in the header instead */
@media (max-width: 1079px) {
  html:not(.has-js) .menu-toggle { display: none; }
  html:not(.has-js) .header-inner { flex-wrap: wrap; }
  html:not(.has-js) .site-nav { display: block; position: static; width: 100%; border: 0; box-shadow: none; background: none; }
  html:not(.has-js) .site-nav .menu { flex-direction: row; flex-wrap: wrap; padding: 0 0 8px; }
  html:not(.has-js) .site-nav a { min-height: 44px; border: 0; font-size: .9375rem; }
}

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) min(54vw, 1300px); background: var(--juniper); color: var(--on-dark); min-height: min(calc(100svh - var(--header)), 760px); }
.hero-copy { container-type: inline-size; display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 5vw, 72px) clamp(24px, 4vw, 56px) clamp(40px, 5vw, 72px) max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.motto { display: flex; flex-direction: column; margin: 0 0 28px; font: 800 clamp(2.6rem, 19cqi, 6.4rem)/.86 var(--stencil); white-space: nowrap; text-transform: uppercase; color: var(--sand); letter-spacing: .01em; }
.hero h1 { font: 700 clamp(1.6rem, 1.4vw + 1.15rem, 2.25rem)/1.12 var(--display); letter-spacing: .01em; color: #ffffff; margin-bottom: 14px; max-width: 22ch; }
.hero-text { color: var(--on-dark-muted); max-width: 42ch; margin-bottom: 28px; }
.hero-photo { position: relative; min-height: 100%; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 62%; }
@media (max-width: 719px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { order: -1; aspect-ratio: 16 / 9; min-height: 0; }
  .hero-copy .actions { order: 3; margin-bottom: 24px; }
  .hero-text { order: 4; margin-bottom: 0; }
  .hero-copy { padding: 32px var(--gutter) 44px; }
  .motto { font-size: clamp(2.6rem, 19cqi, 5.2rem); margin-bottom: 20px; }
}
/* Short phones (iPhone SE first generation and similar): a shorter photo so the main button fits on the first screen */
@media (max-width: 719px) and (max-height: 620px) { .hero-photo { aspect-ratio: 21 / 9; } .hero-copy { padding-top: 24px; } .motto { font-size: clamp(2.4rem, 16cqi, 4rem); } }

/* ---------- Proof strip ---------- */
.proof { border-bottom: 1px solid var(--line); background: var(--paper); }
.proof-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 40px; padding-top: 18px; padding-bottom: 18px; }
.proof-item { display: flex; align-items: center; gap: 10px; margin: 0; min-height: 44px; font-size: .9375rem; text-decoration: none; }
a.proof-item:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.proof-item .icon { color: var(--star); }
.stars { --r: 5; position: relative; display: inline-block; font-size: 1.05rem; letter-spacing: 1px; line-height: 1; background: linear-gradient(90deg, var(--star) calc(var(--r) / 5 * 100%), color-mix(in srgb, var(--juniper) 20%, transparent) 0); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Photo treatment ----------
   Every photo gets the same finish: a touch less saturation and a juniper shade on top
   (strength set in the Customizer, 02 · Top banner), so phone snapshots sit calmly in the page. */
.tone { position: relative; overflow: hidden; background: var(--juniper); }
.tone img { filter: saturate(.82) contrast(1.04); }
.tone::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--juniper); opacity: var(--shade, .28); mix-blend-mode: multiply; }
.hero-photo.tone { background-size: cover; background-position: 60% 62%; }
.hero-photo.tone::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, var(--juniper) 0%, color-mix(in srgb, var(--juniper) 55%, transparent) 14%, transparent 42%), linear-gradient(0deg, color-mix(in srgb, var(--juniper) 45%, transparent), transparent 35%); }
@media (max-width: 719px) { .hero-photo.tone::before { background: linear-gradient(0deg, var(--juniper) 0%, color-mix(in srgb, var(--juniper) 50%, transparent) 18%, transparent 50%); } }
.range-photo.tone { border-radius: var(--radius); }

/* ---------- Shared bits: credentials list and pull quote ---------- */
.record { margin: 20px 0; border-top: 1px solid var(--line); }
.record li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.record .icon { margin-top: 3px; color: var(--star); }
.pull-quote { margin-top: 24px; }
.pull-quote blockquote p { font: italic 400 1.1875rem/1.45 var(--body); margin-bottom: 8px; }
.pull-quote blockquote p::before, .step-quote blockquote p::before { content: "\201C"; } .pull-quote blockquote p::after, .step-quote blockquote p::after { content: "\201D"; }
.pull-quote figcaption, .step-quote figcaption { color: var(--muted); font-size: .9375rem; }

/* ---------- Class finder ---------- */
.finder { background: var(--juniper); color: var(--on-dark); }
.finder-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.finder-head p { color: var(--on-dark-muted); max-width: 36ch; }
.finder-box { background: var(--juniper-2); border-radius: var(--radius); padding: clamp(20px, 3.5vw, 40px); }
.finder-progress { font-size: .9375rem; color: var(--on-dark-muted); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.finder-step h3, .finder-result h3 { font: 800 clamp(1.75rem, 1.2vw + 1.3rem, 2.25rem)/1.05 var(--display); margin-bottom: 20px; }
.finder-step h3:focus, .finder-result h3:focus { outline: none; }
.answers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.answers button { min-height: 64px; padding: 14px 18px; border: 1px solid color-mix(in srgb, var(--on-dark) 58%, transparent); border-radius: var(--radius); background: transparent; color: var(--on-dark); font: 600 1.0625rem/1.3 var(--body); text-align: left; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.answers button:hover { border-color: var(--signal); background: color-mix(in srgb, var(--signal) 14%, transparent); }
.result-card { background: var(--paper); color: var(--ink); border-top: 6px solid var(--signal); border-radius: var(--radius); padding: 24px; }
.result-name { font: 800 clamp(1.9rem, 1.4vw + 1.4rem, 2.5rem)/1 var(--display); margin-bottom: 8px; }
.result-facts { font-weight: 700; font-variant-numeric: tabular-nums; }
.result-why { color: var(--muted); }
.result-card .button { margin-top: 8px; }
.result-also { margin-top: 18px; }
.result-also a { font-weight: 700; color: #ffffff; }
.finder-nav { display: flex; gap: 20px; margin-top: 12px; }
.finder-nojs a { color: #ffffff; font-weight: 700; }
@media (max-width: 899px) { .finder-wrap { grid-template-columns: 1fr; } .finder-box { min-height: 0; } }
@media (max-width: 559px) { .answers { grid-template-columns: 1fr; } .answers button { min-height: 56px; } }

/* ---------- Classes ---------- */
.classes-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 16px 48px; align-items: end; margin-bottom: 24px; }
.classes-head .section-title { margin-bottom: 0; }
.classes-head p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid color-mix(in srgb, var(--juniper) 62%, transparent); border-radius: 999px; background: transparent; color: var(--ink); font: 600 .9375rem var(--body); cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.chip:hover { border-color: var(--juniper); }
.chip[aria-pressed="true"] { background: var(--juniper); border-color: var(--juniper); color: var(--paper); }
.chip .count { font-variant-numeric: tabular-nums; font-size: .8125rem; opacity: .7; }
.class-group { margin-top: 40px; }
.class-group[hidden] { display: none; }
.group-title { font: 800 1.75rem/1 var(--display); padding-bottom: 12px; border-bottom: 3px solid var(--juniper); }
.class-row { display: grid; grid-template-columns: minmax(0, 1fr) 9.5rem 5rem auto; gap: 8px 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header) + 24px); }
.class-row:target { background: color-mix(in srgb, var(--sand) 55%, transparent); box-shadow: -12px 0 0 color-mix(in srgb, var(--sand) 55%, transparent), 12px 0 0 color-mix(in srgb, var(--sand) 55%, transparent); }
.class-main h4 { font: 700 1.125rem/1.3 var(--body); margin-bottom: 4px; }
.class-main p { color: var(--muted); font-size: .9688rem; max-width: 62ch; }
.class-length, .class-price { margin: 0; font-variant-numeric: tabular-nums; }
.class-length { color: var(--muted); }
.class-price { font: 800 1.75rem/1 var(--display); text-align: right; }
@media (max-width: 899px) { .classes-head { grid-template-columns: 1fr; } }
@media (max-width: 759px) {
  .class-row { grid-template-columns: 1fr auto; grid-template-areas: "main main" "length price" "book book"; }
  .class-main { grid-area: main; }
  .class-length { grid-area: length; }
  .class-price { grid-area: price; }
  .class-row .button { grid-area: book; width: 100%; }
}

/* ---------- CCW class, step by step ---------- */
.ccw { background: var(--sand); }
.ccw-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px clamp(32px, 5vw, 72px); align-items: start; }
.ccw-head p { max-width: 38ch; }
.stepper { background: var(--paper); border-radius: var(--radius); padding: clamp(20px, 3.5vw, 40px); }
.step-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-bottom: 28px; counter-reset: none; }
.step-tabs button { text-wrap: balance; position: relative; display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 12px 14px 0; border: 0; border-bottom: 3px solid color-mix(in srgb, var(--juniper) 18%, transparent); background: none; color: var(--muted); font: 700 1rem/1.2 var(--body); text-align: left; cursor: pointer; }
.step-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--signal); }
.step-tabs button:hover { color: var(--ink); }
.step-num { display: inline-grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 999px; border: 2px solid currentColor; font: 700 .9375rem/1 var(--body); font-variant-numeric: tabular-nums; }
.step-tabs button[aria-selected="true"] .step-num { background: var(--juniper); border-color: var(--juniper); color: var(--paper); }
.step-panel { display: grid; grid-template-columns: 1fr; gap: 24px; align-content: center; }
.step-copy p { max-width: 54ch; }
.step-panel + .step-panel { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.has-js .step-panel + .step-panel { margin-top: 0; padding-top: 0; border-top: 0; }
/* With the script on, panels share one grid cell so switching never changes the height */
.has-js .step-panels, .has-js .team-panels { display: grid; }
.has-js .step-panels > .step-panel { grid-area: 1 / 1; }
.has-js .step-panels > [hidden] { display: grid; visibility: hidden; }
@media (min-width: 860px) {
  .has-js .team-panels > .person { grid-area: 1 / 1; }
  .has-js .team-panels > .person[hidden] { display: block; visibility: hidden; }
}
.step-copy h3 { display: flex; align-items: center; gap: 12px; font: 800 2rem/1 var(--display); margin-bottom: 12px; }
.has-js .step-copy h3 .step-num { display: none; }
.step-quote blockquote p { font: italic 400 1.25rem/1.45 var(--body); margin-bottom: 8px; }
.step-quote { padding-left: 20px; border-left: 3px solid var(--signal); }
.exam-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; max-width: 360px; }
.exam-grid span { aspect-ratio: 1; border-radius: 2px; background: color-mix(in srgb, var(--juniper) 14%, transparent); }
.exam-grid span.pass { background: var(--juniper); }
.exam-key { margin-top: 12px; color: var(--muted); font-size: .9375rem; }
.exam-key strong { color: var(--ink); }
.lane { width: 100%; height: auto; max-width: 560px; }
.lane-floor { fill: color-mix(in srgb, var(--sand) 70%, var(--paper)); }
.lane-line { stroke: var(--juniper); stroke-width: 2; stroke-dasharray: 6 6; }
.lane-label { fill: var(--muted); font: 700 16px var(--body); }
.lane-note { fill: var(--ink); font: 800 22px var(--display); }
.lane-target rect:first-child { fill: var(--paper); stroke: var(--juniper); stroke-width: 2; }
.lane-target circle, .lane-target rect + circle + rect { fill: var(--juniper); }
.lane-post { stroke: var(--juniper); stroke-width: 3; }
.ccw-after { margin: 28px 0 16px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); }
@media (max-width: 959px) { .ccw-grid { grid-template-columns: 1fr; } }
@media (max-width: 639px) {
  .lane-label { font-size: 25px; }
  .lane-note { font-size: 30px; }
  .step-tabs button { flex-direction: column; align-items: flex-start; gap: 6px; font-size: .9375rem; }
}

/* ---------- Training team ---------- */
.team-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 16px 48px; align-items: end; margin-bottom: 36px; }
.team-head .section-title { margin-bottom: 0; }
.team-head > div > p { color: var(--muted); max-width: 52ch; }
.team-quote { margin-top: 16px; padding-left: 18px; border-left: 3px solid var(--signal); }
.team-quote blockquote p { font-size: 1.0625rem; }
.team-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 24px clamp(24px, 4vw, 56px); align-items: start; }
.roster { display: flex; flex-direction: column; border-top: 3px solid var(--juniper); }
.roster button { display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 10px 12px 10px 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.roster button:hover .who strong { text-decoration: underline; text-underline-offset: 3px; }
.roster button[aria-selected="true"] { box-shadow: inset 4px 0 0 var(--signal); padding-left: 16px; }
.who { display: flex; flex-direction: column; line-height: 1.3; }
.who strong { font-size: 1.0625rem; }
.who span { color: var(--muted); font-size: .9375rem; }
.badge { display: inline-grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: var(--radius); background: var(--sand); color: var(--juniper); font: 800 1.25rem/1 var(--display); letter-spacing: .02em; }
.roster button[aria-selected="true"] .badge { background: var(--juniper); color: var(--sand); }
.badge.big { width: 72px; height: 72px; font-size: 2rem; background: var(--juniper); color: var(--sand); }
.team-panels { display: grid; }
.person { background: var(--sand); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 40px); }
.person + .person { margin-top: 16px; }
.has-js .person + .person { margin-top: 0; }
.person-head { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.person h3 { font: 800 clamp(1.9rem, 1.2vw + 1.4rem, 2.5rem)/1 var(--display); }
.person .role { margin: 4px 0 0; color: var(--muted); font-weight: 600; }
.person > p { max-width: 60ch; }
.person .record { border-top-color: color-mix(in srgb, var(--juniper) 25%, transparent); }
.person .record li { border-bottom-color: color-mix(in srgb, var(--juniper) 25%, transparent); }
@media (max-width: 859px) {
  .team-head, .team-grid { grid-template-columns: 1fr; }
  .roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); border-top: 0; gap: 8px; }
  .roster button { min-height: 60px; border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 10px 6px 6px; }
  .roster button[aria-selected="true"] { box-shadow: none; padding-left: 6px; border-color: var(--juniper); }
  .roster .badge { width: 44px; height: 44px; }
}

/* ---------- Reviews ---------- */
.reviews { background: var(--sand); }
.reviews-head .section-title { margin-bottom: 0; }
.scores { display: flex; flex-wrap: wrap; gap: 16px 40px; }
.score { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.score-num { font: 800 4rem/.9 var(--display); font-variant-numeric: tabular-nums; }
.score-label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: .9375rem; }
a.score:hover .score-label { text-decoration: underline; text-underline-offset: 3px; }
.reviews-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(32px, 5vw, 72px); align-items: start; }
.reviews-grid .reviews-head { display: block; margin: 0; }
.reviews-grid .scores { margin: 28px 0 14px; flex-direction: column; gap: 18px; }
.rotator { background: var(--paper); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); }
.slides { display: grid; }
.slide { grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.slide blockquote p { font: 400 clamp(1.25rem, .9vw + 1rem, 1.6rem)/1.4 var(--body); text-wrap: pretty; }
.slide blockquote p::before { content: "\201C"; } .slide blockquote p::after { content: "\201D"; }
.slide figcaption { display: flex; flex-direction: column; font-size: .9375rem; }
.slide figcaption span { color: var(--muted); }
.has-js .slide { visibility: hidden; opacity: 0; transition: opacity .25s, visibility 0s .25s; }
.has-js .slide.is-current { visibility: visible; opacity: 1; transition: opacity .25s; }
html:not(.has-js) .slides { gap: 32px; }
html:not(.has-js) .slide { grid-area: auto; }
.rotator-nav { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.rotator-count { margin: 0; font-variant-numeric: tabular-nums; color: var(--muted); font-size: .9375rem; min-width: 4.5em; text-align: center; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid color-mix(in srgb, var(--juniper) 62%, transparent); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; }
.icon-button:hover { background: var(--juniper); color: var(--paper); border-color: var(--juniper); }
.quote.small { background: transparent; padding: 20px 0 0; display: flex; flex-direction: column; gap: 10px; }
.quote.small blockquote p { font-style: italic; }
.quote.small blockquote p::before { content: "\201C"; } .quote.small blockquote p::after { content: "\201D"; }
.quote.small figcaption { color: var(--muted); font-size: .9375rem; }
@media (max-width: 899px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .reviews-grid .scores { flex-direction: row; flex-wrap: wrap; gap: 16px 32px; }
}

/* ---------- Range ---------- */
.range-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.range-copy > p { max-width: 56ch; }
.range-copy h3 { font: 800 1.6rem/1 var(--display); margin: 32px 0 8px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; }
.bring li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); }
.bring .icon { margin-top: 3px; color: var(--star); }
.note { margin-top: 16px; color: var(--muted); }
.range-photo img { width: 100%; border-radius: var(--radius); }
@media (max-width: 859px) { .range-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { background: var(--sand); }
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 16px clamp(32px, 5vw, 72px); align-items: start; }
.faq-list { border-top: 3px solid var(--juniper); }
.faq-item { border-bottom: 1px solid color-mix(in srgb, var(--juniper) 25%, transparent); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 14px 0; font-weight: 700; font-size: 1.0625rem; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { transition: transform .2s; }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item p { padding: 0 40px 20px 0; max-width: 64ch; }
@media (max-width: 859px) { .faq-wrap { grid-template-columns: 1fr; } }

/* ---------- Closing ---------- */
.closing { position: relative; overflow: hidden; color: var(--on-dark); background: var(--juniper); padding: clamp(72px, 10vw, 128px) 0; }
/* The photo is a lazy-loaded image (not a CSS background) so it never competes with the banner photo on first load */
.closing-photo { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; filter: saturate(.82); }
/* The shade sits above the photo (z-index 1) and the words above both (z-index 2). The photo is a bright
   desert, so the shade stays strong everywhere text can sit, including the right-hand column. */
.closing::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, color-mix(in srgb, var(--juniper) 94%, transparent) 25%, color-mix(in srgb, var(--juniper) 78%, transparent)); }
@media (max-width: 859px) { .closing::before { background: color-mix(in srgb, var(--juniper) 82%, transparent); } }
.closing-inner { position: relative; z-index: 2; container-type: inline-size; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px clamp(32px, 5vw, 72px); align-items: end; }
.closing .motto { margin: 0; font-size: clamp(3.2rem, 6vw + 1rem, 7.5rem); }
.closing h2 { font: 800 clamp(2rem, 1.6vw + 1.4rem, 2.75rem)/1 var(--display); margin-bottom: 12px; color: #ffffff; }
.closing-copy p { color: var(--on-dark); margin-bottom: 24px; }
@media (max-width: 859px) { .closing-inner { grid-template-columns: 1fr; } .closing .motto { font-size: clamp(2.6rem, 19cqi, 5.2rem); } }

/* ---------- Footer and phone bar ---------- */
.site-footer { background: var(--juniper-deep); color: var(--on-dark-muted); padding: 40px 0 48px; font-size: .9375rem; }
.footer-inner > * { max-width: 72ch; }
.footer-brand strong { display: block; font: 800 1.5rem/1 var(--display); color: var(--on-dark); margin-bottom: 4px; }
.site-footer a { color: var(--on-dark); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 24px; margin: 8px 0; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-small { margin-top: 4px; }
.phone-bar { display: none; }
@media (max-width: 719px) {
  html { scroll-padding-bottom: 96px; }
  .phone-bar { display: grid; grid-template-columns: 1fr auto; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--juniper); transform: translateY(110%); visibility: hidden; transition: transform .25s, visibility 0s .25s; }
  .phone-bar.is-visible { transform: none; visibility: visible; transition: transform .25s; }
  .site-footer { padding-bottom: 96px; }
}

/* ---------- Plain pages (privacy policy, 404) ---------- */
.page-content { max-width: calc(760px + 2 * var(--gutter)); }
.page-content h1 { font: 800 clamp(2.4rem, 4vw + 1rem, 3.6rem)/1 var(--display); margin-bottom: 24px; }
.page-content h2 { font: 800 clamp(1.6rem, 1vw + 1.3rem, 2rem)/1.1 var(--display); margin: 2em 0 .5em; }
.page-content ul { list-style: disc; padding-left: 1.25em; margin: 0 0 1em; }
.page-content p, .page-content ul { max-width: 68ch; }
.page-content li { margin-bottom: .6em; }
.page-content li::marker { color: var(--star); }
.page-content a { text-decoration-color: var(--star); }
.page-content .button { margin-top: 16px; }

@media (max-width: 1100px) { .proof-inner { justify-content: flex-start; } }
