/* ============================================
   Dr Julie Smith — site refresh
   Palette: deep indigo ink, soft lilac, iris, coral accent
   ============================================ */

:root {
  --ink: #26262c;
  --ink-soft: #5a5a64;
  --iris: #6e66b8;
  --iris-dark: #59519f;
  --iris-tint: #f0eff8;
  --coral: #ee8a38;
  --pink: #e4548e;
  --pink-tint: #fbe9f1;
  --coral-tint: #fdf1e4;
  --cream: #faf8f4;
  --white: #ffffff;
  --teal: #2bb8bc;
  --yellow: #f6c445;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -18px rgba(38, 38, 44, 0.20);
  --shadow-soft: 0 10px 30px -12px rgba(38, 38, 44, 0.13);
  --font-sans: "Plus Jakarta Sans", "Segoe UI", -apple-system, sans-serif;
  --font-script: "Libre Baskerville", Georgia, "Times New Roman", serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--iris); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Type ---------- */

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.35rem; }

.eyebrow {
  font-family: var(--font-script);
  font-style: italic;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  color: var(--iris);
  display: block;
  margin-bottom: 12px;
}

.eyebrow.on-dark { color: #f7d9a8; }
.eyebrow.coral { color: var(--pink); }

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 60ch;
}

.center { text-align: center; }
.center .lede, .center .eyebrow { margin-left: auto; margin-right: auto; }


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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  cursor: pointer;
  border: none;
}

.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn-primary {
  background: var(--iris);
  color: #fff;
  box-shadow: 0 12px 28px -10px rgba(110, 102, 184, 0.55);
}
.btn-primary:hover { background: var(--iris-dark); }

.btn-coral {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 12px 28px -10px rgba(238, 138, 56, 0.5);
}
.btn-coral:hover { background: #db7825; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid rgba(38, 38, 44, 0.18);
}
.btn-ghost:hover { border-color: var(--ink); }

.btn-light {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.btn .arrow { transition: transform 0.18s ease; }
.btn:hover .arrow { transform: translateX(4px); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 244, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(38, 38, 44, 0.07);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.logo:hover { text-decoration: none; }
.logo .dot { color: var(--iris); }
.logo .script {
  font-family: var(--font-script);
  font-style: italic;
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--iris);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
  position: relative;
}
.nav-links a:hover { text-decoration: none; color: var(--iris); }
.nav-links a.active { color: var(--iris); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 3px;
  border-radius: 3px;
  background: var(--coral);
}

.nav-cta { margin-left: 8px; }

.nav-links a.btn-primary,
.nav-links a.btn-primary:hover { color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--ink);
}

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

.hero {
  padding: 70px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 .accent { color: var(--iris); }
.hero h1 .accent-coral { color: var(--coral); }

.hero .lede { margin: 22px 0 30px; }

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-social-proof {
  margin-top: 36px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.proof-item strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.proof-item span { color: var(--ink-soft); font-size: 0.88rem; }

/* portrait card */
.hero-visual { position: relative; }

.portrait-card {
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #6e66b8 0%, #e4548e 55%, #ee8a38 110%);
  aspect-ratio: 4/4.6;
  position: relative;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portrait-card .placeholder-note {
  color: rgba(255,255,255,0.92);
  text-align: center;
  padding: 24px;
  font-weight: 600;
}
.portrait-card .placeholder-note .big {
  font-family: var(--font-script);
  font-style: italic;
  font-size: 1.6rem;
  display: block;
  margin-bottom: 6px;
}

.float-chip {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 12px 18px;
  font-weight: 700;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: floaty 5s ease-in-out infinite;
}

.float-chip .emoji { font-size: 1.4rem; }
.float-chip small { display: block; font-weight: 500; color: var(--ink-soft); font-size: 0.78rem; }

.chip-1 { top: 8%; left: -30px; animation-delay: 0s; }
.chip-2 { bottom: 20%; right: -26px; animation-delay: 1.4s; }
.chip-3 { bottom: -18px; left: 12%; animation-delay: 2.6s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* squiggle decorations */
.squiggle {
  position: absolute;
  color: var(--coral);
  opacity: 0.7;
  pointer-events: none;
}

/* ---------- Sections ---------- */

section { padding: 84px 0; }

.section-head { margin-bottom: 46px; }
.section-head.split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.band-iris {
  background: var(--iris);
  color: #fff;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.band-iris .lede { color: rgba(255,255,255,0.85); }

.band-ink {
  background: var(--ink);
  color: #fff;
}
.band-ink .lede { color: rgba(255,255,255,0.78); }

.band-tint { background: var(--iris-tint); }
.band-coral-tint { background: var(--coral-tint); }

/* blob decoration inside iris band */
.blob {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  pointer-events: none;
}

/* ---------- Stats band ---------- */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}

.stat strong {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  display: block;
  letter-spacing: -0.03em;
}
.stat strong .plus { color: var(--coral); }
.band-ink .stat strong .plus { color: var(--teal); }
.stat .stat-label { font-weight: 700; display: block; margin-top: 2px; }
.stat p { font-size: 0.9rem; color: rgba(255,255,255,0.7); margin-top: 6px; }

/* ---------- Topic / content cards ---------- */

.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.topic-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.topic-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.topic-card .icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.icon-iris { background: var(--iris-tint); }
.icon-coral { background: var(--coral-tint); }
.icon-teal { background: #e3f6f6; }
.icon-yellow { background: var(--pink-tint); }

.topic-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.topic-card p { color: var(--ink-soft); font-size: 0.94rem; }

/* ---------- Book cards ---------- */

.books-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.book-feature {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 34px;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.book-feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

/* CSS book cover */
.book-cover {
  aspect-ratio: 2/3;
  border-radius: 6px 14px 14px 6px;
  position: relative;
  box-shadow: 14px 18px 38px -12px rgba(38,38,44,0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 18px 22px 26px;
  color: #fff;
  transform: rotate(-2deg);
  transition: transform 0.25s ease;
}
.book-feature:hover .book-cover,
.book-hero:hover .book-cover { transform: rotate(0deg) scale(1.02); }

.book-cover::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 10px;
  border-radius: 6px 0 0 6px;
  background: rgba(0,0,0,0.18);
}

.cover-open-when { background: linear-gradient(160deg, #ee8a38 0%, #e4548e 60%, #6e66b8 110%); }
.cover-why-has { background: linear-gradient(160deg, #59519f 0%, #6e66b8 55%, #2bb8bc 120%); }

.book-cover .cover-script {
  font-family: var(--font-script);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.05;
  font-weight: 700;
}
.book-cover .cover-title {
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.book-cover .cover-author {
  margin-top: 14px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.9;
}

.book-info .badge-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }

.badge {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.badge-iris { background: var(--iris-tint); color: var(--iris-dark); }
.badge-coral { background: var(--coral-tint); color: #b96518; }
.badge-teal { background: #e3f6f6; color: #1b8c90; }
.badge-yellow { background: #fdf4dc; color: #a3720a; }

.book-info h3 { font-size: 1.5rem; margin-bottom: 10px; }
.book-info p { color: var(--ink-soft); font-size: 0.97rem; margin-bottom: 18px; }

/* ---------- Testimonials ---------- */

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.quote-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 34px 30px;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.quote-card .mark {
  font-family: var(--font-script);
  font-size: 3rem;
  color: var(--pink);
  line-height: 0.8;
  display: block;
  margin-bottom: 14px;
}

.quote-card blockquote {
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.55;
  margin-bottom: 20px;
}

.quote-card cite {
  font-style: normal;
  color: var(--ink-soft);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.quote-card cite::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--iris);
}

/* ---------- Press strip ---------- */

.press-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 46px;
  flex-wrap: wrap;
  opacity: 0.75;
}

.press-strip span {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
  white-space: nowrap;
}

/* ---------- Event cards ---------- */

.event-list { display: grid; gap: 16px; }

.event-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 26px 30px;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 26px;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.event-date {
  background: var(--iris-tint);
  border-radius: var(--radius-sm);
  text-align: center;
  padding: 12px 8px;
}
.event-date .day { font-size: 1.7rem; font-weight: 800; color: var(--iris-dark); display: block; line-height: 1; }
.event-date .month { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }

.event-card h3 { font-size: 1.18rem; margin-bottom: 4px; }
.event-card .meta { color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- CTA split band ---------- */

.cta-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.cta-split .cta-visual {
  background: linear-gradient(145deg, #ee8a38, #e4548e 55%, #6e66b8 120%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  color: #fff;
  font-family: var(--font-script);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.5;
  text-align: center;
  padding: 30px;
}

.cta-split .cta-body {
  background: var(--iris);
  color: #fff;
  padding: 54px 50px;
  position: relative;
  overflow: hidden;
}
.cta-split .cta-body p { color: rgba(255,255,255,0.85); margin: 12px 0 26px; max-width: 46ch; }

/* ---------- Newsletter ---------- */

.newsletter-box {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 60px 54px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.newsletter-box p { color: rgba(255,255,255,0.75); margin-top: 10px; }

.newsletter-form { display: grid; gap: 12px; }
.newsletter-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.newsletter-form input {
  padding: 15px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.07);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form input:focus { outline: 2px solid var(--coral); border-color: transparent; }

.newsletter-form .privacy { font-size: 0.78rem; color: rgba(255,255,255,0.5); }

/* ---------- Crisis note ---------- */

.crisis-note {
  border: 2px dashed rgba(38, 38, 44, 0.2);
  border-radius: var(--radius-md);
  padding: 30px 34px;
  background: #fff;
}
.crisis-note h3 { margin-bottom: 8px; font-size: 1.1rem; }
.crisis-note p { color: var(--ink-soft); font-size: 0.94rem; }
.crisis-note strong { color: var(--ink); }

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  padding: 70px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-hero .lede { margin-top: 18px; }

/* ---------- Credentials list ---------- */

.cred-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.cred-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-soft);
}
.cred-card .icon { font-size: 1.8rem; margin-bottom: 14px; display: block; }
.cred-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.cred-card p { color: var(--ink-soft); font-size: 0.92rem; }

/* checklist */
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 600;
}
.check-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--iris-tint);
  color: var(--iris-dark);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  margin-top: 2px;
}
.band-ink .check-list li::before { background: rgba(255,255,255,0.12); color: var(--teal); }

/* two-column text/media */
.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.media-tile {
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3.4;
  background: linear-gradient(145deg, #6e66b8, #e4548e 55%, #2bb8bc 130%);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.92);
  text-align: center;
  padding: 26px;
  font-weight: 600;
}
.media-tile .big { font-family: var(--font-script); font-style: italic; font-size: 1.5rem; display: block; margin-bottom: 6px; }

.media-tile.warm { background: linear-gradient(145deg, #ee8a38, #e4548e 60%, #6e66b8 130%); }

/* ---------- Bookshelf ---------- */

.shelf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.shelf-book {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease;
}
.shelf-book:hover { transform: translateY(-5px); }

.shelf-spine {
  height: 130px;
  border-radius: 8px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  color: #fff;
  font-family: var(--font-script);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.25;
}
.spine-1 { background: linear-gradient(150deg, #2bb8bc, #1b8c90); }
.spine-2 { background: linear-gradient(150deg, #ee8a38, #db7825); }
.spine-3 { background: linear-gradient(150deg, #6e66b8, #59519f); }
.spine-4 { background: linear-gradient(150deg, #e4548e, #c23d75); }

.shelf-book h3 { font-size: 1rem; margin-bottom: 4px; }
.shelf-book p { color: var(--ink-soft); font-size: 0.86rem; }

/* ---------- Social row ---------- */

.social-row { display: flex; gap: 12px; flex-wrap: wrap; }

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  transition: transform 0.18s ease;
}
.social-pill:hover { transform: translateY(-3px); text-decoration: none; color: var(--iris); }

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

.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 70px 0 34px;
  margin-top: 90px;
  border-radius: 40px 40px 0 0;
}

.footer-quote {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}
.footer-quote blockquote {
  font-family: var(--font-script);
  font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  line-height: 1.55;
  color: #fff;
}
.footer-quote cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 34px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.footer-links { display: flex; gap: 22px; flex-wrap: wrap; list-style: none; }
.footer-links a { color: rgba(255,255,255,0.75); font-size: 0.9rem; font-weight: 600; }
.footer-links a:hover { color: #fff; text-decoration: none; }

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  transition: background 0.18s ease, transform 0.18s ease;
}
.footer-social a:hover { background: var(--coral); text-decoration: none; transform: translateY(-3px); }

.footer-bottom {
  text-align: center;
  margin-top: 34px;
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
}

/* ---------- Photo & logo styles ---------- */

.portrait-card img,
.media-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.portrait-card img { object-position: 72% center; }

.book-img {
  width: 100%;
  max-width: 300px;
  height: auto;
  filter: drop-shadow(14px 18px 30px rgba(38,38,44,0.35));
  transition: transform 0.25s ease;
}
.book-feature:hover .book-img,
.book-hero:hover .book-img { transform: scale(1.03); }

.book-photo {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}
.book-feature:hover .book-photo,
.book-hero:hover .book-photo { transform: scale(1.02); }

.shelf-cover {
  height: 210px;
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
  background: var(--iris-tint);
}
.shelf-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.event-card:has(.event-logo) { grid-template-columns: 92px 1fr auto auto; }

.event-logo {
  height: 46px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  border-radius: 8px;
  justify-self: end;
}

.partner-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.partner-logos img {
  height: 52px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
}

.logo-collage {
  max-width: 760px;
  margin: 0 auto;
  display: block;
}

.cta-visual.has-img {
  background-size: cover;
  background-position: center;
  min-height: 320px;
}
.cta-visual.has-img span {
  background: rgba(38, 38, 44, 0.55);
  padding: 14px 22px;
  border-radius: 14px;
  backdrop-filter: blur(3px);
}

.photo-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  max-height: 340px;
}
.photo-banner img {
  width: 100%;
  height: 100%;
  max-height: 340px;
  object-fit: cover;
  object-position: center 62%;
  display: block;
}

.footer-logo {
  height: 44px;
  width: auto;
  margin: 0 auto 22px;
  display: block;
  opacity: 0.95;
}

@media (max-width: 700px) {
  .event-logo { display: none; }
  .partner-logos { gap: 28px; }
  .partner-logos img { height: 38px; }
}

/* ---------- Video slider ---------- */

.video-slider { position: relative; }

.video-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 6px 22px;
  scrollbar-width: none;
}
.video-track::-webkit-scrollbar { display: none; }

.video-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: block;
}
.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); text-decoration: none; }

.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.video-card:hover .video-thumb img { transform: scale(1.05); }

.video-thumb .play-badge {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(238, 138, 56, 0.95);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  padding-left: 4px;
  box-shadow: 0 10px 26px -8px rgba(38,38,44,0.5);
  transition: transform 0.2s ease;
}
.video-card:hover .play-badge { transform: scale(1.12); }

.video-thumb .duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(38, 38, 44, 0.85);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
}

.video-card .video-info { padding: 18px 20px 20px; }
.video-card h3 { font-size: 1.02rem; line-height: 1.35; margin-bottom: 8px; }
.video-card .views { color: var(--ink-soft); font-size: 0.85rem; font-weight: 600; }

.slider-nav {
  display: flex;
  gap: 10px;
}
.slider-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(38,38,44,0.15);
  background: #fff;
  color: var(--ink);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.slider-btn:hover { background: var(--iris); border-color: var(--iris); color: #fff; transform: translateY(-2px); }

/* ---------- Instagram slider ---------- */

.ig-card {
  flex: 0 0 330px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ig-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.ig-embed {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
  background: var(--iris-tint);
}

.ig-card .ig-info {
  padding: 16px 20px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ig-card .ig-info h3 { font-size: 0.95rem; line-height: 1.3; }
.ig-card .ig-info .views { color: var(--ink-soft); font-size: 0.82rem; font-weight: 700; white-space: nowrap; }

@media (max-width: 600px) {
  .ig-card { flex-basis: 290px; }
}

/* ---------- TikTok section ---------- */

.tiktok-stats {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
  margin: 26px 0 30px;
}
.tiktok-stats .t-stat strong {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.tiktok-stats .t-stat strong em {
  font-style: normal;
  color: var(--teal);
}
.tiktok-stats .t-stat span {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  font-weight: 600;
}

.tiktok-embed-wrap {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 10px;
  max-width: 620px;
  margin: 0 auto;
  overflow: hidden;
}
.tiktok-embed-wrap blockquote.tiktok-embed {
  margin: 0 !important;
  min-width: 0 !important;
}

/* ---------- Social connect cards ---------- */

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.social-card {
  border-radius: var(--radius-md);
  padding: 28px 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}
.social-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); text-decoration: none; }

.social-card .s-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  color: #fff;
  font-weight: 800;
}
.s-tiktok { background: #16121d; }
.s-instagram { background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888); }
.s-youtube { background: #ff0033; }
.s-facebook { background: #1877f2; }
.s-x { background: #16121d; }
.s-linkedin { background: #0a66c2; }

.social-card strong { display: block; font-size: 1.05rem; }
.social-card span.handle { color: var(--ink-soft); font-size: 0.88rem; font-weight: 600; }
.social-card .follow-arrow {
  margin-left: auto;
  color: var(--iris);
  font-weight: 800;
  font-size: 1.1rem;
  transition: transform 0.18s ease;
}
.social-card:hover .follow-arrow { transform: translateX(4px); }

@media (max-width: 960px) {
  .social-grid { grid-template-columns: repeat(2, 1fr); }
  .video-card { flex-basis: 280px; }
}
@media (max-width: 600px) {
  .social-grid { grid-template-columns: 1fr; }
  .video-card { flex-basis: 260px; }
}

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero-grid, .split-2, .newsletter-box, .cta-split { grid-template-columns: 1fr; }
  .topic-grid, .stats-grid, .shelf-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-grid, .cred-grid, .books-grid { grid-template-columns: 1fr; }
  .book-feature { grid-template-columns: 150px 1fr; padding: 32px; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .chip-1 { left: -8px; }
  .chip-2 { right: -8px; }
}

@media (max-width: 700px) {
  .nav-links {
    position: absolute;
    top: 76px;
    left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 26px 24px 32px;
    gap: 20px;
    border-bottom: 1px solid rgba(38,38,44,0.08);
    display: none;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .stats-grid, .topic-grid, .shelf-grid { grid-template-columns: 1fr 1fr; }
  .book-feature { grid-template-columns: 1fr; }
  .book-feature .book-cover { max-width: 180px; }
  .event-card { grid-template-columns: 72px 1fr; }
  .event-card .btn { grid-column: 2; justify-self: start; }
  .newsletter-box { padding: 40px 28px; }
  .cta-split .cta-body { padding: 40px 28px; }
  section { padding: 60px 0; }
}

@media (max-width: 460px) {
  .stats-grid, .topic-grid, .shelf-grid { grid-template-columns: 1fr; }
  .newsletter-form .row { grid-template-columns: 1fr; }
}
