/* ==========================================================================
   Meridian Atelier — shared stylesheet
   Quiet Luxury / Architectural Editorial. Zero build, plain CSS.
   --------------------------------------------------------------------------
   PLACEHOLDERS TO REPLACE (search for "PLACEHOLDER"):
     - brand name / legal entity
     - image file names under assets/img/
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --bg: #F5F2EB;          /* warm limestone white */
  --card: #EAE5DB;        /* pale raw linen */
  --dark: #141311;        /* obsidian charcoal */
  --ink: #171614;         /* primary text */
  --muted: #615C55;       /* secondary text */
  --accent: #8F4F32;      /* terracotta — the ONLY accent colour */
  --line: rgba(23, 22, 20, 0.12);
  --line-dark: rgba(245, 242, 235, 0.14);

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius: 3px;          /* micro radius only */
  --container: 80rem;     /* max-w-7xl */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;               /* never allow horizontal scroll */
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }

/* ---------- 3. Layout primitives ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 768px) { .container { padding-inline: 2rem; } }
@media (min-width: 1280px) { .container { padding-inline: 2.5rem; } }

.section { padding-block: 5rem; }
@media (min-width: 1024px) { .section { padding-block: 7rem; } }
.section-tight { padding-block: 3.5rem; }
@media (min-width: 1024px) { .section-tight { padding-block: 5rem; } }

.rule { border-top: 1px solid var(--line); }
.grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-12 { grid-template-columns: repeat(12, 1fr); }
}
.stack-sm > * + * { margin-top: 0.75rem; }
.stack > * + * { margin-top: 1.25rem; }
.stack-lg > * + * { margin-top: 2.5rem; }

/* ---------- 4. Typography ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow-accent { color: var(--accent); }
.mono { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.02em; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
em.em-accent { font-style: italic; color: var(--accent); }

.h1 { font-size: clamp(2.5rem, 5.2vw, 4.25rem); line-height: 1.04; }
.h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.1; }
.h3 { font-size: clamp(1.5rem, 2.2vw, 1.95rem); line-height: 1.18; }
.h4 { font-size: 1.25rem; line-height: 1.25; }
.lead { font-size: clamp(1rem, 1.15vw, 1.125rem); color: var(--muted); max-width: 44rem; }
.display-xl { font-size: clamp(3rem, 9vw, 7.5rem); line-height: 0.92; letter-spacing: -0.02em; }

.measure { max-width: 38rem; }
.measure-wide { max-width: 52rem; }

/* ---------- 5. Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
  font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn-dark { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-dark:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.btn-ghost { border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn-sm { padding: 0.55rem 0.95rem; font-size: 0.72rem; }
.btn-block { width: 100%; justify-content: center; }

.link-underline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding-bottom: 0.2rem; border-bottom: 1px solid var(--ink);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.link-underline:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- 6. Header & navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(245, 242, 235, 0.9);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 4.5rem; }
.brand { font-family: var(--font-display); font-size: 1.45rem; letter-spacing: 0.01em; white-space: nowrap; }
.nav-desktop { display: none; gap: 2rem; }
.nav-desktop a {
  font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
  padding-block: 0.35rem; border-bottom: 1px solid transparent;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav-desktop a:hover { color: var(--ink); }
.nav-desktop a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.box-trigger {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.85rem; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  transition: border-color 0.3s var(--ease);
}
.box-trigger:hover { border-color: var(--ink); }
.box-count {
  font-family: var(--font-mono); font-size: 0.7rem;
  min-width: 1.25rem; height: 1.25rem; padding-inline: 0.25rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--bg); border-radius: 2px;
}
.box-count.is-empty { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.menu-toggle { display: inline-flex; padding: 0.5rem 0.75rem; border: 1px solid var(--line); border-radius: var(--radius); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.nav-mobile { border-top: 1px solid var(--line); background: var(--bg); }
.nav-mobile[hidden] { display: none; }
.nav-mobile ul { padding: 1rem 0 1.5rem; }
.nav-mobile a { display: block; padding: 0.75rem 0; font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.nav-mobile a[aria-current="page"] { color: var(--accent); }

/* ---------- 7. Media placeholders (replace with real photography) ---------- */
.media-wrap { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); }
.media {
  position: relative; overflow: hidden;
  background-color: var(--card);
  background-image:
    repeating-linear-gradient(45deg, rgba(23,22,20,0.035) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(-45deg, rgba(23,22,20,0.028) 0 1px, transparent 1px 9px);
  transform: scale(1);
  transition: transform 0.9s var(--ease);       /* hover micro-zoom */
}
.media::after { content: ""; display: block; padding-top: var(--ratio, 56.25%); }
.media-wrap:hover .media { transform: scale(1.035); }
.media-label {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.4rem; padding: 1rem; text-align: center;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.media-label span:first-child { color: var(--ink); }
.media.has-img { background-size: cover; background-position: center; }
.media.has-img .media-label { display: none; }
.media-dark { background-color: #1C1A17; border-color: var(--line-dark); }
.media-dark .media-label { color: rgba(245,242,235,0.55); }
.media-dark .media-label span:first-child { color: rgba(245,242,235,0.85); }

/* ---------- 8. Hero (asymmetric lookbook) ---------- */
.hero { padding-block: 3rem 4rem; }
@media (min-width: 1024px) { .hero { padding-block: 4.5rem 6rem; } }
.hero-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: repeat(12, 1fr); gap: 2rem; align-items: end; }
  .hero-copy { grid-column: 1 / span 5; }
  .hero-visual { grid-column: 6 / span 7; }
  .hero-visual .media-wrap { margin-top: 3.5rem; }
}
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }

/* ---------- 9. Marquee (certifications) ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; background: var(--bg); }
.marquee-track { display: flex; width: max-content; animation: marquee 90s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 2.5rem; padding: 1.1rem 2.5rem;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
  white-space: nowrap;
}
.marquee-item::after { content: ""; width: 3px; height: 3px; background: var(--accent); border-radius: 50%; }
@keyframes marquee { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }

/* ---------- 10. Cards & bento ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.card-flat { background: transparent; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.bento { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.bento > * { background: var(--bg); padding: 2rem; }
@media (min-width: 768px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .bento { grid-template-columns: repeat(4, 1fr); } }
.bento-span-2 { grid-column: span 1; }
.bento-span-2x2 { grid-column: span 1; }
@media (min-width: 1024px) {
  .bento-span-2 { grid-column: span 2; }
  .bento-span-2x2 { grid-column: span 2; grid-row: span 2; }
}
.stat-value { font-family: var(--font-display); font-size: clamp(2.25rem, 4vw, 3.5rem); line-height: 1; }
.stat-unit { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ---------- 11. Product cards ---------- */
.product-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); overflow: hidden; }
.product-body { padding: 1.25rem 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 0.85rem; flex: 1; }
.product-title { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.2; }
.spec-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem 1rem; padding-top: 0.85rem; border-top: 1px solid var(--line); }
.spec-key { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.spec-val { font-family: var(--font-mono); font-size: 0.8rem; }
.product-actions { display: flex; gap: 0.5rem; margin-top: auto; padding-top: 0.5rem; }

/* ---------- 12. Filters / tabs / chips ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  padding: 0.5rem 0.95rem; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"], .chip[aria-selected="true"] { border-color: var(--accent); color: var(--accent); background: rgba(143, 79, 50, 0.06); }
.tag { display: inline-block; padding: 0.25rem 0.6rem; border: 1px solid var(--line); border-radius: 2px; font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.tag-accent { border-color: var(--accent); color: var(--accent); }

/* ---------- 13. Dark section (obsidian) ---------- */
.dark { background: var(--dark); color: #F5F2EB; }
.dark .muted { color: rgba(245, 242, 235, 0.62); }
.dark .eyebrow { color: rgba(245, 242, 235, 0.55); }
.dark .rule, .dark hr { border-top-color: var(--line-dark); }
.dark .card { background: #1C1A17; border-color: var(--line-dark); }
.dark .btn { border-color: rgba(245,242,235,0.5); color: #F5F2EB; }
.dark .btn:hover { background: #F5F2EB; color: var(--dark); }
.dark .media-wrap { border-color: var(--line-dark); }
.dark .spec-row { border-top-color: var(--line-dark); }
.dark .stat-unit { color: rgba(245, 242, 235, 0.55); }

/* ---------- 14. Accordion (FAQ) ---------- */
.accordion { border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-trigger {
  width: 100%; display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem;
  padding: 1.4rem 0; text-align: left; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.25;
}
.accordion-icon { font-family: var(--font-mono); font-size: 0.9rem; color: var(--accent); flex-shrink: 0; transition: transform 0.35s var(--ease); }
.accordion-trigger[aria-expanded="true"] .accordion-icon { transform: rotate(45deg); }
.accordion-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.accordion-panel[data-open="true"] { grid-template-rows: 1fr; }
.accordion-panel > div { overflow: hidden; }
.accordion-panel p { padding-bottom: 1.5rem; color: var(--muted); max-width: 52rem; }

/* ---------- 15. Tables ---------- */
.table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
.table th, .table td { text-align: left; padding: 0.75rem 0.5rem; border-bottom: 1px solid var(--line); }
.table th { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.table td.num { font-family: var(--font-mono); }

/* ---------- 16. Forms ---------- */
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; padding: 0.8rem 0.9rem; background: transparent; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius); font: inherit; font-size: 0.95rem;
  transition: border-color 0.3s var(--ease);
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--accent); outline: none; }
.textarea { min-height: 8rem; resize: vertical; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 1.1rem) 55%, calc(100% - 0.8rem) 55%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 2.25rem; }
.range { width: 100%; accent-color: var(--accent); }
.field-hint { font-size: 0.78rem; color: var(--muted); }
.field-error { font-size: 0.78rem; color: var(--accent); min-height: 1rem; }

/* ---------- 17. Swatches ---------- */
.swatch-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .swatch-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .swatch-grid { grid-template-columns: repeat(4, 1fr); } }
.swatch { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); overflow: hidden; display: flex; flex-direction: column; }
.swatch-chip { height: 5.5rem; border-bottom: 1px solid var(--line); }
.swatch-body { padding: 0.9rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.swatch-name { font-family: var(--font-display); font-size: 1.1rem; line-height: 1.2; }

/* ---------- 18. Process steps ---------- */
.steps { counter-reset: step; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.step { background: var(--bg); padding: 1.75rem 1.5rem; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; margin-bottom: 1rem;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; color: var(--accent);
}

/* ---------- 19. Drawer (Sample Box) ---------- */
.overlay { position: fixed; inset: 0; z-index: 50; background: rgba(20, 19, 17, 0.45); opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease); }
.overlay[data-open="true"] { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 60;
  width: min(26rem, 100vw); background: var(--bg); border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  transform: translate3d(100%, 0, 0); transition: transform 0.45s var(--ease);
}
.drawer[data-open="true"] { transform: translate3d(0, 0, 0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--line); }
.drawer-body { flex: 1; overflow-y: auto; padding: 1.5rem; }
.drawer-foot { padding: 1.5rem; border-top: 1px solid var(--line); display: grid; gap: 0.75rem; }
.box-item { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.box-item-main { flex: 1; min-width: 0; }
.box-item-name { font-family: var(--font-display); font-size: 1.1rem; line-height: 1.2; }
.box-item-meta { font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); letter-spacing: 0.04em; }
.box-remove { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); align-self: flex-start; }
.box-remove:hover { color: var(--accent); }
.empty-state { padding: 2.5rem 0; text-align: center; color: var(--muted); font-size: 0.92rem; }

/* ---------- 20. Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 1rem; }
.modal[hidden] { display: none; }
.modal-card { position: relative; z-index: 1; width: min(46rem, 100%); max-height: 90vh; overflow-y: auto; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.modal-close { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.modal-close:hover { color: var(--accent); }
.modal-section { padding-block: 1.25rem; border-bottom: 1px solid var(--line); }
.modal-section:last-of-type { border-bottom: 0; }

/* ---------- 21. Toast ---------- */
.toast-host { position: fixed; left: 50%; bottom: 1.5rem; z-index: 80; transform: translateX(-50%); display: grid; gap: 0.5rem; width: min(24rem, calc(100vw - 2rem)); pointer-events: none; }
.toast {
  background: var(--dark); color: #F5F2EB; padding: 0.85rem 1.1rem; border-radius: var(--radius);
  font-size: 0.85rem; display: flex; align-items: center; gap: 0.75rem;
  opacity: 0; transform: translate3d(0, 0.75rem, 0); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.toast[data-open="true"] { opacity: 1; transform: translate3d(0, 0, 0); }
.toast-dot { width: 5px; height: 5px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }

/* ---------- 22. Footer ---------- */
.site-footer { background: var(--dark); color: #F5F2EB; padding-block: 4rem 2.5rem; }
.footer-top { display: grid; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-dark); }
@media (min-width: 1024px) { .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(245,242,235,0.5); margin-bottom: 1rem; }
.footer-col a, .footer-col li { font-size: 0.9rem; color: rgba(245,242,235,0.78); padding-block: 0.3rem; display: block; }
.footer-col a:hover { color: var(--accent); }
.wordmark {
  font-family: var(--font-display); font-size: clamp(2.75rem, 11.5vw, 11rem); line-height: 0.86;
  letter-spacing: -0.025em; color: #F5F2EB; padding-block: 2.5rem 1.5rem; word-break: break-word;
}
.wordmark em { font-style: italic; color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; color: rgba(245,242,235,0.45); text-transform: uppercase; }

/* ---------- 23. Estimator ---------- */
.estimator { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .estimator { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.estimator-out { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.estimator-price { font-family: var(--font-display); font-size: clamp(2.25rem, 4vw, 3.25rem); line-height: 1; }

/* ---------- 24. Utilities ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: var(--bg); padding: 0.75rem 1.25rem; }
.skip-link:focus { left: 0; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.flex-wrap { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.text-right { text-align: right; }
.pt-0 { padding-top: 0; }
.mt-auto { margin-top: auto; }
[hidden] { display: none !important; }

/* ---------- 25. Scroll reveal (GPU only) ---------- */
.reveal { opacity: 0; transform: translate3d(0, 1.25rem, 0); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }

/* ---------- 26. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .media-wrap:hover .media { transform: none; }
}
