/* Hood Cleaning Stickers. Part C tokens. No gradients, no icon set, no card rows. */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/Archivo-variable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --label-white: #FFFFFF;
  --steel: #E6E8EA;
  --graphite: #2B3035;
  --yellow: #F5C518;
  --blue: #1F4FA8;
  --orange: #E8641E;
  --orange-text: #C2410C;
  --green: #2E7D4F;
  --ink: #2B3035;
  --muted: #4B5258;
  --rule: #B9BEC3;
  --focus: #1F4FA8;
  --wrap: 1120px;
  --radius-label: 6px;
  --radius-ui: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
body {
  margin: 0;
  background: var(--label-white);
  color: var(--ink);
  font-family: "Archivo", system-ui, sans-serif;
  font-stretch: 100%;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--yellow); color: #000; padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; top: 8px; }

/* Headlines: condensed, extra bold, sentence case (C5) */
h1, h2, h3 {
  font-family: "Archivo", sans-serif;
  font-stretch: 75%;
  font-weight: 800;
  line-height: 1.02;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1 { font-size: 40px; margin-top: 0.4em; }
h2 { font-size: 28px; margin-top: 1.4em; }
h3 { font-size: 21px; margin-top: 1em; }
@media (min-width: 900px) { h1 { font-size: 64px; } h2 { font-size: 40px; } }
p { margin: 0 0 1em; }
.lede { font-size: 21px; line-height: 1.45; max-width: 60ch; }
.small { font-size: 14px; color: var(--muted); }
.muted li { color: var(--muted); }
strong { font-weight: 700; }

/* Announcement bar */
.announce {
  background: var(--graphite);
  color: var(--steel);
  font-size: 14px;
  text-align: center;
  padding: 8px 16px;
}

/* Header */
.site-header {
  background: var(--label-white);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 8px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Archivo", sans-serif;
  font-stretch: 75%;
  font-weight: 800;
  font-size: 22px;
  color: var(--graphite);
  text-decoration: none;
  line-height: 1;
}
.wordmark { gap: 10px; font-size: 20px; line-height: 1.05; letter-spacing: .01em; text-transform: uppercase; }
.wordmark .mark { flex: none; display: block; }
.wordmark-text { display: flex; flex-direction: column; }
.wordmark .wm-top { font-weight: 800; }
.wordmark .wm-bot { font-weight: 600; color: var(--graphite); font-size: 0.78em; letter-spacing: .14em; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; flex-wrap: wrap; }
.main-nav a { color: var(--graphite); text-decoration: none; font-weight: 600; font-size: 16px; padding: 6px 0; }
.main-nav a:hover, .main-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
.main-nav .has-sub { position: relative; }
.main-nav .sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--label-white);
  border: 1px solid var(--rule);
  padding: 8px 0;
  min-width: 220px;
  flex-direction: column;
  gap: 0;
}
.main-nav .sub a { display: block; padding: 8px 16px; white-space: nowrap; }
.main-nav .has-sub:hover .sub, .main-nav .has-sub:focus-within .sub { display: flex; }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.phone { font-weight: 700; color: var(--graphite); text-decoration: none; font-size: 15px; white-space: nowrap; }
.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border: 2px solid var(--graphite);
  border-radius: var(--radius-ui);
  color: var(--graphite);
  font-weight: 700;
  text-decoration: none;
}
.cart-link::before { content: "Order"; font-size: 13px; }
.cart-link span { position: absolute; top: -8px; right: -8px; background: var(--graphite); color: var(--label-white); font-size: 12px; min-width: 20px; height: 20px; border-radius: 10px; display: none; align-items: center; justify-content: center; padding: 0 5px; }
.cart-link span.has { display: inline-flex; }

/* Buttons: yellow is the only button colour (C4). Black text on yellow. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 2px solid var(--graphite);
  border-radius: var(--radius-ui);
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  background: var(--label-white);
  color: var(--graphite);
}
.btn-yellow { background: var(--yellow); color: #000; border-color: #000; }
.btn-yellow:hover { background: #E8B700; }
.btn-quote { background: var(--label-white); }
.btn-lg { min-height: 52px; padding: 12px 24px; font-size: 18px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.text-link { font-weight: 700; color: var(--graphite); min-height: 44px; display: inline-flex; align-items: center; }
.cta-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin: 24px 0; }

/* Breadcrumbs */
.crumbs { padding-top: 16px; font-size: 14px; }
.breadcrumb { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }

main { padding-bottom: 0; }
section.band { padding: 40px 0; }
.band-steel { background: var(--steel); margin: 0 -20px; padding: 40px 20px; }
.band.band-steel { padding: 40px 20px; margin: 0 -20px; }
main > .wrap { background: var(--label-white); }
main .wrap > section, main > .wrap > .product, main > .wrap > .band, main > .wrap > section.band { }
.band {
  background: var(--label-white);
  border-top: 1px solid var(--rule);
  padding: 40px 0;
}
.band .wrap { padding: 0; }
.band-steel { background: var(--steel); }

/* Home hero: flat graphite (no photo yet), live label on the right */
.hero {
  background: var(--graphite);
  color: var(--label-white);
  padding: 40px 20px 48px;
  margin: 0 -20px;
  display: grid;
  gap: 32px;
  align-items: center;
}
.hero h1 { color: var(--label-white); font-size: 52px; margin-top: 0; }
.hero .lede { color: var(--steel); }
.hero .btn-yellow { border-color: #000; }
.hero .text-link { color: var(--label-white); text-decoration: underline; text-underline-offset: 4px; }
.hero .price-anchor { color: var(--steel); font-weight: 600; margin-bottom: 1.2em; }
.hero .facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; color: var(--steel); font-size: 15px; line-height: 1.4; }
.hero .facts li { display: flex; gap: 10px; align-items: baseline; }
.hero .facts li::before { content: ""; flex: none; width: 6px; height: 6px; background: var(--yellow); transform: translateY(-2px); }
.hero-object { display: grid; gap: 12px; justify-items: start; }
.hero .hint { color: var(--steel); font-size: 14px; margin: 0; }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.1fr 1fr; padding: 56px 40px 64px; }
}
@media (max-width: 899px) {
  /* Phones: H1, then the live label, then the rest. */
  .hero { display: flex; flex-direction: column; }
  .hero-copy { display: contents; }
  .hero-copy > h1 { order: 1; }
  .hero-object { order: 2; }
  .hero-copy > * { order: 3; }
  .hero-copy > h1 { order: 1; }
}

/* The live label: a die-cut object (C3, C6, C7). Dashed outline, 6 px corner. */
.live-label {
  width: 100%;
  max-width: 480px;
  background: var(--label-white);
  color: var(--ink);
  border: 2px dashed var(--graphite);
  border-radius: var(--radius-label);
  padding: 0 0 12px;
  overflow: hidden;
  font-size: 12px;
  box-shadow: none;
}
.ll-bar {
  background: var(--graphite);
  color: var(--label-white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  font-family: "Archivo", sans-serif;
  font-stretch: 75%;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.02em;
}
.ll-no { font-weight: 700; font-stretch: 100%; }
.ll-company {
  font-family: "Archivo", sans-serif;
  font-stretch: 75%;
  font-weight: 800;
  font-size: 28px;
  padding: 10px 12px 0;
  min-height: 1.2em;
  word-break: break-word;
  line-height: 1.05;
}
.ll-line { padding: 2px 12px 8px; font-size: 11px; color: var(--muted); }
.ll-grid-label { padding: 0 12px; font-size: 10px; font-weight: 700; color: var(--ink); }
.ll-months, .ll-days {
  display: grid;
  margin: 2px 10px;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}
.ll-months { grid-template-columns: repeat(12, 1fr); }
.ll-months span {
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-size: 8px;
  font-weight: 700;
  text-align: center;
  padding: 3px 0;
}
.ll-days { grid-template-columns: repeat(16, 1fr); }
.ll-days .cell {
  position: relative;
  appearance: none;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font: inherit;
  font-size: 9px;
  font-weight: 600;
  color: var(--ink);
  padding: 4px 0;
  min-height: 22px;
  cursor: pointer;
}
.ll-days .cell:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.ll-days .cell.punched { color: var(--rule); text-decoration: line-through; }
.ll-days .cell.punched::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 11px;
  margin: -5.5px 0 0 -5.5px;
  border-radius: 50%;
  background: var(--steel);
  box-shadow: inset 0 0 0 1px var(--graphite);
  animation: punch 150ms ease-out;
}
@keyframes punch {
  0% { transform: scale(1.4); opacity: 0.2; }
  100% { transform: scale(1); opacity: 1; }
}
.ll-tech { padding: 8px 12px 0; font-size: 10px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.ll-rule { flex: 1; border-bottom: 1px solid var(--ink); height: 12px; }

/* Catalog rows (C6): rows, not cards */
.catalog { border-top: 2px solid var(--ink); }
.catalog-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  text-decoration: none;
}
.catalog-row:hover .cat-name { text-decoration: underline; }
.cat-name { font-family: "Archivo", sans-serif; font-stretch: 75%; font-weight: 800; font-size: 21px; }
.cat-size { color: var(--muted); font-size: 15px; }
.cat-price { font-weight: 600; font-variant-numeric: tabular-nums; }
@media (min-width: 720px) {
  .catalog-row { grid-template-columns: 1.2fr 1.4fr 1fr; align-items: baseline; }
}

/* Lists and steps */
.check { list-style: none; padding: 0; margin: 0 0 1em; }
.check li { padding: 6px 0 6px 26px; position: relative; border-bottom: 1px solid var(--rule); }
.check li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--graphite); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; padding-left: 52px; position: relative; font-size: 17px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; font-family: "Archivo", sans-serif; font-stretch: 75%; font-weight: 800; font-size: 28px; line-height: 1; }
.steps-long li { padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.steps-long h2 { margin: 0 0 4px; font-size: 21px; }
.link-list, .guide-list { list-style: none; padding: 0; margin: 0; }
.link-list li { padding: 8px 0; border-bottom: 1px solid var(--rule); }
.guide-list li { border-bottom: 1px solid var(--rule); }
.guide-list a { display: grid; gap: 4px; padding: 16px 0; color: var(--ink); text-decoration: none; }
.guide-list strong { font-family: "Archivo", sans-serif; font-stretch: 75%; font-size: 21px; font-weight: 800; }
.guide-list span { color: var(--muted); }
.guide-list a:hover strong { text-decoration: underline; }
.two-col { display: grid; gap: 24px; }
@media (min-width: 720px) { .two-col { grid-template-columns: 1fr 1fr; } }
.two-col-wide { display: grid; gap: 32px; }
@media (min-width: 900px) { .two-col-wide { grid-template-columns: 1.4fr 1fr; } }
.template-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.template-grid li { padding: 20px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 6px; }
.template-grid h2 { font-size: 21px; margin: 0; }
@media (min-width: 720px) { .template-grid li { grid-template-columns: 1fr auto; align-items: center; } .template-grid p { grid-column: 1; margin: 0; } .template-grid .btn { grid-column: 2; grid-row: 1 / span 2; } }

/* Tables: real tables for prices and specs (C6) */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 2px solid var(--ink); margin-bottom: 8px; }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 10px 10px 10px 0; border-bottom: 1px solid var(--rule); vertical-align: middle; }
th { font-weight: 700; }
td.num, th.num { text-align: right; }
.price-table th[scope="row"] { font-family: "Archivo", sans-serif; font-stretch: 75%; font-size: 21px; font-weight: 800; }
.price-table td { color: var(--muted); font-size: 15px; }
.price-table td.num { color: var(--ink); font-weight: 700; }
.price-table td:last-child { text-align: right; }
.price-table .btn { min-height: 40px; padding: 6px 12px; font-size: 14px; }
.price-preview { max-width: 520px; }
.spec-table { max-width: 680px; }
.price-big { font-family: "Archivo", sans-serif; font-stretch: 75%; font-weight: 800; font-size: 40px; margin: 0; }

/* Product layout */
.product { display: grid; gap: 32px; padding: 32px 0; }
@media (min-width: 900px) { .product { grid-template-columns: 1fr 1fr; align-items: start; } }
.product-object { display: grid; gap: 12px; }
.product-object .hint, .hint { font-size: 14px; color: var(--muted); }
.product-buy h2 { margin-top: 0.8em; }

/* Notices and prose */
.prose { max-width: 70ch; }
.notice { border: 2px solid var(--graphite); padding: 12px 14px; border-radius: var(--radius-ui); background: var(--steel); }
.photo-slot { background: var(--steel); border: 2px dashed var(--rule); padding: 60px 16px; text-align: center; color: var(--muted); }
.price-anchor { font-weight: 600; }

/* FAQ and details */
details { border-bottom: 1px solid var(--rule); padding: 14px 0; }
details summary {
  cursor: pointer;
  font-family: "Archivo", sans-serif;
  font-stretch: 75%;
  font-weight: 800;
  font-size: 21px;
  list-style: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-size: 26px; font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { margin: 8px 0 0; }

/* Forms */
.form { display: grid; gap: 4px; max-width: 680px; }
.form fieldset { border: 0; padding: 0; margin: 24px 0 8px; display: grid; gap: 14px; }
.form legend { font-family: "Archivo", sans-serif; font-stretch: 75%; font-weight: 800; font-size: 21px; padding: 0; margin-bottom: 4px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field > label, .field > legend { font-weight: 600; font-size: 16px; }
input, select, textarea {
  font: inherit;
  font-size: 17px;
  padding: 10px 12px;
  border: 2px solid var(--graphite);
  border-radius: var(--radius-ui);
  background: var(--label-white);
  color: var(--ink);
  width: 100%;
  min-height: 44px;
}
input[type="radio"], input[type="checkbox"] { width: 20px; height: 20px; min-height: 0; margin: 0 8px 0 0; accent-color: var(--graphite); }
.inline { display: inline-flex; align-items: center; margin-right: 18px; min-height: 44px; font-weight: 500; }
.check-grid { display: grid; gap: 8px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .check-grid { grid-template-columns: 1fr 1fr; } }
.check-grid label { display: flex; align-items: center; min-height: 44px; font-weight: 500; }
.grid-3 { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: 2fr 1fr 1fr; } }
.form-status { min-height: 1.5em; font-weight: 600; }
.form-status.error { color: var(--orange-text); }
.form-status.ok { color: var(--green); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Order and cart */
section.order-layout { display: grid; gap: 40px; padding: 40px 0; }
@media (min-width: 900px) { .order-layout { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.order-aside { display: grid; gap: 16px; position: sticky; top: 90px; }
.order-summary { font-size: 15px; }
.cart-lines { display: grid; gap: 0; }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.cart-line .meta { color: var(--muted); font-size: 14px; grid-column: 1; }
.cart-line .amt { font-weight: 700; font-variant-numeric: tabular-nums; grid-column: 2; grid-row: 1; text-align: right; }
.cart-line .remove { grid-column: 1 / -1; justify-self: start; background: none; border: 0; padding: 0 10px 0 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: 14px; min-height: 32px; }
.cart-total { font-family: "Archivo", sans-serif; font-stretch: 75%; font-weight: 800; font-size: 28px; padding: 16px 0; display: flex; justify-content: space-between; border-top: 2px solid var(--ink); margin-top: 8px; font-variant-numeric: tabular-nums; }
.cart-total small { font-family: "Archivo"; font-stretch: 100%; font-size: 14px; color: var(--muted); font-weight: 400; }
.cart-total { flex-wrap: wrap; align-items: baseline; }
.cart-total .small { flex-basis: 100%; margin: 6px 0 0; font-family: "Archivo"; font-stretch: 100%; font-size: 14px; color: var(--muted); font-weight: 400; }

/* Contact aside */
.contact-aside { background: var(--steel); padding: 20px; border-radius: var(--radius-ui); align-self: start; }

/* Footer */
.site-footer { background: var(--graphite); color: var(--steel); padding: 40px 0 24px; margin-top: 40px; }
.site-footer a { color: var(--label-white); }
.site-footer h2 { font-size: 16px; margin: 0 0 8px; color: var(--label-white); font-stretch: 75%; }
.site-footer ul { list-style: none; padding: 0; margin: 0 0 16px; }
.site-footer li { margin: 4px 0; font-size: 15px; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.wordmark-foot { font-family: "Archivo", sans-serif; font-stretch: 75%; font-weight: 800; font-size: 22px; color: var(--label-white); }
.site-footer .small { color: var(--rule); margin-top: 24px; }
.site-footer .credit { color: var(--label-white); margin-top: 8px; font-size: 15px; }
.site-footer .credit a { font-weight: 700; }

/* Mobile sticky bar (C6). Shown below 900px only. */
.mobile-bar { display: none; }
@media (max-width: 899px) {
  .mobile-bar {
    display: flex;
    gap: 8px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: var(--label-white);
    border-top: 2px solid var(--graphite);
    padding: 8px;
    z-index: 30;
  }
  .mobile-bar .btn { flex: 1; min-height: 48px; }
  main { padding-bottom: 96px; }
  .main-nav { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .main-nav ul { flex-wrap: nowrap; gap: 16px; padding-bottom: 4px; }
  .main-nav .sub { position: static; display: none; border: 0; padding: 0; }
  .btn-quote { display: none; }
  .header-row { flex-wrap: wrap; row-gap: 8px; }
  .header-actions { margin-left: auto; align-items: center; gap: 12px; }
  .phone { font-size: 15px; }
  .main-nav { order: 3; flex-basis: 100%; }
  .hero h1 { font-size: 40px; }
}
@media (min-width: 900px) {
  .main-nav { width: auto; }
}

/* Reduced motion (C8): the punch appears without movement */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Cart exit-intent offer: a plain dialog, not a banner */
.exit-pop { position: fixed; inset: 0; background: rgba(43, 48, 53, 0.6); display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 50; }
.exit-pop[hidden] { display: none; }
.exit-card { background: var(--label-white); border: 2px solid #000; border-radius: var(--radius-ui); padding: 28px; max-width: 440px; width: 100%; }
.exit-card h2 { margin-top: 0; }
