/* Pieces to Power — light theme
   Cream, gold and charcoal sampled from Megan's logo:
   cream #f9f0e5, gold #b89a74 / #bc996f, charcoal #2f2c2a / #393432.
*/

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("assets/fonts/outfit.woff2") format("woff2");
}

@font-face {
  font-family: "Great Vibes";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/great-vibes.woff2") format("woff2");
}

:root {
  --cream: #f9f0e5;
  --cream-deep: #f3e8d8;
  --ivory: #fdf8f1;
  --card: #fffaf4;
  --gold: #b89a74;
  --gold-mid: #bc996f;
  --gold-bright: #c9ab82;
  --gold-deep: #9b8160;
  --charcoal: #2f2c2a;
  --charcoal-soft: #393432;
  --muted: #5c5652;
  --muted-2: #7a736e;
  --line: rgba(184, 154, 116, 0.42);
  --line-strong: rgba(184, 154, 116, 0.7);
  --font-serif: "Cormorant Garamond", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --font-sans: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-script: "Great Vibes", "Palatino Linotype", cursive;
  --header-h: 4.5rem;
  --shadow: 0 16px 40px rgba(47, 44, 42, 0.08);
  --radius: 18px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--gold-deep); text-underline-offset: 0.18em; }
a:hover { color: var(--charcoal); }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--gold);
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 0.6rem 1rem;
  border-radius: 999px;
}
.skip-link:focus { top: 0.75rem; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(253, 248, 241, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--charcoal);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
}
.logo:hover { color: var(--charcoal); }

.logo-mark-img {
  width: auto;
  height: 2.35rem;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--charcoal);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold-deep);
  border-bottom-color: var(--gold);
}

/* ---------- Layout ---------- */

.wrap {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  scroll-margin-top: calc(var(--header-h) + 1rem);
  padding: clamp(4.25rem, 10vw, 7.25rem) 0;
  position: relative;
}

section + section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(72rem, calc(100% - 3rem));
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.section-title {
  margin: 0 0 1.5rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 4.6vw, 3.35rem);
  line-height: 1.12;
  color: var(--charcoal);
  letter-spacing: -0.015em;
}

.lede,
.prose p {
  margin: 0 0 1.15rem;
  color: var(--charcoal-soft);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.75;
}
.prose p:last-child { margin-bottom: 0; }
.lede-narrow { max-width: 38rem; }

.pullquote {
  margin: 2rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.4;
  color: var(--charcoal);
  max-width: 34rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: var(--gold);
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 0.9rem 1.55rem;
  border-radius: 999px;
  border: 1px solid var(--gold);
  box-shadow: 0 8px 20px rgba(47, 44, 42, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.btn:hover,
.btn:focus-visible {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: var(--charcoal);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(155, 129, 96, 0.28);
}
.btn svg { width: 1.2rem; height: 1.2rem; flex-shrink: 0; }

.btn-ghost {
  background: transparent;
  color: var(--gold-deep);
  box-shadow: none;
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(184, 154, 116, 0.12);
  color: var(--charcoal);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1rem;
  margin-top: 1.75rem;
}

/* ---------- Hero ---------- */

.hero {
  padding: clamp(2.25rem, 6vw, 4.5rem) 0 clamp(4rem, 9vw, 6.5rem);
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, #fffaf4, transparent 70%),
    var(--cream);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.hero-logo {
  margin: 0;
  width: min(100%, 22rem);
}
.hero-logo img { width: 100%; height: auto; }

.hero-copy { text-align: center; }

.tagline {
  margin: 0.25rem 0 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  line-height: 1.35;
  color: var(--charcoal);
}

.identity {
  margin: 1rem 0 0;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.hero .btn-row { justify-content: center; }

.status-pill,
.coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}
.status-pill::before,
.coming-soon::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(184, 154, 116, 0.22);
}

/* ---------- About ---------- */

#about { background: var(--ivory); }

.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.about-photo {
  margin: 0;
  justify-self: center;
  width: min(100%, 28rem);
}
.about-photo img {
  width: 100%;
  border-radius: 8px;
  border: 2px solid var(--gold);
  box-shadow: var(--shadow);
}

/* ---------- Podcast ---------- */

#podcast { background: var(--cream); }

.podcast-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.podcast-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.show-card {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  margin: 0;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--shadow);
}
.show-card img {
  width: 5.25rem;
  height: 5.25rem;
  border-radius: 8px;
  border: 2px solid var(--gold);
  flex-shrink: 0;
  object-fit: cover;
}
.show-card h3 {
  margin: 0.15rem 0 0.25rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.45rem;
  color: var(--charcoal);
  line-height: 1.15;
}
.show-card .show-card-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.show-card .coming-soon { margin: 0.15rem 0 0; }

.spotify-embed {
  display: block;
  width: 100%;
  height: 152px;
  min-height: 152px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  overflow: hidden;
}

.embed-fallback {
  margin: 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
}
.embed-fallback a { color: var(--gold-deep); }

/* ---------- Follow / Contact ---------- */

#follow { background: var(--ivory); }

.social-grid {
  display: grid;
  gap: 1.15rem;
  margin-top: 2rem;
}

.social-card {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.25rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
a.social-card:hover,
a.social-card:focus-visible {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  color: inherit;
}
.social-card.is-placeholder {
  border-style: dashed;
  opacity: 0.92;
}

.social-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(184, 154, 116, 0.16);
  color: var(--gold-deep);
  flex-shrink: 0;
}
.social-icon svg { width: 1.2rem; height: 1.2rem; }

.social-card h3 {
  margin: 0.1rem 0 0.2rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--charcoal);
  line-height: 1.2;
}
.social-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 400;
}

.placeholder-note {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--gold-deep);
  font-weight: 500;
}

#contact { background: var(--cream); }

.contact-inner { max-width: 38rem; }
.contact-actions { margin-top: 1.75rem; }
.mailto-placeholder {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--cream-deep);
  padding: 2.5rem 0 2.15rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}

.footer-brand {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--charcoal);
  text-decoration: none;
}
.footer-brand:hover { color: var(--gold-deep); }

.footer-tag {
  margin: 0.2rem 0 0;
  font-family: var(--font-script);
  font-size: 1.35rem;
  color: var(--charcoal-soft);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}
.footer-nav a {
  color: var(--charcoal);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-nav a:hover { color: var(--gold-deep); }

.copyright {
  margin: 0;
  color: var(--muted-2);
  font-size: 0.82rem;
}

/* ---------- Breakpoints ---------- */

@media (min-width: 640px) {
  .social-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: minmax(16rem, 24rem) 1fr;
    gap: 4.5rem;
    align-items: start;
    justify-items: stretch;
    text-align: left;
  }
  .hero-logo { width: 100%; margin: 0; }
  .hero-copy { text-align: left; padding-top: 3.25rem; }
  .hero .btn-row { justify-content: flex-start; }

  .about-grid {
    grid-template-columns: minmax(16rem, 22rem) 1fr;
    gap: 4rem;
    align-items: center;
  }
  .about-photo { width: 100%; justify-self: start; }

  .podcast-grid {
    grid-template-columns: 1fr minmax(20rem, 30rem);
    gap: 3.5rem;
    align-items: start;
  }

  .footer-inner {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

@media (max-width: 720px) {
  :root { --header-h: 6.6rem; }

  .site-header .wrap {
    flex-direction: column;
    align-items: center;
    padding: 0.8rem 1.15rem 0.7rem;
    gap: 0.6rem;
  }
  .site-nav {
    justify-content: center;
    width: 100%;
    gap: 0.15rem 1.15rem;
    padding-top: 0.55rem;
    border-top: 1px solid var(--line);
  }
  .site-nav a { font-size: 0.72rem; letter-spacing: 0.11em; }

  .hero { padding: 1.65rem 0 3.1rem; }
  .hero-grid { gap: 1.15rem; }
  .hero-logo { width: min(100%, 16.5rem); }
}

@media (max-width: 480px) {
  .logo-text { font-size: 1.08rem; }
  .wrap { padding: 0 1.15rem; }
  .footer-nav { gap: 0.5rem 0.85rem; max-width: 100%; }
  .footer-nav a { letter-spacing: 0.08em; font-size: 0.74rem; }
}

@media (prefers-reduced-motion: reduce) {
  html, html:focus-within { scroll-behavior: auto; }
  .btn, .social-card, a.social-card:hover { transition: none; }
  .btn:hover, a.social-card:hover { transform: none; }
}
