/* ============================================================
   Dara Oladapo — Website kit · BLOCKS
   Site-level marketing & app blocks built on the system tokens.
   Pairs with tokens.css + styleguide.css. Theme-agnostic.
   ============================================================ */

/* keep site buttons on one line */
.btn { white-space: nowrap; }

/* ---------- Section scaffolding ---------- */
.w-section { padding: var(--space-10) var(--space-7); }
.w-wrap { max-width: var(--container-xl); margin: 0 auto; }
.w-wrap-md { max-width: var(--container-md); margin: 0 auto; }
.w-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 var(--space-4);
  display: inline-flex; align-items: center; gap: 10px;
}
.w-eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--accent-line); }

/* ---------- Site header / nav ---------- */
.w-nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 48px);
  background: color-mix(in srgb, var(--bg-1) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--border-1);
}
.w-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 18px;
  letter-spacing: -0.01em; text-transform: uppercase; color: var(--fg-1);
  text-decoration: none; border: 0;
}
.w-brand img { height: 26px; width: auto; display: block; }
.w-brand .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.w-navlinks { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.w-navlinks a {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg-3); padding: 10px 14px;
  text-decoration: none; border: 0; border-radius: var(--radius-xs);
  transition: color var(--dur-base) var(--ease-out);
}
.w-navlinks a:hover { color: var(--fg-1); }
.w-navlinks a.is-active { color: var(--accent); }
.w-nav-actions { display: flex; align-items: center; gap: 12px; }

/* ---------- Hero ---------- */
.w-hero { position: relative; overflow: hidden; padding: clamp(64px, 12vh, 140px) clamp(20px, 4vw, 48px); }
.w-hero-grid { position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image: linear-gradient(var(--border-1) 1px, transparent 1px), linear-gradient(90deg, var(--border-1) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%); }
.w-hero-inner { position: relative; max-width: var(--container-lg); margin: 0 auto; }
.w-hero-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(36px, 5.4vw, 74px); line-height: 0.98; letter-spacing: -0.025em;
  color: var(--fg-1); margin: 0; text-wrap: balance;
}
.w-hero-title .amber { color: var(--accent); }
.w-hero-lead { font-family: var(--font-body); font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.55; color: var(--fg-2); max-width: 52ch; margin: var(--space-6) 0 0; text-wrap: pretty; }
.w-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: var(--space-7); }
.w-hero-meta { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 56px); margin-top: var(--space-8);
  padding-top: var(--space-6); border-top: 1px solid var(--border-1); }
.w-hero-meta .k { font-family: var(--font-display); font-weight: 600; font-size: 32px; letter-spacing: -0.02em; color: var(--fg-1); font-variant-numeric: tabular-nums; }
.w-hero-meta .v { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); margin-top: 4px; }

/* image placeholder (striped, monospace caption) */
.w-ph {
  position: relative; border: 1px solid var(--border-2); border-radius: var(--radius-lg);
  background: repeating-linear-gradient(135deg, var(--bg-2), var(--bg-2) 11px, var(--bg-3) 11px, var(--bg-3) 22px);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.w-ph::after { content: attr(data-label); font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3);
  background: var(--bg-1); padding: 6px 12px; border: 1px solid var(--border-1); border-radius: var(--radius-pill); }

/* ---------- Feature / value cards ---------- */
.w-feature {
  background: var(--bg-2); border: 1px solid var(--border-1); border-radius: var(--radius-lg);
  padding: 28px; display: flex; flex-direction: column; gap: 14px;
  transition: border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.w-feature:hover { border-color: var(--border-2); transform: translateY(-3px); }
.w-feature .idx { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--accent); }
.w-feature h3 { font-family: var(--font-display); font-weight: 600; font-size: 21px; letter-spacing: -0.015em;
  color: var(--fg-1); margin: 0; line-height: 1.1; }
.w-feature p { font-family: var(--font-body); font-size: 14px; line-height: 1.6; color: var(--fg-2); margin: 0; }
.w-feature .glyph { width: 44px; height: 44px; border-radius: var(--radius-sm); border: 1px solid var(--accent-line);
  background: var(--accent-soft); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); color: var(--accent); font-size: 18px; }

/* ---------- Logo cloud ---------- */
.w-logos { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(28px, 5vw, 64px); justify-content: center; }
.w-logos span { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: 0.02em;
  text-transform: uppercase; color: var(--fg-3); opacity: 0.7; }

/* ---------- Pricing ---------- */
.w-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.w-price {
  background: var(--bg-2); border: 1px solid var(--border-1); border-radius: var(--radius-lg);
  padding: 32px; display: flex; flex-direction: column; gap: 20px;
}
.w-price.is-featured { border-color: var(--accent-line); box-shadow: var(--shadow-glow); position: relative; }
.w-price.is-featured::before { content: "Most popular"; position: absolute; top: -11px; left: 32px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-on-accent); background: var(--accent); padding: 4px 10px; border-radius: var(--radius-pill); }
.w-price .tier { font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-2); }
.w-price .amt { font-family: var(--font-display); font-weight: 600; font-size: 56px; letter-spacing: -0.03em; color: var(--fg-1); line-height: 0.9; font-variant-numeric: tabular-nums; }
.w-price .amt .per { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em; color: var(--fg-3); margin-left: 6px; }
.w-price ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.w-price li { font-family: var(--font-body); font-size: 14px; color: var(--fg-2); display: flex; gap: 10px; align-items: flex-start; }
.w-price li::before { content: "+"; font-family: var(--font-mono); color: var(--accent); flex-shrink: 0; }

/* ---------- Course / lesson list ---------- */
.w-lesson { display: flex; align-items: center; gap: 18px; padding: 18px 20px;
  background: var(--bg-2); border: 1px solid var(--border-1); border-radius: var(--radius-md);
  transition: border-color var(--dur-base) var(--ease-out); }
.w-lesson:hover { border-color: var(--border-2); }
.w-lesson .no { font-family: var(--font-mono); font-size: 12px; color: var(--fg-3); width: 28px; }
.w-lesson .ttl { font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; color: var(--fg-1); flex: 1; }
.w-lesson .dur { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--fg-3); }

/* ---------- Podcast ---------- */
.w-pod-feature { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center;
  background: var(--bg-2); border: 1px solid var(--border-1); border-radius: var(--radius-lg); padding: 32px; }
.w-pod-cover { aspect-ratio: 1; border-radius: var(--radius-md); border: 1px solid var(--border-2); overflow: hidden;
  position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 24px;
  background: var(--bg-0); }
.w-pod-cover .wm { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 180px; letter-spacing: -0.05em; color: var(--accent); opacity: 0.1; line-height: 0.7; }
.w-pod-cover .ct { position: relative; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.w-pod-cover .cn { position: relative; font-family: var(--font-display); font-weight: 600; font-size: 26px; letter-spacing: -0.02em; line-height: 1.0; color: var(--fg-1); }
.w-pod-feature .meta { display: flex; flex-direction: column; gap: 16px; }
.w-pod-feature h3 { font-family: var(--font-display); font-weight: 600; font-size: 28px; letter-spacing: -0.02em; color: var(--fg-1); margin: 0; }
.w-pod-feature p { font-family: var(--font-body); font-size: 15px; line-height: 1.6; color: var(--fg-2); margin: 0; max-width: 52ch; }
.w-pod-platforms { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.w-pod-platforms a { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-2); text-decoration: none; border: 1px solid var(--border-2); border-radius: var(--radius-pill);
  padding: 9px 16px; display: inline-flex; align-items: center; gap: 8px; transition: border-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out); }
.w-pod-platforms a:hover { border-color: var(--accent-line); color: var(--accent); }
.w-pod-platforms a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.w-episodes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.w-episode { background: var(--bg-2); border: 1px solid var(--border-1); border-radius: var(--radius-md); padding: 22px;
  display: flex; flex-direction: column; gap: 12px; transition: border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
.w-episode:hover { border-color: var(--border-2); transform: translateY(-3px); }
.w-episode .epnum { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.w-episode h4 { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.015em; color: var(--fg-1); margin: 0; line-height: 1.2; }
.w-episode .epmeta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--fg-3); margin-top: auto; display: flex; align-items: center; gap: 10px; }
.w-episode .play { width: 38px; height: 38px; border-radius: 50%; background: var(--accent-soft); border: 1px solid var(--accent-line);
  color: var(--accent); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
@media (max-width: 900px){ .w-pod-feature { grid-template-columns: 1fr; } .w-episodes { grid-template-columns: 1fr; } }

/* ---------- Podcast · two-up show cards ---------- */
.pod-shows { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pod-card { display: grid; grid-template-columns: 132px 1fr; gap: 22px; background: var(--bg-2); border: 1px solid var(--border-1); border-radius: var(--radius-lg); padding: 24px; }
.pod-card .cover { aspect-ratio: 1; border-radius: var(--radius-md); border: 1px solid var(--border-2); background: var(--bg-0); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 16px; }
.pod-card .cover .wm { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: 110px; letter-spacing: -0.05em; line-height: 0.7; color: var(--accent); opacity: 0.12; }
.pod-card .cover .ct { position: relative; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.pod-card .cover .cn { position: relative; font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -0.02em; line-height: 1.0; color: var(--fg-1); }
.pod-card .info { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pod-card .info h3 { font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -0.015em; margin: 0; line-height: 1.1; }
.pod-card .info p { font-family: var(--font-body); font-size: 13px; line-height: 1.55; color: var(--fg-2); margin: 0; }
.pod-card .w-pod-platforms { margin-top: auto; }
@media (max-width: 900px){ .pod-shows { grid-template-columns: 1fr; } }

/* ---------- Podcast · interactive episode mini-player ---------- */
.w-episode .epmeta { gap: 12px; }
.ep-play { width: 38px; height: 38px; border-radius: 50%; background: var(--accent-soft); border: 1px solid var(--accent-line);
  color: var(--accent); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0;
  cursor: pointer; padding: 0; transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), transform .12s var(--ease-out); }
.ep-play:hover { background: var(--accent); color: var(--fg-on-accent); }
.ep-play:active { transform: scale(0.93); }
.w-episode.is-playing .ep-play { background: var(--accent); color: var(--fg-on-accent); }
.ep-progress { flex: 1; min-width: 0; }
.ep-track { height: 5px; border-radius: 99px; background: var(--bg-4); overflow: hidden; cursor: pointer; }
.ep-fill { height: 100%; width: 0; background: var(--accent); border-radius: 99px; transition: width .25s linear; }
.w-episode.is-playing .ep-fill { transition: width 1s linear; }
.ep-time { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); font-variant-numeric: tabular-nums; flex-shrink: 0; }
.ep-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; margin-left: 2px; opacity: 0; transition: opacity .2s; }
.w-episode.is-playing .ep-eq { opacity: 1; }
.ep-eq i { width: 2px; background: var(--accent); border-radius: 2px; animation: ep-eq 0.9s ease-in-out infinite; }
.ep-eq i:nth-child(1){ height: 5px; animation-delay: 0s; }
.ep-eq i:nth-child(2){ height: 11px; animation-delay: .15s; }
.ep-eq i:nth-child(3){ height: 7px; animation-delay: .3s; }
@keyframes ep-eq { 0%,100%{ transform: scaleY(0.4); } 50%{ transform: scaleY(1); } }

/* shared episode-player controller (auto-inits any .w-episode .epmeta) */

/* ---------- CTA band ---------- */
.w-cta { position: relative; overflow: hidden; border-radius: var(--radius-xl);
  background: var(--bg-2); border: 1px solid var(--border-2);
  padding: clamp(40px, 6vw, 72px); text-align: center; }
.w-cta h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 4vw, 48px);
  letter-spacing: -0.025em; color: var(--fg-1); margin: 0; line-height: 1.0; }
.w-cta p { font-family: var(--font-body); font-size: 16px; color: var(--fg-2); margin: 18px auto 0; max-width: 48ch; }

/* ---------- Footer ---------- */
.w-footer { border-top: 1px solid var(--border-1); padding: var(--space-9) clamp(20px,4vw,48px) var(--space-7); }
.w-footer-grid { max-width: var(--container-xl); margin: 0 auto; display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.w-footer h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); margin: 0 0 16px; }
.w-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.w-footer a { font-family: var(--font-body); font-size: 14px; color: var(--fg-2); text-decoration: none; border: 0; }
.w-footer a:hover { color: var(--accent); }
.w-footer-base { max-width: var(--container-xl); margin: 40px auto 0; padding-top: 24px; border-top: 1px solid var(--border-1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }

/* ---------- Auth card ---------- */
.w-auth { max-width: 420px; margin: 0 auto; background: var(--bg-2);
  border: 1px solid var(--border-1); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-2); }
.w-auth h2 { font-family: var(--font-display); font-weight: 600; font-size: 26px; letter-spacing: -0.02em; color: var(--fg-1); margin: 0 0 6px; }
.w-auth .sub { font-family: var(--font-body); font-size: 14px; color: var(--fg-3); margin: 0 0 28px; }
.w-auth .field { margin-bottom: 16px; }
.w-auth .alt { text-align: center; margin-top: 22px; font-family: var(--font-body); font-size: 13px; color: var(--fg-3); }
.w-divider { display: flex; align-items: center; gap: 14px; margin: 22px 0; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-4); }
.w-divider::before, .w-divider::after { content: ""; flex: 1; height: 1px; background: var(--border-1); }

@media (max-width: 900px) {
  .w-prices { grid-template-columns: 1fr; }
  .w-footer-grid { grid-template-columns: 1fr 1fr; }
  .w-navlinks { display: none; }
}
