/* GLOSS AND GRIT
   Cool concrete, ink and Texas rust. A floor lab that draws your garage
   with the flake blend you pick, the difference from a box kit, the install
   day on a clock, shops and warehouses, reviews, FAQ, free quote. */

:root {
  --background: #F3F1EC;
  --card: #FFFFFF;
  --foreground: #16181B;
  --primary-cta: #16181B;
  --primary-cta-text: #FFFFFF;
  --secondary-cta: transparent;
  --secondary-cta-text: #16181B;
  --accent: #A8341B;
  --background-accent: #E7E4DD;
  --radius: 0.625rem;
  --content-width: 88vw;
  --section-head-size: var(--text-7xl);
  --nav-ink: var(--foreground);
  --font-body: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Bevellier', -apple-system, sans-serif;

  --rust: #B4361C;
  --tint: #E8E5DE;
  --line: #DEDAD1;
  --muted: #53575D;
  --btn-radius: 8px;
  --btn-icon-radius: 6px;
  --card-radius: 14px;
  --nav-radius: 12px;
  --btn-icon-bg: rgba(255, 255, 255, 0.16);
  --nav-bg: rgba(255, 255, 255, 0.94);
  --lead-bg: #16181B;
  --footer-bg: #16181B;
  --footer-head: #E3A38A;
  --star: #B4361C;
}

@media (width >= 1600px) {
  :root { --content-width: clamp(40rem, 88vw, 98rem); }
}


/* --- Shared base for this batch: resets and the standard blocks ----------- */

.ambient { display: none; }
body { background: var(--background); }
figure, dd, blockquote { margin: 0; }
h1, h2, h3 { font-family: var(--font-heading); }

.section-head h2,
.grad-head { background: none; color: var(--foreground); }
.section-head h2 { max-width: 17ch; line-height: 1.02; }
.section-head > p { max-width: 54ch; color: var(--muted); }
.section--flush { padding-top: 1rem; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Buttons */
.btn { height: 3.1rem; padding-inline: 1.4rem 0.5rem; border-radius: var(--btn-radius, 8px); font-size: var(--text-base); font-weight: 600; }
.btn:not(.btn--arrow) { padding-inline: 1.4rem; }
.btn--arrow .btn__icon { width: 2.05rem; height: 2.05rem; border-radius: var(--btn-icon-radius, 6px); background: var(--btn-icon-bg, rgba(0, 0, 0, 0.18)); color: var(--btn-icon-ink, currentColor); }
.btn--arrow .btn__icon svg { width: 1rem; height: 1rem; }
.primary-button, .secondary-button { box-shadow: none; }
.secondary-button { border: 1px solid var(--foreground); }
.secondary-button.btn--arrow .btn__icon { background: var(--foreground); color: var(--background); }

/* Nav */
.navbar--bar .navbar__bar {
  background: var(--nav-bg, rgba(255, 255, 255, 0.92));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--nav-line, var(--line));
  border-radius: var(--nav-radius, 10px);
}
.navbar__brand { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; font-family: var(--font-heading); font-weight: 700; letter-spacing: -0.01em; }
.navbar__toggle { border: 1px solid var(--nav-line, var(--line)); background: transparent; }
.navbar--bar .navbar__actions .btn { height: 2.65rem; }

/* Menu open: the panel behind the bar is dark, so the bar goes clear and the
   brand and close button, which the core turns white, stay readable. */
.nav-open .navbar--bar .navbar__bar { background: transparent; border-color: rgba(255, 255, 255, 0.22); -webkit-backdrop-filter: none; backdrop-filter: none; }

/* Long menu words ("Conservatories") in a wide face overran a phone screen. */
@media (width <= 640px) {
  .navbar__panel a { font-size: clamp(1.9rem, 9vw, 3.25rem); }
}

/* Stars */
.stars { display: flex; gap: 0.2rem; color: var(--star, #C98A0B); }
.stars svg { width: 1rem; height: 1rem; fill: currentColor; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.reviews--lead { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); }
.review { display: flex; flex-direction: column; gap: 0.9rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--card-radius, 10px); background: var(--card); }
.review blockquote { font-size: var(--text-lg); line-height: 1.55; }
.review__tag { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.review__who { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; font-size: var(--text-sm); color: var(--muted); }
.review__who strong { display: block; font-size: var(--text-base); color: var(--foreground); }
.review__who img { width: 2.6rem; height: 2.6rem; border-radius: 50%; object-fit: cover; flex: none; }
.review--lead { background: var(--lead-bg, var(--foreground)); border-color: var(--lead-bg, var(--foreground)); color: var(--lead-ink, #fff); }
.review--lead blockquote { font-family: var(--font-heading); font-size: var(--text-3xl); line-height: 1.22; }
.review--lead .review__who, .review--lead .review__tag { color: var(--lead-muted, rgba(255, 255, 255, 0.78)); }
.review--lead .review__who strong { color: var(--lead-ink, #fff); }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq__intro { position: sticky; top: 7rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
.faq__intro h2, .faq__body h2 { font-size: var(--section-head-size); line-height: 1.02; max-width: 13ch; }
.faq__intro > p:not(.kicker) { max-width: 40ch; font-size: var(--text-lg); line-height: 1.55; color: var(--muted); }
.faq__body { display: flex; flex-direction: column; gap: 1.2rem; }
.faq__media img { width: 100%; height: 36rem; object-fit: cover; border-radius: var(--card-radius, 10px); }
.accordion__item { border: 1px solid var(--line); border-radius: var(--card-radius, 10px); background: var(--card); }
.accordion__trigger h3 { font-size: var(--text-xl); }
.accordion .badge-num { width: 2.1rem; height: 2.1rem; flex: none; border-radius: var(--btn-icon-radius, 6px); }
.accordion .badge-num svg { width: 1rem; height: 1rem; transition: transform 0.3s; }
.accordion__item[data-open='true'] .badge-num svg { transform: rotate(45deg); }
.accordion__panel p { color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.contact__panel { display: flex; flex-direction: column; gap: 0.9rem; padding: 2.5rem; border: 1px solid var(--line); border-radius: var(--card-radius, 10px); background: var(--card); }
.contact__panel h2 { font-size: var(--text-6xl); line-height: 1.02; max-width: 13ch; }
.contact__panel > p:not(.kicker) { font-size: var(--text-lg); line-height: 1.5; color: var(--muted); margin-bottom: 0.5rem; }
.contact__panel .form button { height: 3.25rem; border-radius: var(--btn-radius, 8px); font-weight: 600; }
.form input, .form select, .form textarea { border-radius: var(--btn-radius, 8px); background: var(--field, #FCFBF8); }
.contact__media { position: relative; overflow: hidden; border-radius: var(--card-radius, 10px); }
.contact__media img { width: 100%; height: 100%; min-height: 26rem; object-fit: cover; }
.contact__media figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.6rem 0.6rem 1rem;
  border-radius: var(--btn-radius, 8px);
  background: var(--card);
  color: var(--foreground);
  font-size: var(--text-sm);
  font-weight: 500;
}
.contact__media figcaption a { display: inline-flex; align-items: center; flex: none; height: 2.6rem; padding-inline: 1rem; border-radius: var(--btn-icon-radius, 6px); background: var(--primary-cta); color: var(--primary-cta-text); font-weight: 600; }

/* Footer */
.site-footer { padding-block: 4.5rem 3rem; border-radius: 0; background: var(--footer-bg, var(--foreground)); color: var(--footer-ink, #fff); }
.footer-top { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: start; }
.footer-brand { font-family: var(--font-heading); font-size: var(--text-5xl); font-weight: 700; line-height: 1.05; }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(9rem, auto)); gap: 2.5rem; }
.footer-nav h3 { margin-bottom: 1rem; font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--footer-head, rgba(255, 255, 255, 0.75)); }
.footer-nav ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-nav a { font-size: var(--text-lg); color: var(--footer-link, rgba(255, 255, 255, 0.88)); transition: color 0.2s; }
.footer-nav a:hover { color: var(--footer-ink, #fff); }
.footer-legal-bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--footer-line, rgba(255, 255, 255, 0.15)); font-size: var(--text-base); color: var(--footer-muted, rgba(255, 255, 255, 0.72)); }
.footer-legal-bar div { display: flex; gap: 1.25rem; }

@media (width <= 1100px) {
  .reviews--lead { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews--lead .review--lead { grid-column: 1 / -1; }
}

@media (width <= 960px) {
  .faq, .contact { grid-template-columns: minmax(0, 1fr); }
  .faq__intro { position: static; }
  .reviews { grid-template-columns: minmax(0, 1fr); }
  .faq__media img { height: 22rem; }
}

@media (width <= 768px) {
  .faq__intro h2, .faq__body h2 { font-size: var(--text-6xl); }
  .contact__panel { padding: 1.5rem; }
  .contact__panel h2 { font-size: var(--text-6xl); }
  .contact__media img { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .contact__media figcaption { position: static; border-radius: 0; flex-wrap: wrap; }
  .review--lead blockquote { font-size: var(--text-2xl); }
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
  .footer-brand { font-size: var(--text-4xl); }
}


.hero__title, .section-head h2, .faq__intro h2, .faq__body h2, .contact__panel h2, .footer-brand { font-weight: 700; letter-spacing: -0.02em; }
.navbar__brand { font-weight: 700; letter-spacing: 0.01em; }
.navbar__brand::before { content: ''; width: 22px; height: 22px; flex: none; border-radius: 5px; background:
  radial-gradient(circle at 30% 30%, #F2EFE8 0 2px, transparent 2.5px), radial-gradient(circle at 70% 45%, #5B5650 0 2px, transparent 2.5px),
  radial-gradient(circle at 40% 72%, #C8B89A 0 2px, transparent 2.5px), radial-gradient(circle at 76% 78%, #F2EFE8 0 1.6px, transparent 2px), #9C958A; }
.keep { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* --- Hero: the floor lab ------------------------------------------------------------ */

.hero { padding-top: 8.25rem; padding-bottom: 4.5rem; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.35rem; }
.hero__title { max-width: 10ch; font-size: clamp(3rem, 5.4vw, 5.8rem); line-height: 0.98; }
.hero__lede { max-width: 42ch; font-size: var(--text-xl); line-height: 1.55; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; width: 100%; max-width: 32rem; margin-top: 0.3rem; }
.hero__facts li { padding: 0.75rem 0.85rem; border-radius: 10px; background: var(--card); font-size: var(--text-sm); line-height: 1.35; color: var(--muted); }
.hero__facts b { display: block; font-family: var(--font-heading); font-size: var(--text-xl); font-weight: 700; color: var(--foreground); }
.floorlab { display: grid; gap: 0.8rem; padding: 0.8rem; border-radius: 22px; background: var(--card); box-shadow: 0 30px 60px -40px rgba(22, 24, 27, 0.5); }
.floorlab__view { position: relative; overflow: hidden; border-radius: 16px; background: #D9D5CC; }
.garage { display: block; width: 100%; aspect-ratio: 16 / 10; }
.floorlab__tag { position: absolute; left: 0.8rem; top: 0.8rem; padding: 0.35rem 0.7rem; border-radius: 8px; background: rgba(22, 24, 27, 0.82); color: #FFFFFF; font-size: var(--text-sm); font-weight: 600; }
.floorlab__pick { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.4rem; }
.blend { display: grid; justify-items: center; gap: 0.35rem; padding: 0.45rem 0.25rem 0.5rem; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--foreground); font: inherit; font-size: var(--text-xs); font-weight: 600; line-height: 1.2; text-align: center; cursor: pointer; }
.blend__sw { width: 2.9rem; height: 2.9rem; border-radius: 50%; }
.blend[aria-pressed='true'] { border-color: var(--foreground); box-shadow: inset 0 0 0 1px var(--foreground); }
.floorlab__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem 1rem; padding: 0 0.3rem 0.2rem; }
.seg { display: inline-flex; gap: 0.2rem; padding: 0.25rem; border-radius: 10px; background: var(--background); }
.seg button { min-height: 2.75rem; padding: 0 1rem; border: 0; border-radius: 8px; background: transparent; color: var(--foreground); font: inherit; font-size: var(--text-sm); font-weight: 600; cursor: pointer; }
.seg button[aria-pressed='true'] { background: var(--primary-cta); color: #FFFFFF; }
.floorlab__price { display: flex; align-items: baseline; gap: 0.6rem; font-size: var(--text-sm); color: var(--muted); }
.floorlab__price b { font-family: var(--font-heading); font-size: var(--text-4xl); font-weight: 700; color: var(--foreground); }

/* --- Compared with a box kit ---------------------------------------------------------- */

.cmp { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); gap: 1rem; align-items: stretch; }
.cmp__table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--card-radius); background: var(--card); }
.cmp__table th, .cmp__table td { padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: var(--text-base); line-height: 1.45; }
.cmp__table tr:last-child th, .cmp__table tr:last-child td { border-bottom: 0; }
.cmp__table thead th { font-family: var(--font-heading); font-size: var(--text-xl); font-weight: 700; }
.cmp__table thead th:nth-child(2) { background: var(--foreground); color: #FFFFFF; }
.cmp__table tbody th { width: 8rem; font-weight: 700; }
.cmp__table tbody td:nth-child(2) { background: #F7F6F2; font-weight: 600; }
.cmp__table tbody td:nth-child(3) { color: var(--muted); }
.cmp__fig { position: relative; overflow: hidden; border-radius: var(--card-radius); }
.cmp__fig img { width: 100%; height: 100%; min-height: 18rem; object-fit: cover; }
.cmp__fig figcaption { position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.8rem; padding: 0.6rem 0.8rem; border-radius: 10px; background: #FFFFFF; font-size: var(--text-sm); font-weight: 600; }

/* --- Install day ---------------------------------------------------------------------- */

.section--tint { background: var(--tint); }
.day { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.day__clock { display: grid; justify-items: center; gap: 1rem; }
.clock { display: block; width: 100%; max-width: 26rem; height: auto; }
.clock__arcs path { fill: none; stroke-width: 22; }
.clock__ticks path { stroke: #9CA0A6; stroke-width: 1.5; }
.clock__nums text { font-family: var(--font-body); font-size: 15px; font-weight: 600; fill: #53575D; text-anchor: middle; }
.clock__big { font-family: var(--font-heading); font-size: 30px; font-weight: 700; fill: #16181B; text-anchor: middle; }
.clock__small { font-family: var(--font-body); font-size: 14px; font-weight: 600; fill: #53575D; text-anchor: middle; }
.day__done { max-width: 24rem; text-align: center; font-size: var(--text-base); color: var(--muted); }
.day__done b { color: var(--foreground); }
.day__body { display: flex; flex-direction: column; gap: 1.6rem; }
.day__steps { display: grid; gap: 0.5rem; }
.day__steps li { display: grid; grid-template-columns: 0.8rem 3.6rem minmax(0, 1fr); align-items: baseline; gap: 0.8rem; padding: 0.8rem 1rem; border-radius: 12px; background: var(--card); }
.day__steps i { width: 0.8rem; height: 0.8rem; border-radius: 3px; background: var(--c); }
.day__steps time { font-family: var(--font-heading); font-size: var(--text-lg); font-weight: 700; }
.day__steps h3 { font-size: var(--text-lg); font-weight: 700; }
.day__steps p { font-size: var(--text-sm); line-height: 1.45; color: var(--muted); }

/* --- Not just garages ------------------------------------------------------------------ */

.work { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.work figure { overflow: hidden; border: 1px solid var(--line); border-radius: var(--card-radius); background: var(--card); }
.work img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.work figcaption { display: grid; gap: 0.25rem; padding: 1rem 1.2rem 1.2rem; font-size: var(--text-sm); line-height: 1.45; color: var(--muted); }
.work figcaption b { font-family: var(--font-heading); font-size: var(--text-xl); font-weight: 700; color: var(--foreground); }

/* --- Standard blocks --------------------------------------------------------------------- */

.accordion .badge-num { background: var(--primary-cta); color: #FFFFFF; }

/* --- Laptop and below --------------------------------------------------------------------- */

@media (width <= 1100px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (width <= 960px) {
  .hero__grid, .cmp, .day, .work { grid-template-columns: minmax(0, 1fr); }
  .cmp__fig img { min-height: 0; aspect-ratio: 16 / 9; height: auto; }
  .day__body { display: contents; }
  .day__body .section-head { order: -1; }
}

@media (width <= 768px) {
  .hero { padding-top: 6.75rem; padding-bottom: 3rem; }
  .hero__title { font-size: clamp(2.7rem, 12vw, 3.8rem); }
  .hero__lede { font-size: var(--text-lg); }
  .hero__facts { gap: 0.4rem; }
  .hero__facts li { padding: 0.65rem; }
  .hero__facts b { font-size: var(--text-lg); }
  .floorlab { padding: 0.55rem; border-radius: 18px; }
  .floorlab__view { border-radius: 12px; }
  .floorlab__tag { left: 0.6rem; top: 0.6rem; font-size: var(--text-xs); }
  .blend { padding: 0.4rem 0.1rem; font-size: 0.66rem; }
  .blend__sw { width: 2.4rem; height: 2.4rem; }
  .floorlab__foot { flex-direction: column; align-items: stretch; }
  .seg { display: flex; }
  .seg button { flex: 1; }
  .cmp__table thead { display: none; }
  .cmp__table, .cmp__table tbody, .cmp__table tr, .cmp__table th, .cmp__table td { display: block; }
  .cmp__table tr { padding: 0.9rem 1rem; border-bottom: 1px solid var(--line); }
  .cmp__table tr:last-child { border-bottom: 0; }
  .cmp__table th, .cmp__table td { padding: 0; border: 0; }
  .cmp__table tbody th { width: auto; margin-bottom: 0.4rem; font-family: var(--font-heading); font-size: var(--text-lg); }
  .cmp__table tbody td { display: grid; grid-template-columns: 5.2rem minmax(0, 1fr); gap: 0.6rem; padding: 0.35rem 0; }
  .cmp__table tbody td:nth-child(2) { background: none; }
  .cmp__table tbody td::before { content: attr(data-label); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding-top: 0.15rem; }
  .day__steps li { grid-template-columns: 0.7rem 3rem minmax(0, 1fr); gap: 0.6rem; padding: 0.75rem; }
  .clock__nums text { font-size: 18px; }
  .work figure { display: grid; grid-template-columns: 8rem minmax(0, 1fr); }
  .work img { height: 100%; aspect-ratio: auto; min-height: 8rem; }
  .work figcaption { align-content: center; padding: 0.9rem 1rem; }
}
