/* =========================================================
   Sumit Vyas — personal site
   Editorial aesthetic: Playfair Display + DM Sans, paper/ink/rust
   ========================================================= */

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

:root {
  --ink: #1a1814;
  --ink-light: #4a4843;
  --ink-muted: #8a8780;
  --paper: #f9f7f3;
  --paper-warm: #f2ede4;
  --accent: #c8501a;
  --accent-light: #f0e4dc;
  --border: rgba(26, 24, 20, 0.1);
  --border-strong: rgba(26, 24, 20, 0.18);
  --shadow: 0 8px 30px rgba(26, 24, 20, 0.08);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --maxw: 1240px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

/* Shared type helpers */
.eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 22ch;
}
.section-title em { font-style: italic; color: var(--accent); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--gutter);
  background: rgba(249, 247, 243, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, padding 0.3s, background 0.3s;
}
.nav.scrolled { border-bottom-color: var(--border); padding-block: 0.8rem; }
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 2.2rem; list-style: none; }
.nav-links a {
  font-size: 0.875rem;
  color: var(--ink-light);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  border: 1px solid var(--accent);
  padding: 0.5rem 1.2rem;
  border-radius: 2px;
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--accent); color: #fff; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  margin: 4px 0;
  transition: transform 0.25s, opacity 0.25s;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.9rem 1.9rem;
  border-radius: 2px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s, border-color 0.2s;
  letter-spacing: 0.01em;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); }
.btn-outline { border-color: var(--border-strong); color: var(--ink); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-white { background: #fff; color: var(--accent); font-weight: 600; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.15); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.875rem; font-weight: 500;
  color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  align-content: center;
  gap: clamp(2.5rem, 5vw, 5.5rem);
  padding: 8rem var(--gutter) 4rem;
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
}
/* soft, full-bleed warm wash behind the photo — no hard seam */
.hero::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 46%;
  width: 54vw;
  background: linear-gradient(100deg, transparent 0%, var(--paper-warm) 34%);
  z-index: -1;
  pointer-events: none;
}
.hero-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.9rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 1.6rem;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-sub {
  font-size: 1.06rem;
  font-weight: 300;
  color: var(--ink-light);
  line-height: 1.7;
  max-width: 46ch;
  margin-bottom: 2.4rem;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }

.hero-side {
  display: flex; flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}
.hero-photo {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4 / 5;
  background: var(--paper-warm);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 60px -28px rgba(26, 24, 20, 0.45);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero-photo-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.6rem;
  background: var(--ink);
  color: rgba(255,255,255,0.35);
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.hero-photo::after {
  content: '';
  position: absolute; inset: auto 0 0 0; height: 30%;
  background: linear-gradient(to top, rgba(26, 24, 20, 0.28), transparent);
  pointer-events: none;
}
.hero-stats {
  display: flex; gap: 2rem; width: 100%; max-width: 400px;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.hero-stats .stat { flex: 1; }
.stat-num {
  font-family: var(--font-display);
  font-size: 1.85rem; font-weight: 700; line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-label {
  font-size: 0.7rem; color: var(--ink-muted);
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* =========================================================
   AUTHORITY MARQUEE
   ========================================================= */
.authority {
  border-block: 1px solid var(--border);
  background: var(--paper-warm);
  overflow: hidden;
}
.authority-inner {
  display: flex; align-items: center; gap: 3.5rem;
  padding: 1.1rem 0;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
}
.authority:hover .authority-inner { animation-play-state: paused; }
.authority-item {
  font-size: 0.85rem; color: var(--ink-light);
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.authority-item strong { color: var(--ink); font-weight: 600; }
.authority-item::before {
  content: '✦'; color: var(--accent); font-size: 0.7rem;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================
   GENERIC SECTION
   ========================================================= */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-head { margin-bottom: 3.2rem; max-width: var(--maxw); }
.section-head--split {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}

/* =========================================================
   AI SECTION (signature)
   ========================================================= */
.ai {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
/* animated pencil scribble behind dark sections (JS-driven, desktop only) */
.scribble-zone { position: relative; overflow: hidden; }
.scribble {
  position: absolute; inset: 0;
  z-index: 0; pointer-events: none;
  color: var(--accent); opacity: 1;
}
.scribble svg { width: 100%; height: 100%; display: block; }
.scribble-line { fill: none; }
/* keep section content above the scribble overlay */
.ai-inner, .beliefs-inner, .newsletter-inner, .footer-inner { position: relative; z-index: 1; }
/* cursor becomes the pencil while drawing; keep real cursor on interactive bits */
.scribble-zone.drawing { cursor: none; }
.scribble-zone.drawing a, .scribble-zone.drawing button { cursor: pointer; }
.scribble-zone.drawing input { cursor: text; }
@media (prefers-reduced-motion: reduce) { .scribble { display: none; } }
.ai-inner {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 4rem; align-items: start;
  position: relative; z-index: 1;
}
.ai .eyebrow { color: rgba(200,80,26,0.9); }
.ai .section-title { color: #fff; margin-bottom: 1.25rem; }
.ai-lead {
  font-size: 0.98rem; font-weight: 300;
  color: rgba(255,255,255,0.5); line-height: 1.7;
  margin-bottom: 1.8rem; max-width: 42ch;
}
.ai-tags { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 2rem; }
.ai-tag {
  font-size: 0.74rem; color: rgba(200,80,26,0.95);
  border: 1px solid rgba(200,80,26,0.35);
  padding: 0.35rem 0.8rem; border-radius: 2px;
}
.ai-cta {
  color: #fff; text-decoration: none; font-weight: 500; font-size: 0.875rem;
  border-bottom: 1px solid rgba(255,255,255,0.25); padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
}
.ai-cta:hover { color: var(--accent); border-color: var(--accent); }
.ai-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2.2rem;
  margin-top: 1.4rem;
}
.ai-card {
  position: relative;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 1.7rem 1.6rem;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.ai-card:hover { background: rgba(200,80,26,0.10); border-color: rgba(200,80,26,0.55); transform: translateY(-3px); }
.ai-card-num {
  position: absolute; top: -1.5rem; left: 1.1rem;
  font-family: var(--font-display);
  font-size: 2.9rem; font-weight: 700; line-height: 1;
  color: var(--accent);
  text-shadow: 0 2px 10px rgba(26,24,20,0.5);
}
.ai-card h4 {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700; color: #fff;
  margin-bottom: 0.5rem; line-height: 1.2;
}
.ai-card p { font-size: 0.82rem; font-weight: 300; color: rgba(255,255,255,0.45); line-height: 1.6; }

/* =========================================================
   NOTES / CONTENT
   ========================================================= */
.notes { background: var(--paper-warm); }
.notes-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
}
.note-card {
  background: var(--paper);
  padding: 2rem;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  transition: background 0.2s, transform 0.2s;
  min-height: 230px;
}
.note-card:hover { background: #fff; }
.note-card.featured { padding: 2.5rem; }
.note-platform {
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem;
}
.note-platform::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.note-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 700; line-height: 1.25;
  margin-bottom: 0.75rem;
}
.note-card.featured h3 { font-size: 1.55rem; }
.note-card p {
  font-size: 0.85rem; font-weight: 300; color: var(--ink-light);
  line-height: 1.6; margin-bottom: 1rem;
}
.note-meta { font-size: 0.75rem; color: var(--ink-muted); margin-top: auto; }
.note-meta::before { content: '— '; }

/* =========================================================
   BELIEFS / PHILOSOPHY (dark manifesto band)
   ========================================================= */
.beliefs { background: var(--ink); color: #fff; }
.beliefs .eyebrow { color: rgba(200,80,26,0.95); }
.beliefs .section-title { color: #fff; }
.beliefs-inner {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start;
}
.beliefs-quote {
  font-family: var(--font-display);
  font-size: 1.4rem; font-style: italic; font-weight: 400;
  color: rgba(255,255,255,0.62); line-height: 1.5;
  border-left: 2px solid var(--accent); padding-left: 1.4rem; margin-top: 1.8rem;
}
.beliefs-list { display: flex; flex-direction: column; gap: 1.8rem; }
.belief { display: flex; gap: 1.2rem; align-items: flex-start; }
.belief-num {
  flex-shrink: 0; width: 36px; height: 36px;
  background: rgba(200,80,26,0.18); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  border-radius: 2px; font-weight: 700; font-size: 0.85rem;
}
.belief h4 { font-size: 1rem; font-weight: 600; margin-bottom: 0.3rem; color: #fff; }
.belief p { font-size: 0.88rem; font-weight: 300; color: rgba(255,255,255,0.5); line-height: 1.6; }

/* =========================================================
   WORK / SERVICES
   ========================================================= */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service {
  padding: 2.4rem 2rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  position: relative;
  transition: background 0.25s, border-color 0.25s, transform 0.2s, box-shadow 0.25s;
}
.service:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow); }
.service-num {
  font-family: var(--font-display);
  font-size: 3.2rem; font-weight: 700; color: var(--border-strong);
  line-height: 1; margin-bottom: 1.3rem;
}
.service-head { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 0.95rem; }
.service-icon { flex-shrink: 0; transition: transform 0.25s; }
.service-icon img { display: block; width: 52px; height: 52px; object-fit: contain; }
.service:hover .service-icon { transform: translateY(-2px); }
.service h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; margin: 0; line-height: 1.15; }
.service p { font-size: 0.88rem; font-weight: 300; color: var(--ink-light); line-height: 1.65; }
.service-arrow {
  position: absolute; bottom: 1.8rem; right: 1.8rem;
  color: var(--ink-muted); font-size: 1.1rem;
  transition: transform 0.2s, color 0.2s;
}
.service:hover .service-arrow { transform: translate(4px, -4px); color: var(--accent); }

/* =========================================================
   PROOF
   ========================================================= */
.proof-numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.proof-num { background: var(--paper); padding: 1.9rem; transition: background 0.2s; }
.proof-num:hover { background: var(--paper-warm); }
.proof-num .big {
  font-family: var(--font-display);
  font-size: 2.8rem; font-weight: 700; line-height: 1; margin-bottom: 0.5rem;
}
.proof-num .big span { color: var(--accent); }
.proof-num .lbl { font-size: 0.82rem; font-weight: 300; color: var(--ink-light); line-height: 1.4; }
.testimonial {
  margin-top: 2rem; padding: 1.7rem;
  background: var(--paper-warm); border-left: 2px solid var(--accent);
}
.testimonial blockquote {
  font-family: var(--font-display); font-style: italic; font-size: 1.05rem;
  line-height: 1.6; margin-bottom: 1rem;
}
.testimonial cite {
  font-size: 0.78rem; font-weight: 500; color: var(--ink-muted);
  letter-spacing: 0.05em; text-transform: uppercase; font-style: normal;
}

/* =========================================================
   BOOKS
   ========================================================= */
.books { background: var(--paper-warm); }
.books-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.book {
  display: grid; grid-template-columns: 150px 1fr; gap: 1.8rem;
  padding: 2rem; background: var(--paper); border: 1px solid var(--border); border-radius: 6px;
  text-decoration: none; color: inherit;
  transition: border-color 0.2s, background 0.2s;
}
.book:hover { border-color: var(--accent); background: #fff; }
.book-cover {
  aspect-ratio: 3 / 4; border-radius: 3px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 1.2rem;
}
.book-cover.marketing { background: var(--ink); }
.book-cover.fiction { background: #2d1f3d; }
.book-cover--img { padding: 0; background: var(--paper-warm); }
.book-cover--img::before { display: none; }
.book-cover--img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.book-cover::before {
  content: ''; position: absolute; top: 0; left: 0; width: 7px; height: 100%;
  background: rgba(0,0,0,0.3);
}
.book-cover-title { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; color: #fff; line-height: 1.2; position: relative; }
.book-cover-author { font-size: 0.62rem; color: rgba(255,255,255,0.5); margin-top: 0.4rem; letter-spacing: 0.06em; text-transform: uppercase; position: relative; }
.book-cover::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 4px;
}
.book-cover.marketing::after { background: var(--accent); }
.book-cover.fiction::after { background: #9b59b6; }
.book-info { display: flex; flex-direction: column; justify-content: center; }
.book-genre { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.7rem; }
.book-info h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; line-height: 1.2; margin-bottom: 0.7rem; }
.book-info p { font-size: 0.86rem; font-weight: 300; color: var(--ink-light); line-height: 1.65; margin-bottom: 1.1rem; }
.book-badge {
  display: inline-block; font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.3rem 0.7rem; border-radius: 2px;
}
.book-badge.coming { background: var(--paper-warm); color: var(--ink-muted); border: 1px solid var(--border); }
.book-badge.available { background: var(--accent-light); color: var(--accent); border: 1px solid rgba(200,80,26,0.25); }

/* =========================================================
   NEWSLETTER
   ========================================================= */
.newsletter { background: var(--accent); color: #fff; padding-top: 4.25rem; padding-bottom: 4.25rem; }
.newsletter-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.newsletter .eyebrow { color: rgba(255,255,255,0.7); }
.newsletter h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 1rem; }
.newsletter p { font-size: 0.95rem; font-weight: 300; color: rgba(255,255,255,0.85); line-height: 1.7; max-width: 46ch; }
.newsletter-right { display: flex; flex-direction: column; gap: 1.1rem; }
.newsletter-form { display: flex; flex-direction: column; gap: 0.8rem; }
.newsletter-row { display: flex; gap: 0.7rem; }
.newsletter input {
  flex: 1; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.35);
  color: #fff; padding: 0.9rem 1.1rem; border-radius: 2px; font-family: var(--font-body); font-size: 0.9rem;
}
.newsletter input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter input:focus { outline: none; border-color: #fff; }
.newsletter-note { font-size: 0.75rem; color: rgba(255,255,255,0.6); }
.newsletter-msg { font-size: 0.85rem; color: #fff; min-height: 1.2em; }
.newsletter-or { font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-top: 0.3rem; }
.nl-telegram { justify-content: center; }

/* =========================================================
   CTA STRIP
   ========================================================= */
.cta-strip { background: var(--accent); }
.cta-strip-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2.5rem; flex-wrap: wrap;
}
.cta-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.7rem); font-weight: 700; color: #fff;
  line-height: 1.1; letter-spacing: -0.02em;
}
.cta-strip h2 em { font-style: italic; opacity: 0.75; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--ink); color: #fff; padding: 3rem var(--gutter); }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.footer-logo { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; text-decoration: none; }
.footer-links { display: flex; gap: 1.8rem; list-style: none; flex-wrap: wrap; }
.footer-links a { font-size: 0.82rem; color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.3); }

/* =========================================================
   HERO FOLLOW LINKS
   ========================================================= */
.hero-follow {
  display: flex; align-items: center; flex-wrap: wrap; gap: 1.1rem;
  margin-top: 1.8rem;
}
.hero-follow span {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-muted);
}
.hero-follow a {
  font-size: 0.85rem; font-weight: 500; color: var(--ink);
  text-decoration: none; position: relative; transition: color 0.2s;
}
.hero-follow a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s;
}
.hero-follow a:hover { color: var(--accent); }
.hero-follow a:hover::after { transform: scaleX(1); }

/* =========================================================
   COURSES (coming soon)
   ========================================================= */
.courses-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.courses-lead {
  font-size: 1rem; font-weight: 300; color: var(--ink-light);
  line-height: 1.7; margin: 1.4rem 0 1.8rem; max-width: 46ch;
}
.courses-card {
  background: var(--paper-warm);
  border: 1px solid var(--border);
  border-radius: 4px; padding: 2rem;
}
.courses-card-label {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--ink-muted); margin-bottom: 1.2rem;
}
.course-list { list-style: none; display: flex; flex-direction: column; }
.course-list li {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border);
}
.course-list li:first-child { padding-top: 0; }
.course-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; }
.course-badge {
  flex-shrink: 0;
  font-size: 0.66rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-light);
  border: 1px solid rgba(200,80,26,0.2); padding: 0.25rem 0.6rem; border-radius: 2px;
}
.courses-card-note { font-size: 0.8rem; font-weight: 300; color: var(--ink-muted); margin-top: 1.3rem; }

/* single featured course card */
.course-feature-name { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; line-height: 1.15; margin-bottom: 0.9rem; }
.course-feature-tag { display: flex; gap: 0.5rem; margin-bottom: 1.4rem; }
.course-badge.alt { color: var(--ink-muted); background: var(--paper); border-color: var(--border); }
.course-points { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.course-points li {
  position: relative; padding-left: 1.5rem;
  font-size: 0.9rem; font-weight: 300; color: var(--ink-light); line-height: 1.5;
}
.course-points li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--accent); font-weight: 700; font-size: 0.85rem;
}

/* connect "mail me" button row */
.connect-cta { margin-top: 2.5rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* course "notify me" email capture */
.course-notify { margin-top: 1.6rem; max-width: 430px; }
.course-notify .newsletter-row { display: flex; gap: 0.6rem; }
.course-notify input {
  flex: 1; background: var(--paper); border: 1px solid var(--border-strong);
  color: var(--ink); padding: 0.85rem 1rem; border-radius: 4px;
  font-family: var(--font-body); font-size: 0.9rem;
}
.course-notify input:focus { outline: none; border-color: var(--accent); }
.course-notify .btn-primary { white-space: nowrap; }
.course-notify .newsletter-msg { font-size: 0.8rem; color: var(--accent); margin-top: 0.5rem; min-height: 1em; }

/* =========================================================
   AI COMMUNITY
   ========================================================= */
.community { background: var(--accent); color: #fff; padding-top: 4.25rem; padding-bottom: 4.25rem; }
.community-inner {
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 3rem; align-items: center;
}
.community .eyebrow { color: rgba(255,255,255,0.7); }
.community-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 700;
  line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 1rem;
}
.community-text h2 em { font-style: italic; opacity: 0.78; }
.community-text p { font-size: 0.98rem; font-weight: 300; color: rgba(255,255,255,0.85); line-height: 1.7; max-width: 48ch; }
.community-actions { display: flex; flex-direction: column; gap: 0.9rem; }
.community-btn { justify-content: center; padding-block: 1rem; }
.btn-outline-white { border-color: rgba(255,255,255,0.55); color: #fff; background: transparent; }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: #fff; transform: translateY(-2px); }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; gap: 2.75rem; padding-top: 7.5rem; min-height: auto; }
  .hero::before { display: none; }
  .hero-side { align-items: flex-start; }
  .hero-photo, .hero-stats { max-width: 100%; }
  .ai-inner, .beliefs-inner, .newsletter-inner, .courses-inner, .community-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .notes-grid { grid-template-columns: 1fr 1fr; }
  .books-grid { grid-template-columns: 1fr; }
  .proof-numbers { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .nav-links, .nav > .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 1.4rem;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); padding: 1.5rem var(--gutter);
    border-bottom: 1px solid var(--border);
  }
  .nav.open .nav-cta { display: inline-block; }
  .services-grid { grid-template-columns: 1fr; }
  .service { border-right: none; border-bottom: 1px solid var(--border); }
  .service:last-child { border-bottom: none; }
  .ai-grid, .notes-grid, .proof-numbers { grid-template-columns: 1fr; }
  .book { grid-template-columns: 110px 1fr; gap: 1.2rem; padding: 1.4rem; }
  .newsletter-row { flex-direction: column; }
  .cta-strip-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* Honeypot field — hidden from humans, visible to dumb bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Subscribe message error state */
.newsletter-msg.is-error { color: #ffd9c2; }
.course-notify .newsletter-msg.is-error { color: #b03a0f; }
