/* ==========================================================================
   Costa Flooring LLC — design system + page styles (v2)
   Walnut from the logo, honey oak from the floors, a strong green for every CTA.
   Poppins for headlines (heavy line + light italic line), Inter for body.
   ========================================================================== */

:root {
  /* brand */
  --walnut: #3B2314;
  --walnut-deep: #2A1810;
  --walnut-soft: #F3EBE2;     /* tint for number circles / icon discs */
  --oak: #C4853D;             /* honey oak: italic headline lines, kickers */
  --oak-bright: #E0A45C;
  --green: #22A04A;
  --green-deep: #167A38;
  --green-bright: #3FC468;
  --ink: #1E1613;
  --ink-3: #3E3833;
  --stone: #6E6861;
  --line: #E4DCD1;
  --line-dark: rgba(255, 255, 255, 0.14);
  --paper: #FFFFFF;
  --sand: #F6F2EC;

  --green-gloss: linear-gradient(160deg, #5BD37E 0%, var(--green-bright) 25%, var(--green) 60%, var(--green-deep) 100%);
  --green-shadow: 0 12px 28px -10px rgba(34, 160, 74, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -2px 4px rgba(0, 0, 0, 0.18);
  --walnut-bg: radial-gradient(90% 70% at 100% 0%, rgba(196, 133, 61, 0.28), transparent 60%),
               linear-gradient(160deg, var(--walnut) 0%, var(--walnut-deep) 100%);
  /* very faint wood grain, painted with the walnut colour; used as an overlay on sand sections */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='3000' height='1200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.0025 0.07' numOctaves='3' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.23 0 0 0 0 0.14 0 0 0 0 0.08 0.12 0 0 0 -0.03'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");

  --grain-chip: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.006 0.16' numOctaves='4' seed='5' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.12 0 0 0 0 0.06 0 0 0 0 0.02 1.6 0 0 0 -0.55'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");

  /* type */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Poppins", "Inter", system-ui, sans-serif;
  --fs-0: 0.875rem;
  --fs-1: 1rem;
  --fs-2: 1.125rem;
  --fs-3: 1.375rem;
  --fs-4: clamp(1.7rem, 1.2rem + 1.7vw, 2.4rem);   /* h2 */
  --fs-5: clamp(2.1rem, 1.3rem + 3.2vw, 3.6rem);   /* h1 */

  /* space */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4rem;
  --section: 60px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --container: 76rem;

  --radius: 6px;
  --shadow: 0 18px 40px -20px rgba(42, 24, 16, 0.35);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --nav-h: 5rem;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; font-family: var(--font); font-size: var(--fs-1); line-height: 1.6;
  color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--oak); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--s-4); top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: var(--s-3) var(--s-4); border-radius: var(--radius); }
.skip-link:focus { top: var(--s-4); }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, .h1, .h2, .h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; color: var(--walnut-deep); }
h1, .h1 { font-size: var(--fs-5); font-weight: 800; }
h2, .h2 { font-size: var(--fs-4); }
h3, .h3 { font-size: var(--fs-3); }
/* Two registers in one headline: heavy line, then a light italic line in honey oak */
h1 em, h2 em, .h1 em, .h2 em { display: block; font-style: italic; font-weight: 300; letter-spacing: 0; color: var(--oak); padding-bottom: 0.05em; }
.on-dark h1, .on-dark h2, .on-dark h3, .section--walnut h2, .section--walnut h3 { color: #fff; }
.on-dark h1 em, .section--walnut h2 em { color: var(--oak-bright); }

.kicker { display: block; font-size: var(--fs-0); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--oak); margin-bottom: var(--s-3); }
.section--walnut .kicker, .on-dark .kicker { color: var(--oak-bright); }
p { color: var(--ink-3); }
.lead { font-size: var(--fs-2); color: var(--ink-3); max-width: 62ch; }
.section--walnut p { color: rgba(255, 255, 255, 0.78); }

/* Section head: centered by default (headline + paragraph), left in split layouts */
.section-head { text-align: center; margin: 0 auto 2.5rem; max-width: 46rem; }
.section-head h2 { margin-inline: auto; }
.section-head p { margin: var(--s-4) auto 0; max-width: 56ch; }
.section-head--left { text-align: left; margin-inline: 0; }
.section-head--left p { margin-inline: 0; }
.section__cta { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-4); justify-content: center; }
.section__cta--left { justify-content: flex-start; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 3.25rem; padding: 0.75rem 1.75rem;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-1); letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; text-align: center; line-height: 1.2;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.15s var(--ease), filter 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--primary { background: var(--green-gloss); color: #fff; box-shadow: var(--green-shadow); text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2); }
.btn--primary:hover { filter: brightness(1.07); color: #fff; }
.btn--walnut { background: var(--walnut-deep); color: #fff; border-color: var(--walnut-deep); }
.btn--walnut:hover { background: var(--walnut); border-color: var(--walnut); color: #fff; }
.btn--ghost { background: transparent; color: var(--walnut-deep); border-color: var(--walnut-deep); }
.btn--ghost:hover { background: var(--walnut-deep); color: #fff; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.75); }
.btn--ghost-light:hover { background: #fff; color: var(--walnut-deep); border-color: #fff; }
.btn--block { width: 100%; }

/* Green seal: glossy disc used in FAQ, contact bar, why-us */
.seal {
  display: inline-grid; place-items: center; flex: none; width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--walnut-soft); color: var(--walnut); box-shadow: inset 0 0 0 1px rgba(59, 35, 20, 0.12); font-weight: 800;
}
.seal svg { width: 1.35rem; height: 1.35rem; }
.seal--sm { width: 1.75rem; height: 1.75rem; }
.seal--sm svg { width: 0.95rem; height: 0.95rem; }

/* Underlined tracked text link */
.link-rule {
  display: inline-flex; align-items: center; gap: var(--s-3); padding-bottom: 6px; border-bottom: 2px solid var(--oak);
  color: var(--walnut-deep); text-decoration: none; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  transition: color 0.2s var(--ease), gap 0.2s var(--ease);
}
.link-rule:hover { color: var(--oak); gap: var(--s-4); }

/* --------------------------------------------------------------------------
   Header: two rows over the hero (contacts, then logo / menu / button); solid white after scrolling
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h); margin-bottom: calc(var(--nav-h) * -1);
  color: #fff;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease), height 0.3s var(--ease), margin 0.3s var(--ease);
}
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(42, 24, 16, 0.78), rgba(42, 24, 16, 0.35) 60%, rgba(42, 24, 16, 0)); transition: opacity 0.3s var(--ease); }
.site-header.is-solid { background: rgba(255, 255, 255, 0.97); color: var(--ink); box-shadow: 0 1px 0 var(--line); height: 5rem; margin-bottom: -5rem; }
.site-header.is-solid::before { opacity: 0; }
@supports (backdrop-filter: blur(8px)) { .site-header.is-solid { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); } }

/* Row 1: phone, email, socials. Hidden on phones and when scrolled. */
.header__top { display: none; align-items: center; justify-content: space-between; gap: var(--s-4); height: 3.5rem; font-size: 1.05rem; font-weight: 500; overflow: hidden; transition: height 0.3s var(--ease), opacity 0.2s var(--ease); }
.header__contact { display: inline-flex; align-items: center; gap: var(--s-3); text-decoration: none; color: inherit; }
.header__contact svg { width: 1.35rem; height: 1.35rem; color: var(--oak-bright); }
.header__contact--center { justify-self: center; }
.header__social { display: inline-flex; gap: var(--s-4); }
.header__social a { display: grid; place-items: center; color: inherit; }
.header__social svg { width: 1.5rem; height: 1.5rem; }
.header__social a:hover, .header__contact:hover { color: var(--oak-bright); }
.is-solid .header__top { height: 0; opacity: 0; }

/* Row 2: logo left, menu centered, button right */
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; padding-block: var(--s-2); }
.brand__logo { height: 3.25rem; width: auto; transition: height 0.3s var(--ease); }
.brand__logo--dark { display: none; }
.is-solid .brand__logo--light { display: none; }
.is-solid .brand__logo--dark { display: block; }
.nav__right { display: flex; align-items: center; gap: var(--s-3); flex: none; }
.nav__links, .nav__cta { display: none; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border: 0; background: transparent; cursor: pointer; border-radius: var(--radius); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 1.5rem; height: 2px; background: currentColor; position: relative; transition: transform 0.25s var(--ease), opacity 0.2s; }
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 64em) {
  :root { --nav-h: 9.5rem; }
  .site-header { display: flex; flex-direction: column; }
  .header__top { display: grid; grid-template-columns: 1fr auto 1fr; }
  .header__social { justify-self: end; }
  .nav { height: auto; flex: 1; }
  .brand__logo { height: 5.25rem; }
  .is-solid .brand__logo { height: 3.25rem; }
  .nav-toggle { display: none; }
  .nav__links { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.5rem); }
  .nav__links a { display: inline-flex; align-items: center; gap: 0.35rem; text-decoration: none; font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; padding: var(--s-2) 0; position: relative; white-space: nowrap; }
  .nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--oak); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease); }
  .nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
  .nav__links .caret { width: 1.1rem; height: 1.1rem; }
  .nav__item { position: relative; }
  .nav__sub {
    position: absolute; left: 50%; top: 100%; transform: translate(-50%, 6px); min-width: 17rem; padding: var(--s-2) 0;
    background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s 0.2s;
  }
  .nav__item:hover .nav__sub, .nav__item:focus-within .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
  .nav__sub a { display: block; padding: 0.6rem var(--s-5); font-size: 1rem; font-weight: 500; }
  .nav__sub a::after { display: none; }
  .nav__sub a:hover { background: var(--sand); color: var(--walnut); }
  .nav__cta { display: inline-flex; min-height: 3rem; padding-inline: 1.5rem; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.04em; }
}

.nav-drawer {
  position: fixed; inset: 0; z-index: 49; background: var(--walnut-bg); color: #fff;
  padding: calc(var(--nav-h) + var(--s-6)) var(--gutter) var(--s-8);
  display: flex; flex-direction: column; gap: var(--s-2);
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s 0.25s; overflow-y: auto;
}
.nav-drawer.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
.nav-drawer a { color: #fff; text-decoration: none; font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; padding: var(--s-3) 0; border-bottom: 1px solid var(--line-dark); }
.nav-drawer .nav-drawer__sub { font-size: 1rem; font-weight: 500; text-transform: none; letter-spacing: 0; color: rgba(255, 255, 255, 0.75); padding-left: var(--s-4); }
.nav-drawer .btn { margin-top: var(--s-5); border-bottom: 0; font-size: var(--fs-1); text-transform: none; letter-spacing: 0; }
.nav-drawer .nav-drawer__phone { font-size: var(--fs-2); font-weight: 600; text-transform: none; border: 0; color: rgba(255, 255, 255, 0.8); }
body.nav-open { overflow: hidden; }
body.nav-open .site-header { background: var(--walnut-deep); color: #fff; }
body.nav-open .site-header::before { opacity: 0; }
body.nav-open .brand__logo--dark { display: none; }
body.nav-open .brand__logo--light { display: block; }

@media (min-width: 64em) { .nav-drawer { display: none; } }

/* --------------------------------------------------------------------------
   Hero (home): photo, headline left, estimate form right; marquee strip across the fold
   -------------------------------------------------------------------------- */
.hero { position: relative; isolation: isolate; z-index: 2; color: #fff; background: var(--walnut-deep); padding-top: var(--nav-h); }
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(42, 24, 16, 0.92) 0%, rgba(42, 24, 16, 0.75) 45%, rgba(42, 24, 16, 0.35) 100%);
}
@media (max-width: 63.99em) { .hero::after { background: linear-gradient(180deg, rgba(42, 24, 16, 0.85) 0%, rgba(42, 24, 16, 0.92) 100%); } }
.hero__grid { display: grid; gap: var(--s-7); padding: var(--section) 0 calc(var(--section) + 1.75rem); }
@media (min-width: 64em) { .hero__grid { grid-template-columns: 1.2fr 1fr; align-items: center; } }
.hero h1 { color: #fff; margin-bottom: var(--s-5); text-shadow: 0 2px 4px rgba(42, 24, 16, 0.45); }
.hero h1 em { color: var(--oak-bright); }
.hero .lead { color: rgba(255, 255, 255, 0.86); max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-4); margin-top: var(--s-6); }
.hero__note { margin-top: var(--s-5); font-size: var(--fs-0); color: rgba(255, 255, 255, 0.7); }
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { opacity: 0; transform: translateY(20px); animation: hero-rise 0.8s var(--ease) forwards; }
  .hero__copy > :nth-child(2) { animation-delay: 0.1s; } .hero__copy > :nth-child(3) { animation-delay: 0.2s; } .hero__copy > :nth-child(4) { animation-delay: 0.3s; } .hero__copy > :nth-child(5) { animation-delay: 0.4s; }
  @keyframes hero-rise { to { opacity: 1; transform: none; } }
}

/* Marquee strip: white band straddling the bottom edge of the hero */
.hero__strip { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; color: var(--walnut-deep); transform: translateY(50%); }
.hero__strip-list { --strip-h: 3.5rem; height: var(--strip-h); display: flex; align-items: center; overflow: hidden; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 10px 30px -18px rgba(42, 24, 16, 0.5); }
.marquee__track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.hero__strip-list:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; flex: none; }
.marquee__group li { display: flex; align-items: center; gap: var(--s-3); white-space: nowrap; padding-inline: clamp(1.25rem, 2.5vw, 2.5rem); font-size: var(--fs-1); font-weight: 600; }
.marquee__group li svg { width: 1.25rem; height: 1.25rem; flex: none; color: var(--oak); }
@keyframes marquee { to { transform: translateX(calc(-100% / 3)); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }
.hero + .section { padding-top: calc(var(--section) + 1.75rem); }
@media (min-width: 64em) { .hero__strip-list { --strip-h: 4.25rem; } .marquee__group li { font-size: var(--fs-2); } .hero__grid { padding-bottom: calc(var(--section) + 2.125rem); } .hero + .section { padding-top: calc(var(--section) + 2.125rem); } }

/* Estimate form card */
.form-card { background: var(--paper); border-radius: 12px; color: var(--ink); padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: 0 30px 60px -30px rgba(42, 24, 16, 0.5), 0 0 0 1px rgba(42, 24, 16, 0.06); overflow: hidden; }
.form-card::before { content: ""; display: block; height: 10px; margin: calc(-1 * clamp(1.5rem, 3vw, 2.25rem)) calc(-1 * clamp(1.5rem, 3vw, 2.25rem)) clamp(1.25rem, 2.5vw, 1.75rem); height: 14px; background-color: #A66A3A; background-image: var(--grain-chip); background-size: 900px 300px; background-blend-mode: multiply; }
.form-card__title { font-family: var(--font-display); font-size: var(--fs-3); font-weight: 700; color: var(--walnut-deep); margin-bottom: var(--s-1); }
.form-card__lead { color: var(--stone); font-size: var(--fs-0); margin-bottom: var(--s-5); }
.form { display: grid; gap: var(--s-4); }
.field { display: grid; gap: var(--s-2); }
.field label { font-weight: 600; font-size: var(--fs-0); }
.field input, .field textarea, .field select { width: 100%; min-height: 3.1rem; padding: 0.7rem 1rem; border: 1px solid #CFC7BC; border-radius: var(--radius); background: #fff; font: inherit; font-size: var(--fs-1); color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { min-height: 6.5rem; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--oak); box-shadow: 0 0 0 3px rgba(196, 133, 61, 0.25); }
.field .error { display: none; font-size: var(--fs-0); color: #a12a1f; }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: #a12a1f; }
.field.is-invalid .error { display: block; }
.field--select { position: relative; }
.field--select select { appearance: none; -webkit-appearance: none; padding-right: 2.75rem; cursor: pointer; }
.field--select::after { content: ""; position: absolute; right: 1rem; bottom: 1.25rem; width: 0.6rem; height: 0.6rem; pointer-events: none; border-right: 2px solid var(--walnut); border-bottom: 2px solid var(--walnut); transform: rotate(45deg); }
.field--select.is-invalid::after { bottom: 3rem; }
.form__row { display: grid; gap: var(--s-4); }
@media (min-width: 40em) { .form__row { grid-template-columns: 1fr 1fr; } }
.form .btn { width: 100%; margin-top: var(--s-2); }
.form__fine { font-size: 0.8rem; color: var(--stone); text-align: center; }
.form__fine a { color: var(--walnut); }
.hp { position: absolute; left: -9999px; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding-block: var(--section); position: relative; scroll-margin-top: 5rem; }
.section--sand { background: var(--sand); }
/* Faint wood grain over sand sections */
.section--grain::before { content: ""; position: absolute; inset: 0; background: var(--grain); background-size: 3000px 1200px; opacity: 0.45; pointer-events: none; mix-blend-mode: multiply; }
.section--grain > * { position: relative; }
.section--walnut { background: var(--walnut-bg); color: #fff; }
.section--walnut::before { content: ""; position: absolute; inset: 0; background: var(--grain); background-size: 3000px 1200px; opacity: 0.5; pointer-events: none; mix-blend-mode: screen; }
.section--walnut > * { position: relative; }

/* Split: photo one side, copy the other; stays left-aligned */
.split { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 56em) { .split { grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 4.5rem); } .split--rev > :first-child { order: 2; } }
.split__img { border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.split__img--land { aspect-ratio: 4 / 3; }
.split .section__cta { justify-content: flex-start; margin-top: var(--s-6); }
.split h2 + p, .about__text h2 + p, .split h2 + .lead { margin-top: var(--s-4); }
.check-list { list-style: none; margin: var(--s-5) 0 0; padding: 0; display: grid; gap: var(--s-3); }
.check-list li { display: flex; gap: var(--s-3); align-items: flex-start; color: var(--ink-3); }
.check-list .seal { width: 1.6rem; height: 1.6rem; margin-top: 0.1rem; }
.check-list .seal svg { width: 0.85rem; height: 0.85rem; }


/* --------------------------------------------------------------------------
   Services grid: 2 rows of 3, cards with a light italic number disc
   -------------------------------------------------------------------------- */
.services-grid { display: grid; gap: var(--s-5); }
@media (min-width: 40em) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .services-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); } }
.svc-card {
  position: relative; display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.svc-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--oak); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.svc-card:hover::after { transform: scaleX(1); }
.svc-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.svc-card:hover .svc-card__media img { transform: scale(1.05); }
.svc-card__num {
  position: absolute; left: var(--s-5); top: -1.8rem; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center; width: 3.6rem; height: 3.6rem; border-radius: 50%;
  background: var(--walnut-soft); color: var(--walnut); border: 3px solid #fff; box-shadow: 0 8px 18px -8px rgba(42, 24, 16, 0.5);
  font-family: var(--font-display); font-size: 1.35rem; font-style: italic; font-weight: 300;
}
.svc-card__content { position: relative; display: flex; flex-direction: column; gap: var(--s-3); padding: 2.4rem var(--s-5) var(--s-5); flex: 1; }
.svc-card h3 { font-size: 1.25rem; }
.svc-card p { font-size: var(--fs-0); line-height: 1.6; }
.svc-card .link-rule { margin-top: auto; align-self: flex-start; padding-top: var(--s-2); }

/* --------------------------------------------------------------------------
   Why choose us: tinted icon discs, 5 across
   -------------------------------------------------------------------------- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-6) var(--s-4); }
@media (min-width: 64em) { .why-grid { grid-template-columns: repeat(5, 1fr); gap: var(--s-5); } }
.why-item { text-align: center; }
.why-item__icon { display: inline-grid; place-items: center; width: 6rem; height: 6rem; border-radius: 50%; background: var(--walnut-soft); color: var(--walnut); margin-bottom: var(--s-4); transition: transform 0.3s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease); }
.why-item__icon svg { width: 2.4rem; height: 2.4rem; }
.why-item:hover .why-item__icon { transform: translateY(-4px); background: var(--walnut); color: #fff; }
.why-item h3 { font-size: 1.1rem; margin-bottom: var(--s-2); }
.why-item p { font-size: var(--fs-0); color: var(--stone); max-width: 24ch; margin-inline: auto; }

/* --------------------------------------------------------------------------
   Before / After slider
   -------------------------------------------------------------------------- */
.ba-wrap { display: grid; gap: var(--s-6); }
@media (min-width: 56em) { .ba-wrap { grid-template-columns: 1fr 1fr; gap: var(--s-6); } }
.ba { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 10px; background: var(--sand); user-select: none; --pos: 50%; box-shadow: var(--shadow); }
@media (min-width: 56em) { .ba { aspect-ratio: 4 / 4.4; } }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__after { clip-path: inset(0 0 0 var(--pos)); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #fff; transform: translateX(-50%); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2); pointer-events: none; }
.ba__handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%); border-radius: 50%;
  background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.35);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B2314' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M9 6l-5 6 5 6M15 6l5 6-5 6'/></svg>");
  background-size: 22px; background-repeat: no-repeat; background-position: center;
}
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba__label { position: absolute; bottom: 14px; padding: 6px 12px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(42, 24, 16, 0.85); color: #fff; border-radius: 999px; pointer-events: none; }
.ba__label--before { left: 14px; }
.ba__label--after { right: 14px; }
.ba-caption { margin-top: var(--s-3); color: var(--stone); font-size: var(--fs-0); text-align: center; }
.ba-caption strong { color: var(--ink); }

/* Stain samples pair */
.stain-pair { display: grid; gap: var(--s-3); grid-template-columns: 1fr 1fr; }
.stain-pair img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; aspect-ratio: 3 / 4; box-shadow: var(--shadow); }
.stain-pair img:last-child { transform: translateY(var(--s-6)); }

/* --------------------------------------------------------------------------
   Process timeline: a line that draws itself, pulsing nodes, icon per step
   -------------------------------------------------------------------------- */
.timeline { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-6); counter-reset: step; }
.timeline::before { content: ""; position: absolute; left: 1.9rem; top: 1.9rem; bottom: 1.9rem; width: 2px; background: rgba(255, 255, 255, 0.14); }
.timeline::after { content: ""; position: absolute; left: 1.9rem; top: 1.9rem; width: 2px; height: 0; background: linear-gradient(90deg, var(--oak), var(--oak-bright)); box-shadow: 0 0 12px rgba(224, 164, 92, 0.6); transition: height 1.6s var(--ease); }
.timeline.is-in::after { height: calc(100% - 3.8rem); }
.tl-step { position: relative; display: grid; grid-template-columns: 3.8rem 1fr; gap: var(--s-4); align-items: start; counter-increment: step; }
.tl-step__node { position: relative; display: grid; place-items: center; width: 3.8rem; height: 3.8rem; border-radius: 50%; background: var(--walnut-deep); border: 2px solid rgba(255, 255, 255, 0.18); color: var(--oak-bright); z-index: 1; transition: border-color 0.4s var(--ease), color 0.4s var(--ease); }
.tl-step__node svg { width: 1.6rem; height: 1.6rem; }
.tl-step__node::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--oak-bright); opacity: 0; }
.timeline.is-in .tl-step__node { border-color: var(--oak); color: #fff; }
.timeline.is-in .tl-step__node::after { animation: node-pulse 2.6s ease-out infinite; animation-delay: calc(var(--i, 0) * 0.35s + 0.6s); }
@keyframes node-pulse { 0% { transform: scale(0.7); opacity: 0.9; } 100% { transform: scale(1.5); opacity: 0; } }
.tl-step__body { padding-top: 0.35rem; }
.tl-step__body h3 { color: #fff; font-size: 1.15rem; margin-bottom: var(--s-2); }
.tl-step__body h3::before { content: counter(step, decimal-leading-zero) " "; color: var(--oak-bright); font-weight: 300; font-style: italic; margin-right: 0.2rem; }
.tl-step__body p { font-size: var(--fs-0); color: rgba(255, 255, 255, 0.75); max-width: 40ch; }
@media (min-width: 64em) {
  .timeline { grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
  .timeline::before, .timeline::after { left: calc(12.5% + 0.2rem); right: calc(12.5% + 0.2rem); top: 1.9rem; bottom: auto; width: auto; height: 2px; }
  .timeline::after { right: auto; width: 0; height: 2px; transition: width 1.6s var(--ease); }
  .timeline.is-in::after { width: 75%; height: 2px; }
  .tl-step { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .tl-step__body p { margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) { .timeline::after { transition: none; } .timeline.is-in .tl-step__node::after { animation: none; } }

/* --------------------------------------------------------------------------
   Reviews
   -------------------------------------------------------------------------- */
.reviews { display: grid; gap: var(--s-5); }
@media (min-width: 44em) { .reviews { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64em) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { position: relative; padding: var(--s-6) var(--s-5) var(--s-5); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; box-shadow: 0 20px 40px -30px rgba(42, 24, 16, 0.35); }
.review::before { content: "\201C"; position: absolute; top: 0.4rem; right: var(--s-5); font-family: var(--font-display); font-size: 5rem; line-height: 1; color: var(--walnut-soft); font-weight: 800; }
.review__stars { color: #F5B301; letter-spacing: 2px; font-size: 1rem; margin-bottom: var(--s-3); }
.review blockquote { margin: 0 0 var(--s-5); font-size: var(--fs-1); line-height: 1.6; color: var(--ink-3); flex: 1; }
.review figcaption { display: flex; align-items: center; gap: var(--s-3); font-size: var(--fs-0); color: var(--stone); }
.review__avatar { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--walnut); color: #fff; font-family: var(--font-display); font-weight: 700; flex: none; }
.review figcaption strong { display: block; color: var(--ink); }

/* --------------------------------------------------------------------------
   Portfolio wall: two rows drifting in opposite directions, lightbox on click
   -------------------------------------------------------------------------- */
.wall {
  --row-h: clamp(11rem, 22vw, 19rem); --wall-gap: var(--s-4); --wall-speed: 150s;
  display: grid; gap: var(--wall-gap); width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.wall__row { display: flex; gap: var(--wall-gap); width: max-content; }
.wall__track { display: flex; gap: var(--wall-gap); flex: none; }
.wall__row--left .wall__track { animation: wall-left var(--wall-speed) linear infinite; }
.wall__row--right .wall__track { animation: wall-right var(--wall-speed) linear infinite; }
@keyframes wall-left { to { transform: translateX(calc(-100% - var(--wall-gap))); } }
@keyframes wall-right { from { transform: translateX(calc(-100% - var(--wall-gap))); } to { transform: none; } }
.wall:hover .wall__track, .wall.is-paused .wall__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .wall__track { animation: none; } .wall__row { overflow-x: auto; } }
.wall__item { margin: 0; flex: none; height: var(--row-h); width: calc(var(--row-h) * var(--ar, 0.75)); border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.wall__item a { position: relative; display: block; height: 100%; cursor: zoom-in; }
.wall__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease); }
/* Hover: the photo brightens slightly and lifts; nothing else */
.wall__item img { filter: brightness(0.96); }
.wall__item:hover img, .wall__item a:focus-visible img { transform: scale(1.03); filter: brightness(1.04); }
.section--gallery .section-head { max-width: 60rem; }
@media (max-width: 47.99em) { .wall { --wall-gap: var(--s-3); --wall-speed: 100s; } }

.lb { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: var(--s-5); background: rgba(42, 24, 16, 0.85); backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.25s var(--ease); }
.lb[hidden] { display: none; }
.lb.is-open { opacity: 1; }
.lb__figure { margin: 0; max-width: min(92vw, 70rem); max-height: 88vh; }
.lb__img { display: block; max-width: 100%; max-height: 88vh; width: auto; height: auto; object-fit: contain; border-radius: var(--radius); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7); background: var(--paper); transform: scale(0.6); opacity: 0; }
.lb.is-open .lb__img { animation: lb-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
@keyframes lb-pop { 0% { transform: scale(0.6); opacity: 0; } 60% { transform: scale(1.04, 0.97); opacity: 1; } 80% { transform: scale(0.985, 1.02); } 100% { transform: none; opacity: 1; } }
.lb__close { position: absolute; top: var(--s-4); right: var(--s-4); width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--walnut); border: 0; cursor: pointer; }
.lb__close svg { width: 1.25rem; height: 1.25rem; }
.lb__close:hover { background: var(--oak); color: #fff; }
@media (prefers-reduced-motion: reduce) { .lb.is-open .lb__img { animation: none; transform: none; opacity: 1; } }

/* --------------------------------------------------------------------------
   Service areas
   -------------------------------------------------------------------------- */
.areas { columns: 2; column-gap: var(--s-6); list-style: none; margin: 0; padding: 0; }
@media (min-width: 40em) { .areas { columns: 3; } }
@media (min-width: 56em) { .areas { columns: 4; } }
.areas li { padding: 6px 0; break-inside: avoid; font-weight: 500; color: var(--ink-3); }
.areas li::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--oak); border-radius: 50%; margin-right: 10px; vertical-align: 2px; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq__list { border-top: 1px solid var(--line); width: min(100%, 52rem); margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-5) 0; background: none; border: 0; text-align: left; cursor: pointer; font-family: var(--font-display); font-size: var(--fs-2); font-weight: 600; line-height: 1.3; min-height: 3.5rem; color: var(--walnut-deep); }
.faq__q .seal { transition: transform 0.3s var(--ease); }
.faq__q[aria-expanded="true"] .seal { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding-bottom: var(--s-5); color: var(--ink-3); max-width: 62ch; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* --------------------------------------------------------------------------
   Inner pages: page hero, prose, sidebar, contact, misc
   -------------------------------------------------------------------------- */
.page-hero { position: relative; background: var(--walnut-bg); color: #fff; padding: calc(var(--nav-h) + var(--section)) 0 var(--section); text-align: center; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--grain); background-size: 3000px 1200px; opacity: 0.5; mix-blend-mode: screen; pointer-events: none; }
.page-hero > * { position: relative; }
.page-hero h1 { color: #fff; margin: 0 auto var(--s-4); max-width: 22ch; }
.page-hero h1 em { color: var(--oak-bright); }
.page-hero p { color: rgba(255, 255, 255, 0.82); font-size: var(--fs-2); max-width: 60ch; margin-inline: auto; }
.page-hero .hero__actions { justify-content: center; margin-top: var(--s-5); }
.breadcrumb { font-size: 0.8rem; margin-bottom: var(--s-4); color: rgba(255, 255, 255, 0.6); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: 0.5; }
.breadcrumb a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.breadcrumb a:hover { color: var(--oak-bright); }

.prose { max-width: 46rem; }
.prose p { margin-bottom: 1em; }
.prose h2 { margin-top: 1.6em; margin-bottom: 0.5em; font-size: clamp(1.4rem, 1rem + 1.4vw, 1.9rem); }
.prose h3 { margin-top: 1.4em; margin-bottom: 0.4em; font-size: 1.15rem; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 1em; color: var(--ink-3); }
.prose li { margin-bottom: 0.4em; }
.prose a { color: var(--walnut); font-weight: 600; text-underline-offset: 3px; }
.prose a:hover { color: var(--oak); }
.prose figure { margin: var(--s-6) 0; }
.prose figure img { border-radius: 10px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; box-shadow: var(--shadow); }
.prose figcaption { font-size: var(--fs-0); color: var(--stone); margin-top: var(--s-2); }
.prose .hero__actions { margin-top: var(--s-6); }

.service-layout { display: grid; gap: var(--s-7); }
@media (min-width: 64em) { .service-layout { grid-template-columns: minmax(0, 1fr) 22rem; align-items: start; } }
.sidebar { position: sticky; top: 6rem; display: grid; gap: var(--s-5); }
.side-box { padding: var(--s-5); border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 20px 40px -30px rgba(42, 24, 16, 0.35); }
.side-box h3 { font-size: 1.05rem; margin-bottom: var(--s-3); padding-left: var(--s-3); border-left: 3px solid var(--oak); line-height: 1.2; }
.side-box p { font-size: var(--fs-0); color: var(--stone); }
.side-box ul { list-style: none; margin: 0; padding: 0; }
.side-box li { border-top: 1px solid var(--line); }
.side-box li a { display: block; padding: 10px 0; text-decoration: none; font-weight: 600; font-size: var(--fs-0); }
.side-box li a:hover, .side-box li a[aria-current="page"] { color: var(--oak); }
.side-box .call { display: flex; flex-direction: column; gap: var(--s-3); margin-top: var(--s-4); }
.side-box .call a.phone { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; text-decoration: none; color: var(--walnut-deep); }

.contact-grid { display: grid; gap: var(--s-7); }
@media (min-width: 60em) { .contact-grid { grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; } }
.info-card { background: var(--paper); border-radius: 12px; padding: clamp(1.5rem, 4vw, 2.25rem); box-shadow: 0 30px 60px -30px rgba(42, 24, 16, 0.35), 0 0 0 1px rgba(42, 24, 16, 0.06); align-self: start; }
.info-card__title { font-family: var(--font-display); font-size: var(--fs-2); font-weight: 700; color: var(--walnut-deep); padding-left: var(--s-3); border-left: 3px solid var(--oak); margin: 0 0 var(--s-4); line-height: 1.2; }
.info-card__title + .info-card__title, .info-list + .info-card__title { margin-top: var(--s-6); }
.info-list { display: grid; gap: var(--s-3); margin: 0; font-size: var(--fs-1); }
.info-list li { display: flex; gap: var(--s-3); align-items: flex-start; }
.info-list svg { width: 1.1rem; height: 1.1rem; flex: none; color: var(--oak); margin-top: 0.25rem; }
.info-list strong { color: var(--walnut-deep); }
.info-list a { text-decoration: none; }
.info-list a:hover { color: var(--oak); text-decoration: underline; }
.info-card__note { font-size: var(--fs-0); color: var(--stone); margin: 0 0 var(--s-4); }
.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--sand); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; }

.gallery { display: grid; gap: var(--s-3); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 40em) { .gallery { grid-template-columns: repeat(3, 1fr); gap: var(--s-4); } }
.gallery a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; box-shadow: var(--shadow); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery a:hover img { transform: scale(1.04); }

.center-page { text-align: center; padding: calc(var(--nav-h) + var(--section)) 0 var(--section); }
.center-page p { margin-inline: auto; }
.center-page .hero__actions { justify-content: center; margin-top: var(--s-6); }

/* --------------------------------------------------------------------------
   Footer: contact bar straddling the top edge, deep walnut with a warm glow
   -------------------------------------------------------------------------- */
.site-footer { position: relative; color: rgba(255, 255, 255, 0.78); padding-block: var(--section); background: radial-gradient(75% 55% at 50% 0%, rgba(196, 133, 61, 0.35) 0%, rgba(196, 133, 61, 0.12) 40%, transparent 75%), linear-gradient(180deg, var(--walnut) 0%, var(--walnut-deep) 60%); }
.site-footer::before { content: ""; position: absolute; inset: 0; background: var(--grain); background-size: 3000px 1200px; opacity: 0.5; mix-blend-mode: screen; pointer-events: none; }
.site-footer > * { position: relative; z-index: 1; }

.footer { display: grid; gap: var(--s-7); }
@media (min-width: 48em) { .footer { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64em) { .footer { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer__brand img { width: 11rem; }
.footer__tagline { margin-top: var(--s-5); font-family: var(--font-display); font-size: var(--fs-3); font-weight: 700; color: #fff; line-height: 1.2; }
.footer__tagline em { display: block; font-style: italic; font-weight: 300; color: var(--oak-bright); }
.footer__brand p:not(.footer__tagline) { margin-top: var(--s-3); max-width: 34ch; font-size: var(--fs-0); line-height: 1.6; color: rgba(255, 255, 255, 0.7); }
.footer h4 { color: var(--oak-bright); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: var(--s-4); padding-bottom: var(--s-3); position: relative; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 2rem; height: 2px; background: var(--oak); }
.footer ul { display: grid; gap: var(--s-1); }
.footer a { text-decoration: none; color: rgba(255, 255, 255, 0.78); min-height: 2.25rem; display: inline-flex; align-items: center; transition: color 0.2s var(--ease), transform 0.2s var(--ease); font-size: var(--fs-0); }
.footer ul a:hover { color: #fff; transform: translateX(4px); }
.footer__nap { display: grid; gap: var(--s-3); font-size: var(--fs-0); }
.footer__nap strong { color: #fff; }
.footer__row { display: flex; align-items: flex-start; gap: var(--s-3); line-height: 1.5; }
.footer__row svg { width: 1rem; height: 1rem; flex: none; margin-top: 0.2rem; color: var(--oak-bright); }
.footer__row a { min-height: 0; font-size: inherit; }
.footer__meta { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.55); line-height: 1.5; padding-top: var(--s-2); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.footer__social { display: flex; gap: var(--s-3); margin-top: var(--s-5); }
.footer__social a { width: 2.75rem; height: 2.75rem; min-height: 0; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 50%; display: grid; place-items: center; transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease); }
.footer__social a:hover { background: var(--oak); border-color: var(--oak); color: #fff; }
.footer__social svg { width: 1.1rem; height: 1.1rem; }
.footer__bottom { margin-top: var(--s-7); border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: var(--s-5); margin-bottom: 0; }
.footer__bottom-in { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); justify-content: space-between; font-size: 0.8rem; color: rgba(255, 255, 255, 0.55); }
.footer__bottom a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.footer__bottom a:hover { color: #fff; }

/* Sticky mobile call bar */
.mobile-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; font-family: var(--font-display); font-weight: 600; text-decoration: none; }
.mobile-bar a:first-child { background: #fff; color: var(--walnut-deep); }
.mobile-bar a:last-child { background: var(--green-gloss); color: #fff; }
.mobile-bar svg { width: 20px; height: 20px; }
@media (min-width: 64em) { .mobile-bar { display: none; } }
@media (max-width: 63.99em) { body { padding-bottom: 58px; } }

/* Reveal: one soft entrance per section */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .reveal.is-in { opacity: 1; transform: none; }
  [data-stagger] > * { transition-delay: calc(var(--i, 0) * 70ms); }
}

/* ==========================================================================
   v2.1 — Costa-specific components (no green outside buttons)
   ========================================================================== */

/* Hero headline: three deliberate lines on desktop */
.hero h1 { font-size: clamp(2rem, 1.1rem + 2.6vw, 3.15rem); max-width: none; text-wrap: balance; }
.hero h1 .l { display: inline; }
.hero h1 em.l { display: block; }
@media (min-width: 64em) {
  .hero__grid { grid-template-columns: 1.3fr 1fr; gap: var(--s-8); }
  .hero h1 .l { display: block; white-space: nowrap; }
}

/* About (home): contained split, photo capped at 4:3 */
.about-home .split__img { aspect-ratio: 4 / 3; }
.about-home .split__img img { object-position: 50% 60%; }

/* Stain lab: pick a colour, the floor changes */
.stain-lab { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 56em) { .stain-lab { grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); } }
.stain-floor {
  --stain: #C89050;
  position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow);
  background-color: var(--stain); transition: background-color 0.5s var(--ease);
}
/* boards seen from above (staggered joints), wood grain on top, and a window reflection like the real photos */
.stain-floor::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1500' height='600'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.004 0.12' numOctaves='4' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.15 0 0 0 0 0.08 0 0 0 0 0.03 0.9 0 0 0 -0.25'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='116'%3E%3Cg stroke='rgba(20,10,5,0.45)' stroke-width='2'%3E%3Cline x1='0' y1='1' x2='520' y2='1'/%3E%3Cline x1='0' y1='59' x2='520' y2='59'/%3E%3Cline x1='260' y1='0' x2='260' y2='58'/%3E%3Cline x1='130' y1='58' x2='130' y2='116'/%3E%3Cline x1='390' y1='58' x2='390' y2='116'/%3E%3C/g%3E%3Cg stroke='rgba(255,255,255,0.14)' stroke-width='1'%3E%3Cline x1='0' y1='3' x2='520' y2='3'/%3E%3Cline x1='0' y1='61' x2='520' y2='61'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 1500px 600px, 520px 116px; mix-blend-mode: multiply; opacity: 0.85;
}
.stain-floor::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(55% 40% at 60% 35%, rgba(255,255,255,0.42), rgba(255,255,255,0) 70%),
    linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.22));
  mix-blend-mode: soft-light;
}
.stain-floor__photo {
  position: absolute; right: var(--s-4); bottom: var(--s-4); width: 26%; border-radius: 8px; overflow: hidden;
  box-shadow: 0 14px 30px -12px rgba(0,0,0,0.6); border: 3px solid #fff;
}
.stain-floor__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.stain-floor__photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 4px 8px; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: rgba(42,24,16,0.75); }
.stain-floor__name { position: absolute; left: var(--s-4); bottom: var(--s-4); padding: 0.5rem 0.9rem; border-radius: 999px; background: rgba(255,255,255,0.92); color: var(--walnut-deep); font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; box-shadow: 0 8px 20px -10px rgba(0,0,0,0.5); }
.stain-lab > * { min-width: 0; }
/* Wood chip: a piece of board in a stain colour (grain baked in) */
.chip { position: relative; background-color: var(--c, #C89050); border-radius: 4px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), inset 0 -2px 0 rgba(0,0,0,0.25), 0 8px 16px -10px rgba(0,0,0,0.6); }
.chip::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--grain-chip), linear-gradient(180deg, rgba(255,255,255,0.10), rgba(0,0,0,0.12)); background-size: 900px 300px, auto; mix-blend-mode: multiply; pointer-events: none; }
.chip > * { position: relative; }
/* Painter's tape */
.tape { position: absolute; left: 50%; top: -8px; width: 58%; height: 16px; transform: translateX(-50%) rotate(-2deg); background: repeating-linear-gradient(90deg, rgba(250,247,240,0.96) 0 7px, rgba(236,230,218,0.96) 7px 14px); box-shadow: 0 2px 4px rgba(0,0,0,0.22); border-radius: 1px; }
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4) var(--s-3); margin-top: var(--s-5); }
.swatch { display: grid; gap: var(--s-2); padding: 0; background: none; border: 0; cursor: pointer; text-align: center; font-size: 0.82rem; font-weight: 600; color: var(--ink-3); min-width: 0; }
.swatch__chip { position: relative; aspect-ratio: 4 / 3; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.swatch__chip .tape { opacity: 0; transition: opacity 0.2s var(--ease); }
.swatch:hover .swatch__chip { transform: translateY(-3px); }
.swatch[aria-pressed="true"] .swatch__chip { transform: translateY(-4px) scale(1.04); box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 14px 22px -12px rgba(0,0,0,0.7), 0 0 0 2px #fff, 0 0 0 4px var(--walnut); }
.swatch[aria-pressed="true"] .swatch__chip .tape { opacity: 1; }
.swatch[aria-pressed="true"] { color: var(--walnut-deep); }
.stain-floor__name { position: absolute; left: var(--s-4); bottom: var(--s-4); padding: 0.45rem 1.1rem; background: repeating-linear-gradient(90deg, rgba(250,247,240,0.97) 0 7px, rgba(236,230,218,0.97) 7px 14px); color: var(--walnut-deep); font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; transform: rotate(-2deg); box-shadow: 0 4px 10px -4px rgba(0,0,0,0.5); }
.stain-lab__note { margin-top: var(--s-4); font-size: var(--fs-0); color: var(--stone); }

/* Why us: five taped-down stain samples, light to dark */
.pillars { display: grid; gap: var(--s-5) var(--s-4); padding-top: 10px; }
@media (min-width: 40em) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .pillars { grid-template-columns: repeat(5, 1fr); } }
.pillar { position: relative; padding: var(--s-6) var(--s-4) var(--s-5); color: #fff; border-radius: 4px; transition: transform 0.3s var(--ease); }
.pillar:nth-child(odd) { transform: rotate(-0.6deg); }
.pillar:nth-child(even) { transform: rotate(0.5deg); }
.pillar:hover { transform: rotate(0) translateY(-4px); }
.pillar--light { color: var(--walnut-deep); }
.pillar__icon { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 10px; background: rgba(255,255,255,0.16); color: inherit; margin-bottom: var(--s-4); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25); }
.pillar--light .pillar__icon { background: rgba(42,24,16,0.10); box-shadow: inset 0 0 0 1px rgba(42,24,16,0.15); }
.pillar__icon svg { width: 1.5rem; height: 1.5rem; }
.pillar h3 { font-size: 1.05rem; margin-bottom: var(--s-2); color: inherit; text-shadow: 0 1px 2px rgba(0,0,0,0.25); }
.pillar--light h3 { text-shadow: none; }
.pillar p { font-size: var(--fs-0); color: inherit; opacity: 0.88; }

/* Service-area map (Leaflet + OSM, loaded on demand), oak pins */
.area-map { position: relative; height: 26rem; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--sand); box-shadow: var(--shadow); z-index: 0; }
.area-map .leaflet-tile-pane { filter: saturate(0.45) contrast(0.95) sepia(0.15); }
.map-pin { position: relative; width: 28px; height: 28px; }
.map-pin__dot { position: absolute; left: 50%; top: 50%; width: 13px; height: 13px; border-radius: 50%; transform: translate(-50%, -50%); background: var(--oak); box-shadow: 0 0 0 3px #fff, 0 6px 14px -4px rgba(59,35,20,0.7); }
.map-pin__ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--oak); opacity: 0; animation: pin-pulse 2.6s ease-out infinite; }
.map-pin--home .map-pin__dot { width: 18px; height: 18px; background: var(--walnut); box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--oak); }
@keyframes pin-pulse { 0% { transform: scale(0.5); opacity: 0.8; } 100% { transform: scale(1.6); opacity: 0; } }
.map-label { background: #fff; color: var(--walnut-deep); font-family: var(--font); font-weight: 700; font-size: 0.72rem; padding: 0.2rem 0.5rem; border-radius: 4px; border: 1px solid var(--line); box-shadow: 0 6px 14px -8px rgba(42,24,16,0.5); white-space: nowrap; }
.leaflet-tooltip.map-label::before { display: none; }
.leaflet-container { font-family: var(--font); }
.leaflet-control-attribution { font-size: 10px; opacity: 0.7; }
@media (prefers-reduced-motion: reduce) { .map-pin__ring { animation: none; } }

/* Footer: logo watermark instead of the contact cards */
.site-footer { overflow: hidden; }
.footer__watermark { position: absolute; right: -6rem; bottom: -4rem; width: 38rem; opacity: 0.05; pointer-events: none; z-index: 0; }
.footer__hours { margin-top: var(--s-5); padding: var(--s-4) var(--s-5); border-radius: 10px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); font-size: var(--fs-0); }
.footer__hours strong { display: block; color: #fff; font-family: var(--font-display); margin-bottom: 2px; }

/* Laptop/tablet-landscape: tighter header row so the button never overflows */
@media (min-width: 64em) and (max-width: 82em) {
  .brand__logo { height: 4.25rem; }
  .nav__links { gap: clamp(0.75rem, 1.6vw, 1.5rem); }
  .nav__links a { font-size: 1.02rem; }
  .nav__cta { padding-inline: 1.1rem; font-size: 0.82rem; min-height: 2.75rem; }
  .header__top { font-size: 0.95rem; }
}

.pillar.chip::before { opacity: 0.55; }
.pillar--light h3, .pillar--light p { text-shadow: 0 1px 0 rgba(255,255,255,0.35); }



/* ==========================================================================
   v2.2 — leaner hero, mobile pass, readable why-us
   ========================================================================== */

/* Why us: wood on top, a paper label with the words */
.pillar { padding: var(--s-6) var(--s-3) var(--s-3); }
.pillar__icon { margin-left: var(--s-2); color: #fff; background: rgba(0,0,0,0.22); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.28); }
.pillar--light .pillar__icon { color: var(--walnut-deep); background: rgba(255,255,255,0.45); box-shadow: inset 0 0 0 1px rgba(42,24,16,0.15); }
.pillar__body { background: rgba(255,252,247,0.96); color: var(--ink); border-radius: 4px; padding: var(--s-4); box-shadow: 0 6px 14px -10px rgba(0,0,0,0.6); }
.pillar__body h3 { color: var(--walnut-deep); text-shadow: none; font-size: 1rem; }
.pillar__body p { color: var(--ink-3); opacity: 1; }

/* Stain lab: shorter chips, tighter block */
.swatch__chip { aspect-ratio: 16 / 9; }
.swatches { margin-top: 0; gap: var(--s-4) var(--s-3); }
.stain-lab { align-items: center; }
@media (min-width: 56em) { .stain-lab { grid-template-columns: 1fr 1fr; } }

/* Hero: lighter */
.hero .lead { font-size: 1.05rem; }
.hero__grid { padding-top: var(--section); }

/* ---------- Mobile pass (< 64em) ---------- */
@media (max-width: 63.99em) {
  /* Hero: the photo is a real block at the top, copy and form sit on walnut below it */
  .hero { padding-top: 0; }
  .hero__media { position: relative; inset: auto; z-index: 0; height: 64vw; min-height: 240px; max-height: 420px; }
  .hero__media img { object-position: center 60%; }
  .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42,24,16,0.55) 0%, rgba(42,24,16,0) 35%, rgba(42,24,16,0) 60%, var(--walnut-deep) 100%); }
  .hero::after { display: none; }
  .hero__grid { margin-top: -2.5rem; padding-top: 0; padding-bottom: calc(var(--section) + 1.75rem); gap: var(--s-6); }
  .hero .kicker { font-size: 0.72rem; }
  .hero h1 { font-size: clamp(1.9rem, 1.2rem + 3.6vw, 2.5rem); }
  .hero__actions .btn { width: 100%; }
  /* Every CTA full width, easy to thumb */
  .section__cta { justify-content: stretch; }
  .section__cta .btn, .prose .hero__actions .btn, .page-hero .hero__actions .btn { width: 100%; }
  /* Footer centered */
  .site-footer { text-align: center; }
  .footer__brand img { margin-inline: auto; }
  .footer__brand p { margin-inline: auto; }
  .footer__social { justify-content: center; }
  .footer h4 { padding-bottom: var(--s-3); }
  .footer h4::after { left: 50%; transform: translateX(-50%); }
  .footer ul a { justify-content: center; }
  .footer__row { justify-content: center; text-align: left; }
  .footer__bottom-in { justify-content: center; text-align: center; }
  .footer__watermark { display: none; }
}

@media (min-width: 56em) {
  .stain-lab { align-items: stretch; }
  .stain-floor { aspect-ratio: auto; height: 100%; min-height: 22rem; }
}
.stain-lab__note { margin-top: var(--s-4); }
