/* ============================================================================
   HIMAZ PROPERTIES — public site stylesheet (PHP pages: Blog, Challenge)
   Strictly Brand Guide v1.1: Himaz Brown #3E2723, Himaz Gold #C9A227,
   Cream #FAF7F2, Urgency Red #E74C3C, White #FFFFFF, Warm Neutral #6B5B4F.
   Display type: Caprasimo. Body/UI type: Figtree.
   Dual theme (dark default + light via .theme-light on <html>),
   alternating contrast bands, pill buttons, 16px+ radii, no sharp corners.
   ============================================================================ */

@font-face{font-family:Caprasimo;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/682af714a7d5bc8c-s.22o9biiibgmth.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Caprasimo;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/12b67b3c78c4367a-s.p.0dhaz04vjmr2w.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Figtree;font-style:normal;font-weight:300 900;font-display:swap;src:url(/fonts/400bf8aa837fcb7e-s.19g-lkcx7iw64.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Figtree;font-style:normal;font-weight:300 900;font-display:swap;src:url(/fonts/f7aa21714c1c53f8-s.p.0-95eo-012xnf.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root,
.theme-dark {
  --canvas: #3E2723;
  --canvas-deep: #2C1B17;
  --canvas-glow: rgba(201, 162, 39, 0.18);
  --ink: #FAF7F2;
  --ink-soft: rgba(250, 247, 242, 0.80);
  --ink-faint: rgba(250, 247, 242, 0.56);
  --panel: rgba(255, 255, 255, 0.06);
  --panel-solid: #4A2E27;
  --panel-2: #55352C;
  --line: rgba(201, 162, 39, 0.32);
  --line-soft: rgba(250, 247, 242, 0.12);
  --input-bg: rgba(0, 0, 0, 0.30);
  --gold: #C9A227;
  --gold-soft: #E3C766;
  --gold-btn-ink: #2A1710;
  --red: #E74C3C;
  --white: #FFFFFF;
  --neutral: #C9BEB3;
  --err: #E74C3C;
  --ok: var(--gold-soft);
  /* alternating-band accent: tuned per background so it stays legible without leaving gold */
  --band-accent: #A8851B;
  --band-bg: #FAF7F2;
  --band-bg-2: #F1EAE0;
  --band-ink: #3E2723;
  --band-ink-soft: #6B5B4F;
  --band-ink-faint: rgba(107, 91, 79, 0.68);
  --band-line: rgba(62, 39, 35, 0.14);
  --shadow: 0 12px 34px rgba(0, 0, 0, 0.4);
}
.theme-light {
  --canvas: #FAF7F2;
  --canvas-deep: #F1EAE0;
  --canvas-glow: rgba(201, 162, 39, 0.20);
  --ink: #3E2723;
  --ink-soft: #6B5B4F;
  --ink-faint: rgba(107, 91, 79, 0.72);
  --panel: rgba(255, 255, 255, 0.7);
  --panel-solid: #FFFFFF;
  --panel-2: #F8F2E9;
  --line: rgba(201, 162, 39, 0.40);
  --line-soft: rgba(62, 39, 35, 0.12);
  --input-bg: #FFFFFF;
  --gold: #C9A227;
  --gold-soft: #A8851B;
  --gold-btn-ink: #2A1710;
  --red: #E74C3C;
  --white: #FFFFFF;
  --neutral: #6B5B4F;
  --err: #E74C3C;
  --ok: var(--gold-soft);
  /* Real-estate-standard light theme: alternating sections stay light — a
     subtly deeper warm cream, not a full inversion to solid brown. */
  --band-accent: #A8851B;
  --band-bg: #F1E9DC;
  --band-bg-2: #EAE0CE;
  --band-ink: #3E2723;
  --band-ink-soft: #6B5B4F;
  --band-ink-faint: rgba(107, 91, 79, 0.68);
  --band-line: rgba(201, 162, 39, 0.30);
  --shadow: 0 12px 30px rgba(62, 39, 35, 0.16);
}

:root {
  --font-display: 'Caprasimo', Georgia, 'Times New Roman', serif;
  --font-body: 'Figtree', 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  background:
    radial-gradient(1100px 500px at 85% -10%, var(--canvas-glow), transparent 60%),
    radial-gradient(900px 600px at -15% 110%, color-mix(in srgb, var(--gold) 8%, transparent), transparent 55%),
    linear-gradient(180deg, var(--canvas) 0%, var(--canvas-deep) 100%);
  background-attachment: fixed;
  transition: background 0.4s ease, color 0.4s ease;
}
a { color: var(--gold-soft); }
h1, h2, h3, .serif { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.005em; }

/* ---------- motion ---------- */
@keyframes fadeUp  { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes shimmer { from { background-position: -200% 0; } to { background-position: 200% 0; } }
@keyframes floaty  { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- logo variants + theme toggle ---------- */
.logo-ondark { display: none; }
.theme-dark .logo-ondark { display: block; }
.theme-dark .logo-onlight { display: none; }
.theme-light .logo-ondark { display: none; }
.theme-light .logo-onlight { display: block; }

.theme-toggle {
  width: 36px; height: 36px; border-radius: 999px; cursor: pointer;
  display: inline-grid; place-items: center;
  background: transparent; border: 1px solid var(--line);
  color: var(--gold-soft); font-size: 15px; line-height: 1;
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}
.theme-toggle:hover { border-color: var(--gold); transform: rotate(15deg); }
.theme-toggle .icon-sun { display: none; }
.theme-light .theme-toggle .icon-sun { display: inline; }
.theme-light .theme-toggle .icon-moon { display: none; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--canvas) 90%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 14px;
  padding: 10px 20px; flex-wrap: wrap;
}
.site-head img { height: 52px; width: auto; }
/* The Himaz Challenge is deliberately never a nav link — it's a side
   campaign, not a core page. It gets a small teaser section on Home instead. */
.site-head nav { display: flex; gap: 4px; align-items: center; margin-left: 18px; }
.site-head nav a {
  color: var(--ink-soft); text-decoration: none; font-size: 13px; font-weight: 700;
  padding: 8px 14px; border-radius: 999px;
  transition: opacity 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.site-head nav a:hover { color: var(--gold-soft); background: color-mix(in srgb, var(--gold) 10%, transparent); }
.site-head-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.site-head .btn-whatsapp {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold); color: var(--gold-btn-ink);
  font-weight: 800; font-size: 12px; text-decoration: none;
  padding: 8px 16px; border-radius: 999px; transition: filter 0.2s ease, transform 0.2s ease;
}
.site-head .btn-whatsapp:hover { filter: brightness(1.08); transform: translateY(-1px); }

.container { max-width: 760px; margin: 0 auto; padding: 36px 18px 70px; }
.container.wide { max-width: 980px; }

.hero-title { font-family: var(--font-display); font-weight: 400; font-size: 34px; line-height: 1.15; margin: 0 0 8px; }
.hero-sub { color: var(--ink-soft); margin: 0 0 28px; }

/* ---------- alternating contrast band (full-bleed background) ---------- */
/* The band's own box no longer moves or resizes at all — it stays exactly
   where a plain .camp-section would sit. Only the ::before background
   bleeds full-width. The old approach set width:100vw + margin:calc(50% -
   50vw) directly on the band itself: on Windows/Linux desktop browsers,
   100vw includes the vertical scrollbar's own width, which the visible
   viewport does not — so that calc was consistently off by half the
   scrollbar's width, and every band section's actual TEXT sat a few
   pixels left of where every non-band .camp-section sat. Small enough to
   miss in review, obvious enough once you're told which sections it was:
   exactly the four using .band and no others. */
.band {
  position: relative;
  color: var(--band-ink);
}
/* .camp-section.band (0,2,0), not .band alone (0,1,0): .camp-section's own
   `padding` shorthand is declared later in this file at equal specificity,
   which would otherwise silently win the padding-top/bottom longhands on
   source order alone — same class of tie this file already had to fix once
   for .camp-section/.band heading colors. Compound selector wins regardless
   of where either rule sits. */
.camp-section.band {
  padding-top: 34px;
  padding-bottom: 34px;
}
.band::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: linear-gradient(160deg, var(--band-bg) 0%, var(--band-bg-2) 100%);
  border-top: 1px solid var(--band-line);
  border-bottom: 1px solid var(--band-line);
  z-index: 0;
}
.band > * { position: relative; z-index: 1; }
.band h2 { color: var(--band-ink); }
.band p { color: var(--band-ink-soft); }
.band .muted { color: var(--band-ink-faint); }
.band .pull { color: var(--band-accent); }
.band ul.benefits li { color: var(--band-ink-soft); }
.band ul.benefits li b, .band p b { color: var(--band-ink); }
.band a { color: var(--band-accent); }

/* ---------- pill buttons + badges (shared shape language) ---------- */
.pill-badge {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: 999px; font-size: 11px; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 12px;
}
.pill-available { background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--gold-soft); border: 1px solid var(--gold); }
.pill-selling-fast { background: color-mix(in srgb, var(--red) 16%, transparent); color: var(--red); border: 1px solid var(--red); }
.pill-sold-out { background: transparent; color: var(--ink-faint); border: 1px solid var(--line-soft); filter: grayscale(0.4); opacity: 0.75; }

/* ---------- cards ---------- */
.post-card {
  background: linear-gradient(160deg, var(--panel-solid) 0%, var(--panel-2) 100%);
  border: 1px solid var(--line);
  border-radius: 20px; padding: 22px 24px; margin-bottom: 18px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.post-card:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: var(--shadow); }
.post-card h2 { font-family: var(--font-display); font-weight: 400; font-size: 22px; margin: 0 0 6px; line-height: 1.3; }
.post-card h2 a { color: var(--ink); text-decoration: none; transition: color 0.2s ease; }
.post-card h2 a:hover { color: var(--gold-soft); }
.post-card .meta { font-size: 12px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--gold-soft); margin-bottom: 8px; }
.post-card .excerpt { color: var(--ink-soft); margin: 0 0 10px; }
.read-more { color: var(--gold-soft); font-weight: 700; font-size: 14px; }

/* ---------- single article ---------- */
.article-head { border-bottom: 2px solid var(--gold); padding-bottom: 18px; margin-bottom: 24px; }
.article-head h1 { font-family: var(--font-display); font-weight: 400; font-size: 32px; line-height: 1.18; margin: 6px 0 10px; }
.article-body { font-size: 17px; color: var(--ink-soft); }
.article-body h2 { font-family: var(--font-display); font-weight: 400; font-size: 26px; margin: 30px 0 10px; color: var(--gold-soft); }
.article-body h3 { font-family: var(--font-display); font-weight: 400; font-size: 21px; margin: 24px 0 8px; color: var(--gold-soft); }
.article-body h4 { font-family: var(--font-display); font-weight: 400; font-size: 18px; margin: 20px 0 6px; color: var(--ink); }
.article-body p { margin: 0 0 16px; }
.article-body ul, .article-body ol { margin: 0 0 16px; padding-left: 24px; }
.article-body li { margin-bottom: 6px; }
.article-body blockquote {
  margin: 18px 0; padding: 12px 18px;
  border-left: 4px solid var(--gold);
  background: color-mix(in srgb, var(--gold) 8%, transparent);
  border-radius: 0 16px 16px 0; font-style: italic;
}
.article-body img { max-width: 100%; height: auto; border-radius: 16px; margin: 8px 0; border: 1px solid var(--line); }
.article-body figure { margin: 18px 0; }
.article-body figcaption { font-size: 13px; color: var(--ink-faint); text-align: center; margin-top: 6px; }
.article-body a { color: var(--gold-soft); font-weight: 600; }
.article-body hr { border: 0; border-top: 2px solid var(--gold); margin: 26px auto; width: 120px; }

/* Editorial reading experience: relaxed line length, clear hierarchy and a true 16:9 cover. */
.article-container { max-width: 1040px; padding-top: 46px; }
.public-article { max-width: 900px; margin: 0 auto; }
.public-article .article-head { max-width: 820px; margin: 0 auto 28px; padding: 0 8px 24px; }
.public-article .article-head h1 { max-width: 780px; font-size: clamp(34px, 5.5vw, 56px); line-height: 1.08; letter-spacing: -.02em; text-transform: none; }
.public-article .article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--ink-faint); font-size: 13px; }
.public-article .article-meta span:first-child { color: var(--gold-soft); font-weight: 700; }
.public-article .article-excerpt { max-width: 720px; margin: 12px 0 0; font-size: 19px; line-height: 1.6; color: var(--ink-soft); }
.public-article .article-cover { max-width: 900px; margin: 0 auto 34px; }
.public-article .article-cover img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--line); border-radius: 22px; }
.public-article .article-body { max-width: 720px; margin: 0 auto; font-size: 18px; line-height: 1.82; text-transform: none; }
.public-article .article-body h2 { margin-top: 2em; }
.card-img { aspect-ratio: 16 / 10; height: auto; }
.featured-img { aspect-ratio: 16 / 9; min-height: 0; }
@media (max-width: 720px) { .public-article .article-body { font-size: 17px; line-height: 1.75; } .public-article .article-head h1 { font-size: clamp(32px, 9vw, 44px); } .article-container { padding-top: 28px; } }

/* ---------- CTA / boxes ---------- */
.cta-box {
  background: linear-gradient(120deg, #C9A227 0%, #E3C766 55%, #C9A227 100%);
  background-size: 200% auto;
  color: #2A1710; border-radius: 20px; padding: 22px 24px; margin: 30px 0;
  animation: shimmer 9s linear infinite;
}
.cta-box b { color: #1F1009; }
.cta-box a {
  display: inline-block; background: #3E2723; color: #E3C766;
  font-weight: 700; text-decoration: none; border-radius: 999px; padding: 10px 20px; margin-top: 8px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.cta-box a:hover { transform: translateY(-2px); background: #2C1B17; }

/* ---------- forms ---------- */
.form-card {
  background: linear-gradient(160deg, var(--panel-solid) 0%, var(--panel-2) 100%);
  border: 1px solid var(--line); border-radius: 22px;
  padding: 26px 28px; box-shadow: var(--shadow);
}
.form-card label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin: 14px 0 5px; color: var(--gold-soft); }
.form-card input[type=text], .form-card input[type=tel], .form-card input[type=email],
.form-card select, .form-card textarea {
  width: 100%; font: inherit; color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px;
  background: var(--input-bg);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 22%, transparent);
}
.form-card select { color-scheme: dark; }
.theme-light .form-card select { color-scheme: light; }
.form-card .checkbox-line { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; margin: 16px 0; color: var(--ink-soft); }
.form-card .checkbox-line input { width: auto; margin-top: 3px; accent-color: var(--gold); }
.btn-gold {
  display: inline-block; border: 0; cursor: pointer; text-decoration: none; text-align: center;
  font: inherit; font-weight: 800;
  background: linear-gradient(120deg, #C9A227, #E3C766, #C9A227); background-size: 200% auto;
  color: #2A1710;
  border-radius: 999px; padding: 14px 18px; margin-top: 8px;
  transition: transform 0.2s ease, background-position 0.4s ease;
  animation: shimmer 6s linear infinite;
}
.btn-gold:hover { transform: translateY(-2px); }
.flash { border-radius: 14px; padding: 12px 16px; margin-bottom: 16px; font-weight: 600; }
.flash.ok { background: color-mix(in srgb, var(--gold) 14%, transparent); color: var(--gold-soft); border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); }
.flash.err { background: color-mix(in srgb, var(--red) 12%, transparent); color: var(--red); border: 1px solid color-mix(in srgb, var(--red) 40%, transparent); }
.code-pill {
  display: inline-block; background: var(--input-bg); color: var(--gold-soft);
  font-weight: 800; font-family: monospace; font-size: 22px;
  border: 1px solid var(--gold); border-radius: 999px; padding: 12px 22px; margin: 10px 0;
  animation: floaty 4s ease-in-out infinite;
}
.muted { color: var(--ink-faint); font-size: 14px; }

/* ============================================================================
   BLOG HOME
   ============================================================================ */
.blog-hero { padding: 10px 0 20px; border-bottom: 2px solid var(--gold); margin-bottom: 22px; }
.blog-hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 5vw, 40px); margin: 0 0 6px; }
.blog-hero p { margin: 0; color: var(--ink-soft); max-width: 560px; }

.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.chip {
  display: inline-block; padding: 6px 14px; border-radius: 999px; text-decoration: none;
  font-size: 13px; font-weight: 700; color: var(--ink);
  background: var(--panel); border: 1px solid var(--line);
  transition: border-color 0.25s ease, transform 0.2s ease;
}
.chip:hover { border-color: var(--gold); transform: translateY(-1px); }
.chip.on { background: linear-gradient(120deg, #C9A227, #E3C766); color: #2A1710; border-color: transparent; }

.featured {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  background: linear-gradient(160deg, var(--panel-solid) 0%, var(--panel-2) 100%);
  border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow);
  margin-bottom: 22px; transition: transform 0.25s ease, border-color 0.25s ease;
}
.featured:hover { transform: translateY(-3px); border-color: var(--gold); }
.featured-img { min-height: 260px; background-size: cover; background-position: center; background-color: var(--panel-2); }
.featured-img--plain, .card-img--plain {
  display: grid; place-items: center;
  background: radial-gradient(420px 220px at 70% 20%, color-mix(in srgb, var(--gold) 25%, transparent), transparent 60%), var(--panel-solid);
}
.featured-img--plain span { color: var(--gold-soft); font-family: var(--font-display); font-weight: 400; font-size: 44px; letter-spacing: 0.06em; }
.featured-body { padding: 24px 26px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.featured-body h2 { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.25; margin: 0; }
.featured .meta { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold-soft); }
.featured .read-more { color: var(--gold-soft); font-weight: 700; font-size: 14px; }
@media (max-width: 720px) { .featured { grid-template-columns: 1fr; } .featured-img { min-height: 190px; } }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-bottom: 30px; }
.card {
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  background: linear-gradient(160deg, var(--panel-solid) 0%, var(--panel-2) 100%);
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow); }
.card-img { height: 140px; background-size: cover; background-position: center; background-color: var(--panel-2); }
.card-img--plain span { font-size: 30px; color: var(--gold-soft); font-family: var(--font-display); font-weight: 400; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body .meta { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold-soft); }
.card-body h3 { font-family: var(--font-display); font-weight: 400; font-size: 19px; line-height: 1.3; margin: 0; }
.card-body .excerpt { color: var(--ink-soft); }
.card-body .read-more { margin-top: auto; color: var(--gold-soft); font-weight: 700; font-size: 13px; }

.subscribe { margin: 34px 0 22px; }
.subscribe-inner {
  background:
    radial-gradient(600px 200px at 90% 0%, rgba(23, 12, 6, 0.30), transparent 60%),
    linear-gradient(120deg, #C9A227 0%, #E3C766 60%, #C9A227 100%);
  background-size: 200% auto;
  color: #2A1710; border-radius: 22px; padding: 26px 28px;
  animation: shimmer 9s linear infinite;
}
.subscribe-inner h2 { font-family: var(--font-display); font-weight: 400; color: #1F1009; margin: 0 0 4px; font-size: 24px; }
.subscribe-inner p { margin: 0 0 16px; color: rgba(31, 16, 9, 0.75); max-width: 520px; }
.subscribe-form { display: flex; gap: 10px; flex-wrap: wrap; }
.subscribe-form input {
  flex: 1; min-width: 170px; font: inherit; color: #FAF7F2;
  border: 1px solid rgba(31, 16, 9, 0.4); border-radius: 12px; padding: 11px 14px;
  background: rgba(23, 12, 6, 0.85);
}
.subscribe-form input::placeholder { color: rgba(250, 247, 242, 0.4); }
.foot { text-align: center; color: var(--ink-faint); font-size: 13px; margin-top: 36px; }
.foot .serif { font-family: var(--font-display); font-weight: 400; color: var(--gold-soft); }

/* ============================================================================
   HIMAZ CHALLENGE 2.0 CAMPAIGN
   ============================================================================ */
.camp-hero {
  text-align: center; padding: 44px 18px 36px; margin-bottom: 28px;
  border-bottom: 2px solid var(--gold);
  background:
    radial-gradient(700px 300px at 50% -10%, color-mix(in srgb, var(--gold) 18%, transparent), transparent 65%),
    var(--panel);
  border-radius: 0 0 28px 28px;
}
/* The campaign name is the real headline here — bigger than a normal page
   h1, since this page's whole job is to be recognized as "I Am Himaz
   Challenge 2.0" first. The actual ad-copy hook is a genuine <h2> subhead
   underneath it, smaller by design (was the reverse before: a small
   uppercase kicker tag above a big h1 hook). */
.camp-hero h1 {
  font-family: var(--font-display); font-weight: 400; letter-spacing: 0.01em;
  text-transform: uppercase; font-size: clamp(32px, 6.6vw, 52px);
  line-height: 1.08; margin: 0 0 14px; color: var(--gold-soft);
}
.camp-hero .hero-subhead {
  font-family: var(--font-display); font-weight: 400; font-size: clamp(19px, 3.4vw, 27px);
  line-height: 1.25; margin: 0 0 14px; color: var(--ink);
}
.camp-hero .lead { max-width: 640px; margin: 0 auto 22px; font-size: 17px; color: var(--ink-soft); }
.stat-bar { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.stat-bar div {
  background: var(--input-bg); border: 1px solid var(--line); border-radius: 16px;
  padding: 10px 18px; min-width: 130px; transition: border-color 0.25s ease, transform 0.25s ease;
}
.stat-bar div:hover { border-color: var(--gold); transform: translateY(-2px); }
.stat-bar b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 20px; color: var(--gold-soft); }
.stat-bar span { font-size: 12px; color: var(--ink-faint); }

.camp-section { padding: 6px 6px 26px; }
/* :where() so these carry ZERO specificity from the .camp-section class —
   otherwise ".camp-section h2" (0,1,1) ties ".band h2" (0,1,1) and whichever
   is declared later in the file silently wins, which is exactly how a
   camp-section-and-band heading/paragraph ended up rendering in the wrong
   ink color (cream-on-cream / brown-on-brown) on the Challenge page. */
:where(.camp-section) h2 { font-family: var(--font-display); font-weight: 400; font-size: 26px; margin: 0 0 12px; color: var(--ink); }
:where(.camp-section) h3 { font-family: var(--font-display); font-weight: 400; font-size: 19px; margin: 22px 0 8px; color: var(--ink); }
:where(.camp-section) p { font-size: 16px; color: var(--ink-soft); }
.band h3 { color: var(--band-ink); }
.camp-section .pull {
  font-family: var(--font-display); font-weight: 400; font-size: 20px; color: var(--gold-soft);
  border-left: 4px solid var(--gold); padding-left: 16px;
}
ul.benefits { margin: 8px 0 4px; padding-left: 0; list-style: none; }
ul.benefits li { margin-bottom: 10px; padding-left: 24px; position: relative; color: var(--ink-soft); }
ul.benefits li b { color: var(--ink); }
ul.benefits li::before { content: "◆"; color: var(--gold); position: absolute; left: 0; top: 1px; font-size: 12px; }
ol.timeline { margin: 14px 0 0; padding-left: 22px; }
ol.timeline li { margin-bottom: 10px; color: var(--ink-soft); }
ol.timeline li::marker { color: var(--gold); font-weight: 700; }
.band ol.timeline li { color: var(--band-ink-soft); }
.band ol.timeline li b { color: var(--band-ink); }

/* ---------- challenge roadmap (visual stage tracker) ---------- */
.roadmap { margin: 0 0 30px; }
/* Flex-wrap, not grid: with 5-6 stages a forced single row left each card too
   narrow for its own text (which had nowhere to go but overflow past the
   card, and often past the viewport, on medium screens) — wrapping fixes
   that. A CSS grid with auto-fit "fixes" the overflow but then a half-full
   last row sits flush left instead of centered under a centered heading
   (grid has no way to center a short final row); flex + justify-content:
   center centers every row, including a partial one, which is what actually
   matches the rest of this centered page. */
.roadmap-track {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
}
.roadmap-stage {
  /* min-width: 0 lets a card shrink and wrap its own text instead of being
     held open to its content's un-wrapped width (the flex-item default). */
  flex: 1 1 190px; max-width: 260px; min-width: 0; position: relative;
  padding: 18px 16px 20px;
  border: 1px solid var(--line-soft); border-radius: 18px;
  background: var(--input-bg);
}
.roadmap-stage .roadmap-dot {
  width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center;
  border: 2px solid var(--line); margin-bottom: 10px; font-weight: 800; font-size: 13px;
  color: var(--ink-faint); background: transparent;
}
.roadmap-stage .roadmap-label { font-family: var(--font-display); font-weight: 400; font-size: 17px; color: var(--ink); margin: 0 0 4px; }
.roadmap-stage .roadmap-desc { font-size: 13px; color: var(--ink-soft); margin: 0 0 8px; line-height: 1.4; }
.roadmap-stage .roadmap-dates { font-size: 12px; font-weight: 700; letter-spacing: 0.03em; color: var(--ink-faint); }

.roadmap-stage.is-completed { border-color: var(--line); }
.roadmap-stage.is-completed .roadmap-dot { border-color: var(--gold); color: var(--gold-soft); background: color-mix(in srgb, var(--gold) 12%, transparent); }
.roadmap-stage.is-completed .roadmap-dates { color: var(--gold-soft); }

.roadmap-stage.is-active {
  border-color: var(--gold);
  background: color-mix(in srgb, var(--gold) 10%, var(--input-bg));
  box-shadow: 0 0 0 1px var(--gold), 0 10px 26px color-mix(in srgb, var(--gold) 25%, transparent);
}
.roadmap-stage.is-active .roadmap-dot { border-color: var(--gold); color: var(--gold-btn-ink); background: var(--gold); }
.roadmap-stage.is-active .roadmap-label { color: var(--gold-soft); }
.roadmap-stage.is-active .roadmap-dates { color: var(--gold-soft); }

.roadmap-stage.is-upcoming { opacity: 0.75; }

/* ---------- page-load choreography ---------- */
.blog-hero, .hero-title, .post-card, .featured, .grid > .card,
.camp-hero, .camp-section, .form-card, .subscribe, .cta-box,
.article-head, .article-body, .chip-row, .roadmap {
  animation: fadeUp 0.7s cubic-bezier(0.22, 0.8, 0.36, 1) both;
}
.grid > .card:nth-child(2), .post-card:nth-child(2) { animation-delay: 0.08s; }
.grid > .card:nth-child(3), .post-card:nth-child(3) { animation-delay: 0.14s; }
.grid > .card:nth-child(4), .post-card:nth-child(4) { animation-delay: 0.20s; }
.grid > .card:nth-child(5) { animation-delay: 0.26s; }
.grid > .card:nth-child(6) { animation-delay: 0.32s; }
.subscribe, .cta-box { animation-delay: 0.15s; }

/* ---------- mobile menu (PHP pages) ---------- */
.menu-btn { display: none; }
.menu-box {
  display: inline-grid; place-items: center; width: 36px; height: 36px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--gold-soft);
  font-size: 16px; line-height: 1; background: transparent;
}
.nav-whatsapp { display: none; }
@media (max-width: 640px) {
  .site-head .btn-whatsapp { display: none; } /* replaced on mobile by .nav-whatsapp inside the dropdown */
}
@media (max-width: 900px) {
  .nav-whatsapp { display: block; color: var(--gold-soft) !important; }
}
@media (max-width: 900px) {
  .menu-btn { display: inline-block; }
  .site-head nav {
    display: none;
    order: 5; flex-basis: 100%; margin-left: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 10px 0 4px;
  }
  .site-head nav.open {
    display: flex;
    animation: fadeUp 0.35s cubic-bezier(0.22, 0.8, 0.36, 1) both;
  }
  .site-head nav a { padding: 12px 14px; font-size: 15px; }
}

/* ---------- small-screen polish ---------- */
@media (max-width: 480px) {
  .container { padding: 26px 14px 60px; }
  .container.wide { padding: 26px 14px 60px; }
  .form-card { padding: 20px 16px; }
  .camp-hero { padding: 32px 14px 28px; }
  .camp-section.band { padding-top: 26px; padding-bottom: 26px; }
  .code-pill { font-size: 18px; padding: 10px 18px; }
}

/* ---------- on-page rules accordions (challenge) ---------- */
details.rule {
  border: 1px solid var(--band-line); border-radius: 12px;
  margin-bottom: 10px; overflow: hidden;
}
details.rule summary {
  cursor: pointer; font-weight: 700; font-family: var(--font-display);
  font-size: 17px; padding: 14px 40px 14px 16px; list-style: none;
  position: relative; user-select: none;
}
details.rule summary::-webkit-details-marker { display: none; }
details.rule summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%;
  transform: translateY(-50%); font-size: 20px; opacity: 0.55;
}
details.rule[open] summary::after { content: "–"; }
details.rule[open] summary { border-bottom: 1px solid var(--band-line); }
details.rule > div { padding: 12px 16px 14px; }
details.rule:hover { border-color: var(--gold); }

/* ---------- scroll reveals (PHP pages) ---------- */
.reveal, .reveal.revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } }

/* Consistent public navigation and accessible native mobile menu. */
.site-head { gap: 20px; min-height: 80px; }
.php-brand { display:flex; align-items:center; gap:12px; color:var(--ink); font-size:14px; font-weight:700; text-decoration:none; }
.php-brand small { display:block; font-size:12px; font-weight:400; }
.php-mobile-menu { display:none; }
.php-mobile-menu summary { list-style:none; cursor:pointer; width:44px; height:44px; display:grid; place-items:center; border:1px solid var(--line); border-radius:50%; color:var(--ink); }
.php-mobile-menu summary::-webkit-details-marker { display:none; }
.php-skip-link { position:fixed; top:8px; left:12px; z-index:100; padding:12px 18px; background:var(--panel-solid); color:var(--ink); transform:translateY(-200%); }
.php-skip-link:focus { transform:none; }
.php-public-footer { display:grid; grid-template-columns:1.2fr 1fr; gap:32px; text-align:left; padding:44px max(24px,calc((100% - 1160px)/2)); }
.php-public-footer nav { display:flex; flex-wrap:wrap; gap:12px 20px; margin-top:20px; }
.php-footer-base { grid-column:1/-1; display:flex; justify-content:space-between; flex-wrap:wrap; gap:16px; border-top:1px solid var(--line); padding-top:20px; font-size:12px; }
:focus-visible { outline:2px solid var(--gold); outline-offset:4px; }
@media(max-width:1099px) { .site-head .php-desktop-links { display:none; } .php-mobile-menu { display:block; } .site-head .php-mobile-menu nav { position:absolute; top:100%; left:16px; right:16px; display:flex; flex-direction:column; padding:16px; background:var(--panel-solid); border:1px solid var(--line); border-radius:16px; } .site-head .php-mobile-menu nav a { padding:12px; font-size:15px; } }
@media(max-width:639px) { .php-inspection-link { display:none; } .php-public-footer { grid-template-columns:1fr; } }
