/* =========================================================
   FizzFellowShowtick · PersonaSpark
   Editorial / sticker-collage design system
   Mobile-first, responsive, accessible
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --ink: #29252E;
  --ink-2: #3A3541;
  --ink-3: #4D4756;
  --coral: #F06B5B;
  --coral-deep: #D9503F;
  --coral-soft: #FCE3DF;
  --lime: #C6E86B;
  --lime-deep: #A9CF45;
  --lime-soft: #EEF8D2;
  --violet: #5B4BD6;
  --violet-deep: #4636B8;
  --violet-soft: #E7E3FB;
  --pink: #F7B6D2;
  --pink-soft: #FCE6EF;
  --mint: #BFEBD9;
  --mint-soft: #E3F6EE;
  --cream: #FBF7F1;
  --paper: #FFFFFF;
  --muted: #6A6372;
  --line: rgba(41, 37, 46, 0.14);
  --line-strong: rgba(41, 37, 46, 0.3);

  --font-serif: "Fraunces", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --radius-s: 8px;
  --radius: 14px;
  --radius-l: 22px;
  --radius-pill: 999px;

  --shadow-s: 0 1px 2px rgba(41, 37, 46, 0.08), 0 2px 6px rgba(41, 37, 46, 0.06);
  --shadow: 0 6px 18px rgba(41, 37, 46, 0.1), 0 2px 4px rgba(41, 37, 46, 0.06);
  --shadow-l: 0 18px 40px rgba(41, 37, 46, 0.18);
  --shadow-pop: 4px 4px 0 var(--ink);

  --wrap: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-y: clamp(3rem, 8vw, 6rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p, ul, ol, dl, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.35rem); }
p { text-wrap: pretty; }
a { color: var(--violet-deep); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--coral-deep); }
code { font-family: var(--font-mono); font-size: 0.9em; background: rgba(41,37,46,.07); padding: .1em .35em; border-radius: 4px; }
strong { font-weight: 700; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
  border-radius: 4px;
}
.section-dark :focus-visible,
.site-footer :focus-visible,
.page-hero--ink :focus-visible,
.page-hero--violet :focus-visible,
.hero :focus-visible { outline-color: var(--lime); }

::selection { background: var(--lime); color: var(--ink); }

/* ---------- Utilities ---------- */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 1000;
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
  padding: .75rem 1.1rem;
  border-radius: var(--radius-s);
  text-decoration: none;
  box-shadow: var(--shadow-pop);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.hint { font-size: .85rem; color: var(--muted); font-weight: 400; }
.h-small { font-size: 1.25rem; }
.center-link { text-align: center; margin-top: 2.5rem; }

/* ---------- Page enter ---------- */
.page-enter { animation: pageEnter .6s var(--ease) both; }
@keyframes pageEnter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 241, 0.9);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem .75rem;
  min-height: 64px;
  padding-block: .6rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.brand:hover { color: var(--ink); }
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--coral);
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -.02em;
  position: relative;
  flex-shrink: 0;
}
.brand-mark::after {
  content: "";
  position: absolute;
  top: -4px; right: -4px;
  width: 12px; height: 12px;
  background: var(--lime);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  transition: transform .5s var(--ease);
}
.brand:hover .brand-mark::after { transform: rotate(90deg) scale(1.2); }
.brand-text {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -.01em;
}
.brand-text em { font-style: italic; color: var(--coral-deep); }
.brand-light, .brand-light:hover { color: var(--cream); }
.brand-light .brand-mark { background: var(--cream); color: var(--coral-deep); }
.brand-light .brand-text em { color: var(--coral); }

.saved-toggle {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  border-radius: var(--radius-pill);
  padding: .4rem .8rem;
  font-size: .9rem;
  font-weight: 600;
  transition: background .2s, transform .2s var(--ease);
}
.saved-toggle > span[aria-hidden] { color: var(--coral); }
.saved-toggle:hover { background: var(--pink-soft); transform: translateY(-1px); }
.saved-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.4rem; height: 1.4rem;
  padding: 0 .35rem;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--lime);
  font-size: .75rem;
  font-weight: 700;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--ink);
  color: var(--cream);
  border: 0;
  border-radius: var(--radius-pill);
  padding: .5rem .9rem;
  font-weight: 600;
  font-size: .9rem;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  display: none;
  flex-basis: 100%;
  padding-block: .5rem 1rem;
}
.nav-toggle[aria-expanded="true"] ~ .site-nav,
.site-nav.is-open { display: block; animation: navDrop .3s var(--ease); }
@keyframes navDrop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.site-nav ul { list-style: none; display: grid; gap: .25rem; }
.site-nav a {
  display: block;
  padding: .7rem .9rem;
  border-radius: var(--radius-s);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}
.site-nav a:hover { background: var(--lime-soft); color: var(--ink); }
.site-nav a[aria-current="page"] { background: var(--ink); color: var(--lime); }

@media (min-width: 1024px) {
  .header-inner { flex-wrap: nowrap; }
  .nav-toggle { display: none; }
  .site-nav { display: block; flex-basis: auto; padding: 0; order: 2; }
  .saved-toggle { order: 3; }
  .site-nav ul { display: flex; gap: .1rem; }
  .site-nav a { padding: .45rem .7rem; font-size: .92rem; border-radius: var(--radius-pill); }
  .site-nav a[aria-current="page"] { background: var(--ink); color: var(--lime); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 46px;
  padding: .7rem 1.3rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: .97rem;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  background: transparent;
  color: var(--ink);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-pop); color: var(--ink); }
.btn:active { transform: none; box-shadow: none; }
.btn-primary { background: var(--coral); color: var(--ink); }
.btn-primary:hover { background: #F47D6F; }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { color: var(--lime); box-shadow: 4px 4px 0 var(--coral); }
.btn-outline { background: var(--paper); }
.btn-outline:hover { background: var(--lime-soft); }
.btn-outline-light { border-color: var(--cream); color: var(--cream); }
.btn-outline-light:hover { color: var(--ink); background: var(--cream); box-shadow: 4px 4px 0 var(--lime); }
.btn-violet { background: var(--violet); color: #fff; border-color: var(--violet-deep); }
.btn-violet:hover { color: #fff; box-shadow: 4px 4px 0 var(--ink); }
.btn-lime { background: var(--lime); }
.btn-lime:hover { background: #D3EF85; }
.btn-small { min-height: 38px; padding: .45rem .95rem; font-size: .87rem; }
.btn-block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.75rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

.link-btn {
  background: none; border: 0; padding: 0;
  color: inherit; text-decoration: underline; text-underline-offset: 3px;
  font-size: inherit;
}
.link-btn:hover { color: var(--lime); }
.link-light { color: var(--lime); }
.link-light:hover { color: var(--cream); }
.link-dark { color: var(--ink); font-weight: 600; }

.save-inline {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 42px;
  padding: .45rem 1rem;
  border-radius: var(--radius-pill);
  border: 1.5px dashed currentColor;
  background: transparent;
  font-weight: 600;
  font-size: .9rem;
  transition: background .2s, color .2s, border-color .2s;
}
.save-inline > span[aria-hidden] { transition: transform .3s var(--ease); }
.save-inline:hover > span[aria-hidden] { transform: scale(1.25); }
.save-inline[aria-pressed="true"] { border-style: solid; background: var(--coral); color: var(--ink); border-color: var(--coral); }

/* ---------- Stickers, chips, eyebrow ---------- */
.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .75rem;
  margin-bottom: 1rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--coral-deep);
}
.eyebrow-light { color: var(--lime); }
.sticker {
  display: inline-block;
  padding: .3rem .75rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--ink);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 2px 2px 0 var(--ink);
}
.sticker-lime { background: var(--lime); }
.sticker-coral { background: var(--coral); }
.sticker-pink { background: var(--pink); }
.sticker-ink { background: var(--ink); color: var(--cream); box-shadow: 2px 2px 0 var(--coral); }
.tilt-l { transform: rotate(-4deg); }
.tilt-r { transform: rotate(3deg); }

.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-row-tight { gap: .35rem; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: .45rem 1rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, border-color .2s, transform .2s var(--ease);
}
.chip:hover { border-color: var(--ink); transform: translateY(-1px); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.chip-small { min-height: 34px; padding: .3rem .8rem; font-size: .83rem; }
.chip-link:hover { background: var(--lime); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section-tight { padding-block: clamp(2rem, 5vw, 3.5rem); }
.section-alt { background: var(--paper); border-block: 1px solid var(--line); }
.section-mint { background: var(--mint-soft); }
.section-dark { background: var(--ink); color: var(--cream); }
.section-dark h2, .section-dark h3 { color: var(--cream); }
.section-dark a:not(.btn):not(.link-card) { color: var(--lime); }
.section-dark > .wrap > h2 { margin-bottom: 2rem; }

.section-head {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section-head > p { color: var(--muted); max-width: 52ch; }
.section-dark .section-head > p { color: rgba(251, 247, 241, .75); }
@media (min-width: 900px) {
  .section-head { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 3rem; }
}

/* ---------- Media + reveal animations ---------- */
.media { position: relative; overflow: hidden; margin: 0; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.wipe { animation: wipeIn 1s var(--ease) both; }
@keyframes wipeIn {
  from { clip-path: inset(0 100% 0 0 round var(--radius-l)); }
  to { clip-path: inset(0 0 0 0 round var(--radius-l)); }
}
.reveal { opacity: 1; }
@supports (animation-timeline: view()) {
  .reveal {
    animation: revealUp linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }
  .wipe.g-item, .featured-media.wipe {
    animation: wipeIn linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 60%;
  }
}
@keyframes revealUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
.reveal.is-visible, .reveal.in-view, .reveal.revealed { opacity: 1; transform: none; }

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  padding-block: clamp(2.5rem, 7vw, 5rem) 1.5rem;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(251,247,241,.08) 1px, transparent 1px);
  background-size: 22px 22px;
  z-index: -1;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  z-index: -1;
  pointer-events: none;
}
.hero-shape-a {
  width: 420px; height: 420px;
  right: -120px; top: -140px;
  background: radial-gradient(circle at 30% 30%, var(--coral), transparent 70%);
  opacity: .55;
  animation: drift 14s ease-in-out infinite alternate;
}
.hero-shape-b {
  width: 340px; height: 340px;
  left: -140px; bottom: -120px;
  background: radial-gradient(circle at 60% 40%, var(--violet), transparent 70%);
  opacity: .6;
  animation: drift 18s ease-in-out infinite alternate-reverse;
}
@keyframes drift { to { transform: translate(40px, 30px) scale(1.1); } }

.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 3rem; } }

.hero-title { font-size: clamp(2.6rem, 8vw, 5.2rem); line-height: 1; margin-bottom: 1.25rem; color: var(--cream); }
.hero-title .line { display: block; }
.hero-title .line-small {
  font-size: .42em;
  font-weight: 500;
  font-style: italic;
  margin-top: .6rem;
  color: rgba(251,247,241,.8);
  line-height: 1.25;
}
.rotate-word {
  display: inline-block;
  color: var(--ink);
  background: var(--lime);
  padding: 0 .2em .05em;
  border-radius: .18em;
  transform: rotate(-2deg);
  box-shadow: .08em .08em 0 var(--coral);
  font-style: italic;
  animation: wordPop .5s var(--ease);
}
@keyframes wordPop { from { transform: rotate(-2deg) scale(.85); opacity: 0; } to { transform: rotate(-2deg) scale(1); opacity: 1; } }
.hero-lede { font-size: clamp(1.02rem, 2vw, 1.15rem); color: rgba(251,247,241,.85); max-width: 54ch; margin-bottom: 1.75rem; }

.hero-search {
  display: flex;
  gap: .4rem;
  padding: .35rem;
  background: var(--cream);
  border-radius: var(--radius-pill);
  border: 2px solid var(--cream);
  max-width: 560px;
  margin-bottom: 1.25rem;
  box-shadow: 5px 5px 0 var(--coral);
}
.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: .6rem 1rem;
  color: var(--ink);
  font-size: 1rem;
}
.hero-search input:focus { outline: none; }
.hero-search:focus-within { box-shadow: 5px 5px 0 var(--lime); }
.hero-search .btn { border-width: 0; min-height: 44px; }
.hero .chip { background: rgba(251,247,241,.06); color: var(--cream); border-color: rgba(251,247,241,.3); }
.hero .chip:hover { border-color: var(--cream); color: var(--cream); }
.hero .chip[aria-pressed="true"] { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.hero-note { margin-top: 1.25rem; font-size: .88rem; color: rgba(251,247,241,.65); }

/* Collage */
.hero-collage {
  position: relative;
  height: 400px;
  max-width: 560px;
  width: 100%;
  margin-inline: auto;
}
@media (min-width: 640px) { .hero-collage { height: 480px; } }
@media (min-width: 1000px) { .hero-collage { height: 540px; } }
.float-layer {
  position: absolute;
  transition: opacity .5s var(--ease), filter .5s var(--ease), transform .4s var(--ease);
  will-change: transform;
}
.float-card {
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-pop);
  transform: rotate(var(--rot, 0deg));
  animation: floaty 7s ease-in-out infinite;
  animation-delay: var(--fd, 0s);
}
@keyframes floaty {
  0%, 100% { transform: rotate(var(--rot, 0deg)) translateY(0); }
  50% { transform: rotate(var(--rot, 0deg)) translateY(-10px); }
}
.l-profile { left: 4%; top: 6%; width: 58%; z-index: 3; }
.l-type { right: 2%; top: 2%; width: 30%; z-index: 4; }
.l-post { right: 0; top: 36%; width: 56%; z-index: 5; }
.l-portfolio { left: 0; bottom: 4%; width: 48%; z-index: 2; }
.l-plan { right: 6%; bottom: 2%; width: 40%; z-index: 4; }
.l-ask { left: 10%; top: 54%; width: 42%; z-index: 6; }
.l-sticker { left: 52%; top: 22%; z-index: 7; }

.hero[data-active-scene="identity"] [data-scene-of]:not([data-scene-of="identity"]),
.hero[data-active-scene="content"] [data-scene-of]:not([data-scene-of="content"]),
.hero[data-active-scene="audience"] [data-scene-of]:not([data-scene-of="audience"]) {
  opacity: .32;
  filter: grayscale(.8) blur(1px);
}
.hero[data-active-scene="identity"] [data-scene-of="identity"],
.hero[data-active-scene="content"] [data-scene-of="content"],
.hero[data-active-scene="audience"] [data-scene-of="audience"] { z-index: 8; }

.profile-card { overflow: hidden; padding-bottom: .9rem; }
.profile-cover { height: 54px; background: linear-gradient(120deg, var(--coral), var(--pink) 60%, var(--lime)); border-bottom: 2px solid var(--ink); }
.profile-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 3px solid var(--paper);
  outline: 2px solid var(--ink);
  margin: -32px 0 .4rem .9rem;
  background: var(--mint);
}
.img-example-profile-portrait { object-position: center 25%; }
.profile-name { font-family: var(--font-serif); font-weight: 700; font-size: 1.05rem; padding-inline: .9rem; }
.profile-headline { font-size: .78rem; color: var(--muted); padding-inline: .9rem; line-height: 1.4; margin-top: .15rem; }
.profile-tags { display: flex; flex-wrap: wrap; gap: .3rem; padding: .6rem .9rem 0; }
.profile-tags span { font-size: .68rem; font-weight: 700; padding: .15rem .5rem; border-radius: var(--radius-pill); background: var(--lime-soft); border: 1px solid var(--line-strong); }

.type-card { background: var(--violet); color: #fff; padding: .9rem; text-align: center; }
.type-aa { display: block; font-family: var(--font-serif); font-size: clamp(2rem, 6vw, 3rem); font-weight: 800; line-height: 1; }
.type-label { display: block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-top: .3rem; }

.post-card { padding: .9rem 1rem; background: var(--cream); }
.post-meta { display: flex; align-items: center; gap: .4rem; font-size: .7rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.post-meta .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.post-text { font-family: var(--font-serif); font-size: .92rem; line-height: 1.35; margin: .45rem 0 .7rem; }
.post-bar { display: flex; gap: .35rem; }
.post-bar span { height: 8px; flex: 1; border-radius: 4px; background: var(--line); }
.post-bar span:first-child { background: var(--lime); flex: 2; }

.portfolio-card { padding: .45rem .45rem 0; background: var(--paper); }
.portfolio-card img { border-radius: 8px; aspect-ratio: 3 / 2; height: auto; }
.img-portfolio-workspace-laptop { object-position: center; }
.portfolio-card figcaption { font-size: .72rem; font-weight: 700; padding: .4rem .2rem .5rem; text-transform: uppercase; letter-spacing: .06em; }

.plan-card { padding: .8rem .9rem; background: var(--lime); }
.plan-title { font-weight: 800; font-size: .8rem; }
.plan-dots { display: flex; gap: .3rem; margin: .5rem 0; }
.plan-dots span { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--ink); background: var(--paper); }
.plan-dots span.on { background: var(--ink); }
.plan-note { font-family: var(--font-serif); font-style: italic; font-size: .85rem; }

.ask-card { padding: .8rem .9rem; background: var(--pink); font-family: var(--font-serif); font-size: .88rem; line-height: 1.35; font-weight: 600; }

.sticker-round {
  display: grid;
  place-items: center;
  width: 86px; height: 86px;
  border-radius: 50%;
  background: var(--coral);
  font-weight: 800;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  line-height: 1.05;
  text-align: center;
}

@media (max-width: 479px) {
  .hero-collage { height: 360px; }
  .profile-headline, .profile-tags { display: none; }
  .post-text { font-size: .8rem; }
  .ask-card { font-size: .75rem; }
  .sticker-round { width: 66px; height: 66px; font-size: .6rem; }
}

.scene-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1.25rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(251,247,241,.15);
}
.scene-switch { display: flex; flex-wrap: wrap; gap: .4rem; }
.scene-caption { font-size: .9rem; color: rgba(251,247,241,.75); font-style: italic; }

/* ---------- Page heroes ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 7vw, 5rem);
  border-bottom: 2px solid var(--ink);
  isolation: isolate;
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 280px; height: 280px;
  right: -80px; bottom: -120px;
  border-radius: 50%;
  border: 2px dashed currentColor;
  opacity: .18;
  z-index: -1;
}
.page-hero h1 { margin-bottom: 1rem; max-width: 18ch; }
.page-lede { font-size: clamp(1.02rem, 2vw, 1.18rem); max-width: 58ch; margin-bottom: 1.5rem; opacity: .92; }
.page-hero-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .page-hero-grid { grid-template-columns: 1.15fr .85fr; gap: 3rem; } }
.page-hero-media {
  border-radius: var(--radius-l);
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  aspect-ratio: 7 / 5;
  transform: rotate(1.5deg);
  background: var(--ink-2);
}
.page-hero--ink { background: var(--ink); color: var(--cream); }
.page-hero--ink .page-hero-media { border-color: var(--cream); box-shadow: 8px 8px 0 var(--coral); }
.page-hero--coral { background: var(--coral); color: var(--ink); }
.page-hero--mint { background: var(--mint); color: var(--ink); }
.page-hero--lime { background: var(--lime); color: var(--ink); }
.page-hero--pink { background: var(--pink); color: var(--ink); }
.page-hero--violet { background: var(--violet); color: #fff; }
.page-hero--violet .page-hero-media { border-color: #fff; box-shadow: 8px 8px 0 var(--lime); }
.page-hero--violet a:not(.btn), .page-hero--ink a:not(.btn) { color: var(--lime); }
.page-hero--compact { padding-block: clamp(2rem, 5vw, 3.5rem); }
.page-hero--compact h1 { max-width: none; }

.img-team-office-collaboration,
.img-strategy-notebook-planning,
.img-writing-desk-notebook,
.img-phone-social-apps,
.img-professionals-collaborating-laptop,
.img-laptop-website-code,
.img-guide-planner-notebook { object-position: center; }

.hero-stickers { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; padding: 1rem; }
.hero-stickers .sticker { font-size: clamp(.85rem, 2vw, 1.1rem); padding: .6rem 1.2rem; box-shadow: 4px 4px 0 var(--ink); }

/* ---------- TOC strip ---------- */
.toc-strip {
  position: sticky;
  top: 64px;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.toc-strip .chip-row {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-block: .75rem;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}
.toc-strip .chip { scroll-snap-align: start; }

/* ---------- Resource grid & cards (JS-rendered) ---------- */
.result-count { font-size: .9rem; font-weight: 600; color: var(--muted); margin-bottom: 1rem; }
.resource-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .resource-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .resource-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .resource-grid-listing { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .resource-grid-listing { grid-template-columns: repeat(3, 1fr); } }

.resource-grid > * {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.resource-grid > *:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--coral); }
.resource-grid h3 { font-size: 1.25rem; margin: .4rem 0 .5rem; }
.resource-grid h3 a { color: var(--ink); text-decoration: none; }
.resource-grid h3 a:hover { color: var(--coral-deep); }
.resource-grid p { font-size: .94rem; color: var(--ink-3); }
.resource-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 2px solid var(--ink); }
.resource-grid ul { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: .75rem 0; }
.resource-grid ul li { font-size: .75rem; font-weight: 600; padding: .2rem .55rem; border-radius: var(--radius-pill); background: var(--cream); border: 1px solid var(--line); }
.section-dark .resource-grid a:not(.btn) { color: var(--violet-deep); }

.card-body, .resource-card-body { padding: 1.1rem 1.2rem 1.25rem; display: flex; flex-direction: column; flex: 1; gap: .25rem; }
.card-actions, .resource-card-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; padding-top: 1rem; }
.card-meta, .resource-meta { font-size: .78rem; color: var(--muted); }

.empty-state {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  display: grid;
  gap: .75rem;
  justify-items: center;
}
.empty-title { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 700; }

/* ---------- Featured (Canva) ---------- */
.featured-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .featured-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.featured-media {
  border-radius: var(--radius-l);
  aspect-ratio: 9 / 7;
  border: 2px solid var(--cream);
  box-shadow: 10px 10px 0 var(--coral);
  overflow: visible;
}
.featured-media img { border-radius: calc(var(--radius-l) - 2px); }
.img-design-colour-palette-workspace { object-position: center; }
.featured-media figcaption { position: absolute; left: 1rem; top: 1rem; transform: rotate(-3deg); }
.featured-copy h2 { margin-bottom: 1rem; }
.featured-copy > p { color: rgba(251,247,241,.85); }
.mini-h {
  font-family: var(--font-sans);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin: 1.5rem 0 .75rem;
  color: var(--lime);
}
.our-take {
  margin-top: 1.25rem;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--coral);
  background: rgba(251,247,241,.06);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  font-size: .95rem;
}

/* ---------- Lists ---------- */
.tick-list { list-style: none; display: grid; gap: .65rem; }
.tick-list li { position: relative; padding-left: 2rem; }
.tick-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: .1em;
  width: 1.35rem; height: 1.35rem;
  display: grid;
  place-items: center;
  font-size: .75rem;
  font-weight: 900;
  background: var(--lime);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}
.tick-list-light li::before { border-color: var(--lime); }
.number-list { padding-left: 0; list-style: none; counter-reset: num; display: grid; gap: .6rem; margin: 1rem 0; }
.number-list li { counter-increment: num; position: relative; padding-left: 2.4rem; }
.number-list li::before {
  content: counter(num);
  position: absolute; left: 0; top: 0;
  width: 1.7rem; height: 1.7rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--ink); color: var(--lime);
  font-weight: 800; font-size: .85rem;
}

/* ---------- Strategy spotlight ---------- */
.strategy-spotlight { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .strategy-spotlight { grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: start; } }
.strategy-quote h2 { font-style: italic; margin-bottom: 1rem; }
.strategy-quote p:not(.eyebrow) { color: var(--ink-3); margin-bottom: 1.5rem; font-size: 1.05rem; }
@media (min-width: 900px) { .strategy-quote { position: sticky; top: 6rem; } }
.numbered-cards { list-style: none; display: grid; gap: 1rem; }
.numbered-cards li {
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 5rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-s);
}
.numbered-cards li:nth-child(2) { background: var(--violet-soft); }
.numbered-cards li:nth-child(3) { background: var(--lime-soft); }
.nc-num {
  position: absolute; left: 1.2rem; top: 1.3rem;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--coral);
  line-height: 1;
  -webkit-text-stroke: 1px var(--ink);
}
.numbered-cards h3 { margin-bottom: .4rem; }
.numbered-cards p { color: var(--ink-3); font-size: .96rem; }

/* ---------- Tools / forms ---------- */
.tool {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.1rem, 3vw, 2rem);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-l);
  box-shadow: 8px 8px 0 var(--lime);
}
.section-alt .tool { background: var(--cream); }
.tool-coral { box-shadow: 8px 8px 0 var(--coral); }
.tool-violet { box-shadow: 8px 8px 0 var(--violet); }
@media (min-width: 1000px) {
  .tool { grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
  .tool-wide { grid-template-columns: 1.1fr 1fr; }
}
.tool-form { display: grid; gap: 1.25rem; }
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .field-full { grid-column: 1 / -1; }
  .form-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) { .form-grid-4 { grid-template-columns: repeat(4, 1fr); } }

.field { display: grid; gap: .4rem; min-width: 0; }
fieldset.field, fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, legend {
  font-weight: 700;
  font-size: .9rem;
  color: var(--ink);
}
legend { padding: 0; margin-bottom: .5rem; }
input[type="text"], input[type="search"], input[type="email"], input[type="date"], input:not([type]), select, textarea {
  width: 100%;
  min-height: 46px;
  padding: .65rem .85rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
select {
  appearance: none;
  padding-right: 2.4rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
input:hover, select:hover, textarea:hover { border-color: var(--ink-3); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(91, 75, 214, .2);
}
::placeholder { color: #9A93A1; opacity: 1; }
input[type="radio"], input[type="checkbox"] { accent-color: var(--violet); width: 1.1rem; height: 1.1rem; margin: 0; flex-shrink: 0; }

.inline-radios { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.inline-radios legend { width: 100%; }
.inline-radios label { display: inline-flex; align-items: center; gap: .45rem; font-weight: 500; cursor: pointer; }

.privacy-hint {
  font-size: .85rem;
  color: var(--ink-3);
  padding: .7rem .9rem;
  background: var(--mint-soft);
  border-radius: var(--radius-s);
  border-left: 3px solid #4FB58C;
}
.tool-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }

.draft-output {
  display: grid;
  gap: .85rem;
  padding: 1rem;
  background: var(--ink);
  border-radius: var(--radius);
  color: var(--cream);
}
.draft-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; align-items: center; }
.draft-label {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .25rem .6rem;
  border-radius: var(--radius-pill);
  background: var(--lime);
  color: var(--ink);
}
.draft-meta { font-size: .8rem; color: rgba(251,247,241,.7); font-variant-numeric: tabular-nums; }
.draft-area {
  min-height: 260px;
  background: var(--cream);
  font-family: var(--font-sans);
  font-size: .96rem;
  border: 0;
  border-radius: var(--radius-s);
  white-space: pre-wrap;
}
.draft-area[readonly] { background: #EFEAE2; border: 2px dashed var(--coral); }
.draft-area-short { min-height: 170px; }
.draft-area-tall { min-height: 380px; }
.draft-output .btn-outline { background: transparent; color: var(--cream); border-color: rgba(251,247,241,.5); }
.draft-output .btn-outline:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); box-shadow: 3px 3px 0 var(--coral); }
.draft-output .btn-lime:hover { box-shadow: 3px 3px 0 var(--coral); }
.draft-output .btn[data-action="edit"][aria-pressed="true"] { background: var(--coral); color: var(--ink); border-color: var(--coral); }

.tone-adjust { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.tone-adjust-label { font-size: .82rem; font-weight: 700; color: var(--lime); margin-right: .25rem; }
.draft-output .chip { background: transparent; color: var(--cream); border-color: rgba(251,247,241,.35); }
.draft-output .chip:hover { border-color: var(--lime); color: var(--lime); }
.draft-output .chip[aria-pressed="true"] { background: var(--lime); color: var(--ink); }

/* Style cards */
.style-options { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.style-card { position: relative; cursor: pointer; display: block; }
.style-card input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.style-card span {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: .65rem .85rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: var(--paper);
  font-size: .88rem;
  font-weight: 600;
  transition: all .2s var(--ease);
}
.style-card:hover span { border-color: var(--ink); }
.style-card input:checked + span { background: var(--ink); color: var(--lime); border-color: var(--ink); box-shadow: 3px 3px 0 var(--coral); }
.style-card input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 2px; }
.style-preview {
  margin-top: .75rem;
  padding: .8rem 1rem;
  background: var(--pink-soft);
  border-radius: var(--radius-s);
  font-family: var(--font-serif);
  font-style: italic;
}
.style-preview-label { font-family: var(--font-sans); font-style: normal; font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; margin-right: .3rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.g-item {
  border-radius: var(--radius);
  border: 2px solid var(--ink);
  aspect-ratio: 4 / 5;
  background: var(--ink);
  animation-delay: var(--d, 0ms);
}
.g-item img { transition: transform .8s var(--ease); }
.g-item:hover img { transform: scale(1.05); }
.g1 { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.g-item figcaption {
  position: absolute;
  left: .6rem; right: .6rem; bottom: .6rem;
  padding: .5rem .75rem;
  background: rgba(251,247,241,.94);
  border-radius: var(--radius-s);
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.35;
}
.img-professional-portrait-man, .img-professional-woman-portrait { object-position: center 20%; }
.img-notebook-content-planning, .img-team-meeting-collaboration, .img-planner-notebook-desk { object-position: center; }
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 260px); }
  .g-item { aspect-ratio: auto; }
  .g1 { grid-column: 1 / 3; grid-row: 1 / 3; aspect-ratio: auto; }
  .g2 { grid-column: 3; grid-row: 1; }
  .g3 { grid-column: 4; grid-row: 1; }
  .g4 { grid-column: 3; grid-row: 2; }
  .g5 { grid-column: 4; grid-row: 2; }
}

/* ---------- Timeline ---------- */
.timeline { list-style: none; counter-reset: step; display: grid; gap: 1rem; }
.timeline li {
  counter-increment: step;
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 4.25rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
}
.timeline li::before {
  content: counter(step);
  position: absolute; left: 1rem; top: 1.15rem;
  width: 2.2rem; height: 2.2rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--coral);
  border: 2px solid var(--ink);
  font-weight: 800;
}
.timeline li:nth-child(2)::before { background: var(--lime); }
.timeline li:nth-child(3)::before { background: var(--pink); }
.timeline li:nth-child(4)::before { background: var(--mint); }
.timeline li:nth-child(5)::before { background: var(--violet); color: #fff; }
.timeline h3 { margin-bottom: .3rem; }
.timeline p { font-size: .93rem; color: var(--ink-3); margin-bottom: .6rem; }
.timeline a { font-weight: 700; font-size: .9rem; }
.timeline a::after { content: " →"; }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(5, 1fr); gap: .75rem; position: relative; }
  .timeline::before {
    content: ""; position: absolute; left: 2rem; right: 2rem; top: 2.3rem;
    border-top: 2px dashed var(--line-strong); z-index: 0;
  }
  .timeline li { padding: 4rem 1.1rem 1.25rem; z-index: 1; }
}

/* ---------- Rule cards ---------- */
.rule-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .rule-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .rule-grid { grid-template-columns: repeat(4, 1fr); } }
.rule-card {
  padding: 1.5rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.rule-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }
.rule-icon {
  display: grid; place-items: center;
  width: 2.8rem; height: 2.8rem;
  border-radius: 12px;
  background: var(--ink);
  color: var(--lime);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.rule-card h3 { margin-bottom: .5rem; }
.rule-card p { font-size: .93rem; color: var(--ink-3); }

/* ---------- Editorial grid ---------- */
.editorial-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .editorial-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .editorial-grid { grid-template-columns: repeat(3, 1fr); } }
.ed-card {
  position: relative;
  padding: 1.5rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  scroll-margin-top: 8rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.ed-card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-pop); }
.ed-card:target { box-shadow: 0 0 0 4px var(--coral); }
.ed-card h3 { margin-bottom: .6rem; }
.ed-card p { font-size: .95rem; color: var(--ink-3); }
.ed-card p + p { margin-top: .75rem; }
.ed-num {
  display: inline-block;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: .95rem;
  padding: .1rem .55rem;
  border-radius: var(--radius-pill);
  background: var(--coral-soft);
  border: 1.5px solid var(--ink);
  margin-bottom: .8rem;
}
.ed-note {
  font-size: .85rem !important;
  padding: .6rem .8rem;
  background: var(--lime-soft);
  border-radius: var(--radius-s);
}
.ed-card-violet { background: var(--violet); color: #fff; }
.ed-card-violet p, .ed-card-violet h3 { color: #fff; }
.ed-card-violet .ed-num { background: var(--lime); color: var(--ink); }
.ed-card-violet a { color: var(--lime); }
.ed-card-lime { background: var(--lime); }
.ed-card-lime p { color: var(--ink); }
.ed-card-lime .ed-num { background: var(--paper); }
.ed-card-ink { background: var(--ink); color: var(--cream); }
.ed-card-ink h3, .ed-card-ink p { color: var(--cream); }
.ed-card-ink .ed-num { background: var(--coral); color: var(--ink); border-color: var(--coral); }
.ed-card-ink:hover { box-shadow: 4px 4px 0 var(--coral); }
@media (min-width: 1000px) { .ed-card-tall { grid-row: span 2; display: flex; flex-direction: column; } .ed-card-tall .ed-note { margin-top: auto; } }

/* ---------- Identity map ---------- */
.map-layout { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .map-layout { grid-template-columns: .9fr 1.1fr; gap: 4rem; } }
.map-layout h2 { margin-bottom: 1rem; }
.map-layout > div > p { color: var(--ink-3); }
.map-panel {
  margin-top: 1.5rem;
  padding: 1.25rem 1.4rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius);
  box-shadow: 6px 6px 0 var(--coral);
  min-height: 140px;
}
.map-panel h3 { color: var(--lime); margin-bottom: .5rem; }
.identity-map {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  aspect-ratio: 1;
  background: radial-gradient(circle, var(--lime-soft) 0 30%, transparent 31%), var(--cream);
  border: 2px solid var(--ink);
  border-radius: 50%;
}
.map-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-lines line { stroke: var(--ink); stroke-width: .5; stroke-dasharray: 1.5 1.5; animation: dash 20s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -60; } }
.map-center, .map-node {
  position: absolute;
  transform: translate(-50%, -50%);
  border: 2px solid var(--ink);
  font-weight: 700;
  transition: transform .25s var(--ease), background .2s, box-shadow .2s;
}
.map-center {
  left: 50%; top: 50%;
  width: 26%; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--coral);
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 3vw, 1.6rem);
}
.map-node {
  padding: .4rem .7rem;
  border-radius: var(--radius-pill);
  background: var(--paper);
  font-size: clamp(.68rem, 1.8vw, .85rem);
  max-width: 34%;
  line-height: 1.2;
}
.map-node:hover, .map-center:hover { transform: translate(-50%, -50%) scale(1.07); box-shadow: 3px 3px 0 var(--ink); }
.map-node[aria-pressed="true"], .map-center[aria-pressed="true"] { background: var(--ink); color: var(--lime); box-shadow: 3px 3px 0 var(--coral); }

/* ---------- Notices ---------- */
.notice {
  margin-top: 2rem;
  padding: 1.1rem 1.3rem;
  background: var(--coral-soft);
  border: 2px solid var(--ink);
  border-left-width: 6px;
  border-radius: var(--radius-s);
  font-size: .94rem;
}
.notice-violet { background: var(--violet-soft); border-left-color: var(--violet); }
.prose .notice { margin: 0 0 2rem; }

/* ---------- Link cards ---------- */
.link-cards { display: grid; gap: 1rem; }
@media (min-width: 760px) { .link-cards { grid-template-columns: repeat(3, 1fr); } }
.link-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .5rem;
  padding: 1.4rem;
  border-radius: var(--radius);
  background: var(--ink-2);
  border: 1.5px solid rgba(251,247,241,.18);
  color: var(--cream);
  text-decoration: none;
  transition: transform .25s var(--ease), border-color .2s, background .2s;
}
.link-card:hover { transform: translateY(-4px); border-color: var(--lime); background: var(--ink-3); color: var(--cream); }
.link-card strong { font-family: var(--font-serif); font-size: 1.35rem; margin-top: .35rem; }
.link-card strong::after { content: " ↗"; color: var(--lime); font-size: .8em; }
.link-card > span:last-child { font-size: .92rem; color: rgba(251,247,241,.75); }

/* ---------- Two-col / prose ---------- */
.two-col { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; } }
.prose-wide .two-col { }
@media (min-width: 900px) { .prose-wide .two-col { grid-template-columns: 1.6fr 1fr; } }
.prose { max-width: 72ch; }
.wrap.prose { max-width: calc(72ch + 2 * var(--gutter)); }
.prose h2 { margin: 2.5rem 0 .9rem; font-size: clamp(1.45rem, 3vw, 1.9rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 2rem 0 .6rem; scroll-margin-top: 6rem; }
.prose p { margin-bottom: 1rem; }
.prose ul.tick-list, .prose ol { margin-bottom: 1.25rem; }
.prose ul:not([class]) { padding-left: 1.25rem; margin-bottom: 1rem; }

.company-card {
  padding: 1.5rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-l);
  box-shadow: 8px 8px 0 var(--lime);
  display: grid;
  gap: 1rem;
}
@media (min-width: 900px) { .company-card { position: sticky; top: 6rem; } }
.fact-list { display: grid; gap: .2rem; }
.fact-list dt { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: .7rem; }
.fact-list dt:first-child { margin-top: 0; }
.fact-list dd { margin: 0; font-weight: 600; word-break: break-word; }
.tag-placeholder {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  padding: .1rem .5rem;
  border-radius: var(--radius-pill);
  background: var(--pink-soft);
  border: 1px dashed var(--coral-deep);
  color: var(--coral-deep);
  vertical-align: middle;
}

/* ---------- Checklist ---------- */
.checklist-card {
  padding: 1.5rem;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: var(--radius-l);
  box-shadow: 6px 6px 0 var(--violet);
}
.progress {
  height: 12px;
  background: var(--line);
  border-radius: var(--radius-pill);
  overflow: hidden;
  border: 1.5px solid var(--ink);
}
.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--lime), var(--lime-deep));
  transition: width .5s var(--ease);
}
.progress-text { font-size: .88rem; font-weight: 700; margin: .5rem 0 1rem; }
.checklist { list-style: none; display: grid; gap: .4rem; margin-bottom: 1.25rem; }
.checklist label {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  padding: .6rem .75rem;
  border-radius: var(--radius-s);
  background: var(--paper);
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: .93rem;
  transition: background .2s;
}
.checklist label:hover { background: var(--lime-soft); }
.checklist input { margin-top: .2rem; }
.checklist label:has(input:checked) { background: var(--lime-soft); color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line-strong); }

/* ---------- Accordion ---------- */
.accordion { display: grid; gap: .6rem; max-width: 880px; }
.accordion details {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
}
.accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 3rem 1rem 1.25rem;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
  position: relative;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+";
  position: absolute; right: 1rem; top: 50%;
  transform: translateY(-50%);
  width: 1.8rem; height: 1.8rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--lime);
  border: 1.5px solid var(--ink);
  font-family: var(--font-sans);
  transition: transform .3s var(--ease);
}
.accordion details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--coral); }
.accordion summary:hover { background: var(--cream); }
.accordion details p { padding: 0 1.25rem 1.25rem; color: var(--ink-3); }

/* ---------- Tabs ---------- */
.tabs { border: 2px solid var(--ink); border-radius: var(--radius-l); background: var(--paper); overflow: hidden; }
.tablist {
  display: flex;
  overflow-x: auto;
  background: var(--ink);
  padding: .4rem;
  gap: .3rem;
  scrollbar-width: thin;
}
.tablist [role="tab"] {
  flex-shrink: 0;
  border: 0;
  background: transparent;
  color: var(--cream);
  padding: .6rem 1rem;
  border-radius: var(--radius-s);
  font-weight: 600;
  font-size: .92rem;
  transition: background .2s, color .2s;
}
.tablist [role="tab"]:hover { background: rgba(251,247,241,.1); }
.tablist [role="tab"][aria-selected="true"] { background: var(--lime); color: var(--ink); }
.tabpanel { padding: clamp(1.25rem, 3vw, 2rem); animation: pageEnter .35s var(--ease); }
.tabpanel h3 { margin-bottom: 1rem; }

/* ---------- Idea cards ---------- */
.idea-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.idea-card {
  padding: 1.25rem;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.idea-card:nth-child(3n+2) { transform: rotate(.6deg); }
.idea-card:nth-child(3n) { transform: rotate(-.6deg); }
.idea-card:hover { transform: rotate(0) translateY(-4px); box-shadow: var(--shadow-pop); }
.idea-card h3 { margin: .8rem 0 .4rem; font-size: 1.15rem; }
.idea-card p { font-size: .9rem; color: var(--ink-3); }

/* ---------- Calendar ---------- */
.calendar-tool {
  padding: clamp(1.1rem, 3vw, 2rem);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-l);
  box-shadow: 8px 8px 0 var(--coral);
  display: grid;
  gap: 1.5rem;
}
.chip-checks { display: flex; flex-wrap: wrap; gap: .45rem; }
.check-chip { position: relative; cursor: pointer; }
.check-chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.check-chip span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 38px;
  padding: .4rem .9rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line-strong);
  background: var(--paper);
  font-size: .88rem;
  font-weight: 600;
  transition: all .2s;
}
.check-chip:hover span { border-color: var(--ink); }
.check-chip input:checked + span { background: var(--lime); border-color: var(--ink); }
.check-chip input:checked + span::before { content: "✓"; font-weight: 900; }
.check-chip input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 2px; }
.cal-note { padding: .75rem 1rem; background: var(--coral-soft); border-radius: var(--radius-s); font-weight: 600; font-size: .92rem; }
.cal-output { display: grid; gap: 1rem; }
.cal-progress-row { display: grid; gap: .25rem; }
.cal-progress-row .progress-text { margin: 0; }
.table-scroll { overflow-x: auto; border: 2px solid var(--ink); border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
.calendar-table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: .9rem; }
.calendar-table th {
  background: var(--ink);
  color: var(--cream);
  text-align: left;
  padding: .75rem .85rem;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
}
.calendar-table td { padding: .6rem .85rem; border-top: 1px solid var(--line); vertical-align: middle; }
.calendar-table tbody tr:nth-child(even) { background: var(--cream); }
.calendar-table tbody tr:hover { background: var(--lime-soft); }
.calendar-table td input[type="text"], .calendar-table td [contenteditable] {
  min-height: 38px;
  padding: .4rem .6rem;
  font-size: .9rem;
}
.calendar-table td [contenteditable] { display: block; border: 1px dashed var(--line-strong); border-radius: 6px; background: var(--paper); }
.calendar-table tr:has(input[type="checkbox"]:checked) td { color: var(--muted); }

/* ---------- Flow row ---------- */
.flow-row { list-style: none; display: grid; gap: .75rem; counter-reset: flow; }
.flow-row li {
  counter-increment: flow;
  position: relative;
  display: grid;
  gap: .3rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1.5px solid rgba(251,247,241,.2);
  background: var(--ink-2);
}
.flow-row li::before {
  content: "0" counter(flow);
  font-family: var(--font-serif);
  font-weight: 800;
  color: var(--coral);
  font-size: 1.1rem;
}
.flow-row strong { font-family: var(--font-serif); font-size: 1.2rem; color: var(--lime); }
.flow-row span { font-size: .9rem; color: rgba(251,247,241,.75); }
@media (min-width: 900px) {
  .flow-row { grid-template-columns: repeat(5, 1fr); }
  .flow-row li:not(:last-child)::after {
    content: "→";
    position: absolute; right: -.7rem; top: 50%;
    transform: translateY(-50%);
    color: var(--lime);
    font-weight: 900;
    z-index: 2;
  }
}

/* ---------- Review tool ---------- */
.review-tool {
  padding: clamp(1.1rem, 3vw, 2rem);
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: var(--radius-l);
  box-shadow: 8px 8px 0 var(--mint);
}
.review-form { display: grid; gap: 1.5rem; }
.review-grid { display: grid; gap: 1rem; }
@media (min-width: 760px) { .review-grid { grid-template-columns: repeat(2, 1fr); } }
.review-q {
  padding: 1rem 1.1rem !important;
  background: var(--paper);
  border: 1.5px solid var(--line-strong) !important;
  border-radius: var(--radius);
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.review-q legend { float: left; width: 100%; font-size: .92rem; line-height: 1.4; margin-bottom: .6rem; }
.review-q label {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .4rem .8rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: .88rem; font-weight: 600;
  cursor: pointer;
}
.review-q label:has(input:checked) { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.review-results {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius);
  animation: pageEnter .4s var(--ease);
}
.review-results h3 { color: var(--lime); margin-bottom: .75rem; }
.review-results ul { padding-left: 1.2rem; display: grid; gap: .4rem; }
.review-results p + p { margin-top: .6rem; }

/* ---------- Guide layout ---------- */
.guide-layout { display: grid; gap: 2rem; padding-block: var(--section-y); }
@media (min-width: 1000px) { .guide-layout { grid-template-columns: 240px 1fr; gap: 4rem; align-items: start; } }
.guide-toc {
  padding: 1.25rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  display: grid;
  gap: .75rem;
}
@media (min-width: 1000px) { .guide-toc { position: sticky; top: 6rem; } }
.toc-title { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--coral-deep); }
.guide-toc ol { list-style: none; counter-reset: toc; display: grid; gap: .2rem; }
.guide-toc li { counter-increment: toc; }
.guide-toc a {
  display: flex; gap: .6rem;
  padding: .45rem .5rem;
  border-radius: var(--radius-s);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: .93rem;
}
.guide-toc a::before { content: counter(toc); font-family: var(--font-serif); color: var(--coral-deep); font-weight: 800; }
.guide-toc a:hover { background: var(--lime-soft); }
.guide-body { max-width: 72ch; }
.guide-body section { padding-bottom: 2.5rem; margin-bottom: 2.5rem; border-bottom: 2px dashed var(--line); scroll-margin-top: 6rem; }
.guide-body section h2 { margin-top: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.part-tag {
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .3rem .7rem;
  border-radius: var(--radius-pill);
  background: var(--violet);
  color: #fff;
}

/* ---------- Listings layout ---------- */
.listing-layout { display: grid; gap: 1.5rem; }
@media (min-width: 1000px) { .listing-layout { grid-template-columns: 300px 1fr; gap: 2.5rem; align-items: start; } }
.filter-panel {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.1rem;
}
.filter-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.filter-body { display: grid; gap: 1.1rem; margin-top: 1.1rem; }
.filter-panel:has(.filter-toggle[aria-expanded="false"]) .filter-body { display: none; }
.filter-panel .filter-body.is-open { display: grid; }
.check { display: flex; align-items: center; gap: .55rem; font-weight: 500 !important; font-size: .92rem; cursor: pointer; padding: .2rem 0; }
@media (min-width: 1000px) {
  .filter-panel { position: sticky; top: 6rem; max-height: calc(100vh - 7rem); overflow-y: auto; }
  .filter-toggle { display: none; }
  .filter-panel:has(.filter-toggle[aria-expanded="false"]) .filter-body { display: grid; }
}
.listing-results { min-width: 0; }

/* ---------- Detail page (JS-rendered) ---------- */
#detail-root h1 { margin-bottom: 1rem; }
#detail-root .section > .wrap > p { color: var(--ink-3); margin-bottom: 1rem; }
#detail-root noscript ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
#detail-root noscript a { display: inline-block; padding: .4rem .9rem; border: 1.5px solid var(--ink); border-radius: var(--radius-pill); background: var(--paper); text-decoration: none; font-weight: 600; }
.detail-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .detail-grid { grid-template-columns: 1.6fr 1fr; gap: 3rem; align-items: start; } }
.detail-aside, .detail-card {
  padding: 1.5rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-l);
  box-shadow: 6px 6px 0 var(--lime);
}
.breadcrumb, .breadcrumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .85rem; list-style: none; margin-bottom: 1rem; }

/* ---------- Saved drawer, cookie banner, toast (JS-rendered) ---------- */
.saved-drawer, .saved-panel, .drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 100%);
  z-index: 300;
  background: var(--cream);
  border-left: 2px solid var(--ink);
  box-shadow: var(--shadow-l);
  padding: 1.5rem;
  overflow-y: auto;
  animation: slideIn .35s var(--ease);
}
@keyframes slideIn { from { transform: translateX(100%); } to { transform: none; } }
.drawer-backdrop, .overlay, .modal-backdrop {
  position: fixed; inset: 0; z-index: 290;
  background: rgba(41,37,46,.5);
  backdrop-filter: blur(2px);
}
.cookie-banner, .consent-banner {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 400;
  max-width: 640px;
  margin-inline: auto;
  padding: 1.25rem 1.4rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius);
  box-shadow: 6px 6px 0 var(--coral), var(--shadow-l);
  display: grid;
  gap: .9rem;
  animation: pageEnter .4s var(--ease);
}
.cookie-banner a, .consent-banner a { color: var(--lime); }
.cookie-banner .btn-outline, .consent-banner .btn-outline { background: transparent; color: var(--cream); border-color: var(--cream); }
.toast {
  position: fixed;
  left: 50%; bottom: 1.5rem;
  transform: translateX(-50%);
  z-index: 500;
  padding: .75rem 1.2rem;
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-pop);
  animation: pageEnter .3s var(--ease);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(251,247,241,.82);
  padding-top: clamp(3rem, 7vw, 5rem);
  font-size: .93rem;
  border-top: 4px solid var(--coral);
}
.footer-grid { display: grid; gap: 2rem; padding-bottom: 2.5rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 3rem; } }
.footer-brand { display: grid; gap: 1rem; align-content: start; }
.footer-brand .brand { margin-right: 0; }
.footer-badge {
  display: inline-block;
  justify-self: start;
  padding: .4rem .8rem;
  border-radius: var(--radius-pill);
  border: 1.5px dashed var(--lime);
  color: var(--lime);
  font-size: .78rem;
  font-weight: 700;
}
.footer-h {
  font-family: var(--font-sans);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--lime);
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; display: grid; gap: .5rem; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--coral); text-decoration: underline; }
.footer-contact li { word-break: break-word; }
.footer-notices {
  display: grid;
  gap: .9rem;
  padding-block: 1.75rem;
  border-top: 1px solid rgba(251,247,241,.14);
  font-size: .8rem;
  line-height: 1.6;
  color: rgba(251,247,241,.62);
}
.footer-notices strong { color: var(--cream); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem 2rem;
  border-top: 1px solid rgba(251,247,241,.14);
  font-size: .82rem;
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.footer-bottom .link-btn { color: var(--cream); text-decoration: none; }
.footer-bottom .link-btn:hover { color: var(--coral); text-decoration: underline; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal, .wipe { animation: none !important; opacity: 1 !important; clip-path: none !important; }
  .float-card { animation: none !important; }
}

/* ---------- Forced colors ---------- */
@media (forced-colors: active) {
  .btn, .chip, .sticker, .float-card, .tool, .ed-card { border: 2px solid CanvasText; }
  .chip[aria-pressed="true"], .site-nav a[aria-current="page"] { outline: 2px solid Highlight; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .hero-collage, .scene-bar, .tool-actions, .toc-strip, .filter-panel, .saved-toggle, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
  .section-dark, .page-hero, .hero { background: #fff !important; color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}