/* Anupama Vishwakarma — shared stylesheet */

:root {
  --bg: #FDF3E6;
  --bg-alt: #F9EDDD;
  --bg-canvas: #EAE2D2;
  --bg-dark: #3A2A1F;
  --brand: #A94D2E;
  --brand-1: #B0532F;
  --brand-2: #8F4020;
  --brand-3: #8B4020;
  --brand-4: #C25E3B;
  --peach: #F4D9BA;
  --peach-2: #F4C9A4;
  --coral: #E89571;
  --coral-2: #EFA07C;
  --coral-3: #DE8460;
  --sage: #9BB192;
  --sage-2: #B0C09E;
  --sage-3: #5C7A55;
  --text: #3A2A1F;
  --text-muted: #5E4432;
  --text-subtle: #7A5B44;
  --text-warm: #8B4A2E;
  --hairline: rgba(168, 116, 86, .15);
  --hairline-2: rgba(168, 116, 86, .24);
  --sand: #E4D6C2;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: 'Bricolage Grotesque', var(--sans);
  --script: 'Caveat', var(--serif);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: opacity .18s ease; }
a:hover { opacity: .78; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--text-warm);
  outline-offset: 3px;
  border-radius: 8px;
}
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; color: var(--text); }
p { margin: 0; text-wrap: pretty; }

@keyframes cta-halo {
  0%, 100% { box-shadow: 0 0 0 0 rgba(176, 83, 47, .22); }
  50%      { box-shadow: 0 0 0 12px rgba(176, 83, 47, 0); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center; gap: 28px;
  padding: 18px 32px;
  margin: 0 auto;
  width: 100%;
  border-radius: 0;
  background: transparent;
  border-bottom: 0;
  isolation: isolate;
  transition:
    width .7s var(--ease),
    padding .7s var(--ease),
    top .7s var(--ease),
    border-radius .7s var(--ease);
}
.nav::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 248, 238, .78), rgba(249, 232, 214, .62));
  backdrop-filter: blur(22px) saturate(190%);
  -webkit-backdrop-filter: blur(22px) saturate(190%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .8),
    inset 0 -1px 0 rgba(168, 116, 86, .12),
    0 18px 40px -22px rgba(80, 45, 25, .35);
  opacity: 0;
  transition: opacity .55s ease, border-radius .7s var(--ease);
  pointer-events: none;
}
.nav.is-floating {
  top: 14px;
  width: min(1120px, calc(100% - 40px));
  padding: 10px 14px 10px 22px;
  border-radius: 999px;
}
.nav.is-floating::before { opacity: 1; }
.nav-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-brand-name { font: 500 17px/1 var(--display); color: var(--text); white-space: nowrap; }
.nav-links {
  display: flex; gap: 20px;
  flex: 1 1 auto; min-width: 0;
  justify-content: flex-end;
  font: 400 15px var(--sans);
  white-space: nowrap; flex-wrap: nowrap;
}
.nav-links a[aria-current="page"],
.nav-links a.is-active {
  color: var(--brand);
  border-bottom: 2px solid var(--brand-4);
  padding-bottom: 2px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  border-radius: 999px;
  font: 600 15px var(--sans);
  cursor: pointer;
  border: none;
  transition: transform .22s var(--ease), filter .22s ease, box-shadow .22s ease, border-color .22s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(180deg, var(--brand-1), var(--brand-2));
  color: #FFF8F0;
  padding: 12px 12px 12px 24px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .34),
    inset 0 -1px 0 rgba(0, 0, 0, .2),
    0 8px 18px -8px rgba(143, 64, 32, .55);
}
.btn-primary:hover { opacity: 1; transform: translateY(-2px); filter: brightness(1.08); }
.btn-primary:active { transform: translateY(0); box-shadow: inset 0 2px 5px rgba(0, 0, 0, .3); }
.btn-primary .btn-icon {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
}
.btn-primary-lg {
  padding: 14px 14px 14px 28px;
  font-size: 16px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .34),
    inset 0 -1px 0 rgba(0, 0, 0, .22),
    0 12px 26px -10px rgba(143, 64, 32, .6);
}
.btn-primary-lg .btn-icon { width: 30px; height: 30px; font-size: 14px; }
.btn-halo { display: inline-flex; border-radius: 999px; animation: cta-halo 3.6s ease-in-out infinite; }

.btn-ghost {
  color: var(--text);
  padding: 15px 24px;
  border: 1.5px solid rgba(58, 42, 31, .3);
  background: linear-gradient(180deg, rgba(255, 252, 247, .85), rgba(250, 239, 225, .6));
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 4px 12px -6px rgba(80, 45, 25, .28);
  gap: 10px;
  font-weight: 600; font-size: 16px;
}
.btn-ghost:hover { opacity: 1; transform: translateY(-3px); border-color: rgba(176, 83, 47, .55); }
.btn-ghost:active { transform: translateY(0); box-shadow: inset 0 2px 5px rgba(80, 45, 25, .18); }
.btn-ghost .arrow { color: var(--brand-2); }

.nav-book {
  padding: 10px 10px 10px 22px;
  font-size: 14px;
}
.nav-mobile-book {
  display: none;
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 15px;
  background: linear-gradient(180deg, var(--brand-1), var(--brand-2));
  align-items: center; justify-content: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .34),
    inset 0 -1px 0 rgba(0, 0, 0, .2),
    0 6px 14px -8px rgba(143, 64, 32, .6);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 80px 56px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  top: -100px; right: -80px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(240, 183, 127, .35), transparent 65%);
}
.hero::after {
  bottom: -160px; left: -100px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(155, 177, 146, .22), transparent 65%);
}
.hero-inner { position: relative; z-index: 2; }
.hero h1 {
  font: 400 clamp(38px, 5.5vw, 68px) / 1.05 var(--serif);
  letter-spacing: -.022em;
  margin: 0 0 24px;
}
.hero h1 em { font-style: italic; color: var(--brand); font-weight: 400; }
.hero-lede {
  font-size: 17px; line-height: 1.7; color: var(--text-muted);
  max-width: 500px; margin: 0 0 32px;
}
.hero-actions {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
}
.btn-icon-spotify {
  display: inline-flex; align-items: center; justify-content: center;
}
.btn-icon-spotify svg { display: block; }

.hero-portrait-wrap {
  position: relative; z-index: 2;
  display: flex; justify-content: center; align-items: center;
}
.hero-portrait-frame { position: relative; width: 400px; height: 540px; max-width: 100%; }
.hero-portrait-frame .backing {
  position: absolute; inset: 0;
  background: var(--peach);
  border-radius: 200px 200px 40px 40px;
  transform: rotate(-5deg) scale(1.04);
}
.hero-portrait-frame .portrait {
  position: absolute; inset: 0;
  border-radius: 200px 200px 40px 40px;
  overflow: hidden; background: var(--sand);
  box-shadow: 0 24px 48px -18px rgba(80, 45, 25, .28);
  display: flex; align-items: center; justify-content: center;
}
.hero-portrait-frame .portrait img,
.hero-portrait-frame .portrait .placeholder,
.about-portrait .portrait img,
.about-portrait .portrait .placeholder {
  width: 100%; height: 100%; object-fit: cover;
}
.placeholder {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 20px;
  color: var(--text-subtle); font-family: var(--script); font-size: 20px;
}

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  background: var(--bg-alt);
  box-shadow: 0 2px 6px -2px rgba(80, 45, 25, .15);
  margin-bottom: 26px;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.pill-text {
  font: 500 12px var(--sans);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-warm);
}
.hello-tag { font: 400 24px var(--script); color: var(--text-subtle); margin-bottom: 14px; }

.hero-sunburst { position: absolute; top: -24px; right: -28px; }
.hero-namecard {
  position: absolute; bottom: -24px; left: -32px;
  background: var(--bg); padding: 16px 20px; border-radius: 18px;
  box-shadow: 0 16px 32px -14px rgba(80, 45, 25, .22);
  border: 1px solid rgba(168, 116, 86, .18);
  display: flex; align-items: center; gap: 14px;
}
.hero-namecard-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--peach);
  display: flex; align-items: center; justify-content: center;
}
.hero-namecard-title { font: 500 15px/1.2 var(--serif); color: var(--text); }
.hero-namecard-sub { font: 400 12px var(--sans); color: var(--text-subtle); margin-top: 3px; }

.hero-plant { position: absolute; bottom: 20px; right: -40px; }

/* ============ SECTION SHELL ============ */
.section {
  position: relative;
  padding: 90px 56px;
  overflow: hidden;
}
.section-alt { background: var(--bg-alt); }
.section-cream { background: var(--bg); }
.section-dark  { background: var(--bg-dark); color: #F7E9D8; }
.section-inner { position: relative; z-index: 2; }

.eyebrow {
  font: 500 12px var(--sans);
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}
.section-dark .eyebrow { color: #F0AE8A; }
.section-title { font: 400 clamp(30px, 3.8vw, 46px) / 1.1 var(--serif); letter-spacing: -.015em; margin: 0 0 18px; }
.section-dark .section-title { color: #F7E9D8; }
.section-lede { font-size: 17px; line-height: 1.65; color: var(--text-muted); margin: 0 0 18px; }
.section-dark .section-lede { color: #DCC8B0; }

/* ============ ABOUT ============ */
.about-grid {
  display: grid; grid-template-columns: 5fr 6fr; gap: 80px;
  align-items: center; position: relative; z-index: 2;
}
.about-portrait { position: relative; }
.about-portrait .portrait {
  aspect-ratio: 1/1; border-radius: 40px;
  overflow: hidden; background: var(--sand);
  box-shadow: 0 20px 40px -20px rgba(80, 45, 25, .2);
  display: flex; align-items: center; justify-content: center;
}
.about-location-tag {
  position: absolute; bottom: -16px; right: -16px;
  background: var(--peach);
  padding: 12px 18px; border-radius: 6px;
  box-shadow: 0 12px 24px -14px rgba(80, 45, 25, .35);
  transform: rotate(3deg);
  font: 500 20px/1.2 var(--script); color: var(--text-warm);
}
.about p { font-size: 17px; line-height: 1.7; color: var(--text-muted); margin: 0 0 18px; }
.about-quote {
  padding: 22px 26px; background: var(--bg); border-radius: 18px;
  border-left: 4px solid var(--brand);
  border-top: 1px solid var(--hairline);
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.about-quote p {
  font: 400 18px/1.6 var(--serif) !important;
  color: var(--text) !important;
  margin: 0 !important;
}
.about-quote strong { font-weight: 500; }
.about-quote .accent { color: var(--brand); font-weight: 500; }

/* Standalone About page */
.about-standalone { padding-top: 120px; padding-bottom: 100px; }
.about-standalone .section-title { font: 400 clamp(34px, 4.6vw, 54px) / 1.06 var(--serif); letter-spacing: -.02em; }
.about-cta-row {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  margin-top: 32px;
}

/* ============ SERVICES ============ */
.services-header { max-width: 640px; margin: 0 auto 48px; text-align: center; position: relative; z-index: 2; }
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  position: relative; z-index: 2;
}
.service-card {
  position: relative;
  background: var(--bg-alt);
  border-radius: 24px;
  padding: 30px 26px;
  display: flex; flex-direction: column; gap: 18px;
  border: 1px solid rgba(168, 116, 86, .14);
  min-height: 240px;
  overflow: hidden;
}
.service-icon {
  width: 56px; height: 56px; border-radius: 18px; background: var(--peach);
  display: flex; align-items: center; justify-content: center;
}
.service-title { font: 500 20px var(--serif); color: var(--text); margin-bottom: 8px; }
.service-desc { font: 400 14px/1.6 var(--sans); color: var(--text-muted); }

/* ============ PODCAST ============ */
.podcast-header { position: relative; z-index: 2; max-width: 560px; margin-bottom: 48px; }
.podcast-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.chip-spotify,
.chip-youtube {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px; border-radius: 999px;
  font: 600 13px var(--sans);
  transition: transform .22s var(--ease), background .22s ease;
}
.chip-spotify {
  background: linear-gradient(180deg, #EFA07C, #DE8460);
  color: #2E2018;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45);
}
.chip-spotify:hover { opacity: 1; transform: translateY(-2px); }
.chip-youtube {
  border: 1px solid rgba(247, 233, 216, .3);
  color: #F7E9D8;
  background: rgba(247, 233, 216, .07);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
}
.chip-youtube:hover { opacity: 1; transform: translateY(-2px); background: rgba(247, 233, 216, .16); }

.podcast-header-center {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}
.podcast-header-center .podcast-actions { justify-content: center; }

.podcast-carousel {
  position: relative; z-index: 2;
  display: flex; gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 20px;
  margin: 0 -4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(247, 233, 216, .25) transparent;
  -webkit-overflow-scrolling: touch;
}
.podcast-carousel::-webkit-scrollbar { height: 6px; }
.podcast-carousel::-webkit-scrollbar-track { background: transparent; }
.podcast-carousel::-webkit-scrollbar-thumb { background: rgba(247, 233, 216, .18); border-radius: 3px; }
.podcast-carousel::-webkit-scrollbar-thumb:hover { background: rgba(247, 233, 216, .32); }

.ep-card {
  display: flex; flex-direction: column;
  flex: 0 0 210px;
  scroll-snap-align: start;
  border-radius: 20px;
  background: rgba(247, 233, 216, .05);
  border: 1px solid rgba(247, 233, 216, .14);
  color: #F7E9D8;
  text-decoration: none;
  overflow: hidden;
  transition: transform .22s var(--ease), background .22s ease, border-color .22s ease;
}
.ep-card:hover {
  opacity: 1; transform: translateY(-3px);
  background: rgba(247, 233, 216, .1);
  border-color: rgba(247, 233, 216, .28);
}
.ep-cover {
  position: relative;
  aspect-ratio: 1 / 1;
  background: rgba(20, 12, 6, .4);
  overflow: hidden;
}
.ep-cover-yt { aspect-ratio: 16 / 9; }
.ep-cover img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.ep-cover-yt img { object-fit: cover; }
.ep-cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(20, 12, 6, .55));
  pointer-events: none;
}
.ep-play {
  position: absolute; z-index: 2;
  right: 10px; bottom: 10px;
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 248, 240, .92); color: #2E2018;
  font-size: 10px; padding-left: 2px;
  box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .5);
}

.ep-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; }
.ep-meta {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  font: 500 10px var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: rgba(247, 233, 216, .58);
}
.ep-card-spotify .ep-platform { color: #7BD695; }
.ep-card-youtube .ep-platform { color: #FF8A8A; }
.ep-title { font: 400 15px/1.3 var(--serif); color: #F7E9D8; }

.episode-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  position: relative; z-index: 2;
}
.episode-grid.two-up { grid-template-columns: repeat(2, 1fr); }
.play-btn-yt {
  background: linear-gradient(180deg, #E24242, #B31F1F);
}
.episode-card {
  background: rgba(247, 233, 216, .06);
  border: 1px solid rgba(247, 233, 216, .16);
  border-radius: 24px;
  padding: 28px 26px;
  display: flex; flex-direction: column; gap: 18px;
  min-width: 0;
  color: #F7E9D8;
  text-decoration: none;
  transition: transform .22s var(--ease), background .22s ease, border-color .22s ease;
}
a.episode-card:hover {
  opacity: 1; transform: translateY(-3px);
  background: rgba(247, 233, 216, .12);
  border-color: rgba(247, 233, 216, .28);
}
.episode-head { display: flex; align-items: center; justify-content: space-between; }
.episode-num { font: 500 11px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #F0AE8A; }
.episode-dur { font: 400 12px var(--sans); color: #B9A288; }
.episode-title { font: 400 22px/1.25 var(--serif); color: #F7E9D8; }
.episode-desc { font: 400 14px/1.6 var(--sans); color: #C6AF97; }
.episode-play {
  display: flex; align-items: center; gap: 14px; margin-top: auto;
}
.play-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(180deg, var(--coral-2), var(--coral-3));
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5);
  transition: transform .22s var(--ease);
  border: 0;
  flex-shrink: 0;
}
.play-btn:hover { transform: scale(1.08); }
.wave { flex: 1; min-width: 0; height: 22px; }

/* ============ WRITING (landing preview) ============ */
.writing-grid {
  display: grid; grid-template-columns: 5fr 7fr; gap: 80px;
  align-items: start; position: relative; z-index: 2;
}
.writing-tagline { font: 400 22px var(--script); color: var(--text-subtle); margin-bottom: 26px; }
.essay-list { display: flex; flex-direction: column; }
.essay-item {
  display: grid; grid-template-columns: auto 1fr auto; gap: 20px;
  align-items: center;
  padding: 26px 4px;
  border-top: 1px solid var(--hairline-2);
  border-radius: 20px;
  transition: padding .26s var(--ease), background .26s ease;
}
.essay-icon {
  width: 40px; height: 40px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.essay-icon-substack { background: #FF6719; }
.essay-icon-linkedin { background: #0A66C2; }
.essay-icon-notion   { background: #2F2C28; }
.essay-item:last-child { border-bottom: 1px solid var(--hairline-2); }
.essay-item:hover { opacity: 1; padding: 26px 18px; background: rgba(255, 252, 246, .6); }
.essay-kicker {
  font: 500 11px var(--sans); letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 10px;
}
.essay-title { font: 400 26px/1.25 var(--serif); margin-bottom: 8px; }
.essay-desc { font: 400 15px/1.6 var(--sans); color: var(--text-muted); }
.essay-arrow {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(168, 116, 86, .3);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand);
  background: rgba(255, 250, 242, .4);
  font-size: 18px;
  flex-shrink: 0;
}

/* ============ FAQ ============ */
.faq-inner { max-width: 820px; margin: 0 auto; }
.faq-header { text-align: center; margin-bottom: 40px; }
.faq-header .section-lede { max-width: 560px; margin-left: auto; margin-right: auto; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-alt);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  transition: border-color .22s ease, box-shadow .22s ease;
}
.faq-item[open] {
  border-color: rgba(176, 83, 47, .28);
  box-shadow: 0 12px 24px -18px rgba(80, 45, 25, .25);
}
.faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 60px 20px 24px;
  position: relative;
  font: 500 17px/1.4 var(--serif);
  color: var(--text);
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary:hover { color: var(--text-warm); }
.faq-item > summary:focus-visible { outline-offset: -2px; }
.faq-icon {
  position: absolute;
  right: 22px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--peach);
  transition: background .22s ease;
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 12px; height: 2px; background: var(--text-warm); border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .28s var(--ease);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--brand); }
.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after { background: #FFF8F0; }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item > p {
  padding: 0 24px 22px;
  margin: 0;
  font: 400 15px/1.7 var(--sans);
  color: var(--text-muted);
}

/* ============ CONTACT ============ */
.contact-stack {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 48px;
}
.contact-card {
  width: 100%; max-width: 620px;
  background: var(--bg);
  padding: 44px;
  border-radius: 40px;
  border: 1px solid rgba(168, 116, 86, .14);
  box-shadow: 0 20px 40px -24px rgba(80, 45, 25, .15);
}
.contact-title { font: 400 clamp(28px, 3.2vw, 38px) / 1.1 var(--serif); letter-spacing: -.015em; margin: 0 0 14px; }
.contact-steps { display: flex; flex-direction: column; gap: 22px; margin-bottom: 30px; }
.contact-step { display: flex; gap: 18px; align-items: flex-start; }
.step-num {
  width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%;
  background: var(--peach);
  display: flex; align-items: center; justify-content: center;
  font: 500 14px var(--sans);
  color: var(--text-warm);
}
.step-title { font: 500 17px var(--serif); margin-bottom: 4px; color: var(--text); }
.step-desc { font: 400 14px/1.6 var(--sans); color: var(--text-muted); }
.contact-cta {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  background: linear-gradient(180deg, var(--brand-1), var(--brand-3));
  color: #FFF8F0;
  padding: 17px 24px; border-radius: 16px;
  font: 600 16px var(--sans); cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .34),
    inset 0 -1px 0 rgba(0, 0, 0, .22),
    0 12px 26px -10px rgba(143, 64, 32, .6);
  transition: transform .22s var(--ease), filter .22s ease;
}
.contact-cta:hover { opacity: 1; transform: translateY(-3px); filter: brightness(1.08); }
.contact-cta .btn-icon { width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }

.contact-cta-row { display: grid; grid-template-columns: 1fr; gap: 12px; }
.contact-cta-ghost {
  background: linear-gradient(180deg, rgba(255, 252, 247, .85), rgba(250, 239, 225, .6));
  color: var(--text);
  border: 1.5px solid rgba(58, 42, 31, .3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 4px 12px -6px rgba(80, 45, 25, .28);
}
.contact-cta-ghost:hover { filter: none; border-color: rgba(176, 83, 47, .55); }
.contact-cta-ghost .btn-icon {
  background: var(--peach);
  color: var(--text-warm);
}
.email-fallback { font-style: italic; }

.contact-connect-block { text-align: center; }
.contact-connect-title { font: 500 18px var(--serif); color: var(--text); margin-bottom: 18px; }
.social-row { display: flex; justify-content: center; align-items: center; gap: 18px; flex-wrap: wrap; }
.social-row a {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text-muted); font: 500 14px var(--sans);
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  border: 1px solid rgba(168, 116, 86, .22);
  background: rgba(253, 243, 230, .6);
  transition: transform .22s var(--ease), border-color .22s ease;
}
.social-row a:hover { opacity: 1; transform: translateY(-2px); border-color: rgba(176, 83, 47, .55); }
.social-icon {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(168, 116, 86, .3);
  display: flex; align-items: center; justify-content: center;
  background: rgba(253, 243, 230, .7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
  flex-shrink: 0;
}

/* ============ FOOTER ============ */
.footer {
  position: relative;
  padding: 40px 56px;
  background: var(--bg);
  border-top: 1px solid rgba(168, 116, 86, .18);
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
  overflow: hidden;
}
.footer-brand { display: flex; align-items: center; gap: 12px; position: relative; z-index: 2; font: 500 17px var(--display); }
.footer-copy { font: 400 13px var(--sans); color: var(--text-subtle); position: relative; z-index: 2; }
.footer-links { display: flex; gap: 24px; font: 400 14px var(--sans); color: var(--text-muted); position: relative; z-index: 2; flex-wrap: wrap; }
.footer-waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 56px; opacity: .4; }

/* Mobile tab bar (bottom nav) */
.tab-bar {
  display: none;
  position: fixed; left: 10px; right: 10px; bottom: 10px;
  z-index: 60;
  padding: 8px 8px 10px;
  grid-template-columns: repeat(5, 1fr);
  align-items: end; gap: 2px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 248, 238, .82), rgba(249, 232, 214, .68));
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, .6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .85),
    inset 0 -1px 0 rgba(168, 116, 86, .14),
    0 18px 40px -18px rgba(80, 45, 25, .45);
}
.tab-bar a {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 9px 2px 7px;
  border-radius: 18px;
  min-height: 56px;
  font: 500 10px var(--sans);
  color: var(--text-muted);
  text-align: center;
}
.tab-bar a.is-active {
  background: rgba(255, 255, 255, .62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 4px 10px -6px rgba(80, 45, 25, .3);
  font-weight: 600; color: var(--brand-2);
}
.tab-bar a.is-active svg [stroke] { stroke: var(--brand-2); }

/* ============ WRITING ARCHIVE ============ */
.writing-hero {
  position: relative; padding: 70px 56px 48px; overflow: hidden;
}
.writing-hero::before {
  content: ""; position: absolute; top: -120px; right: -90px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 183, 127, .32), transparent 65%);
  pointer-events: none;
}
.writing-hero h1 { font: 400 clamp(38px, 5vw, 62px) / 1.05 var(--serif); letter-spacing: -.02em; margin: 0 0 18px; }
.writing-hero .lede { font-size: 18px; line-height: 1.7; color: var(--text-muted); margin: 0 0 10px; }
.tag-strip { padding: 0 56px 34px; display: flex; gap: 10px; flex-wrap: wrap; }
.tag {
  padding: 10px 18px; border-radius: 999px;
  border: 1.5px solid rgba(58, 42, 31, .3);
  color: var(--text);
  font: 500 13px var(--sans);
  background: linear-gradient(180deg, rgba(255, 252, 247, .85), rgba(250, 239, 225, .6));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
  transition: transform .22s var(--ease), border-color .22s ease;
}
.tag:hover { opacity: 1; transform: translateY(-2px); border-color: rgba(176, 83, 47, .55); }
.tag.is-active {
  background: linear-gradient(180deg, #463325, #2E2018);
  color: #FFF8F0; border-color: transparent;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 4px 10px -6px rgba(46, 32, 24, .6);
}

.featured-wrap { padding: 0 56px 70px; }
.featured {
  display: grid; grid-template-columns: 7fr 5fr; gap: 44px;
  align-items: center;
  background: var(--bg-alt);
  border: 1px solid rgba(168, 116, 86, .18);
  border-radius: 36px;
  padding: 40px;
  transition: transform .26s var(--ease), box-shadow .26s ease;
}
.featured:hover { opacity: 1; transform: translateY(-3px); box-shadow: 0 26px 50px -30px rgba(80, 45, 25, .4); }
.featured-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--peach);
  font: 500 11px var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: #7A3D22;
  margin-bottom: 22px;
}
.featured h2 { font: 400 clamp(26px, 3.2vw, 40px) / 1.15 var(--serif); letter-spacing: -.015em; margin: 0 0 16px; }
.featured p { font-size: 17px; line-height: 1.7; color: var(--text-muted); margin: 0 0 24px; }
.featured-meta { display: flex; align-items: center; gap: 16px; font: 400 14px var(--sans); color: var(--text-subtle); }
.featured-img { aspect-ratio: 4/3; border-radius: 24px; overflow: hidden; background: var(--sand); }
.featured-img img { width: 100%; height: 100%; object-fit: cover; }

.all-writing { padding: 0 56px 80px; }
.all-writing h2 { font: 400 32px/1.15 var(--serif); letter-spacing: -.015em; margin: 0 0 8px; }
.post-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  margin-top: 32px;
}
.post-card {
  display: flex; flex-direction: column; gap: 16px;
  min-width: 0;
  transition: transform .26s var(--ease);
}
.post-card:hover { opacity: 1; transform: translateY(-4px); }
.post-thumb { aspect-ratio: 4/3; border-radius: 22px; overflow: hidden; background: var(--sand); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-kicker { font: 500 11px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--text-subtle); }
.post-title { font: 400 24px/1.25 var(--serif); }
.post-desc { font: 400 15px/1.6 var(--sans); color: var(--text-muted); }
.load-more-wrap { display: flex; justify-content: center; margin-top: 48px; }

/* Platform sections on /writing */
.platform-section {
  padding: 48px 56px 24px;
  max-width: 1280px;
  margin: 0 auto;
}
.platform-section + .platform-section { padding-top: 24px; }
.platform-head {
  display: grid; grid-template-columns: 1fr auto; gap: 24px;
  align-items: end;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hairline-2);
}
.platform-head h2 { font: 400 32px/1.15 var(--serif); letter-spacing: -.015em; margin: 8px 0 6px; }
.platform-head p { color: var(--text-muted); font-size: 15px; margin: 0; }
.platform-head .btn { align-self: end; }

.platform-badge {
  display: inline-flex; align-items: center;
  padding: 4px 10px; border-radius: 999px;
  font: 500 10px var(--sans); letter-spacing: .18em; text-transform: uppercase;
  margin-right: 8px;
}
.platform-substack { background: #FFEDDD; color: #C75B00; }
.platform-linkedin { background: #DCE9F5; color: #0A66C2; }
.platform-notion   { background: #EDECE6; color: #37352F; }

.essay-kicker .platform-badge { margin-right: 10px; }

.post-thumb-substack,
.post-thumb-linkedin,
.post-thumb-notion {
  display: flex; align-items: center; justify-content: center;
  color: #FFF8F0;
}
.post-thumb-substack { background: linear-gradient(140deg, #FF8A3D, #C75B00); }
.post-thumb-linkedin { background: linear-gradient(140deg, #2C7FCC, #0A66C2); }
.post-thumb-notion   { background: linear-gradient(140deg, #4B4842, #201F1B); }
.thumb-mark {
  font: 500 40px var(--display);
  color: rgba(255, 255, 255, .95);
  letter-spacing: -.02em;
}

.also-listen-wrap {
  padding: 40px 24px 60px;
  display: flex; justify-content: center;
}
.also-listen-card {
  max-width: 520px;
  width: 100%;
  background: var(--bg-dark);
  color: #F7E9D8;
  padding: 32px 32px 34px;
  border-radius: 28px;
  text-align: center;
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .5);
}
.also-listen-card .eyebrow { color: #F0AE8A; margin-bottom: 12px; }
.also-listen-card h2 { color: #F7E9D8; font: 400 clamp(24px, 2.6vw, 30px) / 1.15 var(--serif); letter-spacing: -.01em; margin: 0 0 10px; }
.also-listen-card p { color: #DCC8B0; font-size: 15px; line-height: 1.65; margin: 0 auto 20px; max-width: 40ch; }
.also-listen-card .link {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px;
  background: linear-gradient(180deg, var(--coral-2), var(--coral-3));
  color: #2E2018;
  font: 600 14px var(--sans);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45);
  transition: transform .22s var(--ease);
}
.also-listen-card .link:hover { opacity: 1; transform: translateY(-2px); }

/* Link preview cards (writing archive) */
.link-preview-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.link-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--hairline-2);
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg);
  transition: transform .22s var(--ease), box-shadow .22s ease, border-color .22s ease;
  color: inherit;
}
.link-card:hover {
  opacity: 1;
  transform: translateY(-3px);
  border-color: rgba(176, 83, 47, .4);
  box-shadow: 0 18px 32px -20px rgba(80, 45, 25, .3);
}
.link-card-preview {
  aspect-ratio: 1.9 / 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
  padding: 20px;
  color: rgba(255, 255, 255, .95);
}
.link-card-substack .link-card-preview { background: linear-gradient(140deg, #FF8A3D, #C75B00); }
.link-card-linkedin .link-card-preview { background: linear-gradient(140deg, #2C7FCC, #0A66C2); }
.link-card-notion   .link-card-preview { background: linear-gradient(140deg, #4B4842, #201F1B); }
.link-card-mark {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(255, 255, 255, .12);
  display: inline-flex; align-items: center; justify-content: center;
}
.link-card-domain {
  font: 500 12px var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
}
.link-card-body {
  padding: 18px 20px 22px;
  display: flex; flex-direction: column; gap: 6px;
}
.link-card-kicker {
  font: 500 11px var(--sans);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-subtle);
}
.link-card-title { font: 500 18px/1.25 var(--serif); color: var(--text); }
.link-card-desc { font: 400 14px/1.55 var(--sans); color: var(--text-muted); }

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .nav { padding: 14px 20px; gap: 12px; }
  .nav.is-floating { top: 10px; padding: 8px 8px 8px 16px; width: calc(100% - 20px); }
  .nav-links { display: none; }
  .nav-book { display: none; }
  .nav-mobile-book { display: inline-flex; }

  .hero { padding: 40px 24px 60px; grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .hero h1 { font-size: clamp(34px, 8vw, 44px); }
  .hero-lede { margin-left: auto; margin-right: auto; }
  .pill { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-actions .btn,
  .hero-actions .btn-halo { width: 100%; max-width: 340px; }

  /* Hero portrait on mobile — sits above the text, arch preserved */
  .hero { display: flex; flex-direction: column-reverse; }
  .hero-portrait-wrap { display: block; margin-bottom: 24px; }
  .hero-portrait-frame { width: min(320px, 82vw); height: calc(min(320px, 82vw) * 4 / 3); margin: 0 auto; }
  .hero-portrait-frame .backing,
  .hero-portrait-frame .portrait { border-radius: 150px 150px 32px 32px; }
  .hero-plant { display: none; }
  .hero-sunburst { top: -18px; right: -10px; width: 72px; height: 72px; }
  .hero-namecard { padding: 10px 14px; border-radius: 14px; left: -6px; bottom: -16px; gap: 10px; }
  .hero-namecard-icon { width: 34px; height: 34px; }
  .hero-namecard-title { font-size: 13px; }
  .hero-namecard-sub { font-size: 11px; }

  .section { padding: 56px 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .about-portrait .portrait { border-radius: 32px; }
  .about-standalone { padding-top: 40px; padding-bottom: 60px; }
  .about-cta-row { justify-content: center; }
  .about-cta-row .btn,
  .about-cta-row .btn-halo { width: 100%; max-width: 340px; }
  .services-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card { flex-direction: row; align-items: flex-start; min-height: 0; padding: 22px 20px; gap: 16px; border-radius: 22px; }
  .service-icon { width: 50px; height: 50px; border-radius: 16px; flex-shrink: 0; }
  .episode-grid,
  .episode-grid.two-up { grid-template-columns: 1fr; gap: 12px; }
  .podcast-header-center { margin-bottom: 28px; }
  .podcast-carousel { gap: 12px; padding: 4px 20px 20px; margin: 0 -20px; scroll-padding-left: 20px; }
  .ep-card { flex-basis: 168px; border-radius: 18px; }
  .ep-body { padding: 10px 12px 12px; }
  .ep-title { font-size: 14px; }
  .ep-meta { font-size: 9.5px; }
  .writing-grid { grid-template-columns: 1fr; gap: 32px; }
  .writing-grid > div:first-child { text-align: center; }
  .writing-grid > div:first-child > .btn { margin: 0 auto; }
  .writing-tagline { text-align: center; }
  .essay-title { font-size: 22px; }
  .podcast-actions { justify-content: center; }
  .podcast-header { text-align: center; margin-left: auto; margin-right: auto; }
  .contact-stack { gap: 32px; }
  .contact-card { padding: 28px 24px; border-radius: 30px; }
  .social-row { gap: 12px; }
  .social-row a { padding: 6px 14px 6px 6px; font-size: 13px; }

  .footer { flex-direction: column; padding: 28px 24px 32px; text-align: center; }

  /* Writing archive */
  .writing-hero { padding: 40px 24px 26px; }
  .writing-hero h1 { font-size: clamp(30px, 8vw, 40px); }
  .tag-strip { padding: 0 24px 24px; }
  .featured-wrap { padding: 0 24px 32px; }
  .featured { grid-template-columns: 1fr; gap: 20px; padding: 20px; border-radius: 28px; }
  .featured-img { order: -1; }
  .featured h2 { font-size: 26px; }
  .featured p { font-size: 14px; }
  .all-writing { padding: 0 24px 40px; }
  .post-grid { grid-template-columns: 1fr; gap: 24px; }
  .post-card { flex-direction: row; gap: 16px; align-items: flex-start; }
  .post-thumb { width: 104px; height: 104px; aspect-ratio: 1/1; flex-shrink: 0; border-radius: 18px; }
  .post-title { font-size: 19px; }
  .also-listen-wrap { padding: 24px 20px 40px; }
  .link-preview-grid { grid-template-columns: 1fr; }
  .faq-item > summary { font-size: 15px; padding: 18px 52px 18px 20px; }
  .faq-icon { right: 18px; width: 24px; height: 24px; }
  .faq-item > p { padding: 0 20px 20px; font-size: 14px; }
  .platform-section { padding: 32px 24px 16px; }
  .platform-head { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .platform-head .btn { align-self: start; justify-self: start; }
  .platform-head h2 { font-size: 26px; }

  .tab-bar { display: grid; }
  body { padding-bottom: 96px; }
}

@media (min-width: 961px) and (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .episode-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 72px 40px; }
  .footer { padding: 40px 32px; }
}

/* Content wrapper for max width on large screens */
.wrap { max-width: 1280px; margin: 0 auto; }
