/* ==========================================================================
   Mr. Hibachi Fire — LIGHT THEME
   --------------------------------------------------------------------------
   An override layer, not a fork. `styles.css` remains the single source of
   truth for layout, spacing, type scale and motion; this file changes ONLY
   colour surfaces, and is loaded after it.

   WHY AN OVERRIDE AND NOT A SECOND STYLESHEET
   The dark design expresses itself through a handful of surface rules
   (.section--dark, .hero, .ctaband, .footer, .header, .pricecard) plus the
   tokens they read. Every layout decision lives elsewhere. Forking the
   stylesheet would duplicate ~800 lines of layout to change a few dozen
   colour values, and the two copies would drift the first time anyone edits a
   grid. This file is deliberately boring: colours only.

   WHAT IT IS FOR
   A presentation variant. The client sees the same site, same structure, same
   copy, same photography — in a white palette.

   RULE: every rule here must match or beat the specificity of the rule it
   overrides. Because this file loads later, equal specificity is enough.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root{
  /* Surfaces. The dark design used --cream as TEXT on dark backgrounds; here
     it becomes the page surface, so it is redefined as pure white and every
     rule that painted text with it is overridden below. */
  --bg:#FFFFFF;
  --cream:#FFFFFF;
  --cream-2:#F7F4EF;   /* tinted band — also used by #estimate inline */
  --cream-3:#EDE8E0;

  /* Formerly-dark bands become warm tinted bands. Slightly warmer/pinker than
     --cream-2 so a band never merges into the one above it. */
  --band:#FCF1EA;
  --band-2:#F7F4EF;

  --card:#FFFFFF;
  --line:rgba(21,16,13,.10);
  --line-2:rgba(21,16,13,.18);
  --line-dark:rgba(21,16,13,.12);   /* was white-alpha, for use on dark */

  /* Gold (#FFCF6B) is an accent for DARK surfaces only: on white it manages
     ~1.4:1. This is its replacement wherever the surface turns light. */
  --gold-dark:#8A5A00;

  /* Ink stays the text colour — it was always the text colour, which is why
     this theme cannot simply swap --ink. */
  --fg:var(--ink);
}

/* ---------- 2. Sections ---------- */
.section--dark,
.section--ink2{background:var(--band);color:var(--ink)}

/* Text that assumed a dark background */
.section--dark .lead,
.section--ink2 .lead{color:var(--muted)}
.section--dark .divider,
.section--ink2 .divider{background:var(--line)}
.section--dark .badge,
.section--ink2 .badge{
  background:rgba(232,65,11,.10);color:var(--ember-dark);
  border-color:rgba(232,65,11,.22);
}
.section--dark .btn--ghost,
.section--ink2 .btn--ghost{border-color:var(--line-2);color:var(--ink)}
.section--dark .btn--ghost:hover,
.section--ink2 .btn--ghost:hover{
  border-color:var(--ember-dark);color:var(--ember-dark);background:rgba(232,65,11,.05);
}
.section--dark .step::before,
.section--ink2 .step::before{-webkit-text-stroke-color:rgba(232,65,11,.42)}
.section--dark .step p,
.section--ink2 .step p{color:var(--muted)}

/* Cards that were translucent-white-on-dark become ordinary light cards */
.card--dark{background:var(--card);border-color:var(--line);box-shadow:var(--sh-1)}
.card--dark p{color:var(--muted)}
.card--dark:hover{border-color:var(--line-2)}
.card--dark .card__tags li{
  background:var(--cream-2);border-color:var(--line);color:var(--muted);
}

/* Tag pills that were white-alpha */
.card__tags li{
  background:var(--cream-2);border-color:var(--line);color:var(--muted);
}

/* ---------- 3. Header ---------- */
.header{
  background:rgba(255,255,255,.92);
  border-bottom:1px solid var(--line);
  color:var(--ink);
}
.brand__sub{color:var(--muted)}
.nav a{color:var(--ink-2)}
.nav a:hover,.nav a[aria-current="page"]{color:var(--ember-dark)}
.header__phone{color:var(--ink);border-color:var(--line-2)}
.header__phone:hover{border-color:var(--ember-dark);color:var(--ember-dark)}
.burger{border-color:var(--line-2)}
.burger span,
.burger span::before,
.burger span::after{background:var(--ink)}
@media (max-width:980px){
  .header.is-open .nav{background:var(--white);border-bottom-color:var(--line)}
  .header.is-open .nav a{border-bottom-color:var(--line)}
}

/* ---------- 4. Hero ---------- */
/* The photograph is kept — it is the strongest asset on the page — but pushed
   back behind a light wash so dark text stays legible.

   The wash is a HORIZONTAL gradient, not a flat one: text sits on the left and
   needs the strongest white, while the right side can let the photograph
   through. A flat 90% white (the first attempt) technically passed contrast but
   left the hero looking empty — the fire, the grill and the people were all
   gone, which is most of what the hero is selling. */
.hero{background:var(--bg);color:var(--ink);--hero-wash:1}
.hero__poster,.hero__media{filter:saturate(.95) brightness(1.08)}
.hero__bg::after{
  background:
    /* 1. vertical fade into the next section — topmost layer */
    linear-gradient(180deg, rgba(255,255,255,0) 70%, var(--bg) 100%),
    /* 2. THE WASH — barely there, for the same reason as the dark theme's
          scrim. The two warm radial accents that used to sit here are DELETED,
          not reduced: at .14/.10 they were tinting the footage, and nothing
          should sit between the video and the viewer that tints it. The dark
          theme measured 14 points of luminance below the reference with the
          same mistake; this one had it too.
          The light theme cannot go as far as the dark one: dark text needs a
          light backdrop and this footage has genuinely dark areas, so the left
          end keeps enough white to hold the copy column up. Down from .66 to
          .38, and gone entirely by 62% across. */
    linear-gradient(96deg,
      rgba(255,255,255,.38) 0%,
      rgba(255,255,255,.20) 34%,
      rgba(255,255,255,.04) 62%,
      rgba(255,255,255,0) 100%);
  background-size:auto, auto;
  background-blend-mode:normal, normal;
}
/* The copy sits directly on the footage here too, so it needs the light-theme
   equivalent of the dark theme's shadow: a WHITE HALO. styles.css puts a dark
   shadow on these elements, which is right for cream-on-ink and actively wrong
   for ink-on-video — a dark shadow behind dark text just muddies the letterforms
   and buys no contrast at all. So every hero text layer is re-pointed at white,
   and the two mid-grey tokens are darkened to --ink-2, which is what carries
   contrast once there is a photograph behind the words. */
.hero h1{text-shadow:0 1px 3px rgba(255,255,255,.95),0 3px 10px rgba(255,255,255,.9),0 8px 22px rgba(255,255,255,.78)}
.hero h1 em{color:var(--ember)}
.hero__sub{color:var(--ink-2);text-shadow:0 1px 3px rgba(255,255,255,.95),0 2px 9px rgba(255,255,255,.9),0 6px 18px rgba(255,255,255,.72)}
.hero__micro{color:var(--ink-2);text-shadow:0 1px 3px rgba(255,255,255,.95),0 2px 8px rgba(255,255,255,.88)}
.hero__micro strong{color:var(--ember-dark)}
.hero__eyebrow{text-shadow:0 1px 3px rgba(255,255,255,.95),0 2px 8px rgba(255,255,255,.88)}
/* ember-dark is the right eyebrow colour on a flat pale band, and it is used
   that way everywhere else. Over the video it is not: ember-dark is
   mid-luminance, so clearing 4.5:1 needs a near-white backdrop, and the footage
   is dark in places — it measured 3.67:1. Near-black clears the bar against any
   wash. The hero keeps its ember accent in the headline's <em> and the CTA. */
.hero .eyebrow--light{color:var(--ink)}
.hero .eyebrow--light::before{background:var(--ink)}
.eyebrow--light{color:var(--ember-dark)}
.eyebrow--light::before{background:var(--ember-dark)}

.trustbar{color:var(--ink-2);border-top-color:rgba(21,16,13,.18);text-shadow:0 1px 3px rgba(255,255,255,.95),0 2px 8px rgba(255,255,255,.88)}
.trustbar svg{color:var(--ember)}

/* Hero price card: frosted glass rather than a solid white slab. A fully opaque
   card reads as a box parked on top of the video, which is the opposite of what
   the hero is for — but the card still has to be legible. At .86 the fine print
   (.pricecard__foot, muted grey) fell to 3.06:1; .90 puts it back over 4.5 while
   still letting the footage show through the blur. */
.pricecard{
  background:rgba(255,255,255,.90);
  border:1px solid rgba(255,255,255,.8);
  box-shadow:var(--sh-2);
  backdrop-filter:blur(14px) saturate(1.15);-webkit-backdrop-filter:blur(14px) saturate(1.15);
}
.pricecard__label{color:var(--ember-dark)}
.pricecard__price{color:var(--ink)}
.pricecard__price small{color:var(--muted)}
.pricecard__note{color:var(--muted)}
.pricecard__list{border-top-color:var(--line)}
.pricecard__list li{color:var(--ink-2)}
.pricecard__list svg,
.section--dark .pricecard__list svg,
.hero .pricecard__list svg{color:var(--green)}
/* --muted-2 is the trap this theme already documents: a mid grey that only
   reaches ~3.2:1 on the card. It measured 3.20:1 here, under AA. --muted is the
   token the rest of the card's secondary text already uses. */
.pricecard__foot{color:var(--muted)}

/* ---------- 5. Estimator ---------- */
.estimator__aside{background:var(--cream-2);color:var(--ink)}
.estimator__total{color:var(--ink)}
.estimator__total-label{color:var(--ember-dark)}
.estimator__lines{border-top-color:var(--line)}
.estimator__lines div{color:var(--muted)}
.estimator__lines div span:last-child{color:var(--ink)}
.estimator__fineprint{color:var(--muted-2)}

/* ---------- 6. Stats band ---------- */
/* The dark version paints these with a white->gold gradient, which is
   invisible on a light band. */
.stat__num{background:linear-gradient(175deg,var(--ink) 10%,var(--ember) 85%);
  -webkit-background-clip:text;background-clip:text}
.stat__label{color:var(--muted)}

/* ---------- 7. Reviews ---------- */
/* The featured review keeps a dark card: on a page of white cards it is the
   only thing that stops the grid reading as a flat wall. */
.review--feature{background:var(--ink);color:var(--cream);border-color:var(--ink)}
.review--feature .review__quote{color:rgba(253,250,246,.92)}
.review--feature .review__meta{color:rgba(253,250,246,.6);border-top-color:rgba(255,255,255,.15)}
.review--feature .review__meta b{color:var(--gold)}

/* ---------- 8. Service area ---------- */
.mapbox{
  background:linear-gradient(160deg,#F4EFE8,#EDE6DC 55%,#F7F2EA);
  border-color:var(--line);
}
.mapbox__ring{border-color:rgba(232,65,11,.42)}
.mapbox__ring--2{border-color:rgba(245,165,36,.6)}
.mapbox__pin{color:var(--ink)}
.mapbox__pin b{color:var(--ink)}
.mapbox__pin span{color:var(--ember-dark)}
.mapbox__legend{color:var(--muted)}

/* ---------- 9. CTA band ---------- */
/* Kept dark, and deepened to ember-dark. A pure-ember (#E8410B) band gives
   white body text only ~3.5:1, which fails WCAG AA for the lead paragraph;
   #B93106 lifts it to ~6:1 while staying on-brand. */
.ctaband{background:var(--ember-dark);color:#fff}
.ctaband .lead{color:rgba(255,255,255,.92)}
.ctaband::before{
  background:
    var(--noise),
    radial-gradient(80% 120% at 50% 120%, rgba(21,16,13,.42), transparent 62%),
    radial-gradient(60% 90% at 88% 0%, rgba(255,207,107,.22), transparent 60%);
  background-size:170px 170px, auto, auto;
  background-blend-mode:overlay, normal, normal;
}
.ctaband .btn--light{background:var(--white);color:var(--ember-dark)}
.ctaband .btn--ghost{border-color:rgba(255,255,255,.5);color:#fff}
.ctaband .btn--ghost:hover{border-color:#fff;color:#fff;background:rgba(255,255,255,.12)}

/* ---------- 10. Footer ---------- */
/* The dark footer used cream-alpha text on charcoal, which inverts here. The
   subtle greys are the trap: --muted-2 (#94867C) is a mid grey that only
   reaches 3.2:1 on --cream-2, so the bottom bar and the fine print use
   --muted (5.6:1) instead. */
.footer{background:var(--cream-2);color:var(--muted)}
.footer h4{color:var(--ember-dark)}
.footer a:hover{color:var(--ember-dark)}
.footer__grid,.footer__trust{border-bottom-color:var(--line)}
.footer__bottom{color:var(--muted)}
.footer__trust{color:var(--muted)}
.footer__trust svg{color:var(--ember-dark)}

/* ---------- 11. Sticky mobile CTA ---------- */
.stickycta{
  background:rgba(255,255,255,.97);
  border-top:1px solid var(--line);
}
.stickycta .btn--call{
  background:var(--cream-2);border:1px solid var(--line-2);color:var(--ink);
}

/* ---------- 12. Inner-page hero ---------- */
.pagehero{background:var(--band);color:var(--ink)}
.pagehero p{color:var(--muted)}
.pagehero::after{
  background:radial-gradient(70% 100% at 85% 0%, rgba(245,165,36,.22), transparent 60%),
             radial-gradient(60% 90% at 5% 100%, rgba(232,65,11,.14), transparent 62%);
}

/* ---------- 13. Thank-you summary ---------- */
.thanks__summary{background:var(--white);border-color:var(--line)}
.thanks__row{border-bottom-color:var(--line)}
.thanks__row span{color:var(--muted)}
.thanks__row strong{color:var(--ink)}

/* ---------- 14. Gallery ---------- */
.gallery-grid figure{background:var(--cream-3)}

/* ---------- 15. Odds and ends ---------- */
.brand__name span{color:var(--ember-dark)}
.mark{background:linear-gradient(180deg,transparent 58%,rgba(245,165,36,.45) 58%)}
.badge--gold{color:var(--gold-dark)}

/* ---------- 16. Accent utilities ----------
   `styles.css` defines `.tint`, `.tint-2` and `.tint-brand` with their
   dark-surface values. Every element using them sits on a surface that turns
   light here, so each needs a darker replacement.

   The two surfaces that deliberately STAY dark are `.ctaband` and
   `.review--feature`; the guard below restores gold inside them so the classes
   remain safe to reuse there. */
.tint{color:var(--ember-dark)}
.tint-2{color:var(--gold-dark)}
.tint-brand{color:var(--ember-dark)}

.ctaband .tint,
.ctaband .tint-2,
.ctaband .tint-brand,
.review--feature .tint,
.review--feature .tint-2{color:var(--gold)}

/* `.eyebrow` is ember-dark here (it sits on pale bands). The CTA band keeps an
   ember-dark background, so an eyebrow dropped into it later would be invisible
   — no eyebrow lives there today, this is the guard that keeps it that way. */
.ctaband .eyebrow,
.review--feature .eyebrow{color:var(--gold)}
.ctaband .eyebrow::before,
.review--feature .eyebrow::before{background:var(--gold)}

.card__icon--accent{background:rgba(232,65,11,.08);border-color:rgba(232,65,11,.20)}
.card__icon--accent svg{color:var(--ember-dark)}

.bigstat{color:var(--ember-dark)}

.split-top{border-top-color:var(--line)}

/* Bright green (#4ADE80) reads on charcoal; on a pale band it disappears.
   The circle itself also needs a stronger tint to stay a visible shape. */
.thanks__check{background:rgba(27,122,75,.10);border-color:rgba(27,122,75,.35)}
.thanks__check svg{stroke:var(--green)}

/* ---------- 17. Breadcrumb ----------
   Sits on the page hero, which is a light band here, so the near-white
   colours from the dark design invert. The separator matches the link rather
   than using --muted-2, which only reaches ~3.2:1 on --band. */
.pagehero .crumb{color:var(--muted)}
.pagehero .crumb span{color:var(--muted)}
.pagehero .crumb__current{color:var(--ink)}
.pagehero .crumb a:hover{color:var(--ember-dark)}

/* ---------- 18. Eyebrow labels ----------
   These small uppercase kickers are 13px/700, which does NOT qualify as large
   text, so they need the full 4.5:1. --ember gives 4.0:1 on white and 3.6:1
   on --band; --ember-dark gives 5.4:1 on both. */
.eyebrow{color:var(--ember-dark)}
.eyebrow::before{background:var(--ember-dark)}

/* ---------- 19. Remaining light-surface text ---------- */
/* Fine print that was cream-alpha on charcoal. */
.estimator__fineprint{color:var(--muted)}
/* Nav hover / current-page colour is set in section 3 above. */

/* ---------- 20. Mobile H1 cap (fix 1) ---------- */
/* Cap the v5 mobile H1 floor so the price card stays visible on phones. The
   v5 clamp bottoms at 2.6rem; at 360px wide the headline alone eats ~4 lines.
   2.2rem keeps the desktop size untouched. */
@media (max-width:560px){
  :root{--t-hero:2.2rem}
}
