/* ============================================================
   ALWAYS PUBLISHED — Boutique Podcast Management
   Shared stylesheet
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --plum-900: #190912;   /* deepest, near-black plum (hero) */
  --plum-850: #210c1a;
  --plum-800: #2a0f21;   /* deep plum section bg */
  --plum-750: #33142a;
  --plum-700: #3c1830;   /* raised plum (cards) */
  --plum-card: #2f1326;

  --ivory: #f4f0e3;      /* warm cream main light bg */
  --ivory-200: #ece5d3;  /* deeper cream */
  --ivory-300: #e3dac3;

  --gold: #b08a3f;       /* muted antique gold */
  --gold-light: #c8a866;
  --gold-soft: #d8c391;

  --ink: #241019;        /* text on light */
  --ink-soft: rgba(36, 16, 25, 0.66);
  --ink-faint: rgba(36, 16, 25, 0.42);

  --cream: #ece6d6;      /* text on dark */
  --cream-soft: rgba(236, 230, 214, 0.66);
  --cream-faint: rgba(236, 230, 214, 0.40);

  --line-light: rgba(36, 16, 25, 0.14);
  --line-gold: rgba(200, 168, 102, 0.30);
  --line-cream: rgba(236, 230, 214, 0.16);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1240px;
  --pad-x: 40px;
  --section-y: clamp(72px, 9vw, 140px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Accessibility utilities ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
/* Visible keyboard focus for every interactive element */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 1px;
}
/* On dark sections, keep the focus ring bright */
.bg-plum a:focus-visible, .bg-plum-deep a:focus-visible,
.page-hero a:focus-visible, .hero a:focus-visible,
.site-header a:focus-visible, .site-footer a:focus-visible,
.mobile-menu a:focus-visible,
.bg-plum button:focus-visible, .bg-plum-deep button:focus-visible {
  outline-color: var(--gold-light);
}
.field input:focus-visible, .field textarea:focus-visible { outline-offset: 1px; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--ink);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Typography helpers ---------- */
.serif { font-family: var(--serif); }
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}
.italic-accent { font-style: italic; color: var(--gold); }
em { font-style: italic; }

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.08;
  letter-spacing: 0.005em;
}
.lead {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.85;
  color: var(--ink-soft);
  font-weight: 300;
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.bg-ivory { background: var(--ivory); color: var(--ink); }
.bg-ivory-200 { background: var(--ivory-200); color: var(--ink); }
.bg-plum { background: var(--plum-800); color: var(--cream); }
.bg-plum-deep { background: var(--plum-900); color: var(--cream); }

/* divider line between sections of same tone */
.rule { height: 1px; background: var(--line-light); border: 0; margin: 0; }
.rule.gold { background: var(--line-gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  padding: 17px 34px;
  border: 1px solid transparent;
  transition: background .45s var(--ease), color .45s var(--ease),
              border-color .45s var(--ease), transform .45s var(--ease);
}
.btn-gold {
  background: var(--gold);
  color: #ffffff;
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-light);
}
.btn-outline-dark:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline-cream {
  background: transparent;
  color: var(--cream);
  border-color: var(--line-cream);
}
.btn-outline-cream:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 0;
  padding: 17px 8px;
}
.btn-ghost .arrow { transition: transform .4s var(--ease); }
.btn-ghost:hover .arrow { transform: translateX(7px); }

/* text link with arrow */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.tlink .arrow { transition: transform .4s var(--ease); width: 26px; height: 1px; background: currentColor; position: relative; }
.tlink .arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.tlink:hover .arrow { width: 38px; }

/* ---------- Icons ---------- */
.svg-icon, [data-lucide] { stroke-width: 1.2; }
.icon-gold svg { color: var(--gold); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 4vw, 56px);
  transition: background .5s var(--ease), padding .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(25, 9, 18, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-top: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-cream);
}
.brand { display: flex; align-items: center; gap: 0; }
.brand img { height: 72px; width: auto; transition: height .5s var(--ease); }
.site-header.scrolled .brand img { height: 60px; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.nav-links a {
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-soft);
  position: relative;
  padding: 6px 0;
  transition: color .4s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a.active { color: var(--gold-light); }
.nav-links a.active::after, .nav-links a:hover::after { transform: scaleX(1); }

.nav .btn { padding: 13px 26px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  z-index: 120;
}
.nav-toggle span { width: 26px; height: 1.5px; background: var(--cream); transition: transform .4s var(--ease), opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 110;
  background: var(--plum-900);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 26px;
  opacity: 0; pointer-events: none;
  transition: opacity .5s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 30px;
  color: var(--cream);
  letter-spacing: 0.01em;
}
.mobile-menu a.active { color: var(--gold-light); }
.mobile-menu .btn { margin-top: 14px; font-family: var(--sans); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--plum-900); color: var(--cream); padding-top: 84px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line-cream);
}
.footer-brand img { height: 58px; margin-bottom: 22px; }
.footer-brand p { color: var(--cream-faint); font-size: 14px; max-width: 240px; line-height: 1.7; }
.footer-social { display: flex; gap: 14px; margin-top: 24px; }
.footer-social a {
  width: 38px; height: 38px; border: 1px solid var(--line-cream);
  display: flex; align-items: center; justify-content: center;
  color: var(--cream-soft); transition: all .4s var(--ease);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold-light); }
.footer-col h4 {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 22px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 13px; }
.footer-col a, .footer-col li { font-size: 14px; color: var(--cream-soft); transition: color .35s var(--ease); }
.footer-col a:hover { color: var(--cream); }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.footer-contact svg { color: var(--gold); flex: none; margin-top: 3px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 0 36px; flex-wrap: wrap; gap: 14px;
}
.footer-bottom p, .footer-bottom a { font-size: 12.5px; color: var(--cream-faint); letter-spacing: 0.03em; }
.footer-legal { display: flex; gap: 28px; }
.footer-legal a:hover { color: var(--cream); }

/* ============================================================
   SHARED PRIMITIVES
   ============================================================ */
/* page hero (interior pages) */
.page-hero {
  position: relative;
  padding-top: 200px;
  padding-bottom: var(--section-y);
  background: var(--plum-900);
  color: var(--cream);
  overflow: hidden;
}
.page-hero .eyebrow { margin-bottom: 26px; }
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(46px, 7vw, 92px);
  line-height: 1.02;
  max-width: 14ch;
}
.page-hero p { margin-top: 28px; max-width: 52ch; color: var(--cream-soft); font-size: clamp(15px,1.2vw,18px); }
.page-hero .watermark {
  position: absolute; right: -60px; bottom: -120px;
  width: 520px; opacity: 0.05; pointer-events: none;
}

/* two-col editorial block */
.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}
.editorial .col-text p + p { margin-top: 20px; }

/* icon row (who we work with) */
.icon-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.icon-cell {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 18px; padding: 8px 22px;
  border-left: 1px solid var(--line-cream);
}
.icon-cell:first-child { border-left: 0; }
.icon-cell svg { color: var(--gold); width: 34px; height: 34px; }
.icon-cell .label {
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; line-height: 1.5; color: var(--cream);
}

/* feature columns (services / what's included) */
.feature-grid { display: grid; gap: 0; }
.feature-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.feature-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.feature-cell {
  text-align: center;
  padding: 6px clamp(18px, 2.2vw, 34px);
  border-left: 1px solid var(--line-cream);
}
.feature-cell:first-child { border-left: 0; }
.feature-grid.on-light .feature-cell { border-color: var(--line-light); }
.feature-cell .ficon { height: 46px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.feature-cell .ficon svg { color: var(--gold); width: 38px; height: 38px; }
.feature-cell h3 {
  font-family: var(--sans); font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.55;
  margin-bottom: 16px;
}
.feature-cell p { font-size: 14px; line-height: 1.7; color: var(--cream-soft); font-weight: 300; }
.feature-grid.on-light .feature-cell p { color: var(--ink-soft); }

/* ============================================================
   SCROLL REVEAL  (base state is VISIBLE; hidden only when .js is set,
   so content can never be stranded if animation never runs)
   ============================================================ */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js .reveal:not(.in) { opacity: 0; transform: translateY(26px); }
  .js .reveal.d1 { transition-delay: .08s; }
  .js .reveal.d2 { transition-delay: .16s; }
  .js .reveal.d3 { transition-delay: .24s; }
  .js .reveal.d4 { transition-delay: .32s; }
  .js .reveal.d5 { transition-delay: .40s; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 1080px) {
  .nav-links, .nav .btn { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 900px) {
  .nav-links, .nav .btn { display: none; }
  .nav-toggle { display: flex; }
  .icon-row { grid-template-columns: repeat(2, 1fr); gap: 1px; }
  .icon-cell { border-left: 0; border-top: 1px solid var(--line-cream); padding: 28px 14px; }
  .icon-cell:nth-child(-n+2) { border-top: 0; }
  .feature-grid.cols-4, .feature-grid.cols-5 { grid-template-columns: 1fr 1fr; gap: 0; }
  .feature-cell { border-left: 0 !important; border-top: 1px solid var(--line-cream); padding: 36px 18px; }
  .feature-grid.on-light .feature-cell { border-top-color: var(--line-light); }
  .feature-cell:nth-child(-n+2) { border-top: 0; }
  .editorial { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 600px) {
  :root { --pad-x: 22px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .icon-row, .feature-grid.cols-4, .feature-grid.cols-5 { grid-template-columns: 1fr; }
  .icon-cell, .feature-cell { border-top: 1px solid var(--line-cream); }
  .icon-cell:first-child, .feature-cell:first-child { border-top: 0; }
  .icon-cell:nth-child(2), .feature-cell:nth-child(2) { border-top: 1px solid var(--line-cream); }
  .feature-grid.on-light .feature-cell:nth-child(2) { border-top-color: var(--line-light); }
}
