/* RefinishLab Cabinets. Graphite, white and fog with one muted lime action color (trial, 2026-10-18).
   Type: Outfit (display and wordmark) + Figtree (text), Fraunces only for the small "The Cabinet" line. Nothing here is shared with the Elite Floor Coatings site. */

:root {
  --navy: #2A2E32;        /* graphite: nav, comparison band, referral card */
  --navy-deep: #1B1E21;   /* near-black: hero panel, price figures */
  --navy-soft: #3A3F44;   /* hover */
  --foot: #141618;        /* footer */
  --sage: #9AA0A6;        /* light grey: wordmark accent, process line, highlights */
  --sage-deep: #6B7075;   /* concrete: checkmarks, FAQ marks */
  --sage-pale: #E6E7E7;   /* fog: colors and estimate bands */
  --plaster: #F5F5F4;     /* page */
  --oat: #ECEDED;         /* alt band: process and owner */
  --ochre: #BFC96E;       /* muted lime: the one action color (from the reference button) */
  --ochre-deep: #A9B457;
  --ink: #1B1E21;         /* text */
  --slate: #4B5056;
  --mist: #8A9096;
  --line: #D9DADA;
  --white: #FFFFFF;
  --display: "Outfit", "Segoe UI", Arial, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --text: "Figtree", "Segoe UI", Arial, sans-serif;
  --max: 1160px;
  --gutter: clamp(18px, 4vw, 48px);
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--text); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--plaster); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.3rem; }
.lede { font-size: 1.12rem; color: var(--slate); max-width: 60ch; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(60px, 8vw, 110px) 0; }
.section--oat { background: var(--oat); }
.section--navy { background: var(--navy); color: #E5E9EC; }
.section--navy h2 { color: var(--white); }
.section--navy .lede { color: #B7C1CA; }
.section--sage { background: var(--sage-pale); }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; transition: background .15s ease, transform .15s ease; }
.btn:active { transform: translateY(1px); }
.btn--ochre { background: var(--ochre); color: var(--navy-deep); }
.btn--ochre:hover { background: var(--ochre-deep); color: var(--navy-deep); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-soft); }
.btn--ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.45); }
.btn--ghost:hover { border-color: var(--white); }
.btn--line { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn--line:hover { background: var(--navy); color: var(--white); }

/* Header */
.top { position: sticky; top: 0; z-index: 30; background: var(--navy); color: var(--white); }
.top__in { display: flex; align-items: center; gap: 28px; min-height: 84px; max-width: none; padding-left: clamp(18px, 2.5vw, 48px); padding-right: clamp(18px, 2.5vw, 48px); }
.brand { --size: 34px; display: inline-grid; grid-template-columns: auto auto; grid-template-areas: "mark top" "mark name"; column-gap: calc(var(--size) * .22); align-items: center; justify-items: start; line-height: 1; text-decoration: none; color: var(--white); }
.brand__mark { grid-area: mark; width: calc(var(--size) * 1.0); height: calc(var(--size) * 1.3); border: 2px solid currentColor; border-radius: 3px; position: relative; opacity: .95; }
.brand__mark::before { content: ""; position: absolute; inset: 18%; border: 2px solid var(--sage); border-radius: 2px; }
.brand__mark::after { content: ""; position: absolute; right: 6%; top: 50%; width: 6.5%; height: 34%; border-radius: 99px; background: linear-gradient(90deg, #DCE0E4 0%, #F2F4F6 45%, #B9C0C7 100%); box-shadow: 0 0 0 .5px rgba(0,0,0,.25); transform: translateY(-50%); }
.brand__top { grid-area: top; font-family: var(--serif); font-variant: all-small-caps; font-weight: 500; letter-spacing: .2em; font-size: calc(var(--size) * .42); color: var(--sage); display: flex; align-items: center; gap: .5em; margin-bottom: calc(var(--size) * .08); align-self: end; white-space: nowrap; }
.brand__top::after { content: ""; height: 1px; width: 1.6em; background: currentColor; opacity: .7; }
.brand__name { grid-area: name; font-family: var(--display); font-size: calc(var(--size) * .86); font-weight: 600; letter-spacing: -.02em; align-self: start; white-space: nowrap; }
.brand__name em { font-style: normal; color: var(--sage); font-weight: 300; }
.brand--big { --size: 44px; }
.top__nav { display: flex; gap: 24px; margin-left: auto; }
.top__nav a { color: #D5DCE2; text-decoration: none; font-size: 1rem; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.top__nav a:hover { color: var(--white); border-bottom-color: var(--sage); }
.top__phone { color: var(--white); text-decoration: none; font-weight: 600; white-space: nowrap; }
.top__cta { padding: 11px 18px; font-size: .92rem; }
.top__toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1.5px solid rgba(255,255,255,.35); background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; margin-left: auto; }
.top__toggle span { width: 20px; height: 2px; background: var(--white); display: block; transition: transform .2s, opacity .2s; }
.top.is-open .top__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.top.is-open .top__toggle span:nth-child(2) { opacity: 0; }
.top.is-open .top__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 980px) {
  .top__nav, .top__cta { display: none; }
  .top__toggle { display: flex; }
  .top__phone { margin-left: auto; font-size: .95rem; }
  .top__toggle { margin-left: 0; }
  .top__in { flex-wrap: wrap; gap: 14px; }
  .top.is-open .top__nav { display: flex; flex-direction: column; gap: 0; width: 100%; order: 10; padding: 6px 0 14px; border-top: 1px solid rgba(255,255,255,.12); }
  .top.is-open .top__nav a { padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.08); }
}
@media (max-width: 520px) { .brand { --size: 24px; } .top__in { min-height: 68px; } }

/* Seasonal ribbon */
.ribbon { background: var(--ochre); color: var(--navy-deep); font-size: .95rem; }
.ribbon .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; padding-top: 9px; padding-bottom: 9px; text-align: center; }
.ribbon a { color: var(--navy-deep); font-weight: 700; }

/* Hero: the photograph at its own height, never cropped on desktop; the headline is pinned to the bottom edge over the floor, on a gradient that only touches the lower third */
.hero { position: relative; background: var(--navy-deep); color: var(--white); text-align: center; overflow: hidden; }
.hero__photo { display: block; width: 100%; height: clamp(440px, 82vh, 960px); object-fit: cover; object-position: center 42%; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,30,33,0) 62%, rgba(27,30,33,.28) 80%, rgba(27,30,33,.62) 100%); }
.hero__inner { position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; max-width: 900px; padding-bottom: clamp(18px, 2.4vw, 30px); display: grid; gap: 8px; justify-items: center; }
.hero__inner h1 { color: var(--white); margin: 0; font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1.04; text-wrap: balance; text-shadow: 0 2px 18px rgba(0,0,0,.6), 0 0 2px rgba(0,0,0,.6); }
.hero__inner p { color: #F1F2F3; font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 54ch; margin: 0; text-shadow: 0 1px 12px rgba(0,0,0,.65), 0 0 2px rgba(0,0,0,.6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 4px; }
.hero__actions .btn { padding: 11px 18px; font-size: .92rem; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 18px 0 0; padding: 0; list-style: none; color: #C9CDD1; font-size: .95rem; }
.hero__facts li { position: relative; padding-left: 18px; }
.hero__facts li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--ochre); }
@media (max-width: 720px) {
  .hero__photo { height: auto; aspect-ratio: 16 / 10; object-position: center 40%; }
  .hero__shade { display: none; }
  .hero__inner { position: static; padding: 22px var(--gutter) 28px; }
  .hero__inner h1 { font-size: 1.9rem; }
}

/* Estimator band: the memorable thing, right under the hero */
.est-band { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.est-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(28px, 5vw, 72px); align-items: center; }
.est-copy h2 { color: var(--white); }
@media (max-width: 860px) { .est-wrap { grid-template-columns: 1fr; } }

/* Estimator: the memorable thing */
.est { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 24px 24px 22px; box-shadow: 0 24px 60px rgba(0,0,0,.35); width: 100%; }
.est__title { font-family: var(--display); font-size: 1.35rem; font-weight: 500; margin: 0 0 4px; color: var(--navy); }
.est__hint { color: var(--slate); font-size: .92rem; margin: 0 0 16px; }
.est__rows { display: grid; gap: 12px; }
.est__row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; }
.est__label { font-weight: 600; }
.est__label small { display: block; font-weight: 400; color: var(--slate); font-size: .85rem; }
.step { display: inline-grid; grid-template-columns: 40px 56px 40px; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.step button { border: 0; background: var(--plaster); font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--navy); height: 40px; font-family: inherit; }
.step button:hover { background: var(--oat); }
.step input { border: 0; text-align: center; font: inherit; font-weight: 600; font-size: 1.05rem; width: 56px; color: var(--ink); -moz-appearance: textfield; }
.step input::-webkit-outer-spin-button, .step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.est__toggle { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--slate); cursor: pointer; }
.est__toggle input { width: 18px; height: 18px; accent-color: var(--navy-deep); }
.est__total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); margin-top: 16px; padding-top: 14px; }
.est__total span { color: var(--slate); font-size: .95rem; }
.est__price { font-family: var(--display); font-size: 2.4rem; font-weight: 500; color: var(--navy); line-height: 1; }
.est__note { font-size: .82rem; color: var(--mist); margin: 10px 0 14px; }
.est .btn { width: 100%; }

/* Process: a real sequence, so it is numbered */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 24px; right: 24px; top: 26px; height: 2px; background: var(--sage); opacity: .6; }
.steps li { position: relative; padding-top: 70px; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--navy-deep); color: var(--white); font-family: var(--display); font-size: 1.4rem; display: grid; place-items: center; border: 4px solid var(--oat); }
.steps h3 { margin-bottom: .35em; }
.steps p { color: var(--slate); margin: 0; font-size: .98rem; }
.steps small { display: block; color: var(--sage-deep); font-weight: 600; margin-bottom: 6px; font-size: .88rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .steps::before { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; gap: 22px; } .steps li { padding-top: 0; padding-left: 68px; } .steps li::before { top: 2px; } }

/* Colors and sample door */
.colors { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.colors__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.colors__photo img { width: 100%; height: 100%; object-fit: cover; }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 24px 0 0; padding: 0; list-style: none; }
.swatches li { border-radius: 12px; overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.swatches i { display: block; height: 64px; }
.swatches b { display: block; font-weight: 600; font-size: .9rem; padding: 8px 10px 2px; }
.swatches span { display: block; font-size: .78rem; color: var(--slate); padding: 0 10px 10px; }
@media (max-width: 860px) { .colors { grid-template-columns: 1fr; } .swatches { grid-template-columns: repeat(2, 1fr); } }

/* Pricing */
.price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.price__big { font-family: var(--display); font-size: clamp(4rem, 9vw, 6.5rem); line-height: .95; color: var(--navy); font-weight: 500; margin: 0; }
.price__big small { display: block; font-family: var(--text); font-size: 1.05rem; font-weight: 500; color: var(--slate); margin-top: 10px; letter-spacing: 0; }
.price__second { margin-top: 22px; font-size: 1.05rem; }
.price__second strong { font-family: var(--display); font-size: 1.6rem; font-weight: 500; color: var(--navy); margin-right: 6px; }
.includes { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.includes li { padding-left: 26px; position: relative; font-size: .98rem; }
.includes li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 2.5px solid var(--sage-deep); border-bottom: 2.5px solid var(--sage-deep); transform: rotate(-45deg); }
.addons { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 18px; }
.addons dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: .98rem; }
.addons dt { font-weight: 600; white-space: nowrap; }
.addons dd { margin: 0; color: var(--slate); }
.terms { color: var(--slate); font-size: .95rem; margin-top: 22px; }
@media (max-width: 860px) { .price { grid-template-columns: 1fr; } .includes { grid-template-columns: 1fr; } .addons dl { grid-template-columns: 1fr; gap: 2px 0; } .addons dd { margin-bottom: 10px; } }

/* Compare table on navy */
.cmp { margin-top: 36px; overflow-x: auto; }
.cmp table { width: 100%; min-width: 660px; border-collapse: separate; border-spacing: 0; font-size: .98rem; }
.cmp th, .cmp td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(255,255,255,.12); }
.cmp thead th { font-family: var(--display); font-weight: 500; font-size: 1.25rem; color: var(--white); border-bottom: 2px solid rgba(255,255,255,.3); }
.cmp thead th.cmp__us { color: var(--navy-deep); background: var(--ochre); border-radius: 12px 12px 0 0; }
.cmp tbody th { font-weight: 600; color: var(--white); width: 22%; }
.cmp tbody td.cmp__us { background: rgba(191,201,110,.14); color: var(--white); font-weight: 600; }
.cmp tbody tr:last-child td.cmp__us { border-radius: 0 0 12px 12px; }
.cmp__note { font-size: .88rem; color: #9FABB5; margin-top: 16px; }

/* Owner and warranty */
.owner { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.owner__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.owner__photo img { width: 100%; height: 100%; object-fit: cover; }
.promise { margin-top: 22px; padding: 20px 22px; border-left: 4px solid var(--sage); background: var(--white); border-radius: 0 12px 12px 0; }
.promise p { margin: 0; }
.promise a { color: var(--navy); font-weight: 600; }
@media (max-width: 760px) { .owner { grid-template-columns: 1fr; } .owner__photo { max-width: 260px; } }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.6rem; color: var(--sage-deep); line-height: 1; flex: 0 0 auto; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 18px; color: var(--slate); max-width: 70ch; }

/* Estimate form */
.form-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.form { background: var(--white); border-radius: var(--radius); padding: 26px; display: grid; gap: 14px; border: 1px solid var(--line); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; }
.form input, .form select, .form textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--plaster); color: var(--ink); width: 100%; min-width: 0; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--sage-deep); outline-offset: 1px; border-color: var(--sage-deep); }
.form .hp { position: absolute; left: -9999px; }
.form__fine { font-size: .85rem; color: var(--slate); margin: 0; }
.referral { margin-top: 28px; padding: 22px 24px; border-radius: var(--radius); background: var(--navy); color: #E5E9EC; }
.referral h3 { color: var(--white); margin-bottom: .3em; }
.referral p { margin: 0 0 14px; color: #B7C1CA; }
@media (max-width: 860px) { .form-wrap { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }

/* Footer */
.foot { background: var(--foot); color: #9FABB5; padding: 44px 0 110px; font-size: .92rem; }
.foot .brand { margin-bottom: 16px; --size: 32px; }
.foot a { color: #D5DCE2; text-decoration: none; }
.foot a:hover { color: var(--white); }
.foot__row { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 8px; }
.foot__legal { font-size: .8rem; color: #6F7C88; }
@media (min-width: 721px) { .foot { padding-bottom: 44px; } }

/* Mobile sticky action */
.sticky { display: none; }
@media (max-width: 720px) {
  .sticky { display: flex; position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 40; justify-content: center; box-shadow: 0 10px 28px rgba(0,0,0,.3); }
}

/* Inner pages */
.page { max-width: 860px; }
.page h2 { font-size: 1.5rem; margin-top: 1.6em; padding-bottom: .3em; border-bottom: 2px solid var(--sage); }
.page ul { padding-left: 20px; }
.page li { margin-bottom: 8px; }
.page .note { color: var(--slate); font-size: .92rem; }
