/* =============================================================
   Jishad Bakar — Ali Abdaal-inspired warm editorial
   White background · friendly serif · color-blocked sections
   Mobile-first responsive
   ============================================================= */

:root {
  --bg: #FFFFFF;
  --paper: #FBF7F1;          /* warm cream card surface */
  --paper-2: #F5EFE3;
  --ink: #161614;
  --ink-2: #3D3A35;
  --ink-3: #7C766D;
  --line: #ECE6D9;
  --line-2: #D9D2C2;

  /* the Abdaal-warm palette */
  --coral:  #FF6B47;    /* primary accent — warm orange-red */
  --mint:   #4FB48A;    /* match his teal-tie photo */
  --butter: #F4C740;    /* sun yellow */
  --sky:    #82B7E6;    /* soft sky */
  --plum:   #5E3A8A;    /* deep accent */

  --accent: var(--coral);

  --serif: "Newsreader", "Lora", "Source Serif Pro", Georgia, serif;
  --display-brand: "Playfair Display", "Newsreader", Georgia, serif;
  --sans: "Plus Jakarta Sans", "DM Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --mono: "DM Mono", "JetBrains Mono", ui-monospace, monospace;
  --ml: "Anek Malayalam", "Manjari", sans-serif;

  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 32px;
  --r-xl: 48px;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 56px);

  --shadow-pop: 6px 6px 0 var(--ink);
  --shadow-soft: 0 24px 50px -28px rgba(22, 22, 20, 0.22);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.ml { font-family: var(--ml); }
body.ml .display, body.ml .serif-italic, body.ml h1, body.ml h2, body.ml h3 { font-family: var(--ml); font-weight: 700; letter-spacing: 0; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: 0; cursor: pointer; color: inherit; }
input, textarea { font: inherit; }

/* ---------- type primitives ---------- */
.display {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.serif-italic {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}
.kicker {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: "";
  width: 24px; height: 2px;
  background: var(--accent);
  border-radius: 999px;
  display: inline-block;
}
body.ml .kicker { letter-spacing: 0; font-size: 14px; }

/* ---------- layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { position: relative; }
.section { padding: clamp(72px, 9vw, 130px) 0; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; gap: 24px;
  height: 68px;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.nav-brand {
  font-family: var(--display-brand);
  font-size: 25px;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0;
  display: flex; align-items: baseline; gap: 8px;
  white-space: nowrap;
  flex: 0 0 auto;
}
.nav-brand .dot {
  width: 9px; height: 9px;
  background: var(--accent);
  border-radius: 999px;
  display: inline-block;
}
.nav-links {
  display: flex; gap: 28px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a { position: relative; padding: 6px 0; transition: color .2s; }
.nav-links a:hover { color: var(--accent); }
.lang-toggle {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 3px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.lang-toggle button {
  padding: 5px 11px;
  border-radius: 999px;
  color: var(--ink);
  transition: all .2s;
}
.lang-toggle button.active { background: var(--ink); color: white; }
.nav-book {
  background: var(--ink); color: white;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .2s ease;
}
.nav-book:hover { background: var(--accent); transform: translateY(-1px); }

.nav-mobile-btn { display: none; width: 40px; height: 40px; border-radius: 12px; border: 1.5px solid var(--ink); align-items: center; justify-content: center; }
.nav-mobile-btn span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; }
.nav-mobile-btn span::before, .nav-mobile-btn span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-mobile-btn span::before { top: -6px; }
.nav-mobile-btn span::after { top: 6px; }

/* tighten the bar before it gets crowded */
@media (max-width: 720px) {
  .nav-inner { gap: 14px; height: 62px; }
  .nav-brand { font-size: 21px; }
  .lang-toggle { margin-left: auto; }
  .nav-book { padding: 10px 16px; font-size: 13px; }
  .lang-toggle button { padding: 6px 10px; }
}
/* very small phones: drop the inline Book button — it lives in the menu */
@media (max-width: 460px) {
  .nav-inner { gap: 11px; padding-inline: 18px; }
  .nav-brand { font-size: 19px; }
  /* only hide the inline Book button where a hamburger menu holds it (home).
     Renewed has no menu, so its CTA stays. */
  .nav-inner:has(.nav-mobile-btn) .nav-book { display: none; }
}
@media (max-width: 340px) {
  .nav-brand { font-size: 17px; }
  .lang-toggle button { padding: 6px 8px; font-size: 11px; }
}

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-mobile-btn { display: inline-flex; }
  .nav-mobile-menu {
    position: fixed; inset: 68px 0 0 0;
    background: white;
    padding: 28px var(--gutter);
    display: flex; flex-direction: column; gap: 4px;
    border-top: 1px solid var(--line);
    z-index: 49;
    animation: slidedown .2s ease;
  }
  .nav-mobile-menu a {
    padding: 18px 0;
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 500;
    border-bottom: 1px solid var(--line);
  }
  body.ml .nav-mobile-menu a { font-family: var(--ml); font-size: 22px; font-weight: 600; }
}
@keyframes slidedown { from { transform: translateY(-10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: all .2s ease;
  cursor: pointer;
  border: 0;
  white-space: nowrap;
  position: relative;
  font-family: var(--sans);
}
body.ml .btn { font-family: var(--ml); font-weight: 700; }

.btn-primary { background: var(--ink); color: white; }
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: white; }
.btn-accent:hover { background: var(--ink); transform: translateY(-2px); }
.btn-ghost {
  background: white; color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: white; transform: translateY(-2px); }
.btn-pop {
  background: var(--accent); color: white;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-pop);
}
.btn-pop:hover { box-shadow: 2px 2px 0 var(--ink); transform: translate(4px, 4px); }

.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- HERO ---------- */
.hero {
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(40px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}
.hero-blob {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(0px);
  opacity: 0.5;
}
.hero-blob.b1 { width: 480px; height: 480px; background: var(--butter); top: -180px; right: -120px; opacity: 0.6; }
.hero-blob.b2 { width: 320px; height: 320px; background: var(--coral); bottom: -100px; left: -100px; opacity: 0.35; }
.hero-blob.b3 { width: 200px; height: 200px; background: var(--mint); top: 30%; left: 35%; opacity: 0.3; }

.hero-stack {
  position: relative; z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  padding: 8px 0 0;
}
.hero-wave { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--accent); margin-bottom: 14px; display: inline-block; }
.hero-wave .hand { display: inline-block; transform-origin: 70% 70%; animation: wave 2.2s ease-in-out infinite; }
@keyframes wave { 0%, 60%, 100% { transform: rotate(0); } 10% { transform: rotate(14deg); } 20% { transform: rotate(-8deg); } 30% { transform: rotate(14deg); } 40% { transform: rotate(-4deg); } 50% { transform: rotate(10deg); } }

.hero-name {
  font-size: clamp(38px, 6.5vw, 82px);
  letter-spacing: -0.03em;
  line-height: 1.04;
  font-weight: 600;
  margin-bottom: 4px;
  max-width: 16ch;
}
.hero-name .underline-wave {
  position: relative;
  display: inline-block;
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}
.hero-name .underline-wave::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -0.05em;
  height: 0.18em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 12' fill='none' stroke='%23FF6B47' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M2 9 Q 12 1, 22 6 T 42 6 T 62 6 T 78 6'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: auto 100%;
  opacity: 0;
  animation: drawUnder .6s ease .5s forwards;
}
@keyframes drawUnder { to { opacity: 1; } }

.hero-tagline {
  font-size: clamp(18px, 2.1vw, 23px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 48ch;
  margin: 18px auto 28px;
  font-weight: 400;
}
.hero-tagline em { font-family: var(--serif); font-style: italic; color: var(--ink); font-weight: 500; }

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: center; }

/* single hero photo — transparent, no colored blob; his raised hand sits
   just beneath the title, the description falls below his hands */
.hero-figure {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: -6px auto 0;
}
.hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 26px 28px rgba(22,22,20,0.16));
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  width: 100%;
  max-width: 720px;
  margin: 6px auto 0;
}
.hero-meta-item {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 5px;
  padding: 18px 12px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: 4px 4px 0 var(--ink);
}
.hero-meta-item b {
  font-family: var(--serif);
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-meta-item b em { font-style: normal; }
.hero-meta-item span {
  font-size: 12px; color: var(--ink-2); font-weight: 600;
  letter-spacing: 0.03em; text-transform: uppercase; line-height: 1.2;
}
body.ml .hero-meta-item span { font-family: var(--ml); text-transform: none; }

/* hero photo */
.hero-photo {
  grid-area: photo;
  position: relative;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero-photo-bg {
  position: absolute;
  inset: 0;
  background: var(--mint);
  border-radius: 50% 50% 48% 52% / 60% 60% 40% 40%;
  transform: scale(0.92) translateY(2%);
  z-index: 0;
  transition: all .8s cubic-bezier(.5,.2,.2,1);
}
.hero-photo.coral .hero-photo-bg { background: var(--coral); }
.hero-photo.butter .hero-photo-bg { background: var(--butter); }
.hero-photo.sky .hero-photo-bg { background: var(--sky); }

.hero-photo img {
  position: relative;
  z-index: 2;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
}
.hero-photo-stamp {
  position: absolute;
  z-index: 3;
  background: white;
  border: 2px solid var(--ink);
  border-radius: var(--r-md);
  padding: 14px 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.2;
  box-shadow: var(--shadow-pop);
  max-width: 200px;
  transform: rotate(-3deg);
}
.hero-photo-stamp.bl { bottom: 20px; left: -10px; }
.hero-photo-stamp.tr { top: 30px; right: -20px; transform: rotate(3deg); background: var(--butter); }
.hero-photo-stamp small { display: block; font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin-bottom: 4px; }

/* photo swap dots */
.hero-photo-swap {
  position: absolute;
  bottom: -8px;
  right: 8px;
  z-index: 4;
  display: flex; gap: 8px;
  background: white;
  padding: 8px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  box-shadow: var(--shadow-pop);
}
.hero-photo-swap button {
  width: 14px; height: 14px;
  border-radius: 999px;
  background: var(--line);
  transition: all .2s;
}
.hero-photo-swap button.active { transform: scale(1.3); }
.hero-photo-swap button:nth-child(1) { background: var(--mint); }
.hero-photo-swap button:nth-child(2) { background: var(--plum); }
.hero-photo-swap button:nth-child(3) { background: var(--coral); }

@media (max-width: 900px) {
  .hero { padding-top: 16px; padding-bottom: 8px; }
  .hero-figure { max-width: 360px; }
  .hero-meta {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 420px;
  }
}

/* ---------- MARQUEE ---------- */
.marquee {
  background: var(--ink);
  color: white;
  overflow: hidden;
  padding: 22px 0;
  white-space: nowrap;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.marquee-track {
  display: inline-flex; gap: 56px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(24px, 3.4vw, 42px);
  letter-spacing: -0.02em;
  line-height: 1;
  font-weight: 500;
  animation: marquee 38s linear infinite;
  will-change: transform;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 56px; }
.marquee-track .dot { width: 10px; height: 10px; background: var(--accent); border-radius: 999px; flex: 0 0 10px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- SECTION HEAD ---------- */
.section-head {
  margin-bottom: clamp(40px, 5vw, 64px);
  max-width: 880px;
}
.section-head .kicker { margin-bottom: 18px; }
.section-title {
  font-family: var(--serif);
  font-size: clamp(36px, 5.4vw, 68px);
  line-height: 1.03;
  letter-spacing: -0.02em;
  font-weight: 600;
  text-wrap: balance;
}
.section-title em { color: var(--accent); font-style: italic; font-weight: 500; }
.section-sub {
  font-size: 18px;
  color: var(--ink-2);
  margin-top: 18px;
  max-width: 60ch;
  line-height: 1.55;
}

/* ---------- ABOUT ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.about-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--sky);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.about-photo img { height: 100%; width: auto; object-fit: contain; object-position: bottom; }
.about-photo .badge {
  position: absolute;
  top: 24px; left: 24px;
  background: white;
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  box-shadow: var(--shadow-pop);
  transform: rotate(-4deg);
  z-index: 2;
}
.about-body p {
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 1.1em;
  color: var(--ink-2);
  text-wrap: pretty;
}
.about-body p strong, .about-body p em {
  color: var(--ink);
  background: linear-gradient(180deg, transparent 60%, color-mix(in oklab, var(--accent) 30%, transparent) 60%);
  font-weight: 500;
  font-style: normal;
  padding: 0 2px;
}
body.ml .about-body p strong, body.ml .about-body p em { font-family: var(--ml); }

.philosophy-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 44px);
  margin-top: 36px;
  position: relative;
  box-shadow: var(--shadow-pop);
}
.philosophy-card .pq {
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 500;
}
.philosophy-card .pq em { color: var(--accent); font-style: italic; }
.philosophy-card .sig { margin-top: 18px; font-size: 13px; color: var(--ink-3); font-weight: 500; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 380px; margin-inline: auto; aspect-ratio: 3 / 4; }
}

/* ---------- STATS ---------- */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.stat-card {
  padding: 32px 24px;
  border-radius: var(--r-md);
  border: 2px solid var(--ink);
  background: white;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 180px;
  justify-content: space-between;
  transition: all .25s ease;
}
.stat-card:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.stat-card .n {
  font-family: var(--serif);
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-card .l {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.35;
  font-weight: 500;
}
body.ml .stat-card .l { font-family: var(--ml); }
.stat-card:nth-child(6n+1) { background: var(--coral); color: white; border-color: var(--ink); }
.stat-card:nth-child(6n+1) .l { color: rgba(255,255,255,0.86); }
.stat-card:nth-child(6n+3) { background: var(--mint); color: white; }
.stat-card:nth-child(6n+3) .l { color: rgba(255,255,255,0.86); }
.stat-card:nth-child(6n+5) { background: var(--butter); }

@media (max-width: 1000px) { .stats-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px)  { .stats-strip { grid-template-columns: repeat(2, 1fr); } .stat-card { min-height: 140px; padding: 22px 18px; } .stat-card .n { font-size: 36px; } }

/* ---------- AREAS ---------- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.area-card {
  background: white;
  border: 2px solid var(--ink);
  border-radius: var(--r-md);
  padding: 28px;
  display: flex; flex-direction: column;
  gap: 14px;
  min-height: 240px;
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}
.area-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -20% auto;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.2;
  transition: all .35s ease;
}
.area-card:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.area-card:hover::before { transform: scale(1.3); opacity: 0.45; }
.area-card .area-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 36px;
  color: var(--accent);
  font-weight: 400;
  line-height: 1;
}
.area-card .area-t {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: -0.02em;
  font-weight: 600;
  line-height: 1.1;
}
.area-card .area-d { font-size: 15px; color: var(--ink-2); line-height: 1.5; margin-top: auto; }

.area-card:nth-child(7n+1)::before { background: var(--coral); }
.area-card:nth-child(7n+2)::before { background: var(--mint); }
.area-card:nth-child(7n+3)::before { background: var(--butter); }
.area-card:nth-child(7n+4)::before { background: var(--sky); }
.area-card:nth-child(7n+5)::before { background: var(--plum); opacity: 0.18; }
.area-card:nth-child(7n+6)::before { background: var(--coral); }
.area-card:nth-child(7n+7)::before { background: var(--mint); }

@media (max-width: 900px) { .areas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .areas-grid { grid-template-columns: 1fr; gap: 12px; }
  /* single-column cards: no tall min-height + the description was
     pushed to the bottom by margin-top:auto, leaving a big void.
     Let cards hug their content. */
  .area-card { min-height: 0; padding: 20px 22px; gap: 8px; }
  .area-card .area-num { font-size: 30px; }
  .area-card .area-t { font-size: 22px; }
  .area-card .area-d { margin-top: 0; }
}

/* ---------- YOUTUBE ---------- */
.youtube { background: var(--ink); color: white; overflow: hidden; }
.youtube .section-title { color: white; }
.youtube .section-sub { color: rgba(255,255,255,0.7); }
.youtube .kicker { color: rgba(255,255,255,0.7); }
.youtube .kicker::before { background: var(--coral); }

.yt-grid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.yt-stats { display: flex; gap: 28px; margin-top: 28px; flex-wrap: wrap; }
.yt-stat { display: flex; flex-direction: column; gap: 4px; }
.yt-stat b { font-family: var(--serif); font-size: 36px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.yt-stat span { font-size: 12px; color: rgba(255,255,255,0.6); letter-spacing: 0.04em; font-weight: 500; }
body.ml .yt-stat span { font-family: var(--ml); }

.yt-stack {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.yt-card {
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.14);
  border-radius: var(--r-md);
  padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 200px;
  transition: all .25s ease;
}
.yt-card:hover { transform: translateY(-4px); border-color: var(--coral); background: rgba(255,255,255,0.08); }
.yt-card .thumb {
  flex: 1;
  border-radius: var(--r-sm);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.yt-card.a .thumb { background: linear-gradient(135deg, var(--coral), #C04020); }
.yt-card.b .thumb { background: linear-gradient(135deg, var(--mint), #2F7E5A); }
.yt-card.c .thumb { background: linear-gradient(135deg, var(--butter), #C39620); }
.yt-card.d .thumb { background: linear-gradient(135deg, var(--sky), #4D7DA8); }
.yt-card .thumb svg { width: 40px; height: 40px; opacity: 0.95; color: white; }
.yt-card .title { font-family: var(--serif); font-size: 16px; line-height: 1.2; font-weight: 500; }
.yt-card .meta { font-size: 11px; color: rgba(255,255,255,0.6); letter-spacing: 0.08em; font-weight: 600; }

@media (max-width: 900px) { .yt-grid { grid-template-columns: 1fr; } }

/* ---------- COURSES ---------- */
.courses { background: linear-gradient(180deg, var(--bg) 0%, var(--paper) 100%); }
.courses-meta {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 28px; margin-bottom: 36px; flex-wrap: wrap;
}
.courses-meta p { color: var(--ink-2); max-width: 52ch; font-size: 17px; line-height: 1.6; }
.courses-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.course-card {
  grid-column: span 4;
  background: white;
  border: 2px solid var(--ink);
  border-radius: var(--r-md);
  padding: 22px;
  display: flex; flex-direction: column;
  gap: 12px;
  min-height: 240px;
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}
.course-card:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.course-card.featured { grid-column: span 6; min-height: 280px; background: var(--ink); color: white; }
.course-card.featured .c-tag { background: var(--coral); color: white; border-color: var(--coral); }
.course-card.featured .c-mrp { color: rgba(255,255,255,0.6); }
.course-card.featured .c-btn { background: var(--coral); color: white; }
.course-card.featured .c-btn:hover { background: white; color: var(--ink); }
.course-card.featured .c-foot { border-color: rgba(255,255,255,0.18); }
.course-card.ember:not(.featured) { background: var(--paper); }
.course-card.olive:not(.featured) { background: white; }
.course-card.ink:not(.featured) { background: var(--paper-2); }

.c-tag {
  align-self: flex-start;
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 5px 11px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--bg);
}
.c-title {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-weight: 600;
  flex: 1;
}
.course-card.featured .c-title { font-size: 32px; }
.c-sub { font-size: 13px; color: var(--ink-3); line-height: 1.4; margin-top: -8px; }
.course-card.featured .c-sub { color: rgba(255,255,255,0.65); }
.c-foot {
  display: flex; justify-content: space-between; align-items: flex-end;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 6px;
}
.c-price { font-family: var(--serif); font-size: 28px; letter-spacing: -0.02em; line-height: 1; font-weight: 600; }
.c-mrp { font-size: 12px; color: var(--ink-3); text-decoration: line-through; font-weight: 500; }
.c-free { color: var(--accent); font-style: italic; }
.c-btn {
  background: var(--ink); color: white;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.c-btn:hover { background: var(--accent); }

@media (max-width: 1024px) { .course-card { grid-column: span 6; } .course-card.featured { grid-column: span 6; } }
@media (max-width: 640px) { .course-card, .course-card.featured { grid-column: span 12; } }

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  background: var(--bg);
}
.t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.testimonial {
  background: white;
  border: 2px solid var(--ink);
  border-radius: var(--r-md);
  padding: 26px;
  display: flex; flex-direction: column;
  gap: 14px;
  transition: all .25s ease;
}
.testimonial:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.testimonial:nth-child(5n+1) { background: var(--paper); }
.testimonial:nth-child(5n+2) { background: var(--coral); color: white; }
.testimonial:nth-child(5n+2) .t-en { color: rgba(255,255,255,0.85); }
.testimonial:nth-child(5n+2) .t-role { color: rgba(255,255,255,0.7); }
.testimonial:nth-child(5n+2) .t-mark { color: white; }
.testimonial:nth-child(5n+2) .t-av { background: white; color: var(--coral); }
.testimonial:nth-child(5n+4) { background: var(--mint); color: white; }
.testimonial:nth-child(5n+4) .t-en { color: rgba(255,255,255,0.85); }
.testimonial:nth-child(5n+4) .t-role { color: rgba(255,255,255,0.7); }
.testimonial:nth-child(5n+4) .t-mark { color: white; }
.testimonial:nth-child(5n+4) .t-av { background: white; color: var(--mint); }

.t-mark { font-family: var(--serif); font-size: 56px; line-height: 0.4; color: var(--accent); font-weight: 600; }
.t-quote {
  font-family: var(--ml);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: 0;
  flex: 1;
  font-weight: 500;
}
.t-en {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-2);
  font-weight: 400;
}
.t-attr {
  display: flex; align-items: center; gap: 12px;
  padding-top: 14px;
  border-top: 1px solid color-mix(in oklab, currentColor 15%, transparent);
}
.t-av {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--accent); color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 18px; font-weight: 600;
  flex-shrink: 0;
}
.t-name { font-size: 14px; font-weight: 600; }
.t-role { font-size: 12px; color: var(--ink-3); font-weight: 500; }

@media (max-width: 900px) { .t-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .t-grid { grid-template-columns: 1fr; } }

/* ---------- SPEAKING ---------- */
.speaking { background: var(--bg); }
.speaking-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.speaking-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--plum);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
}
.speaking-photo img { height: 100%; width: auto; object-fit: contain; object-position: bottom; }
.speaking-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 40% at 50% 25%, rgba(255,255,255,0.35), transparent 70%);
  z-index: 1;
}
.speaking-photo .badge {
  position: absolute;
  z-index: 2;
  bottom: 24px; right: 24px;
  background: var(--butter);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  box-shadow: var(--shadow-pop);
  transform: rotate(3deg);
  max-width: 220px;
  line-height: 1.2;
}
.speaking-photo .badge small { display: block; font-family: var(--sans); font-style: normal; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; margin-bottom: 4px; }

.formats { display: flex; flex-direction: column; gap: 12px; margin: 28px 0 0; }
.format {
  display: flex; align-items: center; gap: 16px;
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-md);
  transition: all .18s ease;
  background: white;
  cursor: pointer;
  font: inherit;
}
.format:hover { border-color: var(--ink); box-shadow: var(--shadow-pop); transform: translate(-2px, -2px); }
.format:active { transform: translate(0, 0); box-shadow: none; }
.format-main { flex: 1; }
.format-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--accent);
  width: 32px;
  flex: 0 0 32px;
  font-weight: 500;
}
.format-t { font-family: var(--serif); font-size: 20px; letter-spacing: -0.015em; font-weight: 600; line-height: 1.25; }
.format-d { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
body.ml .format-d { font-family: var(--ml); }
.format-book {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--sans);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--accent);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--accent);
  transition: all .18s ease;
  white-space: nowrap;
}
.format:hover .format-book { background: var(--accent); color: white; }

@media (max-width: 900px) {
  .speaking-grid { grid-template-columns: 1fr; }
  .speaking-photo { max-width: 380px; margin-inline: auto; aspect-ratio: 3 / 4; }
  .format { padding: 14px 16px; }
  .format-t { font-size: 18px; }
}
@media (max-width: 460px) {
  .format { gap: 12px; padding: 13px 14px; }
  .format-num { font-size: 19px; width: 24px; flex-basis: 24px; }
  .format-book { padding: 7px 12px; font-size: 12px; }
  .format-book .arrow, .format-book svg { display: none; }
}

/* ---------- NEWSLETTER ---------- */
.newsletter { background: var(--coral); color: white; }
.newsletter .section-title { color: white; }
.newsletter .section-title em { color: var(--ink); }
.newsletter .kicker { color: rgba(255,255,255,0.8); }
.newsletter .kicker::before { background: white; }
.newsletter .section-sub { color: rgba(255,255,255,0.92); }
.nl-form {
  display: flex; gap: 8px;
  background: white;
  border-radius: 999px;
  padding: 6px;
  margin-top: 28px;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-pop);
}
.nl-form input {
  flex: 1; border: 0; background: 0;
  padding: 14px 18px;
  color: var(--ink);
  outline: none;
  font-size: 15px;
}
.nl-form input::placeholder { color: var(--ink-3); }
.nl-form button {
  background: var(--ink); color: white;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.nl-form button:hover { background: var(--accent); }
.nl-perks {
  display: flex; flex-direction: column; gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.95);
  margin-top: 24px;
}
.nl-perks div { display: flex; align-items: center; gap: 12px; }
.nl-perks svg { flex: 0 0 18px; }
body.ml .nl-perks { font-family: var(--ml); }

.nl-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}
@media (max-width: 800px) { .nl-grid { grid-template-columns: 1fr; } }

/* ---------- FOOTER ---------- */
.footer { background: var(--ink); color: white; }
.footer .container { padding-top: clamp(72px, 9vw, 120px); padding-bottom: 40px; }
.footer-cta {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.footer-cta h2 {
  font-family: var(--serif);
  font-size: clamp(44px, 7vw, 100px);
  letter-spacing: -0.025em;
  line-height: 1.0;
  font-weight: 600;
  color: white;
}
.footer-cta h2 em { color: var(--coral); font-style: italic; font-weight: 500; }
.footer-cta p { color: rgba(255,255,255,0.65); margin: 18px 0 24px; max-width: 36ch; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 48px 0 32px;
}
.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col a {
  display: block;
  padding: 7px 0;
  font-size: 15px;
  color: white;
  transition: color .2s;
}
.footer-col a:hover { color: var(--coral); }
.footer-brand-block { padding-right: 32px; }
.footer-brand-block .nav-brand { font-size: 32px; color: white; margin-bottom: 16px; }
.footer-brand-block p { color: rgba(255,255,255,0.6); font-size: 15px; line-height: 1.55; max-width: 36ch; }

.app-row { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.app-row a {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: 12px;
  font-size: 12px;
  transition: all .2s;
}
.app-row a:hover { border-color: var(--coral); color: var(--coral); transform: translateY(-2px); }
.app-row a b { display: block; font-size: 14px; font-weight: 600; }
.app-row a span { font-size: 10px; letter-spacing: 0.06em; opacity: .65; text-transform: uppercase; font-weight: 600; }

.footer-bottom {
  display: flex; justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  flex-wrap: wrap; gap: 14px;
}

@media (max-width: 800px) {
  .footer-cta { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 500px) {
  /* keep the three link lists side-by-side instead of stacking them
     one-by-one into a long tower. Brand block sits full-width on top. */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 22px;
    padding: 36px 0 28px;
  }
  .footer-brand-block { grid-column: 1 / -1; padding-right: 0; }
  .footer-col h4 { margin-bottom: 10px; }
  .footer-col a { padding: 5px 0; }
}

/* ---------- BOOKING MODAL ---------- */
.modal-back {
  position: fixed; inset: 0;
  background: rgba(22, 22, 20, 0.6);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 18px;
  animation: fadein .25s ease;
}
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: white;
  width: 100%;
  max-width: 640px;
  max-height: 92vh;
  overflow: auto;
  border-radius: var(--r-lg);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-pop);
  position: relative;
  animation: pop .3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes pop { from { transform: scale(0.96) translateY(10px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }
.modal-head {
  padding: 24px 28px 16px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px;
}
.modal-head .head-title { font-family: var(--serif); font-size: 26px; line-height: 1; font-weight: 600; letter-spacing: -0.02em; }
.modal-head .head-kicker { font-size: 12px; color: var(--ink-3); margin-bottom: 6px; font-weight: 500; }
.modal-close {
  width: 38px; height: 38px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  transition: all .2s;
  flex-shrink: 0;
}
.modal-close:hover { background: var(--ink); color: white; }
.modal-body { padding: 22px 28px; }

.step-bar { display: flex; gap: 6px; padding: 12px 28px 0; }
.step-bar .step { flex: 1; height: 4px; background: var(--line); border-radius: 999px; transition: background .3s; }
.step-bar .step.done, .step-bar .step.cur { background: var(--accent); }

.session-pick { display: flex; flex-direction: column; gap: 10px; }
.session-pick label {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 18px 22px;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all .2s;
  background: white;
}
.session-pick label:hover { border-color: var(--ink); }
.session-pick label.selected { border-color: var(--accent); background: color-mix(in oklab, var(--accent) 8%, white); }
.session-pick input { display: none; }
.session-pick .st-t { font-family: var(--serif); font-size: 22px; letter-spacing: -0.015em; margin-bottom: 6px; font-weight: 600; }
.session-pick .st-d { font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.session-pick .st-p { font-family: var(--serif); font-size: 22px; letter-spacing: -0.015em; font-weight: 600; }
.session-pick .st-dur { font-size: 11px; color: var(--ink-3); text-align: right; margin-top: 4px; font-weight: 500; letter-spacing: 0.04em; }

.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin: 16px 0; }
.cal-dow { font-size: 11px; color: var(--ink-3); text-align: center; padding: 6px 0; font-weight: 600; letter-spacing: 0.04em; }
body.ml .cal-dow { font-family: var(--ml); }
.cal-day {
  padding: 10px 0;
  border-radius: 10px;
  font-size: 14px; text-align: center;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .15s;
  font-weight: 500;
}
.cal-day:hover:not(:disabled):not(.empty) { border-color: var(--ink); }
.cal-day:disabled { color: var(--line-2); cursor: not-allowed; }
.cal-day.empty { cursor: default; }
.cal-day.selected { background: var(--ink); color: white; border-color: var(--ink); }
.cal-day.today { font-weight: 700; color: var(--accent); }
.cal-day.selected.today { color: white; }
.cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-nav .m { font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: -0.015em; }
.cal-nav button { width: 36px; height: 36px; border: 1.5px solid var(--line-2); border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; transition: all .2s; font-size: 18px; }
.cal-nav button:hover { background: var(--ink); color: white; border-color: var(--ink); }

.slot-hint { font-size: 12px; color: var(--ink-3); margin-top: 8px; font-weight: 500; }
.time-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.time-slot {
  padding: 11px 0; border: 1.5px solid var(--line-2); border-radius: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  text-align: center; cursor: pointer; transition: all .15s;
  background: white;
}
.time-slot:hover:not(:disabled) { border-color: var(--ink); }
.time-slot.selected { background: var(--accent); color: white; border-color: var(--accent); }
.time-slot:disabled { color: var(--line-2); cursor: not-allowed; background: var(--paper); }

.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-row label { font-size: 11px; color: var(--ink-3); letter-spacing: 0.04em; font-weight: 600; }
body.ml .form-row label { font-family: var(--ml); }
.form-row input, .form-row textarea {
  border: 1.5px solid var(--line-2); background: white;
  padding: 13px 14px;
  border-radius: 12px;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s;
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--accent); }
.form-row textarea { resize: vertical; min-height: 80px; }

.modal-foot {
  display: flex; gap: 10px; justify-content: space-between;
  padding: 16px 28px 24px;
  border-top: 1px solid var(--line);
  align-items: center;
  flex-wrap: wrap;
}
.modal-foot .summary { font-size: 12px; color: var(--ink-3); font-weight: 500; flex: 1; min-width: 120px; }
.modal-foot .actions { display: flex; gap: 10px; }
.modal-foot .btn { padding: 12px 20px; font-size: 14px; }

.confirm { text-align: center; padding: 14px 0; }
.confirm-check {
  width: 72px; height: 72px;
  border-radius: 999px;
  background: var(--accent); color: white;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 32px;
  margin-bottom: 22px;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-pop);
}
.confirm h3 { font-family: var(--serif); font-size: 36px; letter-spacing: -0.025em; line-height: 1; margin-bottom: 12px; font-weight: 600; }
.confirm p { color: var(--ink-2); margin-bottom: 18px; max-width: 38ch; margin-inline: auto; }
.callback-note {
  display: flex; align-items: center; gap: 11px;
  text-align: left;
  background: color-mix(in srgb, var(--accent) 10%, white);
  border: 1.5px solid color-mix(in srgb, var(--accent) 35%, white);
  border-radius: var(--r-md);
  padding: 14px 18px;
  margin: 0 auto 22px;
  max-width: 400px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}
body.ml .callback-note { font-family: var(--ml); }
.callback-icon {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
}
.confirm .ticket {
  background: var(--paper); border: 2px dashed var(--ink);
  border-radius: var(--r-md);
  padding: 22px;
  text-align: left;
  margin: 22px auto 0;
  max-width: 360px;
}
.confirm .ticket-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 14px; gap: 14px; }
.confirm .ticket-row b { font-weight: 600; font-size: 11px; letter-spacing: 0.04em; color: var(--ink-3); }

/* ---------- WhatsApp FAB ---------- */
.fab {
  position: fixed; bottom: 20px; right: 20px;
  background: #25D366;
  color: white;
  width: 56px; height: 56px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px -6px rgba(0,0,0,0.3);
  z-index: 40;
  transition: transform .2s;
  border: 2px solid var(--ink);
}
.fab:hover { transform: scale(1.08); }

/* ---------- selection ---------- */
::selection { background: var(--accent); color: white; }

/* =============================================================
   NEW SECTIONS — Popular Videos · WhatsApp · Renewed Teaser · Renewed Page
   ============================================================= */

/* ---------- Popular Videos (Ali Abdaal Resources card style) ---------- */
.popular { background: var(--bg); }
.popular-head {
  text-align: center;
  margin: 0 auto clamp(40px, 5vw, 64px);
  position: relative;
}
.popular-head .section-title { display: inline-block; position: relative; }
.popular-head .scribble {
  display: block;
  margin: 8px auto 0;
  width: clamp(220px, 32%, 360px);
  color: var(--butter);
}
.popular-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.popular-card {
  background: var(--paper);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all .3s ease;
  border: 2px solid transparent;
}
.popular-card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -16px rgba(22,22,20,0.18); border-color: var(--ink); }
.popular-card .pc-thumb {
  aspect-ratio: 16 / 10;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 28px;
  overflow: hidden;
}
.popular-card .pc-thumb::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background-image: radial-gradient(rgba(255,255,255,0.18) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.4;
  pointer-events: none;
}
.popular-card .pc-title-on-thumb {
  font-family: var(--serif);
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--ink);
  position: relative;
  z-index: 2;
  text-wrap: balance;
}
.popular-card.dark .pc-title-on-thumb { color: white; }
.popular-card .pc-play {
  position: absolute;
  z-index: 2;
  bottom: 18px; right: 18px;
  width: 48px; height: 48px;
  background: white;
  border: 2px solid var(--ink);
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-pop);
  z-index: 2;
  transition: transform .25s ease;
}
.popular-card:hover .pc-play { transform: scale(1.1) rotate(-3deg); }
.popular-card .pc-play svg { width: 18px; height: 18px; color: var(--ink); margin-left: 2px; }
.popular-card .pc-badge {
  position: absolute;
  z-index: 3;
  top: 16px; right: 16px;
  background: white;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  z-index: 2;
}
.popular-card .pc-doodle {
  position: absolute; z-index: 1;
  pointer-events: none;
}
.popular-card .pc-doodle.tl { top: 14px; left: 14px; width: 36px; opacity: 0.5; }
.popular-card .pc-doodle.br { bottom: 14px; left: 14px; width: 32px; opacity: 0.55; }

.popular-card .pc-thumb-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.popular-card.coral .pc-thumb { background: var(--coral); }
.popular-card.coral .pc-title-on-thumb { color: var(--ink); }
.popular-card.mint .pc-thumb { background: var(--mint); }
.popular-card.butter .pc-thumb { background: var(--butter); }
.popular-card.sky .pc-thumb { background: var(--sky); }
.popular-card.plum .pc-thumb { background: var(--plum); }

.popular-card .pc-body {
  padding: 26px 28px 28px;
  display: flex; flex-direction: column; gap: 12px;
  flex: 1;
}
.popular-card .pc-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.popular-card .pc-meta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
}
.popular-card .pc-meta::before { content: "▶"; color: var(--accent); font-size: 9px; }
.popular-card .pc-desc {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.5;
  flex: 1;
}
.popular-card .pc-view {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600;
  font-size: 15px;
  margin-top: 6px;
  border-bottom: 2px solid var(--ink);
  align-self: flex-start;
  padding-bottom: 2px;
}

@media (max-width: 1000px) { .popular-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .popular-grid { grid-template-columns: 1fr; } }

/* row of see-all / channel link */
.popular-foot { display: flex; justify-content: center; margin-top: 40px; }

/* ---------- WhatsApp Community ---------- */
.whatsapp { background: var(--bg); }
.wa-card {
  background: #128C7E;
  background: linear-gradient(135deg, #0a8268 0%, #25D366 100%);
  border-radius: clamp(28px, 4vw, 48px);
  padding: clamp(40px, 6vw, 72px);
  color: white;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-pop);
}
.wa-card::before {
  content: "";
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  top: -180px; right: -180px;
}
.wa-card::after {
  content: "";
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  bottom: -100px; left: -100px;
}
.wa-card .wa-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.15);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  position: relative; z-index: 2;
}
.wa-card .wa-kicker::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 999px;
  background: #BFFFC4;
  box-shadow: 0 0 0 4px rgba(191,255,196,0.3);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.wa-card h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: white;
  text-wrap: balance;
  margin-bottom: 18px;
  position: relative; z-index: 2;
}
.wa-card h2 em { color: #FFF7B8; font-style: italic; }
.wa-card .wa-sub {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255,255,255,0.92);
  max-width: 42ch;
  margin-bottom: 24px;
  position: relative; z-index: 2;
}
body.ml .wa-card h2 { font-family: var(--ml); font-weight: 700; }
body.ml .wa-card .wa-sub { font-family: var(--ml); }

.wa-perks {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin-bottom: 28px;
  position: relative; z-index: 2;
}
.wa-perks div {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.95);
}
.wa-perks div::before {
  content: "✓";
  width: 22px; height: 22px;
  background: rgba(255,255,255,0.2);
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  flex-shrink: 0;
}
body.ml .wa-perks { font-family: var(--ml); }
.wa-card .wa-cta {
  background: white; color: #0a8268;
  padding: 16px 26px;
  border-radius: 999px;
  font-size: 16px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 10px;
  position: relative; z-index: 2;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transition: all .2s;
}
.wa-card .wa-cta:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.wa-card .wa-members {
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: 22px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  position: relative; z-index: 2;
}
.wa-card .wa-members .avs { display: inline-flex; }
.wa-card .wa-members .avs span {
  width: 32px; height: 32px;
  border-radius: 999px;
  border: 2px solid #0a8268;
  background: #FFF7B8;
  color: #0a8268;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 14px; font-weight: 700;
  margin-left: -10px;
}
.wa-card .wa-members .avs span:nth-child(1) { background: #FFD7B8; margin-left: 0; }
.wa-card .wa-members .avs span:nth-child(2) { background: #BFFFC4; }
.wa-card .wa-members .avs span:nth-child(3) { background: #FFF7B8; }
.wa-card .wa-members .avs span:nth-child(4) { background: #C8E6FF; }
.wa-card .wa-members b { color: white; font-weight: 700; }

/* fake whatsapp chat preview */
.wa-chat {
  background: #075E54;
  border-radius: 24px;
  padding: 16px;
  border: 4px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  position: relative; z-index: 2;
  transform: rotate(2deg);
}
.wa-chat-head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 14px;
}
.wa-chat-head .av {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--coral);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700;
  color: white; font-size: 17px;
}
.wa-chat-head .who { color: white; font-size: 15px; font-weight: 600; line-height: 1.1; }
.wa-chat-head .status { color: #BFFFC4; font-size: 11px; }
.wa-chat-body {
  display: flex; flex-direction: column; gap: 8px;
  background: #ECE5DD;
  background-image: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, transparent 100%), repeating-linear-gradient(45deg, transparent, transparent 8px, rgba(7,94,84,0.04) 8px, rgba(7,94,84,0.04) 16px);
  padding: 16px 14px;
  border-radius: 14px;
  min-height: 240px;
}
.wa-bubble {
  background: white;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.4;
  color: #111;
  max-width: 85%;
  box-shadow: 0 1px 1px rgba(0,0,0,0.05);
}
.wa-bubble.me { background: #DCF8C6; align-self: flex-end; }
.wa-bubble .time { display: block; font-size: 10px; color: #667781; margin-top: 4px; text-align: right; }
body.ml .wa-bubble { font-family: var(--ml); font-size: 14px; }

@media (max-width: 900px) {
  .wa-card { grid-template-columns: 1fr; }
  .wa-perks { grid-template-columns: 1fr; }
  .wa-chat { transform: none; max-width: 360px; margin-inline: auto; }
}

/* ---------- Renewed Teaser (on home) ---------- */
.renewed-teaser { background: var(--paper); }
.renewed-card {
  background: var(--ink);
  color: white;
  border-radius: clamp(28px, 4vw, 48px);
  padding: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--ink);
}
.renewed-card::before {
  content: "";
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: var(--coral);
  filter: blur(60px);
  opacity: 0.35;
  top: -100px; right: -100px;
}
.renewed-card > * { position: relative; z-index: 2; }
.renewed-card .rkicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 18px;
}
.renewed-card .rkicker::before { content: ""; width: 24px; height: 2px; background: var(--coral); border-radius: 999px; }
.renewed-card .rtitle {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.0;
  margin-bottom: 18px;
  text-wrap: balance;
}
.renewed-card .rtitle em { color: var(--coral); font-style: italic; }
.renewed-card .rsub {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
  max-width: 50ch;
  margin-bottom: 28px;
}
.renewed-card .rstats {
  display: flex; gap: 30px;
  margin-top: 24px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.renewed-card .rstats b {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  display: block;
  letter-spacing: -0.02em;
}
.renewed-card .rstats span {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
  font-weight: 500;
}
body.ml .renewed-card .rstats span { font-family: var(--ml); }

.renewed-logo-stack {
  display: flex; flex-direction: column;
  align-items: center; gap: 14px;
}
.renewed-logo-box {
  background: white;
  color: var(--ink);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 44px);
  text-align: center;
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--coral);
  width: 100%;
  max-width: 320px;
  transform: rotate(-2deg);
}
.renewed-logo-box .lg {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 10px;
}
.renewed-logo-box .renewed-logo-img {
  display: block;
  width: 100%;
  max-width: 230px;
  height: auto;
  margin: 4px auto 14px;
}
.renewed-logo-box .by {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  font-weight: 600;
  text-transform: uppercase;
}
.renewed-logo-box .tagline {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-2);
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  line-height: 1.3;
  color: var(--ink-2);
}
body.ml .renewed-logo-box .tagline { font-family: var(--ml); font-style: normal; }

@media (max-width: 900px) {
  .renewed-card { grid-template-columns: 1fr; }
  .renewed-logo-stack { order: -1; }
  .renewed-logo-box { transform: none; }
}

/* ---------- Newsletter EN+ML toggle ---------- */
.nl-toggle {
  display: inline-flex;
  background: rgba(255,255,255,0.15);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 18px;
  border: 1.5px solid rgba(255,255,255,0.25);
}
.nl-toggle button {
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: white;
  transition: all .2s;
}
.nl-toggle button.active { background: white; color: var(--coral); }

/* =============================================================
   RENEWED LANDING PAGE
   ============================================================= */

.r-hero { background: var(--bg); padding: clamp(60px, 8vw, 120px) 0; position: relative; overflow: hidden; }
.r-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 30%, color-mix(in oklab, var(--coral) 30%, transparent), transparent 70%);
  pointer-events: none;
}
.r-hero-inner { text-align: center; max-width: 900px; margin: 0 auto; position: relative; }
.r-hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  background: white;
  border: 2px solid var(--ink);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: var(--shadow-pop);
}
.r-hero-kicker::before { content: "↻"; color: var(--coral); font-size: 16px; }
.r-hero h1 {
  font-family: var(--serif);
  font-size: clamp(56px, 11vw, 168px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
  text-wrap: balance;
}
.r-hero h1 em { color: var(--coral); font-style: italic; }
.r-hero p {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 32ch;
  margin: 0 auto 28px;
  text-wrap: balance;
}

/* Renewed nav (slim) */
.r-nav-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500;
  color: var(--ink-2);
  transition: color .2s;
}
.r-nav-back:hover { color: var(--accent); }

/* Intro video */
.r-video {
  position: relative;
  max-width: 980px; margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 2px solid var(--ink);
  box-shadow: 12px 12px 0 var(--coral);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.r-video::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #2A2622 0%, #46413a 100%);
  background-image: radial-gradient(ellipse 60% 40% at 50% 50%, rgba(255,107,71,0.4), transparent 70%);
}
.r-video .r-video-play {
  position: relative; z-index: 2;
  width: 88px; height: 88px;
  background: white;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform .2s;
}
.r-video:hover .r-video-play { transform: scale(1.08); }
.r-video.is-playing { cursor: default; }
.r-video .r-video-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 3;
}
.r-video .r-video-play svg { width: 32px; height: 32px; color: var(--ink); margin-left: 4px; }
.r-video .r-video-meta {
  position: absolute;
  bottom: 24px; left: 24px;
  background: white;
  border: 2px solid var(--ink);
  padding: 10px 16px;
  border-radius: 12px;
  z-index: 2;
  box-shadow: 4px 4px 0 var(--ink);
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600;
}
.r-video .r-video-meta .red-dot { width: 9px; height: 9px; background: var(--coral); border-radius: 999px; }
body.ml .r-video .r-video-meta { font-family: var(--ml); }

/* Reviews row */
.r-reviews { background: var(--paper); padding: clamp(56px, 7vw, 100px) 0; }
.r-reviews-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.r-review {
  background: white;
  border: 2px solid var(--ink);
  border-radius: var(--r-md);
  padding: 22px;
  display: flex; flex-direction: column;
  gap: 12px;
  transition: all .25s;
}
.r-review:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.r-review:nth-child(4n+1) { background: var(--butter); }
.r-review:nth-child(4n+3) { background: var(--mint); color: white; }
.r-review:nth-child(4n+3) .r-review-en, .r-review:nth-child(4n+3) .r-name, .r-review:nth-child(4n+3) .r-role { color: white; }
.r-review .stars { color: var(--coral); font-size: 14px; letter-spacing: 2px; }
.r-review:nth-child(4n+3) .stars { color: var(--butter); }
.r-review-quote {
  font-family: var(--ml);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
}
.r-review-en {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-2);
}
.r-review-foot { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid color-mix(in oklab, currentColor 15%, transparent); }
.r-review-foot .r-av {
  width: 32px; height: 32px;
  border-radius: 999px;
  background: var(--ink); color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: 14px;
}
.r-name { font-size: 13px; font-weight: 600; line-height: 1.1; }
.r-role { font-size: 11px; color: var(--ink-3); font-weight: 500; }
@media (max-width: 1000px) { .r-reviews-rail { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .r-reviews-rail { grid-template-columns: 1fr; } }

/* The Story (long-form) */
.r-story { background: var(--bg); padding: clamp(72px, 9vw, 130px) 0; }
.r-story-wrap { max-width: 760px; margin: 0 auto; }
.r-story-head { text-align: center; margin-bottom: 56px; }
.r-story-head .section-title { font-size: clamp(40px, 6vw, 80px); }
.r-chapter { margin-bottom: 48px; position: relative; }
.r-chapter-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.r-chapter-emblem {
  flex: none;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper);
  color: var(--accent);
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: 4px 4px 0 var(--ink);
}
.r-chapter-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 10px;
}
.r-chapter-head .r-chapter-num { margin-bottom: 0; white-space: nowrap; }
.r-chapter h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 18px;
}
.r-chapter p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 1.1em;
}
.r-chapter p strong, .r-chapter p em {
  color: var(--ink);
  background: linear-gradient(180deg, transparent 60%, color-mix(in oklab, var(--accent) 30%, transparent) 60%);
  font-weight: 500;
  font-style: normal;
  padding: 0 2px;
}
.r-chapter .pull {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  padding: 24px 0 24px 24px;
  border-left: 4px solid var(--accent);
  margin: 28px 0;
  font-weight: 500;
  background: linear-gradient(90deg, color-mix(in oklab, var(--accent) 6%, transparent), transparent);
}

/* Pillars */
.r-pillars { background: var(--paper); padding: clamp(72px, 9vw, 130px) 0; }
.r-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: clamp(40px, 5vw, 60px);
}
.r-pillar {
  background: white;
  border: 2px solid var(--ink);
  border-radius: var(--r-md);
  padding: 28px;
  display: flex; flex-direction: column;
  gap: 14px;
}
.r-pillar:nth-child(1) { background: var(--coral); color: white; }
.r-pillar:nth-child(2) { background: var(--mint); color: white; }
.r-pillar:nth-child(3) { background: var(--butter); }
.r-pillar .ico {
  width: 48px; height: 48px;
  background: white;
  color: var(--ink);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 24px; font-weight: 600;
  border: 2px solid var(--ink);
}
.r-pillar:nth-child(3) .ico { background: var(--ink); color: white; }
.r-pillar h4 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.r-pillar p { font-size: 15px; line-height: 1.55; }
.r-pillar:nth-child(-n+2) p { color: rgba(255,255,255,0.92); }
@media (max-width: 800px) { .r-pillars-grid { grid-template-columns: 1fr; } }

/* All courses on renewed page */
.r-courses { background: var(--bg); padding: clamp(72px, 9vw, 130px) 0; }
.r-courses-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; margin-bottom: 40px; }
.r-courses-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.r-courses-tabs button {
  padding: 9px 16px;
  border: 1.5px solid var(--line-2);
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  background: white;
  transition: all .2s;
  cursor: pointer;
}
.r-courses-tabs button:hover { border-color: var(--ink); }
.r-courses-tabs button.active { background: var(--ink); color: white; border-color: var(--ink); }

/* Final CTA on renewed page */
.r-final-cta { background: var(--ink); color: white; padding: clamp(72px, 9vw, 130px) 0; }
.r-final-cta .wrap { text-align: center; max-width: 760px; margin: 0 auto; }
.r-final-cta h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 6.5vw, 88px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: white;
  margin-bottom: 22px;
}
.r-final-cta h2 em { color: var(--coral); font-style: italic; }
.r-final-cta p { color: rgba(255,255,255,0.7); font-size: 18px; line-height: 1.55; margin-bottom: 32px; max-width: 50ch; margin-inline: auto; }
.r-final-cta .ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- SOCIAL HANDLES ---------- */
.socials { background: var(--paper); }
.socials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.social-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 22px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  text-decoration: none;
  color: var(--ink);
}
.social-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--brand, var(--ink));
  border-color: var(--brand, var(--ink));
}
.social-ico {
  flex: none;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 14px;
}
.social-meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.social-name { font-family: var(--serif); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.1; }
.social-handle { font-size: 13px; color: var(--ink-3); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.social-card .arrow { flex: none; color: var(--ink-3); transition: transform .18s ease, color .18s ease; }
.social-card:hover .arrow { color: var(--brand, var(--ink)); transform: translateX(3px); }
body.ml .social-name { font-family: var(--ml); }

@media (max-width: 920px) { .socials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .socials-grid { grid-template-columns: 1fr; } }

/* =============================================================
   MOBILE REFINEMENT PASS
   Goal: make the phone layout read as ONE cohesive flow — tighter
   vertical rhythm, images that sit close to their copy, and cards
   that aren't cavernous. Mirrors the desktop composition, scaled down.
   ============================================================= */
@media (max-width: 820px) {
  /* calmer, even vertical rhythm between stacked sections */
  .section { padding: 60px 0; }
  .r-hero { padding: 44px 0 8px; }
  .r-reviews,
  .r-story,
  .r-pillars,
  .r-courses,
  .r-final-cta { padding-top: 56px; padding-bottom: 56px; }

  /* hero spacing on tablet */
  .hero { padding-top: 18px; padding-bottom: 6px; }

  /* image+copy sections: pull the photo closer to its text */
  .about-grid { gap: 30px; }
  .speaking-grid { gap: 30px; }
}

@media (max-width: 600px) {
  .section { padding: 52px 0; }

  /* tighter hero type + full-width CTAs on phones */
  .hero-name { margin-bottom: 4px; }
  .hero-tagline { margin: 14px auto 24px; max-width: 36ch; }
  .hero-ctas { gap: 10px; width: 100%; }
  .hero-ctas .btn { flex: 1 1 100%; justify-content: center; }

  /* photos sit tighter and smaller, framed like the desktop cards */
  .about-photo,
  .speaking-photo { max-width: 300px; aspect-ratio: 4 / 5; }

  /* declutter: lift the floating sticker badges off the photos so the
     portrait reads cleanly instead of being overlaid by text */
  .about-photo .badge,
  .speaking-photo .badge { display: none; }

  /* trim cavernous card padding so content feels held, not lost */
  .wa-card { padding: 30px 22px; gap: 26px; border-radius: 26px; }
  .renewed-card { padding: 30px 22px; gap: 28px; border-radius: 26px; }
  .philosophy-card { padding: 24px; margin-top: 28px; }
  .wa-chat { max-width: 100%; }
  .wa-chat-body { min-height: 0; }

  /* keep big display type from wrapping into ragged towers */
  .section-title { font-size: clamp(31px, 8.4vw, 44px); }
  .hero-name { font-size: clamp(34px, 10.5vw, 52px); }
  .footer-cta h2 { font-size: clamp(40px, 13vw, 60px); }
  .renewed-card .rtitle,
  .wa-card h2 { font-size: clamp(30px, 8.2vw, 42px); }

  /* lighten the stat / area density */
  .renewed-card .rstats { gap: 22px; padding-top: 22px; margin-top: 20px; }
  .renewed-card .rstats b { font-size: 26px; }
}

@media (max-width: 600px) {
  /* Renewed page hero — tame the giant headline + spacing */
  .r-hero h1 { font-size: clamp(46px, 15vw, 74px); }
  .r-hero p { font-size: 17px; }
  .r-story-wrap .r-chapter { margin-bottom: 38px; }
  .r-chapter p { font-size: 16px; line-height: 1.6; }
  .r-chapter .pull { font-size: clamp(22px, 6.5vw, 30px); padding: 18px 0 18px 18px; }
}

@media (max-width: 400px) {
  .section { padding: 46px 0; }
  .hero-meta-item b { font-size: 24px; }
  .hero-meta-item span { font-size: 11px; }
  .container { padding-inline: 18px; }
}

