/* Cabinet Tune-Up, Soft Daylight design system (direction 09)
   Shared by all three high-fidelity variations. */

:root{
  --bg:#FBF9F5;
  --surface:#F1EFE8;
  --surface-2:#E8E5DC;
  --ink:#242822;
  --muted:#5B6159;
  /* Darkened from #8B9089, which measured 3.1:1 against the page background and
     failed AA at body size everywhere it was used: hero note, photo captions,
     form fine print. Clears 4.9:1 now. */
  --faint:#666B62;

  /* Brand, sampled straight off the Cabinet Tune-Up logo artwork.
     Navy carries the actions because the brand green is too light to hold
     white text: #8BB55C on white fails contrast, #1C396B clears 9:1. */
  --brand:#1C396B;        /* "Tune-Up" navy */
  --brand-deep:#093759;   /* cabinet mark outline, used for hover */
  --brand-soft:#E8EDF4;
  --leaf:#8BB55C;         /* "Cabinet" green */
  --leaf-dark:#19724B;    /* shelf green, safe for text on light */
  --leaf-light:#A5CC86;
  --leaf-soft:#EDF4E4;

  --line:#E2DED4;
  --line-soft:#EDEAE1;
  --r-sm:12px; --r:16px; --r-lg:22px; --r-xl:28px;
  --pad:clamp(24px,5vw,64px);

  /* Layered rather than single-drop. One big soft shadow reads like a sticker;
     a tight contact shadow plus a wide ambient one reads like an object. */
  --shadow:0 1px 2px rgba(36,40,34,.045), 0 2px 6px rgba(36,40,34,.045);
  --shadow-md:0 1px 2px rgba(36,40,34,.04), 0 6px 16px rgba(36,40,34,.06),
              0 12px 32px rgba(36,40,34,.045);
  --shadow-lg:0 2px 4px rgba(36,40,34,.05), 0 12px 28px rgba(36,40,34,.08),
              0 28px 60px rgba(36,40,34,.07);

  /* Easing. Everything entering uses out-quint, which decelerates hard and
     settles without the rubbery feel of a spring. Hovers use a symmetric
     curve so they feel the same going out as coming in. */
  --ease:cubic-bezier(.22,1,.36,1);
  --ease-soft:cubic-bezier(.4,0,.2,1);
  --t-fast:.18s;
  --t-mid:.34s;
  --t-slow:.62s;
}

::selection{background:var(--leaf-light);color:var(--ink)}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:var(--bg);color:var(--ink);
  font-family:'Plus Jakarta Sans',system-ui,-apple-system,sans-serif;
  font-size:19px;line-height:1.7;-webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
h1,h2,h3{margin:0;letter-spacing:-.03em;line-height:1.14;font-weight:600;
  /* balance keeps a headline from dropping one orphaned word onto its own
     line, which is the single most common thing that makes type look unset */
  text-wrap:balance}
h1{font-size:clamp(34px,4.2vw,52px);letter-spacing:-.035em}
h2{font-size:clamp(28px,3.4vw,40px)}
h3{font-size:clamp(20px,1.6vw,23px);letter-spacing:-.02em;line-height:1.3}
p{margin:0;text-wrap:pretty}
a{color:inherit}

/* Prices and counts sit in tabular figures so the total does not jitter
   sideways as the digits change under the stepper. */
.est__total,.est .n,.specs dd,.est__lbl{font-variant-numeric:tabular-nums}

:focus-visible{outline:3px solid var(--brand);outline-offset:3px;border-radius:4px}
.wrap{max-width:1240px;margin:0 auto;padding-inline:var(--pad)}
.narrow{max-width:820px}
section{padding-block:clamp(56px,7vw,104px)}
.lede{font-size:clamp(19px,1.5vw,21px);line-height:1.72;color:var(--muted)}
.eyebrow{font-size:14px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--leaf-dark)}

/* ---------- buttons ---------- */
.btn{
  display:inline-block;background:var(--brand);color:#fff;border:0;
  font:600 19px/1 'Plus Jakarta Sans',sans-serif;
  padding:22px 38px;border-radius:14px;cursor:pointer;text-decoration:none;
  box-shadow:0 1px 2px rgba(9,55,89,.18), 0 4px 12px rgba(9,55,89,.16);
  /* transform and box-shadow only: both composite, so the lift never
     re-lays-out the section around the button */
  transition:background var(--t-fast) var(--ease-soft),
             box-shadow var(--t-mid) var(--ease-soft),
             transform var(--t-mid) var(--ease-soft);
}
.btn:hover{background:var(--brand-deep);transform:translateY(-2px);
  box-shadow:0 2px 4px rgba(9,55,89,.18), 0 10px 24px rgba(9,55,89,.22)}
.btn:active{transform:translateY(0);
  box-shadow:0 1px 2px rgba(9,55,89,.22), 0 2px 6px rgba(9,55,89,.18);
  transition-duration:var(--t-fast)}
.btn--ghost{background:transparent;color:var(--ink);border:2px solid var(--line);
  padding:20px 34px;box-shadow:none}
.btn--ghost:hover{background:var(--surface);border-color:var(--faint);box-shadow:var(--shadow)}
.btn--wide{width:100%;text-align:center}

.tel{display:inline-block;font-size:19px;color:var(--muted);text-decoration:none}
.tel b{color:var(--ink);font-weight:600;white-space:nowrap;
  background-image:linear-gradient(var(--brand),var(--brand));
  background-size:0% 2px;background-repeat:no-repeat;background-position:0 100%;
  transition:background-size var(--t-mid) var(--ease)}
.tel:hover b{background-size:100% 2px}

/* ---------- header ---------- */
.hdr{
  position:sticky;top:0;z-index:50;background:rgba(251,249,245,.88);
  backdrop-filter:blur(14px) saturate(140%);
  -webkit-backdrop-filter:blur(14px) saturate(140%);
  border-bottom:1px solid transparent;
  transition:border-color var(--t-mid) var(--ease-soft),
             box-shadow var(--t-mid) var(--ease-soft),
             background-color var(--t-mid) var(--ease-soft);
}
/* Only earns its edge once there is content behind it to separate from. */
.hdr.is-stuck{border-bottom-color:var(--line);
  background:rgba(251,249,245,.94);
  box-shadow:0 1px 2px rgba(36,40,34,.03), 0 8px 24px rgba(36,40,34,.06)}
.logo{transition:opacity var(--t-fast) var(--ease-soft)}
.logo:hover{opacity:.78}
.hdr__in{display:flex;align-items:center;gap:20px;padding-block:16px}
/* Real logo artwork, extracted from CT Logo-4.ai. The header uses a version
   cropped above the tagline, because at 48px tall the tagline sets around 7px
   and turns to mush. The footer gets the full lockup, knocked out for dark. */
.logo{display:block;text-decoration:none;flex:none}
.logo img{height:48px;width:auto;display:block}
@media(max-width:560px){.logo img{height:40px}}
.hdr__sp{flex:1}
.hdr__tel{font-size:18px;font-weight:600;text-decoration:none;white-space:nowrap}
.hdr .btn{padding:14px 24px;font-size:17px;border-radius:11px}

/* social proof in the header. Ogilvy: proof belongs where the eye lands first,
   not buried three screens down. */
.hdr__proof{display:flex;align-items:center;gap:9px;font-size:15.5px;
  color:var(--muted);white-space:nowrap;line-height:1.2}
.hdr__proof .stars{color:#8F6B12;font-size:14px;letter-spacing:.08em}
.hdr__proof b{color:var(--ink);font-weight:700}
.proofstrip{display:none}
@media(max-width:1240px){.hdr__proof .long{display:none}}
@media(max-width:820px){
  .hdr__tel{display:none}
  .hdr .btn{padding:13px 18px;font-size:16px}
  .hdr__proof{display:none}
  .proofstrip{
    display:flex;align-items:center;justify-content:center;gap:8px;
    background:var(--leaf-soft);color:var(--leaf-dark);
    font-size:15px;font-weight:600;padding:9px 16px;text-align:center;line-height:1.35;
  }
  .proofstrip .stars{color:#B8860B;letter-spacing:.06em}
}

/* photo captions. Twice as many people read a caption as read body copy, so
   every caption carries the price or the promise, never just a label. */
figure{margin:0}
.hero__pic figcaption{
  position:absolute;left:0;right:0;bottom:0;z-index:2;
  padding:44px 26px 20px;font-size:15.5px;line-height:1.55;color:#fff;
  background:linear-gradient(to top,rgba(12,14,10,.9),rgba(12,14,10,.62) 46%,
    rgba(12,14,10,.2) 80%,rgba(12,14,10,0));
}
.band__pic figcaption{font-size:15.5px;color:var(--faint);line-height:1.55;margin-top:11px}

/* ---------- hero ---------- */
.hero{padding:0;border-bottom:1px solid var(--line)}
.hero__in{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;min-height:600px}
.hero__copy{display:flex;flex-direction:column;justify-content:center;
  padding:clamp(48px,6vw,88px) clamp(24px,4vw,72px);max-width:760px;margin-left:auto;width:100%}
.hero__copy .lede{margin-top:22px;max-width:40ch}
.hero__acts{display:flex;flex-direction:column;align-items:flex-start;gap:18px;margin-top:38px}
.hero__pic{position:relative;background:var(--surface-2);overflow:hidden}
.hero__pic img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
/* A hairline of the page colour over the photo edge stops the crop from
   looking like a screenshot pasted into the layout. */
.hero__pic::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  box-shadow:inset 0 0 0 1px rgba(36,40,34,.07)}
.hero__note{margin-top:30px;padding-top:24px;border-top:1px solid var(--line);
  font-size:16.5px;color:var(--faint);line-height:1.6;max-width:44ch}
.hero__note b{color:var(--muted);font-weight:600}
@media(max-width:900px){
  .hero__in{grid-template-columns:1fr}
  .hero__pic{min-height:320px;order:2}
  .hero__copy{order:1;padding:44px 24px 40px}
}

/* ---------- estimator ---------- */
.est{background:var(--surface)}
.est__head{text-align:center;max-width:600px;margin:0 auto}
.est__head .lede{margin-top:14px}
.est__card{
  background:var(--bg);border-radius:var(--r-xl);padding:clamp(28px,4vw,44px);
  margin:38px auto 0;max-width:760px;box-shadow:var(--shadow-md);
  display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:clamp(24px,4vw,48px);
}
.stp{display:inline-flex;align-items:center;gap:6px}
.stp button{
  width:66px;height:66px;border-radius:50%;border:0;background:var(--brand-soft);
  color:var(--brand);font-size:30px;font-weight:600;cursor:pointer;line-height:1;
  transition:background var(--t-fast) var(--ease-soft),
             transform var(--t-fast) var(--ease-soft);
}
.stp button:hover:not(:disabled){background:#D8E2F0}
.stp button:active:not(:disabled){transform:scale(.92)}
.stp button:disabled{opacity:.35;cursor:default}
.stp .n{font-size:34px;font-weight:700;width:80px;text-align:center;letter-spacing:-.03em}
.est__out{text-align:center}
.est__lbl{font-size:15.5px;color:var(--faint);letter-spacing:.02em}
.est__total{font-size:clamp(44px,5.4vw,62px);font-weight:700;letter-spacing:-.04em;
  color:var(--brand);line-height:1.1}
/* A short scale nudge when the figure changes, so the eye is drawn to the
   number that just moved rather than having to hunt for it. */
.est__total.bump{animation:bump .34s var(--ease)}
@keyframes bump{
  0%{transform:scale(1)}
  38%{transform:scale(1.045)}
  100%{transform:scale(1)}
}
.est__fine{text-align:center;font-size:16px;color:var(--faint);line-height:1.6;max-width:56ch;margin:22px auto 0}
.est__cta{text-align:center;margin-top:30px}

/* ---------- spec list ---------- */
.specs{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1px;
  background:var(--line-soft);border-radius:var(--r-lg);overflow:hidden;margin-top:40px;
  box-shadow:0 0 0 1px var(--line-soft)}
.specs div{background:var(--bg);padding:26px 28px;
  transition:background var(--t-mid) var(--ease-soft)}
.specs div:hover{background:var(--surface)}
.specs dt{font-size:14px;letter-spacing:.1em;text-transform:uppercase;color:var(--faint);font-weight:600;margin-bottom:6px}
.specs dd{margin:0;font-size:19px;font-weight:600;letter-spacing:-.01em}
.oneline{margin-top:30px;font-size:20px;font-weight:600;color:var(--leaf-dark)}

/* ---------- two-col band ---------- */
.band{display:grid;grid-template-columns:1fr 1fr;gap:clamp(32px,5vw,72px);align-items:center}
.band--flip .band__pic{order:-1}
.band__pic img{border-radius:var(--r-lg);width:100%;aspect-ratio:4/3;object-fit:cover;
  box-shadow:var(--shadow-md), inset 0 0 0 1px rgba(36,40,34,.07)}
.band__copy .lede{margin-top:18px}
@media(max-width:880px){.band{grid-template-columns:1fr}.band--flip .band__pic{order:0}}

/* ---------- steps ---------- */
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:28px;margin-top:44px}
.step{background:var(--bg);border:1px solid var(--line);border-radius:var(--r-lg);padding:32px 30px;
  transition:transform var(--t-mid) var(--ease-soft),
             box-shadow var(--t-mid) var(--ease-soft),
             border-color var(--t-mid) var(--ease-soft)}
.step:hover{transform:translateY(-3px);box-shadow:var(--shadow-md);border-color:var(--line-soft)}
.step b{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;
  background:var(--brand-soft);color:var(--brand);font-size:19px;font-weight:700;margin-bottom:18px}
.step p{margin-top:10px;font-size:17.5px;line-height:1.65;color:var(--muted)}
.steps--onsurface .step{background:var(--surface);border-color:transparent}

/* ---------- reviews ---------- */
.revs{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:24px;margin-top:44px}
.rev{background:var(--bg);border:1px solid var(--line);border-radius:var(--r-lg);padding:30px;
  transition:transform var(--t-mid) var(--ease-soft),
             box-shadow var(--t-mid) var(--ease-soft)}
.rev:hover{transform:translateY(-3px);box-shadow:var(--shadow-md)}
.rev__stars{color:#8F6B12;font-size:17px;letter-spacing:.14em;margin-bottom:14px}
.rev p{font-size:17.5px;line-height:1.7}
.rev cite{display:block;margin-top:16px;font-style:normal;font-size:16px;color:var(--faint);font-weight:600}
.revbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:14px;
  margin-top:34px;font-size:17px;color:var(--muted);text-align:center}

/* ---------- gallery ---------- */
.gal{display:grid;grid-template-columns:repeat(3,1fr);gap:34px 24px;margin-top:44px}
.gal img{border-radius:var(--r);aspect-ratio:4/3;object-fit:cover;width:100%;
  box-shadow:var(--shadow), inset 0 0 0 1px rgba(36,40,34,.07);
  /* Lifting the photo rather than zooming it: a zoom needs a clipping wrapper
     and, on a page selling calm, reads as restless. */
  transition:transform var(--t-slow) var(--ease), box-shadow var(--t-slow) var(--ease)}
.gal figure:hover img{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.gal figcaption{font-size:16px;color:var(--muted);line-height:1.6;margin-top:12px;
  transition:color var(--t-mid) var(--ease-soft)}
.gal figure:hover figcaption{color:var(--ink)}
.gal figcaption b{color:var(--ink);font-weight:600}
@media(max-width:900px){.gal{grid-template-columns:repeat(2,1fr);gap:30px 20px}}
@media(max-width:620px){.gal{grid-template-columns:1fr;gap:30px}}

/* ---------- guarantee ---------- */
.guar{background:var(--brand);color:#fff}
.guar h2{color:#fff}
.guar .lede{color:#C3D2E8;margin-top:20px}
.guar__box{max-width:760px;margin:0 auto;text-align:center}
.guar__name{font-size:15px;letter-spacing:.14em;text-transform:uppercase;color:#9DB4D4;font-weight:600;margin-bottom:18px}

/* ---------- FAQ ---------- */
.faq{max-width:820px;margin:44px auto 0}
.faq details{border-bottom:1px solid var(--line);padding:8px 0}
.faq summary{
  cursor:pointer;list-style:none;padding:22px 52px 22px 0;position:relative;
  font-size:20px;font-weight:600;letter-spacing:-.02em;line-height:1.4;
  transition:color var(--t-fast) var(--ease-soft);
}
.faq summary:hover{color:var(--brand)}
.faq summary::-webkit-details-marker{display:none}
/* The marker is drawn as two bars rather than a "+"/"–" glyph swap, because
   a character change cannot be tweened. The upright bar collapses to nothing
   and the plus becomes a minus in one continuous move. */
.faq summary::before,.faq summary::after{
  content:"";position:absolute;right:10px;top:50%;background:var(--brand);
  border-radius:2px;transition:transform var(--t-mid) var(--ease);
}
.faq summary::after{width:17px;height:2.5px;transform:translateY(-50%)}
.faq summary::before{width:2.5px;height:17px;transform:translate(7.25px,-50%)}
.faq details[open] summary::before{transform:translate(7.25px,-50%) scaleY(0)}
.faq p{padding:0 40px 24px 0;color:var(--muted);font-size:17.5px;line-height:1.75}
/* Transform only, never opacity. In a background tab or a print pass the
   animation starts but never advances, so it holds the 0% keyframe forever.
   Held at 0% this is a 6px offset nobody will notice; had it animated opacity,
   the default-open answer would sit there invisible. Fail harmless. */
.faq details[open] p{animation:faqIn .42s var(--ease)}
@keyframes faqIn{
  from{transform:translateY(-7px)}
  to{transform:none}
}

/* ---------- form ---------- */
.cta{background:var(--surface)}
.cta__in{display:grid;grid-template-columns:1fr 1fr;gap:clamp(32px,5vw,72px);align-items:center}
.cta .lede{margin-top:18px}
.form{background:var(--bg);border-radius:var(--r-xl);padding:clamp(28px,3.5vw,40px);
  box-shadow:var(--shadow-md)}
.field{margin-bottom:20px}
.field label{display:block;font-size:16px;font-weight:600;margin-bottom:9px}
.field input{
  width:100%;font:400 19px 'Plus Jakarta Sans',sans-serif;padding:18px 18px;
  border:2px solid var(--line);border-radius:var(--r-sm);background:#fff;color:var(--ink);
  transition:border-color var(--t-fast) var(--ease-soft),
             box-shadow var(--t-mid) var(--ease-soft);
}
.field input:hover{border-color:var(--faint)}
.field input:focus{outline:0;border-color:var(--brand);
  box-shadow:0 0 0 4px rgba(28,57,107,.13)}
.consent{display:flex;gap:13px;align-items:flex-start;margin:24px 0;font-size:15.5px;line-height:1.6;color:var(--muted)}
.consent input{width:24px;height:24px;flex:none;margin-top:2px;accent-color:var(--brand)}
.form__fine{font-size:14.5px;color:var(--faint);line-height:1.6;margin-top:16px;text-align:center}
.form__done{text-align:center;font-size:19px;line-height:1.65;color:var(--ink);padding:12px 0}
.form__done b{display:block;font-size:24px;font-weight:700;color:var(--leaf-dark);margin-bottom:10px}
.form__done a{color:var(--brand);font-weight:600}
.form__error{font-size:16px;line-height:1.6;color:#9B3A2E;margin-top:14px;text-align:center}
.form__error a{color:inherit;font-weight:600}
@media(max-width:880px){.cta__in{grid-template-columns:1fr}}

/* ---------- footer ---------- */
.ftr{background:var(--ink);color:#C8CCC5;padding-block:56px 40px;font-size:16.5px}
.ftr a{color:#fff;text-decoration:none}
.ftr__top{display:flex;flex-wrap:wrap;gap:32px;justify-content:space-between;align-items:flex-start}
.ftr .logo img{height:84px}
@media(max-width:560px){.ftr .logo img{height:68px}}
.ftr__cols{display:flex;flex-wrap:wrap;gap:56px}
.ftr h4{margin:0 0 12px;font-size:15px;letter-spacing:.1em;text-transform:uppercase;color:#8F948B;font-weight:600}
.ftr ul{margin:0;padding:0;list-style:none;line-height:2}
.ftr__btm{margin-top:44px;padding-top:26px;border-top:1px solid #3A3F38;font-size:15px;color:#8F948B;
  display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between}

/* ---------- sticky mobile call bar ---------- */
.callbar{display:none}
@media(max-width:760px){
  .callbar{
    display:grid;grid-template-columns:1fr 1fr;gap:10px;position:fixed;bottom:0;left:0;right:0;z-index:60;
    background:rgba(251,249,245,.97);backdrop-filter:blur(10px);
    border-top:1px solid var(--line);padding:12px 14px calc(12px + env(safe-area-inset-bottom));
  }
  /* Grid-centred with a min-height rather than padding-driven. "Book a design
     consult" wraps to two lines at 375px, which stretched the one-line "Call
     us" beside it and left the label floating in dead space. */
  .callbar a{
    display:grid;place-items:center;min-height:58px;
    text-align:center;padding:10px;border-radius:12px;text-decoration:none;
    font-size:17px;font-weight:600;line-height:1.25;
    transition:transform var(--t-fast) var(--ease-soft);
  }
  .callbar a:active{transform:scale(.97)}
  .callbar .c1{background:var(--brand);color:#fff}
  .callbar .c2{background:var(--bg);color:var(--ink);border:2px solid var(--line)}
  body{padding-bottom:88px}
}

/* ---------- misc ---------- */
.center{text-align:center}
.center .lede{margin-inline:auto}
.mt{margin-top:34px}
.pill{display:inline-block;background:var(--leaf-soft);color:var(--leaf-dark);
  font-size:16px;font-weight:600;padding:9px 18px;border-radius:99px;margin-bottom:24px;
  box-shadow:inset 0 0 0 1px rgba(25,114,75,.14)}

/* ---------- entrance motion ----------
   The .reveal class is applied by motion.js, never in the markup. If the
   script fails or is blocked, nothing is ever hidden. */
.reveal{opacity:0;transform:translateY(16px);
  transition:opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease)}
.reveal.is-in{opacity:1;transform:none}

/* ---------- reduced motion ----------
   Honour the OS setting outright. Everything still works, it just arrives
   rather than travels, which matters to anyone who gets motion sick. */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
    scroll-behavior:auto !important;
  }
  .reveal{opacity:1;transform:none}
  .btn:hover,.step:hover,.rev:hover,.gal figure:hover img{transform:none}
}

/* ---------- wood selector + calculator ----------
   Roger's price sheet has five woods, each with a regular installed price and
   a current promo price where install is free. Real radio inputs rather than
   buttons so keyboard and screen-reader navigation come for free, which matters
   more than usual for this audience. */
.woods{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(196px,1fr));
  gap:12px;margin-top:clamp(26px,3.5vw,38px);
}
.wood{
  position:relative;display:flex;flex-direction:column;gap:6px;cursor:pointer;
  background:var(--bg);border-radius:var(--r);padding:18px 20px;
  box-shadow:inset 0 0 0 1.5px var(--line);
  transition:box-shadow var(--t-fast) var(--ease-soft),
             transform var(--t-mid) var(--ease-soft);
}
.wood:hover{transform:translateY(-2px);box-shadow:inset 0 0 0 1.5px var(--faint)}
.wood:has(input:checked){
  box-shadow:inset 0 0 0 2.5px var(--brand), 0 6px 18px rgba(28,57,107,.14);
  transform:none;
}
.wood:has(input:focus-visible){outline:3px solid var(--brand);outline-offset:3px}
/* Kept in the layout so it stays focusable and hit-testable, just not painted. */
.wood input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.wood__name{font-size:16.5px;font-weight:600;line-height:1.3}
.wood__price{font-size:15.5px;color:var(--muted);font-variant-numeric:tabular-nums}
.wood__price b{font-size:21px;font-weight:700;color:var(--brand);margin-right:7px}
.wood__price s{color:var(--faint);text-decoration-thickness:1.5px}

.addon{
  display:flex;align-items:flex-start;gap:13px;margin-top:20px;
  font-size:17px;line-height:1.55;color:var(--muted);cursor:pointer;max-width:60ch;
}
.addon input{width:24px;height:24px;flex:none;margin-top:1px;accent-color:var(--brand)}
.addon b{color:var(--ink);font-weight:600}

.est__save{
  margin-top:10px;font-size:16.5px;line-height:1.55;color:var(--muted);
  font-variant-numeric:tabular-nums;
}
.est__save s{color:var(--faint);text-decoration-thickness:1.5px}
.est__save b{color:var(--leaf-dark);font-weight:600}

.freepill{
  display:inline-flex;align-items:center;gap:8px;background:var(--leaf-soft);
  color:var(--leaf-dark);font-size:15.5px;font-weight:600;
  padding:8px 16px;border-radius:99px;margin-bottom:18px;
  box-shadow:inset 0 0 0 1px rgba(25,114,75,.16);
}

/* the services that are priced per door / per drawer rather than per shelf */
.alsolist{
  margin-top:clamp(30px,4vw,44px);border-top:1px solid var(--line);padding-top:24px;
  display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px 30px;
}
.alsolist h3{font-size:17px;margin-bottom:14px;grid-column:1/-1;color:var(--muted);
  font-weight:600;letter-spacing:.01em}
.alsolist div{display:flex;justify-content:space-between;gap:14px;font-size:16.5px;
  padding-bottom:10px;border-bottom:1px solid var(--line-soft)}
.alsolist span{color:var(--muted)}
.alsolist b{font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}

/* Segmented control for slide-outs per cabinet. Most cabinets take two, so the
   calculator has to say so or every estimate on the page reads half the real
   number. */
.segs{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:22px}
.segs__lbl{font-size:17px;color:var(--muted)}
.segs__set{display:inline-flex;background:var(--bg);border-radius:99px;padding:5px;
  box-shadow:inset 0 0 0 1.5px var(--line)}
.seg{position:relative;cursor:pointer}
.seg input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.seg span{display:grid;place-items:center;min-width:56px;height:48px;border-radius:99px;
  font-size:18px;font-weight:600;color:var(--muted);
  transition:background var(--t-fast) var(--ease-soft),color var(--t-fast) var(--ease-soft)}
.seg:has(input:checked) span{background:var(--brand);color:#fff}
.seg:has(input:focus-visible) span{outline:3px solid var(--brand);outline-offset:3px}
.seg:hover:not(:has(input:checked)) span{background:var(--brand-soft);color:var(--brand)}
.segs__note{font-size:15.5px;color:var(--faint);flex-basis:100%;line-height:1.5}

.est__math{font-size:17px;color:var(--muted);margin-top:4px;font-variant-numeric:tabular-nums}
.est__math b{color:var(--ink);font-weight:600}

/* The struck regular price is real pricing information, not decoration, so it
   has to clear AA too. --faint only managed 3.1:1 against the card. */
.wood__price s{color:var(--muted)}

/* ---------- the promotion, loud ----------
   Roger: the free install is a huge selling point. It was a quiet grey line
   under the total; now it is the second thing you see after the price. */
.freepill{
  font-size:17px;padding:11px 22px;
  box-shadow:inset 0 0 0 1.5px rgba(25,114,75,.28);
}
.est__was{
  font-size:19px;color:var(--muted);margin-top:8px;font-variant-numeric:tabular-nums;
}
.est__was s{text-decoration-thickness:2px}
/* A saving is information, not an action. The first pass was a solid green
   pill with bold white text, which reads as a button and competed with the
   real CTA a few inches below it. Light tint, dark green text, square-ish
   corners: still the loudest thing after the price, but plainly not clickable. */
.est__save{
  display:inline-block;margin-top:16px;padding:14px 22px;border-radius:14px;
  background:var(--leaf-soft);color:var(--leaf-dark);
  box-shadow:inset 0 0 0 1.5px rgba(25,114,75,.22);
  font-size:17px;line-height:1.45;font-variant-numeric:tabular-nums;
}
.est__save b{display:block;font-size:27px;font-weight:700;letter-spacing:-.025em;
  line-height:1.15;margin-bottom:2px}
