/* Phoenix Red Diamond — "Phoenix Rising" theme */
:root {
  --ember: #A3122A;        /* brand burgundy-red (from the Red Diamond logo) */
  --ember-dark: #7E0D20;
  --flame: #D9452B;
  --gold: #E3A33B;         /* sunrise gold */
  --gold-deep: #B97A17;
  --gold-soft: #FBEBCB;
  --rose-soft: #FBE7EA;
  --night: #0F1E36;
  --night-2: #18304F;
  --ink: #1E1719;
  --ink-2: #554A4C;
  --cream: #FCF7F0;
  --line: #EADFD3;
  --white: #FFFFFF;
  --radius: 16px;
  --max: 1200px;
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sunrise: linear-gradient(135deg, var(--ember) 0%, var(--flame) 55%, var(--gold) 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.68; color: var(--ink); background: var(--cream); }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--ember); text-underline-offset: 3px; }
a:hover { color: var(--ember-dark); }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
em.flourish { font-family: var(--serif); font-style: italic; font-weight: 600; color: var(--gold); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 100; }

/* ---------- Header ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header::after { content: ""; display: block; height: 3px; background: var(--sunrise); }
.header-row { display: flex; position: relative; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--serif); font-size: 1.35rem; font-weight: 700; white-space: nowrap; }
.brand img { width: 36px; height: 36px; }
.brand span { color: var(--ember); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; font: inherit; color: var(--ink); cursor: pointer; }
.site-nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; align-items: center; }
.site-nav a { display: block; white-space: nowrap; padding: 8px 8px; text-decoration: none; color: var(--ink-2); border-radius: 8px; font-size: .93rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ember); background: var(--rose-soft); }
.site-nav a.btn { color: var(--white); background: var(--ember); margin-left: 6px; padding: 9px 16px; }
.site-nav a.btn:hover { background: var(--ember-dark); color: var(--white); }
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 71px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px #0000001a; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 8px 16px 16px; }
  .site-nav a { font-size: 1rem; padding: 10px 12px; }
  .site-nav a.btn { margin: 8px 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-block; background: var(--ember); color: var(--white); text-decoration: none; padding: 12px 24px; border-radius: 999px; font-weight: 600; border: 2px solid var(--ember); transition: background .15s, transform .15s; }
.btn:hover { background: var(--ember-dark); border-color: var(--ember-dark); color: var(--white); transform: translateY(-1px); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--night); }
.btn.gold:hover { background: #F0B758; border-color: #F0B758; color: var(--night); }
.btn.ghost { background: transparent; color: var(--ember); }
.btn.ghost:hover { background: var(--rose-soft); color: var(--ember-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn-row.center { justify-content: center; }

/* ---------- Hero (sunrise over night) ---------- */
.hero { position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(ellipse 70% 55% at 78% 105%, #E3A33B66 0%, #D9452B44 35%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 0%, #A3122A44 0%, transparent 70%),
    var(--night);
  padding: 76px 0 84px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px; align-items: center; }
.hero h1 { color: var(--white); }
.hero p { color: #EADFDA; max-width: 54ch; font-size: 1.13rem; }
.hero .eyebrow { color: var(--gold); }
.hero .btn.ghost { color: var(--white); border-color: #ffffff59; }
.hero .btn.ghost:hover { background: #ffffff14; }
.hero-art { justify-self: center; width: min(360px, 90%); filter: drop-shadow(0 0 30px #E3A33B40); }
.promo { display: inline-flex; gap: 8px; align-items: center; margin-top: 22px; padding: 8px 14px; border: 1px dashed #E3A33B99; border-radius: 999px; color: var(--gold-soft); font-size: .92rem; }
.promo strong { color: var(--gold); letter-spacing: .06em; }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { width: 200px; order: -1; justify-self: start; }
  .hero { padding: 48px 0 60px; }
}

.page-head { position: relative; overflow: hidden; color: var(--white); padding: 56px 0 44px;
  background: radial-gradient(ellipse 60% 120% at 95% 120%, #E3A33B55 0%, #D9452B33 40%, transparent 75%), var(--night); }
.page-head h1 { color: var(--white); max-width: 22ch; }
.page-head p { color: #E5D9D4; max-width: 62ch; font-size: 1.08rem; margin: 0; }
.page-head .eyebrow, .page-head .eyebrow a { color: var(--gold); }
.page-head .head-art { position: absolute; right: 4%; bottom: -30px; width: 190px; opacity: .55; pointer-events: none; }
@media (max-width: 700px) { .page-head .head-art { width: 120px; right: -10px; opacity: .3; } }

.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--ember); margin-bottom: .7em; display: block; }
.eyebrow::before { content: "◆ "; color: var(--gold); }

/* ---------- Sections ---------- */
section { padding: 60px 0; }
section.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.dark { background: var(--night); color: #E9DFDB; }
section.dark h2, section.dark h3 { color: var(--white); }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 62ch; }
.mt { margin-top: 26px; }
.mt-s { margin-top: 14px; }
.center-text { text-align: center; }
.center-text .lead { margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid.tight { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
section.alt .card { background: var(--cream); }
.card.accent { border-top: 4px solid var(--gold); }
.card.feature { background: var(--night-2); color: #E9DFDB; border-color: #3a2b2e; }
.card.feature h3 { color: var(--white); }
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
.card.empty { text-align: center; padding: 44px 24px; }
.tag { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ember); background: var(--rose-soft); padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.tag.gold { color: var(--gold-deep); background: var(--gold-soft); }
.price { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--ink); margin: .1em 0 .3em; line-height: 1.1; }
.price small { font-family: var(--sans); font-size: .9rem; font-weight: 500; color: var(--ink-2); }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps li { counter-increment: step; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 22px 66px; position: relative; }
.steps li::before { content: counter(step); position: absolute; left: 20px; top: 20px; width: 32px; height: 32px; border-radius: 50%; background: var(--sunrise); color: var(--white); font-weight: 700; display: grid; place-items: center; font-size: .92rem; }
.steps strong { display: block; margin-bottom: 4px; }

.split { display: grid; gap: 36px; grid-template-columns: 1.2fr 1fr; align-items: center; }
.split.top { align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.photo { border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 40px #0F1E3626; border: 1px solid var(--line); background: var(--white); }
.photo img { width: 100%; }
.photo.dark { background: #000; border-color: #000; }

.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { padding-left: 30px; position: relative; margin-bottom: 9px; }
.checklist li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 12px; background: var(--sunrise); transform: rotate(45deg); border-radius: 2px; }
section.dark .checklist li { color: #E9DFDB; }

.notice { background: var(--gold-soft); border-left: 4px solid var(--gold); border-radius: 10px; padding: 16px 18px; font-size: .96rem; }
.notice.red { background: var(--rose-soft); border-color: var(--ember); }
.notice p:last-child { margin: 0; }

.quote-band { text-align: center; }
.quote-band blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3.4vw, 2.2rem); line-height: 1.3; margin: 0 auto 10px; max-width: 30ch; color: var(--white); }
.quote-band p { color: var(--gold); letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; font-weight: 700; }

.cta-band { background: var(--sunrise); color: var(--white); text-align: center; padding: 60px 0; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #FFF1E0; max-width: 56ch; margin: 0 auto 1.2em; }
.cta-band .btn { background: var(--white); color: var(--ember); border-color: var(--white); }
.cta-band .btn:hover { background: var(--gold-soft); }

/* Tiers (donate) */
.tiers { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.tier { text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 18px; }
.tier .price { font-size: 2.2rem; }
.tier.highlight { border: 2px solid var(--gold); box-shadow: 0 10px 30px #E3A33B33; }

/* Roadmap */
.timeline { position: relative; display: grid; gap: 22px; }
.phase { display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: start; }
.phase-label { font-family: var(--serif); font-weight: 700; font-size: 1.4rem; color: var(--ember); border-right: 3px solid var(--gold); padding-right: 16px; text-align: right; }
.phase-label small { display: block; font-family: var(--sans); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
@media (max-width: 640px) { .phase { grid-template-columns: 1fr; gap: 8px; } .phase-label { text-align: left; border-right: 0; border-bottom: 3px solid var(--gold); padding: 0 0 6px; } }

/* Assessment catalog */
.catalog-cat h3 { display: flex; align-items: center; gap: 10px; }
.catalog-cat ul { margin: 0; padding-left: 18px; color: var(--ink-2); }
.catalog-cat li { margin-bottom: 4px; }

/* Video */
.video-frame { aspect-ratio: 16 / 9; border-radius: var(--radius); background: var(--night); display: grid; place-items: center; color: #CFC3BF; text-align: center; padding: 20px; border: 1px solid #3a2b2e; }
.video-frame img { width: 90px; margin: 0 auto 12px; opacity: .8; }

/* Blog */
.post-list { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.post-list a { text-decoration: none; color: inherit; display: block; }
.post-list .card { height: 100%; border-top: 4px solid var(--gold); transition: transform .15s, border-color .15s; }
.post-list a:hover .card { transform: translateY(-2px); border-color: var(--ember); }
.post-meta { color: var(--ink-2); font-size: .88rem; margin-bottom: .6em; }
.page-head .post-meta { color: #CFC3BF; }
.article { max-width: 70ch; }
.article h2 { margin-top: 1.4em; font-size: 1.6rem; }
.article li { margin-bottom: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: #CFC3BF; padding: 0 0 28px; font-size: .92rem; }
.site-footer::before { content: ""; display: block; height: 4px; background: var(--sunrise); margin-bottom: 44px; }
.site-footer a { color: #F5C98A; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 2fr 1fr 1fr 1fr; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
.site-footer h4 { color: var(--white); margin: 0 0 10px; font-size: 1.2rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 7px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.footer-brand img { width: 40px; }
.footer-bottom { border-top: 1px solid #ffffff1f; margin-top: 30px; padding-top: 18px; font-size: .85rem; color: #A69A96; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

[hidden] { display: none !important; }
.promo-light { display: inline-block; padding: 10px 16px; border: 1px dashed var(--gold); border-radius: 999px; background: var(--gold-soft); color: var(--ink); }
section.dark .eyebrow, .card.feature .eyebrow { color: var(--gold); }

/* =====================================================================
   v3 — living phoenix hero + softer, more artistic layout
   ===================================================================== */

/* Real logo in the header */
.brand img.brand-logo { width: auto; height: 50px; }
.brand .brand-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Eyebrows: handwritten-feeling serif instead of shouty caps */
.eyebrow { text-transform: none; letter-spacing: 0; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.2rem; }
.eyebrow::before { content: ""; display: inline-block; width: 9px; height: 9px; margin: 0 10px 2px 0; background: var(--sunrise); transform: rotate(45deg); border-radius: 2px; vertical-align: middle; }

/* ---------- Hero ---------- */
.hero { min-height: min(86vh, 760px); display: flex; align-items: center; padding: 90px 0 120px; background: var(--night); }
.hero-bg { position: absolute; top: 0; right: 0; height: 100%; width: min(64%, 980px); object-fit: cover; object-position: center 28%; transform-origin: 60% 40%; animation: breathe 16s ease-in-out infinite alternate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, var(--night) 34%, #0F1E36d9 46%, #0F1E3666 62%, transparent 80%),
    linear-gradient(0deg, var(--night) 0%, transparent 28%); }
.hero-glow { position: absolute; z-index: 1; right: 14%; top: 18%; width: 46%; aspect-ratio: 1; border-radius: 50%; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(circle, #F6C86A55 0%, #E3622B22 40%, transparent 70%); animation: flicker 5s ease-in-out infinite; }
.hero .wrap { position: relative; z-index: 3; width: 100%; }
.hero-copy { max-width: 560px; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); line-height: 1.02; text-shadow: 0 2px 30px #000a; }
.hero h1 .line { display: block; }
.hero h1 .line.glow { background: linear-gradient(90deg, #F7C25C, #E3622B 60%, #F7C25C); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: shimmer 7s linear infinite; font-style: italic; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 64px; z-index: 2; background: url(/assets/edge-cream-up.svg) center bottom / 100% 100% no-repeat; }

/* Rising embers */
.embers { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.embers span { position: absolute; bottom: -20px; width: 6px; height: 6px; border-radius: 50%; background: #F8CF77; box-shadow: 0 0 10px 3px #E3622Bcc; opacity: 0; animation: rise 9s linear infinite; }
.embers span:nth-child(1)  { left: 52%; animation-delay: 0s;   animation-duration: 8s; }
.embers span:nth-child(2)  { left: 58%; animation-delay: 1.2s; width: 4px; height: 4px; }
.embers span:nth-child(3)  { left: 64%; animation-delay: 2.6s; animation-duration: 11s; }
.embers span:nth-child(4)  { left: 70%; animation-delay: .6s;  width: 3px; height: 3px; }
.embers span:nth-child(5)  { left: 76%; animation-delay: 3.4s; animation-duration: 10s; }
.embers span:nth-child(6)  { left: 82%; animation-delay: 1.8s; width: 5px; height: 5px; }
.embers span:nth-child(7)  { left: 88%; animation-delay: 4.2s; animation-duration: 12s; }
.embers span:nth-child(8)  { left: 94%; animation-delay: 2.2s; width: 3px; height: 3px; }
.embers span:nth-child(9)  { left: 61%; animation-delay: 5s;   animation-duration: 9.5s; width: 4px; height: 4px; }
.embers span:nth-child(10) { left: 73%; animation-delay: 6.1s; animation-duration: 13s; }
.embers span:nth-child(11) { left: 85%; animation-delay: 7s;   width: 4px; height: 4px; }
.embers span:nth-child(12) { left: 46%; animation-delay: 3.9s; animation-duration: 14s; width: 3px; height: 3px; }
.embers span:nth-child(13) { left: 67%; animation-delay: 8.2s; width: 5px; height: 5px; }
.embers span:nth-child(14) { left: 91%; animation-delay: 5.6s; animation-duration: 10.5s; }

@keyframes rise {
  0%   { transform: translate(0, 0) scale(1); opacity: 0; }
  10%  { opacity: 1; }
  50%  { transform: translate(-24px, -45vh) scale(.85); }
  85%  { opacity: .8; }
  100% { transform: translate(18px, -92vh) scale(.4); opacity: 0; }
}
@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.07) translateY(-1.5%); } }
@keyframes flicker { 0%, 100% { opacity: .75; } 30% { opacity: 1; } 55% { opacity: .6; } 75% { opacity: .95; } }
@keyframes shimmer { to { background-position: -200% 0; } }

@media (max-width: 820px) {
  .hero { min-height: 0; padding: 300px 0 96px; align-items: flex-end; }
  .hero-bg { width: 100%; height: 72%; object-position: center 20%; }
  .hero::before { background: linear-gradient(0deg, var(--night) 34%, #0F1E36cc 48%, transparent 78%); }
  .hero-glow { right: 10%; top: 6%; width: 80%; }
}

/* ---------- Page headers: real phoenix fading in from the dark ---------- */
.page-head { padding: 64px 0 92px; }
.page-head .wrap { position: relative; z-index: 2; }
.page-head .head-art { top: 0; bottom: auto; right: 0; height: 100%; width: auto; max-width: 48%; opacity: .95; mix-blend-mode: screen; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%); mask-image: linear-gradient(90deg, transparent 0%, #000 45%); }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 54px; z-index: 3; background: url(/assets/edge-cream-up.svg) center bottom / 100% 100% no-repeat; }
@media (max-width: 700px) { .page-head .head-art { width: auto; max-width: 70%; opacity: .5; right: -20px; } }

/* ---------- Dark sections get flowing edges instead of hard lines ---------- */
section { padding: 76px 0; }
section.dark, .site-footer { position: relative; }
section.dark::before, section.dark::after { content: ""; position: absolute; left: 0; right: 0; height: 56px; z-index: 1; pointer-events: none; }
section.dark::before { top: -55px; background: url(/assets/edge-night-up.svg) center bottom / 100% 100% no-repeat; }
section.dark::after { bottom: -55px; background: url(/assets/edge-night-down.svg) center top / 100% 100% no-repeat; }
section.dark > .wrap { position: relative; z-index: 2; }
section.alt { border: 0; background: linear-gradient(180deg, var(--cream), #fff 18%, #fff 82%, var(--cream)); }
.site-footer::before { content: ""; display: block; position: absolute; left: 0; right: 0; top: -55px; height: 56px; margin: 0; background: url(/assets/edge-night-up.svg) center bottom / 100% 100% no-repeat; }
.site-footer { padding-top: 40px; margin-top: 56px; }
.cta-band { position: relative; border-radius: 0; clip-path: ellipse(120% 100% at 50% 100%); padding-top: 84px; }

/* ---------- Softer cards ---------- */
.card { border: 0; border-radius: 26px 26px 26px 8px; box-shadow: 0 1px 0 #EADFD3, 0 18px 40px -22px #7E0D2040; }
section.alt .card { background: var(--cream); box-shadow: none; }
.card.accent { border-top: 0; }
.card.accent::before { content: ""; display: block; width: 16px; height: 16px; margin-bottom: 14px; background: var(--sunrise); transform: rotate(45deg); border-radius: 3px; box-shadow: 0 0 14px #E3622B66; }
.card.feature { border-radius: 26px 8px 26px 26px; background: radial-gradient(ellipse at 100% 0%, #E3622B33, transparent 60%), var(--night-2); }
.steps li { border: 0; border-radius: 26px 26px 26px 8px; box-shadow: 0 18px 40px -24px #7E0D2040; }
.post-list .card { border-top: 0; }
.tier { border: 0; border-radius: 26px; box-shadow: 0 18px 40px -24px #7E0D2040; }
.tier.highlight { box-shadow: 0 0 0 2px var(--gold), 0 18px 44px -18px #E3A33B88; }

/* ---------- Photos: arches and organic shapes ---------- */
.photo { border: 0; border-radius: 999px 999px 28px 28px; box-shadow: 0 0 0 7px var(--cream), 0 0 0 9px var(--gold), 0 30px 60px -26px #0F1E3699; }
section.alt .photo { box-shadow: 0 0 0 7px #fff, 0 0 0 9px var(--gold), 0 30px 60px -26px #0F1E3699; }
section.dark .photo { box-shadow: 0 0 0 7px var(--night), 0 0 0 9px #E3A33B99, 0 0 60px -10px #E3622B55; }
.photo.wide { border-radius: 46% 54% 42% 58% / 58% 46% 54% 42%; }
.photo.round { border-radius: 50%; aspect-ratio: 1; }
.photo.round img { height: 100%; object-fit: cover; }

/* Quote band with a real phoenix glowing behind the words */
.quote-band { padding: 110px 0; }
.quote-art { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); height: 100%; width: auto; max-width: 100%; opacity: .55; mix-blend-mode: screen; pointer-events: none; z-index: 1;
  -webkit-mask-image: radial-gradient(circle, #000 35%, transparent 70%); mask-image: radial-gradient(circle, #000 35%, transparent 70%); }
.quote-band blockquote { text-shadow: 0 2px 24px #000; }

/* Flourish under centered headings */
.flourish-rule { display: block; width: 180px; height: 22px; margin: 6px 0 18px; background: url(/assets/edge-gold-line.svg) center / 100% 100% no-repeat; }

/* Video thumbnails */
.video-frame { position: relative; overflow: hidden; border-radius: 26px 26px 26px 8px; }
.video-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; margin: 0; }
.video-frame > div { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .hero-bg, .hero-glow, .hero h1 .line.glow, .embers span { animation: none !important; }
  .embers { display: none; }
}
.hero h1 .line.glow { background-image: linear-gradient(90deg, #F9CF6E, #F08A3C 50%, #F9CF6E); }
.hero .eyebrow { text-shadow: 0 1px 12px #000; }
.brand img.brand-logo { height: 58px; }
@media (max-width: 820px) {
  .hero { padding-top: 400px; }
  .hero-bg { height: 66%; }
  .hero::before { background: linear-gradient(0deg, var(--night) 42%, #0F1E36ee 50%, transparent 72%); }
}
.photo.dark, .photo.round { max-width: 420px; justify-self: center; width: 100%; }
.quote-art { opacity: .85; }

/* 52-session journey */
.journey { display: grid; grid-template-columns: repeat(13, 1fr); gap: 14px 10px; max-width: 720px; padding: 22px; border-radius: 26px 26px 26px 8px; background: var(--night); box-shadow: 0 24px 50px -28px #0F1E3699; }
.journey .gem { aspect-ratio: 1; max-width: 100%; justify-self: center; width: 70%; transform: rotate(45deg); border-radius: 3px; background: linear-gradient(135deg, #F7C25C, #D9452B 55%, #7E0D20); opacity: .9; }
.journey .gem.ms { width: 100%; background: linear-gradient(135deg, #FFF1C8, #F7C25C 45%, #E3622B); box-shadow: 0 0 16px #F6C86Aaa; opacity: 1; }
.milestones { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); max-width: 760px; }
.milestones li { color: var(--ink-2); font-size: .95rem; }
.milestones strong { display: block; font-family: var(--serif); font-size: 1.9rem; line-height: 1; color: var(--ember); }
@media (max-width: 500px) { .journey { gap: 10px 6px; padding: 14px; } }
section.dark .steps li { background: var(--night-2); color: #E9DFDB; box-shadow: 0 0 0 1px #3a2b2e; }
section.dark .steps strong { color: var(--white); }
.journey .gem.ms { width: 84%; }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }

/* =====================================================================
   v4 — calm blue blend (dove hero)
   ===================================================================== */
:root { --sky: #6DBBEA; --sky-light: #BFE3FA; --sky-soft: #E8F4FC; --navy: #0F1E36; }
.hero { background: var(--navy); }
.hero-bg { object-position: 50% 45%; animation-duration: 24s; }
.hero::before { background:
    linear-gradient(90deg, var(--navy) 30%, #0F1E36cc 44%, #0F1E3655 60%, transparent 78%),
    linear-gradient(0deg, var(--navy) 0%, transparent 26%); }
.hero-glow { background: radial-gradient(circle, #DFF1FF66 0%, #6DBBEA22 40%, transparent 70%); animation-duration: 8s; }
.hero .eyebrow { color: var(--sky-light); }
.hero .eyebrow::before, .eyebrow::before { background: linear-gradient(135deg, var(--sky), var(--ember)); }
.hero h1 .line.glow { background-image: linear-gradient(90deg, #DDF0FF, #8FCBF2 50%, #DDF0FF); animation-duration: 12s; }
.hero .btn.gold { background: var(--sky); border-color: var(--sky); color: var(--navy); }
.hero .btn.gold:hover { background: var(--sky-light); border-color: var(--sky-light); }
.promo { border-color: #8FCBF299; color: var(--sky-soft); }
.promo strong { color: var(--sky-light); }

@media (min-width: 821px) {
  .hero-bg { -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 32%); mask-image: linear-gradient(90deg, transparent 0%, #000 32%); }
}
/* light motes instead of embers */
.embers span { background: #F2FAFF; box-shadow: 0 0 12px 4px #8FCBF299; animation-name: drift; }
@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); opacity: 0; }
  15%  { opacity: .9; }
  50%  { transform: translate(-18px, -40vh) scale(.9); }
  85%  { opacity: .6; }
  100% { transform: translate(14px, -80vh) scale(.5); opacity: 0; }
}
.embers span:nth-child(n) { animation-duration: 16s; }
.embers span:nth-child(3n) { animation-duration: 20s; }
.embers span:nth-child(4n+1) { animation-duration: 13s; }

/* page headers and dark sections lean blue */
.page-head { background: radial-gradient(ellipse 60% 120% at 95% 120%, #6DBBEA44 0%, #2F6E9E33 40%, transparent 75%), var(--navy); }
.page-head .eyebrow, .page-head .eyebrow a, section.dark .eyebrow, .card.feature .eyebrow { color: var(--sky-light); }
.page-head .head-art { opacity: .8; }
section.dark .checklist li::before { background: linear-gradient(135deg, var(--sky-light), var(--sky)); }
section.dark .btn.gold, .card.feature .btn.gold { background: var(--sky); border-color: var(--sky); color: var(--navy); }
section.dark .btn.gold:hover, .card.feature .btn.gold:hover { background: var(--sky-light); border-color: var(--sky-light); }
section.dark .photo { box-shadow: 0 0 0 7px var(--navy), 0 0 0 9px #8FCBF299, 0 0 60px -10px #6DBBEA55; }
.card.feature { background: radial-gradient(ellipse at 100% 0%, #6DBBEA33, transparent 60%), var(--night-2); }
.quote-band p { color: var(--sky-light); }
.cta-band { background: linear-gradient(135deg, #1B3B66 0%, #2F6E9E 55%, #6DBBEA 100%); }
.cta-band p { color: #E3F2FC; }
.cta-band .btn { color: var(--navy); }
.site-footer a { color: var(--sky-light); }
.journey { background: var(--navy); }
@media (max-width: 820px) {
  .hero { padding-top: 330px; }
  .hero-bg { height: 380px; object-position: 62% 50%; }
  .hero::before { background: linear-gradient(0deg, var(--navy) 50%, #0F1E36dd 56%, transparent 66%); }
}
@media (max-width: 820px) {
  .hero-bg { -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, #000 62%, transparent 100%); }
  .hero::before { background: linear-gradient(0deg, var(--navy) 40%, transparent 60%); }
}

/* Photos on cards */
.card .card-img { display: block; width: calc(100% + 52px); max-width: none; margin: -26px -26px 18px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 26px 26px 0 0; }
.card.accent .card-img + .tag { margin-top: 0; }
.card.accent:has(.card-img)::before { display: none; }
.card.feature .card-img { border-radius: 26px 8px 0 0; }
.card.feature .price, .card.feature .price small { color: var(--white); }
.photo:not(.round):not(.wide):not(.dark) img { aspect-ratio: 3 / 2; object-fit: cover; }
/* light artwork inside dark sections */
section.dark .photo.dark { background: #fff; }

/* Floating motes become tiny diamonds */
.embers span { background: none; box-shadow: none; width: 12px; height: 12px; }
.embers span::before { content: ""; position: absolute; inset: 0; transform: rotate(45deg) scale(.72); border-radius: 1px;
  background: linear-gradient(135deg, #FFFFFF 0%, #DDF0FF 45%, #8FCBF2 100%); box-shadow: 0 0 8px 2px #BFE3FAAA; }
.embers span:nth-child(3n)::before { background: linear-gradient(135deg, #FFE3E8 0%, #E0505E 55%, #A3122A 100%); box-shadow: 0 0 8px 2px #F2A3AD99; }
.embers span:nth-child(2n) { width: 9px; height: 9px; }
.embers span:nth-child(5n) { width: 15px; height: 15px; }

/* Floating motes: all the same small red diamond */
.embers span, .embers span:nth-child(2n), .embers span:nth-child(5n) { width: 18px; height: 12px; }
.embers span::before, .embers span:nth-child(3n)::before {
  transform: none; border-radius: 0; box-shadow: none;
  background: url(/assets/img/gem-small.webp) center / contain no-repeat;
  filter: drop-shadow(0 0 4px #F2A3ADAA);
}
@keyframes drift-even {
  0%   { transform: translate(0, 0); opacity: 0; }
  15%  { opacity: .95; }
  50%  { transform: translate(-18px, -40vh); }
  85%  { opacity: .7; }
  100% { transform: translate(14px, -80vh); opacity: 0; }
}
.embers span { animation-name: drift-even; }

/* Diamond-shaped bullets and markers use the red diamond image */
.checklist li::before, section.dark .checklist li::before {
  width: 18px; height: 12px; left: 0; top: .5em; transform: none; border-radius: 0;
  background: url(/assets/img/gem-small.webp) center / contain no-repeat;
}
.eyebrow::before, .hero .eyebrow::before {
  width: 16px; height: 11px; margin: 0 8px 2px 0; transform: none; border-radius: 0;
  background: url(/assets/img/gem-small.webp) center / contain no-repeat;
}
.card.accent::before {
  width: 26px; height: 17px; transform: none; border-radius: 0; box-shadow: none;
  background: url(/assets/img/gem-small.webp) center / contain no-repeat;
  filter: drop-shadow(0 2px 3px #A3122A33);
}

/* Card diamond sits beside the title instead of above it */
.card.accent::before { display: none; }
.card.accent:not(:has(.card-img)) h3 { display: flex; align-items: center; gap: 10px; }
.card.accent:not(:has(.card-img)) h3::before {
  content: ""; flex: 0 0 auto; width: 24px; height: 16px;
  background: url(/assets/img/gem-small.webp) center / contain no-repeat;
  filter: drop-shadow(0 2px 3px #A3122A33);
}
.footer-brand img { width: 44px; height: auto; filter: drop-shadow(0 0 6px #E0505E66); }

/* 52-session journey uses the red diamond image; milestones in gold */
.journey .gem { transform: none; border-radius: 0; width: 92%; aspect-ratio: 8 / 5; opacity: 1; box-shadow: none;
  background: url(/assets/img/gem-small.webp) center / contain no-repeat; filter: drop-shadow(0 2px 3px #00000055); }
.journey .gem.ms { width: 100%; background: url(/assets/img/gem-gold.webp) center / contain no-repeat; box-shadow: none;
  filter: drop-shadow(0 0 8px #F6C86Acc); }
.journey { align-items: center; }

/* Take Flight phoenix: keep the quote readable by setting the bird beside it */
.quote-art { left: 80%; opacity: .9; }
@media (max-width: 820px) {
  .quote-art { left: 50%; opacity: .35; }
}

/* =====================================================================
   v5 — Phoenix black, diamond red and rising gold
   (replaces the blue theme on every page; home page layout below)
   ===================================================================== */
:root {
  --ember: #B3121F; --ember-dark: #8A0E18; --flame: #B3121F;
  --gold: #C9A44C; --gold-deep: #9A7A2C; --gold-soft: #F3E8CF; --rose-soft: #F7E6E6;
  --night: #0E0E0E; --night-2: #1C1C1C; --navy: #0E0E0E;
  --sky: #C9A44C; --sky-light: #E2C77F; --sky-soft: #F3E8CF;
  --cream: #F6F2EC; --ink: #161212; --ink-2: #4E4646; --line: #E6DDD2;
  --sunrise: linear-gradient(90deg, #8A0E18, #B3121F 55%, #C9A44C);
}
body { background: var(--cream); }

/* Header: black bar, cream logo, thin gold line */
.site-header { background: var(--night); border-bottom: 0; }
.site-header::after { height: 2px; background: linear-gradient(90deg, transparent, var(--gold) 18%, var(--gold) 82%, transparent); }
.brand img.brand-logo { height: 54px; width: auto; }
.site-nav a { color: #D9D2C8; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; background: #ffffff14; }
.site-nav a.btn { background: var(--ember); color: #fff; }
.site-nav a.btn:hover { background: var(--ember-dark); }
.nav-toggle { color: #F6F2EC; border-color: #ffffff38; }
@media (max-width: 1180px) {
  .site-nav { background: var(--night); border-bottom: 1px solid #ffffff1a; top: 70px; }
}

/* Buttons */
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--night); }
.btn.gold:hover { background: #E2C77F; border-color: #E2C77F; color: var(--night); }
.btn.dark-ghost { background: transparent; color: var(--ink); border-color: #16121240; }
.btn.dark-ghost:hover { background: #1612120d; color: var(--ink); }

/* Page headers and dark sections on black, with a red glow */
.page-head { background: radial-gradient(ellipse 60% 120% at 95% 120%, #B3121F40 0%, #8A0E1822 40%, transparent 75%), var(--night); }
.page-head .eyebrow, .page-head .eyebrow a, section.dark .eyebrow, .card.feature .eyebrow { color: var(--gold); }
.page-head .head-art { opacity: .9; }
section.dark .btn.gold, .card.feature .btn.gold { background: var(--gold); border-color: var(--gold); color: var(--night); }
section.dark .btn.gold:hover, .card.feature .btn.gold:hover { background: #E2C77F; border-color: #E2C77F; }
section.dark .photo { box-shadow: 0 0 0 7px var(--night), 0 0 0 9px #C9A44C99, 0 0 60px -10px #B3121F55; }
section.dark .photo.dark { background: var(--cream); }
.card.feature { background: radial-gradient(ellipse at 100% 0%, #B3121F33, transparent 60%), var(--night-2); }
.photo { box-shadow: 0 0 0 7px var(--cream), 0 0 0 9px var(--gold), 0 30px 60px -26px #00000059; }
section.alt .photo { box-shadow: 0 0 0 7px #fff, 0 0 0 9px var(--gold), 0 30px 60px -26px #00000059; }
.quote-band p { color: var(--gold); }
.cta-band { background: linear-gradient(135deg, #3A060C 0%, #8A0E18 50%, #B3121F 100%); }
.cta-band p { color: #F6E9E0; }
.cta-band .btn { background: var(--cream); border-color: var(--cream); color: var(--ember-dark); }
.cta-band .btn:hover { background: #fff; border-color: #fff; color: var(--ember-dark); }
.site-footer { color: #CFC6BE; }
.site-footer a { color: #E2C77F; }
.journey { background: var(--night); }
.promo { border-color: #C9A44C99; color: var(--ink-2); }
.promo strong { color: var(--ember); }

/* ---------- Home page ---------- */
.h-hero { position: relative; overflow: hidden; background: var(--cream); padding: 64px 0 88px; }
.h-hero::before { content: ""; position: absolute; inset: auto -10% -40% auto; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #C9A44C26 0%, transparent 65%); pointer-events: none; }
.h-hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.h-logo { width: 100%; max-width: 560px; justify-self: center; }
.h-hero .eyebrow { color: var(--ember); }
.h-hero h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); line-height: 1.04; margin-bottom: .35em; }
.h-hero h1 em { font-style: italic; color: var(--ember); }
.h-hero p.lead { font-size: 1.14rem; color: var(--ink-2); max-width: 46ch; }
.h-hero .promo { margin-top: 20px; }
@media (max-width: 860px) {
  .h-hero { padding: 36px 0 72px; }
  .h-hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .h-logo { max-width: 420px; }
}

/* Two services on black */
.h-services { background: var(--night); color: #E9DFDB; position: relative; }
.h-services::before { content: ""; position: absolute; left: 0; right: 0; top: -55px; height: 56px; pointer-events: none;
  background: url(/assets/edge-night-up.svg) center bottom / 100% 100% no-repeat; }
.h-services::after { content: ""; position: absolute; left: 0; right: 0; bottom: -55px; height: 56px; pointer-events: none; z-index: 1;
  background: url(/assets/edge-night-down.svg) center top / 100% 100% no-repeat; }
.h-services .eyebrow { color: var(--gold); }
.h-services h2 { color: #fff; max-width: 24ch; }
.h-services .intro { color: #CFC6BE; max-width: 60ch; }
.h-two { display: grid; grid-template-columns: 1fr 1.35fr; gap: 24px; margin-top: 36px; align-items: stretch; }
.h-panel { background: var(--night-2); border-top: 3px solid var(--ember); border-radius: 0 0 22px 22px; padding: 30px 28px; display: flex; flex-direction: column; }
.h-panel h3 { color: #fff; font-size: 1.75rem; margin-bottom: .3em; }
.h-panel > p { color: #CFC6BE; }
.h-panel .label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 6px; display: block; }
.h-panel ul { list-style: none; padding: 0; margin: 4px 0 22px; }
.h-panel li { position: relative; padding-left: 30px; margin-bottom: 9px; color: #E9DFDB; }
.h-panel li::before { content: ""; position: absolute; left: 0; top: .5em; width: 18px; height: 12px; background: url(/assets/img/gem-small.webp) center / contain no-repeat; }
.h-panel .btn { align-self: flex-start; margin-top: auto; }
.h-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; flex: 1; }
.h-path { background: #262222; border: 1px solid #ffffff14; border-radius: 16px; padding: 22px 20px; display: flex; flex-direction: column; }
.h-path h4 { font-family: var(--serif); color: #fff; font-size: 1.35rem; margin: 6px 0 6px; }
.h-path p { color: #CFC6BE; font-size: .96rem; }
.h-path a { margin-top: auto; color: var(--gold); font-weight: 600; text-decoration: none; }
.h-path a:hover { color: #E2C77F; text-decoration: underline; }
.badge { display: inline-block; align-self: flex-start; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.badge.gold { background: #C9A44C26; color: #E2C77F; border: 1px solid #C9A44C66; }
.badge.red { background: #B3121F33; color: #F2A3AD; border: 1px solid #B3121F88; }
@media (max-width: 980px) { .h-two { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .h-paths { grid-template-columns: 1fr; } .h-panel { padding: 26px 20px; } }

/* How student pairing works */
.h-pairing .split { grid-template-columns: 1.3fr 1fr; }
.h-steps { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 18px; }
.h-steps li { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; }
.h-steps .num { width: 40px; height: 40px; display: grid; place-items: center; color: #fff; font-weight: 700; font-family: var(--serif); font-size: 1.15rem;
  background: var(--ember); transform: rotate(45deg); border-radius: 6px; margin: 4px 0 0 3px; }
.h-steps .num span { transform: rotate(-45deg); }
.h-steps strong { display: block; font-family: var(--serif); font-size: 1.25rem; color: var(--ink); }
.h-steps p { margin: 0; color: var(--ink-2); }
.h-flight { max-width: 340px; justify-self: center; width: 100%; }
@media (max-width: 820px) { .h-pairing .split { grid-template-columns: 1fr; } .h-flight { max-width: 220px; order: -1; } }

/* Journey strip */
.h-journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; counter-reset: j; list-style: none; padding: 0; }
.h-journey li { counter-increment: j; background: #fff; border-radius: 18px; padding: 22px 20px; border-top: 3px solid var(--gold); }
.h-journey li::before { content: "0" counter(j); display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--ember); font-weight: 700; margin-bottom: 4px; }
.h-journey strong { display: block; color: var(--ink); }
.h-journey span { color: var(--ink-2); font-size: .96rem; }
@media (max-width: 900px) { .h-journey { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .h-journey { grid-template-columns: 1fr; } }
.quote-band { overflow-x: clip; }
.quote-art, .page-head .head-art { mix-blend-mode: lighten; }
.h-hero .promo { display: inline-block; line-height: 1.5; }

/* ---------- Business services ---------- */
.b-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.b-service { display: flex; flex-direction: column; background: #fff; border-radius: 22px; padding: 26px 24px; text-decoration: none; color: var(--ink);
  border-top: 3px solid var(--ember); box-shadow: 0 18px 40px -26px #00000040; transition: transform .15s, box-shadow .15s; }
.b-service:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -24px #8A0E1855; color: var(--ink); }
.b-service .tag { align-self: flex-start; }
.b-service p { color: var(--ink-2); }
.b-service .more { margin-top: auto; color: var(--ember); font-weight: 600; }
.b-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.b-col { background: var(--cream); border-radius: 22px; padding: 26px 24px; }
.b-col > p { color: var(--ink-2); }
@media (max-width: 760px) { .b-split { grid-template-columns: 1fr; } }
.dark-steps strong { color: #fff; }
.dark-steps p { color: #CFC6BE; }
section.dark .h-steps .num { background: var(--ember); box-shadow: 0 0 0 2px #C9A44C66; }

/* ---------- Training catalog ---------- */
.t-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.t-filters button { font: inherit; font-size: .95rem; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; }
.t-filters button[aria-pressed="true"] { background: var(--night); border-color: var(--night); color: #fff; }
.t-filters button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.t-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.t-card { display: flex; flex-direction: column; background: #fff; border-radius: 22px; padding: 26px 24px; border-top: 3px solid var(--ember); box-shadow: 0 18px 40px -26px #00000040; }
.t-card.soon { border-top-color: var(--gold); }
.t-top { display: flex; flex-wrap: wrap; gap: 6px; }
.t-meta { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--ink-2); font-size: .9rem; }
.t-meta li + li::before { content: "\00B7"; margin-right: 14px; color: var(--gold-deep); }
.t-card .btn { align-self: flex-start; margin-top: auto; }
.t-empty { color: var(--ink-2); }
.t-request { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 36px; padding: 26px 28px; border-radius: 22px; background: var(--night); color: #E9DFDB; }
.t-request h3 { color: #fff; margin-bottom: 4px; }
.t-request p { margin: 0; color: #CFC6BE; }

/* ---------- Coaching specialties ---------- */
.s-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.s-card { display: flex; flex-direction: column; background: #fff; border-radius: 22px; padding: 28px 24px; border-top: 3px solid var(--ember); box-shadow: 0 18px 40px -26px #00000040; scroll-margin-top: 96px; }
.s-card .tag { align-self: flex-start; }
.s-card > p { color: var(--ink-2); }
.s-card .checklist { margin: 4px 0 20px; }
.s-card .btn { align-self: flex-start; margin-top: auto; }
.safety { margin-top: 28px; padding: 22px 26px; border-radius: 18px; background: var(--night); color: #E9DFDB; border-left: 4px solid var(--gold); }
.safety h3 { color: #fff; font-size: 1.2rem; margin-bottom: 6px; }
.safety p { margin: 0; }
.safety a { color: #E2C77F; }
.safety strong { color: #fff; }
.journey.j50 { grid-template-columns: repeat(10, 1fr); max-width: 600px; }

/* ---------- Business service categories ---------- */
.c-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.c-card { background: #fff; border-radius: 22px; padding: 28px 26px; border-top: 3px solid var(--ember); box-shadow: 0 18px 40px -26px #00000040; scroll-margin-top: 96px; }
.c-num { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--gold-deep); margin-bottom: 2px; }
.c-card h3 { font-size: 1.4rem; }
.c-card .checklist { margin: 8px 0 0; }
.c-link { display: inline-block; margin-top: 10px; font-weight: 600; text-decoration: none; }
@media (max-width: 820px) { .c-grid { grid-template-columns: 1fr; } }
.pkg-list { columns: 2; column-gap: 24px; margin: 6px 0 24px; }
.pkg-list li { break-inside: avoid; }
@media (max-width: 560px) { .pkg-list { columns: 1; } }
.ind-list { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ind-list li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; color: var(--ink); font-size: .96rem; }

/* ---------- Give a Red Diamond ---------- */
.cause-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.cause { position: relative; display: block; cursor: pointer; }
.cause input { position: absolute; opacity: 0; pointer-events: none; }
.cause-body { display: flex; flex-direction: column; gap: 6px; height: 100%; background: #fff; border: 2px solid var(--line); border-radius: 20px; padding: 22px 20px 22px 54px; position: relative; transition: border-color .15s, box-shadow .15s; }
.cause-body::before { content: ""; position: absolute; left: 20px; top: 24px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #C9BFB2; background: #fff; }
.cause-body strong { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); }
.cause-body span { color: var(--ink-2); font-size: .96rem; }
.cause input:checked + .cause-body { border-color: var(--ember); box-shadow: 0 14px 30px -20px #8A0E1888; }
.cause input:checked + .cause-body::before { border-color: var(--ember); background: radial-gradient(circle, var(--ember) 45%, #fff 50%); }
.cause input:focus-visible + .cause-body { outline: 2px solid var(--gold); outline-offset: 3px; }
.donate-frequency { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.donate-frequency label { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; cursor: pointer; }
.donate-frequency input { accent-color: var(--ember); }
.tier .gems { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; min-height: 30px; max-width: 150px; margin: 0 auto 8px; }
.tier .gems i { width: 18px; height: 12px; background: url(/assets/img/gem-small.webp) center / contain no-repeat; }
.tier .price { margin-bottom: 4px; }
.donate-custom { max-width: 520px; margin-left: auto; margin-right: auto; text-align: center; }
.donate-custom label { display: block; font-weight: 600; margin-bottom: 8px; }
.donate-custom-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; }
.donate-custom-row input[type="number"] { width: 96px; font: inherit; font-size: 1.1rem; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; text-align: center; }
.diamond-total { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; color: var(--ember); min-width: 90px; font-variant-numeric: tabular-nums; }
.notice-box { margin-top: 22px; padding: 20px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); }
.notice-box h3 { font-size: 1.15rem; margin-bottom: 4px; }
.notice-box p { margin: 0; color: var(--ink-2); }
.form-status:empty { display: none; }
.split.top { align-items: start; }
.donate-custom-row .btn { font: inherit; font-weight: 600; cursor: pointer; } .cause-body strong { line-height: 1.25; }
.req-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.req-card { background: #fff; border-radius: 22px; padding: 26px 24px; border-top: 3px solid var(--gold); box-shadow: 0 18px 40px -26px #00000040; }
.req-card p { margin: 0; color: var(--ink-2); }
.req-note { margin: 18px 0 0; font-size: .93rem; color: var(--ink-2); max-width: 70ch; }

/* ---------- Blog ---------- */
.chip { display: inline-block; font-size: .95rem; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); text-decoration: none; }
.chip:hover { color: var(--ember); border-color: #E2C3C3; }
.chip[aria-current="page"] { background: var(--night); border-color: var(--night); color: #fff; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.post-card { display: flex; flex-direction: column; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 18px 40px -26px #00000040; }
.post-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; border-top: 3px solid var(--ember); }
.post-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.post-tags .tag { text-decoration: none; }
.post-card h3 { margin: 6px 0 4px; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--ember); }
.post-card .post-meta { color: var(--ink-2); font-size: .9rem; margin-bottom: 10px; }
.post-card p { color: var(--ink-2); }
.post-more { margin-top: auto; font-weight: 600; text-decoration: none; }
.blog-empty { grid-column: 1 / -1; background: #fff; border-radius: 22px; padding: 30px 28px; border-top: 3px solid var(--gold); }
.blog-empty p { margin: 0; color: var(--ink-2); }
.page-head .post-meta { color: #CFC6BE; }
.page-head .post-meta a { color: #E2C77F; }
.post-body { max-width: 720px; font-size: 1.08rem; }
.post-body h2, .post-body h3, .post-body h4 { margin-top: 1.4em; }
.post-body img, .post-hero { border-radius: 18px; margin: 0 0 24px; width: 100%; }
.post-body figure { margin: 24px 0; }
.post-body figcaption { color: var(--ink-2); font-size: .9rem; margin-top: -14px; }
.post-body blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--gold); font-family: var(--serif); font-size: 1.25rem; font-style: italic; }
.post-body hr { border: 0; height: 1px; background: var(--line); margin: 32px 0; }
.donate-custom { max-width: 520px; } .donate-custom-row input[type="number"] { flex: 0 0 96px; }

/* ---------- Advocacy ---------- */
.quick-exit { position: fixed; left: 16px; bottom: 16px; z-index: 60; background: var(--ember); color: #fff; border: 0; border-radius: 999px; padding: 12px 20px; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 12px 26px -10px #000000aa; }
.quick-exit:hover { background: var(--ember-dark); }
.quick-exit:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (max-width: 600px) { .quick-exit { padding: 9px 15px; font-size: .9rem; left: 12px; bottom: 12px; } }
body:has(.quick-exit) { padding-bottom: 64px; }
.safety-top { margin: 0 0 40px; }
.safety .mt-sm { margin-top: 10px; }
.eyebrow.mt-lg { display: inline-block; margin-top: 8px; }
.s-note { margin: 14px 0 0; font-size: .93rem; color: var(--ink-2); }
.page-head .btn-row { margin-top: 22px; }
.btn.ghost-light { background: transparent; color: #F6F2EC; border-color: #ffffff59; }
.btn.ghost-light:hover { background: #ffffff14; color: #fff; }
#espanol p { color: #E9DFDB; }
#espanol a:not(.btn) { color: #E2C77F; }

/* ---------- Page banners: sketch phoenix rising toward a word ---------- */
.page-head .head-phoenix { position: absolute; right: 2%; top: 4%; height: 92%; aspect-ratio: 1089 / 871; pointer-events: none; container-type: inline-size; z-index: 1; }
.head-phoenix img { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; mix-blend-mode: lighten; opacity: .95; }
.head-phoenix .head-word { position: absolute; left: 66%; top: 7%; transform: translate(-50%, -50%); font-family: var(--serif); font-style: italic; font-weight: 600; color: var(--gold); font-size: 2.6rem; font-size: 8.5cqw; line-height: 1; white-space: nowrap; text-shadow: 0 0 22px #C9A44C59; letter-spacing: .01em; }
.head-phoenix .head-word.two { font-size: 2rem; font-size: 6.4cqw; text-align: center; line-height: 1.02; top: 8%; }
.quote-art { -webkit-mask-image: none; mask-image: none; }
@media (max-width: 900px) { .page-head .head-phoenix { opacity: .55; right: -4%; } }
@media (max-width: 700px) { .page-head .head-phoenix { height: auto; width: 82%; right: -10%; top: auto; bottom: 0; opacity: .38; } .head-phoenix .head-word { display: none; } }

/* ---------- Coaching offered three ways ---------- */
.h-two { grid-template-columns: 1fr 1.6fr; }
.h-paths.three { grid-template-columns: repeat(3, 1fr); }
.h-path.featured { border-color: #C9A44C66; background: linear-gradient(180deg, #2E2618 0%, #262222 70%); }
.h-note { margin: 18px 0 0; font-size: .95rem; color: var(--ink-2); max-width: 60ch; }
.s-card > p.s-cert, .s-cert { margin: -8px 0 18px; font-size: .93rem; font-weight: 600; color: var(--ember); }
@media (max-width: 1180px) { .h-two { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .h-paths.three { grid-template-columns: 1fr; } }

/* ---------- Coaching packages ---------- */
.card.pkg { display: flex; flex-direction: column; }
.card.pkg .card-img { background: #F3ECE1; }
.pkg-sub { margin: -6px 0 6px; color: var(--ember); font-weight: 600; font-size: .95rem; }
.card.pkg .checklist { margin: 4px 0 14px; }
.pkg-addon { font-size: .92rem; color: var(--ink-2); background: #F7EFE2; border-left: 3px solid var(--gold); border-radius: 10px; padding: 10px 12px; margin: 0 0 16px; }
.card.pkg .btn { align-self: flex-start; margin-top: auto; }
.card.pkg .tag { align-self: flex-start; }

/* ---------- Session card on light sections ---------- */
.card.feature.light { background: #fff; border-top: 3px solid var(--gold); box-shadow: 0 18px 40px -26px #00000040; }
.card.feature.light h3 { color: var(--ink); }
.card.feature.light .price { color: var(--ember); }
.card.feature.light p { color: var(--ink-2); }
.card.feature.light strong { color: var(--ember); }
