/* ==========================================================================
   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 hero band is the video, and the video is identical in both themes — so
   this is the one place where the light theme does NOT invert.
   The reason is measured, not stylistic: ink type over this footage fell to
   1.2:1 wherever a scene ran dark (the chef's black chef coat is most of the
   left column in the opening shot). A white halo does not rescue a dark glyph
   on a dark frame — it just draws a white outline around something the eye
   still cannot resolve. Cream type with a dark shadow reads on every scene.
   Below the hero the page is white, and that contrast between a dark, moving
   band and a light page is the whole point of the variant. */
/* The price card is used in two very different places: on the hero (over video,
   no card at all) and on ordinary pale bands such as /menu/ (a normal white
   card). The light-surface styling therefore has to exist globally and the
   hero has to override it, not the other way round. Deleting these defaults
   left /menu/ rendering the DARK card from styles.css and cream body text on
   white — 1.04:1. */
.pricecard{
  background:var(--white);
  border:1px solid var(--line);
  box-shadow:var(--sh-2);
  backdrop-filter:none;-webkit-backdrop-filter:none;
}
.pricecard__label{color:var(--ember-dark)}
.pricecard__price{color:var(--ink)}
.pricecard__price small{color:var(--ink-2)}
.pricecard__note{color:var(--ink-2)}
.pricecard__list{border-top-color:var(--line)}
.pricecard__list li{color:var(--ink)}
.pricecard__foot{color:var(--ink-2)}

.hero{background:var(--ink);color:#fff}
/* A visibly different grade, and a real one: the light variant lifts the
   footage about 8% and pulls saturation back, so it reads as a bright afternoon
   rather than the dark theme's blue-hour frame. This is a filter on the video's
   own values — every detail and every bit of motion survives, and it adds
   nothing between the viewer and the picture. */
.hero__poster,.hero__media{filter:saturate(.90) brightness(1.08)}
/* The bottom edge melts into the white page instead of cutting to it. This is
   the one place the two themes read differently at a glance, and it costs the
   footage nothing: it is the last ~4% of the band, below every line of text. */
.hero__bg::after{
  background:
    linear-gradient(180deg, rgba(21,16,13,.26) 0%, rgba(21,16,13,.08) 14%, rgba(21,16,13,0) 30%),
    linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 4.5%),
    linear-gradient(to top,
      rgba(21,16,13,.52) 0%,
      rgba(21,16,13,.30) 34%,
      rgba(21,16,13,.10) 58%,
      rgba(21,16,13,0) 76%);
}
/* Every rule below is scoped to `.hero`. An earlier version of this block
   wrote `.pricecard__list li{...}` unscoped and repainted the price card on
   /menu/ cream-on-white — 1.04:1, caught by the audit, invisible in a hero
   screenshot. The hero is the only place that needs these. */
.hero h1 em{color:var(--gold)}
.hero__micro strong{color:var(--gold)}
.hero .eyebrow--light{color:var(--cream)}
.hero .eyebrow--light::before{background:var(--cream)}
.hero .pricecard__label{color:var(--gold)}
.hero .pricecard__price{color:#fff}
.hero .pricecard__price small{color:rgba(253,250,246,.82)}
.hero .pricecard__note{color:rgba(253,250,246,.88)}
.hero .pricecard__list li{color:rgba(253,250,246,.94)}
.hero .pricecard__list{border-top-color:rgba(255,255,255,.18)}
.hero .pricecard__foot{color:rgba(253,250,246,.72)}
.hero .trustbar{color:rgba(253,250,246,.94);border-top-color:rgba(255,255,255,.16)}
.hero .trustbar svg{color:var(--gold)}
/* Frosted card (fix 3) — ported from v5: the dark frosted base is what makes
   the gold label legible (9.36:1 vs 2.97:1 with no card). */
.hero .pricecard{
  background:
    linear-gradient(165deg,rgba(255,255,255,.10),rgba(255,255,255,.03)),
    rgba(21,16,13,.74);
  border:1px solid rgba(255,255,255,.16);
  border-radius:var(--r-xl);
  padding:clamp(1.5rem,3vw,2.25rem);
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  box-shadow:var(--sh-3);
  text-shadow:none;
}
/* Restored, and it is load-bearing: styles.css hardcodes #4ADE80 for check
   icons inside `.section--dark`, which is a DARK surface in the dark theme and
   a pale band in this one. On the pale band that green measures 1.74:1. */
.section--dark .pricecard__list svg,
.section--ink2 .pricecard__list svg{color:var(--green)}

/* ---------- 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. */
