/* ==========================================================================
   Mr. Hibachi Fire — SUNSET VARIANT
   Built with the landing-page-design skill (elayadesign/ai-design-skills)
   --------------------------------------------------------------------------
   Warm orange/amber gradient hero. Single typeface (Geist).
   User requirement: gradient hero background (overrides B4 flat-background rule).
   ========================================================================== */

/* ---------- 1. Font (single typeface per B1) ---------- */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600&display=swap');

/* ---------- 2. Tokens ---------- */
:root{
  /* Surfaces — warm off-white */
  --bg:#FFFDF8;
  --fg:#1A1208;
  --card:#FFFFFF;
  --line:rgba(26,18,8,.12);
  --line-2:rgba(26,18,8,.18);

  /* Brand — warm orange/amber palette */
  --ink:#1A1208;
  --ink-2:#2A1E0F;
  --ink-3:#4A3A2E;
  --ink-4:#6E6058;
  --cream:#FFFDF8;
  --cream-2:#FFF3E0;
  --cream-3:#FFE8CC;
  --ember:#E8410B;
  --ember-2:#FF6A2B;
  --ember-dark:#B93106;
  --amber:#F5A524;
  --gold:#FFCF6B;
  --green:#1B7A4B;
  --muted:#6E6058;
  --muted-2:#94867C;
  --white:#FFFFFF;

  /* Semantic */
  --bg:var(--cream);
  --fg:var(--ink);

  /* Typography — Geist only (B1) */
  --font-display:'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body:'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Type scale */
  --t-hero:clamp(2rem,5vw,3rem);
  --t-h2:clamp(1.5rem,4vw,2.25rem);
  --t-h3:clamp(1.25rem,2.5vw,1.75rem);
  --t-lead:clamp(1.125rem,2vw,1.375rem);
  --t-body:1rem;
  --t-sm:.875rem;
  --t-xs:.75rem;
  --t-micro:.75rem;

  /* Space scale — B2 */
  --s1:.25rem; --s2:.5rem; --s3:.75rem; --s4:1rem;
  --s5:1.5rem; --s6:2rem; --s7:3rem; --s8:4rem;
  --s9:6rem; --s10:8rem;

  /* Radii — B3 */
  --r-sm:8px; --r:14px; --r-lg:22px; --r-xl:32px; --r-pill:999px;

  /* Shadows */
  --sh-1:0 1px 2px rgba(26,18,8,.06), 0 2px 8px rgba(26,18,8,.05);
  --sh-2:0 4px 12px rgba(26,18,8,.08), 0 12px 32px rgba(26,18,8,.09);
  --sh-3:0 12px 28px rgba(26,18,8,.12), 0 32px 72px rgba(26,18,8,.16);
  --sh-ember:0 6px 20px rgba(232,65,11,.32);

  /* Layout */
  --wrap:1180px;
  --wrap-narrow:780px;
  --gutter:clamp(1rem,4vw,2rem);

  /* Motion — B7 */
  --ease:cubic-bezier(.22,1,.36,1);
  --dur:.5s;

  --header-h:72px;
}

/* ---------- 3. Typography (B1) ---------- */
body{
  font-family:var(--font-body);
  font-weight:400;
  font-style:normal;
  text-wrap:pretty;
}

h1,h2,h3,h4,h5,h6,.brand__name,.h-hero,.section-head h2{
  font-family:var(--font-display);
  font-weight:600;
  font-style:normal;
  text-wrap:balance;
  letter-spacing:-.02em;
}
em,i{font-style:normal;}

/* ---------- 4. Sections (B2 generous spacing) ---------- */
.section{
  padding-block:clamp(3.5rem,8vw,6.5rem);
}
.section--tight{
  padding-block:clamp(2.5rem,5vw,4rem);
}

/* ---------- 5. Hero — warm gradient (user requirement, overrides B4) ---------- */
.hero{
  background:linear-gradient(135deg,#F5A524 0%,#E8410B 60%,#B93106 100%);
  color:#FFFFFF;
}
.h-hero{
  /* B5: light theme heading gradient #000000 → #666666 — but on warm bg use near-black */
  background:linear-gradient(90deg,#1A1208,#6E6058);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  max-width:680px;
}
.hero__sub{
  color:rgba(255,255,255,.85);
  max-width:680px;
}

/* ---------- 6. Buttons (B9 states) ---------- */
.btn{
  border:1px solid #1A1208;
  background:#1A1208;
  color:#FFFFFF;
  padding:var(--s2) var(--s4);
  font-weight:600;
  transition:all .3s var(--ease);
}
.btn:hover{
  background:#F5A524;
  border-color:#F5A524;
  color:#1A1208;
  transform:translateY(-1px);
}
.btn:active{
  transform:scale(.98);
}
.btn:focus-visible{
  outline:3px solid #F5A524;
  outline-offset:3px;
}
.btn--ghost{
  border:1px solid rgba(26,18,8,.4);
  background:transparent;
  color:#1A1208;
}
.btn--ghost:hover{
  background:#1A1208;
  color:#FFFFFF;
}

/* ---------- 7. Cards ---------- */
.card{
  border:1px solid var(--line);
  background:#FFFFFF;
  color:#1A1208;
  border-radius:var(--r);
  box-shadow:none;
}
.card:hover{
  border-color:rgba(26,18,8,.3);
  box-shadow:var(--sh-1);
}

/* ---------- 8. Section--dark ---------- */
.section--dark{
  background:#1A1208;
  color:#FFFDF8;
}
.section--dark .lead,
.section--dark p{color:rgba(255,253,248,.7);}
.section--dark .divider{background:rgba(255,253,248,.12);}

/* ---------- 9. CTA band ---------- */
.ctaband{
  background:#1A1208;
  color:#FFFDF8;
}

/* ---------- 10. Footer ---------- */
footer{
  background:#FFFDF8;
  color:#1A1208;
  border-top:1px solid var(--line);
}

/* ---------- 11. Tagline reveal (B11) ---------- */
.tagline-reveal{
  opacity:.3;
  transition:all .6s var(--ease);
}
.tagline-reveal.revealed{
  opacity:1;
}

/* ---------- 12. Utility ---------- */
p,li,blockquote{
  hyphens:none;
  text-wrap:pretty;
}

/* ---------- 13. Gradients only on hero (B4 exception) ---------- */
.aurora,.mark,.badge--gold{
  background:none !important;
}
/* ---------- 14. Light-surface text repair (Nov 17, 2026) ----------
   The theme paints .card white (§7) and keeps .section--dark dark (§8),
   but the base stylesheet paints the TEXT inside dark sections cream —
   so every white card sitting in a dark section rendered cream text on a
   white card (1.01:1), gold accents on white (1.39:1), and ghost buttons
   dark-on-dark in the CTA band and page heroes (1.00:1). 112 audit
   failures, all the same shape: a dark-surface colour used on a light one.

   The repair ports the light theme's light-surface overrides, adapted:
   sunset keeps its dark sections, so the overrides are scoped to the
   CARDS (which are white) rather than to the sections (which stay dark).
   Warm identity is kept: replacements are ember-dark (#B93106) and
   gold-dark (#8A5A00), not the light theme's whites. */
:root{
  /* 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;
}

/* --- 14a. Card text: the card wins over the section --- */
.section--dark .card p,
.section--ink2 .card p,
.section--dark .card--dark p,
.section--ink2 .card--dark p{color:var(--muted)}
.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 .bigstat{color:var(--ember-dark)}

/* --- 14b. Accent utilities --- */
/* Every `.tint` in the site lives on a white card (card icons, menu
   headings), so no dark-surface guard is needed — unlike the light theme,
   which reuses `.tint` in its CTA band. The one `.tint-brand` (the 404
   figure) sits on a dark section and is deliberately left alone: ember on
   ink clears 3:1 at that size. */
.tint{color:var(--ember-dark)}
.tint-2{color:var(--gold-dark)}
.card__icon--accent{background:rgba(232,65,11,.08);border-color:rgba(232,65,11,.20)}
.card__icon--accent svg{color:var(--ember-dark)}

/* The one `.tint` that lives on a dark surface — the email link on the
   thank-you page — needs its gold back: ember-dark on ink is only 3.1:1.
   The card exceptions keep the white-card icons and menu headings dark. */
.section--dark .tint,
.section--ink2 .tint{color:var(--gold)}
.section--dark .card .tint,
.section--ink2 .card .tint{color:var(--ember-dark)}
.section--dark .card .card__icon--accent svg,
.section--ink2 .card .card__icon--accent svg{color:var(--ember-dark)}

/* --- 14c. Pricecard lists on light surfaces --- */
/* The menu reuses `.pricecard__list` inside ordinary white cards, but the
   base rule paints the list cream for the dark frosted hero card (1.04:1).
   The list text is dark everywhere except the hero, where the frosted card
   keeps it cream. Same for the check icons: bright green (#4ADE80) is for
   dark surfaces; on a white card they need the deep green (5.4:1). */
.pricecard__list li{color:var(--ink)}
.card .pricecard__list svg{color:var(--green)}
.section--dark .card .pricecard__list svg{color:var(--green)}
.hero .pricecard__list li{color:rgba(253,250,246,.94)}
.hero .pricecard__list svg{color:#4ADE80}
/* A pricecard on any light surface needs the same treatment; today the only
   pricecard is the hero's, which the guards below keep. */
.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__foot{color:var(--ink-2)}
.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__foot{color:rgba(253,250,246,.72)}

/* --- 14d. Ghost buttons on dark surfaces --- */
/* The theme's ghost button is dark text for light surfaces — but the CTA
   band and the inner-page heroes are dark (#1A1208), so the ghost buttons
   there rendered dark-on-dark (1.00:1). Dark sections already get cream
   text from the base rule; these two do not. */
.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)}
.pagehero .btn--ghost{border-color:rgba(255,255,255,.5);color:#fff}
.pagehero .btn--ghost:hover{border-color:#fff;color:#fff;background:rgba(255,255,255,.12)}

/* --- 14e. Hero: what the audit cannot measure (photo backdrop) --- */
/* The video covers the theme's warm gradient, so the dark-gradient headline
   renders dark-on-video — weak on desktop, nearly unreadable on mobile over
   the dark pergola. The base design's cream headline + dark text-shadow is
   what reads on every frame; the warm identity stays in the ember CTA, the
   gold accents and the sunset photo itself. The gold <em> is kept — at
   ~50px it only needs 3:1. */
.hero h1,
.h-hero{
  background:none;-webkit-background-clip:initial;background-clip:initial;
  -webkit-text-fill-color:var(--cream);color:var(--cream);
}
.hero h1 em{-webkit-text-fill-color:var(--gold);color:var(--gold)}
/* The hero's ghost "Call" button is dark text on the video — invisible on
   dark frames. A translucent dark pill reads on every frame and speaks the
   same language as the frosted price card next to it. */
.hero .btn--ghost{
  background:rgba(21,16,13,.55);border-color:rgba(255,255,255,.45);color:#fff;
  backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
}
.hero .btn--ghost:hover{background:#1A1208;border-color:#fff;color:#fff}

/* --- 14f. Same defect class, below the audit's target list --- */
/* Small print that was tuned for dark surfaces but sits on white: menu item
   notes and form hints in muted-2 (#94867C) only reach ~3.5:1 on white. */
.menu-list small{color:var(--muted)}
.field .hint{color:var(--muted)}
