/* ============================================================
   LEWIS PIKE DIGITAL — lewispikedigital.com
   Styles — Editorial Layout
   Brand: Plus Jakarta Sans + JetBrains Mono
   ============================================================ */

/* ── DESIGN TOKENS ────────────────────────────────────────── */
:root {
  /* Brand colors */
  --teal:          #0A7E8C;
  --teal-bright:   #0C9DAD;
  --teal-dark:     #065A66;
  --midnight:      #1A1A2E;
  --amber:         #C8963E;
  --cloud:         #F5F2ED;
  --slate:         #64748B;
  --deep-slate:    #2D3748;
  --sand:          #E8DDD0;
  --signal-red:    #D4563A;
  --white:         #FFFFFF;

  /* Typography (Brand Guide: Plus Jakarta Sans + JetBrains Mono only) */
  --sans:    'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --mono:    'JetBrains Mono', 'Fira Code', monospace;

  /* Layout */
  --max-width:  1200px;
  --radius-sm:  2px;   /* Sharp editorial corners */
}

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

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

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--midnight);
  background-color: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

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

button, input {
  font-family: var(--sans);
}

::selection {
  background-color: rgba(10, 126, 140, 0.15);
  color: var(--midnight);
}


/* ── SECTION INNER (content container) ────────────────────── */
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}


/* ── UTILITY ──────────────────────────────────────────────── */
.hide-mobile { display: none; }
.show-mobile { display: block; }


/* ════════════════════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════════════════════ */

/* Primary — Teal solid */
.btn-teal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  background-color: var(--teal);
  color: var(--white);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-teal:hover {
  background-color: var(--teal-bright);
}

.btn-teal:active {
  background-color: var(--teal-dark);
  transform: scale(0.98);
}

.btn-teal:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

/* Ghost — transparent with white border (for dark backgrounds) */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  background: transparent;
  color: var(--white);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
}

.btn-ghost:active {
  background: rgba(255, 255, 255, 0.1);
}

.btn-ghost:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

/* White — for colored backgrounds (newsletter) */
.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  background-color: var(--white);
  color: var(--teal);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-white:hover {
  background-color: var(--cloud);
}

.btn-white:active {
  transform: scale(0.98);
}

.btn-white:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}


/* ── LINK ARROW ───────────────────────────────────────────── */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
  transition: gap 0.2s ease;
}

.link-arrow:hover {
  gap: 12px;
}

.link-arrow:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

.link-arrow svg {
  transition: transform 0.2s ease;
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

/* Muted variant for header "Read more" */
.link-muted {
  color: var(--teal);
  font-weight: 500;
}

.link-muted:hover {
  color: var(--teal-bright);
}


/* ── SECTION TITLE (shared heading) ───────────────────────── */
.section-title {
  font-family: var(--sans);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--midnight);
  letter-spacing: -0.03em;
}

/* ── HEADING ACCENT (teal) ────────────────────────────────── */
.heading-accent {
  color: var(--teal);
}


/* ════════════════════════════════════════════════════════════
   NAV
   ════════════════════════════════════════════════════════════ */

.site-nav {
  border-bottom: 1px solid var(--sand);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 100;
}

.site-nav .nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.logo-text {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--midnight);
}

.logo-text span {
  font-weight: 400;
  font-size: 15px;
  color: var(--slate);
  margin-left: 2px;
}

.nav-links {
  display: none;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--teal);
}

.nav-links a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--midnight);
  padding: 6px;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 0 24px 18px;
  border-top: 1px solid var(--sand);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--midnight);
  border-bottom: 1px solid var(--sand);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover {
  color: var(--teal);
}


/* ════════════════════════════════════════════════════════════
   HERO (light background, large heading)
   ════════════════════════════════════════════════════════════ */

.hero-section {
  background: var(--white);
  padding: 100px 0 0;
}

.hero-section .section-inner {
  padding-bottom: 88px;
  border-bottom: 1px solid var(--sand);
}

.hero-heading {
  font-family: var(--sans);
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--midnight);
  margin-bottom: 28px;
}

.hero-accent {
  color: var(--teal);
}

.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--slate);
  max-width: 560px;
  margin-bottom: 40px;
}

.hero-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin-bottom: 14px;
}

.hero-form input {
  flex: 1;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--midnight);
  background: var(--white);
  border: 1.5px solid var(--sand);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-form input::placeholder {
  color: var(--slate);
}

.hero-form input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(10, 126, 140, 0.08);
}

.hero-hint {
  font-size: 13px;
  color: var(--slate);
}


/* ════════════════════════════════════════════════════════════
   STORY
   ════════════════════════════════════════════════════════════ */

.story-section {
  padding: 64px 0;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

/* Photo side */
.story-photo {
  display: flex;
  justify-content: center;
}

.photo-placeholder {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4 / 5;
  background: var(--cloud);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

/* Headshot image inside photo frame */
.photo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.photo-initials {
  font-family: var(--sans);
  font-size: 56px;
  font-weight: 600;
  color: var(--sand);
}

.photo-label {
  font-size: 12px;
  color: var(--slate);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Corner accent marks */
.corner-accent {
  position: absolute;
  width: 40px;
  height: 40px;
}

.corner-accent--tr {
  top: -8px;
  right: -8px;
  border-top: 2px solid var(--teal);
  border-right: 2px solid var(--teal);
}

.corner-accent--bl {
  bottom: -8px;
  left: -8px;
  border-bottom: 2px solid var(--teal);
  border-left: 2px solid var(--teal);
}

/* Text side */
.story-text {
  display: flex;
  flex-direction: column;
}

.overline-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.story-heading {
  font-family: var(--sans);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--midnight);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.story-body p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--deep-slate);
  margin-bottom: 16px;
}

.story-body p:last-child {
  margin-bottom: 0;
}

.story-bold {
  font-weight: 600;
  color: var(--midnight);
}

.story-text .link-arrow {
  margin-top: 28px;
}


/* ════════════════════════════════════════════════════════════
   THREE WAYS
   ════════════════════════════════════════════════════════════ */

.ways-section {
  background: var(--cloud);
  padding: 72px 0;
}

.ways-section .section-title {
  margin-bottom: 48px;
}

.ways-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.way-card {
  padding: 0;
}

.way-number {
  display: inline-block;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--teal);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.way-title {
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 700;
  color: var(--midnight);
  margin-bottom: 12px;
}

.way-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--slate);
  margin-bottom: 24px;
}


/* ════════════════════════════════════════════════════════════
   ARTICLES
   ════════════════════════════════════════════════════════════ */

.articles-section {
  padding: 72px 0;
}

.articles-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
}

.articles-header .section-title {
  margin-bottom: 0;
}

/* Article list with top/bottom borders */
.articles-list {
  border-top: 1px solid var(--sand);
}

.article-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 12px;
  margin: 0 -12px;
  border-bottom: 1px solid var(--sand);
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease;
}

.article-row:hover {
  background-color: var(--cloud);
}

.article-row-left {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.article-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
  white-space: nowrap;
  min-width: 85px;
  padding: 5px 10px;
  background: rgba(10, 126, 140, 0.06);
  border: 1px solid rgba(10, 126, 140, 0.15);
  border-radius: 4px;
}

.article-title {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  color: var(--midnight);
  line-height: 1.3;
}

.article-row-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.article-date {
  font-size: 13px;
  color: var(--slate);
  white-space: nowrap;
}

.article-arrow {
  font-size: 18px;
  color: var(--teal);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.article-row:hover .article-arrow {
  opacity: 1;
  transform: translateX(0);
}

.articles-mobile-link {
  text-align: center;
  margin-top: 24px;
}


/* ════════════════════════════════════════════════════════════
   CTA BAND
   ════════════════════════════════════════════════════════════ */

.cta-section {
  position: relative;
  background: var(--midnight);
  padding: 80px 0;
  overflow: hidden;
  text-align: center;
}

/* Subtle radial glow behind CTA content */
.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(10, 126, 140, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-heading {
  font-family: var(--sans);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.heading-accent-light {
  color: var(--teal-bright);
}

.cta-lead {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  max-width: 520px;
  margin: 0 auto 36px;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ════════════════════════════════════════════════════════════
   NEWSLETTER (white background)
   ════════════════════════════════════════════════════════════ */

.newsletter-section {
  background: var(--white);
  padding: 64px 0;
  border-top: 1px solid var(--sand);
}

.newsletter-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.newsletter-heading {
  font-family: var(--sans);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--midnight);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.newsletter-lead {
  font-size: 15px;
  line-height: 1.7;
  color: var(--slate);
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 400px;
}

.newsletter-form input {
  flex: 1;
  padding: 13px 18px;
  font-size: 14px;
  font-family: var(--sans);
  color: var(--midnight);
  background: var(--white);
  border: 1.5px solid var(--sand);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.newsletter-form input::placeholder {
  color: var(--slate);
}

.newsletter-form input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(10, 126, 140, 0.08);
}

.newsletter-hint {
  font-size: 13px;
  color: var(--slate);
  margin-top: 10px;
}

/* Form submission feedback */
.form-message {
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 10px;
}

.form-message--success {
  color: var(--teal);
}

.form-message--error {
  color: var(--signal-red, #D4563A);
}


/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */

.site-footer {
  padding: 48px 0;
  border-top: 1px solid var(--sand);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 14px;
  color: var(--slate);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--teal);
}

.footer-links a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

.footer-copy {
  font-size: 13px;
  color: var(--slate);
}


/* ── NAV ACTIVE STATE ─────────────────────────────────────── */
.nav-active {
  color: var(--teal) !important;
}


/* ════════════════════════════════════════════════════════════
   PODCAST PAGE
   ════════════════════════════════════════════════════════════ */

/* ── PODCAST HERO ────────────────────────────────────────── */
.podcast-hero {
  padding: 80px 0 0;
  border-bottom: 1px solid var(--sand);
}

.podcast-hero .section-inner {
  padding-bottom: 64px;
}

.podcast-hero .overline-badge {
  margin-bottom: 20px;
}

.podcast-hero-heading {
  font-family: var(--sans);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--midnight);
  margin-bottom: 20px;
}

.podcast-hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--slate);
  max-width: 560px;
  margin-bottom: 36px;
}

/* Subscribe platform links */
.podcast-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.platform-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--midnight);
  background: var(--cloud);
  border: 1px solid var(--sand);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.platform-link:hover {
  border-color: var(--teal);
  background: rgba(10, 126, 140, 0.04);
  color: var(--teal);
}

.platform-link:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.platform-link svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.platform-link:hover svg {
  opacity: 1;
}


/* ── FEATURED EPISODE ────────────────────────────────────── */
.featured-episode {
  padding: 64px 0;
  border-bottom: 1px solid var(--sand);
}

.featured-episode .overline-badge {
  margin-bottom: 32px;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

/* Cover art placeholder */
.episode-cover-featured {
  display: flex;
  justify-content: center;
}

.cover-placeholder {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--midnight) 0%, #2a2a4a 100%);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
}

.cover-ep {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-bright);
}

.cover-title {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
  max-width: 200px;
}

/* Episode meta row (shared between featured + list) */
.episode-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.episode-number {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
}

.meta-dot {
  width: 3px;
  height: 3px;
  background: var(--slate);
  border-radius: 50%;
  flex-shrink: 0;
}

.episode-duration {
  font-size: 13px;
  color: var(--slate);
}

.episode-date {
  display: none;
}
/* Hide the dot separator before the date */
.meta-dot:has(+ .episode-date) {
  display: none;
}

/* Featured episode info */
.featured-info {
  min-width: 0;
  overflow: hidden;
}

.featured-title {
  font-family: var(--sans);
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--midnight);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.featured-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--deep-slate);
  margin-bottom: 28px;
}

/* Custom audio player */
.podcast-player {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--cloud);
  border: 1px solid var(--sand);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  overflow: hidden;
  min-width: 0;
}

/* Right side: info + controls stacked next to play button */
.player-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

/* Info row: author (static) + scrolling title
   Right padding aligns marquee cutoff with volume control below */
.player-info {
  display: flex;
  align-items: baseline;
  gap: 0;
  min-width: 0;
  overflow: hidden;
  padding-right: 144px;
}

.player-author {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 700;
  color: var(--midnight);
  white-space: nowrap;
  flex-shrink: 0;
}

.player-author::after {
  content: '\00a0›\00a0';
  font-weight: 400;
  color: var(--slate);
}

.player-marquee {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

.player-marquee-inner {
  display: inline-block;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--slate);
  animation: marquee-scroll 18s linear infinite;
}

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Controls row */
.player-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.player-play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.player-play:hover {
  background: var(--teal-bright);
}

.player-play:active {
  transform: scale(0.95);
}

.player-play:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.player-time {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--slate);
  white-space: nowrap;
  flex-shrink: 0;
}

.player-track {
  flex: 1;
  height: 4px;
  background: var(--sand);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
}

.player-progress {
  height: 100%;
  background: var(--teal);
  border-radius: 2px;
  transition: width 0.1s linear;
}

.player-handle {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--teal);
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  cursor: grab;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.podcast-player:hover .player-handle {
  opacity: 1;
}

/* Volume control */
.player-volume {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.player-volume-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--slate);
  padding: 0;
  transition: color 0.2s ease;
}

.player-volume-btn:hover {
  color: var(--teal);
}

.player-volume-track {
  width: 80px;
  height: 4px;
  background: var(--sand);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
}

.player-volume-level {
  height: 100%;
  background: var(--slate);
  border-radius: 2px;
  width: 80%;
  transition: width 0.1s ease;
}

.player-volume-handle {
  position: absolute;
  top: 50%;
  left: 80%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--midnight);
  border-radius: 50%;
  cursor: grab;
}

/* Download button */
.player-download {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate);
  text-decoration: none;
  padding: 4px;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.player-download:hover {
  color: var(--teal);
}

.featured-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.featured-view-link {
  font-size: 13px;
  padding: 8px 16px;
}


/* ── EPISODES LIST ───────────────────────────────────────── */
.episodes-section {
  padding: 72px 0;
}

.episodes-section .section-title {
  margin-bottom: 32px;
}

.episodes-list {
  border-top: 1px solid var(--sand);
}

.episode-row {
  display: grid;
  grid-template-columns: 60px 1fr 40px;
  gap: 16px;
  align-items: center;
  padding: 20px 12px;
  margin: 0 -12px;
  border-bottom: 1px solid var(--sand);
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease;
}

.episode-row:hover {
  background: var(--cloud);
}

/* Small cover thumbnails in list */
.cover-placeholder-sm {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--midnight) 0%, #2a2a4a 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cover-ep-sm {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--teal-bright);
  letter-spacing: 0.05em;
}

/* Episode row content */
.episode-row-content {
  min-width: 0;
}

.episode-row-content .episode-meta {
  margin-bottom: 6px;
}

.episode-row-title {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  color: var(--midnight);
  line-height: 1.3;
  margin-bottom: 6px;
}

.episode-row-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Play icon on right side */
.episode-row-play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--teal);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.episode-row:hover .episode-row-play {
  opacity: 1;
  transform: translateX(0);
}

/* Load more button */
.episodes-more {
  text-align: center;
  margin-top: 40px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  background: transparent;
  color: var(--midnight);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--sand);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(10, 126, 140, 0.03);
}

.btn-outline:active {
  background: rgba(10, 126, 140, 0.06);
}

.btn-outline:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

/* ── COVER IMAGES (real <img> replacing placeholders) ────── */
.cover-img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: var(--radius-sm);
  display: block;
}

.cover-img-sm {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  display: block;
}

/* ── TRANSCRIPT UI ──────────────────────────────────────── */
.transcript-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--teal);
  cursor: pointer;
  padding: 0;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.transcript-toggle:hover {
  color: var(--teal-bright);
}

.transcript-toggle:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.transcript-toggle svg {
  transition: transform 0.2s ease;
}

.transcript-toggle.open svg {
  transform: rotate(180deg);
}

.transcript-section {
  margin-top: 20px;
  padding: 24px;
  background: var(--cloud);
  border: 1px solid var(--sand);
  border-radius: var(--radius-sm);
  max-height: 500px;
  overflow-y: auto;
}

.transcript-utterance {
  margin-bottom: 20px;
}

.transcript-utterance:last-child {
  margin-bottom: 0;
}

.transcript-speaker-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.transcript-speaker {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--teal);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.transcript-timestamp {
  background: none;
  border: none;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--slate);
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 3px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.transcript-timestamp:hover {
  background: rgba(10, 126, 140, 0.08);
  color: var(--teal);
}

.transcript-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--deep-slate);
}

.transcript-chapter {
  margin-top: 28px;
  margin-bottom: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--sand);
}

.transcript-chapter:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.transcript-chapter-title {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--midnight);
  margin-bottom: 12px;
}

.transcript-loading,
.transcript-unavailable {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--slate);
  text-align: center;
  padding: 24px 0;
}


/* ── EPISODE PAGE ───────────────────────────────────────── */
.ep-hero {
  padding: 80px 0 0;
  border-bottom: 1px solid var(--sand);
}

.ep-hero .section-inner {
  padding-bottom: 64px;
}

.ep-hero-layout {
  max-width: 720px;
}

.ep-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--teal);
  text-decoration: none;
  margin-bottom: 32px;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.ep-back-link:hover {
  color: var(--teal-bright);
}

.ep-back-link svg {
  flex-shrink: 0;
}

.ep-hero .episode-meta {
  margin-bottom: 16px;
}

.ep-title {
  font-family: var(--sans);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--midnight);
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.ep-hero .podcast-player {
  margin-bottom: 24px;
}

.ep-platforms {
  margin-top: 0;
  justify-content: center;
}

/* Episode description */
.ep-description {
  padding: 64px 0;
  border-bottom: 1px solid var(--sand);
}

.ep-description-content {
  max-width: 720px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--deep-slate);
}

.ep-description-content p {
  margin-bottom: 1em;
}

.ep-description-content a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.ep-description-content a:hover {
  color: var(--teal-bright);
}

.ep-description-content ul,
.ep-description-content ol {
  margin: 16px 0;
  padding-left: 20px;
}

.ep-description-content li {
  margin-bottom: 8px;
}

.ep-description-content h2,
.ep-description-content h3 {
  font-family: var(--sans);
  font-weight: 700;
  color: var(--midnight);
  margin-top: 32px;
  margin-bottom: 12px;
}

.ep-description-content h2 {
  font-size: 20px;
}

.ep-description-content h3 {
  font-size: 17px;
}

/* Episode transcript (always visible, auto-loaded) */
.ep-transcript-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--sand);
}

.ep-transcript-section .section-title {
  margin-bottom: 24px;
}

.ep-transcript {
  max-height: 600px;
}

/* Episode prev/next nav */
.ep-nav-section {
  padding: 48px 0;
  border-bottom: 1px solid var(--sand);
}

.ep-nav-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.ep-nav-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--slate);
  text-decoration: none;
  max-width: 45%;
  transition: color 0.2s ease;
}

.ep-nav-link:hover {
  color: var(--teal);
}

.ep-nav-direction {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ep-nav-link strong {
  font-weight: 600;
  color: var(--midnight);
  line-height: 1.4;
}

.ep-nav-link:hover strong {
  color: var(--teal);
}

.ep-nav-link--next {
  text-align: right;
  margin-left: auto;
}

.ep-nav-link--next .ep-nav-direction {
  justify-content: flex-end;
}


/* ════════════════════════════════════════════════════════════
   ABOUT PAGE
   ════════════════════════════════════════════════════════════ */

/* ── ABOUT HERO ──────────────────────────────────────────── */
.about-hero {
  padding: 80px 0 0;
  border-bottom: 1px solid var(--sand);
}

.about-hero .section-inner {
  padding-bottom: 64px;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.about-hero-photo {
  display: flex;
  justify-content: center;
}

.about-hero-text {
  display: flex;
  flex-direction: column;
}

.about-hero-heading {
  font-family: var(--sans);
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--midnight);
  margin-bottom: 20px;
}

.about-hero-body p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--deep-slate);
  margin-bottom: 12px;
}

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

.about-hero-body .story-bold {
  font-weight: 600;
  color: var(--midnight);
}


/* ── WHO I AM ────────────────────────────────────────────── */
.about-who {
  padding: 72px 0;
  border-bottom: 1px solid var(--sand);
}

.about-who-inner {
  max-width: 680px;
}

.about-who-inner .overline-badge {
  margin-bottom: 16px;
}

.about-who-inner .section-title {
  margin-bottom: 32px;
}

.about-who-body p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--deep-slate);
  margin-bottom: 20px;
}

.about-who-body p:last-child {
  margin-bottom: 0;
}

.about-who-body .story-bold {
  font-weight: 600;
  color: var(--midnight);
}


/* ── TOOL STRIP ──────────────────────────────────────────── */
.tool-strip {
  padding: 24px 0;
  background: var(--cloud);
  border-bottom: 1px solid var(--sand);
}

.tool-strip-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.tool-strip-label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate);
  white-space: nowrap;
}

.tool-strip-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-chip {
  display: inline-block;
  padding: 6px 14px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--deep-slate);
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-sm);
}


/* ── WHAT I DO ───────────────────────────────────────────── */
.about-whatido {
  padding: 72px 0;
  border-bottom: 1px solid var(--sand);
}

.about-whatido-inner {
  max-width: 680px;
}

.about-whatido-inner .overline-badge {
  margin-bottom: 16px;
}

.about-whatido-inner .section-title {
  margin-bottom: 32px;
}

.about-whatido-body p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--deep-slate);
  margin-bottom: 20px;
}

.about-whatido-body p:last-child {
  margin-bottom: 0;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.about-list li {
  position: relative;
  padding-left: 20px;
  font-size: 16px;
  line-height: 2;
  color: var(--deep-slate);
}

.about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 1px;
}


/* ── SYSTEMS I'VE BUILT ──────────────────────────────────── */
.about-systems {
  padding: 72px 0;
  background: var(--cloud);
}

.about-systems .overline-badge {
  margin-bottom: 16px;
}

.about-systems .section-title {
  margin-bottom: 48px;
}

.systems-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.system-card {
  background: var(--white);
  padding: 32px 28px;
  border: 1px solid var(--sand);
  border-radius: var(--radius-sm);
}

.system-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(10, 126, 140, 0.06);
  border: 1px solid rgba(10, 126, 140, 0.12);
  border-radius: var(--radius-sm);
  color: var(--teal);
  margin-bottom: 20px;
}

.system-title {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--midnight);
  margin-bottom: 10px;
}

.system-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--slate);
}


/* ── WHY SYSTEMS MATTER ──────────────────────────────────── */
.about-why {
  padding: 72px 0;
  border-bottom: 1px solid var(--sand);
}

.about-why-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.about-why-text .overline-badge {
  margin-bottom: 16px;
}

.about-why-text .section-title {
  margin-bottom: 24px;
}

.about-why-body p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--deep-slate);
  margin-bottom: 16px;
}

.about-why-body p:last-child {
  margin-bottom: 0;
}

.about-why-benefits {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.benefits-lead {
  font-size: 15px;
  font-weight: 600;
  color: var(--midnight);
  margin-bottom: 20px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--sand);
}

.benefit-item:first-of-type {
  border-top: 1px solid var(--sand);
}

.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
}

.benefit-text {
  font-size: 16px;
  font-weight: 500;
  color: var(--midnight);
}


/* ── MY STORY ────────────────────────────────────────────── */
.about-story {
  padding: 72px 0;
}

.about-story-inner {
  max-width: 680px;
}

.about-story-inner .overline-badge {
  margin-bottom: 16px;
}

.about-story-inner .section-title {
  margin-bottom: 32px;
}

.about-story-body p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--deep-slate);
  margin-bottom: 20px;
}

.about-story-body p:last-child {
  margin-bottom: 0;
}

.about-story-body .story-bold {
  font-weight: 600;
  color: var(--midnight);
}


/* ── DIGITAL SYSTEMS ACADEMY ─────────────────────────────── */
.about-academy {
  padding: 72px 0;
  background: var(--cloud);
  border-top: 1px solid var(--sand);
}

.about-academy-inner {
  max-width: 680px;
}

.about-academy-text .overline-badge {
  margin-bottom: 16px;
}

.about-academy-text .section-title {
  margin-bottom: 28px;
}

.about-academy-body {
  margin-bottom: 28px;
}

.about-academy-body p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--deep-slate);
  margin-bottom: 16px;
}

.about-academy-body p:last-child {
  margin-bottom: 0;
}


/* ── OUTSIDE OF WORK ─────────────────────────────────────── */
.about-personal {
  padding: 72px 0;
  border-bottom: 1px solid var(--sand);
}

.about-personal-inner {
  max-width: 680px;
}

.about-personal-inner .overline-badge {
  margin-bottom: 16px;
}

.about-personal-inner .section-title {
  margin-bottom: 28px;
}

.about-personal-body p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--deep-slate);
  margin-bottom: 20px;
}

.about-personal-body p:last-child {
  margin-bottom: 0;
}

.about-personal-body .story-bold {
  font-weight: 600;
  color: var(--midnight);
}


/* ════════════════════════════════════════════════════════════
   SERVICES / WORK WITH ME PAGE
   ════════════════════════════════════════════════════════════ */

/* ── Services Hero ── */
.services-hero {
  padding: 80px 0 0;
}

.services-hero .section-inner {
  padding-bottom: 72px;
  border-bottom: 1px solid var(--sand);
}

.services-hero-heading {
  font-family: var(--sans);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--midnight);
  margin-top: 16px;
  margin-bottom: 24px;
}

.services-hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--slate);
  max-width: 600px;
}

/* ── The Problem ── */
.services-problem {
  padding: 64px 0;
}

.services-problem-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.services-problem-body p {
  margin-bottom: 16px;
  color: var(--deep-slate);
  line-height: 1.75;
}

.services-problem-body p:last-child {
  margin-bottom: 0;
}

.services-problem-lead {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate);
  margin-bottom: 20px;
}

.problem-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--sand);
}

.problem-item:last-child {
  border-bottom: none;
}

.problem-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(212, 86, 58, 0.08);
  color: var(--signal-red);
  flex-shrink: 0;
}

.problem-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--midnight);
}

/* ── What I Build ── */
.services-build {
  padding: 64px 0;
  background: var(--cloud);
}

.services-build .section-title {
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.service-card {
  background: var(--white);
  padding: 32px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--sand);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(10, 126, 140, 0.06);
  color: var(--teal);
  margin-bottom: 20px;
}

.service-title {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--midnight);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--slate);
  margin-bottom: 20px;
}

.service-includes {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--sand);
  padding-top: 16px;
}

.service-includes li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--deep-slate);
  line-height: 1.6;
  margin-bottom: 6px;
}

.service-includes li:last-child {
  margin-bottom: 0;
}

.service-includes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 1px;
}

/* ── How It Works (Process) ── */
.services-process {
  padding: 64px 0;
}

.services-process .section-title {
  margin-bottom: 40px;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.process-step {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--sand);
}

.process-step:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.process-number {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--teal);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 10px;
}

.process-title {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 700;
  color: var(--midnight);
  margin-bottom: 10px;
}

.process-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--slate);
  max-width: 520px;
}

/* ── Who It's For ── */
.services-for {
  padding: 64px 0;
  background: var(--cloud);
}

.services-for-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.services-for-body p {
  margin-bottom: 16px;
  color: var(--deep-slate);
  line-height: 1.75;
}

.services-for-body p:last-child {
  margin-bottom: 0;
}

.services-for-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.for-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--sand);
}

.for-item:last-child {
  border-bottom: none;
}

/* ── Academy Callout ── */
.services-academy {
  padding: 64px 0;
}

.services-academy-inner {
  max-width: 640px;
}

.services-academy-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--deep-slate);
  margin-bottom: 24px;
  margin-top: 20px;
}


/* ════════════════════════════════════════════════════════════
   BLOG PAGE
   ════════════════════════════════════════════════════════════ */

/* ── Blog Hero ── */
.blog-hero {
  padding: 80px 0 0;
  border-bottom: 1px solid var(--sand);
}

.blog-hero .section-inner {
  padding-bottom: 64px;
}

.blog-hero-heading {
  font-family: var(--sans);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  color: var(--midnight);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.blog-hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--slate);
  max-width: 540px;
}

/* ── Category Filters ── */
.blog-filters {
  padding: 24px 0;
  border-bottom: 1px solid var(--sand);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 90;
}

.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-chip {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate);
  background: transparent;
  border: 1px solid var(--sand);
  border-radius: 4px;
  padding: 8px 16px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.filter-chip:hover {
  color: var(--teal);
  border-color: var(--teal);
}

.filter-chip:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.filter-chip--active {
  color: var(--white);
  background: var(--teal);
  border-color: var(--teal);
}

.filter-chip--active:hover {
  color: var(--white);
  background: var(--teal-bright);
  border-color: var(--teal-bright);
}

/* ── Featured Article ── */
.blog-featured {
  padding: 56px 0;
  border-bottom: 1px solid var(--sand);
}

.featured-article {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.featured-article-image {
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.featured-article-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--midnight) 0%, #2a2a4a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.featured-article-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.4);
}

.featured-article-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.featured-article-date {
  font-size: 13px;
  color: var(--slate);
}

.featured-article-title {
  font-family: var(--sans);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--midnight);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  transition: color 0.2s ease;
}

.featured-article:hover .featured-article-title {
  color: var(--teal);
}

.featured-article-excerpt {
  font-size: 16px;
  line-height: 1.7;
  color: var(--deep-slate);
  margin-bottom: 24px;
  max-width: 560px;
}

.featured-article .link-arrow {
  display: inline-flex;
}

/* ── Blog Articles List ── */
.blog-articles {
  padding: 0 0 72px;
}

.blog-articles-list {
  border-top: 1px solid var(--sand);
}

/* Reuses .article-row, .article-tag, .article-title, etc. from homepage */

.blog-load-more {
  text-align: center;
  margin-top: 40px;
}


/* ════════════════════════════════════════════════════════════
   CONTACT PAGE
   ════════════════════════════════════════════════════════════ */

/* ── Contact Hero ── */
.contact-hero {
  padding: 80px 0 0;
  border-bottom: 1px solid var(--sand);
}

.contact-hero .section-inner {
  padding-bottom: 64px;
}

.contact-hero-heading {
  font-family: var(--sans);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  color: var(--midnight);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.contact-hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--slate);
  max-width: 560px;
}

/* ── Contact Content ── */
.contact-content {
  padding: 64px 0 72px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}

/* ── Contact Form ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  color: var(--midnight);
  background: var(--cloud);
  border: 1px solid var(--sand);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: border-color 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--slate);
  opacity: 0.6;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--teal);
}

.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-submit {
  align-self: flex-start;
  padding: 14px 32px;
}

/* ── Contact Info Sidebar ── */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-info-block {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--sand);
}

.contact-info-block:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.contact-info-label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 8px;
}

.contact-info-value {
  font-size: 16px;
  line-height: 1.6;
  color: var(--deep-slate);
}

a.contact-info-value {
  color: var(--teal);
  transition: color 0.2s ease;
}

a.contact-info-value:hover {
  color: var(--teal-bright);
}

.contact-expect-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-expect-list li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--deep-slate);
  padding-left: 20px;
  position: relative;
}

.contact-expect-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}


/* ════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (768px+)
   ════════════════════════════════════════════════════════════ */

@media (min-width: 768px) {

  .section-inner {
    padding-left: 48px;
    padding-right: 48px;
  }

  .site-nav .nav-inner {
    padding-left: 48px;
    padding-right: 48px;
  }

  .hide-mobile { display: inline; }
  .show-mobile { display: none; }

  /* Nav */
  .nav-links { display: flex; }
  .nav-toggle { display: none; }

  /* Hero */
  .hero-section { padding: 120px 0 100px; }

  /* Story — 12-col grid: 5fr photo + 7fr text */
  .story-grid {
    grid-template-columns: 5fr 7fr;
    gap: 48px;
    align-items: start;
  }

  .story-photo {
    justify-content: flex-start;
  }

  .photo-placeholder {
    max-width: none;
  }

  /* Ways — 3-column grid */
  .ways-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  /* Vertical border dividers */
  .way-card--bordered {
    border-left: 1px solid var(--sand);
    border-right: 1px solid var(--sand);
    padding-left: 40px;
    padding-right: 40px;
  }

  .way-card:first-child {
    padding-right: 40px;
  }

  .way-card:last-child {
    padding-left: 40px;
  }

  /* Newsletter — side by side */
  .newsletter-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .newsletter-text {
    flex: 1;
    max-width: 380px;
  }

  .newsletter-form-wrap {
    flex: 1;
    max-width: 400px;
  }

  /* Footer — row layout */
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  /* ── Podcast page — tablet ── */
  .podcast-hero {
    padding: 100px 0 0;
  }

  .podcast-hero .section-inner {
    padding-bottom: 80px;
  }

  /* Featured episode — side by side */
  .featured-grid {
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
  }

  .episode-cover-featured {
    justify-content: flex-start;
  }

  .cover-placeholder {
    max-width: none;
  }

  .cover-img {
    max-width: none;
  }

  /* Episode row — wider grid */
  .episode-row {
    grid-template-columns: 72px 1fr 48px;
    gap: 20px;
    padding: 24px 16px;
    margin: 0 -16px;
  }

  .cover-placeholder-sm {
    width: 72px;
    height: 72px;
  }

  .cover-img-sm {
    width: 72px;
    height: 72px;
  }

  .transcript-section {
    max-height: 600px;
  }

  /* ── Episode page — tablet ── */
  .ep-hero {
    padding: 100px 0 0;
  }

  .ep-hero .section-inner {
    padding-bottom: 80px;
  }

  /* ── About page — tablet ── */
  .about-hero {
    padding: 100px 0 0;
  }

  .about-hero .section-inner {
    padding-bottom: 80px;
  }

  .about-hero-grid {
    grid-template-columns: 5fr 7fr;
    gap: 48px;
    align-items: center;
  }

  .about-hero-photo {
    justify-content: flex-start;
  }

  .systems-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .about-why-inner {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
  }

  /* ── Services page — tablet ── */
  .services-hero {
    padding: 100px 0 0;
  }

  .services-hero .section-inner {
    padding-bottom: 80px;
  }

  .services-problem-inner {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .process-step {
    padding-bottom: 0;
    border-bottom: none;
  }

  .services-for-inner {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
  }

  /* ── Blog page — tablet ── */
  .blog-hero {
    padding: 100px 0 0;
  }

  .blog-hero .section-inner {
    padding-bottom: 80px;
  }

  .featured-article {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }

  /* ── Contact page — tablet ── */
  .contact-hero {
    padding: 100px 0 0;
  }

  .contact-hero .section-inner {
    padding-bottom: 80px;
  }

  .contact-grid {
    grid-template-columns: 7fr 5fr;
    gap: 64px;
    align-items: start;
  }
}


/* ════════════════════════════════════════════════════════════
   RESPONSIVE — DESKTOP (1024px+)
   ════════════════════════════════════════════════════════════ */

@media (min-width: 1024px) {

  .section-inner {
    padding-left: 96px;
    padding-right: 96px;
  }

  .site-nav .nav-inner {
    padding-left: 96px;
    padding-right: 96px;
  }

  /* Hero */
  .hero-section { padding: 140px 0 120px; }

  /* Story */
  .story-section { padding: 80px 0; }

  .story-grid { gap: 64px; }

  /* Ways */
  .ways-section { padding: 88px 0; }

  /* Articles */
  .articles-section { padding: 88px 0; }

  .article-tag { min-width: 100px; }

  /* CTA */
  .cta-section { padding: 96px 0; }

  .cta-glow {
    width: 800px;
    height: 500px;
  }

  /* ── Podcast page — desktop ── */
  .podcast-hero {
    padding: 120px 0 0;
  }

  .podcast-hero .section-inner {
    padding-bottom: 96px;
  }

  .featured-episode {
    padding: 80px 0;
  }

  .featured-grid {
    grid-template-columns: 320px 1fr;
    gap: 56px;
  }

  .episodes-section {
    padding: 88px 0;
  }

  .episode-row {
    grid-template-columns: 80px 1fr 48px;
    gap: 24px;
  }

  .cover-placeholder-sm {
    width: 80px;
    height: 80px;
  }

  .cover-img-sm {
    width: 80px;
    height: 80px;
  }

  .cover-ep-sm {
    font-size: 14px;
  }

  /* ── Episode page — desktop ── */
  .ep-hero {
    padding: 120px 0 0;
  }

  .ep-hero .section-inner {
    padding-bottom: 96px;
  }

  .ep-description {
    padding: 80px 0;
  }

  .ep-transcript-section {
    padding: 80px 0;
  }

  /* ── About page — desktop ── */
  .about-hero {
    padding: 120px 0 0;
  }

  .about-hero .section-inner {
    padding-bottom: 96px;
  }

  .about-hero-grid {
    gap: 64px;
  }

  .about-who {
    padding: 88px 0;
  }

  .about-whatido {
    padding: 88px 0;
  }

  .about-systems {
    padding: 88px 0;
  }

  .systems-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .about-why {
    padding: 88px 0;
  }

  .about-why-inner {
    gap: 80px;
  }

  .about-story {
    padding: 88px 0;
  }

  .about-academy {
    padding: 88px 0;
  }

  .about-personal {
    padding: 88px 0;
  }

  /* ── Services page — desktop ── */
  .services-hero {
    padding: 120px 0 0;
  }

  .services-hero .section-inner {
    padding-bottom: 96px;
  }

  .services-problem {
    padding: 88px 0;
  }

  .services-build {
    padding: 88px 0;
  }

  .services-process {
    padding: 88px 0;
  }

  .process-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }

  .services-for {
    padding: 88px 0;
  }

  .services-academy {
    padding: 88px 0;
  }

  /* ── Blog page — desktop ── */
  .blog-hero {
    padding: 120px 0 0;
  }

  .blog-hero .section-inner {
    padding-bottom: 96px;
  }

  .blog-featured {
    padding: 72px 0;
  }

  .featured-article {
    gap: 56px;
  }

  .blog-articles {
    padding: 0 0 88px;
  }

  /* ── Contact page — desktop ── */
  .contact-hero {
    padding: 120px 0 0;
  }

  .contact-hero .section-inner {
    padding-bottom: 96px;
  }

  .contact-content {
    padding: 88px 0;
  }

  .contact-grid {
    gap: 80px;
  }
}


/* ════════════════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (≤480px)
   ════════════════════════════════════════════════════════════ */

@media (max-width: 480px) {

  .hero-heading {
    font-size: 34px;
  }

  .hero-section {
    padding: 64px 0 56px;
  }

  .hero-form {
    flex-direction: column;
  }

  .hero-form input,
  .hero-form button {
    width: 100%;
  }

  .story-heading {
    font-size: 24px;
  }

  .section-title {
    font-size: 26px;
  }

  .cta-heading {
    font-size: 26px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-buttons .btn-teal,
  .cta-buttons .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .newsletter-form {
    flex-direction: column;
    max-width: none;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }

  .article-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .article-date {
    display: none;
  }

  .article-arrow {
    display: none;
  }

  /* ── Podcast page — small mobile ── */
  .podcast-hero {
    padding: 56px 0 0;
  }

  .podcast-hero-heading {
    font-size: 30px;
  }

  .podcast-platforms {
    flex-direction: column;
  }

  .platform-link {
    justify-content: center;
  }

  .featured-episode {
    padding: 48px 0;
  }

  .cover-placeholder {
    max-width: 240px;
  }

  .featured-title {
    font-size: 22px;
  }

  .player-controls {
    flex-wrap: wrap;
  }

  .player-track {
    order: -1;
    width: 100%;
    flex: none;
  }

  .player-volume-track,
  .player-volume-handle {
    display: none;
  }

  .player-info {
    padding-right: 0;
  }

  /* Episode row — stacked on small mobile */
  .episode-row {
    grid-template-columns: 56px 1fr;
    gap: 12px;
  }

  .cover-placeholder-sm {
    width: 56px;
    height: 56px;
  }

  .cover-img {
    max-width: 240px;
  }

  .cover-img-sm {
    width: 56px;
    height: 56px;
  }

  .episode-row-play {
    display: none;
  }

  .episode-row-desc {
    -webkit-line-clamp: 1;
  }

  .transcript-section {
    padding: 16px;
    max-height: 400px;
  }

  /* ── Episode page — small mobile ── */
  .ep-hero {
    padding: 56px 0 0;
  }

  .ep-title {
    font-size: 24px;
  }

  .ep-description {
    padding: 48px 0;
  }

  .ep-transcript-section {
    padding: 48px 0;
  }

  .ep-transcript {
    max-height: 400px;
  }

  .ep-nav-grid {
    flex-direction: column;
  }

  .ep-nav-link {
    max-width: none;
  }

  .ep-nav-link--next {
    text-align: left;
  }

  .ep-nav-link--next .ep-nav-direction {
    justify-content: flex-start;
  }

  /* ── About page — small mobile ── */
  .about-hero {
    padding: 56px 0 0;
  }

  .about-hero-heading {
    font-size: 24px;
  }

  .about-who {
    padding: 56px 0;
  }

  .about-whatido {
    padding: 56px 0;
  }

  .about-systems {
    padding: 56px 0;
  }

  .system-card {
    padding: 24px 20px;
  }

  .about-why {
    padding: 56px 0;
  }

  .about-story {
    padding: 56px 0;
  }

  .about-academy {
    padding: 56px 0;
  }

  .about-personal {
    padding: 56px 0;
  }

  /* ── Services page — small mobile ── */
  .services-hero {
    padding: 56px 0 0;
  }

  .services-hero-heading {
    font-size: 28px;
  }

  .services-build {
    padding: 56px 0;
  }

  .service-card {
    padding: 24px 20px;
  }

  .services-problem {
    padding: 56px 0;
  }

  .services-process {
    padding: 56px 0;
  }

  .services-for {
    padding: 56px 0;
  }

  .services-academy {
    padding: 56px 0;
  }

  /* ── Blog page — small mobile ── */
  .blog-hero {
    padding: 56px 0 0;
  }

  .blog-hero-heading {
    font-size: 28px;
  }

  .blog-featured {
    padding: 40px 0;
  }

  .featured-article-title {
    font-size: 22px;
  }

  .filter-bar {
    gap: 6px;
  }

  .filter-chip {
    padding: 6px 12px;
    font-size: 11px;
  }

  /* ── Contact page — small mobile ── */
  .contact-hero {
    padding: 56px 0 0;
  }

  .contact-hero-heading {
    font-size: 28px;
  }

  .contact-content {
    padding: 48px 0 56px;
  }

  .contact-submit {
    align-self: stretch;
  }
}

/* ── BLOG SINGLE POST ──────────────────────────────────────── */
.single-post-hero {
  padding: 100px 0 48px;
  border-bottom: 1px solid var(--sand);
}
.single-post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.single-post-meta .post-category {
  color: var(--teal);
}
.single-post-meta .meta-dot {
  opacity: 0.4;
}
.single-post-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.single-post-excerpt {
  font-size: 18px;
  color: var(--slate);
  line-height: 1.6;
  max-width: 680px;
}
.single-post-cover {
  margin: 40px 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.single-post-cover img {
  width: 100%;
  height: auto;
}
.single-post-content {
  padding: 48px 0 64px;
  max-width: 720px;
  margin: 0 auto;
}
.single-post-content h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 48px 0 16px;
}
.single-post-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 36px 0 12px;
}
.single-post-content p {
  margin-bottom: 20px;
  line-height: 1.8;
}
.single-post-content ul,
.single-post-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}
.single-post-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}
.single-post-content a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.single-post-content a:hover {
  color: var(--teal-bright);
}
.single-post-content blockquote {
  border-left: 3px solid var(--teal);
  padding-left: 20px;
  margin: 32px 0;
  color: var(--slate);
  font-style: italic;
}
.single-post-content img {
  border-radius: var(--radius-sm);
  margin: 32px 0;
}
.single-post-content code {
  font-family: var(--mono);
  font-size: 14px;
  background: var(--cloud);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}
.single-post-content pre {
  background: var(--midnight);
  color: var(--white);
  padding: 24px;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  margin: 32px 0;
}
.single-post-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}

/* Post navigation */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 48px 0;
  border-top: 1px solid var(--sand);
}
.post-nav-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.post-nav-item--next {
  text-align: right;
}
.post-nav-label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.post-nav-title {
  font-weight: 600;
  color: var(--teal);
}
.post-nav-title:hover {
  color: var(--teal-bright);
}

@media (max-width: 480px) {
  .single-post-hero { padding: 80px 0 32px; }
  .single-post-content { padding: 32px 0 48px; }
  .post-nav { grid-template-columns: 1fr; }
}
