/* Schererville Cabinets — "Quiet Showroom"
   Approved direction: warm off-white page, near-black text, one deep muted green accent,
   serif headings, sans body, 4px radius, generous whitespace.
   No shadows, no gradients, no card grids, no icon grids, no animation.
   No webfonts: system stacks only, so there is ZERO third-party request on this site. */

:root {
  --ink: #1A1A1A;
  --ink-soft: #4A4A48;
  --page: #FAF9F7;
  --band: #EFEDE9;
  --line: #DEDAD3;
  --accent: #2F4A42;
  --accent-dark: #22362F;
  --accent-tint: #E9EEEB;
  --radius: 4px;
  --measure: 68ch;
  --gutter: 1rem;

  /* --font-display is the single switch point. Swapping to a self-hosted
     high-contrast serif later is a change to this one line plus the font files. */
  --font-display: Georgia, Cambria, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 17px/1.65 var(--font-body);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  color: var(--ink);
  margin: 0 0 .6rem;
}
h1 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3.25rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.4rem, 1.2rem + .9vw, 2rem); margin-top: 2.5rem; }
h3 { font-size: 1.15rem; margin-top: 1.75rem; }

p, ul, ol { margin: 0 0 1.1rem; }
p, li { max-width: var(--measure); }

a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-dark); }

strong { font-weight: 700; }

.container { max-width: 68rem; margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: var(--measure); }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--accent); color: #fff; padding: .7rem 1rem; z-index: 200; }
.skip-link:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--page);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
}
.site-header__bar { display: flex; align-items: center; gap: 1rem; padding: .85rem 0; flex-wrap: wrap; }
.brand { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--ink); text-decoration: none; line-height: 1.1; margin-right: auto; }
.brand__tag { display: block; font-family: var(--font-body); font-size: .72rem; font-weight: 400; color: var(--ink-soft); letter-spacing: .02em; margin-top: .15rem; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: .93rem; }
.site-nav a:hover, .site-nav a:focus-visible { text-decoration: underline; }
.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: .7rem 1.4rem;
  font: inherit; font-weight: 600; font-size: .98rem;
  border: 2px solid transparent; border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover, .btn--primary:focus-visible { background: var(--accent-dark); color: #fff; }
.btn--header { min-height: 40px; padding: .45rem 1rem; font-size: .9rem; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: 1rem 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; font-size: .85rem; color: var(--ink-soft); }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: var(--line); }
.breadcrumb a { color: var(--ink-soft); }

/* ---------- Sections ---------- */
.section { padding: 3.25rem 0; }
.section--band { background: var(--band); }
.section h2:first-child { margin-top: 0; }

/* ---------- Hero ---------- */
.hero { padding: 3rem 0 3.25rem; }
.hero__grid { display: grid; gap: 2rem; align-items: center; }
.hero__lead { font-size: 1.16rem; color: var(--ink-soft); max-width: 34rem; }
.hero--text .hero__lead { max-width: var(--measure); }

/* ---------- Figures ---------- */
.figure { margin: 1.75rem 0; }
.figure img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.figure figcaption { font-size: .85rem; color: var(--ink-soft); margin-top: .6rem; max-width: var(--measure); }
.figure--contained { max-width: 34rem; }

/* The sanctioned A3/A4 open-and-closed comparison pair — the one approved
   same-page use of two near-duplicates. */
.figure-pair { display: grid; gap: 1rem; margin: 1.75rem 0; }
.figure-pair figure { margin: 0; }
.figure-pair img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.figure-pair figcaption { font-size: .85rem; color: var(--ink-soft); margin-top: .5rem; }

/* ---------- Link list (NOT cards — deliberately) ---------- */
.link-list { list-style: none; padding: 0; margin: 1.25rem 0; }
.link-list li { padding: .7rem 0; border-bottom: 1px solid var(--line); max-width: var(--measure); }
.link-list li:first-child { border-top: 1px solid var(--line); }
.link-list strong { display: inline; }

/* ---------- Numbered sequence (/how-it-works/) ----------
   A real <ol>: the numbering is the content, so it comes from the list, not from typed-in
   digits that could drift out of order when a step is edited. */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 1.25rem 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 1.1rem 2.6rem;
  max-width: calc(var(--measure) + 2.6rem);
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: .08em;
  width: 1.8rem; height: 1.8rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--accent); border-radius: 50%;
  font-family: var(--font-display); font-size: .95rem; color: var(--accent);
}
.steps li:last-child { padding-bottom: 0; }

/* ---------- Two-up row (lead time + where we work) ---------- */
.two-up { display: grid; gap: 2rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--accent-tint); padding: 3rem 0; }
.cta-band h2 { margin-top: 0; }
.cta-band p { max-width: var(--measure); }

/* ---------- Form ---------- */
.form-field { margin-bottom: 1.2rem; max-width: 34rem; }
.form-field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .3rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; font: inherit; padding: .65rem .8rem; min-height: 46px;
  border: 2px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--accent); outline: 3px solid var(--accent-tint); }
.form-field textarea { min-height: 7rem; }
.form-field__help { display: block; font-weight: 400; font-size: .85rem; color: var(--ink-soft); margin-top: .2rem; }
.form-fieldset { border: 0; padding: 0; margin: 0 0 1.2rem; }
.form-fieldset legend { font-weight: 600; font-size: .95rem; margin-bottom: .3rem; padding: 0; }
.form-radio { display: flex; align-items: center; gap: .5rem; margin-bottom: .4rem; font-weight: 400; }
.form-radio input { width: auto; min-height: 0; }
.form-privacy { font-size: .87rem; color: var(--ink-soft); max-width: 34rem; margin-top: 1rem; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ghl-form-launch { max-width: 42rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.ghl-form-launch > :first-child { margin-top: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--band); border-top: 1px solid var(--line); padding: 2.75rem 0 2rem; margin-top: 3rem; font-size: .93rem; }
.site-footer h2 { font-size: .95rem; font-family: var(--font-body); margin: 0 0 .5rem; }
.site-footer__cols { display: grid; gap: 1.75rem; margin-bottom: 1.75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .35rem; }
.site-footer a { color: var(--ink); }
.site-footer__desc { max-width: 30rem; color: var(--ink-soft); }
.site-footer__legal { border-top: 1px solid var(--line); padding-top: 1.25rem; color: var(--ink-soft); font-size: .85rem; }
.site-footer__operator { margin-bottom: .5rem; }

/* ================= Responsive ================= */

/* Mobile: nav collapses ONLY when site.js has wired the toggle.
   Without JS the nav stays visible and the button stays hidden, so navigation
   is never lost and the button is never a dead control. */
@media (max-width: 60em) {
  .site-nav { width: 100%; order: 3; }
  .site-nav ul { flex-direction: column; gap: 0; padding: .5rem 0; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav a { display: block; padding: .7rem 0; }
  .js .nav-toggle {
    display: inline-flex; align-items: center; min-height: 40px;
    background: transparent; border: 2px solid var(--line); border-radius: var(--radius);
    color: var(--ink); font: inherit; font-size: .9rem; font-weight: 600;
    padding: .4rem .8rem; cursor: pointer;
  }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; }
}

@media (min-width: 40em) {
  :root { --gutter: 1.5rem; }
  .figure-pair { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 60em) {
  .hero__grid { grid-template-columns: 55fr 45fr; gap: 3rem; }
  .two-up { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .site-footer__cols { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .section { padding: 4rem 0; }
}
