/* Mr. Chrome — site styles */
:root {
  --black: #131315;
  --coal: #1d1d20;
  --coal-2: #2a2a2e;
  --red: #d4141c;
  --red-dark: #a80f16;
  --paper: #f4f4f5;
  --white: #ffffff;
  --ink: #18181b;
  --muted: #5d6068;
  --silver: #b6bac1;
  --line: #e2e3e6;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --display: "Archivo", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Archivo", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.2; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 38em; }
.measure { max-width: 42em; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 14px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 700 1rem/1 var(--display); font-stretch: 112%;
  padding: 1em 1.4em; border-radius: 4px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); }
.btn-line { border-color: currentColor; color: inherit; background: transparent; }
.btn-line:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.on-light .btn-line:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { background: var(--black); color: var(--white); position: sticky; top: 0; z-index: 50; border-bottom: 3px solid var(--red); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { flex: 0 0 auto; }
.brand img { height: 30px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; padding: 10px 10px; border-radius: 4px; color: #e6e7ea; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); background: var(--coal-2); }
.nav .btn { margin-left: 8px; padding: .8em 1.1em; color: var(--white); }
.nav .btn:hover { background: var(--red-dark); }
.header-phone { font-weight: 700; text-decoration: none; white-space: nowrap; color: var(--white); }
.menu-btn { display: none; margin-left: auto; background: none; border: 2px solid #4a4a50; color: var(--white); border-radius: 4px; padding: 8px 12px; font: 600 .95rem var(--body); cursor: pointer; }

@media (max-width: 900px) {
  .menu-btn { display: block; }
  .header-phone { display: none; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--black); padding: 8px var(--gutter) 20px; border-bottom: 3px solid var(--red);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 8px; border-bottom: 1px solid var(--coal-2); border-radius: 0; }
  .nav .btn { margin: 14px 0 0; border-radius: 4px; }
}

/* Hero */
.hero { background: var(--black); color: var(--white); overflow: hidden; position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 24px; padding-top: clamp(40px, 7vw, 96px); padding-bottom: clamp(40px, 7vw, 96px); }
.hero h1 { max-width: 13em; }
.hero .lede { color: #d7d9dd; margin-bottom: 1.6em; }
.hero-wheel { position: relative; margin-right: calc(-1 * clamp(40px, 9vw, 160px)); }
.hero-wheel .rim { width: 100%; max-width: 620px; aspect-ratio: 1; position: relative; border-radius: 50%; overflow: hidden; margin-left: auto; }
.hero-wheel .rim img { width: 100%; height: 100%; }
.hero-wheel .rim::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.55) 48%, rgba(255,255,255,.08) 54%, transparent 62%);
  transform: translateX(-120%); animation: sweep 2.2s .4s cubic-bezier(.4,.1,.2,1) forwards;
  mix-blend-mode: screen;
}
.hero-wheel .glow { position: absolute; inset: 8% 0 8% 8%; background: radial-gradient(closest-side, rgba(212,20,28,.35), transparent); filter: blur(10px); z-index: 0; }
.hero-wheel .rim { z-index: 1; }
@keyframes sweep { to { transform: translateX(120%); } }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 2.2em 0 0; padding: 0; list-style: none; color: var(--silver); font-size: .95rem; }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 8px; height: 8px; background: var(--red); flex: 0 0 auto; }

.page-hero { background: var(--black); color: var(--white); border-bottom: 1px solid var(--coal-2); }
.page-hero .wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center; padding-top: clamp(36px, 6vw, 72px); padding-bottom: clamp(36px, 6vw, 72px); }
.page-hero .lede { color: #d7d9dd; }
.page-hero img { max-width: 300px; margin-left: auto; }
.crumbs { font-size: .9rem; color: var(--silver); margin-bottom: 1.2em; }
.crumbs a { color: var(--silver); }
.crumbs a:hover { color: var(--white); }

@media (max-width: 820px) {
  .hero .wrap, .page-hero .wrap { grid-template-columns: 1fr; }
  .hero-wheel { order: -1; margin: 0 auto; width: 78%; max-width: 380px; }
  .page-hero img { display: none; }
}

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-dark { background: var(--black); color: var(--white); }
.section-coal { background: var(--coal); color: var(--white); }
.section-paper { background: var(--paper); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 32px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { margin: 0; max-width: 18em; }
.section-head p { margin: 0; max-width: 32em; color: var(--muted); }
.section-dark .section-head p, .section-coal .section-head p { color: var(--silver); }
.text-link { font-weight: 700; color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.section-dark .text-link, .section-coal .text-link { color: #ff5a5f; }

/* Finish picker */
.finishes { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: clamp(16px, 2.5vw, 32px); margin: 0; padding: 0; list-style: none; }
.finishes a { display: block; text-decoration: none; text-align: center; }
.finishes img { width: 100%; aspect-ratio: 1; transition: transform .35s ease; }
.finishes a:hover img { transform: rotate(-24deg); }
.finishes strong { display: block; margin-top: 12px; font-size: 1rem; }
.finishes span { display: block; font-size: .88rem; color: var(--muted); }

/* Service rows */
.service { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; padding: clamp(32px, 5vw, 56px) 0; border-top: 1px solid var(--line); }
.service:first-of-type { border-top: 0; padding-top: 0; }
.service:nth-of-type(even) { grid-template-columns: 1fr 300px; }
.service:nth-of-type(even) .service-img { order: 2; }
.service-img img { width: 100%; max-width: 300px; margin: 0 auto; }
.service h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.service .meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 1.2em; padding: 0; list-style: none; font-size: .95rem; color: var(--muted); }
.service .meta b { color: var(--ink); }
@media (max-width: 760px) {
  .service, .service:nth-of-type(even) { grid-template-columns: 1fr; }
  .service:nth-of-type(even) .service-img { order: 0; }
  .service-img img { max-width: 220px; margin: 0; }
}

/* Steps (exchange process) */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid #3a3a40; }
.steps li { counter-increment: step; padding: 28px 28px 32px 0; border-bottom: 1px solid #3a3a40; }
.steps li::before { content: counter(step); display: block; font: 800 2.6rem/1 var(--display); font-stretch: 125%; color: var(--red); margin-bottom: 14px; }
.steps h3 { margin-bottom: .35em; }
.steps p { color: #c9cbd0; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Prose pages */
.prose { max-width: 44em; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--red); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 6vw, 80px); align-items: start; }
.aside { position: sticky; top: 100px; background: var(--black); color: var(--white); padding: 28px; border-radius: 6px; border-top: 4px solid var(--red); }
.aside h2 { font-size: 1.4rem; }
.aside p { color: #d0d2d6; }
.aside .btn { width: 100%; margin-top: 8px; }
.aside .phone { display: block; font: 800 1.35rem var(--display); font-stretch: 112%; text-decoration: none; margin-bottom: 4px; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } .aside { position: static; } }

.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* Gallery */
.rim-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.rim-gallery figure { margin: 0; }
.rim-gallery img { width: 100%; aspect-ratio: 1; }
.rim-gallery figcaption { margin-top: 10px; font-weight: 600; text-align: center; }
.rim-gallery figcaption span { display: block; font-weight: 400; font-size: .88rem; color: var(--muted); }

.customer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.customer-grid button { padding: 0; border: 0; background: var(--coal); cursor: zoom-in; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; }
.customer-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.customer-grid button:hover img { transform: scale(1.04); }
.customer-empty { border: 2px dashed #c9cbd0; border-radius: 6px; padding: 40px 28px; text-align: center; color: var(--muted); }
.customer-empty strong { color: var(--ink); }
.on-light .customer-empty { border-color: #c9cbd0; color: var(--muted); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(0,0,0,.88); }
.lightbox img { max-width: 94vw; max-height: 86vh; width: auto; border-radius: 4px; }
.lightbox button { position: fixed; top: 16px; right: 16px; background: var(--red); color: var(--white); border: 0; border-radius: 4px; font: 700 1rem var(--body); padding: 10px 16px; cursor: pointer; }

/* Quote band */
.quote-band { background: var(--red); color: var(--white); }
.quote-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: clamp(40px, 6vw, 64px); padding-bottom: clamp(40px, 6vw, 64px); }
.quote-band h2 { margin: 0 0 .25em; }
.quote-band p { margin: 0; font-size: 1.1rem; }
.quote-band .btn-white { background: var(--white); color: var(--black); }
.quote-band .btn-white:hover { background: var(--black); color: var(--white); }
.quote-band .btn-line:hover { background: var(--black); color: var(--white); border-color: var(--black); }

/* Form */
.form-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; } }
.quote-form fieldset { border: 0; padding: 0; margin: 0 0 32px; }
.quote-form legend { font: 800 1.2rem var(--display); font-stretch: 112%; margin-bottom: 14px; padding: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px 20px; }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label, .field .label { font-weight: 600; font-size: .95rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field .hint { font-size: .85rem; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1.5px solid #c4c6cb; border-radius: 4px; padding: 12px 14px; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(212,20,28,.25); }
textarea { min-height: 130px; resize: vertical; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choices label { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid #c4c6cb; border-radius: 4px; padding: 10px 14px; cursor: pointer; font-weight: 500; }
.choices input { accent-color: var(--red); width: 18px; height: 18px; }
.choices label:has(input:checked) { border-color: var(--red); background: #fdeced; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 4px; display: none; }
.form-status.ok { display: block; background: #e8f6ec; color: #14532d; }
.form-status.err { display: block; background: #fdeced; color: #8a0e13; }
.hp { position: absolute; left: -9999px; }
.contact-card { background: var(--paper); padding: 28px; border-radius: 6px; border-top: 4px solid var(--red); }
.contact-card h2 { font-size: 1.3rem; }
.contact-card dl { margin: 0; }
.contact-card dt { font-weight: 700; margin-top: 14px; }
.contact-card dd { margin: 2px 0 0; color: var(--muted); }
.contact-card a { color: var(--ink); }

/* Footer */
.site-footer { background: var(--black); color: #c9cbd0; padding: 56px 0 28px; font-size: .95rem; border-top: 3px solid var(--red); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer img { height: 30px; width: auto; margin-bottom: 16px; }
.site-footer h2 { font-size: 1rem; color: var(--white); margin-bottom: .8em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: #c9cbd0; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--coal-2); font-size: .85rem; color: #8b8e95; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero-wheel .rim::after { display: none; }
}

@media (max-width: 520px) {
  .brand img { height: 24px; }
  .site-header .wrap { gap: 12px; min-height: 64px; }
}

.nav a { white-space: nowrap; }
@media (max-width: 1100px) { .header-phone { display: none; } }

@media (max-width: 900px) { .nav .header-phone { display: block; } }

/* ---- Revision 3 (Dad's edits) ---- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero .hero-sub { color: #c9cbd0; max-width: 38em; margin-bottom: .8em; }
.hero .btn-row { margin-top: 1.6em; }
.hero h1 { max-width: 14em; }

.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.features li { padding: 32px 32px 32px 0; border-bottom: 1px solid var(--line); }
.features li:nth-child(3n+2), .features li:nth-child(3n) { padding-left: 32px; border-left: 1px solid var(--line); }
.features h3 { font-size: 1.2rem; margin-bottom: .5em; }
.features h3::before { content: ""; display: block; width: 28px; height: 4px; background: var(--red); margin-bottom: 16px; }
.features p { color: var(--muted); margin: 0 0 .5em; }
.features p:last-child { margin-bottom: 0; }
ul.plain { list-style: none; padding: 0; margin: 0; color: var(--muted); }
ul.plain li { padding: 0 !important; border: 0 !important; margin-bottom: 4px; }
@media (max-width: 900px) {
  .features { grid-template-columns: 1fr 1fr; }
  .features li, .features li:nth-child(3n+2), .features li:nth-child(3n) { padding: 28px 24px 28px 0; border-left: 0; }
  .features li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .features li, .features li:nth-child(even) { padding: 24px 0; border-left: 0; }
}

.prose h3 { font-size: 1.15rem; margin: 1.6em 0 .4em; }
.prose h2 + p, .prose h2 + h3 { margin-top: 0; }

.customer-grid button { position: relative; }
.customer-grid .photo-set { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.customer-grid .stage { position: absolute; left: 10px; bottom: 10px; background: var(--black); color: var(--white); font: 700 .85rem var(--body); padding: 5px 10px; border-radius: 3px; border-left: 3px solid var(--red); }

.footer-grid { grid-template-columns: 2fr 1fr; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
