/* ===========================================================
   Joyteetude v2 — Jim "Bear" Katona
   A warm, handmade, single-page site that honors his voice.
   =========================================================== */

:root {
  --c-red:      #C62828;
  --c-red-dark: #8E1A1A;
  --c-gold:     #D4A017;
  --c-teal:     #2E7D6F;
  --c-pink:     #C2185B;
  --c-blue:     #5B8FB9;
  --c-cream:    #FDF6EC;
  --c-cream-2:  #F6ECD8;
  --c-plum:     #2C1320;
  --c-plum-2:   #3A1A2A;
  --c-ink:      #3E2723;
  --c-ink-soft: #5A4036;
  --c-light:    #FFF8E7;

  --shadow-card:  0 10px 30px rgba(44, 19, 32, 0.10), 0 2px 6px rgba(44, 19, 32, 0.06);
  --shadow-deep:  0 22px 60px rgba(44, 19, 32, 0.18), 0 6px 18px rgba(44, 19, 32, 0.08);

  --font-hand:    'Caveat', cursive;
  --font-body:    'Nunito', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-marker:  'Permanent Marker', cursive;

  --radius-sm: 6px;
  --radius:    14px;
  --radius-lg: 22px;
}

/* ----------- reset ----------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-cream);
  background-image:
    radial-gradient(circle at 18% 8%,  rgba(212, 160, 23, 0.08) 0, transparent 38%),
    radial-gradient(circle at 82% 14%, rgba(198, 40, 40, 0.06) 0, transparent 40%),
    radial-gradient(circle at 12% 92%, rgba(46, 125, 111, 0.06) 0, transparent 38%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--c-red); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--c-red-dark); }

/* hand-drawn paper grain — pure CSS, no external textures */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  background-image:
    repeating-linear-gradient(0deg,
      rgba(62, 39, 35, 0.018) 0,
      rgba(62, 39, 35, 0.018) 1px,
      transparent 1px,
      transparent 3px),
    repeating-linear-gradient(90deg,
      rgba(62, 39, 35, 0.012) 0,
      rgba(62, 39, 35, 0.012) 1px,
      transparent 1px,
      transparent 3px);
}

/* ----------- shared ----------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--c-red); color: var(--c-light);
  padding: 10px 16px; border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; z-index: 1000; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.section__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 96px 24px;
  position: relative;
}

.eyebrow {
  font-family: var(--font-hand);
  font-size: 1.5rem;
  color: var(--c-teal);
  margin: 0 0 4px;
  letter-spacing: 0.5px;
}

.section__title {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--c-ink);
  margin: 0 0 14px;
  line-height: 1.05;
}

.squiggle {
  display: block;
  width: 180px;
  height: 12px;
  color: var(--c-red);
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--c-red);
  color: var(--c-light);
  box-shadow: 0 4px 14px rgba(198, 40, 40, 0.35);
}
.btn--primary:hover { background: var(--c-red-dark); color: var(--c-light); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--c-light);
  border-color: var(--c-light);
}
.btn--ghost:hover { background: var(--c-light); color: var(--c-ink); }
.btn--full { width: 100%; }

/* =============== TOPBAR =============== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px;
  background: rgba(253, 246, 236, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(62, 39, 35, 0.08);
  transition: box-shadow 0.2s ease;
}
.topbar.is-scrolled { box-shadow: 0 6px 18px rgba(44, 19, 32, 0.08); }
.topbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--c-ink);
}
.topbar__brand-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--c-red);
  color: var(--c-light);
  font-family: var(--font-marker);
  border-radius: 50%;
  transform: rotate(-6deg);
  box-shadow: var(--shadow-card);
  font-size: 1.2rem;
}
.topbar__brand-word {
  font-family: var(--font-hand);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.topbar__nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.topbar__nav a {
  color: var(--c-ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.topbar__nav a:hover {
  background: rgba(198, 40, 40, 0.08);
  color: var(--c-red);
}

/* =============== HERO =============== */
.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.hero__art {
  position: absolute; inset: 0;
  z-index: -2;
}
.hero__art img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 50% 50%;
  filter: saturate(1.05);
}
.hero__art-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(44, 19, 32, 0.45), rgba(44, 19, 32, 0.65) 55%, rgba(44, 19, 32, 0.88)),
    radial-gradient(circle at 50% 40%, rgba(0,0,0,0.0), rgba(0,0,0,0.45));
}
.hero__inner {
  position: relative;
  max-width: 820px;
  padding: 120px 28px 100px;
  color: var(--c-light);
}
.hero__eyebrow {
  font-family: var(--font-hand);
  font-size: 1.6rem;
  color: var(--c-cream-2);
  margin: 0 0 8px;
  opacity: 0.92;
}
.hero__title {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: clamp(4rem, 11vw, 7.2rem);
  line-height: 0.92;
  margin: 0 0 20px;
  letter-spacing: -1px;
  text-shadow: 0 6px 30px rgba(0,0,0,0.35);
}
.hero__definition {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  max-width: 640px;
  margin: 0 auto 18px;
  color: var(--c-cream-2);
}
.hero__def-word {
  display: inline-block;
  font-family: var(--font-hand);
  color: var(--c-gold);
  font-size: 1.4em;
  margin-right: 6px;
}
.hero__plus {
  color: var(--c-gold);
  font-weight: 800;
  margin: 0 4px;
}
.hero__signature {
  font-family: var(--font-hand);
  font-size: 1.35rem;
  color: var(--c-gold);
  margin-bottom: 36px;
}
.hero__cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}
.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--c-cream-2);
  font-family: var(--font-hand);
  font-size: 1.15rem;
  opacity: 0.85;
  animation: bobble 2.4s ease-in-out infinite;
}
@keyframes bobble {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 10px); }
}

/* =============== MANTRAS =============== */
.mantras { background: var(--c-cream); position: relative; }
.mantras .section__title { color: var(--c-red-dark); }

.mantras__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 12px;
}
.mantra {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(62, 39, 35, 0.06);
  position: relative;
  transform: rotate(-0.3deg);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mantra:nth-child(2) { transform: rotate(0.4deg); }
.mantra:nth-child(3) { transform: rotate(-0.6deg); }
.mantra:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: var(--shadow-deep);
}
.mantra__icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.mantra--joy .mantra__icon     { background: rgba(212, 160, 23, 0.16); color: var(--c-gold); }
.mantra--harmony .mantra__icon { background: rgba(46, 125, 111, 0.16);  color: var(--c-teal); }
.mantra--respect .mantra__icon { background: rgba(198, 40, 40, 0.14);   color: var(--c-red);  }

.mantra__title {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 2.1rem;
  margin: 0 0 4px;
  color: var(--c-ink);
  line-height: 1.05;
}
.mantra__sub {
  font-family: var(--font-marker);
  font-size: 0.85rem;
  letter-spacing: 0.6px;
  color: var(--c-pink);
  margin: 0 0 16px;
  text-transform: uppercase;
}
.mantra p { margin: 0 0 12px; color: var(--c-ink-soft); }
.mantra__quote {
  border-left: 3px solid var(--c-gold);
  padding: 6px 0 6px 14px;
  margin-top: 14px !important;
  font-family: var(--font-hand);
  font-size: 1.4rem;
  line-height: 1.3;
  color: var(--c-ink) !important;
}
.mantra__footnote {
  margin-top: 18px !important;
  font-size: 0.88rem;
  font-style: italic;
  color: var(--c-ink-soft);
}

.respect-block {
  background: var(--c-cream);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 14px;
  border: 1px dashed rgba(198, 40, 40, 0.25);
}
.respect-block__year {
  font-family: var(--font-marker);
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--c-red);
  text-transform: uppercase;
  margin: 0 0 6px !important;
}
.respect-block__text {
  font-size: 0.98rem;
  margin: 0 !important;
  color: var(--c-ink) !important;
  line-height: 1.55;
}
.respect-block__text strong {
  color: var(--c-red);
  font-weight: 800;
}

/* =============== MEET BEAR =============== */
.bear {
  background:
    linear-gradient(180deg, var(--c-cream-2), var(--c-cream));
  border-top: 1px solid rgba(62, 39, 35, 0.06);
  border-bottom: 1px solid rgba(62, 39, 35, 0.06);
}
.bear__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  margin-top: 24px;
  align-items: start;
}
.bear__sidebar { position: sticky; top: 80px; }
.bear__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: var(--shadow-deep);
  background: var(--c-cream-2);
  overflow: hidden;
  transform: rotate(-3deg);
  transition: transform 0.4s ease;
}
.bear__photo:hover { transform: rotate(0deg); }
.bear__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  display: block;
}
.bear__facts {
  margin-top: 28px;
  list-style: none; padding: 0;
  display: grid; gap: 10px;
}
.bear__facts li {
  display: flex; flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  padding: 10px 14px;
  border: 1px solid rgba(62, 39, 35, 0.06);
  box-shadow: 0 2px 6px rgba(44, 19, 32, 0.04);
}
.bear__facts span {
  font-family: var(--font-marker);
  font-size: 0.7rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--c-teal);
}
.bear__facts strong {
  font-size: 1rem;
  color: var(--c-ink);
  font-weight: 700;
}

.bear__cert {
  margin: 28px 0 0;
  padding: 10px 10px 14px;
  background: #fff;
  border: 1px solid rgba(62, 39, 35, 0.08);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  transform: rotate(-1.6deg);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
}
.bear__cert::before {
  /* a piece of "tape" at the top */
  content: '';
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 64px; height: 18px;
  background: rgba(212, 160, 23, 0.55);
  border: 1px dashed rgba(62, 39, 35, 0.18);
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(44, 19, 32, 0.08);
}
.bear__cert:hover {
  transform: rotate(0deg) scale(1.03);
  box-shadow: var(--shadow-deep);
}
.bear__cert img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}
.bear__cert figcaption {
  margin-top: 10px;
  padding: 0 4px;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--c-ink-soft);
  font-style: italic;
}
.bear__cert-tag {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 8px;
  background: var(--c-red);
  color: var(--c-light);
  font-family: var(--font-marker);
  font-size: 0.62rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-style: normal;
  border-radius: 999px;
  transform: rotate(-3deg);
  vertical-align: middle;
}
.bear__copy p { margin: 0 0 16px; }
.bear__lead {
  font-family: var(--font-hand);
  font-size: 2.2rem;
  line-height: 1.1;
  color: var(--c-red);
  margin: 0 0 18px !important;
}
.bear__signoff {
  font-family: var(--font-hand);
  font-size: 1.6rem;
  color: var(--c-red);
  margin-top: 24px !important;
}
.bear__bio-card {
  margin-top: 48px;
  padding: 30px 32px;
  background: var(--c-plum);
  color: var(--c-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-deep);
  position: relative;
  overflow: hidden;
}
.bear__bio-card::before {
  content: '';
  position: absolute; inset: 8px;
  border: 1px dashed rgba(255, 248, 231, 0.2);
  border-radius: calc(var(--radius-lg) - 8px);
  pointer-events: none;
}
.bear__bio-title {
  font-family: var(--font-marker);
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--c-gold);
  margin: 0 0 10px;
}
.bear__bio-text {
  font-family: var(--font-hand);
  font-size: 1.65rem;
  line-height: 1.4;
  margin: 0;
  color: var(--c-light);
}

/* =============== ART =============== */
.art { background: var(--c-cream); }
.art .section__title { color: var(--c-pink); }
.art__intro {
  max-width: 640px;
  font-size: 1.05rem;
  color: var(--c-ink-soft);
  margin-bottom: 36px;
}
.art__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}
.art-card {
  margin: 0;
  background: #fff;
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(62, 39, 35, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  transform: rotate(-0.5deg);
}
.art-card:nth-child(2) { transform: rotate(0.6deg); }
.art-card:nth-child(3) { transform: rotate(-0.4deg); }
.art-card:nth-child(4) { transform: rotate(0.5deg); }
.art-card:hover {
  transform: rotate(0deg) translateY(-4px) scale(1.015);
  box-shadow: var(--shadow-deep);
}
.art-card__frame {
  background: var(--c-cream);
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.art-card__frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.art-card:hover .art-card__frame img { transform: scale(1.04); }
.art-card figcaption { padding: 14px 6px 6px; }
.art-card h3 {
  font-family: var(--font-hand);
  font-size: 1.65rem;
  margin: 0 0 4px;
  color: var(--c-red-dark);
  line-height: 1.1;
}
.art-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--c-ink-soft);
}
.art__footnote {
  margin-top: 36px;
  text-align: center;
  font-family: var(--font-hand);
  font-size: 1.4rem;
  color: var(--c-ink-soft);
}

/* =============== TUIT =============== */
.tuit {
  background:
    linear-gradient(135deg, var(--c-plum), var(--c-plum-2));
  color: var(--c-light);
  position: relative;
  overflow: hidden;
}
.tuit::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.18), transparent 70%);
}
.tuit::after {
  content: '';
  position: absolute;
  bottom: -120px; left: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 40, 40, 0.15), transparent 70%);
}
.tuit__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.tuit .eyebrow { color: var(--c-gold); }
.tuit .section__title { color: var(--c-light); }
.tuit .squiggle { color: var(--c-gold); }
.tuit__lead {
  font-family: var(--font-hand);
  font-size: 1.7rem;
  line-height: 1.35;
  color: var(--c-cream-2);
  margin: 0 0 18px;
}
.tuit__copy p { color: rgba(255, 248, 231, 0.86); }
.tuit__copy strong { color: var(--c-light); font-weight: 800; }
.tuit__copy em { color: var(--c-gold); font-style: normal; }
.tuit__footnote {
  margin-top: 22px !important;
  padding-top: 18px;
  border-top: 1px dashed rgba(255, 248, 231, 0.2);
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(255, 248, 231, 0.75) !important;
}
.tuit__quote {
  margin: 24px 0 18px;
  padding: 22px 24px 18px;
  background: rgba(212, 160, 23, 0.10);
  border-left: 4px solid var(--c-gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  position: relative;
}
.tuit__quote::before {
  content: '\201C';
  position: absolute;
  top: -12px; left: 12px;
  font-family: var(--font-marker);
  font-size: 3.6rem;
  color: var(--c-gold);
  line-height: 1;
  opacity: 0.6;
}
.tuit__quote p {
  font-family: var(--font-hand);
  font-size: 1.6rem;
  line-height: 1.35;
  color: var(--c-light) !important;
  margin: 0 0 8px !important;
}
.tuit__quote p strong { color: var(--c-gold); }
.tuit__quote p em { color: var(--c-light); font-style: italic; }
.tuit__quote cite {
  font-family: var(--font-marker);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--c-gold);
  display: block;
}
.tuit__visual { display: flex; justify-content: center; }
.tuit__coin-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  transform: rotate(-2deg);
  transition: transform 0.4s ease;
  max-width: 460px;
}
.tuit__coin-wrap:hover { transform: rotate(0); }
.tuit__coin-wrap img { width: 100%; height: auto; display: block; }
.tuit__tag {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--c-gold);
  color: var(--c-plum);
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-marker);
  font-size: 0.78rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transform: rotate(-6deg);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* =============== TALKS =============== */
.talks { background: var(--c-cream-2); }
.talks .section__title { color: var(--c-teal); }
.talks__intro {
  max-width: 720px;
  margin-bottom: 36px;
  color: var(--c-ink-soft);
}
.talks__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 26px;
}
.talk-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(62, 39, 35, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.talk-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-deep);
}
.talk-card__thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--c-plum);
  overflow: hidden;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.talk-card__thumb iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.talk-card__thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.talk-card:hover .talk-card__thumb img { transform: scale(1.05); }
.talk-card__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--c-red);
  color: var(--c-light);
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, background 0.2s ease;
}
.talk-card:hover .talk-card__play {
  background: var(--c-red-dark);
  transform: translate(-50%, -50%) scale(1.08);
}
.talk-card__body {
  padding: 22px 22px 24px;
  display: flex; flex-direction: column;
  flex-grow: 1;
}
.talk-card__tag {
  font-family: var(--font-marker);
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--c-pink);
  margin: 0 0 6px;
}
.talk-card__title {
  font-family: var(--font-hand);
  font-size: 1.85rem;
  margin: 0 0 10px;
  color: var(--c-ink);
  line-height: 1.1;
}
.talk-card__body > p {
  margin: 0 0 16px;
  font-size: 0.96rem;
  color: var(--c-ink-soft);
  flex-grow: 1;
}
.talk-card__link {
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  align-self: flex-start;
}
.talk-card__link:hover { text-decoration: underline; }

.mkp-callout {
  margin-top: 44px;
  padding: 28px 32px;
  background: #fff;
  border-radius: var(--radius-lg);
  display: flex;
  gap: 22px;
  align-items: flex-start;
  box-shadow: var(--shadow-card);
  border-left: 6px solid var(--c-teal);
}
.mkp-callout__icon {
  flex-shrink: 0;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(46, 125, 111, 0.14);
  color: var(--c-teal);
  display: grid; place-items: center;
}
.mkp-callout h3 {
  font-family: var(--font-hand);
  font-size: 1.85rem;
  margin: 0 0 6px;
  color: var(--c-teal);
}
.mkp-callout p {
  margin: 0 0 10px;
  color: var(--c-ink-soft);
}
.mkp-callout__link {
  font-weight: 700;
  text-decoration: none;
  color: var(--c-teal);
}
.mkp-callout__link:hover { text-decoration: underline; }

/* =============== TAGS (sticker wall) =============== */
.tags {
  background: var(--c-cream-2);
  background-image:
    radial-gradient(circle at 8% 20%, rgba(212, 160, 23, 0.10) 0, transparent 35%),
    radial-gradient(circle at 92% 80%, rgba(46, 125, 111, 0.10) 0, transparent 35%);
}
.tags .section__title { color: var(--c-pink); }
.tags__lead {
  max-width: 640px;
  margin: 0 0 36px;
  color: var(--c-ink-soft);
  font-size: 1.05rem;
}

.tags__wall {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 14px;
  padding: 32px 28px;
  background:
    linear-gradient(135deg, #fff 0%, var(--c-cream) 100%);
  border: 1px dashed rgba(62, 39, 35, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  position: relative;
}
.tags__wall::before,
.tags__wall::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(198, 40, 40, 0.55);
  box-shadow: 0 2px 4px rgba(44, 19, 32, 0.2);
}
.tags__wall::before { top: -6px; left: 22px; }
.tags__wall::after  { top: -6px; right: 22px; background: rgba(46, 125, 111, 0.55); }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  font-family: var(--font-marker);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: var(--c-light);
  box-shadow: 0 4px 12px rgba(44, 19, 32, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  white-space: nowrap;
}

/* Casual rotation pattern — every other tag tilts the other way */
.tag:nth-child(odd)            { transform: rotate(-2.2deg); }
.tag:nth-child(even)           { transform: rotate( 1.8deg); }
.tag:nth-child(3n)             { transform: rotate(-3.4deg) translateY(2px); }
.tag:nth-child(5n)             { transform: rotate( 2.6deg) translateY(-2px); }
.tag:nth-child(7n)             { transform: rotate(-1.2deg) translateY(1px); }

.tag:hover,
.tag:focus-visible {
  transform: rotate(0deg) translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(44, 19, 32, 0.22);
  outline: none;
}

/* Color variants */
.tag--red  { background: var(--c-red);  }
.tag--gold { background: var(--c-gold); color: var(--c-plum); text-shadow: 0 1px 0 rgba(255,248,231,0.4); }
.tag--teal { background: var(--c-teal); }
.tag--pink { background: var(--c-pink); }
.tag--blue { background: var(--c-blue); }

/* Subtle paper-edge accent */
.tag::before {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: inherit;
  pointer-events: none;
}

/* Copied feedback */
.tag.is-copied::after {
  content: 'Copied!';
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-ink);
  color: var(--c-light);
  padding: 4px 12px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  animation: tagCopiedPop 1.4s ease forwards;
}
.tag.is-copied::before {
  /* a tiny tail under the bubble */
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border: 5px solid transparent;
  border-top-color: var(--c-ink);
  pointer-events: none;
  inset: auto;
}
@keyframes tagCopiedPop {
  0%   { opacity: 0; transform: translate(-50%, 4px); }
  15%  { opacity: 1; transform: translate(-50%, 0); }
  80%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -4px); }
}

.tags__footnote {
  margin-top: 26px;
  font-style: italic;
  color: var(--c-ink-soft);
  font-size: 0.95rem;
}

/* =============== HELLO =============== */
.hello { background: var(--c-cream); }
.hello .section__title { color: var(--c-gold); }
.hello__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
  margin-top: 12px;
}
.hello-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(62, 39, 35, 0.06);
  position: relative;
}
.hello-card h3 {
  font-family: var(--font-hand);
  font-size: 1.95rem;
  margin: 0 0 12px;
  color: var(--c-ink);
}
.hello-card--find h3    { color: var(--c-teal); }
.hello-card--support h3 { color: var(--c-red);  }
.hello-card--join h3    { color: var(--c-pink); }
.hello-card p {
  margin: 0 0 14px;
  color: var(--c-ink-soft);
}
.hello-card__next {
  margin-top: 16px !important;
  padding-top: 14px;
  border-top: 1px dashed rgba(62, 39, 35, 0.15);
  font-size: 0.95rem;
}
.hello-card__next span {
  font-family: var(--font-marker);
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--c-teal);
  margin-right: 8px;
}
.support-list {
  list-style: none; padding: 0; margin: 0;
}
.support-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(62, 39, 35, 0.1);
  font-size: 0.96rem;
}
.support-list li:last-child { border-bottom: 0; }
.support-list span {
  font-weight: 700;
  color: var(--c-ink);
}
.support-list em {
  font-style: italic;
  color: var(--c-ink-soft);
  text-align: right;
}
.signup { display: grid; gap: 10px; }
.signup input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(62, 39, 35, 0.18);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.98rem;
  background: var(--c-cream);
  color: var(--c-ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.signup input:focus {
  outline: none;
  border-color: var(--c-red);
  background: #fff;
}
.signup__success {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(46, 125, 111, 0.12);
  color: var(--c-teal);
  font-family: var(--font-hand);
  font-size: 1.3rem;
  text-align: center;
}

/* =============== FOOTER =============== */
.footer {
  background: var(--c-plum);
  color: var(--c-cream-2);
  padding: 56px 24px 36px;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 12px;
  background:
    repeating-linear-gradient(135deg,
      var(--c-red) 0 12px,
      var(--c-gold) 12px 24px,
      var(--c-teal) 24px 36px,
      var(--c-pink) 36px 48px);
}
.footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}
.footer__brand {
  font-family: var(--font-hand);
  font-size: 2.2rem;
  color: var(--c-light);
  margin: 0 0 6px;
}
.footer__line {
  margin: 0 0 4px;
  font-size: 0.95rem;
  color: rgba(255, 248, 231, 0.75);
}
.footer__credits-title {
  font-family: var(--font-marker);
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--c-gold);
  margin: 0 0 10px;
}
.footer__credits {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 4px;
  font-size: 0.95rem;
  color: rgba(255, 248, 231, 0.8);
}
.footer__col--meta { text-align: right; }
.footer__tag {
  font-family: var(--font-marker);
  font-size: 1.1rem;
  color: var(--c-gold);
  margin: 0 0 14px;
}
.footer__copy {
  font-size: 0.88rem;
  margin: 0 0 4px;
  color: rgba(255, 248, 231, 0.7);
}
.footer__copy--small {
  font-size: 0.78rem;
  color: rgba(255, 248, 231, 0.55);
  font-style: italic;
}

/* =============== RESPONSIVE =============== */
@media (max-width: 880px) {
  .topbar { padding: 10px 14px; }
  .topbar__brand-mark { width: 32px; height: 32px; font-size: 1rem; }
  .topbar__brand-word { font-size: 1.4rem; }
  .topbar__nav { gap: 0; }
  .topbar__nav a { padding: 6px 8px; font-size: 0.85rem; }

  .section__inner { padding: 64px 20px; }

  .hero { min-height: auto; }
  .hero__inner { padding: 100px 22px 90px; }

  .bear__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .bear__sidebar { position: static; max-width: 320px; margin: 0 auto; }

  .tuit__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .tuit__visual { order: -1; }

  .mkp-callout { flex-direction: column; align-items: flex-start; }

  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer__col--meta { text-align: left; }
}

@media (max-width: 520px) {
  .hero__title { font-size: 4.2rem; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .topbar__nav a:nth-child(n+5) { display: none; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
