/* ─────────────────────────────────────────────────────────────
   What Kate Covets — shared site styles
   Brand: Playfair Display (serif) + Jost (sans)
   Plum #4B4658 · Rose #F3F1F4 · Pink #A27C8C
   ───────────────────────────────────────────────────────────── */

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

:root {
  --plum:       #4B4658;
  --plum-deep:  #3D3849;
  --plum-mid:   #6B6578;
  --pink:       #A27C8C;
  --rose-bg:    #F3F1F4;
  --white:      #FFFFFF;
  --text:       #332F38;
  --text2:      #6F6876;
  --text3:      #948C9C;
  --divider:    #E7E2EA;
  --tag-bg:     #EEEAF0;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Jost', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--rose-bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
}

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

/* ── Header ─────────────────────────────────────────────── */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(243, 241, 244, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--divider);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 62px;
  display: flex; align-items: center; gap: 16px;
}
.brand {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 20px;
  color: var(--plum);
  text-decoration: none;
  letter-spacing: .01em;
  white-space: nowrap;
  margin-right: auto;
}
.brand em { font-style: italic; font-weight: 400; }

.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a:not(.btn) {
  font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--text2);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
  transition: color .18s ease, border-color .18s ease;
}
.site-nav a:not(.btn):hover { color: var(--plum); }
.site-nav a:not(.btn)[aria-current="page"] {
  color: var(--plum);
  border-bottom-color: var(--pink);
}

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 42px; height: 42px;
  padding: 10px;
  flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span {
  display: block; height: 1.5px; width: 100%;
  background: var(--plum);
  transition: transform .22s ease, opacity .18s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Buttons ────────────────────────────────────────────── */

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 14px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--white);
  background: var(--plum);
  border: 1px solid var(--plum);
  border-radius: 12px;
  padding: 13px 26px;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover, .btn:focus-visible {
  background: var(--plum-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(75, 70, 88, .22);
  outline: none;
}
.btn:active { transform: translateY(0); box-shadow: none; }

.btn.btn-small { padding: 9px 18px; font-size: 12px; }

.btn.btn-light {
  background: var(--white);
  border-color: var(--white);
  color: var(--plum);
}
.btn.btn-light:hover, .btn.btn-light:focus-visible {
  background: var(--rose-bg);
  border-color: var(--rose-bg);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
}

.text-link { color: var(--pink); text-decoration: none; font-weight: 400; }
.text-link:hover { text-decoration: underline; }

/* ── Page hero (interior pages) ─────────────────────────── */

.page-hero {
  background: var(--plum);
  padding: 48px 24px 52px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero-circles {
  position: absolute; top: -30px; right: -40px;
  width: 220px; height: 220px;
  pointer-events: none; opacity: .9;
}
.page-hero .kicker { color: rgba(255, 255, 255, .62); position: relative; }
.page-hero h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(32px, 8vw, 46px);
  line-height: 1.12;
  color: var(--white);
  position: relative;
}
.page-hero h1 em { font-style: italic; font-weight: 400; }
.page-hero .hero-sub {
  font-size: 15px; font-weight: 300;
  color: rgba(255, 255, 255, .78);
  max-width: 480px;
  margin: 14px auto 0;
  line-height: 1.6;
  position: relative;
}

/* ── Typography helpers ─────────────────────────────────── */

.kicker {
  font-size: 11px; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(27px, 6.4vw, 36px);
  line-height: 1.16;
  color: var(--plum);
}
.section-title em { font-style: italic; font-weight: 400; }

.prose p {
  font-size: 16px; font-weight: 300;
  line-height: 1.75;
  color: var(--text2);
}
.prose p + p { margin-top: 16px; }
.prose strong { font-weight: 500; color: var(--text); }
.prose a { color: var(--pink); text-decoration: none; font-weight: 400; }
.prose a:hover { text-decoration: underline; }

/* ── Layout ─────────────────────────────────────────────── */

.section { max-width: 1100px; margin: 0 auto; padding: 64px 20px; }
.section + .section { padding-top: 0; }
.section-narrow { max-width: 760px; }

.rule {
  height: 1px; background: var(--divider);
  max-width: 1060px; margin: 0 auto;
}

.media-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
@media (min-width: 800px) {
  .media-split { grid-template-columns: 5fr 7fr; gap: 56px; }
  .media-split.flip .split-media { order: 2; }
}
.split-media img,
.split-media video {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(75, 70, 88, .16);
}

/* ── Footer ─────────────────────────────────────────────── */

.site-footer {
  background: var(--plum);
  color: rgba(255, 255, 255, .78);
  margin-top: 24px;
  padding: 52px 24px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.footer-brand {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 24px;
  color: var(--white);
}
.footer-tag {
  font-size: 11px; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  margin-top: 10px;
}
.footer-nav {
  margin-top: 26px;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px 22px;
}
.footer-nav a {
  font-size: 12px; font-weight: 400;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
  text-decoration: none;
}
.footer-nav a:hover { color: var(--white); }
.footer-contact {
  margin-top: 26px;
  font-size: 14px; font-weight: 300;
  line-height: 1.9;
}
.footer-contact a { color: var(--white); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-copy {
  margin-top: 26px;
  font-size: 12px; font-weight: 300;
  color: rgba(255, 255, 255, .45);
}

/* ── Mobile nav ─────────────────────────────────────────── */

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--rose-bg);
    border-bottom: 1px solid var(--divider);
    box-shadow: 0 18px 32px rgba(75, 70, 88, .12);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 22px;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) {
    padding: 14px 2px;
    font-size: 13px;
    border-bottom: 1px solid var(--divider);
  }
  .site-nav a:not(.btn)[aria-current="page"] { border-bottom-color: var(--divider); color: var(--pink); }
  .site-nav .btn { display: none; }
  .header-book { display: inline-block; }
}
@media (min-width: 901px) {
  .header-book { display: none; }
}
