:root {
  --bg: #0d0907;
  --bg-2: #16100c;
  --card: #1d1510;
  --line: #3a2a1f;
  --text: #f3e9df;
  --muted: #b9a594;
  --fire: #ff7a1a;
  --fire-2: #ffb347;
  --ember: #d9410f;
  --glow: 0 0 0 1px rgba(255, 122, 26, .5), 0 0 28px rgba(255, 106, 0, .35);
  --serif: 'Cinzel', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--fire-2); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.25rem; }
.eyebrow {
  margin: 0 0 .6rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fire);
}
.lede { font-size: 1.12rem; color: var(--muted); }

.btn {
  display: inline-block;
  border: 0;
  border-radius: 999px;
  padding: .85rem 1.6rem;
  font: 600 1rem var(--sans);
  text-decoration: none;
  cursor: pointer;
}
.btn-fire {
  color: #1a0d05;
  background: linear-gradient(180deg, var(--fire-2), var(--fire) 55%, var(--ember));
  box-shadow: 0 6px 24px rgba(255, 100, 20, .35);
  transition: transform .15s, box-shadow .15s;
}
.btn-fire:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(255, 100, 20, .5); }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem clamp(16px, 4vw, 48px);
  background: linear-gradient(180deg, rgba(13, 9, 7, .92), rgba(13, 9, 7, 0));
  backdrop-filter: blur(2px);
}
.brand { font: 900 1.25rem var(--serif); color: var(--text); text-decoration: none; letter-spacing: .04em; }
.brand span { color: var(--fire); }
.nav nav { display: flex; gap: clamp(.9rem, 3vw, 2rem); }
.nav nav a { color: var(--text); text-decoration: none; font-size: .92rem; opacity: .85; }
.nav nav a:hover { opacity: 1; color: var(--fire-2); }
.nav nav a[aria-current="page"] { opacity: 1; color: var(--fire-2); }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 110px clamp(16px, 6vw, 80px) 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background: url(assets/hero-fire.jpg) center 70% / cover no-repeat;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 6, 4, .92) 0%, rgba(10, 6, 4, .6) 45%, rgba(10, 6, 4, .1) 75%),
    linear-gradient(0deg, var(--bg) 0%, transparent 25%);
}
.hero-text { max-width: 620px; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); text-shadow: 0 2px 30px rgba(0, 0, 0, .6); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2rem; }
.promo-pill {
  border: 1px solid rgba(255, 179, 71, .5);
  border-radius: 999px;
  padding: .55rem 1.1rem;
  font-size: .92rem;
  color: var(--fire-2);
  background: rgba(20, 10, 4, .55);
}
.embers { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.embers::before, .embers::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -10%; height: 120%;
  background-image:
    radial-gradient(2px 2px at 20% 80%, #ffb347, transparent),
    radial-gradient(2px 2px at 55% 90%, #ff7a1a, transparent),
    radial-gradient(1.5px 1.5px at 75% 70%, #ffd08a, transparent),
    radial-gradient(2px 2px at 88% 95%, #ff7a1a, transparent),
    radial-gradient(1.5px 1.5px at 35% 60%, #ffb347, transparent),
    radial-gradient(2px 2px at 65% 50%, #ff9a3c, transparent);
  animation: rise 9s linear infinite;
  opacity: .8;
}
.embers::after { animation-duration: 13s; animation-delay: -6s; transform: scaleX(-1); }
@keyframes rise {
  from { transform: translateY(0); opacity: 0; }
  15% { opacity: .9; }
  to { transform: translateY(-60%); opacity: 0; }
}
.embers::after { animation-name: rise-flip; }
@keyframes rise-flip {
  from { transform: scaleX(-1) translateY(0); opacity: 0; }
  15% { opacity: .9; }
  to { transform: scaleX(-1) translateY(-60%); opacity: 0; }
}

/* Sections */
section { padding: clamp(64px, 10vw, 120px) clamp(16px, 6vw, 80px); }
.section-head { max-width: 680px; margin: 0 auto 2.5rem; text-align: center; }
.section-head p:not(.eyebrow) { color: var(--muted); }
.section-head h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.page-top { padding-top: clamp(110px, 14vw, 150px); min-height: 70vh; }

/* Home: three ways in */
.paths {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem;
  max-width: 1280px; margin: 0 auto;
}
.path {
  display: flex; flex-direction: column;
  padding: 1.6rem; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--fire);
  color: var(--text); text-decoration: none;
  transition: transform .2s, box-shadow .25s, border-color .25s;
}
.path:hover { transform: translateY(-4px); box-shadow: var(--glow); }
.path h2 { font-size: 1.45rem; }
.path p:not(.eyebrow) { color: var(--muted); margin: 0 0 1.2rem; }
.path-go { margin-top: auto; color: var(--fire-2); font-weight: 600; }

/* Forge */
.forge { background: radial-gradient(ellipse at 50% 0%, #2a160b 0%, var(--bg) 60%); }
.steps {
  display: flex; justify-content: center; gap: .5rem;
  list-style: none; padding: 0; margin: 0 auto 2rem;
  counter-reset: step; flex-wrap: wrap;
}
.steps li {
  counter-increment: step;
  font-size: .85rem; color: var(--muted);
  padding: .4rem .9rem; border: 1px solid var(--line); border-radius: 999px;
  transition: all .3s;
}
.steps li::before { content: counter(step) '. '; }
.steps li.on { color: var(--fire-2); border-color: var(--fire); box-shadow: 0 0 14px rgba(255, 122, 26, .25); }

.goals {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  max-width: 1280px; margin: 0 auto;
}
.goal {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; text-align: left;
  padding: 0; border: 1px solid var(--line); border-radius: 14px;
  background: var(--card); color: var(--text); font: inherit; cursor: pointer;
  transition: transform .2s, box-shadow .25s, border-color .25s;
}
.goal img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(.75) brightness(.8); transition: filter .3s, transform .4s; }
.goal:hover { transform: translateY(-4px); border-color: #5a3a24; }
.goal:hover img { filter: saturate(1) brightness(.95); transform: scale(1.04); }
.goal.on { border-color: var(--fire); box-shadow: var(--glow); }
.goal.on img { filter: sepia(.25) saturate(1.3) brightness(1); }
.goal-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .4rem; }
.goal-name { font: 700 1.05rem var(--serif); }
.goal.on .goal-name { color: var(--fire-2); }
.goal-blurb { font-size: .86rem; color: var(--muted); line-height: 1.5; }
.goals:has(.goal.on) .goal:not(.on) { opacity: .55; }
.goals:has(.goal.on) .goal:not(.on):hover { opacity: .9; }

.anvil {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 1.5rem;
  max-width: 1280px; margin: 2rem auto 0;
}
.anvil.lit .consult { animation: heat .7s ease-out both; }
.anvil.lit .addon { animation: strike .5s ease-out both; animation-delay: calc(.25s + var(--i) * .08s); }
@keyframes heat {
  from { opacity: 0; transform: translateY(14px); box-shadow: 0 0 0 1px var(--fire), 0 0 60px rgba(255, 106, 0, .7); }
  to { opacity: 1; transform: none; }
}
@keyframes strike {
  from { opacity: 0; transform: translateY(16px) scale(.97); }
  to { opacity: 1; transform: none; }
}
.consult {
  padding: 1.5rem 1.6rem; border-radius: 14px;
  background: linear-gradient(135deg, #2a170c, var(--card));
  border: 1px solid #5a341b;
}
.consult-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.consult-head h3 { font-size: 1.5rem; margin: 0; }
.price { font: 700 1.6rem var(--serif); color: var(--fire-2); white-space: nowrap; }
.consult-len { margin: .2rem 0 .6rem; color: var(--fire); font-size: .9rem; font-weight: 500; }
.consult p:last-child { margin: 0; color: var(--muted); }

.block-title { font-size: 1.35rem; margin: 2rem 0 .3rem; }
.lore { font-style: italic; color: var(--fire-2); opacity: .9; margin: 0 0 .6rem; }
.options { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .9rem; margin-top: .9rem; }
.option {
  display: flex; flex-direction: column; gap: .35rem; text-align: left;
  padding: 1rem 1.1rem; border-radius: 12px;
  border: 1px solid #4a3526; background: var(--bg-2);
  color: var(--text); font: inherit; cursor: pointer;
  transition: border-color .2s, background .2s, box-shadow .25s;
}
.option:hover { border-color: var(--fire); }
.option.on { border-color: var(--fire); background: #26150b; box-shadow: var(--glow); }
.option-top { display: flex; justify-content: space-between; gap: .6rem; align-items: baseline; }
.option-name { font: 700 1.05rem var(--serif); }
.option.on .option-name { color: var(--fire-2); }
.option-name::before {
  content: ''; display: inline-block; vertical-align: -.1em;
  width: .9rem; height: .9rem; margin-right: .5rem; border-radius: 50%;
  border: 2px solid var(--fire); transition: all .2s;
}
.option.on .option-name::before { background: var(--fire); box-shadow: inset 0 0 0 2px var(--bg-2); }
.option-price { color: var(--fire-2); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.option-len { color: var(--fire); font-size: .82rem; font-weight: 500; }
.option-lore { font-size: .84rem; font-style: italic; color: var(--fire-2); opacity: .8; line-height: 1.45; }
.option-text { font-size: .86rem; color: var(--muted); line-height: 1.5; }
.anvil.lit .option { animation: strike .5s ease-out both; animation-delay: calc(.2s + var(--i) * .08s); }
.addons-hint { margin: 0 0 1rem; color: var(--muted); font-size: .9rem; }
.addons { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .9rem; }
.addon {
  position: relative;
  display: flex; flex-direction: column; gap: .4rem; text-align: left;
  padding: 1rem 1.1rem 1rem 1.1rem; border-radius: 12px;
  border: 1px dashed #4a3526; background: var(--bg-2);
  color: var(--text); font: inherit; cursor: pointer;
  transition: border-color .2s, background .2s, box-shadow .25s;
}
.addon:hover { border-color: var(--fire); }
.addon.on { border-style: solid; border-color: var(--fire); background: #26150b; box-shadow: var(--glow); }
.addon-top { display: flex; justify-content: space-between; gap: .6rem; align-items: baseline; }
.addon-top, .option-top { flex-wrap: wrap; row-gap: .15rem; }
.addon-name { font-weight: 600; }
.addon-name::before {
  content: '+'; display: inline-grid; place-items: center;
  width: 1.3rem; height: 1.3rem; margin-right: .45rem; border-radius: 50%;
  border: 1px solid var(--fire); color: var(--fire); font-size: .85rem; line-height: 1;
  transition: all .2s;
}
.addon.on .addon-name::before { content: '✓'; background: var(--fire); color: #1a0d05; }
.addon-price { color: var(--fire-2); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.addon-text { font-size: .86rem; color: var(--muted); line-height: 1.5; }

.summary {
  align-self: start; position: sticky; top: 84px;
  padding: 1.4rem; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line);
}
.summary ul { list-style: none; padding: 0; margin: 0 0 1rem; }
.summary li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .92rem;
}
.summary li span:last-child { color: var(--fire-2); white-space: nowrap; }
.summary li.empty span { color: var(--muted); font-style: italic; }
.tally { margin: -.4rem 0 1rem; display: grid; gap: .35rem; font-size: .92rem; }
.tally div { display: flex; justify-content: space-between; gap: 1rem; }
.tally div span:last-child { white-space: nowrap; }
.tally-discount { color: var(--fire-2); }
.tally-total { padding-top: .5rem; border-top: 1px solid var(--line); font: 700 1.1rem var(--serif); }
.tally-total span:last-child { color: var(--fire-2); }
.tally-note { margin: 0; font-size: .78rem; color: var(--muted); }
#addons-block.lit .block-title, #addons-block.lit .addons-hint { animation: heat .6s ease-out both; }
#addons-block.lit .addon { animation: strike .5s ease-out both; animation-delay: calc(.15s + var(--i) * .08s); }
.summary-promo { font-size: .88rem; color: var(--muted); margin: 0 0 1.2rem; }
.summary-promo strong { color: var(--fire-2); }
.summary .btn { width: 100%; text-align: center; }
.btn.disabled { opacity: .45; pointer-events: none; box-shadow: none; }
.summary-note { margin: .7rem 0 0; font-size: .78rem; color: var(--muted); text-align: center; }

/* The email draft shown under "Write my email" */
.draft { margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid var(--line); display: grid; gap: .6rem; }
.draft-field {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .5rem;
  padding: .55rem .6rem; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line);
}
.draft-label { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fire); }
.draft-label span { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); }
.draft-value { font-size: .85rem; color: var(--text); overflow-wrap: anywhere; }
.draft textarea {
  width: 100%; padding: .7rem .75rem; border-radius: 8px;
  border: 1px solid var(--line); background: var(--bg-2); color: var(--text);
  font: .86rem/1.5 var(--sans); resize: vertical;
}
.draft textarea:focus { outline: none; border-color: var(--fire); box-shadow: 0 0 0 3px rgba(255, 122, 26, .2); }
.copy {
  border: 1px solid var(--fire); border-radius: 999px; background: transparent;
  color: var(--fire-2); font: 600 .78rem var(--sans); padding: .3rem .75rem; cursor: pointer;
  transition: background .15s, color .15s;
}
.copy:hover, .copy.done { background: var(--fire); color: #1a0d05; }
.copy-wide { padding: .55rem; font-size: .88rem; }

/* About */
.bio {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4rem);
  max-width: 1180px; margin: 0 auto; align-items: start;
}
.bio-photo img { border-radius: 16px; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 0 20px 60px rgba(255, 90, 10, .18); }
.bio-text h1 { font-size: clamp(2.1rem, 4.5vw, 3.1rem); }
.bio-text p:not(.eyebrow):not(.lede) { color: var(--muted); }
.bio-text .btn { margin-top: .8rem; }

/* Contact */
.contact { background: radial-gradient(ellipse at 50% 100%, #2a160b 0%, var(--bg) 65%); }
.email-card {
  max-width: 720px; margin: 0 auto; text-align: center;
  padding: clamp(1.6rem, 5vw, 2.6rem); border-radius: 16px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--glow);
}
.email-big {
  display: inline-block; margin: .2rem 0 1rem;
  font: 600 clamp(1.05rem, 3.6vw, 1.6rem) var(--sans); color: var(--fire-2);
  text-decoration: none; word-break: break-word;
}
.email-big:hover { text-decoration: underline; }
.email-card p:not(.eyebrow) { margin: 0; color: var(--muted); }

/* Testimonials (template) */
.template-banner {
  max-width: 820px; margin: 0 auto 2rem; padding: .7rem 1rem; border-radius: 10px;
  border: 1px dashed var(--fire); color: var(--fire-2); font-size: .88rem; text-align: center;
  background: rgba(255, 122, 26, .07);
}
.quotes {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem;
  max-width: 1180px; margin: 0 auto;
}
.quote {
  margin: 0; display: flex; flex-direction: column; gap: 1rem;
  padding: 1.5rem; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line);
}
.quote-wide { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; column-gap: 1.5rem; align-items: center; }
.quote-wide .quote-photo { grid-row: span 2; }
.quote-photo {
  width: 76px; height: 76px; border-radius: 50%;
  border: 2px dashed #5a3a24;
  background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='24' r='12' fill='%233a2a1f'/%3E%3Cpath d='M10 58c2-13 11-20 22-20s20 7 22 20' fill='%233a2a1f'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.quote blockquote { margin: 0; color: var(--text); font-style: italic; line-height: 1.6; }
.quote blockquote::before { content: '\201C'; font: 700 2.2rem/0 var(--serif); color: var(--fire); vertical-align: -.45em; margin-right: .2rem; }
.quote figcaption { display: flex; flex-direction: column; gap: .1rem; font-size: .9rem; }
.quote figcaption span { color: var(--muted); }
.quote-link { color: var(--fire-2); text-decoration: none; font-weight: 500; }

/* Footer */
.footer {
  padding: 2rem clamp(16px, 6vw, 80px) 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: .85rem; text-align: center;
}
.footer p { margin: 0 0 .6rem; }
.credits summary { cursor: pointer; }
.credits ul { list-style: none; padding: 0; margin: .8rem auto 0; max-width: 720px; font-size: .78rem; }
.credits li { margin-bottom: .3rem; }

/* Responsive */
@media (max-width: 1100px) {
  .goals { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .paths { grid-template-columns: 1fr 1fr; }
  .quotes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .anvil { grid-template-columns: 1fr; }
  .summary { position: static; }
  .paths { grid-template-columns: 1fr; }
  .bio { grid-template-columns: 1fr; }
  .bio-photo img { aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .nav { padding: .7rem 16px .6rem; flex-direction: column; gap: .35rem; background: rgba(13, 9, 7, .94); }
  .nav nav { gap: 1rem; }
  .nav nav a { font-size: .84rem; }
  .page-top { padding-top: 130px; }
  .brand { font-size: 1.05rem; }
  .quotes { grid-template-columns: 1fr; }
  .quote-wide { display: flex; }
  .goals { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .goal:last-child { grid-column: span 2; }
  .goal:last-child img { aspect-ratio: 16 / 7; }
  .goal-blurb { display: none; }
  .goal-body { padding: .7rem .8rem .8rem; }
  .goal-name { font-size: .95rem; }
  .hero { align-items: flex-start; padding-top: 120px; }
  .hero-bg { background-position: 60% 100%; }
  .hero-bg::after {
    background: linear-gradient(180deg, rgba(10, 6, 4, .85) 0%, rgba(10, 6, 4, .55) 55%, rgba(10, 6, 4, .2) 80%, var(--bg) 100%);
  }
  .consult-head { flex-direction: column; gap: .2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
