/* VERDO website styles */
/* Barlow and Barlow Condensed, SIL Open Font License (assets/fonts/OFL-LICENSE.txt) */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-italic.woff2") format("woff2"); }
:root {
  --green: #1f6b4f;
  --green-dark: #17543e;
  --pine: #0f3326;
  --pine-2: #164434;
  --mint: #e3eee8;
  --steel: #f1f3f2;
  --ink: #16211c;
  --graphite: #55625b;
  --line: #d5dcd8;
  --white: #ffffff;
  --danger: #a3261b;

  --font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-cond: "Barlow Condensed", "Barlow", system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  font-variant-numeric: tabular-nums;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-underline-offset: 0.18em; }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid #f0b429; outline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-cond); font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: 0.005em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: 62ch; }
.muted { color: var(--graphite); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -3rem; background: var(--white); padding: .5rem 1rem; z-index: 100; }
.skip:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 600 1rem/1 var(--font);
  padding: .9rem 1.35rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); color: var(--white); }
.btn-light { background: var(--white); color: var(--pine); }
.btn-light:hover { background: var(--mint); color: var(--pine); }
.btn-outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn-outline:hover { background: var(--mint); color: var(--green-dark); }
.btn-small { padding: .55rem .85rem; font-size: .9375rem; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 2rem; min-height: 72px; }
.brand { display: block; flex: none; }
.brand img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: 1.75rem; margin-left: auto; }
.nav a {
  color: var(--ink); text-decoration: none; font-weight: 500;
  padding: .4rem 0; border-bottom: 3px solid transparent;
}
.nav a:hover { color: var(--green); }
.nav a[aria-current="page"] { border-bottom-color: var(--green); }
.nav .btn { border-bottom: 2px solid transparent; padding: .7rem 1.1rem; color: var(--white); }
.nav .btn:hover { color: var(--white); }
.quote-count {
  display: inline-grid; place-items: center; min-width: 1.4rem; height: 1.4rem; padding: 0 .35rem;
  border-radius: 999px; background: var(--white); color: var(--green); font-size: .8125rem; font-weight: 700;
}
.quote-count[hidden] { display: none; }
.menu-toggle {
  display: none; margin-left: auto; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--ink);
}
.menu-toggle svg { width: 28px; height: 28px; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.25rem;
  }
  .nav.open { display: flex; }
  .nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--green); font-weight: 600; }
  .nav .btn { margin-top: 1rem; border-bottom: 0; }
}

/* ---------- Signature bar (from the logo's top stroke) ---------- */
.bar-heading { display: flex; align-items: flex-end; gap: 1.25rem; margin-bottom: 2.25rem; }
.bar-heading h2 { flex: none; max-width: 22ch; }
.bar-heading::after {
  content: ""; flex: 1; height: 7px; margin-bottom: .55em;
  background: var(--green);
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%);
  margin-right: calc(-1 * var(--gutter));
}
@media (min-width: 1260px) {
  .bar-heading::after { margin-right: calc(-1 * ((100vw - var(--wrap)) / 2 + var(--gutter))); }
}
.on-dark .bar-heading::after { background: var(--white); }
.split .bar-heading::after, .two-col-list .bar-heading::after, .form-layout .bar-heading::after { margin-right: 0 !important; }

/* ---------- Hero / part lookup ---------- */
.hero { background: var(--pine); color: var(--white); position: relative; overflow: hidden; }
.hero::before {
  /* the long stroke of the V, running across the top of the hero */
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 10px;
  background: var(--green);
}
.hero .wrap { padding-top: clamp(3.5rem, 8vw, 6.5rem); padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.hero h1 {
  font-size: clamp(2.75rem, 7vw, 5.75rem);
  font-style: italic;
  line-height: 1;
  max-width: 17ch;
  margin-bottom: 1.25rem;
}
.hero .lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #cfe0d7; max-width: 52ch; margin-bottom: 2.25rem; }

.lookup { max-width: 760px; }
.lookup label { display: block; font-weight: 600; margin-bottom: .6rem; color: var(--white); }
.lookup-row { display: flex; background: var(--white); border-radius: var(--radius); padding: 6px; }
.lookup-row input {
  flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink);
  font: 500 1.25rem/1.2 var(--font); padding: .75rem .85rem;
}
.lookup-row input::placeholder { color: #8a958f; }
.lookup-row input:focus { outline: none; }
.lookup-row:focus-within { box-shadow: 0 0 0 3px #f0b429; }
.lookup-row .btn { flex: none; }
.lookup-hint { margin-top: .85rem; color: #b9cfc3; font-size: .9375rem; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.chip {
  font: 500 .9375rem/1 var(--font); color: var(--white); background: var(--pine-2);
  border: 1px solid #2c5e4b; border-radius: 999px; padding: .4rem .75rem; cursor: pointer;
}
.chip:hover { background: var(--green); border-color: var(--green); }

.lookup-results { margin-top: 1rem; background: var(--white); color: var(--ink); border-radius: var(--radius); }
.lookup-results:empty { display: none; }
.lookup-results .result { display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; padding: 1rem 1.1rem; border-top: 1px solid var(--line); align-items: center; }
.lookup-results .result:first-child { border-top: 0; }
.lookup-results .r-name { font-weight: 600; }
.lookup-results .r-meta { color: var(--graphite); font-size: .9375rem; grid-column: 1; }
.lookup-results .r-actions { grid-row: 1 / span 2; grid-column: 2; }
.lookup-results .r-empty, .lookup-results .r-more { padding: 1rem 1.1rem; }
.lookup-results .r-more { border-top: 1px solid var(--line); font-weight: 600; }
mark { background: #fde9a6; color: inherit; padding: 0 .1em; border-radius: 2px; }
@media (max-width: 600px) {
  .lookup-row { flex-direction: column; gap: 6px; }
  .lookup-row .btn { width: 100%; }
  .lookup-results .result { grid-template-columns: 1fr; }
  .lookup-results .r-actions { grid-row: auto; grid-column: 1; margin-top: .5rem; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-steel { background: var(--steel); }
.section-pine { background: var(--pine); color: var(--white); }

/* Product lines */
.lines { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.line-item {
  display: flex; flex-direction: column; padding: 1.75rem 1.5rem 1.5rem; text-decoration: none; color: var(--ink);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.line-item:first-child { border-left: 1px solid var(--line); }
.line-item:hover { background: var(--mint); color: var(--ink); }
.line-item svg { width: 100%; height: 96px; margin-bottom: 1.5rem; color: var(--green); }
.line-item h3 { margin-bottom: .35rem; }
.line-count { font-family: var(--font-cond); font-weight: 600; font-size: 1.05rem; color: var(--green); margin-bottom: .75rem; }
.line-item p { color: var(--graphite); font-size: 1rem; flex: 1; }
.line-item .go { font-weight: 600; color: var(--green); }
@media (max-width: 960px) {
  .lines { grid-template-columns: repeat(2, 1fr); }
  .line-item:nth-child(3) { border-left: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .lines { grid-template-columns: 1fr; }
  .line-item { border-left: 1px solid var(--line); }
}

/* Fitment process (a real sequence, so it is numbered) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; border-top: 3px solid var(--green); padding-top: 1.1rem; }
.steps li::before {
  content: counter(step); display: block;
  font-family: var(--font-cond); font-weight: 700; font-style: italic; font-size: 2.75rem; line-height: 1; color: var(--green); margin-bottom: .6rem;
}
.steps h3 { margin-bottom: .5rem; }
.steps p { color: var(--graphite); font-size: 1rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Two-column split */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.facts { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.facts strong { font-family: var(--font-cond); font-size: 1.25rem; font-weight: 700; color: var(--green); line-height: 1.2; }
.on-dark .facts, .on-dark .facts li { border-color: #2c5e4b; }
.on-dark .facts strong { color: var(--white); }
@media (max-width: 520px) { .facts li { grid-template-columns: 1fr; gap: .25rem; } }

/* Dealer band */
.dealer-band { background: var(--green); color: var(--white); }
.dealer-band .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: center; padding-top: clamp(3rem, 6vw, 4.5rem); padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.dealer-band h2 { margin-bottom: .75rem; }
.dealer-band p { color: #dcebe3; max-width: 52ch; margin: 0; }
.dealer-band .actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: flex-end; }
.dealer-band .btn-outline { border-color: var(--white); color: var(--white); }
.dealer-band .btn-outline:hover { background: var(--green-dark); color: var(--white); }
@media (max-width: 800px) {
  .dealer-band .wrap { grid-template-columns: 1fr; }
  .dealer-band .actions { justify-content: flex-start; }
}

/* Page head */
.page-head { background: var(--pine); color: var(--white); position: relative; }
.page-head::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px; background: var(--green); }
.page-head .wrap { padding-top: clamp(2.75rem, 6vw, 4rem); padding-bottom: clamp(2.25rem, 5vw, 3.25rem); }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); font-style: italic; margin-bottom: .6rem; }
.page-head p { color: #cfe0d7; max-width: 60ch; margin: 0; font-size: 1.125rem; }

/* ---------- Catalog ---------- */
.catalog-tools { display: grid; grid-template-columns: 1fr 220px; gap: 1rem; margin-bottom: 1.25rem; }
.field-label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: .4rem; }
.input, .select, .textarea {
  width: 100%; font: 400 1.0625rem/1.3 var(--font); color: var(--ink);
  border: 1px solid #b9c4be; border-radius: var(--radius); padding: .75rem .85rem; background: var(--white);
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(31,107,79,.25); }
.textarea { min-height: 8rem; resize: vertical; }
.tabs { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.tab {
  font: 600 1rem/1 var(--font); color: var(--graphite); background: none; border: 0; border-bottom: 3px solid transparent;
  padding: .9rem 1rem .8rem; cursor: pointer; margin-bottom: -1px;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--green); border-bottom-color: var(--green); }
.tab .n { font-weight: 500; color: var(--graphite); margin-left: .25rem; }
.catalog-status { color: var(--graphite); font-size: .9375rem; margin-bottom: .5rem; }
.fit-note { background: var(--mint); border-left: 4px solid var(--green); padding: .9rem 1.1rem; margin-bottom: 1.5rem; font-size: 1rem; }
.fit-note p { margin: 0; }

.parts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.part { display: grid; grid-template-columns: 7.5rem 1fr auto; gap: .35rem 1.5rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.part-sku { font-family: var(--font-cond); font-weight: 700; font-size: 1.125rem; color: var(--green); padding-top: .1rem; }
.part-name { font-weight: 600; margin-bottom: .3rem; }
.part-oem { font-size: .9375rem; color: var(--graphite); margin-bottom: .5rem; }
.part-oem b { color: var(--ink); font-weight: 600; }
.specs { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.specs li { font-size: .875rem; background: var(--steel); border: 1px solid var(--line); border-radius: 3px; padding: .2rem .5rem; }
.specs li span { color: var(--graphite); }
.part-action { padding-top: .1rem; }
.btn-add[aria-pressed="true"] { background: var(--green); color: var(--white); border-color: var(--green); }
.empty { padding: 2.5rem 0; }
.empty h3 { margin-bottom: .5rem; }
@media (max-width: 700px) {
  .catalog-tools { grid-template-columns: 1fr; }
  .part { grid-template-columns: 1fr; }
  .part-action { margin-top: .5rem; }
}

/* Quote tray */
.quote-tray {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: var(--ink); color: var(--white);
  transform: translateY(110%); transition: transform .2s ease-out;
}
.quote-tray.show { transform: none; }
.quote-tray .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; padding-top: .6rem; padding-bottom: .6rem; }
.quote-tray p { margin: 0; font-weight: 500; }
body.has-tray { padding-bottom: 76px; }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: 1fr 340px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.req { color: var(--danger); }
.hint { font-size: .875rem; color: var(--graphite); margin-top: .3rem; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 600; font-size: .9375rem; margin-bottom: .5rem; padding: 0; }
.checks { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.checks label { display: inline-flex; align-items: center; gap: .45rem; font-size: 1rem; cursor: pointer; }
.checks input { width: 1.1rem; height: 1.1rem; accent-color: var(--green); }
.form-actions { margin-top: 1.5rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.form-msg { padding: 1rem 1.1rem; border-radius: var(--radius); margin-top: 1.25rem; }
.form-msg:empty { display: none; }
.form-msg.ok { background: var(--mint); border-left: 4px solid var(--green); }
.form-msg.err { background: #fbeceb; border-left: 4px solid var(--danger); }
.input.invalid, .select.invalid, .textarea.invalid { border-color: var(--danger); }

.quote-items { list-style: none; padding: 0; margin: 0 0 .5rem; border-top: 1px solid var(--line); }
.quote-items li { display: grid; grid-template-columns: 1fr 5.5rem auto; gap: .75rem; align-items: center; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.quote-items .qi-name { font-size: .9375rem; }
.quote-items .qi-name b { display: block; font-family: var(--font-cond); color: var(--green); font-size: 1.05rem; }
.quote-items input { padding: .5rem .6rem; }
.link-btn { background: none; border: 0; padding: .25rem; color: var(--graphite); text-decoration: underline; cursor: pointer; font: inherit; font-size: .9375rem; }
.link-btn:hover { color: var(--danger); }

.aside-box { background: var(--steel); padding: 1.5rem; border-top: 4px solid var(--green); }
.aside-box h3 { margin-bottom: .75rem; }
.aside-box p:last-child { margin-bottom: 0; }
.aside-box + .aside-box { margin-top: 1.25rem; }
.contact-lines { list-style: none; padding: 0; margin: 0; }
.contact-lines li { padding: .35rem 0; }
.contact-lines span { display: block; font-size: .875rem; color: var(--graphite); }

/* Prose pages */
.prose h2 { font-size: 1.75rem; margin: 2.25rem 0 .75rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }

.two-col-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
@media (max-width: 760px) { .two-col-list { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: .55rem 0 .55rem 1.9rem; border-bottom: 1px solid var(--line); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 1.05rem; width: 1.1rem; height: 5px; background: var(--green);
  clip-path: polygon(4px 0, 100% 0, 100% 100%, 0 100%);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c6cfca; font-size: .9375rem; }
.site-footer .wrap { padding-top: 3.5rem; padding-bottom: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid #33403a; }
.footer-grid img { width: 140px; margin-bottom: 1rem; }
.footer-grid h3 { font-family: var(--font); font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: .75rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { padding: .25rem 0; }
.site-footer a { color: #c6cfca; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-legal { padding-top: 1.5rem; font-size: .8125rem; color: #95a29b; display: grid; gap: .5rem; }
.footer-legal p { margin: 0; max-width: 100ch; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.steps-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .steps-3 { grid-template-columns: 1fr; } }
