/* ============================================
   MIND THEORY — Design Tokens
   A calm, editorial psychology brand.
   Signature: hand-drawn "thought line" motif —
   a wandering single stroke that appears as a
   divider, loader, and quiz-progress track.
   ============================================ */

:root {
  /* Color — pastel, warm, hand-drawn feel */
  --ink: #1B2440;          /* dark navy — matches hero headline text */
  --ink-soft: #545A78;     /* secondary text */
  --paper: #F3F5FC;        /* soft lavender-white page background */
  --paper-raised: #FFFFFF; /* card background */
  --mist: #DEE7F8;         /* pastel lavender-blue — section tints */
  --sun: #F3E1EE;          /* muted pink tint — section tints */
  --sun-deep: #C98CBB;     /* muted rose-pink — secondary accent */
  --harbor: #1B63D6;       /* royal blue accent — links/icons, from hero art */
  --harbor-deep: #123F94;  /* hover / pressed states */
  --clay: #1B63D6;         /* royal blue — primary CTA, matches hero button */
  --clay-soft: #DEE7F8;    /* blue tint for backgrounds */
  --line: #E1E6F5;         /* hairline borders, lavender-toned */

  /* Type */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-label: 'Nunito', sans-serif;

  /* Scale */
  --step-1: clamp(2.4rem, 1.8rem + 2.4vw, 4rem);
  --step-2: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem);
  --step-3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --step-0: 1rem;

  --radius: 24px;
  --radius-sm: 14px;
  --max-w: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: var(--step-1); }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-3); }

p { margin: 0 0 1em; color: var(--ink-soft); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--harbor);
  display: inline-block;
  margin-bottom: 0.9em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:focus-visible { outline: 2px solid var(--harbor); outline-offset: 3px; }

.btn-primary {
  background: var(--harbor);
  color: #fff;
}
.btn-primary:hover { background: var(--harbor-deep); transform: translateY(-2px); }

.btn-outline {
  background: var(--paper-raised);
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }

.btn-clay {
  background: var(--sun-deep);
  color: #fff;
}
.btn-clay:hover { background: #B072A2; transform: translateY(-2px); }

.btn-block { width: 100%; justify-content: center; }

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 251, 252, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}
.brand-mark { width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; object-fit: cover; }

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a {
  position: relative;
  color: var(--ink-soft);
  padding: 6px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 3px;
  background: var(--sun-deep);
  border-radius: 4px;
}

.nav-cta { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

@media (max-width: 860px) {
  .nav-links { 
    position: fixed; top: 76px; left: 0; right: 0;
    background: var(--paper); flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height 0.25s ease;
  }
  .nav-links.open { max-height: 320px; }
  .nav-links li { border-top: 1px solid var(--line); }
  .nav-links a { display: block; padding: 16px 24px; }
  .nav-toggle { display: block; }
  .nav-cta .btn-outline { display: none; }
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 120px;
  padding: 56px 0 40px;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand p { max-width: 320px; font-size: 0.92rem; }
.footer-links {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}
.footer-col h4 {
  font-family: var(--font-label);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 14px;
}
.footer-col a {
  display: block;
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 10px;
}
.footer-col a:hover { color: var(--harbor); }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.social-row { display: flex; gap: 16px; }
.social-row a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.social-row a:hover { border-color: var(--harbor); color: var(--harbor); }

/* ---------- Thought-line divider (signature motif) ---------- */
.thought-line {
  width: 100%;
  height: 40px;
  margin: 64px 0;
  opacity: 0.7;
}
.thought-line path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
}

/* ---------- Section spacing ---------- */
section { padding: 96px 0; }
.section-tight { padding: 56px 0; }
.section-tint { background: var(--mist); }
.section-tint-sun { background: var(--sun); }

.section-head {
  max-width: 620px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head p { font-size: 1.05rem; }

/* ---------- Cards ---------- */
.card {
  background: var(--paper-raised);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-5px) rotate(-0.3deg);
  box-shadow: 6px 8px 0px -1px rgba(28, 27, 23, 0.15);
}

.grid {
  display: grid;
  gap: 28px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* Blog card */
.post-card .post-thumb {
  height: 190px;
  background: var(--mist);
  position: relative;
}
.post-card .tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--paper-raised);
  font-size: 0.72rem; font-weight: 600;
  padding: 5px 12px; border-radius: 999px;
  color: var(--harbor);
}
.post-card .post-body { padding: 22px 22px 26px; }
.post-card h3 { margin-bottom: 10px; }
.post-card .meta {
  display: flex; gap: 14px; align-items: center;
  font-size: 0.82rem; color: var(--ink-soft);
  margin-top: 16px;
}

/* Quiz card */
.quiz-card { padding: 30px 26px; display: flex; flex-direction: column; gap: 14px; }
.quiz-icon {
  width: 48px; height: 48px;
  border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
  background: var(--sun);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.quiz-meta { display: flex; gap: 10px; font-size: 0.82rem; color: var(--ink-soft); }
.quiz-card .btn { margin-top: auto; }

/* Resource card */
.resource-card { padding: 26px; display: flex; gap: 18px; align-items: flex-start; }
.resource-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
  background: var(--mist);
  display: flex; align-items: center; justify-content: center;
  color: var(--harbor-deep);
  border: 1.5px solid var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  padding-top: 96px;
  padding-bottom: 72px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero .lede { font-size: 1.15rem; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 48px;
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
}
.hero-stats div span { font-size: 0.82rem; color: var(--ink-soft); }

.hero-art {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--mist);
  border: 2.5px solid var(--ink);
}
.hero-art-duo {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: linear-gradient(180deg, var(--mist) 0%, var(--sun) 100%);
  padding: 0;
}
.hero-avatar {
  position: absolute;
  border-radius: 50%;
  border: 3px solid var(--ink);
  box-shadow: 0 12px 24px -8px rgba(28,27,23,0.25);
  width: 62%;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.hero-avatar-back {
  right: 6%;
  bottom: 14%;
  width: 56%;
  z-index: 1;
}
.hero-avatar-front {
  left: 4%;
  bottom: 4%;
  width: 60%;
  z-index: 2;
}
@media (max-width: 640px) {
  .hero-avatar-back { width: 50%; right: 2%; }
  .hero-avatar-front { width: 54%; left: 2%; }
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; aspect-ratio: 16/10; }
}

/* ---------- Page header (inner pages) ---------- */
.page-header { padding: 72px 0 56px; text-align: center; }
.page-header .eyebrow { display: block; }
.page-header p { max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

/* ---------- Quiz engine ---------- */
.quiz-wrap { max-width: 680px; margin: 0 auto; }
.quiz-progress-track {
  height: 4px; background: var(--line); border-radius: 4px; overflow: hidden;
  margin-bottom: 40px;
}
.quiz-progress-fill {
  height: 100%; background: var(--harbor); width: 0%;
  transition: width 0.3s ease;
}
.quiz-question { display: none; }
.quiz-question.active { display: block; animation: fadeIn 0.35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.quiz-question h2 { font-size: 1.4rem; margin-bottom: 28px; }
.quiz-options { display: flex; flex-direction: column; gap: 12px; }
.quiz-option {
  text-align: left;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-raised);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.quiz-option:hover { border-color: var(--harbor); background: var(--mist); }
.quiz-nav { display: flex; justify-content: space-between; margin-top: 32px; }
.quiz-step-label { font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 10px; }

.quiz-result { display: none; text-align: center; }
.quiz-result.active { display: block; animation: fadeIn 0.4s ease; }
.result-badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--clay-soft);
  color: var(--clay);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 20px;
}
.result-title { font-size: var(--step-2); margin-bottom: 16px; }
.result-desc { max-width: 520px; margin: 0 auto 30px; font-size: 1.02rem; }
.result-bars { max-width: 420px; margin: 0 auto 36px; text-align: left; }
.result-bar-row { margin-bottom: 16px; }
.result-bar-row .label { display: flex; justify-content: space-between; font-size: 0.85rem; margin-bottom: 6px; }
.result-bar-track { height: 8px; background: var(--mist); border-radius: 4px; overflow: hidden; }
.result-bar-fill { height: 100%; background: var(--harbor); border-radius: 4px; }

/* ---------- Contact form ---------- */
.form-wrap { max-width: 560px; margin: 0 auto; }
.field { margin-bottom: 20px; }
.field label {
  display: block; font-size: 0.85rem; font-weight: 600;
  margin-bottom: 8px;
}
.field input, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.98rem;
  background: var(--paper-raised);
  color: var(--ink);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--harbor);
  box-shadow: 0 0 0 3px rgba(59, 110, 143, 0.12);
}
.field textarea { resize: vertical; min-height: 140px; }
.form-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 14px; text-align: center; }

/* ---------- Newsletter band ---------- */
.newsletter {
  background: var(--ink);
  color: var(--paper);
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
}
.newsletter h2 { color: var(--paper); }
.newsletter p { color: #B9C3D0; max-width: 460px; margin: 0 auto 28px; }
.newsletter-form {
  display: flex; gap: 10px; max-width: 420px; margin: 0 auto;
  flex-wrap: wrap; justify-content: center;
}
.newsletter-form input {
  flex: 1; min-width: 220px;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid #3A4A61;
  background: #24354A;
  color: #fff;
  font-family: var(--font-body);
}
.newsletter-form input::placeholder { color: #8494A8; }
.newsletter-form input:focus { outline: none; border-color: var(--harbor); }

@media (max-width: 640px) {
  .newsletter { padding: 44px 26px; border-radius: 18px; }
}

/* ---------- Video embed ---------- */
.video-section {
  background: var(--ink);
  border-radius: 24px;
  padding: 64px 48px;
  color: var(--paper);
}
.video-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}
.video-section h2 { color: var(--paper); }
.video-section p { color: #B9C3D0; }
.video-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #0f1a26;
  border: 1px solid #2A3B50;
}
.video-frame iframe, .video-frame video { width: 100%; height: 100%; border: 0; object-fit: cover; background: #000; }
@media (max-width: 900px) {
  .video-grid { grid-template-columns: 1fr; }
  .video-section { padding: 44px 26px; border-radius: 18px; }
}

/* ---------- Quotes ---------- */
.quote-card {
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 220px;
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--sun-deep);
  line-height: 1;
  -webkit-text-stroke: 1px var(--ink);
}
.quote-card blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
}
.quote-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.quote-tag {
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.quote-copy-btn {
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--ink-soft);
  transition: all 0.15s ease;
}
.quote-copy-btn:hover { border-color: var(--harbor); color: var(--harbor); }
.quote-copy-btn.copied { border-color: var(--harbor); color: var(--harbor); }

/* ---------- Stats band ---------- */
.stats-band {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-band div { text-align: center; }
.stats-band strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--harbor-deep);
}
.stats-band span { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- Full hero image (page 1) ---------- */
.hero-image-wrap {
  padding: 0;
  background: var(--paper);
}
.hero-image-link {
  position: relative;
  display: block;
  width: 100%;
  line-height: 0;
}
.hero-full-image {
  width: 100%;
  height: auto;
  display: block;
}
.hero-image-cta {
  position: absolute;
  left: 40.5%;
  top: 54.5%;
  width: 18%;
  height: 6.2%;
  border-radius: 999px;
  cursor: pointer;
}

/* ---------- Split hero — full viewport, no nav, no page scroll ---------- */
.split-hero-full {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  height: 100vh;
  height: 100dvh;
  width: 100%;
}
.split-hero-full-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  overflow: hidden;
  background: var(--mist);
  padding: 18px 32px;
  gap: 14px;
}
.hero-tagline {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  margin: 0;
  max-width: 640px;
}
.hero-subquote {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 600;
  color: var(--ink-soft);
  text-align: center;
  margin: 0;
}
.hero-image-frame {
  display: block;
  flex: 1;
  min-height: 0;
  width: 100%;
  line-height: 0;
}
.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.split-hero-full-content {
  height: 100%;
  overflow: hidden;
  background: var(--mist);
  display: flex;
  align-items: center;
}
.split-hero-inner {
  padding: 20px 56px;
  width: 100%;
}
.split-hero-inner .eyebrow {
  font-size: 0.85rem;
  margin-top: 4px;
  margin-bottom: 10px;
}
.split-hero-inner h2 {
  font-size: 1.55rem;
  margin-bottom: 14px;
}
.split-hero-inner .video-frame {
  width: auto;
  height: 29vh;
  max-width: 100%;
  margin: 0 auto 14px;
  border-radius: 16px;
  border: 2.5px solid var(--ink);
}
.split-hero-inner .split-hero-about { font-size: 0.95rem; margin-bottom: 14px; line-height: 1.45; }
.channel-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 14px;
}
.channel-stats { display: flex; gap: 28px; }
.channel-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--harbor-deep);
}
.channel-stats div span { font-size: 0.78rem; color: var(--ink-soft); }

@media (max-width: 900px) {
  .split-hero-full { grid-template-columns: 1fr; height: auto; }
  html, body { overflow: auto !important; }
  .split-hero-full-image { height: 42vh; }
  .split-hero-full-content { height: auto; overflow: visible; }
  .split-hero-inner { padding: 32px 24px; }
}

/* ---------- Category cards (Explore page) ---------- */
.category-card {
  display: block;
  padding: 30px 26px;
  text-decoration: none;
  color: inherit;
}
.category-icon {
  width: 54px; height: 54px;
  border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--ink);
  margin-bottom: 18px;
}
.category-card h3 { margin-bottom: 10px; }
.category-card p { font-size: 0.95rem; margin-bottom: 18px; }
.category-link {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--harbor-deep);
}

/* ---------- Format pills row ---------- */
.format-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.format-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--paper-raised);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  transition: transform 0.15s ease, background 0.15s ease;
}
.format-pill svg { color: var(--harbor-deep); }
.format-pill:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}
.format-pill:hover svg { color: var(--paper); }

/* ---------- Explore page: minimal topbar ---------- */
.explore-topbar {
  padding: 24px 0;
}
.explore-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-mini { display: flex; align-items: center; }
.brand-mark-mini {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ink);
}
.explore-topbar-links {
  display: flex;
  gap: 24px;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.95rem;
}
.explore-topbar-links a {
  color: var(--ink);
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: border-color 0.15s ease;
}
.explore-topbar-links a:hover { border-color: var(--ink); }

/* ---------- Explore page: pink-blue gradient backdrop ---------- */
body.explore-page {
  background:
    radial-gradient(ellipse 900px 500px at 8% 0%, var(--sun) 0%, transparent 60%),
    radial-gradient(ellipse 900px 600px at 95% 20%, var(--mist) 0%, transparent 55%),
    radial-gradient(ellipse 800px 500px at 50% 100%, var(--sun) 0%, transparent 60%),
    var(--paper);
  background-attachment: fixed;
}

/* ---------- Format cards with peeking mascot ---------- */
.format-card {
  display: block;
  position: relative;
  padding: 44px 26px 30px;
  text-decoration: none;
  color: inherit;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
}
.format-mascot {
  position: absolute;
  top: -22px;
  left: 26px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2.5px solid var(--ink);
  object-fit: cover;
  background: var(--paper-raised);
}
.format-card h3 { margin: 10px 0 10px; }
.format-card p { font-size: 0.95rem; margin-bottom: 18px; }

/* utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
