/* ==========================================================================
   Emily Reagan PR: blog and podcast pages (loaded after styles.css)
   ========================================================================== */

/* ---------- Breadcrumbs ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 26px; font-family: var(--f-label); font-weight: 600; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .45; }
.crumbs a { color: var(--deep-teal); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Archive pages ---------- */
.arch-hero { padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); }
.arch-hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); max-width: 13em; }
.arch-hero .lead { margin-top: 24px; }
.start-here { margin: 18px 0 0; }
.start-here .label { color: var(--teal); margin-right: 8px; }
.start-here a { color: var(--deep-teal); text-underline-offset: 3px; }
.arch-list { padding-bottom: clamp(72px, 9vw, 120px); }
.arch-sub { font-size: clamp(1.9rem, 3vw, 2.5rem); margin: clamp(64px, 8vw, 96px) 0 30px; }

.feature-card {
  position: relative;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center;
  padding: 14px;
  border-radius: var(--r-lg);
  border: 2px solid transparent;
  background: linear-gradient(var(--paper), var(--paper)) padding-box, var(--grad) border-box;
  transition: box-shadow .3s ease;
}
.feature-card:hover { box-shadow: 0 30px 60px -40px rgba(26, 26, 48, .5); }
.feature-card-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 22px; }
.feature-card-ep .feature-card-img img { aspect-ratio: 1080 / 520; }
.feature-card-copy { padding: 8px clamp(8px, 2vw, 28px) 8px 0; }
.feature-card .label { color: var(--teal); margin: 0 0 14px; }
.feature-card h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1.04; margin-bottom: 16px; }
.feature-card p { color: var(--ink-soft); }
.feature-card .more-link { margin-top: 16px; text-decoration: none; }
.feature-card h2 a, .post-card h3 a { text-decoration: none; }
.feature-card h2 a::after, .post-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.feature-card:hover h2 a, .post-card:hover h3 a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4vw, 52px) clamp(18px, 2vw, 28px); }
.post-card { position: relative; display: flex; flex-direction: column; gap: 10px; border-radius: var(--r); }
.post-card-img { display: block; padding: 7px; margin-bottom: 8px; border: 1.5px solid var(--line); border-radius: var(--r); transition: border-color .3s ease; }
.post-card-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 13px; }
.ep-card .post-card-img img { aspect-ratio: 1080 / 520; }
.post-card:hover .post-card-img { border-color: var(--teal); }
.post-card .label { color: var(--teal); margin: 0; }
.post-card h3 { font-size: 1.36rem; line-height: 1.2; text-wrap: pretty; }
.card-meta { margin: 0; font-size: .86em; color: var(--ink-soft); }
.sep { display: inline-block; margin: 0 .3em; color: var(--teal); }
.post-card .card-meta { margin-top: auto; }

.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: clamp(52px, 6vw, 76px); }

.arch-cross { padding-bottom: clamp(72px, 9vw, 120px); }
.cross-card {
  position: relative;
  display: grid; gap: 12px; justify-items: start;
  padding: clamp(34px, 5vw, 60px);
  border-radius: var(--r-lg);
  border: 3px solid transparent;
  background: linear-gradient(var(--midnight), var(--midnight)) padding-box, var(--grad) border-box;
  color: rgba(246, 246, 238, .84);
  text-decoration: none;
}
.cross-card::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(246, 246, 238, .2); border-radius: 23px; pointer-events: none; }
.cross-card .label { color: var(--sky); }
.cross-title { font-family: var(--f-display); font-weight: 600; font-size: clamp(2rem, 3.8vw, 3.2rem); line-height: 1; letter-spacing: -.03em; color: var(--cream); text-wrap: balance; }
.cross-text { max-width: 34em; }
.cross-card .more-link { color: var(--cream); }
.cross-card:hover .more-link svg { transform: translateX(4px); }

.guest-box {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-lg);
  border: 2px solid transparent;
  background: linear-gradient(var(--paper), var(--paper)) padding-box, var(--grad) border-box;
}
.guest-box .label { color: var(--teal); margin: 0; }
.guest-title { font-family: var(--f-title); font-size: clamp(1.4rem, 2.3vw, 1.95rem); line-height: 1.25; margin: 10px 0 10px; max-width: 24em; text-wrap: balance; }
.guest-box p:last-child { margin-bottom: 0; color: var(--ink-soft); }
.guest-box .btn { flex: none; }

/* ---------- Podcast hero: phone mock-up on a gradient stage ---------- */
.pod-hero { padding: clamp(48px, 6vw, 84px) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.pod-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.pod-hero h1 { font-size: clamp(2.7rem, 5.6vw, 4.8rem); }
.pod-hero .lead { margin-top: 24px; }
.listen-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 30px; }
.listen-row .label { margin-right: 6px; }
.btn.listen-btn { gap: 10px; }
.btn.listen-btn svg { width: 20px; height: 20px; }
.btn.listen-btn:hover svg { transform: none; }
.pod-stats { display: flex; flex-wrap: wrap; gap: 18px 44px; margin: 36px 0 0; }
.pod-stats div { display: flex; flex-direction: column-reverse; }
.pod-stats dd { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1; letter-spacing: -.02em; }
.pod-stats dt { margin-top: 8px; font-family: var(--f-label); font-weight: 600; font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.stars { color: var(--gold); letter-spacing: .06em; font-family: var(--f-body); }
.pod-stats .stars { font-size: .5em; }

.pod-stage { position: relative; display: grid; align-items: center; justify-items: end; padding: clamp(36px, 5vw, 60px) 0; }
.pod-stage::before, .pod-stage::after { content: ""; position: absolute; inset: 4% 6% 4% 14%; border-radius: 40px; }
.pod-stage::before { background: var(--grad); transform: rotate(-4deg); }
.pod-stage::after { border: 1.5px solid var(--midnight); transform: rotate(3deg); }
.phone {
  position: relative; z-index: 1; display: block;
  width: min(300px, 70%);
  margin-right: 5%;
  padding: 11px;
  border-radius: 46px;
  background: var(--midnight);
  box-shadow: 0 44px 70px -34px rgba(26, 26, 48, .65);
  color: var(--ink); text-decoration: none;
  transition: transform .3s ease;
}
.phone:hover { transform: translateY(-4px); }
.phone-screen { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 40px 20px 24px; border-radius: 36px; background: var(--paper); }
.phone-screen::before { content: ""; position: absolute; top: 13px; left: 50%; width: 78px; height: 20px; margin-left: -39px; border-radius: 12px; background: var(--midnight); }
.phone-art { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; box-shadow: 0 16px 30px -18px rgba(26, 26, 48, .55); }
.phone-kicker { margin-top: 8px; font-family: var(--f-label); font-weight: 600; font-size: .56rem; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); }
.phone-title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--f-title); font-size: 1.08rem; line-height: 1.22; }
.phone-bar { position: relative; height: 4px; margin-top: 6px; border-radius: 4px; background: var(--cream-2); }
.phone-bar span { position: absolute; left: 0; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--deep-teal); }
.phone-times { display: flex; justify-content: space-between; font-size: .7rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.phone-controls { display: flex; align-items: center; justify-content: center; gap: 30px; color: var(--midnight); }
.phone-controls > svg { width: 24px; height: 24px; }
.phone-play { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--deep-teal); color: var(--cream); transition: background-color .25s ease; }
.phone-play svg { width: 24px; height: 24px; margin-left: 3px; }
.phone:hover .phone-play { background: var(--deep-blue); }
.review-float {
  position: absolute; z-index: 2; left: 0; bottom: 12%;
  width: min(232px, 44%);
  margin: 0; padding: 16px 18px;
  border-radius: 18px;
  background: var(--paper);
  border: 1.5px solid var(--midnight);
  box-shadow: 0 24px 50px -24px rgba(26, 26, 48, .45);
}
.review-float blockquote { margin: 6px 0 8px; font-family: var(--f-title); font-size: .98rem; line-height: 1.35; }
.review-float blockquote p { margin: 0; }
.review-float figcaption { font-size: .76rem; color: var(--ink-soft); }
.review-stars { margin: 0; color: var(--gold); font-size: .9rem; line-height: 1; }

/* Listener reviews */
.pod-latest { padding-bottom: clamp(64px, 8vw, 104px); }
.pod-reviews { background: var(--deep-teal); color: rgba(246, 246, 238, .86); padding: clamp(72px, 9vw, 120px) 0; }
.pod-reviews-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: 40px; }
.pod-reviews .eyebrow { color: var(--mint); }
.pod-reviews h2 { color: var(--cream); }
.pod-reviews .hl { background-size: 100% 100%; background-position: 0 0; padding: .04em .2em .06em; }
.rating-badge { display: grid; grid-template-columns: auto auto; align-items: center; gap: 4px 12px; padding: 16px 22px; border-radius: var(--r); background: rgba(246, 246, 238, .08); box-shadow: inset 0 0 0 1px rgba(246, 246, 238, .28); color: var(--cream); text-decoration: none; transition: background-color .25s ease; }
.rating-badge:hover { background: rgba(246, 246, 238, .14); }
.rating-badge strong { font-family: var(--f-display); font-size: 2.6rem; line-height: 1; }
.rating-badge .stars { font-size: 1.15rem; }
.rating-badge span:last-child { grid-column: 1 / -1; font-size: .8rem; color: rgba(246, 246, 238, .78); }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.review { position: relative; display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 28px 26px; border-radius: var(--r); background: var(--cream); color: var(--ink); }
.review::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--teal); opacity: .35; border-radius: 15px; pointer-events: none; }
.review blockquote { flex: 1; margin: 0; }
.review-title { margin: 0 0 8px; font-family: var(--f-title); font-size: 1.3rem; line-height: 1.2; }
.review blockquote p:last-child { margin: 0; font-size: .95em; color: var(--ink-soft); }
.review figcaption { font-family: var(--f-label); font-weight: 600; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--deep-teal); }
.review figcaption span { color: var(--ink-soft); }

/* ---------- Article and episode heroes ---------- */
.post-hero, .ep-hero { padding-top: clamp(48px, 6vw, 80px); }
.post-hero-wrap { max-width: calc(920px + var(--gutter) * 2); }
.post-hero h1 { font-size: clamp(2.4rem, 5vw, 4.1rem); line-height: 1.02; }
.post-dek { margin: 22px 0 0; max-width: 40em; font-size: 1.16em; color: var(--ink-soft); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 28px; font-size: .9em; color: var(--ink-soft); }
.post-meta strong { color: var(--ink); }
.post-meta-photo { width: 44px; height: 44px; border-radius: 50%; outline: 1.5px solid var(--orchid); outline-offset: 2px; }
.post-meta span + span::before { content: "·"; margin-right: 16px; color: var(--teal); }
.post-meta .sep { margin: 0 .5em; }
.post-cover-wrap { max-width: calc(1100px + var(--gutter) * 2); margin-top: clamp(36px, 5vw, 56px); }
.post-cover { margin: 0; padding: 12px; border-radius: var(--r-lg); border: 2px solid transparent; background: linear-gradient(var(--cream), var(--cream)) padding-box, var(--grad) border-box; }
.post-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 22px; }

.ep-hero-wrap { max-width: calc(1100px + var(--gutter) * 2); }
.ep-hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.9rem); line-height: 1.03; max-width: 17em; }
.ep-meta { margin: 18px 0 0; color: var(--ink-soft); }
.player-card { margin-top: 32px; padding: 10px; border-radius: 24px; border: 2px solid transparent; background: linear-gradient(var(--paper), var(--paper)) padding-box, var(--grad) border-box; }
.player-card iframe { display: block; width: 100%; height: 200px; border: 0; border-radius: 14px; }
.ep-hero .listen-row { margin-top: 20px; }
.ep-hero .listen-row .label { color: var(--teal); }

/* ---------- Article layout ---------- */
.post-layout { display: grid; grid-template-columns: 230px minmax(0, 720px); justify-content: center; gap: clamp(40px, 6vw, 88px); max-width: calc(1100px + var(--gutter) * 2); padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(72px, 9vw, 112px); }
.post-toc { position: sticky; top: 112px; max-height: calc(100vh - 136px); overflow-y: auto; padding-right: 8px; }
.post-toc .label { color: var(--teal); margin-bottom: 16px; }
.post-toc ol { display: grid; gap: 11px; }
.post-toc a { display: block; font-size: .84em; line-height: 1.35; color: var(--ink-soft); text-decoration: none; }
.post-toc a:hover { color: var(--deep-teal); text-decoration: underline; text-underline-offset: 3px; }
.toc-mobile { display: none; }
.post-layout-single { grid-template-columns: minmax(0, 720px); }

.ep-layout { display: grid; grid-template-columns: minmax(0, 720px) 300px; justify-content: center; gap: clamp(40px, 6vw, 80px); max-width: calc(1100px + var(--gutter) * 2); padding-top: clamp(48px, 6vw, 72px); padding-bottom: clamp(72px, 9vw, 112px); }
.ep-aside { position: sticky; top: 112px; align-self: start; display: grid; gap: 18px; align-content: start; }

/* Collapsible boxes: mobile contents list and the transcript */
.toc-mobile, .transcript { border-radius: var(--r); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); padding: 0 24px; transition: box-shadow .2s ease; }
.toc-mobile[open], .transcript[open] { box-shadow: inset 0 0 0 1.5px var(--teal); }
.toc-mobile summary, .transcript summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 20px 0;
  font-family: var(--f-title); font-size: 1.22rem; line-height: 1.25;
}
.toc-mobile summary::-webkit-details-marker, .transcript summary::-webkit-details-marker { display: none; }
.toc-mobile summary::after, .transcript summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line);
  background:
    linear-gradient(var(--midnight), var(--midnight)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--midnight), var(--midnight)) center / 1.5px 12px no-repeat;
  transition: transform .3s ease, background-color .3s ease;
}
.toc-mobile[open] summary::after, .transcript[open] summary::after { transform: rotate(45deg); background-color: var(--orchid); }
.toc-mobile ol { display: grid; gap: 10px; padding-bottom: 22px; }
.toc-mobile a { font-size: .92em; color: var(--deep-teal); text-underline-offset: 3px; }
.transcript { margin-top: clamp(40px, 5vw, 56px); }
.transcript-body { padding-bottom: 24px; font-size: .94em; color: var(--ink-soft); }
.transcript-body strong { display: block; margin-bottom: 2px; font-family: var(--f-label); font-weight: 600; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--deep-teal); }
.transcript-note { font-size: .9em; }

/* ---------- Article text ---------- */
.post-body { font-size: 1.04em; }
.post-body > :first-child { margin-top: 0; }
.post-body h2 { font-size: clamp(2.1rem, 3.7vw, 2.85rem); line-height: 1.03; margin: 2.2em 0 .6em; scroll-margin-top: 110px; }
.post-body h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.42rem, 2.1vw, 1.66rem); line-height: 1.12; letter-spacing: -.015em; margin: 1.9em 0 .55em; }
.post-body h2 + p, .post-body h3 + p, .post-body h2 + ul, .post-body h3 + ul { margin-top: 0; }
.post-body h4, .post-body h5 { font-family: var(--f-label); font-weight: 600; font-size: .8rem; line-height: 1.45; letter-spacing: .16em; text-transform: uppercase; color: var(--deep-teal); margin: 1.9em 0 .7em; }
.post-body h2 + h3, .post-body h3 + h4 { margin-top: .9em; }
.post-body a:not(.btn) { color: var(--deep-teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.post-body a:not(.btn):hover { color: var(--deep-blue); text-decoration-thickness: 2px; }
.post-body ul, .post-body ol { display: grid; gap: 10px; margin: 0 0 1.4em; }
.post-body ul > li { position: relative; padding-left: 26px; }
.post-body ul > li::before { content: ""; position: absolute; left: 4px; top: .66em; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.post-body ol { counter-reset: ol; }
.post-body ol > li { position: relative; padding-left: 42px; counter-increment: ol; }
.post-body ol > li::before { content: counter(ol); position: absolute; left: 0; top: .1em; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--teal); font-family: var(--f-label); font-weight: 600; font-size: .68rem; color: var(--deep-teal); }
.post-body ul.ticks > li { padding-left: 36px; }
.post-body ul.ticks > li::before {
  left: 0; top: .2em; width: 24px; height: 24px;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7' fill='none' stroke='%23004f53' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.post-body blockquote {
  margin: 1.9em 0; padding: clamp(24px, 3vw, 32px) clamp(24px, 3.4vw, 36px);
  border-radius: var(--r);
  border: 2px solid transparent;
  background: linear-gradient(var(--paper), var(--paper)) padding-box, var(--grad) border-box;
  font-family: var(--f-title); font-size: 1.32rem; line-height: 1.4;
}
.post-body blockquote p:last-child { margin: 0; }
.post-body blockquote strong { font-weight: 400; color: var(--deep-teal); }
.post-fig { margin: 2.1em 0; }
.post-fig img { width: 100%; border-radius: var(--r); }
.post-fig figcaption { margin-top: 10px; font-size: .84em; color: var(--ink-soft); }
.post-disclosure { padding: 14px 18px; border-radius: var(--r-sm); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-soft); font-size: .8em; color: var(--ink-soft); }
.post-btn { margin: 1.7em 0; }
.post-signer { font-family: var(--f-title); font-size: 1.3rem; color: var(--deep-teal); }

.post-body ul.further { gap: 10px; }
.post-body ul.further > li { padding: 0; }
.post-body ul.further > li::before { display: none; }
.post-body ul.further a {
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 16px 20px;
  border-radius: var(--r-sm);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  font-family: var(--f-title); font-size: 1.1rem; line-height: 1.3;
  color: var(--ink); text-decoration: none;
  transition: box-shadow .2s ease;
}
.post-body ul.further a::after {
  content: ""; flex: none; width: 18px; height: 18px; background: var(--teal);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") center / contain no-repeat;
}
.post-body ul.further a:hover { box-shadow: inset 0 0 0 1.5px var(--teal); color: var(--ink); }

/* Brand boxes that replace the old promo banners */
.cta-box {
  margin: 2.4em 0; padding: clamp(28px, 4vw, 44px);
  border-radius: var(--r-lg);
  border: 2px solid transparent;
  background: linear-gradient(var(--paper), var(--paper)) padding-box, var(--grad) border-box;
}
.cta-logo { width: auto; height: 50px; margin-bottom: 20px; }
.post-body .cta-box .cta-title, .cta-box .cta-title { margin: 0 0 12px; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.08; letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
.cta-box p { color: var(--ink-soft); }
.cta-box .btn { margin-top: 4px; }

/* Masterclass-style promo: image + title + text */
.promo { display: grid; grid-template-columns: 230px 1fr; gap: 24px; align-items: center; margin: 2.2em 0; padding: 14px; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--paper); }
.promo-img img { width: 100%; border-radius: 12px; }
.post-body .promo h3 { margin: 0 0 8px; font-size: 1.28rem; line-height: 1.2; }
.post-body .promo h3 a { color: var(--ink); text-decoration: none; }
.post-body .promo h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.promo p { margin: 0; font-size: .9em; color: var(--ink-soft); }

/* Click-to-play video */
.video { margin: 2.1em 0; }
.video-link, .video iframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r); overflow: hidden; background: var(--midnight); }
.video-link img { width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; left: 50%; top: 50%; width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%; background: var(--midnight); box-shadow: 0 0 0 6px rgba(246, 246, 238, .35); transition: background-color .25s ease, transform .25s ease; }
.video-play::before { content: ""; position: absolute; left: 31px; top: 25px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent var(--cream); }
.video-link:hover .video-play { background: var(--deep-teal); transform: scale(1.06); }
.video figcaption { margin-top: 12px; font-size: .92em; }
.video figcaption .label { color: var(--teal); margin-right: 8px; }

/* ---------- Article end: author and ways to work together ---------- */
.author-box {
  position: relative;
  display: grid; grid-template-columns: 112px 1fr; gap: 28px; align-items: start;
  margin-top: clamp(48px, 6vw, 72px);
  padding: clamp(26px, 3.4vw, 38px);
  border: 1.5px solid var(--deep-blue);
  border-radius: var(--r-lg);
  background: var(--paper);
}
.author-box::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--deep-blue); opacity: .3; border-radius: 26px; pointer-events: none; }
.author-photo { width: 112px; height: 112px; border-radius: 50%; }
.author-box .label { color: var(--teal); margin: 0 0 6px; }
.author-name { margin: 0 0 14px; font-family: var(--f-display); font-weight: 600; font-size: 1.9rem; line-height: 1; letter-spacing: -.02em; }
.author-box p:not(.label):not(.author-name) { font-size: .94em; color: var(--ink-soft); }
.author-box p:last-child { margin-bottom: 0; }
.author-box a { position: relative; color: var(--deep-teal); text-underline-offset: 3px; }

.ways { margin-top: clamp(48px, 6vw, 72px); }
.ways h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); margin-bottom: 24px; }
.ways-list { display: grid; gap: 14px; }
.ways-list li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 24px 26px; border-radius: var(--r); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-soft); }
.ways-num { font-family: var(--f-display); font-weight: 600; font-size: 2rem; line-height: 1; color: var(--teal); }
.ways-list p { margin: 0; font-size: .95em; color: var(--ink-soft); }
.ways-list a { color: var(--deep-teal); text-underline-offset: 3px; }

/* ---------- Episode sidebar ---------- */
.show-card { padding: 24px; border-radius: var(--r); background: var(--midnight); color: rgba(246, 246, 238, .84); }
.show-card-art { width: 120px; border-radius: 14px; margin-bottom: 18px; }
.show-card .label { color: var(--sky); margin: 0 0 6px; }
.show-card-name { margin-bottom: 10px; font-family: var(--f-title); font-size: 1.3rem; line-height: 1.2; color: var(--cream); }
.show-card p:not(.label):not(.show-card-name) { font-size: .9em; }
.show-card-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 16px; }
.show-link { font-size: .88em; color: var(--mint); text-underline-offset: 3px; }
.show-link:hover { color: var(--cream); }
.show-card .more-link { color: var(--cream); text-decoration: none; }
.guest-box-sm { display: block; padding: 22px 24px; border-radius: var(--r); }
.guest-box-sm p:not(.label) { font-size: .92em; color: var(--ink-soft); margin: 8px 0 4px; }
.guest-box-sm .more-link { text-decoration: none; }

/* ---------- Keep reading ---------- */
.more-posts { background: var(--paper); padding: clamp(72px, 9vw, 112px) 0; }
.more-posts-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 34px; }
.more-posts-head h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.more-posts-head .more-link { margin: 0 0 6px; text-decoration: none; }
.more-posts .post-card-img { background: var(--cream); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .post-layout, .ep-layout { grid-template-columns: minmax(0, 720px); }
  .post-toc-side { display: none; }
  .toc-mobile { display: block; margin-bottom: 36px; }
  .ep-aside { position: static; grid-template-columns: 1fr 1fr; align-self: auto; }
  .ep-jump { display: none; }
}
@media (max-width: 960px) {
  .feature-card { grid-template-columns: 1fr; gap: 20px; }
  .feature-card-copy { padding: 0 12px 14px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pod-hero-grid { grid-template-columns: 1fr; }
  .pod-art { justify-self: start; max-width: 240px; }
  .guest-box { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 680px) {
  .card-grid { grid-template-columns: 1fr; }
  .ep-aside { grid-template-columns: 1fr; }
  .author-box { grid-template-columns: 1fr; gap: 18px; }
  .author-photo { width: 88px; height: 88px; }
  .ways-list li { grid-template-columns: 1fr; gap: 8px; padding: 22px; }
  .promo { grid-template-columns: 1fr; }
  .post-meta { display: grid; grid-template-columns: auto 1fr; gap: 0 14px; align-items: center; }
  .post-meta-photo { grid-row: span 2; }
  .post-meta span + span::before { content: none; }
  .pager .btn, .guest-box .btn, .cta-box .btn, .post-btn .btn { width: 100%; }
  .listen-row .label { width: 100%; }
  .more-posts-head { flex-direction: column; align-items: flex-start; }
  .toc-mobile, .transcript { padding: 0 18px; }
  .post-cover { padding: 8px; }
  .post-cover img { border-radius: 16px; }
}

/* ==========================================================================
   Round 2: episode sidebar, About, Media, Tools
   ========================================================================== */

/* ---------- Episode: guest and sidebar ---------- */
.ep-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.ep-guest { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-soft); }
.ep-guest strong { color: var(--ink); }
.ep-guest-photo { width: 44px; height: 44px; border-radius: 50%; outline: 1.5px solid var(--orchid); outline-offset: 2px; }
.player-inline { margin: 2em 0; }
.guest-card { position: relative; padding: 26px 24px; border-radius: var(--r); background: var(--paper); border: 1.5px solid var(--deep-blue); }
.guest-card::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--deep-blue); opacity: .3; border-radius: 14px; pointer-events: none; }
.guest-card-photo { width: 96px; height: 96px; margin-bottom: 16px; border-radius: 50%; outline: 2px solid var(--orchid); outline-offset: 3px; }
.guest-card .label { color: var(--teal); margin: 0 0 6px; }
.guest-card-name { margin: 0 0 8px; font-family: var(--f-display); font-weight: 600; font-size: 1.7rem; line-height: 1.05; letter-spacing: -.02em; }
.guest-card-role { margin: 0; font-size: .9em; color: var(--ink-soft); }
.guest-card-links { position: relative; display: grid; gap: 6px; margin-top: 14px; }
.guest-card-links a { font-size: .9em; color: var(--deep-teal); text-underline-offset: 3px; }
.ep-jump { padding: 22px 24px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
.ep-jump .label { color: var(--teal); margin: 0 0 12px; }
.ep-jump ul { display: grid; gap: 8px; }
.ep-jump a { font-size: .94em; color: var(--ink); text-decoration: none; }
.ep-jump a:hover { color: var(--deep-teal); text-decoration: underline; text-underline-offset: 4px; }
.follow-card { padding: 24px; border-radius: var(--r); background: var(--midnight); color: rgba(246, 246, 238, .84); }
.follow-card .label { color: var(--sky); margin: 0 0 6px; }
.follow-title { margin: 0 0 16px; font-family: var(--f-title); font-size: 1.35rem; color: var(--cream); }
.follow-links { display: grid; gap: 8px; }
.follow-links .btn { justify-content: flex-start; width: 100%; }
.follow-meta { margin: 14px 0 10px; font-size: .84em; }
.follow-card .more-link { color: var(--cream); text-decoration: none; }

/* ---------- About and Media heroes ---------- */
.about-hero, .media-hero { padding: clamp(48px, 6vw, 84px) 0 clamp(48px, 6vw, 72px); }
.about-hero-grid, .media-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.about-hero h1, .media-hero h1 { font-size: clamp(2.7rem, 5.4vw, 4.6rem); }
.about-hero .lead, .media-hero .lead { margin-top: 24px; }
.about-photo, .media-photo { position: relative; justify-self: end; width: 100%; max-width: 460px; margin: 0; padding: 12px; border: 1.5px solid var(--teal); border-radius: 30px; }
.about-photo::before, .media-photo::before { content: ""; position: absolute; inset: 5px; border: 1px solid var(--teal); opacity: .45; border-radius: 25px; pointer-events: none; }
.about-photo img, .media-photo img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; }
.media-photo img { object-position: 40% 20%; }
.about-stats, .media-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: clamp(48px, 6vw, 72px) 0 0; }
.media-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 36px; }
.about-stats div, .media-stats div { display: flex; flex-direction: column-reverse; padding: 22px 22px 20px; border-radius: var(--r); border: 2px solid transparent; background: linear-gradient(var(--paper), var(--paper)) padding-box, var(--grad) border-box; }
.about-stats dd, .media-stats dd { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1; letter-spacing: -.02em; }
.about-stats dt, .media-stats dt { margin-top: 8px; font-size: .86em; line-height: 1.35; color: var(--ink-soft); }

/* ---------- About: story, proof, background, CTA ---------- */
.about-story { background: var(--paper); }
.about-story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.about-story-head { position: sticky; top: 120px; }
.about-story-text p { color: var(--ink-soft); }
.about-story-text p:first-child { font-size: 1.12em; color: var(--ink); }
.proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.proof { display: flex; flex-direction: column; gap: 10px; padding: 28px 26px; border-radius: var(--r); background: var(--paper); border: 1.5px solid var(--line); }
.proof .label { margin: 0; color: var(--teal); }
.proof p { margin: 0; }
.proof-feature { border: 2px solid transparent; background: linear-gradient(var(--midnight), var(--midnight)) padding-box, var(--grad) border-box; color: rgba(246, 246, 238, .86); }
.proof-feature .label { color: var(--sky); }
.proof-feature p:not(.label):not(.proof-link) { font-family: var(--f-title); font-size: 1.28rem; line-height: 1.3; color: var(--cream); }
.proof-link { display: flex; align-items: center; gap: 8px; margin-top: auto !important; padding-top: 8px; font-family: var(--f-label); font-weight: 600; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; }
.proof-link a { color: var(--cream); text-underline-offset: 4px; }
.proof-link svg { width: 16px; height: 16px; }
.about-creds { background: var(--paper); }
.creds-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.creds-head p:not(.eyebrow) { margin-top: 18px; color: var(--ink-soft); }
.cred-card { position: relative; padding: 28px 26px; border-radius: var(--r); background: var(--cream); border: 1.5px solid var(--deep-blue); }
.cred-card::before, .kit-card::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--deep-blue); opacity: .3; border-radius: 14px; pointer-events: none; }
.cred-card h3, .kit-card h3 { margin-bottom: 14px; }
.cred-list { display: grid; gap: 10px; }
.cred-list li { position: relative; padding-left: 32px; }
.cred-list li::before {
  content: ""; position: absolute; left: 0; top: .18em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7' fill='none' stroke='%23004f53' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.about-seen { padding: clamp(44px, 5vw, 68px) 0; }
.about-seen-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.about-seen .label { color: var(--teal); }
.about-seen .more-link { text-decoration: none; }
.logo-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px clamp(28px, 4vw, 52px); }
.logo-grid img { height: calc(var(--h, 40px) * .82); width: auto; max-width: 130px; object-fit: contain; opacity: .9; }
.about-cta { background: linear-gradient(135deg, #004f53 0%, #0a6a72 32%, #2b4187 100%); color: rgba(246, 246, 238, .86); }
.about-cta .eyebrow { color: var(--mint); }
.about-cta h2 { color: var(--cream); }
.about-cta .hl { background-size: 100% 100%; background-position: 0 0; padding: .04em .2em .06em; }
.offer-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 920px; margin: 0 auto; }
.offer-card { display: flex; flex-direction: column; gap: 12px; padding: 32px 30px; border-radius: var(--r); border: 2px solid transparent; background: linear-gradient(var(--cream), var(--cream)) padding-box, var(--grad) border-box; color: var(--ink-soft); text-decoration: none; transition: transform .3s ease, box-shadow .3s ease; }
.offer-card:hover { box-shadow: 0 26px 50px -30px rgba(0, 0, 0, .55); }
.offer-card:hover { transform: translateY(-4px); }
.offer-card .label { color: var(--teal); }
.offer-card-title { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.8rem, 2.8vw, 2.3rem); line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.offer-card .more-link { margin-top: auto; color: var(--ink); }
.offer-card:hover .more-link svg { transform: translateX(4px); }
.about-cta-btn { margin: 36px 0 0; text-align: center; }
.seen-more { margin: 0; padding: 0 0 clamp(36px, 4vw, 52px); text-align: center; background: var(--paper); }
.seen-more .more-link { text-decoration: none; }

/* ---------- Media ---------- */
.media-sub { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: 28px; }
.media-articles { padding-bottom: 0; }
.press-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.press-card { display: flex; flex-direction: column; gap: 12px; padding: 16px 16px 24px; border-radius: var(--r); border: 2px solid transparent; background: linear-gradient(var(--paper), var(--paper)) padding-box, var(--grad) border-box; color: var(--ink); text-decoration: none; transition: transform .3s ease; }
.press-card:hover { transform: translateY(-4px); }
.press-card-img img { width: 100%; height: 200px; object-fit: cover; object-position: top; border-radius: 12px; }
.press-card .label { color: var(--teal); padding: 0 6px; }
.press-card-title { padding: 0 6px; font-family: var(--f-title); font-size: 1.2rem; line-height: 1.3; }
.press-card .more-link { margin-top: auto; padding: 0 6px; }
.media-shows-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 20px; margin-bottom: 28px; }
.media-shows-head .media-sub { margin: 0; }
.media-shows-head p { margin: 0; color: var(--ink-soft); }
.media-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.media-item { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: start; padding: 18px; border-radius: var(--r); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-soft); }
.media-item img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; }
.media-item .label { margin: 0 0 6px; color: var(--teal); }
.media-item h3 { margin-bottom: 6px; font-size: 1.12rem; line-height: 1.25; }
.media-item p:not(.label) { margin: 0 0 8px; font-size: .88em; color: var(--ink-soft); }
.media-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-label); font-weight: 600; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--deep-teal); text-decoration: none; }
.media-link svg { width: 14px; height: 14px; transition: transform .25s ease; }
.media-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.media-link:hover svg { transform: translateX(3px); }
.press-kit { background: var(--paper); }
.kit-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; }
.kit-card { position: relative; padding: 28px; border-radius: var(--r); background: var(--cream); border: 1.5px solid var(--deep-blue); }
.kit-card p { color: var(--ink-soft); }
.kit-card p:last-child { margin-bottom: 0; }
.kit-card a { position: relative; color: var(--deep-teal); text-underline-offset: 3px; }
.kit-shots { grid-column: 1 / -1; }
.shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.shots a { display: flex; flex-direction: column; gap: 10px; font-family: var(--f-label); font-weight: 600; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; }
.shots img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 12px; transition: transform .3s ease; }
.shots a:hover img { transform: translateY(-3px); }

/* ---------- Tools & resources ---------- */
.tools-lead p { margin: 0 0 .8em; }
.tools-lead { max-width: 44em; }
.tools-disclosure { max-width: 52em; margin-top: 18px; padding: 14px 18px; border-radius: var(--r-sm); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-soft); font-size: .82em; color: var(--ink-soft); }
.tools-disclosure p { margin: 0; }
.tools-nav ul { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 30px; }
.tools-nav a { font-family: var(--f-label); font-weight: 600; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--deep-teal); text-decoration: none; }
.tools-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tools-body { padding-bottom: clamp(72px, 9vw, 120px); }
.tools-section { padding-top: clamp(44px, 5vw, 68px); }
.tools-section h2 { margin-bottom: 24px; font-size: clamp(1.9rem, 3vw, 2.5rem); scroll-margin-top: 110px; }
.tools-intro { max-width: 46em; margin-bottom: 20px; color: var(--ink-soft); }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tool-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-soft); transition: box-shadow .2s ease; }
.tool-card:hover { box-shadow: inset 0 0 0 1.5px var(--teal); }
.tool-logo-wrap { display: flex; align-items: center; height: 64px; margin-bottom: 4px; }
.tool-logo { width: auto; height: auto; max-height: 64px; max-width: 180px; object-fit: contain; object-position: left center; }
.tool-card h3 { font-size: 1.22rem; line-height: 1.2; }
.tool-card h3 a { color: var(--ink); text-decoration: none; }
.tool-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tool-card p { margin: 0 0 .6em; font-size: .9em; color: var(--ink-soft); }
.tool-card p:last-child { margin-bottom: 0; }
.tool-card p a { color: var(--deep-teal); text-underline-offset: 3px; }

/* ---------- Responsive (round 2) ---------- */
@media (max-width: 1180px) {
  .review-float { position: relative; left: auto; bottom: auto; justify-self: start; width: min(320px, 92%); margin-top: -26px; }
}
@media (max-width: 960px) {
  .pod-hero-grid, .about-hero-grid, .media-hero-grid, .about-story-grid { grid-template-columns: 1fr; }
  .pod-stage { max-width: 480px; width: 100%; justify-self: center; }
  .about-photo, .media-photo { justify-self: start; max-width: 380px; }
  .about-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-story-head { position: static; }
  .proof-grid, .press-grid, .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .creds-grid { grid-template-columns: 1fr 1fr; }
  .creds-head { grid-column: 1 / -1; }
  .review-grid, .media-list, .kit-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .proof-grid, .press-grid, .tool-grid, .creds-grid, .offer-cards { grid-template-columns: 1fr; }
  .media-stats { gap: 8px; }
  .media-stats div { padding: 14px 12px 12px; }
  .media-stats dd { font-size: 1.35rem; }
  .media-stats dt { font-size: .74em; }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .media-item { grid-template-columns: 72px 1fr; gap: 14px; padding: 14px; }
  .media-item img { width: 72px; height: 72px; }
  .pod-stats { gap: 16px 28px; }
  .review-float { position: relative; left: auto; bottom: auto; width: 100%; margin-top: -30px; }
  .pod-stage { padding-bottom: 0; }
  .about-hero .btn-row .btn, .media-hero .btn-row .btn { width: 100%; }
}

/* About: the scrolling strip sits on cream between two paper sections */
.page-about .seen, .page-about .seen-more { background: var(--cream); }

/* ---------- Archives: topics, page numbers, compact headers ---------- */
.arch-hero-sm { padding-bottom: clamp(28px, 3vw, 40px); }
.arch-hero-sm h1 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); }
.arch-hero-sm .listen-row { margin-top: 22px; }
.topic-nav { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 22px; margin-top: 30px; }
.topic-nav .label { color: var(--ink-soft); }
.topic-nav ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.topic-nav a { font-family: var(--f-label); font-weight: 600; font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--deep-teal); text-decoration: none; padding-bottom: 3px; border-bottom: 2px solid transparent; }
.topic-nav a:hover { border-bottom-color: var(--orchid); }
.topic-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--teal); }
.pager { align-items: center; }
.pager-nums { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pager-nums a { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 8px; border-radius: 999px; font-family: var(--f-label); font-weight: 600; font-size: .72rem; color: var(--ink); text-decoration: none; transition: background-color .2s ease; }
.pager-nums a:hover { background: var(--cream-2); }
.pager-nums a[aria-current="page"] { background: var(--midnight); color: var(--cream); }
.pager-gap { padding: 0 4px; color: var(--ink-soft); }
.embed-link { margin: 1.6em 0; }
.embed-link a { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-label); font-weight: 600; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--deep-teal); text-decoration: none; }
.embed-link svg { width: 16px; height: 16px; }
@media (max-width: 680px) {
  .pager .btn { width: auto; }
  .pager { gap: 10px; }
  .topic-nav ul { gap: 8px 16px; }
}

/* ---------- Link in bio (/click-me/) ---------- */
.page-links { background: var(--cream); }
.page-links::before { content: ""; display: block; height: 6px; background: var(--grad); }
.links-page { padding: clamp(36px, 6vw, 64px) 20px clamp(40px, 6vw, 72px); }
.links-wrap { max-width: 560px; margin: 0 auto; }
.links-head { text-align: center; margin-bottom: 30px; }
.links-photo { width: 112px; height: 112px; margin: 0 auto 18px; border-radius: 50%; outline: 2px solid var(--orchid); outline-offset: 4px; }
.links-name { font-size: clamp(2.3rem, 8vw, 2.9rem); line-height: 1; }
.links-handle { margin: 8px 0 14px; font-family: var(--f-label); font-weight: 600; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); }
.links-bio { max-width: 28em; margin: 0 auto; color: var(--ink-soft); }
.links-group { margin-top: 30px; }
.links-group .label { margin: 0 0 12px; color: var(--teal); text-align: center; }
.links-list { display: grid; gap: 10px; }
.link-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 14px 20px;
  border-radius: 18px;
  border: 2px solid transparent;
  background: linear-gradient(var(--paper), var(--paper)) padding-box, linear-gradient(var(--line), var(--line)) border-box;
  color: var(--ink); text-decoration: none;
  transition: background .25s ease, transform .25s ease;
}
.link-btn:hover { background: linear-gradient(var(--paper), var(--paper)) padding-box, var(--grad) border-box; transform: translateY(-2px); }
.link-btn svg { flex: none; width: 18px; height: 18px; color: var(--teal); transition: transform .25s ease; }
.link-btn:hover svg { transform: translateX(3px); }
.link-text { display: grid; gap: 3px; }
.link-title { font-family: var(--f-title); font-size: 1.12rem; line-height: 1.2; }
.link-sub { font-size: .82em; line-height: 1.35; color: var(--ink-soft); }
.link-primary { background: linear-gradient(var(--midnight), var(--midnight)) padding-box, var(--grad) border-box; color: var(--cream); }
.link-primary:hover { background: linear-gradient(var(--deep-teal), var(--deep-teal)) padding-box, var(--grad) border-box; }
.link-primary .link-sub { color: rgba(246, 246, 238, .78); }
.link-primary svg { color: var(--cream); }
.links-foot { margin-top: 40px; text-align: center; font-size: .86em; color: var(--ink-soft); }
.links-social { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-bottom: 18px; }
.links-social a, .links-home a { font-family: var(--f-label); font-weight: 600; font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--deep-teal); text-decoration: none; }
.links-social a:hover, .links-home a:hover { text-decoration: underline; text-underline-offset: 4px; }
.links-note { max-width: 32em; margin: 0 auto 14px; font-size: .9em; }
.links-home { margin: 0; }

.links-credit { margin: 10px 0 0; font-size: .9em; }
.links-credit a { color: var(--deep-teal); text-underline-offset: 3px; }

/* Very small phones: let highlighted headline phrases wrap instead of running off screen */
@media (max-width: 400px) {
  .page-content h1 .hl { white-space: normal; }
}
