:root {
  --plum: #3a1365;        /* deep purple */
  --plum-dark: #24093f;
  --plum-mid: #6b3fa0;
  --lilac: #d8c8f0;       /* light purple */
  --lilac-soft: #f3eefb;
  --ink: #111014;         /* black */
  --paper: #ffffff;       /* white */
  --muted: #5d5868;
  --radius: 18px;
  --max: 1160px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--plum); }
a:hover { color: var(--plum-mid); }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--lilac { background: var(--lilac-soft); }
.section--plum { background: var(--plum); color: #fff; }
.section--plum a:not(.btn) { color: var(--lilac); }
.section--plum .btn--light, .contact-aside .btn--light { color: var(--plum); }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--plum-mid); margin-bottom: 14px;
}
.section--plum .eyebrow { color: var(--lilac); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }
.section--plum .lead { color: #e7def5; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
  font-family: var(--sans);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--plum); color: #fff; }
.btn--primary:hover { background: var(--plum-dark); color: #fff; }
.btn--light { background: #fff; color: var(--plum); }
.btn--light:hover { background: var(--lilac); color: var(--plum-dark); }
.btn--ghost { border-color: currentColor; color: var(--plum); background: transparent; }
.section--plum .btn--ghost, .hero .btn--ghost { color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid #ece6f5;
  min-height: 72px;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; color: var(--plum); text-decoration: none; letter-spacing: -0.01em; }
.brand span { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  text-decoration: none; color: var(--ink); font-weight: 500; padding: 8px 14px; border-radius: 999px; font-size: .98rem;
}
.nav a:hover { background: var(--lilac-soft); color: var(--plum); }
.nav a[aria-current="page"] { color: var(--plum); background: var(--lilac-soft); }
.nav .btn { margin-left: 8px; padding: 10px 20px; color: #fff; }
.nav .btn:hover { background: var(--plum-dark); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--plum); }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; padding: 12px 24px 24px; border-bottom: 1px solid #ece6f5; display: none; gap: 2px;
  }
  .nav.open { display: flex; }
  .nav .btn { margin: 10px 0 0; justify-content: center; }
}

/* Hero */
.hero { background: radial-gradient(1200px 600px at 85% -10%, #5c2d93 0%, transparent 60%), var(--plum-dark); color: #fff; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: italic; color: var(--lilac); font-weight: 500; }
.hero .tagline { font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-style: italic; color: var(--lilac); margin-bottom: 18px; }
.hero p.lead { color: #e2d8f2; }
.hero-photo { position: relative; }
.hero-photo img { border-radius: 220px 220px var(--radius) var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.hero-photo::before {
  content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 2px solid var(--lilac); border-radius: 220px 220px var(--radius) var(--radius); opacity: .5;
}
.creds { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 30px; font-size: .92rem; color: #cbbde3; }
.creds strong { color: #fff; font-weight: 600; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; }
  .hero-photo { max-width: 380px; margin: 0 auto; width: 100%; }
}

/* Cards / grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; gap: 36px; } }
.card {
  background: #fff; border: 1px solid #e9e1f5; border-radius: var(--radius); padding: 32px;
  display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(58,19,101,.12); }
.card .icon { width: 52px; height: 52px; border-radius: 14px; background: var(--lilac); color: var(--plum); display: grid; place-items: center; margin-bottom: 20px; }
.card p { color: var(--muted); }
.card .more { margin-top: auto; font-weight: 700; text-decoration: none; }

.photo-frame img { border-radius: var(--radius); width: 100%; object-fit: cover; }
.quote {
  font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.3; font-style: italic; color: var(--plum);
  border-left: 4px solid var(--lilac); padding-left: 24px; margin: 0 0 24px;
}
.section--plum .quote { color: #fff; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.stat { border-top: 2px solid var(--lilac); padding-top: 16px; }
.stat b { display: block; font-family: var(--serif); font-size: 2.4rem; color: var(--plum); line-height: 1; margin-bottom: 6px; }
.stat span { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }

/* Podcast */
.podcast { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.podcast-badge {
  width: 180px; height: 180px; border-radius: 28px; background: linear-gradient(145deg, var(--lilac), #fff);
  color: var(--plum); display: grid; place-items: center; text-align: center; padding: 18px;
  font-family: var(--serif); font-weight: 600; line-height: 1.15; box-shadow: 0 20px 40px rgba(0,0,0,.25);
}
.podcast-badge small { display: block; font-family: var(--sans); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; margin-top: 8px; color: var(--plum-mid); }
@media (max-width: 700px) { .podcast { grid-template-columns: 1fr; } .podcast-badge { margin: 0 auto; } }

/* Posts */
.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .post-list { grid-template-columns: 1fr; } }
.post-card { background: #fff; border: 1px solid #e9e1f5; border-radius: var(--radius); padding: 28px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(58,19,101,.12); color: var(--ink); }
.post-card time { font-size: .85rem; color: var(--plum-mid); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.post-card h3 { margin: 10px 0; }
.post-card p { color: var(--muted); margin-bottom: 16px; }
.post-card .more { margin-top: auto; color: var(--plum); font-weight: 700; }
.empty { color: var(--muted); }

/* Article */
.article { max-width: 720px; margin: 0 auto; }
.article h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); }
.article .meta { color: var(--plum-mid); font-weight: 700; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 28px; }
.article p { font-size: 1.15rem; }
.article blockquote { margin: 28px 0; }
.back { display: inline-block; margin-bottom: 28px; font-weight: 700; text-decoration: none; }

/* Page header */
.page-head { background: var(--plum-dark); color: #fff; padding: 72px 0 64px; }
.page-head h1 { color: #fff; margin-bottom: 12px; }
.page-head .lead { color: #e2d8f2; }

/* Lists */
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { padding: 16px 0; border-bottom: 1px solid #ece6f5; display: grid; grid-template-columns: 90px 1fr; gap: 16px; }
.timeline li b { color: var(--plum); font-family: var(--serif); }
.timeline li span small { display: block; color: var(--muted); }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.pill-list li { background: var(--lilac-soft); color: var(--plum); border-radius: 999px; padding: 8px 16px; font-weight: 500; font-size: .95rem; }

/* Form */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.form label { font-weight: 600; font-size: .95rem; display: block; margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid #ddd3ec; border-radius: 12px; font: inherit; background: #fff; color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--plum-mid); box-shadow: 0 0 0 4px rgba(107,63,160,.15); }
.form textarea { min-height: 160px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 16px 20px; border-radius: 12px; margin-bottom: 20px; font-weight: 500; }
.notice--ok { background: #e9f7ee; color: #17603a; }
.notice--err { background: #fdecec; color: #8a1c1c; }
.contact-aside { background: var(--plum); color: #fff; border-radius: var(--radius); padding: 36px; }
.contact-aside h3 { color: #fff; }
.contact-aside a { color: var(--lilac); }
.contact-aside ul { padding-left: 18px; }

/* Social */
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.1); color: #fff; transition: background .15s ease, transform .15s ease;
}
.social a:hover { background: var(--lilac); color: var(--plum-dark); transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; }
.social--dark a { background: var(--lilac-soft); color: var(--plum); }
.social--dark a:hover { background: var(--plum); color: #fff; }

/* Footer */
.site-footer { background: var(--ink); color: #cfc8da; padding: 64px 0 32px; font-size: .95rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--sans); color: #fff; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: #e5dcf5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .brand { color: #fff; }
.site-footer .brand span { color: var(--lilac); }
.site-footer .legal { border-top: 1px solid #2a2730; margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: #8f879c; }
