/* Layout: dark aubergine page, each shop section owns one loud colour
   (downloads yellow, fitness pink, nutrition teal, merch violet). */
:root {
  --ink: #16111d;
  --ink-2: #211a2b;
  --ink-3: #2e2539;
  --text: #f6f1fb;
  --muted: #b9adc8;
  --line: #3a3047;
  --yellow: #ffc93c;
  --pink: #ff5c93;
  --teal: #2ed3b7;
  --violet: #a77bff;
  --display: "Dela Gothic One", "Arial Black", Impact, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --wrap: 1180px;
  --radius: 14px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
}

a { color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; text-wrap: balance; margin: 0; }
.eyebrow { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* Header */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.logo { font-family: var(--display); font-size: 1.15rem; text-decoration: none; display: flex; gap: 0.35em; align-items: baseline; }
.logo span:nth-child(2) { color: var(--pink); }
.nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav a {
  text-decoration: none; font-weight: 700; font-size: 0.92rem;
  padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--line);
  transition: background .15s, color .15s, border-color .15s;
}
.nav a[data-cat="downloads"]:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.nav a[data-cat="fitness"]:hover { background: var(--pink); border-color: var(--pink); color: var(--ink); }
.nav a[data-cat="nutrition"]:hover { background: var(--teal); border-color: var(--teal); color: var(--ink); }
.nav a[data-cat="merch"]:hover { background: var(--violet); border-color: var(--violet); color: var(--ink); }

/* Hero */
.hero { padding-block: 64px 48px; }
.hero .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); }
.hero h1 .c1 { color: var(--yellow); }
.hero h1 .c2 { color: var(--pink); }
.hero p { color: var(--muted); max-width: 34ch; font-size: 1.15rem; margin: 20px 0 28px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800;
  padding: 13px 22px; border-radius: 999px; border: 2px solid var(--text); background: var(--text); color: var(--ink);
  font-family: var(--body); font-size: 1rem; cursor: pointer; transition: transform .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--text); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* The four tiles in the hero, stacked like stickers */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tile {
  text-decoration: none; color: var(--ink); border-radius: var(--radius); padding: 20px 18px; min-height: 130px;
  display: flex; flex-direction: column; justify-content: space-between; transition: transform .2s;
}
.tile:nth-child(1) { background: var(--yellow); transform: rotate(-2deg); }
.tile:nth-child(2) { background: var(--pink); transform: rotate(1.5deg); }
.tile:nth-child(3) { background: var(--teal); transform: rotate(1deg); }
.tile:nth-child(4) { background: var(--violet); transform: rotate(-1.5deg); }
.tile:hover { transform: rotate(0) scale(1.03); }
.tile strong { font-family: var(--display); font-weight: 400; font-size: 1.35rem; line-height: 1.1; }
.tile small { font-family: var(--mono); font-size: 0.75rem; letter-spacing: .06em; text-transform: uppercase; }

/* Ticker strip */
.strip { background: var(--yellow); color: var(--ink); overflow: hidden; border-block: 2px solid var(--ink); }
.strip p { margin: 0; padding-block: 10px; white-space: nowrap; font-family: var(--display); font-size: 1.05rem; animation: slide 30s linear infinite; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Shop sections */
.shop-section { padding-block: 64px; border-bottom: 1px solid var(--line); }
.shop-section[data-cat="downloads"] { --c: var(--yellow); }
.shop-section[data-cat="fitness"] { --c: var(--pink); }
.shop-section[data-cat="nutrition"] { --c: var(--teal); }
.shop-section[data-cat="merch"] { --c: var(--violet); }
.shop-section[data-cat="academy"] { --c: var(--yellow); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(2rem, 5vw, 3.2rem); color: var(--c); }
.section-head p { margin: 8px 0 0; color: var(--muted); max-width: 52ch; }
.count { font-family: var(--mono); font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; }

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

.card {
  all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column;
  background: var(--ink-2); border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color .15s, transform .15s;
}
.card:hover { border-color: var(--c); transform: translateY(-3px); }
.card:focus-visible { outline: 3px solid var(--c); outline-offset: 3px; }
.card-open { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.card-open:focus-visible { outline: 3px solid var(--c); outline-offset: -3px; border-radius: var(--radius); }
.card-actions { padding: 0 16px 16px; }
.btn-small { width: 100%; justify-content: center; padding: 11px 16px; min-height: 44px; font-size: .95rem; }
.card-actions .btn[disabled] { background: transparent; color: var(--muted); border-color: var(--line); }
.card-img {
  aspect-ratio: 4 / 3; max-width: 100%; background: var(--c); color: var(--ink);
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img .type-mark { font-family: var(--display); font-size: 1.5rem; text-align: center; padding: 0 16px; line-height: 1.1; opacity: .85; }
.card.is-placeholder .card-img, .modal-inner.is-placeholder .card-img {
  background: repeating-linear-gradient(-45deg, var(--ink-3) 0 12px, var(--ink-2) 12px 24px);
  color: var(--muted);
}
.badge {
  position: absolute; top: 10px; left: 10px; font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase;
  background: var(--ink); color: var(--text); padding: 4px 8px; border-radius: 6px;
}
.card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.card-type { font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c); }
.card-name { font-weight: 800; font-size: 1.05rem; line-height: 1.3; }
.card-price { margin-top: auto; padding-top: 8px; font-family: var(--mono); font-weight: 700; font-variant-numeric: tabular-nums; }

/* About */
.about { padding-block: 72px; }
.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.about h2 { font-size: clamp(2rem, 5vw, 3rem); }
.about h2 span { color: var(--teal); }
.about p { color: var(--muted); margin: 0 0 14px; max-width: 60ch; }
.todo { font-family: var(--mono); font-size: .8rem; color: var(--yellow); border: 1.5px dashed var(--yellow); padding: 10px 12px; border-radius: 10px; }

/* Footer */
.site-footer { background: var(--ink-2); border-top: 1px solid var(--line); padding-block: 40px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: var(--muted); font-size: .95rem; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* Product popup */
.modal { border: 0; padding: 0; background: transparent; max-width: min(760px, calc(100vw - 32px)); width: 100%; color: var(--text); }
.modal::backdrop { background: rgb(10 6 14 / .75); }
.modal-inner { background: var(--ink-2); border: 2px solid var(--c, var(--text)); border-radius: 18px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
.modal .card-img { aspect-ratio: auto; min-height: 260px; }
.modal-body { padding: 26px 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.modal-body h3 { font-size: 1.6rem; }
.modal-body p { margin: 0; color: var(--muted); }
.modal-price { font-family: var(--mono); font-size: 1.4rem; font-weight: 700; }
.modal-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.note { font-size: .82rem; color: var(--muted); font-family: var(--mono); }
.close {
  position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--ink); color: var(--text); font-size: 1.3rem; line-height: 1;
}
.modal-wrap { position: relative; }

@media (max-width: 820px) {
  .hero .wrap, .about .wrap { grid-template-columns: 1fr; }
  .hero { padding-block: 40px 36px; }
  .modal-inner { grid-template-columns: 1fr; }
  .modal .card-img { min-height: 180px; }
}
@media (max-width: 460px) {
  .tile { min-height: 104px; padding: 16px 14px; }
  .tile strong { font-size: 1.1rem; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-body { padding: 12px; }
  .card-actions { padding: 0 12px 12px; }
  .btn-small { padding: 10px 8px; font-size: .85rem; }
  .card-name { font-size: .95rem; }
  .card-img .type-mark { font-size: 1.1rem; }
}

/* Coach Mo page */
.nav a[data-cat="coach"] { border-color: var(--pink); color: var(--pink); }
.nav a[data-cat="coach"]:hover { background: var(--pink); color: var(--ink); }
.coach-cta { margin-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  background: var(--ink-2); border: 1.5px dashed var(--pink); border-radius: var(--radius); padding: 18px 20px; }
.coach-cta p { margin: 0; color: var(--muted); }
.coach-cta strong { color: var(--text); }

.plate-stack { display: grid; place-items: center; min-height: 260px; position: relative; }
.plate { position: absolute; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); color: var(--ink); border: 4px solid var(--ink); }
.plate.p25 { width: 260px; height: 260px; max-width: 100%; background: var(--pink); }
.plate.p20 { width: 200px; height: 200px; background: var(--violet); }
.plate.p15 { width: 145px; height: 145px; background: var(--yellow); }
.plate.p10 { width: 92px; height: 92px; background: var(--teal); font-size: 1.4rem; }
.plate.p25, .plate.p20, .plate.p15 { align-content: start; padding-top: 6px; font-size: 1rem; }

.creds { background: var(--pink); color: var(--ink); }
.creds ul { list-style: none; margin: 0; padding-block: 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.creds li { display: flex; flex-direction: column; }
.creds strong { font-family: var(--display); font-weight: 400; font-size: 1.4rem; line-height: 1.1; }
.creds span { font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }

.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.service { background: var(--ink-2); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.service h3 { font-size: 1.35rem; }
.service p { margin: 0; color: var(--muted); }

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 6px; border-top: 3px solid var(--c); padding-top: 14px; }
.steps li::before { content: "Step " counter(step); font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c); }
.steps strong { font-size: 1.15rem; }
.steps span { color: var(--muted); }

@media (max-width: 820px) {
  .creds ul { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .plate-stack { min-height: 220px; }
  .plate.p25 { width: 220px; height: 220px; } .plate.p20 { width: 170px; height: 170px; } .plate.p15 { width: 122px; height: 122px; } .plate.p10 { width: 78px; height: 78px; }
}

/* Coach Mo identity: own wordmark, still tied to the shop */
.coach-logo { flex-direction: column; gap: 0; line-height: 1; }
.coach-logo span { font-size: 1.5rem; color: var(--pink); letter-spacing: .02em; text-transform: uppercase; }
.coach-logo small { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; margin-top: 4px; }

/* Testimonials */
.reviews-slot:empty { display: none; }
.reviews-slot { margin-top: 24px; }
.reviews-slot + .reviews-slot { margin-top: 12px; }
.reviews { border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--ink-2); }
.reviews[open] { border-color: var(--c, var(--line)); }
.reviews summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 18px; font-weight: 800;
}
.reviews summary::-webkit-details-marker { display: none; }
.reviews summary::after { content: "+"; font-family: var(--mono); font-size: 1.3rem; color: var(--c, var(--text)); margin-left: 4px; }
.reviews[open] summary::after { content: "−"; }
.review-count { margin-left: auto; font-family: var(--mono); font-size: .8rem; font-weight: 500; color: var(--muted); }
.reviews-body { padding: 0 18px 18px; display: flex; flex-direction: column; gap: 14px; }
.reviews-empty { margin: 0; padding: 18px; border: 1.5px dashed var(--line); border-radius: 10px; color: var(--muted); text-align: center; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.review { margin: 0; background: var(--ink-3); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.review blockquote { margin: 0; font-size: 1rem; line-height: 1.55; }
.review blockquote::before { content: "\201C"; display: block; font-family: var(--display); font-size: 2.2rem; line-height: .6; color: var(--c, var(--pink)); margin-bottom: 6px; }
.review figcaption { margin-top: auto; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-family: var(--mono); font-size: .8rem; color: var(--muted); }
.review figcaption strong { color: var(--text); letter-spacing: .08em; }
.stars { color: var(--yellow); letter-spacing: 2px; }
.stars .off { color: var(--line); }

/* Digital vs Etsy labels */
.pill { display: inline-block; font-family: var(--mono); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; vertical-align: middle; }
.pill.digital { background: var(--teal); color: var(--ink); }
.pill.physical { background: var(--violet); color: var(--ink); }
.buy-note { font-size: .9rem; color: var(--muted); margin: 10px 0 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.card-foot { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.card-foot .card-price { margin: 0; padding: 0; }

/* Find My Perfect Plan band */
.finder { padding-block: 48px; border-bottom: 1px solid var(--line); background:
  linear-gradient(90deg, var(--yellow), var(--pink), var(--teal), var(--violet)) top / 100% 6px no-repeat, var(--ink-2); }
.finder .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.finder h2 { font-size: clamp(1.9rem, 5vw, 3rem); }
.finder p { color: var(--muted); max-width: 56ch; margin: 12px 0 0; font-size: 1.08rem; }
.finder .btn { background: var(--yellow); border-color: var(--yellow); }

/* Quiz popup */
.modal.quiz { max-width: min(620px, calc(100vw - 24px)); }
.quiz-inner { background: var(--ink-2); border: 2px solid var(--yellow); border-radius: 18px; padding: 28px 24px 22px; display: flex; flex-direction: column; gap: 18px; }
.quiz-inner h3 { font-size: clamp(1.4rem, 5vw, 1.9rem); padding-right: 36px; }
.quiz-inner p { margin: 0; color: var(--muted); }
.quiz-progress { display: flex; flex-direction: column; gap: 8px; padding-right: 40px; }
.quiz-step { font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); }
.quiz-bar { height: 8px; border-radius: 999px; background: var(--ink-3); overflow: hidden; }
.quiz-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--yellow), var(--pink)); border-radius: 999px; transition: width .25s; }
.quiz-options { display: flex; flex-direction: column; gap: 10px; }
.quiz-option {
  all: unset; box-sizing: border-box; cursor: pointer; display: flex; gap: 14px; align-items: center;
  padding: 14px 16px; min-height: 52px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--ink-3);
  font-weight: 700; transition: border-color .15s, background .15s;
}
.quiz-option:hover, .quiz-option.picked { border-color: var(--yellow); }
.quiz-option.picked { background: color-mix(in srgb, var(--yellow) 14%, var(--ink-3)); }
.quiz-option:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.quiz-letter { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--yellow); font-family: var(--mono); font-size: .85rem; }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.quiz-result { border: 1.5px dashed var(--yellow); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.quiz-result .card-type { color: var(--yellow); }
.quiz-result strong { font-family: var(--display); font-weight: 400; font-size: 1.4rem; }

/* Coach Mo on the homepage */
.coach-home { padding-block: 56px; background: var(--pink); color: var(--ink); }
.coach-home .wrap { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.coach-home h2 { font-size: clamp(2.2rem, 6vw, 3.6rem); text-transform: uppercase; }
.coach-home p { max-width: 58ch; margin: 10px 0 0; }
.coach-home .eyebrow { color: var(--ink); opacity: .75; margin: 0 0 6px; }
.coach-home .btn { background: var(--ink); color: var(--text); border-color: var(--ink); }
.coach-home .btn.ghost { background: transparent; color: var(--ink); }

/* Blueprint Academy: premium, set apart from small downloads */
.academy { background: linear-gradient(180deg, var(--ink-2), var(--ink)); }
.academy-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; margin-bottom: 36px; }
.academy-head h2 { font-size: clamp(2rem, 5vw, 3.2rem); color: var(--c); }
.academy-head p { color: var(--muted); max-width: 60ch; margin: 12px 0 0; }
.academy-head .eyebrow { color: var(--c); margin: 0 0 8px; }
.academy-includes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.academy-includes li { border: 1.5px solid var(--line); border-left: 4px solid var(--c); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; background: var(--ink); }
.academy-includes span { color: var(--muted); font-size: .92rem; }
.academy .section-head h3 { font-size: 1.5rem; }
.academy-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.academy-grid .card { border-color: color-mix(in srgb, var(--c) 45%, var(--line)); }
.academy-grid .card-img { aspect-ratio: 16 / 9; }

@media (max-width: 820px) {
  .academy-head { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .academy-grid { grid-template-columns: 1fr; }
  .finder .btn, .coach-home .btn { width: 100%; justify-content: center; }
  .quiz-inner { padding: 22px 16px 18px; }
}

/* Who's behind the chaos? */
.about-story { display: flex; flex-direction: column; gap: 16px; max-width: 62ch; }
.about-story p { margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.about-story .lead { color: var(--text); font-size: 1.3rem; line-height: 1.5; font-weight: 600; }
.about-story .lead strong { color: var(--yellow); }
.about-tagline { font-family: var(--display); font-size: clamp(1.3rem, 3.6vw, 1.8rem); line-height: 1.25; display: flex; flex-wrap: wrap; gap: 0 .4em; margin-top: 8px; }
.about-tagline span:nth-child(1) { color: var(--teal); }
.about-tagline span:nth-child(2) { color: var(--pink); }
.about-tagline span:nth-child(3) { color: var(--violet); }
.about-story .about-welcome { align-self: flex-start; font-family: var(--display); font-size: clamp(1.6rem, 5vw, 2.4rem); color: var(--ink); background: var(--yellow); padding: 6px 16px 8px; border-radius: 10px; transform: rotate(-1.5deg); margin-top: 6px; }

/* Merch product photos */
.shop-section[data-cat="merch"] .card-img { aspect-ratio: 1 / 1; }
.card-img:has(img) { background: var(--ink-3); }
.card-img img { display: block; transition: transform .3s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-img img.wide { object-fit: contain; }

/* Shared main nav: show which page you're on */
.nav a[aria-current="page"] { background: var(--pink); border-color: var(--pink); color: var(--ink); }

/* Coach Mo secondary nav, sits under the main header */
.sub-header { border-bottom: 1px solid var(--line); background: var(--ink-2); }
.sub-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; padding-block: 12px; flex-wrap: wrap; }
.sub-nav a { font-size: .85rem; padding: 5px 11px; }

/* Contact Coach Mo buttons */
.contact-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.contact-btn { justify-content: center; min-height: 52px; color: var(--ink); }
.contact-btn.ig { background: var(--pink); border-color: var(--pink); }
.contact-btn.fb { background: var(--violet); border-color: var(--violet); }
.contact-btn.tt { background: var(--teal); border-color: var(--teal); }
.contact-btn.em { background: var(--yellow); border-color: var(--yellow); }
.email-text { color: var(--text); user-select: all; word-break: break-all; }
@media (max-width: 460px) {
  .site-header .nav { width: 100%; justify-content: space-between; gap: 4px; }
  .site-header .nav a { padding: 6px 10px; font-size: .85rem; }
  .contact-buttons { grid-template-columns: 1fr; }
}
section[id], main[id] { scroll-margin-top: 80px; }
@media (max-width: 460px) { section[id], main[id] { scroll-margin-top: 120px; } }

/* Coach Mo character in the sticky main header, leaning on the Coach Mo tab.
   Her straight-arm hand (about half way down the image) lines up with the middle of the button,
   the other hand is on her hip. The image is inside the Coach Mo link but ignores clicks. */
.nav a[data-cat="coach"] { position: relative; }
.coach-buddy {
  position: absolute; left: calc(100% - 4px); top: 50%;
  height: 92px; width: auto; max-width: none;
  transform: translateY(calc(-49.6% + 2px));
  filter: drop-shadow(0 2px 3px rgb(0 0 0 / .45));
  pointer-events: none;
}
@media (min-width: 461px) {
  /* A little more height in the header so she fits without being cut off. Buttons unchanged. */
  .site-header .wrap { padding-block: 26px; }
  .site-header .nav { margin-right: 40px; }
}
@media (max-width: 460px) {
  /* Phone: buttons keep their size, she stands to the right of Coach Mo, smaller */
  .site-header .nav { justify-content: flex-start; gap: 6px; flex-wrap: nowrap; }
  .coach-buddy { height: 68px; }
}
@media (max-width: 379px) {
  .site-header .nav { gap: 3px; }
  .site-header .nav a { padding: 6px 8px; }
  .coach-buddy { height: 60px; }
}
