/* ============================================================
   Sam the Agent — Variant A · The Educator
   Production responsive stylesheet
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg: #F2EADA;
  --bg-2: #FBF6EB;
  --paper: #FFFFFF;
  --ink: #0E0E0C;
  --ink-2: #2B2A26;
  --ink-3: #5C594E;
  --ink-faint: #95907F;
  --line: #C8BFA8;
  --line-strong: #0E0E0C;
  --accent: #C24A1E;
  --accent-2: #F0B847;
  --accent-soft: #F5E2C4;

  --display: "Instrument Serif", "Times New Roman", Georgia, serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --maxw: 1168px;
  --pad-x: clamp(20px, 4vw, 56px);
  --pad-y: clamp(56px, 8vw, 96px);
  --pad-y-tight: clamp(36px, 5vw, 64px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); font-family: var(--body); line-height: 1.55; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, button, textarea { font-family: inherit; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 0.98;
  color: var(--ink);
}
h1 { font-size: clamp(40px, 7vw, 84px); line-height: 0.95; }
h2 { font-size: clamp(34px, 5.5vw, 60px); line-height: 0.98; }
h3 { font-size: clamp(26px, 3.5vw, 40px); }
h4 { font-family: var(--body); font-size: clamp(18px, 2vw, 22px); font-weight: 700; letter-spacing: -0.005em; line-height: 1.2; }

.h-display { font-family: var(--display); font-weight: 500; font-size: clamp(48px, 9.5vw, 132px); line-height: 0.9; letter-spacing: -0.02em; color: var(--ink); }
.italic { font-style: italic; font-weight: 400; }
.accent { color: var(--accent); }
.underline-mark { background: linear-gradient(transparent 62%, var(--accent-soft) 62% 92%, transparent 92%); padding: 0 4px; }

p { font-size: clamp(15px, 1.4vw, 17px); line-height: 1.55; color: var(--ink-2); margin: 0; }
.lede { font-size: clamp(17px, 1.8vw, 22px); line-height: 1.45; color: var(--ink-2); }
.small { font-size: 13px; color: var(--ink-3); }

.eyebrow {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
  display: inline-block;
}

/* ---------- Layout helpers ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x); }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 var(--pad-x); }

.section { padding: var(--pad-y) 0; }
.section-tight { padding: var(--pad-y-tight) 0; }
.section-alt { background: var(--bg-2); }
.section-ink { background: var(--ink); color: var(--bg-2); }
.section-ink p, .section-ink .lede { color: rgba(255,255,255,0.78); }
.section-ink h1, .section-ink h2, .section-ink h3, .section-ink h4 { color: #fff; }
.section-ink .eyebrow { color: rgba(255,255,255,0.6); }
.section-accent { background: var(--accent); color: #fff; }
.section-accent h1, .section-accent h2, .section-accent h3, .section-accent h4 { color: #fff; }
.section-accent p { color: rgba(255,255,255,0.9); }

.grid { display: grid; gap: clamp(24px, 4vw, 48px); }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-hero { grid-template-columns: 1.15fr 1fr; align-items: end; gap: clamp(32px, 5vw, 72px); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-hero { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  border: 1.5px solid transparent;
  transition: background 150ms ease, color 150ms ease, transform 150ms ease;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--bg-2); }
.btn-primary:hover { background: var(--accent); color: #fff; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--bg-2); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--ink); }
.btn-inverse { background: #fff; color: var(--ink); }
.btn-inverse:hover { background: var(--accent-soft); }
.btn-ghost { background: transparent; padding: 8px 0; border-bottom: 1.5px solid var(--ink); border-radius: 0; gap: 6px; }
.btn-ghost:hover { color: var(--accent); border-color: var(--accent); transform: none; }
.btn-block { width: 100%; }

/* ---------- Cards ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(20px, 3vw, 32px);
}
.card-flat {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(18px, 2.5vw, 24px);
}
.card-ink {
  background: var(--ink);
  color: var(--bg-2);
  border: 1px solid var(--ink);
  border-radius: 16px;
  padding: clamp(24px, 3.5vw, 40px);
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 234, 218, 0.94);
  backdrop-filter: saturate(120%) blur(6px);
  -webkit-backdrop-filter: saturate(120%) blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad-x);
  max-width: 1280px;
  margin: 0 auto;
  gap: 24px;
}
.nav-logo {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.nav-logo .accent { color: var(--accent); }
.nav-links {
  display: flex; gap: clamp(20px, 2.5vw, 36px);
  font-size: 15px;
  font-weight: 500;
}
.nav-links a { padding: 6px 0; position: relative; transition: color 150ms; }
.nav-links a:hover { color: var(--accent); }
.nav-links a.active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--accent);
}
.nav-cta { display: inline-flex; }
.nav-cta-mobile { display: none; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: 8px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--ink); position: relative;
  transition: transform 200ms;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--ink);
  transition: transform 200ms, top 200ms;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top: 7px; }
.nav.open .nav-toggle span { background: transparent; }
.nav.open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav.open .nav-toggle span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .nav.open .nav-cta-mobile { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    padding: 12px var(--pad-x) 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(0,0,0,0.06);
  }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; font-family: var(--display); font-style: italic; }
  .nav-links a:last-of-type { border-bottom: 0; }
  .nav-links .nav-cta-mobile {
    display: inline-flex; margin-top: 14px; border-bottom: 0; font-family: var(--body); font-style: normal;
  }
  .nav.open .nav-links { display: flex; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.hero .container { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: end; }
.hero h1 { margin: 0; }
.hero .lede { margin-top: clamp(20px, 3vw, 36px); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(24px, 4vw, 40px); align-items: center; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 36px); margin-top: clamp(32px, 5vw, 56px); padding-top: clamp(20px, 3vw, 32px); border-top: 1px solid var(--line); }
.stat-n { font-family: var(--display); font-size: clamp(36px, 5vw, 56px); font-weight: 500; letter-spacing: -0.02em; line-height: 1; color: var(--ink); }
.stat-l { font-size: 13px; color: var(--ink-3); margin-top: 8px; max-width: 180px; }
.hero-image-wrap { position: relative; }
.hero-image { aspect-ratio: 3/4; overflow: hidden; border-radius: 8px; position: relative; background: var(--accent-soft); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; inset: -12px -12px auto auto;
  width: 160px; height: 160px;
  border: 1.5px solid var(--ink); border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: #fff;
  transform: rotate(8deg);
  font-family: var(--display); font-size: 17px; line-height: 1.05;
  text-align: center; font-style: italic; padding: 18px;
  z-index: 2;
}
.image-pill {
  position: absolute; left: 16px; bottom: 16px;
  background: var(--bg-2); padding: 10px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  display: inline-flex; gap: 8px; align-items: center;
}
.image-pill .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--accent); }

@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; align-items: start; }
  .hero-image { max-width: 480px; margin: 0 auto; }
  .hero-badge { right: 12px; inset: -12px 12px auto auto; left: auto; width: 130px; height: 130px; font-size: 14px; }
}
@media (max-width: 640px) {
  .hero-stats { grid-template-columns: 1fr; gap: 16px; }
  .hero-badge { display: none; }
}

/* ---------- Credentials strip ---------- */
.creds-strip {
  padding: clamp(20px, 3vw, 28px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.creds-strip .container { display: flex; align-items: center; justify-content: space-between; gap: clamp(16px, 3vw, 48px); flex-wrap: wrap; }
.cred-item { font-family: var(--display); font-size: clamp(15px, 1.6vw, 18px); font-style: italic; color: var(--ink-2); }

/* ---------- Section header ---------- */
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: end; margin-bottom: clamp(32px, 5vw, 64px); }
.section-head .eyebrow { margin-bottom: 24px; }
@media (max-width: 880px) { .section-head { grid-template-columns: 1fr; align-items: start; } }

/* ---------- Framework grid (4-up) ---------- */
.framework {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper);
}
.framework-item {
  padding: clamp(20px, 3vw, 36px);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 18px;
  min-height: 280px;
}
.framework-item:last-child { border-right: 0; }
.framework-num {
  font-family: var(--display); font-style: italic;
  font-size: clamp(40px, 5vw, 64px); color: var(--accent); line-height: 0.9;
}
.framework-item h4 { font-family: var(--display); font-size: clamp(22px, 2.5vw, 28px); font-weight: 500; letter-spacing: -0.01em; }
.framework-item p { font-size: 15px; }
.framework-foot { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 8px; }

@media (max-width: 1024px) {
  .framework { grid-template-columns: repeat(2, 1fr); }
  .framework-item { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 240px; }
  .framework-item:nth-child(2n) { border-right: 0; }
  .framework-item:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 640px) {
  .framework { grid-template-columns: 1fr; }
  .framework-item { border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; }
  .framework-item:last-child { border-bottom: 0; }
}

/* ---------- Service cards ---------- */
.service-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: clamp(16px, 2vw, 24px); }
@media (max-width: 1024px) { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .service-grid { grid-template-columns: 1fr; } }
.service-card {
  background: var(--paper);
  border-radius: 16px;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 18px;
  min-height: 300px;
}
.service-card.featured { background: var(--ink); color: var(--bg-2); }
.service-card.featured h3 { color: #fff; }
.service-card.featured p { color: rgba(255,255,255,0.8); }
.service-card .price-row {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.service-price {
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-3);
}
.service-card.featured .service-price { color: var(--accent-2); }
.service-badge {
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.service-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.service-card.featured .service-cta { color: var(--accent-2); }

/* ---------- Quote / promise ---------- */
.promise h2 { font-size: clamp(32px, 5vw, 64px); font-weight: 500; letter-spacing: -0.015em; line-height: 1.05; }
.promise-meta { margin-top: clamp(24px, 4vw, 48px); display: flex; gap: clamp(16px, 3vw, 48px); align-items: center; flex-wrap: wrap; }
.promise-meta img { width: 64px; height: 64px; border-radius: 999px; object-fit: cover; }
.promise-meta .who { font-size: 15px; color: rgba(255,255,255,0.85); }
.promise-meta .who strong { color: #fff; font-weight: 600; }
.promise-link { margin-left: auto; border-bottom: 1.5px solid var(--accent-2); padding-bottom: 4px; color: var(--accent-2); font-weight: 600; font-size: 15px; }

/* ---------- Two-column with image ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.two-col.reverse { grid-template-columns: 1.1fr 1fr; }
@media (max-width: 1024px) {
  .two-col, .two-col.reverse { grid-template-columns: 1fr; gap: 32px; }
  .two-col-image-first .image-frame { order: -1; }
}
.image-frame {
  background: var(--accent-soft);
  padding: clamp(24px, 4vw, 48px);
  border-radius: 8px;
  position: relative;
}
.image-frame img { width: 100%; border-radius: 6px; }
.image-frame .floater {
  position: absolute; left: -16px; bottom: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  max-width: 260px;
}
@media (max-width: 640px) {
  .image-frame .floater { display: none; }
}

.checklist { display: grid; gap: 16px; margin: 0 0 36px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; color: var(--ink-2); }
.checklist .ic { color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* ---------- Book section ---------- */
.book-visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.book-circle {
  position: absolute; width: clamp(240px, 30vw, 340px); height: clamp(240px, 30vw, 340px);
  border-radius: 50%; background: var(--accent);
  left: 50%; top: 50%; transform: translate(-58%, -50%);
}
.book-cover { max-width: clamp(280px, 32vw, 420px); position: relative; z-index: 2; filter: drop-shadow(0 20px 40px rgba(0,0,0,.18)); }
.book-pill {
  position: absolute; right: 24px; top: 32px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 8px;
  padding: 10px 14px; font-size: 13px; font-weight: 600; z-index: 3;
  display: inline-flex; gap: 8px; align-items: center;
}

/* ---------- YouTube ---------- */
.yt-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
@media (max-width: 880px) { .yt-grid { grid-template-columns: 1fr; } }
.yt-feature { aspect-ratio: 4/5; overflow: hidden; border-radius: 8px; position: relative; }
.yt-feature img { width: 100%; height: 100%; object-fit: cover; }
.yt-feature .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.55)); }
.yt-feature .caption { position: absolute; left: 24px; bottom: 24px; right: 24px; color: #fff; }
.yt-feature .caption .label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; }
.yt-feature .caption .title { font-family: var(--display); font-style: italic; font-size: clamp(20px, 2.5vw, 28px); line-height: 1.1; margin-top: 6px; }
.yt-list { display: grid; gap: 14px; }
.yt-list-item h4 { font-family: var(--display); font-style: normal; font-weight: 500; font-size: 20px; letter-spacing: -0.01em; line-height: 1.15; }
.yt-list-item .meta { font-size: 13px; color: var(--ink-3); margin-top: 6px; display: flex; align-items: center; gap: 8px; }

/* ---------- Email signup ---------- */
.email-strip { background: var(--accent); color: #fff; padding: var(--pad-y-tight) 0; }
.email-strip h3 { color: #fff; font-size: clamp(28px, 4vw, 48px); }
.email-strip .container { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
@media (max-width: 880px) { .email-strip .container { grid-template-columns: 1fr; } }
.email-form { display: flex; gap: 8px; background: #fff; border-radius: 999px; padding: 6px; align-items: center; }
.email-form input {
  flex: 1; min-width: 0;
  padding: 14px 18px; border: 0; outline: none; font-size: 15px; background: transparent;
}
.email-form .btn { padding: 14px 22px; }

/* ---------- Stars / ratings ---------- */
.stars { display: inline-flex; gap: 2px; color: var(--accent); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--bg-2); padding: clamp(56px, 8vw, 80px) 0 40px; }
.footer h4 { font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 18px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { font-family: var(--display); font-style: italic; font-size: clamp(28px, 3vw, 36px); font-weight: 500; letter-spacing: -0.02em; line-height: 1; }
.footer p { color: rgba(255,255,255,0.7); }
.footer ul { display: grid; gap: 10px; font-size: 15px; }
.footer ul a { color: #fff; transition: color 150ms; }
.footer ul a:hover { color: var(--accent-2); }
.socials { margin-top: 24px; display: flex; gap: 10px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 600; letter-spacing: 0.05em;
  transition: background 150ms, color 150ms, border-color 150ms;
}
.socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer-bottom {
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 13px; color: rgba(255,255,255,0.55);
  flex-wrap: wrap;
}
.footer-bottom .links { display: flex; gap: 24px; }

/* ---------- About page extras ---------- */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fact { border-top: 1px solid var(--line); padding-top: 12px; }
.fact-k { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.fact-v { font-size: 15px; margin-top: 4px; color: var(--ink); font-weight: 500; }

.timeline { display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
.timeline-row { display: grid; grid-template-columns: 120px 1fr 1.4fr; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: baseline; gap: 24px; }
.timeline-y { font-family: var(--display); font-size: clamp(22px, 2.5vw, 28px); font-style: italic; color: var(--accent); }
.timeline-row h4 { font-family: var(--display); font-style: normal; font-weight: 500; font-size: clamp(18px, 2vw, 24px); letter-spacing: -0.005em; }
@media (max-width: 880px) {
  .timeline-row { grid-template-columns: 80px 1fr; row-gap: 8px; column-gap: 16px; padding: 20px 0; }
  .timeline-row > p { grid-column: 2; }
}

/* ---------- Services page ---------- */
.svc-table {
  display: grid; gap: 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper);
}
.svc-row {
  display: grid; grid-template-columns: 100px 1.4fr 1fr 180px;
  padding: 36px 40px;
  border-bottom: 1px solid var(--line);
  align-items: start; gap: 32px;
  position: relative;
}
.svc-row:last-child { border-bottom: 0; }
.svc-row.popular { background: var(--bg-2); }
.svc-num { font-family: var(--display); font-style: italic; font-size: clamp(36px, 4vw, 48px); color: var(--accent); line-height: 0.9; }
.svc-row h3 { font-size: clamp(22px, 3vw, 32px); margin-bottom: 12px; }
.svc-incl { display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.svc-incl li { display: flex; gap: 10px; align-items: flex-start; }
.svc-incl .ic { color: var(--accent); margin-top: 1px; flex-shrink: 0; }
.svc-meta { margin-top: 16px; font-size: 13px; color: var(--ink-3); }
.svc-meta strong { color: var(--ink); }
.svc-pop-pill { position: absolute; top: -12px; left: 24px; }
@media (max-width: 1024px) {
  .svc-row { grid-template-columns: 1fr; padding: 28px; gap: 18px; }
}

/* ---------- Process / how it works ---------- */
.process { display: grid; gap: 0; }
.process-row { display: grid; grid-template-columns: 80px 1fr; padding: 20px 0; border-bottom: 1px solid var(--line); gap: 24px; align-items: baseline; }
.process-num { font-family: var(--display); font-style: italic; font-size: clamp(20px, 2.5vw, 24px); color: var(--accent); }
.process-row h4 { font-family: var(--display); font-style: normal; font-weight: 500; font-size: clamp(20px, 2.5vw, 24px); margin-bottom: 6px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 24px 0; }
.faq summary {
  cursor: pointer;
  font-family: var(--display); font-size: clamp(20px, 2.5vw, 24px); font-weight: 500; letter-spacing: -0.005em;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--accent); font-size: 28px; font-style: italic; font-family: var(--display);
  transition: transform 200ms;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 14px; max-width: 680px; }

/* ---------- Book page ---------- */
.book-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (max-width: 1024px) { .book-hero { grid-template-columns: 1fr; } }
.book-hero-meta { display: flex; gap: 36px; align-items: center; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.book-hero-meta .divider { height: 32px; width: 1px; background: var(--line); }

.chapters { display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
.chap-row { display: grid; grid-template-columns: 100px 1fr 100px; padding: 24px 0; border-bottom: 1px solid var(--line); gap: 24px; align-items: baseline; }
.chap-row .chap-n { font-family: var(--display); font-style: italic; color: var(--accent); font-size: 18px; }
.chap-row h4 { font-family: var(--display); font-style: normal; font-weight: 500; font-size: clamp(20px, 2.5vw, 26px); }
.chap-row .pages { font-size: 13px; color: var(--ink-3); text-align: right; }
@media (max-width: 640px) {
  .chap-row { grid-template-columns: 80px 1fr; }
  .chap-row .pages { grid-column: 2; text-align: left; padding-left: 0; }
}

/* ---------- Shop page ---------- */
.filter-row { display: flex; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-row .btn { padding: 10px 18px; font-size: 13px; }
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 24px); }
@media (max-width: 1024px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .shop-grid { grid-template-columns: 1fr; } }
.product { display: grid; gap: 14px; }
.product-image {
  aspect-ratio: 4/5;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: grid; place-items: center;
  padding: 24px;
  border: 1px solid var(--line);
}
.product-image img { max-width: 82%; max-height: 82%; object-fit: contain; }
.product-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--ink); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
}
.product-tag.dark { background: #fff; color: var(--ink); }
.product-info { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.product-info h4 { font-family: var(--display); font-style: normal; font-weight: 500; font-size: 22px; letter-spacing: -0.005em; line-height: 1.15; }
.product-price { font-family: var(--display); font-size: 22px; font-style: italic; color: var(--accent); white-space: nowrap; }
.product .add { font-size: 13px; font-weight: 600; border-bottom: 1.5px solid var(--ink); align-self: flex-start; padding-bottom: 2px; }

.split-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 880px) { .split-cards { grid-template-columns: 1fr; } }
.split-card { padding: clamp(32px, 4vw, 48px); border-radius: 16px; }
.split-card h3 { font-size: clamp(28px, 3vw, 42px); margin-bottom: 16px; }

/* ---------- Speaking page ---------- */
.topics-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; background: var(--paper); }
.topic-item { padding: clamp(24px, 3vw, 36px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; min-height: 240px; }
.topic-item:nth-child(2n) { border-right: 0; }
.topic-item:nth-last-child(-n+2) { border-bottom: 0; }
.topic-num { font-family: var(--display); font-style: italic; font-size: clamp(32px, 4vw, 48px); color: var(--accent); line-height: 0.9; }
.topic-item h4 { font-family: var(--display); font-style: normal; font-weight: 500; font-size: clamp(20px, 2.5vw, 28px); letter-spacing: -0.01em; line-height: 1.1; }
.topic-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 640px) {
  .topics-grid { grid-template-columns: 1fr; }
  .topic-item { border-right: 0; }
  .topic-item:nth-child(2n) { border-right: 0; }
}

.formats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 880px) { .formats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .formats { grid-template-columns: 1fr; } }
.format { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.format h4 { font-family: var(--display); font-style: normal; font-weight: 500; font-size: clamp(20px, 2vw, 28px); letter-spacing: -0.01em; }
.format .price { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--display); font-style: italic; font-size: 18px; color: var(--accent); }

.audiences { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 880px) { .audiences { grid-template-columns: 1fr; } }
.audiences-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.audiences-list .aud {
  padding: 18px 0; border-top: 1px solid rgba(255,255,255,0.15);
  font-family: var(--display); font-style: italic; font-size: clamp(18px, 2vw, 24px); color: #fff;
}
.audiences-list .aud:nth-child(2n-1) { border-right: 1px solid rgba(255,255,255,0.15); padding-right: 24px; }
.audiences-list .aud:nth-child(2n) { padding-left: 24px; }
@media (max-width: 640px) {
  .audiences-list { grid-template-columns: 1fr; }
  .audiences-list .aud:nth-child(2n-1) { border-right: 0; padding-right: 0; }
  .audiences-list .aud:nth-child(2n) { padding-left: 0; }
}

.press-list { display: grid; gap: 10px; }
.press-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px;
  border: 1px solid var(--line); border-radius: 8px;
  background: var(--paper);
  font-size: 15px;
  gap: 16px;
}
.press-row .dl { font-size: 13px; font-weight: 600; color: var(--accent); white-space: nowrap; }
.press-row:hover { border-color: var(--accent); }

/* ---------- Helpers ---------- */
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: clamp(20px, 3vw, 32px); }
.mt-3 { margin-top: clamp(32px, 5vw, 56px); }
.center { text-align: center; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.aligned { align-items: center; }
.maxw-560 { max-width: 560px; }
.maxw-680 { max-width: 680px; }
.maxw-820 { max-width: 820px; }
