/* ============================================================
   ANJAN ROY — anjanroy.in
   Aligned with wealthwisers.in palette and visual language
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Colors — wealthwisers.in aligned */
  --bg-top: #E8F4F0;
  --bg-mid: #F5FAF7;
  --bg-warm: #FAF8F0;
  --bg-card: #FFFFFF;
  --bg-soft: #F0F5F2;

  --green-deep: #0D4D3F;
  --green-mid: #1A6B58;
  --green-light: #4A8F7B;
  --green-tint: #D4E8DF;

  --gold: #C9A642;
  --gold-bright: #D4B349;
  --gold-deep: #A88534;
  --gold-tint: #F5EAC9;

  --orange: #F39B2C;
  --orange-deep: #E08A1F;

  --ink: #1A2A28;
  --ink-soft: #3D4F4D;
  --ink-mute: #6A7A78;

  --rule: rgba(13, 77, 63, 0.12);
  --rule-strong: rgba(13, 77, 63, 0.22);
  --shadow-sm: 0 1px 2px rgba(13, 77, 63, 0.04);
  --shadow-md: 0 8px 24px rgba(13, 77, 63, 0.08);
  --shadow-lg: 0 20px 60px rgba(13, 77, 63, 0.12);

  --sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --serif: 'Fraunces', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --max-w: 1280px;
  --reading-w: 680px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 30%, var(--bg-warm) 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--sans);
  color: var(--green-deep);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.8rem, 8vw, 6.5rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -0.025em; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 700; }
h4 { font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 700; }

p { max-width: var(--reading-w); }
a { color: var(--green-deep); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--orange); }

.gold-word { color: var(--gold-deep); font-weight: 800; }
.green-word { color: var(--green-deep); font-weight: 800; }
.orange-word { color: var(--orange); font-weight: 800; }

.italic-serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
  display: inline-block;
}
.eyebrow.green { color: var(--green-deep); }
.eyebrow.orange { color: var(--orange-deep); }

.lead {
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink-soft);
}

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(1.5rem, 4vw, 4rem); }

/* NAV — dark gradient theme matching WealthWisers */
nav.top {
  position: sticky; top: 0; z-index: 100;
  background: linear-gradient(135deg, #0A3D33 0%, #0D4D3F 50%, #082E26 100%);
  border-bottom: 1px solid rgba(212, 179, 73, 0.18);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}

nav.top .wrap {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.1rem; padding-bottom: 1.1rem;
}

nav.top .brand {
  font-size: 1.25rem; font-weight: 800;
  letter-spacing: -0.02em; color: white;
}

nav.top .brand-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

nav.top .brand-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.2s ease;
}

nav.top .brand-linkedin:hover {
  background: white;
  color: #0A66C2;
  border-color: white;
  transform: translateY(-1px);
}

nav.top ul { list-style: none; display: flex; gap: 2.2rem; align-items: center; }
nav.top ul a { font-size: 0.9rem; color: rgba(255, 255, 255, 0.85); font-weight: 500; transition: color 0.2s; }
nav.top ul a:hover { color: var(--gold-bright); }

nav.top .nav-cta {
  background: var(--orange); color: white !important;
  padding: 0.55rem 1.1rem; border-radius: 6px;
  font-weight: 600; font-size: 0.85rem; transition: all 0.2s;
  box-shadow: 0 2px 10px rgba(243, 155, 44, 0.3);
}
nav.top .nav-cta:hover {
  background: var(--orange-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(243, 155, 44, 0.45);
}

@media (max-width: 820px) {
  nav.top ul li:not(:last-child) { display: none; }
}

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 1rem 1.7rem;
  font-family: var(--sans); font-size: 0.95rem; font-weight: 600;
  border: none; border-radius: 8px; cursor: pointer;
  transition: all 0.2s ease; text-decoration: none;
  letter-spacing: -0.005em;
}

.btn-primary { background: var(--green-deep); color: white; }
.btn-primary:hover { background: var(--green-mid); color: white; gap: 0.9rem; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-orange { background: var(--orange); color: white; }
.btn-orange:hover { background: var(--orange-deep); color: white; gap: 0.9rem; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-outline { background: transparent; color: var(--green-deep); border: 1.5px solid var(--green-deep); }
.btn-outline:hover { background: var(--green-deep); color: white; gap: 0.9rem; }

.btn-light { background: white; color: var(--green-deep); box-shadow: var(--shadow-sm); }
.btn-light:hover { background: var(--gold-tint); gap: 0.9rem; }

/* HERO */
.hero {
  padding: clamp(1.5rem, 3vw, 3rem) 0 clamp(1.5rem, 3vw, 3rem);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -10%; right: -15%;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 166, 66, 0.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -20%; left: -10%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 77, 63, 0.07) 0%, transparent 60%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }

.hero-grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 {
  font-weight: 800; letter-spacing: -0.04em;
  line-height: 0.98; margin-bottom: 1.5rem;
  font-size: clamp(3rem, 7.5vw, 6rem);
}
.hero .name-block {
  display: block;
  font-size: clamp(0.75rem, 0.95vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  color: var(--gold-deep);
}
.hero h1 .line-1 {
  display: block;
  color: var(--green-deep);
}
.hero h1 .line-2 {
  display: block;
  color: var(--gold-deep);
  font-weight: 500;
  margin-top: 0.1em;
}

.hero .tagline {
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  font-weight: 400; line-height: 1.5;
  color: var(--ink-soft);
  margin: 1.8rem 0 2rem; max-width: 580px;
}

.hero .meta-row {
  display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 2rem;
}
.hero .meta-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: white; padding: 0.5rem 0.95rem;
  border-radius: 100px; font-size: 0.82rem; font-weight: 500;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm); border: 1px solid var(--rule);
}
.hero .meta-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.hero .meta-pill:nth-child(2) .dot { background: var(--green-deep); }
.hero .meta-pill:nth-child(3) .dot { background: var(--orange); }
.hero .meta-pill:nth-child(4) .dot { background: var(--green-light); }

.hero .cta-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }

/* hero visual stack — all cards same level, no staircase */
.hero-visual { position: relative; padding: 0; }
.hero-visual .stack-card {
  background: white; border-radius: 14px; padding: 1rem 1.3rem;
  box-shadow: var(--shadow-md); border: 1px solid var(--rule);
  margin-bottom: 0.7rem; display: flex; align-items: center; gap: 1rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  text-decoration: none;
  color: inherit;
}
.hero-visual .stack-card:hover {
  transform: translateX(-4px); box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.hero-visual .stack-card:last-child { margin-bottom: 0; }

.hero-visual .stack-card .icon {
  width: 38px; height: 38px; border-radius: 9px;
  background: var(--green-tint);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-style: italic; font-weight: 600;
  color: var(--green-deep); font-size: 0.95rem; flex-shrink: 0;
}
.hero-visual .stack-card:nth-child(1) .icon { background: var(--green-tint); color: var(--green-deep); }
.hero-visual .stack-card:nth-child(2) .icon { background: var(--gold-tint); color: var(--gold-deep); }
.hero-visual .stack-card:nth-child(3) .icon { background: rgba(243, 155, 44, 0.15); color: var(--orange-deep); }
.hero-visual .stack-card:nth-child(4) .icon { background: var(--green-tint); color: var(--green-mid); }
.hero-visual .stack-card:nth-child(5) .icon { background: var(--gold-tint); color: var(--gold-deep); }

.hero-visual .stack-card .text { flex: 1; min-width: 0; }
.hero-visual .stack-card .text .label {
  font-size: 0.65rem; text-transform: uppercase;
  letter-spacing: 0.13em; color: var(--ink-mute);
  font-weight: 700; margin-bottom: 0.2rem; line-height: 1.2;
}
.hero-visual .stack-card .text .name {
  font-weight: 700; color: var(--ink); font-size: 0.92rem;
  line-height: 1.25;
}
.hero-visual .stack-card:hover .text .name { color: var(--green-deep); }

@media (max-width: 900px) { .hero-visual { display: none; } }

/* THESIS */
.thesis-block {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: white;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.thesis-block .grid {
  display: grid; grid-template-columns: 1fr 1.6fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: start;
}
@media (max-width: 760px) { .thesis-block .grid { grid-template-columns: 1fr; } }

.thesis-block h2 { line-height: 1.05; letter-spacing: -0.025em; }
.thesis-block .body {
  font-size: 1.08rem; line-height: 1.65; color: var(--ink-soft);
}
.thesis-block .body p + p { margin-top: 1.2rem; }
.thesis-block .body strong { color: var(--green-deep); font-weight: 700; }
.thesis-block .body em {
  font-family: var(--serif); font-style: italic;
  color: var(--gold-deep); font-weight: 500;
}

/* PILLARS */
.pillars {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(4rem, 9vw, 8rem);
  background: white;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.pillars-header {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: clamp(3rem, 6vw, 4rem); flex-wrap: wrap; gap: 2rem;
}
.pillars-header h2 { max-width: 600px; line-height: 1.05; }
.pillars-header .header-aside {
  font-size: 1.1rem; color: var(--ink-soft); max-width: 320px;
  font-style: italic; font-family: var(--serif); font-weight: 300;
  line-height: 1.5;
}

.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 980px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pillars-grid { grid-template-columns: 1fr; } }

/* If 5 pillars, last card spans 2 cols on 2-col layout to look balanced */
.pillars-grid.cols-5 .pillar:nth-child(4) { grid-column: span 1; }
@media (max-width: 980px) and (min-width: 601px) {
  .pillars-grid.cols-5 .pillar:nth-child(5) { grid-column: span 2; }
}

.pillar {
  background: var(--bg-soft);
  border-radius: 16px;
  padding: clamp(2rem, 3.5vw, 2.8rem);
  position: relative; transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
  border: 1px solid var(--rule); box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.pillar:hover { 
  background: white;
  transform: translateY(-4px); 
  box-shadow: var(--shadow-lg); 
}
.pillar::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 4px;
}
.pillar:nth-child(1)::before { background: linear-gradient(90deg, var(--green-deep), var(--green-light)); }
.pillar:nth-child(2)::before { background: linear-gradient(90deg, var(--gold-deep), var(--gold)); }
.pillar:nth-child(3)::before { background: linear-gradient(90deg, var(--orange), var(--gold)); }
.pillar:nth-child(4)::before { background: linear-gradient(90deg, var(--green-mid), var(--gold-deep)); }
.pillar:nth-child(5)::before { background: linear-gradient(90deg, var(--green-deep), var(--gold-deep)); }
.pillar:nth-child(6)::before { background: linear-gradient(90deg, var(--gold), var(--green-light)); }

.pillar .pill-num {
  font-family: var(--mono); font-size: 0.72rem;
  color: var(--ink-mute); letter-spacing: 0.2em;
  margin-bottom: 1rem; display: block; font-weight: 500;
}
.pillar h3 {
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  font-weight: 800; margin-bottom: 0.3rem;
  letter-spacing: -0.02em; color: var(--green-deep);
}
.pillar h3 .accent {
  display: block; font-weight: 500; font-size: 0.55em;
  color: var(--gold-deep); margin-top: 0.3rem; letter-spacing: 0;
}
.pillar .anchor {
  font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.15em; margin: 1rem 0 1.2rem;
  color: var(--ink-mute); font-weight: 600; display: inline-block;
}
.pillar p {
  font-size: 0.98rem; line-height: 1.6;
  color: var(--ink-soft); margin-bottom: 1.5rem;
}
.pillar .cta {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.88rem; color: var(--green-deep);
  font-weight: 600; transition: gap 0.2s, color 0.2s;
}
.pillar .cta::after { content: '→'; transition: transform 0.2s; }
.pillar .cta:hover { color: var(--orange); }
.pillar .cta:hover::after { transform: translateX(4px); }
.pillar .cta-disabled {
  color: var(--ink-mute); font-style: italic;
  cursor: default; pointer-events: none;
}
.pillar .cta-disabled::after { content: ''; }

/* FOCUS BANNER */
.focus-banner {
  background: var(--green-deep); color: white;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  position: relative; overflow: hidden;
}
.focus-banner::before {
  content: ''; position: absolute; top: -30%; right: -10%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 166, 66, 0.18) 0%, transparent 60%);
  pointer-events: none;
}
.focus-banner::after {
  content: ''; position: absolute; bottom: -40%; left: -10%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 155, 44, 0.15) 0%, transparent 60%);
  pointer-events: none;
}
.focus-banner .wrap { position: relative; z-index: 1; }

.focus-banner .ribbon {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px);
  font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--gold-bright);
  border: 1px solid rgba(212, 179, 73, 0.4);
  padding: 0.55rem 1.1rem; border-radius: 100px;
  margin-bottom: 2rem; font-weight: 600;
}
.focus-banner .ribbon .dot-pulse {
  width: 7px; height: 7px; background: var(--orange);
  border-radius: 50%; animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.focus-banner h2 {
  color: white; font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.05; margin-bottom: 1.2rem;
  letter-spacing: -0.025em;
}
.focus-banner h2 .gold-word { color: var(--gold-bright); }

.focus-banner .focus-grid {
  display: grid; grid-template-columns: 1.6fr 1fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: end;
  margin-top: 2.5rem;
}
@media (max-width: 760px) { .focus-banner .focus-grid { grid-template-columns: 1fr; } }

.focus-banner .lead-copy {
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  font-weight: 400; line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}
.focus-banner .lead-copy em {
  font-family: var(--serif); font-style: italic;
  color: var(--gold-bright); font-weight: 500;
}

.focus-banner .details {
  background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px; padding: 1.5rem 1.7rem;
  font-size: 0.9rem; color: rgba(255, 255, 255, 0.85);
  line-height: 2;
}
.focus-banner .details .label {
  color: var(--gold-bright); display: inline-block;
  width: 80px; font-weight: 700;
  text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.12em;
}
.focus-banner .focus-cta-row {
  margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap;
}

/* ABOUT */
.about-section { padding: clamp(4rem, 9vw, 8rem) 0; }
.about-grid {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: clamp(3rem, 6vw, 6rem); align-items: start;
}
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; } }

.about-grid h2 { line-height: 1.05; }
.about-body p {
  font-size: 1.05rem; line-height: 1.65;
  margin-bottom: 1.2rem; color: var(--ink-soft);
}
.about-body p em {
  font-family: var(--serif); font-style: italic;
  color: var(--green-deep); font-weight: 500;
}

.about-credentials {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; margin-top: 2.5rem;
  padding-top: 2.5rem; border-top: 1px solid var(--rule);
}
@media (max-width: 600px) { .about-credentials { grid-template-columns: 1fr 1fr; } }

.cred .num {
  font-size: 2.6rem; font-weight: 800;
  color: var(--green-deep); display: block;
  line-height: 1; margin-bottom: 0.4rem;
  letter-spacing: -0.04em;
}
.cred .num.gold { color: var(--gold-deep); }
.cred .num.orange { color: var(--orange); }
.cred .label {
  font-size: 0.78rem; color: var(--ink-mute);
  font-weight: 600; letter-spacing: 0.05em;
}

/* FOOTER */
footer {
  background: var(--green-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
  position: relative; overflow: hidden;
}
footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

footer .footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
@media (max-width: 760px) { footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 480px) { footer .footer-grid { grid-template-columns: 1fr; } }

footer h4 {
  font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--gold-bright);
  margin-bottom: 1.2rem; font-weight: 700;
}
footer .signature {
  font-family: var(--serif); font-size: 1.6rem;
  font-style: italic; color: white;
  margin-bottom: 1rem; font-weight: 400;
  letter-spacing: -0.01em;
}
footer .signature .accent { color: var(--gold-bright); }

footer p, footer a, footer li {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem; line-height: 1.7;
}
footer a:hover { color: var(--gold-bright); }
footer ul { list-style: none; }
footer ul li { margin-bottom: 0.4rem; }

footer .fineprint {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem; font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}

/* ============================================================
   MAY 17 PAGE
   ============================================================ */

.may17-hero {
  padding: clamp(3rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  position: relative; overflow: hidden;
}
.may17-hero::before {
  content: ''; position: absolute; top: 0; right: -20%;
  width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 166, 66, 0.1) 0%, transparent 60%);
  pointer-events: none;
}
.may17-hero::after {
  content: ''; position: absolute; bottom: -30%; left: -10%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 155, 44, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.may17-hero .wrap { position: relative; z-index: 1; }

.may17-hero .breadcrumb {
  font-size: 0.85rem; color: var(--ink-mute);
  margin-bottom: 2rem; font-weight: 500;
}
.may17-hero .breadcrumb a { color: var(--green-deep); font-weight: 600; }

.may17-hero .series-tag {
  display: inline-flex; flex-wrap: wrap; gap: 0.6rem;
  align-items: center; margin-bottom: 1.8rem;
}
.may17-hero .series-tag .tag {
  display: inline-block; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-mute); background: white;
  border: 1px solid var(--rule);
  padding: 0.35rem 0.85rem; border-radius: 100px; font-weight: 600;
}
.may17-hero .series-tag .tag.active {
  background: var(--green-deep); color: white;
  border-color: var(--green-deep);
}

.may17-hero h1 {
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  font-weight: 800; line-height: 0.98;
  letter-spacing: -0.035em; margin-bottom: 0.4rem;
  max-width: 950px; color: var(--ink);
}
.may17-hero h1 .green-word { color: var(--green-deep); }
.may17-hero h1 .gold-word { color: var(--gold-deep); }
.may17-hero h1 .subtitle {
  display: block; font-weight: 500; font-size: 0.5em;
  color: var(--green-mid); margin-top: 0.7rem; letter-spacing: -0.01em;
}

.may17-hero .promise {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  color: var(--ink-soft); font-weight: 400;
  line-height: 1.5; margin: 2rem 0; max-width: 800px;
}
.may17-hero .promise em {
  font-family: var(--serif); font-style: italic;
  color: var(--green-deep); font-weight: 500;
}

.may17-hero .anchor-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem); margin: 2.5rem 0; max-width: 800px;
}
@media (max-width: 600px) { .may17-hero .anchor-stats { grid-template-columns: 1fr; } }

.stat-card {
  background: white; border-radius: 14px;
  padding: 1.5rem 1.5rem;
  box-shadow: var(--shadow-sm); border: 1px solid var(--rule);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative; overflow: hidden;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stat-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
}
.stat-card:nth-child(1)::before { background: var(--green-deep); }
.stat-card:nth-child(2)::before { background: var(--gold); }
.stat-card:nth-child(3)::before { background: var(--orange); }

.stat-card .big {
  font-size: clamp(2.5rem, 4vw, 3.4rem);
  font-weight: 800; line-height: 1;
  color: var(--green-deep); letter-spacing: -0.03em;
}
.stat-card:nth-child(2) .big { color: var(--gold-deep); }
.stat-card:nth-child(3) .big { color: var(--orange); }

.stat-card .label-sm {
  font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--ink-mute);
  margin-top: 0.4rem; margin-bottom: 0.6rem; font-weight: 700;
}
.stat-card .descr {
  font-size: 0.88rem; color: var(--ink-soft); line-height: 1.5;
}

.may17-hero .registration-status {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.92rem; color: var(--ink-soft);
  margin-bottom: 1.8rem; font-weight: 500;
}
.dot-pulse {
  width: 9px; height: 9px; background: var(--orange);
  border-radius: 50%; animation: pulse 2s infinite; flex-shrink: 0;
}

.may17-hero .cta-row { display: flex; gap: 1rem; flex-wrap: wrap; }

/* SESSIONS */
.sessions-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: white;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.sessions-section h2 { margin-bottom: 0.8rem; line-height: 1.05; }
.sessions-section .lead { margin-bottom: 3rem; max-width: 700px; }

.sessions-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem;
}
@media (max-width: 900px) { .sessions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .sessions-grid { grid-template-columns: 1fr; } }

.session {
  background: var(--bg-soft); border-radius: 12px;
  padding: 1.8rem 1.4rem; transition: all 0.25s;
  border: 1px solid transparent; position: relative;
}
.session:hover {
  background: white; border-color: var(--gold);
  transform: translateY(-3px); box-shadow: var(--shadow-md);
}
.session .session-num {
  font-family: var(--mono); font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--gold-deep); font-weight: 600; margin-bottom: 0.7rem;
}
.session h3 {
  font-size: 1.15rem; font-weight: 700; line-height: 1.2;
  margin-bottom: 1rem; color: var(--green-deep);
  letter-spacing: -0.01em;
}
.session ul { list-style: none; padding: 0; }
.session ul li {
  font-size: 0.85rem; color: var(--ink-soft); line-height: 1.55;
  padding-left: 0.95rem; position: relative; margin-bottom: 0.4rem;
}
.session ul li::before {
  content: ''; position: absolute; left: 0; top: 0.65em;
  width: 5px; height: 5px; background: var(--gold); border-radius: 50%;
}

/* TAKEAWAYS */
.takeaways-section { padding: clamp(4rem, 9vw, 8rem) 0; }
.takeaways-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
@media (max-width: 760px) { .takeaways-grid { grid-template-columns: 1fr; } }

.takeaway-block {
  background: white; border-radius: 16px;
  padding: clamp(2rem, 3vw, 2.5rem);
  border: 1px solid var(--rule); box-shadow: var(--shadow-sm);
}
.takeaway-block h3 {
  font-size: 1.5rem; font-weight: 700;
  margin-bottom: 1.5rem; color: var(--green-deep);
}
.takeaway-block ul { list-style: none; padding: 0; }
.takeaway-block ul li {
  padding: 0.95rem 0 0.95rem 2rem;
  border-bottom: 1px solid var(--rule);
  position: relative; font-size: 0.98rem;
  line-height: 1.5; color: var(--ink-soft);
}
.takeaway-block ul li:last-child { border-bottom: none; }
.takeaway-block ul li::before {
  content: '✓'; position: absolute; left: 0;
  top: 0.95rem; color: var(--green-deep);
  font-weight: 700; font-size: 1rem;
}
.takeaway-block.notfor ul li::before {
  content: '×'; color: var(--orange);
  font-size: 1.2rem; top: 0.85rem;
}

.toolkit-section {
  margin-top: 4rem; padding-top: 4rem;
  border-top: 2px solid var(--rule-strong);
}
.toolkit-section h3 {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 800; margin: 0.7rem 0 2rem;
  max-width: 800px; line-height: 1.1;
}

/* WHY NOW */
.whynow-section {
  background: var(--green-deep); color: white;
  padding: clamp(4rem, 9vw, 8rem) 0;
  position: relative; overflow: hidden;
}
.whynow-section::before {
  content: ''; position: absolute; top: -10%; right: -10%;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 166, 66, 0.12) 0%, transparent 60%);
  pointer-events: none;
}
.whynow-section .wrap { position: relative; z-index: 1; }
.whynow-section h2 {
  color: white; font-weight: 800;
  margin-bottom: 3rem; line-height: 1.05;
}
.whynow-section h2 .gold-word { color: var(--gold-bright); }

.shifts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: 3rem;
}
@media (max-width: 760px) { .shifts { grid-template-columns: 1fr; } }

.shift {
  background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px; padding: 2rem 1.8rem; position: relative;
}
.shift .num-big {
  font-size: 3rem; font-weight: 800; line-height: 1;
  color: var(--gold-bright); margin-bottom: 1rem;
  letter-spacing: -0.04em;
}
.shift h4 {
  font-size: 1.3rem; font-weight: 700; color: white;
  margin-bottom: 0.9rem; line-height: 1.2;
}
.shift p {
  font-size: 0.95rem; line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}
.shift p em {
  font-family: var(--serif); font-style: italic; color: var(--gold-bright);
}

/* INSTRUCTOR */
.instructor-section { padding: clamp(4rem, 8vw, 7rem) 0; }
.instructor-grid {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: start;
}
@media (max-width: 760px) { .instructor-grid { grid-template-columns: 1fr; } }

.instructor-card {
  background: white; border-radius: 16px;
  padding: 2.2rem 2rem;
  border: 1px solid var(--rule); box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
}
.instructor-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--green-deep), var(--gold), var(--orange));
}
.instructor-card .name {
  font-size: 1.7rem; font-weight: 800;
  margin-bottom: 0.4rem; color: var(--green-deep);
  line-height: 1; letter-spacing: -0.02em;
}
.instructor-card .role {
  font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--gold-deep);
  margin-bottom: 1.5rem; font-weight: 700;
}
.instructor-card ul {
  list-style: none; padding: 0;
  border-top: 1px solid var(--rule); padding-top: 1.5rem;
}
.instructor-card ul li {
  font-size: 0.92rem; color: var(--ink-soft);
  margin-bottom: 0.6rem; line-height: 1.4;
}
.instructor-card ul li strong {
  font-weight: 700; color: var(--green-deep);
  display: inline-block; min-width: 50px;
}
.instructor-card .link {
  display: inline-block; margin-top: 1.2rem;
  font-size: 0.88rem; color: var(--orange); font-weight: 600;
}

.instructor-body h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700; line-height: 1.15;
  margin-bottom: 1.5rem;
}
.instructor-body h3 em {
  font-family: var(--serif); font-style: italic;
  color: var(--orange); font-weight: 500;
}
.instructor-body p {
  font-size: 1.02rem; line-height: 1.65;
  color: var(--ink-soft); margin-bottom: 1.2rem;
}
.instructor-body p em {
  font-family: var(--serif); font-style: italic;
  color: var(--green-deep); font-weight: 500;
}
.instructor-body p strong {
  color: var(--green-deep); font-weight: 700;
}

/* FAQ */
.faq-section {
  padding: clamp(4rem, 8vw, 7rem) 0; background: white;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.faq-section h2 { margin-bottom: 3rem; line-height: 1.05; }

details {
  border-bottom: 1px solid var(--rule); padding: 1.5rem 0;
}
details:first-of-type { border-top: 1px solid var(--rule); }

summary {
  cursor: pointer; font-size: 1.1rem; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
  list-style: none; color: var(--green-deep);
  padding-right: 1rem; transition: color 0.15s;
}
summary:hover { color: var(--orange); }
summary::-webkit-details-marker { display: none; }

summary::after {
  content: '+'; color: var(--gold-deep);
  font-size: 1.6rem; font-weight: 300;
  transition: transform 0.2s; flex-shrink: 0;
}
details[open] summary { color: var(--orange); }
details[open] summary::after { transform: rotate(45deg); color: var(--orange); }

details > p {
  margin-top: 1rem; font-size: 0.98rem; line-height: 1.65;
  color: var(--ink-soft); max-width: var(--reading-w);
}
details > p strong { color: var(--green-deep); font-weight: 700; }

/* FINAL CTA */
.final-cta {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: linear-gradient(135deg, var(--green-deep) 0%, #0A3D33 100%);
  color: white; text-align: center;
  position: relative; overflow: hidden;
}
.final-cta::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(243, 155, 44, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(201, 166, 66, 0.12) 0%, transparent 50%);
  pointer-events: none;
}
.final-cta .wrap { position: relative; z-index: 1; }

.final-cta h2 {
  color: white; font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  max-width: 950px; margin: 1rem auto 1.5rem;
  line-height: 1.05; letter-spacing: -0.025em;
}
.final-cta h2 em {
  font-family: var(--serif); font-style: italic;
  color: var(--gold-bright); font-weight: 500;
}
.final-cta .sub {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem; font-weight: 400;
  max-width: 600px; margin-left: auto; margin-right: auto;
}
.final-cta .meta-line {
  font-size: 0.85rem; color: rgba(255, 255, 255, 0.65);
  margin-top: 2rem; font-weight: 500;
}
.final-cta .meta-line a { color: var(--gold-bright); }

.maxw-text { max-width: var(--reading-w); }
.tcenter { text-align: center; }

/* ============================================================
   FEATURED BOOK SECTION (homepage flagship)
   ============================================================ */

.book-feature {
  background: linear-gradient(135deg, #0A1F2E 0%, #15384A 100%);
  color: white;
  padding: clamp(4rem, 9vw, 8rem) 0;
  position: relative;
  overflow: hidden;
}

.book-feature::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(212, 179, 73, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(13, 77, 63, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

.book-feature .wrap { position: relative; z-index: 1; }

.book-feature-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

@media (max-width: 820px) {
  .book-feature-grid { grid-template-columns: 1fr; }
}

.book-cover-wrap {
  position: relative;
  perspective: 1000px;
}

.book-cover-wrap img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  margin: 0 auto;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 10px 30px rgba(0, 0, 0, 0.3),
    -2px 0 8px rgba(0, 0, 0, 0.2);
  transform: rotate(-1.5deg);
  transition: transform 0.4s ease;
  border-radius: 2px;
}

.book-cover-wrap:hover img { transform: rotate(0deg) scale(1.02); }

.book-content .eyebrow {
  color: var(--gold-bright);
  margin-bottom: 1.2rem;
}

.book-content h2 {
  color: white;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 0.4rem;
}

.book-content h2 .subtitle {
  display: block;
  font-size: 0.5em;
  color: var(--gold-bright);
  font-weight: 500;
  margin-top: 0.8rem;
  letter-spacing: -0.015em;
}

.book-hook {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 300;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  margin: 2rem 0;
  padding-left: 1.5rem;
  border-left: 3px solid var(--gold-bright);
}

.book-hook strong {
  font-style: normal;
  font-weight: 600;
  color: var(--gold-bright);
}

.book-inside-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2.5rem;
}

.book-inside-list li {
  padding: 0.6rem 0 0.6rem 1.8rem;
  position: relative;
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.book-inside-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 0.6rem;
  color: var(--gold-bright);
  font-weight: 700;
}

.book-inside-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-bright);
  font-weight: 700;
  margin-bottom: 0.4rem;
  display: block;
}

.book-buy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-book {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.6rem;
  background: var(--gold-bright);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-book:hover {
  background: white;
  color: var(--ink);
  gap: 1rem;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 179, 73, 0.3);
}

.btn-book.outline {
  background: transparent;
  color: var(--gold-bright);
  border: 1.5px solid var(--gold-bright);
}

.btn-book.outline:hover {
  background: var(--gold-bright);
  color: var(--ink);
}

.btn-book .price {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
}

.btn-book.outline .price { background: rgba(212, 179, 73, 0.2); }

.book-footnote {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}

/* ============================================================
   DEEP-DIVE PAGE STYLES (aefm.html, ai-in-trading.html)
   ============================================================ */

.deep-hero {
  padding: clamp(3rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}

.deep-hero::before {
  content: ''; position: absolute; top: -10%; right: -15%;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 166, 66, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.deep-hero .wrap { position: relative; z-index: 1; }

.deep-hero .breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-mute);
  margin-bottom: 2rem;
  font-weight: 500;
}

.deep-hero .breadcrumb a { color: var(--green-deep); font-weight: 600; }

.deep-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
  color: var(--ink);
}

.deep-hero h1 .green-word { color: var(--green-deep); }
.deep-hero h1 .gold-word { color: var(--gold-deep); }

.deep-hero .deep-subtitle {
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  color: var(--ink-soft);
  font-weight: 400;
  line-height: 1.5;
  max-width: 800px;
  margin: 1.5rem 0 2rem;
}

.deep-hero .deep-subtitle em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--green-deep);
  font-weight: 500;
}

.deep-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2.5rem 0;
  max-width: 800px;
}

@media (max-width: 720px) { .deep-meta-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px) { .deep-meta-grid { grid-template-columns: 1fr; } }

.deep-meta {
  background: white;
  border-radius: 12px;
  padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--gold);
}

.deep-meta:nth-child(1) { border-top-color: var(--green-deep); }
.deep-meta:nth-child(2) { border-top-color: var(--gold); }
.deep-meta:nth-child(3) { border-top-color: var(--orange); }
.deep-meta:nth-child(4) { border-top-color: var(--green-mid); }

.deep-meta .lbl {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--ink-mute);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.deep-meta .val {
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.deep-meta .val small {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-mute);
  display: block;
  margin-top: 0.2rem;
}

/* AEFM-specific badge */
.imt-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: white;
  border: 1px solid var(--rule);
  padding: 0.6rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.imt-badge .marker {
  display: inline-flex;
  width: 22px; height: 22px;
  background: var(--green-deep);
  color: var(--gold-bright);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
  align-items: center;
  justify-content: center;
}

/* Series tags for AI in Trading */
.series-row {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin: 1.5rem 0 2rem;
}

.series-pill {
  background: white;
  border: 1px solid var(--rule);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.series-pill.active {
  background: var(--green-deep);
  color: white;
  border-color: var(--green-deep);
}

.series-pill .num {
  font-size: 0.7rem;
  background: rgba(0, 0, 0, 0.1);
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  font-weight: 700;
}

.series-pill.active .num {
  background: var(--gold-bright);
  color: var(--ink);
}

/* Why this section (deep dive) */
.deep-why {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: white;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.deep-why h2 { line-height: 1.05; margin-bottom: 0.8rem; }

.deep-why-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (max-width: 820px) { .deep-why-grid { grid-template-columns: 1fr; } }

.deep-why-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.deep-why-body p { margin-bottom: 1.2rem; max-width: none; }
.deep-why-body p strong { color: var(--green-deep); font-weight: 700; }
.deep-why-body p em { font-family: var(--serif); font-style: italic; color: var(--gold-deep); font-weight: 500; }

/* Audience tags */
.audience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.audience-tag {
  background: var(--green-tint);
  color: var(--green-deep);
  padding: 0.55rem 1.05rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
}

/* Certification block (AEFM specific) */
.cert-block {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: linear-gradient(135deg, var(--green-deep) 0%, #0A3D33 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.cert-block::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(201, 166, 66, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.cert-block .wrap { position: relative; z-index: 1; }

.cert-block h2 {
  color: white;
  margin-bottom: 1rem;
  line-height: 1.05;
}

.cert-block h2 .gold-word { color: var(--gold-bright); }

.cert-block .cert-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 3rem;
  max-width: 700px;
}

.cert-flow {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 760px) { .cert-flow { grid-template-columns: 1fr; gap: 1rem; } }

.cert-step {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 1.8rem 1.5rem;
  text-align: center;
  position: relative;
}

.cert-step .num-circle {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--gold-bright);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 auto 1rem;
}

.cert-step h4 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
}

.cert-step p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
  margin: 0 auto;
  max-width: none;
}

.cert-cta {
  margin-top: 3rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.cert-meta {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* Two-instructor card (AEFM has two) */
.dual-instructor {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 720px) { .dual-instructor { grid-template-columns: 1fr; } }

.dual-instructor .instructor-card {
  padding: 1.8rem 1.6rem;
}

.dual-instructor .instructor-card .name {
  font-size: 1.35rem;
}

.dual-instructor .instructor-card .role {
  font-size: 0.72rem;
}

.dual-instructor .instructor-card ul li {
  font-size: 0.88rem;
}

.bio-block {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

.bio-block strong { color: var(--green-deep); font-weight: 700; }

/* Hero positioning headline (smaller, multi-color blend) */
.hero h1.position-headline {
  font-size: clamp(1.7rem, 4.2vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  max-width: 720px;
}

.hero h1.position-headline .green-word,
.hero h1.position-headline .gold-word {
  font-weight: 800;
  white-space: nowrap;
}

.hero h1.position-headline .amp {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-mute);
  font-weight: 400;
  margin: 0 0.1em;
}

/* Gold solid button — premium accent (matches headline gold word) */
.btn-gold {
  background: var(--gold-deep);
  color: white;
}
.btn-gold:hover {
  background: var(--gold);
  color: var(--ink);
  gap: 0.9rem;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Hero CTA row — substantial buttons with breathing room */
.cta-row.cta-row-hero {
  gap: 1.3rem;
  margin-top: 3rem;
}

.cta-row.cta-row-hero .btn {
  padding: 1.05rem 2.2rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  min-width: 140px;
  justify-content: center;
}

/* Position headline — slightly tighter line-height for clean phrase stacking */
.hero h1.position-headline {
  line-height: 1.1;
  margin-bottom: 0;
}

.hero h1.position-headline .green-word,
.hero h1.position-headline .gold-word {
  display: inline-block;
}

/* Headline orange — use deeper variant to match the visual weight of green-deep and gold-deep */
.hero h1.position-headline .orange-word {
  color: var(--orange-deep);
  font-weight: 800;
  display: inline-block;
  white-space: nowrap;
}

/* Add some vertical breathing in hero — center content against right column */
.hero-grid > div:first-child {
  padding: 0.5rem 0;
}

/* Hero thesis paragraphs (moved from old thesis-block, now inside hero) */
.hero .hero-thesis {
  margin: 1.8rem 0 0.5rem;
  max-width: 640px;
}

.hero .hero-thesis p {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
  max-width: none;
}

.hero .hero-thesis p:last-child {
  margin-bottom: 0;
}

.hero .hero-thesis strong {
  color: var(--green-deep);
  font-weight: 700;
}

.hero .hero-thesis em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-deep);
  font-weight: 500;
}

/* When hero has hero-thesis content, reduce CTA row top margin */
.hero .hero-thesis + .cta-row.cta-row-hero {
  margin-top: 2.2rem;
}

/* Nav contact icons (right side) — email + whatsapp */
nav.top .nav-contacts {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

nav.top .nav-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.2s ease;
}

nav.top .nav-contact-icon:hover {
  background: white;
  color: var(--green-deep);
  border-color: white;
  transform: translateY(-1px);
}

nav.top .nav-contact-icon.whatsapp:hover {
  background: #25D366;
  color: white;
  border-color: #25D366;
}

/* ============================================================
   HERO PORTRAIT — author intro on index page
   ============================================================ */
.hero-intro {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.hero-portrait {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 3px solid white;
  box-shadow: 0 4px 16px rgba(13, 77, 63, 0.18), 0 0 0 1px var(--rule);
  flex-shrink: 0;
  background: var(--bg-soft);
}

.hero-intro-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.hero-intro-name {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--green-deep);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.hero-intro-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
}

@media (max-width: 600px) {
  .hero-portrait { width: 72px; height: 72px; }
  .hero-intro-name { font-size: 0.98rem; }
  .hero-intro-tag { font-size: 0.68rem; letter-spacing: 0.15em; }
}

/* ============================================================
   COMING SOON STUB — may17.html
   ============================================================ */
.coming-soon-hero {
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 9vw, 8rem);
  position: relative;
  overflow: hidden;
}

.coming-soon-hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -15%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 166, 66, 0.10) 0%, transparent 60%);
  pointer-events: none;
}

.coming-soon-hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 77, 63, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.coming-soon-hero .wrap {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.coming-soon-hero .breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-mute);
  margin-bottom: 2rem;
  font-weight: 500;
}

.coming-soon-hero .breadcrumb a {
  color: var(--ink-soft);
  text-decoration: none;
}

.coming-soon-hero .breadcrumb a:hover {
  color: var(--green-deep);
}

.coming-soon-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  padding: 0.45rem 1rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 14px rgba(201, 166, 66, 0.28);
}

.coming-soon-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
  color: var(--green-deep);
}

.coming-soon-hero h1 .subtitle {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
  margin-top: 0.8rem;
}

.coming-soon-lead {
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 2.5rem;
  max-width: 620px;
}

.coming-soon-lead em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-deep);
  font-weight: 500;
}

.coming-soon-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-sm);
}

.coming-soon-meta .meta-item {
  flex: 1 1 180px;
  min-width: 0;
}

.coming-soon-meta .meta-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
  margin-bottom: 0.35rem;
}

.coming-soon-meta .meta-value {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.coming-soon-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.coming-soon-back {
  font-size: 0.95rem;
  color: var(--ink-mute);
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

.coming-soon-back a {
  color: var(--green-deep);
  font-weight: 600;
}

.coming-soon-back a:hover {
  color: var(--orange);
}
