/* The Masculine Forge · styles.css
   Mobile-first. Palette: charcoal / ember / warm off-white. */

:root {
  --bg: #161514;          /* charcoal */
  --bg-alt: #1e1c1a;      /* slightly lifted charcoal */
  --panel: #252220;
  --line: #3a3530;
  --text: #f2ece3;        /* warm off-white */
  --muted: #c4b9ab;
  --ember: #e8692a;       /* ember orange */
  --ember-hot: #ff8a45;
  --ember-deep: #b8461a;
  --ink-on-ember: #1a1310;
  /* Accent system. Alternate palettes (theme-oxblood.css, theme-steel.css)
     override only these variables (plus a few contrast tweaks). */
  --ember-rgb: 232, 105, 42;      /* = --ember, for rgba() glows */
  --ember-hot-rgb: 255, 138, 69;  /* = --ember-hot */
  --ember-deep-rgb: 184, 70, 26;  /* = --ember-deep */
  --ember-light: #ffb07f;         /* link hover, sparks */
  --ember-pale: #ffd2b0;          /* faint sparks */
  --ember-text: var(--ember);     /* accent words in headlines */
  --price-note: #f0b48f;
  --btn-top: var(--ember-hot);
  --btn-mid: var(--ember);
  --btn-bot: #d9591d;
  --btn-text: var(--ink-on-ember);
  --btn-border: var(--ember);
  --btn-focus: #fff8ef;
  --outline-border: var(--ember);
  --radius: 10px;
  --wrap: 1120px;
  --font-head: "Zilla Slab", "Rockwell", "Roboto Slab", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  padding-bottom: 84px; /* room for sticky mobile CTA */
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .6em; letter-spacing: .005em; }
h1 { font-size: clamp(2.4rem, 8.5vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.85rem, 5.5vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.4rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--ember-hot); text-underline-offset: 3px; }
a:hover { color: var(--ember-light); }
strong { color: #fff8ef; }

:focus-visible { outline: 3px solid var(--ember-hot); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; 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: 12px; top: -60px; z-index: 100; background: var(--btn-mid); color: var(--btn-text); padding: 10px 16px; border-radius: 6px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.ember { color: var(--ember-text); }
.small { font-size: .95rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 48px; padding: 12px 22px;
  background: linear-gradient(180deg, var(--btn-top) 0%, var(--btn-mid) 55%, var(--btn-bot) 100%);
  color: var(--btn-text);
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; letter-spacing: .01em;
  text-decoration: none; border: 2px solid var(--btn-border); border-radius: 8px;
  box-shadow: 0 6px 18px -6px rgba(var(--ember-rgb), .55), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer;
}
.btn:hover { color: var(--btn-text); transform: translateY(-1px); box-shadow: 0 10px 26px -8px rgba(var(--ember-hot-rgb), .7), inset 0 1px 0 rgba(255,255,255,.3); }
.btn:active { transform: translateY(0); }
.btn-large { min-height: 56px; padding: 16px 28px; font-size: 1.1rem; }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: .95rem; }
.btn-block { display: flex; width: 100%; }
.btn-outline { background: transparent; color: var(--text); border-color: var(--outline-border); box-shadow: none; }
.btn-outline:hover { background: rgba(var(--ember-rgb), .14); color: #fff; box-shadow: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(22, 21, 20, .92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; letter-spacing: .02em; }
.brand:hover { color: #fff; }
.brand-mark { width: 30px; height: 30px; color: var(--text); flex: none; }
.brand-mark .spark { fill: var(--ember); }
.brand-mark .spark-hot { fill: var(--ember-hot); }
.site-nav, .header-cta { display: none; }
.site-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .97rem; }
.site-nav a:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 56px 0 72px;
  background:
    radial-gradient(ellipse 70% 55% at 50% 115%, rgba(var(--ember-rgb), .42) 0%, rgba(var(--ember-deep-rgb), .18) 40%, transparent 72%),
    radial-gradient(circle at 85% 10%, rgba(255, 255, 255, .035), transparent 40%),
    linear-gradient(180deg, #141312 0%, #1b1917 100%);
  border-bottom: 1px solid var(--line);
}
/* faint sparks */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .8;
  background-image:
    radial-gradient(2px 2px at 12% 78%, var(--ember-light), transparent),
    radial-gradient(1.5px 1.5px at 22% 64%, var(--ember-hot), transparent),
    radial-gradient(2px 2px at 71% 82%, var(--ember-light), transparent),
    radial-gradient(1.5px 1.5px at 80% 70%, var(--ember-hot), transparent),
    radial-gradient(1px 1px at 63% 58%, var(--ember-pale), transparent),
    radial-gradient(1.5px 1.5px at 38% 88%, var(--ember-hot), transparent),
    radial-gradient(1px 1px at 90% 54%, var(--ember-pale), transparent),
    radial-gradient(1px 1px at 6% 52%, var(--ember-pale), transparent);
}
.hero-inner { position: relative; max-width: 860px; }
.eyebrow {
  display: inline-block; margin-bottom: 22px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ember-hot);
  border-left: 3px solid var(--ember); padding-left: 10px;
}
.hero h1 { margin-bottom: .45em; }
.hero h1 .ember { display: block; text-shadow: 0 0 34px rgba(var(--ember-rgb), .35); }
.hero-sub { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.25rem, 3.8vw, 1.6rem); line-height: 1.3; color: var(--text); margin-bottom: 1.1em; }
.hero-body { color: var(--muted); max-width: 680px; font-size: 1.07rem; }
.hero-actions { margin-top: 28px; }
.hero-actions .btn { width: 100%; }
.hero-note { margin: 12px 0 0; font-size: .95rem; color: var(--muted); font-style: italic; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid #262320; border-bottom: 1px solid #262320; }
.section h2 { position: relative; padding-bottom: 14px; }
.section h2::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--ember-hot), var(--ember-deep));
}
.center h2::after { left: 50%; transform: translateX(-50%); }

/* Is this you */
.check-list { list-style: none; margin: 8px 0 24px; padding: 0; }
.check-list li { position: relative; padding: 14px 0 14px 40px; border-bottom: 1px solid var(--line); }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
  content: ""; position: absolute; left: 4px; top: 21px; width: 16px; height: 16px; transform: rotate(45deg);
  background: linear-gradient(135deg, var(--ember-hot), var(--ember-deep));
  box-shadow: 0 0 12px rgba(var(--ember-rgb), .45);
}
.lead-out { font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; color: var(--text); margin: 0; }

/* What changes */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.step { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px 22px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-bottom: 14px; border-radius: 50%;
  font-family: var(--font-head); font-weight: 700; font-size: 1.3rem;
  color: var(--btn-text); background: radial-gradient(circle at 35% 30%, var(--ember-light), var(--ember) 55%, var(--ember-deep));
  box-shadow: 0 0 18px rgba(var(--ember-rgb), .4);
}
.step p { color: var(--muted); margin: 0; }

/* Why the blacksmith */
.blacksmith {
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(var(--ember-rgb), .16), transparent 70%),
    var(--bg);
}
.forge-quote {
  margin: 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--ember);
  font-family: var(--font-head); font-weight: 600; font-size: clamp(1.25rem, 3.6vw, 1.6rem); line-height: 1.45;
}
.forge-quote p { margin: 0; }
.forge-quote strong { color: var(--ember-hot); }

/* Meet Jay */
.meet-grid { display: grid; gap: 32px; }
.headshot-placeholder {
  aspect-ratio: 4 / 5; width: 100%; max-width: 360px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  border: 2px dashed #5a5047; border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 12px, transparent 12px 24px),
    linear-gradient(180deg, #2a2623, #1c1a18);
  color: var(--muted); font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; letter-spacing: .04em;
}
.headshot { display: block; width: 100%; max-width: 360px; height: auto; margin: 0 auto; border-radius: var(--radius); border: 1px solid var(--line); }
.meet-copy p { color: var(--muted); }
.meet-copy p strong { color: var(--text); }

/* Offers */
.offers { display: grid; gap: 20px; align-items: stretch; }
.offer {
  display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px;
}
.offer > p { color: var(--muted); }
.offer-featured {
  border: 2px solid var(--ember);
  background: linear-gradient(180deg, rgba(var(--ember-rgb), .10), rgba(var(--ember-rgb), 0) 45%), var(--panel);
  box-shadow: 0 18px 50px -24px rgba(var(--ember-rgb), .55);
}
.offer-tag { margin: 0 0 8px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ember-hot) !important; }
.offer h3 { margin-bottom: 10px; font-size: 1.6rem; }
.price { margin: 0 0 6px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.price-num { font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--text); }
.price-unit { font-size: .98rem; color: var(--muted); font-weight: 500; }
.price-note { font-size: .92rem; font-weight: 600; color: var(--price-note) !important; margin-bottom: 14px; }
.included { list-style: none; padding: 0; margin: 0 0 16px; }
.included li { position: relative; padding: 6px 0 6px 28px; color: var(--text); }
.included li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 12px; height: 7px; border-left: 3px solid var(--ember); border-bottom: 3px solid var(--ember); transform: rotate(-45deg); }
.offer-actions { margin-top: auto; padding-top: 8px; display: grid; gap: 10px; }
.offer-actions .btn { width: 100%; }
.offer-secondary { display: block; padding: 6px 0 2px; text-align: center; font-size: .95rem; font-weight: 600; color: var(--muted); text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 4px; }
.offer-secondary:hover { color: var(--ember-light); text-decoration-color: currentColor; }
.early-note {
  margin-top: 26px; padding: 18px 20px; border-radius: var(--radius);
  background: rgba(var(--ember-rgb), .1); border: 1px solid rgba(var(--ember-rgb), .45);
}
.early-note p { margin: 0; color: var(--text); }
.early-note strong { color: var(--ember-hot); }

/* Resources */
.resources { display: grid; gap: 20px; }
.resource { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; display: flex; flex-direction: column; align-items: flex-start; }
.resource p { color: var(--muted); }
.resource .btn { margin-top: auto; }

/* Testimonials (hidden by default) */
.testimonials { display: grid; gap: 20px; }
.testimonial { margin: 0; background: var(--panel); border: 1px dashed var(--line); border-radius: var(--radius); padding: 22px; }
.testimonial blockquote { margin: 0 0 10px; font-style: italic; }
.testimonial figcaption { color: var(--muted); font-size: .95rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 18px 44px 18px 0; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-body); font-weight: 500; font-size: 1.7rem; line-height: 1; color: var(--ember);
}
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: #fff; }
.faq details p { color: var(--muted); padding: 0 0 18px; margin: 0; }

/* Final CTA */
.final-cta {
  padding: 76px 0 84px;
  background:
    radial-gradient(ellipse 65% 70% at 50% 100%, rgba(var(--ember-rgb), .38), rgba(var(--ember-deep-rgb), .12) 45%, transparent 75%),
    #141312;
  border-top: 1px solid var(--line);
}
.final-cta h2 { font-size: clamp(2rem, 6vw, 3rem); }
.final-cta p { color: var(--muted); font-size: 1.12rem; margin-bottom: 28px; }

/* Footer */
.site-footer { background: #100f0e; border-top: 1px solid var(--line); padding: 40px 0 28px; font-size: .95rem; }
.crisis { border: 1px solid rgba(var(--ember-rgb), .55); border-left: 5px solid var(--ember); background: rgba(var(--ember-rgb), .08); border-radius: 8px; padding: 16px 18px; margin-bottom: 22px; }
.crisis p { margin: 0; color: var(--text); }
.crisis a { color: var(--ember-light); }
.disclaimer { color: var(--muted); font-size: .9rem; line-height: 1.6; }
.footer-meta { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 8px; color: var(--muted); }
.footer-meta p { margin: 0; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; }

/* Sticky mobile CTA */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(16, 15, 14, .96); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(0,0,0,.45);
}

/* ---------- Larger screens ---------- */
@media (min-width: 640px) {
  .hero-actions .btn { width: auto; }
  .resources { grid-template-columns: 1fr 1fr; }
  .testimonials { grid-template-columns: repeat(3, 1fr); }
  .footer-meta { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (min-width: 900px) {
  body { padding-bottom: 0; font-size: 1.075rem; }
  .mobile-cta { display: none; }
  .header-cta { display: inline-flex; }
  .site-nav { display: block; }
  .header-inner { min-height: 70px; }
  .hero { padding: 104px 0 120px; }
  .section { padding: 96px 0; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .meet-grid { grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
  .headshot-placeholder { margin: 0; }
  .offers { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .offer { padding: 30px 26px; }
}

/* ---------- Refinements after visual review ---------- */
h1, h2, h3, .hero-sub, .lead-out { text-wrap: balance; }
.final-cta p, .hero-body, .forge-quote p { text-wrap: pretty; }
.price { margin-bottom: 14px; }
.price + .price-note { margin-top: -8px; }
.headshot-placeholder, .headshot { max-width: 280px; }
@media (min-width: 900px) {
  .headshot-placeholder, .headshot { max-width: 340px; }
  /* Clarity + Reset stacked on the left, Reforged featured on the right */
  .offers { grid-template-columns: 1fr 1fr; }
  .offer-featured { grid-column: 2; grid-row: 1 / span 2; }
  .offer-featured .included li { font-size: 1.04rem; }
  .final-cta p { max-width: 560px; margin-left: auto; margin-right: auto; }
}
@media (min-width: 1100px) {
  .offers { grid-template-columns: 1fr 1.15fr; }
}
@media (min-width: 900px) {
  .offer-featured { padding: 36px 34px; }
  .offer-featured h3 { font-size: 2.1rem; }
  .offer-featured .price-num { font-size: 3.3rem; }
  .offer-featured .included { margin: 6px 0 22px; }
  .offer-featured .included li { padding: 10px 0 10px 30px; border-bottom: 1px solid rgba(255,255,255,.06); }
  .offer-featured .included li::before { top: 18px; }
  .offer-featured .offer-actions { gap: 12px; }
  .offer-featured .offer-actions .btn { min-height: 54px; font-size: 1.05rem; }
}
.btn:focus-visible { outline: 3px solid var(--btn-focus); outline-offset: 3px; }

/* ---------- Photos ---------- */
.hero-grid { position: relative; display: flex; flex-direction: column; gap: 22px; }
.hero-photo img {
  display: block; width: 112px; height: 112px; object-fit: cover; object-position: 50% 30%;
  border-radius: 50%; border: 3px solid var(--ember);
  box-shadow: 0 0 0 6px rgba(var(--ember-rgb), .15), 0 10px 30px -8px rgba(var(--ember-rgb), .55);
  background: #2a2623;
}
.headshot { aspect-ratio: 1 / 1; object-fit: cover; box-shadow: 0 20px 50px -24px rgba(0,0,0,.8); }
.headshot-col picture { display: block; }
@media (min-width: 900px) {
  .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; align-items: center; }
  .hero-photo { order: 2; position: relative; }
  .hero-photo::before {
    content: ""; position: absolute; inset: auto -30px -40px -30px; height: 55%; z-index: 0;
    background: radial-gradient(ellipse at 50% 100%, rgba(var(--ember-rgb), .45), transparent 70%); filter: blur(10px);
  }
  .hero-photo img {
    position: relative; z-index: 1;
    width: 100%; height: auto; aspect-ratio: 4 / 5; object-position: 50% 15%;
    border-radius: 14px; border: 1px solid #4a423b;
    box-shadow: 0 30px 70px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(var(--ember-rgb), .25);
  }
  .hero-inner { max-width: none; }
}
@media (min-width: 1100px) { .hero-grid { grid-template-columns: minmax(0, 1fr) 420px; } }
.eyebrow { text-wrap: balance; }

/* ---------- Oct 2 additions: intro video + guide covers ---------- */
.video-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 8px auto 18px;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: #0f0e0d; box-shadow: 0 30px 70px -34px rgba(0,0,0,.9);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-placeholder {
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse 60% 70% at 50% 110%, rgba(var(--ember-rgb), .30), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.022) 0 12px, transparent 12px 24px),
    linear-gradient(180deg, #22201e, #141312);
  border-style: dashed;
}
.video-placeholder-inner { text-align: center; color: var(--muted); }
.video-placeholder-inner p { margin: 12px 0 0; font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; letter-spacing: .03em; }
.play-mark {
  display: inline-block; width: 68px; height: 68px; border-radius: 50%;
  border: 2px solid rgba(var(--ember-hot-rgb), .8); position: relative;
  box-shadow: 0 0 0 8px rgba(var(--ember-rgb), .12);
}
.play-mark::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%);
  border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent var(--ember-hot);
}
.video-note { color: var(--muted); margin: 0; }

.resource { flex-direction: row; gap: 18px; align-items: stretch; }
.resource-cover { flex: 0 0 auto; width: 96px; }
.resource-cover img { display: block; width: 100%; height: auto; border-radius: 4px; border: 1px solid var(--line); box-shadow: 0 14px 30px -14px rgba(0,0,0,.85); }
.resource-body { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.resource-body h3 { margin-top: 0; }
.resource-body .btn { margin-top: auto; }
.resource-featured { border-color: rgba(var(--ember-rgb), .55); }
@media (min-width: 900px) { .resource-cover { width: 130px; } }
@media (max-width: 420px) { .resource { flex-direction: column; } .resource-cover { width: 120px; } }

/* ---------- Oct 5: Resources link in the header on phones (desktop uses the main nav) ---------- */
.header-mobile-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: var(--text); font-weight: 600; text-decoration: none; }
.header-mobile-link:hover { color: #fff; text-decoration: underline; }
.site-nav a[aria-current="page"] { color: var(--text); text-decoration: underline; text-decoration-color: var(--gold, currentColor); text-underline-offset: 6px; }
@media (min-width: 900px) { .header-mobile-link { display: none; } }
.site-nav a, .brand-text, .header-cta { white-space: nowrap; }
@media (min-width: 900px) and (max-width: 1099px) {
  .site-nav ul { gap: 18px; }
  .site-nav .nav-wide-only { display: none; } /* "Free guide" returns at 1100px+; Resources covers it in between */
}
