/* Tint Pros Modesto concept. Palette sampled from the logo (see NOTES.md).
   Fonts use font-display: optional instead of swap: with swap, the late font
   swap measured CLS 0.18 to 0.25 on the hero and FAQ. The three faces are
   local, latin-only, about 35 KB each, and the page works with the fallback. */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: optional;
}
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: optional;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: optional;
}

/* Scroll progress for the install bay. Registered so animation-timeline can drive it. */
@property --p {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

:root {
  --ink: #060202;          /* logo black, sampled */
  --graphite: #141416;
  --red: #d71417;          /* logo red, sampled */
  --paper: #f8f8f8;        /* logo white, sampled */
  --chrome: #e0e0e0;       /* logo grey gradient, sampled */
  --steel: #686868;        /* logo grey gradient, sampled */
  --heat: #ff9d2e;         /* concept choice, not from the brand: heat glow and rays only */
  --muted: #4a4a4a;
  --line: #d6d6d6;
  --on-dark-muted: #c9c9c9;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --display: "Archivo", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --text: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.6 var(--text);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 850;
  line-height: .98;
  letter-spacing: -.01em;
  margin: 0;
}
h3 { font-size: 1.35rem; font-weight: 800; }
h4 { font-size: .8rem; font-style: normal; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 22px 0 6px; color: var(--red); }
p { margin: 0 0 1em; }
a { color: inherit; }
figure { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

.skip { position: absolute; left: -9999px; top: 8px; }
.skip:focus { left: 16px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 14px; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.ink :focus-visible, .ink-soft :focus-visible, .heat :focus-visible, .bay-track :focus-visible, .cta :focus-visible, .site-foot :focus-visible, .site-head :focus-visible { outline-color: var(--paper); }

/* ---------- concept banner ---------- */
.concept-banner { background: var(--graphite); color: var(--paper); font-size: .8rem; text-align: center; padding: 6px 12px; }
.concept-note { margin: 0; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 12px;
  min-height: 72px; padding: 8px clamp(14px, 3vw, 28px);
  background: var(--ink); color: var(--paper);
  border-bottom: 3px solid var(--red);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand img { width: 56px; height: 56px; object-fit: contain; background: var(--paper); flex: none; }
.brand-name {
  font-family: var(--display); font-style: italic; font-weight: 900;
  text-transform: uppercase; font-size: 1.1rem; line-height: .95; letter-spacing: .02em;
}
.brand-name small { display: block; font-family: var(--text); font-style: normal; font-weight: 700; font-size: .66rem; letter-spacing: .24em; color: var(--on-dark-muted); }
.head-nav { display: flex; gap: 2px; margin-left: auto; }
.head-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
  color: var(--paper); text-decoration: none; font-weight: 600; font-size: .92rem; white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.head-nav a:hover { border-bottom-color: var(--red); }
.head-call {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; flex: none;
  background: var(--red); color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; border-radius: 4px;
}
.menu { display: none; position: relative; margin-left: auto; }
.menu summary {
  list-style: none; cursor: pointer; min-height: 44px; min-width: 44px; padding: 0 14px;
  display: inline-flex; align-items: center; font-weight: 700; border: 2px solid var(--paper); border-radius: 4px;
}
.menu summary::-webkit-details-marker { display: none; }
.menu-list {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60;
  display: grid; min-width: 200px; padding: 8px; background: var(--ink); border: 1px solid #333; border-radius: 6px;
}
.menu-list a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--paper); text-decoration: none; font-weight: 600; }
.menu-list a:hover { color: var(--heat); }

/* ---------- buttons and links ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px;
  border-radius: 4px; font-weight: 700; text-decoration: none; cursor: pointer; font: inherit; font-weight: 700;
  border: 2px solid transparent; transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; }
.btn-ghost { border-color: var(--paper); color: var(--paper); background: transparent; }
.btn-ghost-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-outline { border-color: var(--paper); color: var(--paper); background: transparent; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--red); text-decoration: underline; text-underline-offset: 4px; }
.paper .text-link, .grey .text-link, .ink-soft .text-link { color: var(--red); }
.ink .text-link { color: var(--paper); }

.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--paper); margin-bottom: 14px;
}
.dark-eyebrow { color: #b8101a; } /* deeper sampled red so small text passes AA on the grey band */
.lead { font-size: 1.12rem; max-width: 60ch; margin-top: 16px; }
.muted { color: var(--muted); }
.muted-light { color: var(--on-dark-muted); font-size: .92rem; }

/* ---------- install bay (hero + chapters) ---------- */
.bay-track {
  position: relative;
  height: 340vh;
  background: var(--ink);
  color: var(--paper);
}
.bay-stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
  padding: 96px clamp(20px, 4vw, 60px) 48px;
}
.bay-backdrop {
  position: absolute; inset: 0; z-index: 0;
  background: url('../images/hero-bay-haze.webp') center/cover no-repeat;
}
.bay-backdrop .slot-label { position: absolute; right: 16px; bottom: 16px; }
.bay-copy { position: relative; z-index: 2; background: var(--ink); padding-right: 12px; }
.copy-stack { position: relative; }
.hero-text h1 { font-size: clamp(2.3rem, 5.2vw, 4.6rem); margin-bottom: 18px; }
.lede { font-size: clamp(1rem, 1.3vw, 1.15rem); max-width: 44ch; color: #e8e8e8; }

.open-status {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 22px;
  padding: 12px 14px; max-width: 48ch; min-height: 64px; /* reserves room for the live status text, no layout shift */
  border-left: 4px solid var(--red); background: rgba(248, 248, 248, .06);
}
.open-status p { margin: 0; }
.status-dot { width: 12px; height: 12px; border-radius: 50%; background: #8c8c8c; margin-top: 7px; flex: none; }
.open-status[data-state="open"] .status-dot { background: #3fd17a; }
.open-status[data-state="closed"] .status-dot { background: var(--red); }
.status-main { display: block; font-weight: 700; color: var(--paper); }
.status-sub { display: block; font-size: .86rem; color: var(--on-dark-muted); }

.chapters { display: block; }
.chapter { padding-top: 4px; }
.ch-num { font-family: var(--display); font-weight: 900; font-style: italic; color: var(--red); font-size: 1rem; margin-bottom: 6px; }
.ch-title { font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: 14px; }
.chapter p { max-width: 46ch; color: #e6e6e6; }
.ch-note { font-size: .9rem; color: var(--on-dark-muted); border-top: 1px solid #333; padding-top: 10px; margin-top: 14px; }

.bay-visual {
  position: relative; z-index: 1;
  height: min(74vh, 660px);
  display: grid; place-items: center;
  perspective: 1100px;
}
.pane-track {
  --turn: clamp(0, calc((var(--p) - .76) / .2), 1);
  --film: clamp(0, calc((var(--p) - .36) * 6), 1);
  --sq: clamp(0, calc((var(--p) - .56) / .18), 1);
  --seal: clamp(0, calc((var(--p) - .66) / .1), 1);
  --ry: calc(-56deg + 6deg * var(--p) + 50deg * var(--turn));
  --rx: calc(12deg - 12deg * var(--turn));
  position: relative;
  width: min(30vw, 340px);
  aspect-ratio: 3 / 4;
  transform-style: preserve-3d;
  transform: rotateY(var(--ry)) rotateX(var(--rx));
  will-change: transform;
}
.pane {
  position: absolute; inset: 0;
  border-radius: 46% 46% 10px 10px / 16% 16% 6px 6px;
  border: 10px solid #0b0b0c;
  background: #15171b;
  overflow: hidden;
  transform: translateZ(0);
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .8);
}
.pane-photo { position: absolute; inset: 0; background: url('../images/pane-door-window.webp') center/cover no-repeat; }
.pane-dust {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 18% 26%, rgba(255, 255, 255, .55) 0 1.2px, transparent 2px),
    radial-gradient(circle at 64% 58%, rgba(255, 255, 255, .42) 0 1px, transparent 2px),
    radial-gradient(circle at 42% 82%, rgba(255, 255, 255, .5) 0 1.2px, transparent 2px),
    radial-gradient(circle at 84% 18%, rgba(255, 255, 255, .38) 0 1px, transparent 2px),
    radial-gradient(circle at 30% 50%, rgba(255, 255, 255, .34) 0 1px, transparent 2px);
  background-size: 47px 53px, 61px 37px, 53px 71px, 43px 59px, 67px 41px;
  opacity: clamp(0, calc((.34 - var(--p)) * 4.5), 1);
}
.pane-glass {
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, .08) 26%, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, .22) 58%, rgba(255, 255, 255, 0) 72%),
    linear-gradient(180deg, #2b3138, #0e1013);
  mix-blend-mode: screen;
  opacity: .9;
}
.film {
  position: absolute; inset: 0;
  border-radius: 46% 46% 10px 10px / 16% 16% 6px 6px;
  background: linear-gradient(135deg, rgba(18, 18, 20, .96), rgba(72, 74, 82, .74) 38%, rgba(10, 10, 12, .97) 72%);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
  overflow: hidden;
  opacity: calc(var(--film) * .96);
  transform-origin: 50% 0%;
  transform:
    translate3d(0, calc(-22% * (1 - var(--film))), calc(26px * var(--film)))
    rotateX(calc(-70deg * (1 - var(--film))))
    scaleY(calc(1.05 - .05 * var(--film)));
}
.film-sheen {
  position: absolute; inset: -10% -60%;
  background: linear-gradient(105deg, transparent 36%, rgba(255, 255, 255, .2) 46%, transparent 56%);
  transform: translateX(calc(-30% + var(--p) * 60%));
}
.heat-glow {
  position: absolute; inset: -14%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 157, 46, .62), rgba(215, 20, 23, .28) 58%, transparent 74%);
  opacity: calc(clamp(0, calc((var(--p) - .36) * 8), 1) * clamp(0, calc((.58 - var(--p)) * 8), 1));
  transform: translateZ(-30px);
  filter: blur(6px);
  pointer-events: none;
}
.squeegee-band {
  position: absolute; top: 0; bottom: 0; left: 0; width: 46%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .62), transparent);
  mix-blend-mode: screen;
  transform: translateX(calc(-130% + 260% * var(--sq))) translateZ(36px);
  opacity: calc(clamp(0, calc((var(--p) - .55) * 12), 1) * clamp(0, calc((.74 - var(--p)) * 12), 1));
  pointer-events: none;
}
.seal-line {
  position: absolute; left: 6%; right: 6%; bottom: 8%; height: 3px;
  background: var(--red);
  box-shadow: 0 0 14px rgba(215, 20, 23, .8);
  transform-origin: left center;
  transform: translateZ(40px) scaleX(var(--seal));
}
.visual-caption { position: absolute; left: 0; bottom: 0; margin: 0; font-size: .82rem; color: var(--on-dark-muted); max-width: 40ch; }

.cutout-squeegee {
  display: flex; align-items: flex-end;
  position: absolute; right: 2%; top: 8%;
  width: clamp(120px, 14vw, 180px); aspect-ratio: 1;
  transform: translateY(calc(var(--p) * -90px)) rotate(calc(var(--p) * 10deg));
  z-index: 2;
  background: url('../images/squeegee-cutout.webp') center/contain no-repeat;
}
.rail {
  position: absolute; left: 0; right: 0; top: 0;
  display: flex; gap: 6px;
}
.rail li {
  flex: 1; padding-top: 10px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #8c8c8c; border-top: 3px solid #333;
  transition: color .4s var(--ease), border-color .4s var(--ease);
}

/* slot labels (every concept image slot carries one) */
.slot-label {
  display: inline-block; padding: 4px 8px; font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  background: rgba(6, 2, 2, .78); color: var(--paper); border-radius: 3px;
}
.paper .slot-label, .grey .slot-label { background: var(--ink); }

/* pinned state: chapters swap in one grid cell */
.pin .copy-stack { display: grid; }
.pin .copy-stack > * { grid-area: 1 / 1; align-self: center; }
.pin .chapters { display: grid; }
.pin .chapters > .chapter { grid-area: 1 / 1; }
.hero-text, .chapter { transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s; }
.pin .hero-text, .pin .chapter { opacity: 0; visibility: hidden; transform: translateY(16px); }
.pin .bay-stage[data-ch="0"] [data-k="0"],
.pin .bay-stage[data-ch="1"] [data-k="1"],
.pin .bay-stage[data-ch="2"] [data-k="2"],
.pin .bay-stage[data-ch="3"] [data-k="3"],
.pin .bay-stage[data-ch="4"] [data-k="4"] { opacity: 1; visibility: visible; transform: none; }
.pin .bay-stage[data-ch="1"] .rail li[data-r="1"],
.pin .bay-stage[data-ch="2"] .rail li[data-r="2"],
.pin .bay-stage[data-ch="3"] .rail li[data-r="3"],
.pin .bay-stage[data-ch="4"] .rail li[data-r="4"] { color: var(--paper); border-top-color: var(--red); }
.pin .bay-stage[data-ch="0"] .rail li[data-r="1"] { color: var(--paper); }

/* scroll-driven progress: CSS timeline where supported (pinned track of 340vh on a 100vh stage) */
@supports (animation-timeline: view()) {
  .pin .bay-track { animation: bay-scrub linear both; animation-timeline: view(); }
}
@keyframes bay-scrub {
  0%, 22.7% { --p: 0; }
  77.3%, 100% { --p: 1; }
}
@media (max-width: 760px) {
  .bay-track { height: 300vh; }
  @supports (animation-timeline: view()) {
    .pin .bay-track { animation-name: bay-scrub-m; }
  }
}
@keyframes bay-scrub-m {
  0%, 25% { --p: 0; }
  75%, 100% { --p: 1; }
}

/* static / no-JS / reduced-motion: final state, all chapters listed */
html:not(.js) .bay-track, html.still .bay-track { height: auto; --p: 1; }
html:not(.js) .bay-stage, html.still .bay-stage { position: relative; height: auto; overflow: visible; }
html:not(.js) .copy-stack > *, html.still .copy-stack > * { opacity: 1; visibility: visible; transform: none; }
html:not(.js) .bay-stage [data-k], html.still .bay-stage [data-k] { opacity: 1; visibility: visible; transform: none; }
html:not(.js) .rail, html.still .rail { display: none; }
html:not(.js) .cutout-squeegee, html.still .cutout-squeegee { transform: none; }
html.still .bay-visual, html:not(.js) .bay-visual { height: min(70vh, 560px); }
html.still .pane-track, html:not(.js) .pane-track { transform: rotateY(0deg) rotateX(0deg); }
html.still .bay-stage, html:not(.js) .bay-stage { grid-template-columns: 1fr; }
html.still .chapters, html:not(.js) .chapters { display: grid; gap: 28px; margin-top: 36px; }
html.still .chapter, html:not(.js) .chapter { padding: 20px 14px 0; border-top: 1px solid #333; }
html.still .cutout-squeegee { display: none; }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.paper { background: var(--paper); color: var(--ink); }
.grey { background: var(--chrome); color: var(--ink); }
.ink { background: var(--ink); color: var(--paper); }
.ink-soft { background: var(--graphite); color: var(--paper); }
.ink-soft .lead { color: #e6e6e6; }
.ink-soft .eyebrow { color: var(--paper); }
.ink-soft h2, .ink h2 { color: var(--paper); }
.paper h2, .grey h2 { color: var(--ink); }
.paper .lead, .grey .lead { color: var(--muted); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.8rem); }

/* planner */
.fit-sheet {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 36px); margin-top: 36px; align-items: start;
}
.planner-form { display: grid; gap: 24px; }
.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field legend { font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; color: var(--ink); padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 16px;
  border: 2px solid #bdbdbd; border-radius: 6px; background: #fff; cursor: pointer; font-weight: 600;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.chip input { width: 20px; height: 20px; accent-color: var(--red); margin: 0; }
.chip:has(input:checked), .chip.on { border-color: var(--red); background: #fff1f1; }
.chip:hover { border-color: var(--ink); }

.fit-summary {
  background: var(--ink); color: var(--paper); padding: clamp(22px, 3vw, 32px);
  border-radius: 8px; position: sticky; top: 96px;
}
.fit-summary h3 { font-size: 1.8rem; color: var(--paper); }
.fit-summary h4 { color: var(--heat); }
.fit-summary p { color: #e8e8e8; }
.fit-summary .muted { color: var(--on-dark-muted); }
.plan-line { font-weight: 700; color: var(--paper) !important; border-bottom: 1px solid #333; padding-bottom: 12px; margin-top: 10px; }
.legal { border-top: 1px solid #333; margin-top: 18px; padding-top: 4px; }
.legal a { color: var(--paper); font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.draft-label { display: block; font-size: .85rem; color: var(--on-dark-muted); margin-bottom: 8px; }
.draft {
  width: 100%; font: inherit; font-size: .95rem; line-height: 1.5; padding: 12px;
  background: #141416; color: var(--paper); border: 1px solid #444; border-radius: 6px; resize: vertical;
}
.copy-status { min-height: 1.4em; margin-top: 10px; font-size: .9rem; color: var(--paper); }
.fit-summary .btn-ghost { color: var(--paper); }

/* services */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.service {
  background: #fff; border: 1px solid #d6d6d6; border-top: 4px solid var(--red); border-radius: 0;
  padding: 24px; display: flex; flex-direction: column; gap: 6px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.service:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -18px rgba(6, 2, 2, .4); }
.service { color: var(--ink); }
.service h3 { color: var(--ink); }
.service p { color: var(--muted); }
.service .tag { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--ink); background: var(--chrome); padding: 4px 10px; border-radius: 3px; align-self: flex-start; margin-top: 6px; }
.service .text-link { margin-top: auto; }

/* heat */
.heat { position: relative; background: var(--ink); color: var(--paper); overflow: hidden; }
.heat-backdrop {
  position: absolute; inset: 0; z-index: 0;
  background: url('../images/heat-check-haze.webp') center/cover no-repeat;
}
.heat-backdrop .slot-label { position: absolute; left: 16px; bottom: 16px; }
.heat-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.heat h2 { color: var(--paper); }
.heat .lead { color: #e8e8e8; }
.heat-diagram { position: relative; }
#ray-svg { width: 100%; height: auto; display: block; }
.ray-out { stroke: var(--heat); stroke-width: 2; opacity: .85; }
.ray-in { stroke: var(--heat); stroke-width: 2; stroke-dasharray: 6 6; }
.film-band { fill: #1c1d21; opacity: calc(var(--block, 0) * .92); }
.glass-frame { fill: rgba(200, 220, 235, .08); stroke: #9aa3ad; stroke-width: 6; }
.sun-disc { fill: var(--heat); }
.svg-label { fill: var(--paper); font-family: var(--text); font-size: 15px; font-weight: 600; }
.cutout-heat { position: absolute; right: -2%; bottom: -8%; width: clamp(110px, 16vw, 170px); aspect-ratio: 1; transform: translateY(calc(var(--heat-shift, 0) * -60px)); background: url('../images/heat-gun-cutout.webp') center/contain no-repeat; }
.cutout-heat .slot-label { position: absolute; left: 6px; bottom: 6px; }
.heat .cutout-heat { border: 0; background: url('../images/heat-gun-cutout.webp') center/contain no-repeat; }

/* about */
.about-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 60px); align-items: start; }
.about-copy p { font-size: 1.05rem; max-width: 56ch; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.gallery-tile { background: #fff; border-radius: 6px; overflow: hidden; border: 1px solid #bcbcbc; }
.tile-art {
  position: relative; aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, #2a2d33, #0c0d0f 70%);
  display: grid; place-items: end start; padding: 12px;
}
.tile-art::after {
  content: ""; position: absolute; inset: 14% 12% 26%; border-radius: 40% 40% 8px 8px / 22% 22% 6px 6px;
  border: 2px solid #3f434b; background: linear-gradient(115deg, rgba(255, 255, 255, .12), transparent 60%);
}
.gallery-tile figcaption { padding: 12px 14px; font-size: .9rem; font-weight: 600; color: var(--muted); }

/* reviews */
.reviews-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
.rating-card { background: var(--graphite); border: 1px solid #2a2a2e; border-radius: 8px; padding: clamp(24px, 3vw, 36px); }
.rating-big { font-family: var(--display); font-style: italic; font-weight: 900; font-size: clamp(5rem, 14vw, 9rem); line-height: .9; margin: 0; color: var(--paper); }
.rating-stars { color: var(--heat); font-size: 1.6rem; letter-spacing: .2em; margin: 8px 0 14px; }
.rating-count { font-size: 1.25rem; font-weight: 700; margin: 0 0 12px; color: var(--paper); }
.count { font-variant-numeric: tabular-nums; }

/* visit */
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.facts { margin: 22px 0 0; display: grid; gap: 14px; }
.facts div { border-top: 1px solid var(--line); padding-top: 12px; }
.facts dt { font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.facts dd { margin: 4px 0 0; font-size: 1.05rem; }
.facts a { color: var(--ink); font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.visit-side { display: grid; gap: 16px; }
.map {
  position: relative; min-height: 260px; border-radius: 8px; overflow: hidden;
  background:
    linear-gradient(90deg, transparent 48%, #cfcfcf 48%, #cfcfcf 52%, transparent 52%),
    linear-gradient(0deg, transparent 58%, #d8d8d8 58%, #d8d8d8 62%, transparent 62%),
    linear-gradient(0deg, transparent 22%, #e9e9e9 22%, #e9e9e9 25%, transparent 25%),
    #f1f1f1;
  border: 1px solid #c9c9c9;
}
.map-road { position: absolute; font-size: .8rem; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.road-a { left: 14px; top: calc(58% - 26px); }
.road-b { right: 14px; top: 14px; }
.map-pin {
  position: absolute; left: 50%; top: 42%; width: 22px; height: 22px; margin: -11px 0 0 -11px;
  background: var(--red); border: 3px solid var(--paper); border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  box-shadow: 0 0 0 6px rgba(215, 20, 23, .18);
}
.map-note { position: absolute; left: 12px; bottom: 12px; right: 12px; font-size: .85rem; background: var(--paper); padding: 6px 8px; border-radius: 4px; }
.visit-photo { position: relative; min-height: 180px; border: 1px dashed #9a9a9a; border-radius: 8px; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; background: #fff; }
.visit-photo p { margin: 0; font-size: .92rem; color: var(--muted); }

/* FAQ */
.faq-wrap { max-width: 880px; }
.faq { margin-top: 28px; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid #b5b5b5; }
.faq summary {
  list-style: none; cursor: pointer; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-weight: 700; font-size: 1.12rem; padding: 14px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--red); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 18px; max-width: 64ch; color: var(--muted); }

/* CTA */
.cta { background: var(--red); color: #fff; padding: clamp(64px, 8vw, 104px) 0; }
.cta-inner { display: grid; gap: 14px; }
.cta h2 { color: #fff; max-width: 18ch; }
.cta p { font-size: 1.12rem; max-width: 48ch; margin: 0; }
.cta .btn-paper { color: var(--ink); }

/* footer */
.site-foot { background: var(--ink); color: var(--paper); padding: 56px 0 96px; }
.foot-grid { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px 40px; align-items: start; }
.foot-brand img { width: 96px; height: 96px; object-fit: contain; background: var(--paper); }
.foot-name { font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 1.2rem; margin: 10px 0 0; }
.site-foot p { margin: 0 0 6px; color: #e4e4e4; }
.site-foot a { color: var(--paper); min-height: 44px; display: inline-flex; align-items: center; }
.foot-nav { display: grid; grid-template-columns: repeat(2, auto); gap: 0 24px; align-content: start; }
.foot-note { grid-column: 1 / -1; font-size: .85rem; color: var(--on-dark-muted); border-top: 1px solid #333; padding-top: 18px; margin: 0; }

/* sticky mobile action bar (phones only) */
.mobile-bar { display: none; }

/* reveal on scroll (only when JS runs and motion is allowed) */
.js:not(.still) [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js:not(.still) [data-reveal].in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1099px) {
  .head-nav { display: none; }
  .menu { display: block; }
}
@media (max-width: 1024px) {
  .fit-sheet, .about-grid, .reviews-grid, .visit-grid, .heat-grid { grid-template-columns: 1fr; }
  .fit-summary { position: static; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr; }
  .bay-stage { grid-template-columns: 1fr; grid-template-rows: auto auto; align-content: center; gap: 12px; }
  .bay-visual { height: 36vh; }
  .pane-track { width: min(24vh, 240px); }
  .bay-copy { padding-right: 0; }
  .cutout-squeegee { display: none; }
  .rail { position: absolute; top: auto; bottom: 0; left: 0; right: 0; }
}
@media (max-width: 760px) {
  .wrap { width: min(1180px, 100% - 32px); }
  .site-head { gap: 8px; min-height: 64px; }
  .brand img { width: 46px; height: 46px; }
  .brand-name { font-size: .98rem; }
  .head-call { padding: 0 12px; }
  .head-call .num { display: none; }
  .bay-stage { padding: 108px 16px 104px; gap: 4px; align-content: start; height: 100vh; height: 100svh; overflow: hidden; }
  .bay-visual { position: absolute; left: 0; right: 0; top: 104px; height: 44vh; min-height: 0; }
  .bay-visual .rail { top: 0; bottom: auto; left: 16px; right: 16px; }
  .pin .bay-stage[data-ch="0"] .bay-visual .rail { visibility: hidden; }
  .bay-copy { background: transparent; }
  .pin .copy-stack > * { align-self: end; }
  .hero-text, .chapter { background: rgba(6, 2, 2, .82); padding: 14px; }
  .pane-track { width: min(44vw, 200px); }
  .hero-text h1 { font-size: clamp(1.9rem, 9vw, 2.6rem); margin-bottom: 10px; }
  .lede { font-size: .98rem; }
  .actions .btn { flex: 1 1 100%; }
  .open-status { margin-top: 14px; }
  .ch-title { font-size: 1.8rem; }
  .chapter p { font-size: .97rem; }
  .ch-note { display: none; }
  .visual-caption { display: none; }
  .service-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .mobile-bar {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--ink); border-top: 3px solid var(--red);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; min-height: 56px;
    color: var(--paper); text-decoration: none; font-weight: 700; font-size: .95rem;
  }
  .mobile-bar a + a { border-left: 1px solid #333; }
  .site-foot { padding-bottom: 110px; }
  .cta .actions .btn { flex: 1 1 100%; }
}
@media (max-width: 360px) {
  .brand-name small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; scroll-behavior: auto !important; }
  .btn:hover, .service:hover { transform: none; }
}
