/* Self-hosted fonts: no requests to Google, which keeps reading private. */
@font-face { font-family: "Shrikhand"; src: url("/assets/fonts/shrikhand-latin-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/assets/fonts/dm-sans-latin.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/assets/fonts/dm-sans-latin-italic.woff2") format("woff2"); font-weight: 100 1000; font-style: italic; font-display: swap; }
/* Layout: one long reading column on cream, framed by a navy header strip and footer; archive is a 3-up grid of "mini-post" tiles that echo the Instagram templates. Single brand theme by design. */
:root {
  color-scheme: light;
  --ink: #000624;
  --magenta: #EC3DB4;
  --pink: #FF73B8;
  --peach: #FFA18E;
  --butter: #FFD065;
  --plum: #522554;
  --cream: #FFF4E6;
  --cream-deep: #FBE8D3;
  --muted: #3A3350;
  --on-ink-muted: #E9E2F2;
  --rule: rgba(0, 6, 36, 0.14);
  --gradient: linear-gradient(120deg, #FF73B8 0%, #FFA18E 55%, #FFD065 100%);
  --display: 'Shrikhand', 'Cooper Black', Georgia, serif;
  --body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --measure: 680px;
  --wide: 1180px;
  --shadow: 8px 8px 0 var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wide); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3 { text-wrap: balance; }

/* ---------- Site header ---------- */
.progress { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; height: 4px; width: 0; background: var(--magenta); z-index: 20; }
.site-header { background: var(--cream); border-bottom: 3px solid var(--ink); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--ink); }
.brand span { font-family: var(--display); font-size: 24px; line-height: 1; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a { text-decoration: none; font-weight: 500; font-size: 16px; padding: 10px 12px; border-radius: 999px; }
.site-nav a:hover { background: var(--cream-deep); }
.site-nav a[aria-current="page"] { font-weight: 700; text-decoration: underline; text-decoration-color: var(--magenta); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--body); font-weight: 700; font-size: 16px; text-decoration: none; padding: 12px 22px; min-height: 44px; border-radius: 999px; border: 3px solid var(--ink); cursor: pointer; }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: var(--plum); border-color: var(--plum); }
.btn-join { margin-left: 8px; }
.menu-toggle { display: none; }
@media (max-width: 860px) {
  .site-nav { display: none; }
  .menu-toggle { display: inline-flex; margin-left: auto; background: transparent; color: var(--ink); }
  .site-header .btn-join { margin-left: 0; }
  .brand span { font-size: 20px; }
  .brand img { width: 44px; height: 44px; }
}

/* ---------- Article ---------- */
.article-head { max-width: var(--measure); margin: 0 auto; padding-block: 48px 28px; display: flex; flex-direction: column; gap: 18px; }
.chip { display: inline-flex; align-items: center; align-self: flex-start; font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; padding: 6px 14px; border-radius: 999px; border: 2px solid var(--ink); }
.article-head h1 { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 6vw, 62px); line-height: 1.08; margin: 0; }
.dek { font-size: clamp(20px, 2.4vw, 24px); line-height: 1.45; color: var(--muted); margin: 0; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 16px; color: var(--muted); padding-top: 6px; }
.byline img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ink); }
.byline b { color: var(--ink); }
.byline .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }

.mature { max-width: var(--measure); margin: 0 auto 28px; display: flex; gap: 14px; align-items: flex-start; background: var(--butter); border: 3px solid var(--ink); border-radius: 18px; padding: 16px 20px; font-size: 16px; line-height: 1.5; }
.mature svg { flex-shrink: 0; margin-top: 2px; }

.hero { max-width: 1000px; margin: 0 auto 40px; }
.hero img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; border: 4px solid var(--ink); border-radius: 28px; box-shadow: var(--shadow); }
.hero figcaption { font-size: 14px; color: var(--muted); padding-top: 14px; text-align: right; }

.prose { max-width: var(--measure); margin: 0 auto; font-size: 20px; line-height: 1.72; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin-bottom: 0; }
.prose > p.dropcap::first-letter { font-family: var(--display); float: left; font-size: 92px; line-height: 0.8; padding: 10px 12px 0 0; color: var(--magenta); }
.prose h2 { font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1.15; margin-top: 1.8em; margin-bottom: -0.2em; }
.prose a { text-decoration-color: var(--magenta); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { background: var(--cream-deep); }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--magenta); }
.pullquote { margin: 1.8em 0; padding: 0; position: relative; }
.pullquote::before { content: "\201C"; font-family: var(--display); font-size: 120px; line-height: 0.7; display: block; height: 52px; color: var(--magenta); }
.pullquote p { font-family: var(--display); font-size: clamp(26px, 3.6vw, 34px); line-height: 1.25; margin: 0; }

.signup { margin-block: 2.2em; background: var(--gradient); border: 4px solid var(--ink); border-radius: 28px; box-shadow: var(--shadow); padding: 30px; display: flex; flex-direction: column; gap: 10px; font-size: 17px; line-height: 1.5; }
.signup h2, .signup h3 { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.15; margin: 0; }
.signup p { margin: 0; }
.signup form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.signup input { flex: 1 1 240px; min-width: 0; min-height: 52px; font: inherit; font-size: 17px; padding: 12px 18px; border: 3px solid var(--ink); border-radius: 999px; background: var(--cream); color: var(--ink); }
.signup input::placeholder { color: #6B6480; }
.signup .btn { min-height: 52px; font-size: 17px; }
.signup small { font-size: 14px; color: var(--ink); }
.signup .done { font-weight: 700; }
.signup-dark { background: var(--ink); color: var(--cream); border-color: var(--ink); box-shadow: 8px 8px 0 var(--magenta); }
.signup-dark h2, .signup-dark h3 { color: var(--butter); }
.signup-dark small { color: var(--on-ink-muted); }
.signup-dark .btn { background: var(--magenta); color: var(--ink); border-color: var(--magenta); }
.signup-dark input { border-color: var(--cream); }

.article-foot { max-width: var(--measure); margin: 0 auto; display: flex; flex-direction: column; gap: 24px; padding-block: 8px 24px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { font-size: 15px; text-decoration: none; padding: 6px 14px; border-radius: 999px; background: var(--cream-deep); }
.tags a:hover { background: var(--butter); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 16px; }
.share .btn { background: transparent; color: var(--ink); padding: 8px 16px; font-size: 15px; border-width: 2px; }
.share .btn:hover { background: var(--cream-deep); }
.disclosure { background: var(--cream-deep); border: 2px solid var(--ink); border-radius: 18px; padding: 18px 22px; font-size: 15px; line-height: 1.55; }
.disclosure b { display: block; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--plum); margin-bottom: 4px; }

.related { padding-block: 56px 72px; border-top: 3px solid var(--ink); margin-top: 48px; }
.section-title { font-family: var(--display); font-weight: 400; font-size: 36px; line-height: 1.1; margin: 0 0 28px; }

/* ---------- Cards and tiles ---------- */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid { grid-template-columns: minmax(0, 1fr); } }
.card { position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tile { position: relative; aspect-ratio: 4 / 3; max-width: 100%; border: 4px solid var(--ink); border-radius: 24px; box-shadow: 6px 6px 0 var(--ink); padding: 20px 22px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.tile .cat { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.tile h3 { font-family: var(--display); font-weight: 400; font-size: 25px; line-height: 1.15; margin: 0; }
.tile h3 a { text-decoration: none; }
.tile h3 a::after { content: ""; position: absolute; inset: -4px; }
.card:hover .tile, .card:focus-within .tile { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.tile.photo { padding: 0; }
.tile.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card .photo-title { font-family: var(--display); font-weight: 400; font-size: 25px; line-height: 1.15; margin: 0; }
.card .photo-title a { text-decoration: none; }
.card .photo-title a::after { content: ""; position: absolute; inset: 0; }
.card .meta { font-size: 15px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 10px; }
.card .card-dek { font-size: 17px; line-height: 1.5; margin: 0; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .tile { transition: none; } }

/* category colours: tiles and chips share them */
.c-desire { background: var(--magenta); color: var(--ink); }
.c-body { background: var(--butter); color: var(--ink); }
.c-normal { background: var(--ink); color: var(--cream); }
.c-normal h3 { color: var(--pink); }
.c-comm { background: var(--cream); color: var(--ink); }
.c-rel { background: var(--peach); color: var(--ink); }
.c-midlife { background: var(--plum); color: var(--cream); }
.c-midlife h3 { color: var(--butter); }
.c-play { background: var(--gradient); color: var(--ink); }

/* ---------- Archive ---------- */
.archive-head { padding-block: 52px 28px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; }
.archive-head .kicker { font-size: 14px; font-weight: 700; letter-spacing: 0.12em; color: var(--plum); }
.archive-head h1 { font-family: var(--display); font-weight: 400; font-size: clamp(56px, 10vw, 112px); line-height: 0.95; margin: 6px 0 0; color: var(--magenta); -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill; text-shadow: 7px 7px 0 var(--ink); }
.archive-head p { margin: 0; font-size: 20px; line-height: 1.5; color: var(--muted); }
@media (max-width: 760px) { .archive-head { grid-template-columns: minmax(0, 1fr); } }
.filters { overflow-x: auto; padding-block: 6px 14px; margin-bottom: 28px; border-bottom: 3px solid var(--ink); }
.filters ul { list-style: none; margin: 0; padding: 0 0 4px; display: flex; gap: 10px; width: max-content; }
.filters button { font: inherit; font-size: 15px; font-weight: 700; min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 2.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; white-space: nowrap; }
.filters button:hover { background: var(--cream-deep); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }

.featured { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 36px; align-items: center; margin-bottom: 56px; position: relative; }
.featured .tile { aspect-ratio: 16 / 10; padding: 32px; box-shadow: var(--shadow); }
.featured .tile h2 { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 4vw, 48px); line-height: 1.08; margin: 0; }
.featured .tile h2 a { text-decoration: none; }
.featured .tile h2 a::after { content: ""; position: absolute; inset: 0; }
.featured-text { display: flex; flex-direction: column; gap: 14px; }
.featured-text .label { align-self: flex-start; font-family: var(--display); font-size: 22px; background: var(--ink); color: var(--butter); padding: 6px 20px; border-radius: 999px; transform: rotate(-2deg); }
.featured-text p { margin: 0; font-size: 21px; line-height: 1.5; }
.featured-text .meta { font-size: 16px; color: var(--muted); }
.featured:hover .tile { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--ink); }
@media (max-width: 760px) { .featured { grid-template-columns: minmax(0, 1fr); gap: 22px; } }

.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; padding-block: 56px 72px; }
.pager a, .pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; padding: 0 14px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.pager a { border: 2.5px solid var(--ink); }
.pager a:hover { background: var(--cream-deep); }
.pager [aria-current="page"] { background: var(--ink); color: var(--cream); border: 2.5px solid var(--ink); }
.pager .gap { min-width: 24px; }
.empty { display: none; font-size: 18px; padding: 32px 0; }

.band { background: var(--ink); color: var(--cream); }
.band .wrap { padding-block: 64px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.band h2 { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 5vw, 54px); line-height: 1.05; margin: 0; color: var(--pink); }
.band p { margin: 10px 0 0; color: var(--on-ink-muted); font-size: 19px; }
.band .signup { margin: 0; }
@media (max-width: 760px) { .band .wrap { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink-muted); border-top: 2px solid #232849; font-size: 15px; }
.site-footer .wrap { padding-block: 40px; display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.site-footer .brand span { color: var(--cream); font-size: 22px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-footer nav a { color: var(--cream); text-decoration: none; padding: 8px 0; }
.site-footer nav a:hover { text-decoration: underline; text-decoration-color: var(--magenta); }
.site-footer .fine { flex-basis: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid #2B3052; padding-top: 18px; font-size: 14px; }

/* ---------- Additions for the live site ---------- */
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 999px; z-index: 30; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* Mobile menu: a <details> element, works without JavaScript */
.mobile-menu { display: none; margin-left: auto; position: relative; }
.mobile-menu summary { list-style: none; cursor: pointer; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav { position: absolute; right: 0; top: calc(100% + 10px); background: var(--cream); border: 3px solid var(--ink); border-radius: 20px; box-shadow: 6px 6px 0 var(--ink); padding: 10px; display: flex; flex-direction: column; min-width: 200px; z-index: 25; }
.mobile-menu nav a { text-decoration: none; font-weight: 500; padding: 12px 14px; border-radius: 12px; }
.mobile-menu nav a:hover { background: var(--cream-deep); }
@media (max-width: 860px) { .mobile-menu { display: block; } }

/* Markdown blockquotes are styled as pull quotes */
.prose blockquote { margin: 1.8em 0; padding: 0; border: 0; }
.prose blockquote::before { content: "\201C"; font-family: var(--display); font-size: 120px; line-height: 0.7; display: block; height: 52px; color: var(--magenta); }
.prose blockquote p { font-family: var(--display); font-size: clamp(26px, 3.6vw, 34px); line-height: 1.25; margin: 0; }
.prose blockquote p + p { margin-top: 0.6em; }

.prose h3 { font-size: 23px; line-height: 1.3; margin-top: 1.6em; margin-bottom: -0.3em; }
.prose img, .prose picture img { display: block; max-width: 100%; height: auto; border-radius: 20px; border: 3px solid var(--ink); }
.prose figure { margin: 1.8em 0; }
.prose figcaption { font-size: 15px; color: var(--muted); padding-top: 10px; line-height: 1.5; }
.prose hr { border: 0; text-align: center; margin: 2.2em 0; }
.prose hr::after { content: "✦ ✦ ✦"; color: var(--magenta); letter-spacing: 0.6em; font-size: 16px; }
.prose .table-wrap, .prose table { display: block; overflow-x: auto; max-width: 100%; }
.prose table { border-collapse: collapse; font-size: 17px; }
.prose th, .prose td { border: 2px solid var(--ink); padding: 8px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--cream-deep); }
.prose sup a { text-decoration: none; font-weight: 700; color: var(--plum); }
.prose .footnotes { font-size: 16px; color: var(--muted); border-top: 2px solid var(--rule); padding-top: 1em; margin-top: 2.4em; }

/* Paid posts imported from Substack: teaser plus a prompt */
.paywall { margin-block: 2.2em; text-align: left; }
.paywall .signup h2 { color: var(--ink); }
.paywall .continue { font-weight: 700; }

/* Category and archive headers share the archive layout */
.archive-head .count { font-size: 16px; font-weight: 700; color: var(--plum); display: block; margin-top: 10px; }
.filters a { display: inline-flex; align-items: center; font-size: 15px; font-weight: 700; min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 2.5px solid var(--ink); text-decoration: none; white-space: nowrap; }
.filters a:hover { background: var(--cream-deep); }
.filters a[aria-current="page"] { background: var(--ink); color: var(--cream); }
.empty-state { font-size: 19px; padding: 24px 0 56px; }

/* Thank-you page */
.thanks { max-width: 720px; margin: 0 auto; padding-block: 72px 96px; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.thanks h1 { font-family: var(--display); font-weight: 400; font-size: clamp(48px, 9vw, 92px); line-height: 1; margin: 0; color: var(--magenta); -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill; text-shadow: 7px 7px 0 var(--ink); }
.thanks p { font-size: 21px; line-height: 1.55; margin: 0; }
.thanks ol { font-size: 19px; line-height: 1.6; padding-left: 1.2em; margin: 0; }
.thanks .btn { margin-top: 8px; }

.signup .error { color: #8A0E4F; font-weight: 700; }
.signup-dark .error { color: var(--butter); }

/* Latest articles on the homepage */
.home-latest { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 2.5rem; text-align: left; font-family: var(--body); color: var(--ink); }
@media (max-width: 960px) { .home-latest { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .home-latest { grid-template-columns: minmax(0, 1fr); } }
.home-latest-link { display: inline-flex; margin-top: 2rem; }

/* ================= Homepage ================= */
.kicker { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: 0.12em; color: var(--plum); margin-bottom: 8px; }
.sticker { display: inline-block; align-self: flex-start; font-family: var(--display); font-size: 20px; background: var(--ink); color: var(--butter); padding: 8px 20px; border-radius: 999px; transform: rotate(-2deg); }
.anchor { position: relative; top: -20px; display: block; }

.home-hero { background: var(--gradient); border-bottom: 3px solid var(--ink); overflow: hidden; }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; padding-block: 56px 64px; }
.home-hero-text { display: flex; flex-direction: column; gap: 22px; }
.home-hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(46px, 7vw, 92px); line-height: 1.02; margin: 0; }
.home-hero h1 .outline { display: inline-block; color: var(--magenta); -webkit-text-stroke: 5px var(--ink); paint-order: stroke fill; text-shadow: 7px 7px 0 var(--ink); }
.home-hero .lede { font-size: clamp(19px, 2.1vw, 22px); line-height: 1.5; margin: 0; max-width: 560px; }
.home-hero .signup { margin: 0; background: var(--cream); max-width: 560px; padding: 22px 24px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-weight: 700; }
.hero-links a { text-decoration-thickness: 2px; text-underline-offset: 4px; }
.home-hero-art { position: relative; margin: 0; justify-self: center; width: min(100%, 520px); }
.home-hero-art img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border: 5px solid var(--ink); border-radius: 50% 50% 32px 32px; box-shadow: 14px 14px 0 var(--ink); }
.art-badge { position: absolute; left: -18px; bottom: 36px; font-family: var(--display); font-size: 22px; line-height: 1.1; text-align: center; background: var(--butter); border: 4px solid var(--ink); border-radius: 50%; width: 132px; height: 132px; display: flex; align-items: center; justify-content: center; transform: rotate(-10deg); box-shadow: 5px 5px 0 var(--ink); }
@media (max-width: 860px) {
  .home-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 40px 48px; }
  .home-hero-art { width: min(86%, 420px); order: -1; }
  .art-badge { width: 104px; height: 104px; font-size: 18px; left: -8px; }
}

.ticker { background: var(--ink); color: var(--cream); overflow: hidden; border-bottom: 3px solid var(--ink); }
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker ul { list-style: none; margin: 0; padding: 14px 0; display: flex; }
.ticker li { display: flex; align-items: center; }
.ticker li::after { content: "✦"; color: var(--magenta); margin: 0 22px; }
.ticker a { font-family: var(--display); font-size: 22px; text-decoration: none; white-space: nowrap; }
.ticker a:hover { color: var(--pink); }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } .ticker { overflow-x: auto; } }

.home-section { padding-block: 72px; }
.home-section + .home-section { border-top: 3px solid var(--ink); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 32px; }
.section-head .section-title { margin: 0; }
.featured .tile h3 { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 4vw, 48px); line-height: 1.08; margin: 0; }
.featured .tile h3 a { text-decoration: none; }
.featured .tile h3 a::after { content: ""; position: absolute; inset: 0; }

.home-cats { background: var(--cream-deep); }
.cat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cat-grid li:first-child { grid-column: span 2; }
@media (max-width: 960px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: minmax(0, 1fr); } .cat-grid li:first-child { grid-column: auto; } }
.cat-tile { height: 100%; min-height: 200px; display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 4px solid var(--ink); border-radius: 24px; box-shadow: 6px 6px 0 var(--ink); text-decoration: none; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.cat-tile:hover, .cat-tile:focus-visible { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.cat-name { font-family: var(--display); font-size: 28px; line-height: 1.1; }
.cat-desc { font-size: 16px; line-height: 1.45; }
.cat-count { margin-top: auto; font-weight: 700; font-size: 15px; }
@media (prefers-reduced-motion: reduce) { .cat-tile { transition: none; } }

.home-mission { background: var(--ink); color: var(--cream); }
.mission-grid { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 56px; align-items: center; padding-block: 80px; }
.mission-art { margin: 0; justify-self: center; width: min(100%, 400px); }
.mission-art img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%; border: 5px solid var(--cream); border-radius: 200px 200px 28px 28px; box-shadow: 14px 14px 0 var(--magenta); }
.mission-text .kicker { color: var(--butter); }
.mission-text h2 { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.12; margin: 0 0 22px; }
.mission-text .hl { color: var(--pink); }
.mission-text p { font-size: 19px; line-height: 1.6; color: var(--on-ink-muted); margin: 0; max-width: 620px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 36px 0 0; }
.stats div { border-top: 3px solid var(--magenta); padding-top: 12px; }
.stats dt { font-family: var(--display); font-size: clamp(32px, 4vw, 44px); line-height: 1; color: var(--butter); }
.stats dd { margin: 8px 0 0; font-size: 15px; line-height: 1.4; color: var(--on-ink-muted); }
@media (max-width: 860px) { .mission-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 56px; } .mission-art { width: min(70%, 320px); } }
@media (max-width: 480px) { .stats { grid-template-columns: minmax(0, 1fr); } }

.eco-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 960px) { .eco-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .eco-grid { grid-template-columns: minmax(0, 1fr); } }
.eco-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 3px solid var(--ink); border-radius: 24px; background: var(--cream); }
.eco-card h3 { font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.15; margin: 0; }
.eco-card p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--muted); }
.eco-card a { margin-top: auto; font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.eco-status { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 2px solid var(--ink); }
.eco-status.live { background: var(--magenta); }
.eco-status.soon { background: transparent; color: var(--muted); border-style: dashed; }

.fine-print { font-size: 14px; color: var(--muted); margin: 20px 0 0; }

.home-partner { background: var(--cream-deep); }
.partner-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: start; }
.partner-lede { font-size: 19px; line-height: 1.55; margin: 0 0 18px; max-width: 560px; }
.partner-list { margin: 0; padding-left: 1.2em; font-size: 17px; line-height: 1.7; }
.partner-list li::marker { content: "✦  "; color: var(--magenta); }
.partner-form { margin: 0; background: var(--butter); }
.partner-form form { flex-direction: column; align-items: stretch; }
.partner-form label { font-weight: 700; font-size: 15px; }
.partner-form select { min-height: 52px; font: inherit; font-size: 17px; padding: 10px 16px; border: 3px solid var(--ink); border-radius: 999px; background: var(--cream); color: var(--ink); }
.partner-form input { flex: 0 0 auto; }
@media (max-width: 860px) { .partner-grid { grid-template-columns: minmax(0, 1fr); } }

.news-grid { display: grid; grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr); gap: 40px; align-items: center; padding-block: 64px; }
.news-grid h2 { color: var(--pink); }
.news-grid .signup { margin-top: 18px; max-width: 560px; }
.news-host { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.avatar-ring { width: 200px; height: 200px; border-radius: 50%; overflow: hidden; border: 5px solid var(--cream); box-shadow: 8px 8px 0 var(--magenta); background: #FDA578; flex-shrink: 0; }
.avatar-ring img { width: 100%; height: 178%; object-fit: cover; object-position: 50% 0; transform: translateY(-14%); display: block; }
.bubble { position: relative; margin: 0; font-family: var(--display); font-size: 22px; background: var(--butter); color: var(--ink); border: 3px solid var(--cream); border-radius: 22px; padding: 10px 18px; }
.bubble::before { content: ""; position: absolute; top: -12px; left: 50%; margin-left: -10px; border: 10px solid transparent; border-top: 0; border-bottom: 12px solid var(--cream); }
@media (max-width: 760px) { .news-grid { grid-template-columns: minmax(0, 1fr); } .avatar-ring { width: 150px; height: 150px; } }

/* ================= Shop ================= */
.disclaimer { background: var(--butter); border: 3px solid var(--ink); border-radius: 18px; padding: 14px 18px; font-size: 15px; line-height: 1.5; margin: 0 0 24px; }
.shop-picks { margin-bottom: 56px; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 22px; }
@media (max-width: 1080px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; } }
@media (max-width: 420px) { .product-grid { grid-template-columns: minmax(0, 1fr); } }
.product { display: flex; flex-direction: column; min-width: 0; border: 3px solid var(--ink); border-radius: 22px; background: #FFFBF5; overflow: hidden; box-shadow: 5px 5px 0 var(--ink); }
.product-img { position: relative; aspect-ratio: 1; background: #fff; border-bottom: 3px solid var(--ink); }
.product-img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; box-sizing: border-box; display: block; }
.product-badges { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.product-badge { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; background: var(--magenta); border: 2px solid var(--ink); border-radius: 999px; padding: 3px 10px; }
.product-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex-grow: 1; }
.product-brand { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--plum); }
.product-name { font-size: 17px; line-height: 1.3; margin: 0; font-weight: 700; }
.product-desc { font-size: 14px; line-height: 1.45; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product-foot { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.product-price { font-family: var(--display); font-size: 22px; }
.product-cta { font-size: 14px; padding: 8px 14px; min-height: 40px; border-width: 2px; }
.shop-tools { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 18px; margin: 0 0 28px; }
.shop-tools .field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 180px; min-width: 0; }
.shop-tools label { font-size: 14px; font-weight: 700; }
.shop-tools input, .shop-tools select { min-height: 48px; font: inherit; font-size: 16px; padding: 8px 16px; border: 2.5px solid var(--ink); border-radius: 999px; background: #FFFBF5; color: var(--ink); }
.shop-count { margin: 0 0 12px; font-weight: 700; color: var(--plum); white-space: nowrap; }
.linklike { font: inherit; background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-decoration-color: var(--magenta); text-decoration-thickness: 2px; cursor: pointer; }
.shop-guide { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin: 64px 0 72px; padding: 28px; background: var(--ink); color: var(--cream); border-radius: 28px; box-shadow: 8px 8px 0 var(--magenta); }
.shop-guide .avatar-ring { width: 140px; height: 140px; }
.shop-guide > div:last-child { flex: 1 1 320px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.shop-guide h2 { font-family: var(--display); font-weight: 400; font-size: 30px; margin: 0; color: var(--butter); }
.shop-guide p { margin: 0; font-size: 18px; line-height: 1.5; color: var(--on-ink-muted); }
.shop-guide .btn { background: var(--magenta); color: var(--ink); border-color: var(--magenta); }
.partner-grid > *, .news-grid > *, .mission-grid > *, .home-hero-grid > * { min-width: 0; }
.partner-form form { flex-wrap: nowrap; }
.partner-form select, .partner-form input { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; flex: 0 0 auto; }
.news-host .bubble { color: var(--ink); }

/* ---------- Social links ---------- */
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.social a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 15px; border: 2px solid currentColor; }
.social-footer a { color: var(--cream); border-color: #3A3F63; }
.social-footer a:hover { border-color: var(--magenta); color: var(--pink); }
.social-band a { color: var(--cream); }
.social-band a:hover { color: var(--butter); }
.social-lede { margin: 26px 0 10px; font-size: 16px; color: var(--on-ink-muted); }
.social-light a { color: var(--ink); }
.social-light a:hover { background: var(--cream-deep); }

/* ---------- /links (Instagram bio page) ---------- */
.links-page { background: var(--gradient); border-bottom: 3px solid var(--ink); padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.links-wrap { max-width: 560px; margin: 0 auto; padding-block: 40px 56px; display: flex; flex-direction: column; gap: 24px; }
.links-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.links-head .avatar-ring { width: 128px; height: 128px; border-color: var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.links-head h1 { font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1.05; margin: 6px 0 0; color: var(--magenta); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 4px 4px 0 var(--ink); }
.links-head p { margin: 0; font-size: 17px; line-height: 1.5; max-width: 420px; }
.links-wrap .signup { margin: 0; background: var(--cream); padding: 22px; }
.links-wrap .signup h2 { font-size: 26px; }
.links-label { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; margin: 0 0 10px; }
.links-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.link-card { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; background: var(--cream); border: 3px solid var(--ink); border-radius: 20px; box-shadow: 5px 5px 0 var(--ink); text-decoration: none; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.link-card:hover, .link-card:focus-visible { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.link-cat { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; border: 2px solid var(--ink); }
.link-cat.c-normal h3, .link-cat.c-midlife { color: var(--cream); }
.link-title { font-family: var(--display); font-size: 21px; line-height: 1.2; }
.link-meta { font-size: 14px; color: var(--muted); }
.links-more { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.link-pill { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 20px; border-radius: 999px; background: var(--ink); color: var(--cream); font-weight: 700; text-decoration: none; }
.link-pill:hover { background: var(--plum); }
.links-social { justify-content: center; }
.links-social a { background: var(--cream); border-color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .link-card { transition: none; } }

/* ---------- Shop landing: stats, category tiles, trending row ---------- */
.shop-intro { display: flex; flex-direction: column; gap: 16px; }
.shop-intro p { margin: 0; }
.shop-stats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.shop-stats li { border: 2.5px solid var(--ink); border-radius: 999px; padding: 6px 16px; font-weight: 700; font-size: 15px; background: #FFFBF5; }
.shop-stats b { font-family: var(--display); font-weight: 400; font-size: 20px; color: var(--magenta); -webkit-text-stroke: 1px var(--ink); paint-order: stroke fill; margin-right: 4px; }
.badge-trending { background: var(--butter); }
.badge-featured { background: var(--peach); }
.shop-cats { margin: 8px 0 56px; }
.shop-cat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.shop-cat-grid .cat-tile { min-height: 140px; }
.shop-cat-grid .cat-name { font-size: 24px; }
.section-sub { margin: -8px 0 20px; color: var(--muted); font-size: 17px; }
.shop-trending { margin-bottom: 56px; min-width: 0; max-width: 100%; }
.product-row { position: relative; min-width: 0; max-width: 100%; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 260px); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 8px 18px 4px; }
.product-row > .product { scroll-snap-align: start; }
.product-row:focus-visible { outline: 3px solid var(--magenta); outline-offset: 4px; border-radius: 22px; }

/* ---------- Testimonials ---------- */
.home-voices { background: var(--cream-deep); }
.voice-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.voice { position: relative; height: 100%; box-sizing: border-box; display: flex; flex-direction: column; gap: 14px; background: #FFFBF5; border: 4px solid var(--ink); border-radius: 28px; box-shadow: var(--shadow); padding: 30px 28px 26px; margin: 0; }
.voice::before { content: "\201C"; font-family: var(--display); font-size: 96px; line-height: 0.6; height: 36px; color: var(--magenta); }
.voice blockquote { margin: 0; font-size: 20px; line-height: 1.5; }
.voice blockquote p { margin: 0; }
.voice figcaption { margin-top: auto; display: flex; flex-direction: column; font-size: 15px; }
.voice figcaption b { font-size: 17px; }
.voice figcaption span { color: var(--plum); }
@media (max-width: 560px) {
  .shop-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .shop-cat-grid .cat-tile { min-height: 104px; padding: 14px; border-width: 3px; box-shadow: 4px 4px 0 var(--ink); }
  .shop-cat-grid .cat-name { font-size: 18px; }
  .shop-cat-grid .cat-count { font-size: 13px; }
}

/* ---------- Mobile hardening (Nov 2026) ---------- */
/* Long words and URLs from imported posts must wrap, never widen the page */
body { overflow-wrap: break-word; }
.prose, .prose * , .archive-head, .card, .eco-card, .voice { overflow-wrap: anywhere; }
/* Substack import turned some indented paragraphs into code blocks: let them wrap like text */
.prose pre { white-space: pre-wrap; max-width: 100%; overflow-x: auto; font-family: var(--body); font-size: 17px; line-height: 1.55; background: var(--cream-deep); border: 2px solid var(--ink); border-radius: 16px; padding: 14px 16px; }
.prose pre code, .prose code { white-space: inherit; font-family: inherit; }
.prose :not(pre) > code { white-space: normal; background: var(--cream-deep); border-radius: 6px; padding: 1px 5px; }
.prose img, .prose iframe, .prose video, .prose table { max-width: 100%; }
.prose table { display: block; overflow-x: auto; }
/* Tap targets: at least 44px tall */
.hero-links a, .eco-card a, .site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer nav a { padding: 0 10px; margin: 0 -10px; min-width: 44px; justify-content: center; }
a.chip { min-height: 44px; }
.link-cat { font-size: 12px; }
/* Small phones */
@media (max-width: 480px) {
  .featured .tile { aspect-ratio: auto; min-height: 220px; }
}
@media (max-width: 380px) {
  .shop-cat-grid { grid-template-columns: minmax(0, 1fr); }
  .shop-cat-grid .cat-tile { min-height: 84px; }
  .site-header .brand span { font-size: 19px; line-height: 1.05; }
}

/* ---------- Substack signup embed (replaces the Loops newsletter form) ---------- */
.substack-embed { display: block; width: 100%; max-width: 560px; height: 320px; border: 3px solid var(--ink); border-radius: 20px; background: #fff; box-sizing: border-box; }
.signup small a { display: inline-block; padding: 12px 4px; margin: -12px -4px; color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.signup-dark .substack-embed { border-color: var(--cream); }
@media (max-width: 420px) { .substack-embed { height: 360px; } }

/* Partnership form consent line */
.partner-form .consent { flex-basis: 100%; margin: 4px 0 0; font-size: 13px; line-height: 1.45; color: var(--muted); }

/* Black Friday edit (/shop/black-friday/) */
.bf-deal { margin: 56px 0; }
.bf-deal-head { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between; margin-bottom: 22px; }
.bf-deal-head > div { max-width: 62ch; }
.bf-badge { display: inline-block; background: var(--magenta); color: var(--ink); border: 3px solid var(--ink); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.bf-dates { font-weight: 700; margin: 6px 0 4px; }
.bf-detail { margin: 0; line-height: 1.5; }
.bf-store { flex-shrink: 0; min-height: 44px; }
.shop-bf-banner { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; background: var(--butter); border: 3px solid var(--ink); border-radius: 18px; padding: 16px 20px; margin: 0 0 28px; }
.shop-bf-banner p { margin: 0; font-weight: 700; }
.shop-bf-banner .btn { min-height: 44px; }
.home-bf { margin-top: 28px; }
.home-bf .shop-bf-banner { margin: 0; }

/* ================= Quiz (/quiz/) ================= */
.quiz { overflow-wrap: anywhere; }
.quiz [hidden] { display: none !important; }
.quiz-hero, .quiz-stage, .quiz-result-hero { background: var(--gradient); border-bottom: 3px solid var(--ink); }
.quiz-hero { padding-block: 48px 64px; }
.quiz-stage { padding-block: 40px 64px; min-height: min(86vh, 900px); }
.quiz-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 48px; align-items: center; }
.quiz-card { background: var(--cream); border: 5px solid var(--ink); border-radius: 36px; box-shadow: 14px 14px 0 var(--ink); padding: clamp(22px, 4.5vw, 48px); max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.quiz-intro { margin: 0; }
.quiz-display { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 8vw, 84px); line-height: 1.06; margin: 0; color: var(--magenta); -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill; text-shadow: 6px 6px 0 var(--ink); }
.quiz-display:focus { outline: none; }
.quiz-display-sm { font-size: clamp(34px, 6vw, 58px); }
.quiz-lede { font-size: clamp(19px, 2.2vw, 22px); line-height: 1.5; margin: 0; }
.quiz-fine { font-size: 15px; line-height: 1.5; color: var(--muted); margin: 0; }
.quiz-btn-big { align-self: flex-start; background: var(--magenta); color: var(--ink); font-size: 19px; min-height: 56px; padding: 14px 30px; box-shadow: 5px 5px 0 var(--ink); }
.quiz-btn-big:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.quiz-btn-big:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.quiz-btn-big:disabled { opacity: 0.6; cursor: progress; }
.quiz-btn-ghost { background: transparent; color: var(--ink); }
.quiz-btn-ghost:hover { background: var(--cream-deep); }
.quiz-hero-art { margin: 0; justify-self: center; width: min(100%, 420px); }
.quiz-hero-art img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border: 5px solid var(--ink); border-radius: 50% 50% 32px 32px; box-shadow: 14px 14px 0 var(--ink); }
@media (max-width: 860px) {
  .quiz-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .quiz-hero-art { display: none; }
}

/* One question per screen */
.quiz-q { border: 5px solid var(--ink); position: relative; }
.quiz-top { display: flex; align-items: center; gap: 14px; padding-right: clamp(64px, 14vw, 120px); }
.quiz-count { flex-shrink: 0; font-weight: 700; font-size: 15px; background: var(--ink); color: var(--butter); padding: 6px 14px; border-radius: 999px; }
.quiz-bar { flex: 1; height: 12px; border: 3px solid var(--ink); border-radius: 999px; background: var(--cream-deep); overflow: hidden; }
.quiz-bar span { display: block; height: 100%; background: var(--magenta); }
.quiz-num { position: absolute; top: clamp(10px, 2vw, 22px); right: clamp(16px, 3vw, 34px); font-family: var(--display); font-size: clamp(54px, 11vw, 104px); line-height: 1; color: var(--butter); -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill; text-shadow: 5px 5px 0 var(--ink); transform: rotate(-4deg); pointer-events: none; }
.quiz-question { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 4.2vw, 40px); line-height: 1.15; padding: 0; margin: clamp(18px, 3vw, 28px) 0 4px; float: left; width: 100%; }
.quiz-question:focus { outline: none; }
.quiz-options { clear: both; display: grid; gap: 12px; }
.quiz-option { position: relative; display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 14px 18px; font-size: 18px; line-height: 1.4; background: var(--cream-deep); border: 3px solid var(--ink); border-radius: 20px; cursor: pointer; transition: transform 0.12s, box-shadow 0.12s, background 0.12s; }
.quiz-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.quiz-option::before { content: ""; flex-shrink: 0; width: 22px; height: 22px; border: 3px solid var(--ink); border-radius: 50%; background: var(--cream); }
.quiz-option:hover { background: #FFE9C2; }
.quiz-option:has(input:checked) { background: var(--butter); transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); font-weight: 700; }
.quiz-option:has(input:checked)::before { background: var(--magenta); box-shadow: inset 0 0 0 3px var(--cream); }
.quiz-option:has(input:focus-visible) { outline: 3px solid var(--magenta); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .quiz-option { transition: none; } }
.quiz-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.quiz-back { font: inherit; font-weight: 700; font-size: 16px; color: var(--ink); background: transparent; border: 0; min-height: 44px; padding: 8px 4px; cursor: pointer; text-decoration: underline; text-decoration-color: var(--magenta); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.quiz-next { margin-left: auto; }
.quiz-next:disabled { opacity: 0.35; cursor: not-allowed; }

/* Email gate */
.quiz-gate .kicker { margin: 0; }
.quiz-gate p { margin: 0; font-size: 18px; line-height: 1.5; }
.quiz-gate-form { display: flex; flex-direction: column; gap: 14px; }
.quiz-field { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 16px; }
.quiz-field input { min-height: 54px; font: inherit; font-weight: 400; font-size: 18px; padding: 12px 20px; border: 3px solid var(--ink); border-radius: 999px; background: var(--cream); color: var(--ink); width: 100%; }
.quiz-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quiz-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.45; cursor: pointer; }
.quiz-consent input { flex-shrink: 0; width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--magenta); }
.quiz-error { color: #8A0E4F; font-weight: 700; }

/* Result */
.quiz-result-hero { padding-block: 44px 96px; }
.quiz-result-hero .wrap { max-width: 860px; display: flex; flex-direction: column; gap: 18px; }
.quiz-result-card { position: relative; margin-top: -64px; margin-bottom: 48px; font-size: 19px; line-height: 1.65; }
.quiz-result-card p { margin: 0; }
.quiz-opener { background: var(--butter); border: 3px solid var(--ink); border-radius: 18px; padding: 16px 20px; font-weight: 700; line-height: 1.5; }
.quiz-sign { font-family: var(--display); font-size: 24px; color: var(--plum); }
.quiz-status:empty { display: none; }
.quiz-status { background: var(--cream-deep); border-radius: 14px; padding: 12px 16px; font-size: 16px; line-height: 1.5; }
.quiz-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.quiz-disclaimer { max-width: 760px; margin: 28px auto 56px; font-size: 14px; line-height: 1.55; color: var(--muted); text-align: center; }
@media (max-width: 480px) {
  .quiz-card { border-width: 4px; border-radius: 26px; box-shadow: 8px 8px 0 var(--ink); }
  .quiz-display { -webkit-text-stroke-width: 3px; text-shadow: 4px 4px 0 var(--ink); }
  .quiz-option { font-size: 17px; padding: 12px 14px; }
  .quiz-btn-big { align-self: stretch; }
}
