/* Layout concept: a civic "ID office" storefront. Creators are issued citizen cards,
   products are tickets. Bold condensed type, ink borders, hard offset shadows, civic yellow. */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f5f4ef;
  --ink: #141413;
  --muted: #5d5b54;
  --line: #141413;
  --yellow: #ffd23f;
  --on-yellow: #141413;
  --cream-card: #fff8dc;
  --good: #1f7a3d;
  --shadow: #141413;

  --font-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  color-scheme: light;

  --radius: 14px;
  --border: 2.5px solid var(--line);
  --hard: 5px 5px 0 var(--shadow);
  --hard-sm: 3px 3px 0 var(--shadow);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}
* { box-sizing: border-box; }
section[id] { scroll-margin-top: 72px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-stretch: 68%;
  font-weight: 850;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.005em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(2.8rem, 8vw, 6.2rem); }
h2 { font-size: clamp(2.2rem, 5.4vw, 4rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); line-height: 1.02; }
p { margin: 0; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
mark { background: var(--yellow); color: var(--on-yellow); padding: 0 0.15em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-family: var(--font-display); font-stretch: 80%; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.02em; font-size: 1rem;
  padding: 0.85em 1.5em; border: var(--border); border-radius: 10px;
  background: var(--surface); color: var(--ink); text-decoration: none; cursor: pointer;
  box-shadow: var(--hard-sm); transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--shadow); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--shadow); }
.btn-yellow { background: var(--yellow); color: var(--on-yellow); border-color: var(--line); }
.btn-lg { font-size: 1.15rem; padding: 1em 1.8em; }
.btn-block { width: 100%; }

/* ---------- Announcement + header ---------- */
.announce {
  background: var(--ink); color: var(--bg); text-align: center;
  font-size: 0.85rem; padding: 0.55em var(--gutter); font-weight: 600;
}
.announce a { color: var(--yellow); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--bg); border-bottom: var(--border);
}
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.logo {
  display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none;
  font-family: var(--font-display); font-stretch: 62%; font-weight: 900; font-size: 1.7rem;
  text-transform: uppercase; letter-spacing: 0.01em; line-height: 1;
}
.logo-stamp {
  width: 34px; height: 34px; border: var(--border); border-radius: 50%;
  display: grid; place-items: center; background: var(--yellow); color: var(--on-yellow);
  font-size: 0.9rem; font-stretch: 75%; transform: rotate(-8deg);
}
.nav { display: flex; gap: 1.4rem; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.nav .btn { font-size: 0.9rem; padding: 0.6em 1.1em; }


/* ---------- Hero ---------- */
.hero { padding-block: clamp(28px, 5vw, 56px) clamp(48px, 7vw, 88px); text-align: center; overflow: hidden; }
.hero-strip {
  display: flex; gap: 14px; justify-content: center; margin-bottom: clamp(28px, 4vw, 48px);
  padding-inline: var(--gutter);
}
.hero-card {
  position: relative; flex: 0 1 190px; min-width: 0; aspect-ratio: 4 / 5;
  border: var(--border); border-radius: var(--radius); overflow: hidden;
  background: var(--c, var(--yellow)); box-shadow: var(--hard-sm); text-decoration: none;
  transition: transform .18s ease;
}
.hero-card:nth-child(odd) { transform: rotate(-2deg); }
.hero-card:nth-child(even) { transform: rotate(2deg) translateY(8px); }
.hero-card:hover { transform: rotate(0) translateY(-6px); }
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card .sticker { position: absolute; left: 8px; bottom: 8px; }
.hero-card.soon { display: grid; place-items: center; background: var(--surface-2); }
.hero-card.soon span { font-family: var(--font-display); font-stretch: 70%; font-weight: 850; text-transform: uppercase; font-size: 1.3rem; line-height: 1; padding: 1rem; }
@media (max-width: 720px) {
  .hero-strip { justify-content: flex-start; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
  .hero-card { flex: 0 0 150px; scroll-snap-align: start; }
}
.sticker {
  display: inline-block; background: var(--yellow); color: var(--on-yellow);
  border: 2px solid #141413; border-radius: 6px; padding: 0.2em 0.55em;
  font-size: 0.75rem; font-weight: 700; line-height: 1.2; box-shadow: 2px 2px 0 #141413;
}
.hero h1 { max-width: 14ch; margin-inline: auto; }
.hero .lede { margin: 1.2rem auto 2rem; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.4rem; margin-top: 1.6rem; font-size: 0.9rem; color: var(--muted); font-weight: 600; }
.trust span::before { content: "✓ "; color: var(--good); font-weight: 800; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head > div { display: grid; gap: 0.8rem; min-width: 0; }
.band-yellow { background: var(--yellow); color: var(--on-yellow); border-block: var(--border); }
.band-yellow .lede { color: var(--on-yellow); opacity: 0.8; }
.band-tilt { clip-path: polygon(0 0, 100% 3vw, 100% 100%, 0 100%); padding-top: calc(clamp(56px, 8vw, 104px) + 3vw); border-top: 0; }

/* ---------- Citizen ID cards ---------- */
.id-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 24px; }
.id-card {
  background: var(--surface); color: var(--ink); border: var(--border); border-radius: var(--radius);
  box-shadow: var(--hard); overflow: hidden; display: flex; flex-direction: column; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
a.id-card:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--shadow); }
.id-top {
  display: flex; justify-content: space-between; align-items: center; gap: 0.5rem;
  background: var(--c); color: #fff; padding: 0.55rem 1rem; border-bottom: var(--border);
}
.id-top .eyebrow { color: #fff; text-shadow: 0 1px 0 rgba(0,0,0,.25); }
.id-body { display: grid; grid-template-columns: 112px 1fr; gap: 1rem; padding: 1rem; align-items: start; }
.id-photo { width: 112px; aspect-ratio: 4/5; border: var(--border); border-radius: 8px; overflow: hidden; background: var(--c); }
.id-photo img { width: 100%; height: 100%; object-fit: cover; }
.id-fields { display: grid; gap: 0.45rem; min-width: 0; }
.id-fields h3 { font-size: 1.55rem; }
.field { display: grid; gap: 0.05rem; }
.field dt { font-family: var(--font-mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.field dd { margin: 0; font-weight: 600; font-size: 0.92rem; line-height: 1.3; }
.id-foot {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  padding: 0.8rem 1rem; border-top: 2px dashed var(--line);
}
.id-foot .mrz { font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); letter-spacing: 0.12em; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; min-width: 0; }
.id-foot .go { font-family: var(--font-display); font-stretch: 80%; font-weight: 800; text-transform: uppercase; white-space: nowrap; }
.id-card.soon { border-style: dashed; box-shadow: none; background: transparent; color: var(--on-yellow); border-color: var(--on-yellow); justify-content: center; align-items: center; text-align: center; padding: 2rem; min-height: 260px; gap: 0.8rem; }
.id-card.soon h3 { font-size: 1.8rem; }
.id-card.soon p { max-width: 28ch; }

/* ---------- Product cards ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.6rem; align-items: center; }
.filters .label { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-right: 0.3rem; }
.chip {
  font: inherit; font-size: 0.88rem; font-weight: 600; cursor: pointer;
  border: 2px solid var(--line); background: var(--surface); color: var(--ink);
  border-radius: 999px; padding: 0.35em 0.95em; display: inline-flex; align-items: center; gap: 0.45em;
}
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); border: 1.5px solid var(--line); }
.filter-row { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.filters { flex-direction: column; align-items: flex-start; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 26px; }
.p-card {
  background: var(--surface); border: var(--border); border-radius: var(--radius); box-shadow: var(--hard);
  overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.p-card:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--shadow); }
.p-media { position: relative; aspect-ratio: 4/3; border-bottom: var(--border); background: var(--c); overflow: hidden; }
.p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.p-card:hover .p-media img { transform: scale(1.04); }
.p-media .sticker { position: absolute; top: 10px; left: 10px; }
.p-type {
  position: absolute; top: 10px; right: 10px; background: var(--surface); color: var(--ink);
  border: 2px solid var(--line); border-radius: 6px; padding: 0.15em 0.5em;
  font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em;
}
.p-body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.by { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.by img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; border: 2px solid var(--line); background: var(--c); }
.p-body h3 { font-size: 1.45rem; }
.p-body p { color: var(--muted); font-size: 0.93rem; }
.p-foot { margin-top: auto; padding-top: 0.6rem; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.price { font-family: var(--font-display); font-stretch: 75%; font-weight: 850; font-size: 1.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.price s { font-size: 0.6em; color: var(--muted); font-weight: 600; margin-left: 0.3em; }
.p-foot .btn { font-size: 0.85rem; padding: 0.55em 1em; }
.empty { border: 2px dashed var(--line); border-radius: var(--radius); padding: 2rem; text-align: center; color: var(--muted); }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 22px; }
.step { background: var(--surface); color: var(--ink); border: var(--border); border-radius: var(--radius); box-shadow: var(--hard); padding: 1.4rem; display: grid; gap: 0.7rem; align-content: start; }
.step-n { width: 44px; height: 44px; border-radius: 50%; border: var(--border); background: var(--yellow); color: var(--on-yellow); display: grid; place-items: center; font-family: var(--font-display); font-stretch: 75%; font-weight: 900; font-size: 1.3rem; }
.step p { color: var(--muted); }

/* ---------- Bubbles (speech) ---------- */
.bubble {
  position: relative; background: var(--surface); color: var(--ink); border: var(--border); border-radius: 14px;
  padding: 0.8rem 1rem; font-weight: 600; box-shadow: var(--hard-sm); max-width: 34ch;
}
.bubble::after {
  content: ""; position: absolute; left: 26px; bottom: -12px; width: 18px; height: 18px;
  background: var(--surface); border-right: var(--border); border-bottom: var(--border); transform: rotate(45deg);
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { border: var(--border); border-radius: 12px; background: var(--surface); box-shadow: var(--hard-sm); }
.faq summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-weight: 900; font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 1.2rem 1.1rem; color: var(--muted); max-width: 65ch; }

/* ---------- Creator page ---------- */
.back { display: inline-flex; gap: 0.4rem; align-items: center; font-weight: 700; text-decoration: none; margin-bottom: 1.4rem; }
.back:hover { text-decoration: underline; }
.creator-hero { background: var(--c); border-bottom: var(--border); }
.creator-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(32px, 5vw, 64px); }
.creator-hero h1 { color: #fff; text-shadow: 3px 3px 0 #141413; font-size: clamp(2.8rem, 7vw, 5.6rem); }
.creator-hero .role { display: inline-block; margin-bottom: 1rem; }
.creator-hero .tagline { color: #fff; font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 700; margin-top: 1rem; max-width: 30ch; }
.creator-photo { border: var(--border); border-color: #141413; border-radius: var(--radius); overflow: hidden; box-shadow: 8px 8px 0 #141413; aspect-ratio: 4/5; max-height: 560px; background: #141413; transform: rotate(1.5deg); }
.creator-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .creator-hero .wrap { grid-template-columns: 1fr; } .creator-photo { max-width: 380px; } }
.creator-about { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 760px) { .creator-about { grid-template-columns: 1fr; } }
.creator-about .bio { font-size: 1.12rem; max-width: 62ch; display: grid; gap: 1rem; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 2rem; }
.gallery figure { margin: 0; border: var(--border); border-radius: 10px; overflow: hidden; aspect-ratio: 4/5; background: var(--c); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Product page ---------- */
.product-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 820px) { .product-layout { grid-template-columns: 1fr; } }
.product-media { border: var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--hard); aspect-ratio: 4/5; background: var(--c); position: relative; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-media .sticker { position: absolute; top: 14px; left: 14px; font-size: 0.85rem; }
.buy-box { display: grid; gap: 1.1rem; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 90px); }
.buy-box h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.buy-box .price { font-size: 2.6rem; }
.buy-panel { border: var(--border); border-radius: var(--radius); background: var(--cream-card); padding: 1.2rem; display: grid; gap: 0.9rem; box-shadow: var(--hard); }
.includes { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.includes li { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 600; }
.includes li::before { content: ""; flex: 0 0 18px; height: 18px; margin-top: 3px; border: 2px solid var(--line); border-radius: 4px; background: var(--yellow); box-shadow: inset 0 0 0 3px var(--yellow); }
.fine { font-size: 0.85rem; color: var(--muted); }
.note { border: 2px dashed var(--line); border-radius: 10px; padding: 0.7rem 0.9rem; font-size: 0.9rem; font-weight: 600; background: var(--surface); }
.desc { display: grid; gap: 1rem; font-size: 1.05rem; max-width: 62ch; }
.creator-chip { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; font-weight: 700; border: 2px solid var(--line); border-radius: 999px; padding: 0.25rem 0.9rem 0.25rem 0.25rem; background: var(--surface); width: fit-content; }
.creator-chip img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--line); background: var(--c); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--bg); padding-block: 56px 40px; margin-top: 0; }
.site-footer .wrap { display: grid; gap: 2rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; align-items: end; }
.footer-top .logo { font-size: 2.6rem; color: var(--bg); }
.footer-top .logo-stamp { border-color: var(--bg); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-links a { color: var(--bg); text-decoration: none; font-weight: 600; }
.footer-links a:hover { text-decoration: underline; }
.footer-note { font-size: 0.85rem; opacity: 0.75; max-width: 70ch; }
.email-copy { font-family: var(--font-mono); background: transparent; color: var(--bg); border: 2px solid var(--bg); border-radius: 8px; padding: 0.4em 0.8em; cursor: pointer; font-size: 0.9rem; }

.fade-in { animation: fadeUp .35s ease both; }
@keyframes fadeUp { from { transform: translateY(8px); } to { transform: none; } }

/* ---------- Hero intro video ---------- */
.creator-photo video { width: 100%; height: 100%; object-fit: cover; display: block; }
.creator-photo.has-video { position: relative; }
.video-btn {
  position: absolute; right: 12px; bottom: 12px; font: inherit; font-size: 0.8rem; font-weight: 700; cursor: pointer;
  background: var(--yellow); color: var(--on-yellow); border: 2px solid #141413; border-radius: 999px;
  padding: 0.4em 0.9em; box-shadow: 2px 2px 0 #141413;
}

/* ---------- Instagram carousel ---------- */
.social { border-top: var(--border); background: var(--surface-2); }
.carousel-nav { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.handle-tag { font-family: var(--font-mono); font-size: 0.85rem; font-weight: 500; margin-right: 0.4rem; }
.arrow {
  width: 46px; height: 46px; border: var(--border); border-radius: 50%; background: var(--surface); color: var(--ink);
  font-size: 1.2rem; font-weight: 800; cursor: pointer; box-shadow: var(--hard-sm);
}
.arrow:hover { background: var(--yellow); color: var(--on-yellow); }
.carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 26%, 290px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 8px 20px 4px; scrollbar-width: thin;
}
.post {
  scroll-snap-align: start; display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  background: var(--surface); border: var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--hard-sm);
  transition: transform .15s ease;
}
a.post:hover { transform: translateY(-4px); }
.post-media { position: relative; aspect-ratio: 9/16; background: var(--c); border-bottom: var(--border); overflow: hidden; }
.post-media img, .post-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel-tag {
  position: absolute; top: 10px; left: 10px; background: rgba(20,20,19,.72); color: #fff;
  font-size: 0.72rem; font-weight: 700; border-radius: 6px; padding: 0.2em 0.55em;
}
.post-cap { padding: 0.75rem 0.9rem 0.9rem; font-size: 0.86rem; line-height: 1.4; color: var(--muted); }
.post-cap strong { color: var(--ink); }
@media (max-width: 640px) { .carousel { grid-auto-columns: 72%; } }

/* ---------- Small phones ---------- */
.logo, .nav .btn { white-space: nowrap; }
@media (max-width: 480px) {
  .site-header .wrap { gap: 0.75rem; min-height: 60px; }
  .logo { font-size: 1.35rem; gap: 0.45rem; }
  .logo-stamp { width: 28px; height: 28px; font-size: 0.75rem; }
  .nav .btn { font-size: 0.78rem; padding: 0.55em 0.8em; }
  .footer-top .logo { font-size: 1.9rem; }
}

/* ---------- Talk to us (chat + call) ---------- */
.contact-root { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; }
.contact-root.left { right: auto; left: max(16px, env(safe-area-inset-left, 0px)); }
.contact-fab {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-stretch: 80%; font-weight: 800; text-transform: uppercase; font-size: 1rem;
  background: var(--ink); color: var(--bg); border: var(--border); border-radius: 999px; padding: 0.8em 1.3em;
  box-shadow: 4px 4px 0 var(--yellow), 4px 4px 0 2.5px var(--line);
}
.contact-fab::-webkit-details-marker { display: none; }
.contact[open] .contact-fab { background: var(--yellow); color: var(--on-yellow); }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: #3ccf5b; box-shadow: 0 0 0 3px rgba(60,207,91,.3); }
.contact-panel {
  position: absolute; right: 0; bottom: calc(100% + 14px); width: min(340px, calc(100vw - 32px));
  background: var(--surface); border: var(--border); border-radius: var(--radius); box-shadow: var(--hard);
  padding: 1.1rem; display: grid; gap: 0.85rem;
  max-height: calc(100dvh - 110px); overflow-y: auto;
}
.contact-root.left .contact-panel { right: auto; left: 0; }
.contact-head { display: flex; gap: 0.7rem; align-items: center; }
.contact-head div { display: grid; line-height: 1.25; }
.contact-avatar { width: 42px; height: 42px; border-radius: 50%; border: var(--border); background: var(--yellow); color: var(--on-yellow); display: grid; place-items: center; font-family: var(--font-display); font-weight: 900; font-size: 1.2rem; }
.call-box { display: grid; gap: 0.3rem; border-top: 2px dashed var(--line); padding-top: 0.8rem; }
.call-row { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; flex-wrap: wrap; }
.phone { font-family: var(--font-display); font-stretch: 75%; font-weight: 850; font-size: 1.5rem; text-decoration: none; user-select: all; font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { .contact-fab { font-size: 0.9rem; padding: 0.7em 1.1em; } }

/* ---------- Category picker ---------- */
.cat-ask { font-family: var(--font-display); font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: 1.15rem; margin: 0.4rem 0 0.9rem; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; max-width: 980px; margin: 0 auto 1.8rem; text-align: left; }
.cat-tile {
  position: relative; display: grid; gap: 0.25rem; align-content: start; min-height: 128px;
  background: var(--c); color: #fff; border: var(--border); border-radius: var(--radius); box-shadow: var(--hard-sm);
  padding: 0.9rem 1rem 1rem; text-decoration: none; transition: transform .12s ease, box-shadow .12s ease;
}
a.cat-tile:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--shadow); }
.cat-tile.soon { background: var(--surface-2); color: var(--muted); border-style: dashed; box-shadow: none; }
.cat-faces { display: flex; margin-bottom: 0.4rem; }
.cat-faces img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid #141413; background: #fff; }
.cat-faces img + img { margin-left: -10px; }
.cat-name { font-family: var(--font-display); font-stretch: 70%; font-weight: 900; text-transform: uppercase; font-size: 1.7rem; line-height: 1; text-shadow: 2px 2px 0 #141413; }
.cat-tile.soon .cat-name { text-shadow: none; }
.cat-meta { font-size: 0.85rem; font-weight: 600; opacity: 0.95; }
.cat-go { position: absolute; right: 12px; top: 10px; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); color: var(--on-yellow); border: 2px solid #141413; display: grid; place-items: center; font-weight: 800; }
.cat-hero { background: var(--c); border-bottom: var(--border); }
.cat-hero .wrap { padding-block: clamp(28px, 5vw, 56px); display: grid; gap: 0.6rem; justify-items: start; }
.cat-hero h1 { color: #fff; text-shadow: 3px 3px 0 #141413; }
.cat-hero .tagline { color: #fff; font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 700; max-width: 40ch; }
.cat-hero .back { margin-bottom: 0.4rem; }
.cat-switch { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.6rem; }
.cat-switch .chip { text-decoration: none; }

/* ---------- Selling details ---------- */
.save { font-style: normal; font-family: var(--font-body); font-stretch: 100%; font-size: 0.7rem; font-weight: 700; color: #1f7a3d; margin-left: 0.4em; vertical-align: middle; }
.price-row { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; }
.save-tag { background: #dff3e4; color: #145c2c; border: 2px solid #145c2c; border-radius: 999px; padding: 0.15em 0.7em; font-weight: 700; font-size: 0.85rem; }
.stars { color: #e0a100; letter-spacing: 0.05em; }
.stars.big { font-size: 1.3rem; font-weight: 700; }
.stars-link { font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.assurances { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.3rem; font-size: 0.88rem; color: var(--muted); }
.assurances li::before { content: "✓ "; color: var(--good); font-weight: 800; }
.assurances strong { color: var(--ink); }
.who-for { border: 2px dashed var(--line); border-radius: 12px; padding: 0.9rem 1rem; display: grid; gap: 0.5rem; background: var(--surface); }
.who-for ul { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.25rem; font-weight: 600; }
.hero-ctas { margin-top: 1.4rem; display: flex; gap: 0.7rem; flex-wrap: wrap; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 18px; }
.review { margin: 0; border: var(--border); border-radius: var(--radius); background: var(--surface); padding: 1rem 1.1rem; display: grid; gap: 0.5rem; box-shadow: var(--hard-sm); }
.review blockquote { margin: 0; font-size: 1rem; }
.review figcaption { font-weight: 700; font-size: 0.88rem; color: var(--muted); }
.announce a { color: inherit; text-decoration: none; }
.announce a:hover { text-decoration: underline; }

/* Phone Buy bar */
.buy-sticky { display: none; }
@media (max-width: 760px) {
  .buy-sticky {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    display: flex; align-items: center; justify-content: space-between; gap: 0.8rem;
    background: var(--surface); border-top: var(--border);
    padding: 0.7rem 16px calc(0.7rem + env(safe-area-inset-bottom, 0px));
    transform: translateY(110%); transition: transform .2s ease;
  }
  .buy-sticky.show { transform: none; }
  .buy-sticky > div { display: grid; min-width: 0; }
  .buy-sticky strong { font-size: 0.82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buy-sticky .price { font-size: 1.35rem; }
  .buy-sticky .btn { flex: 0 0 auto; padding: 0.75em 1.2em; }
  body.has-buy-bar .contact-root { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
}
.cat-blurb { font-size: 0.88rem; font-weight: 600; line-height: 1.35; max-width: 30ch; }
@media (max-width: 820px) { .buy-box { position: static; } }

/* ---------- Utilities ---------- */
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nav-sub { font-size: 0.9rem; padding: 0.6em 0.9em; }
.nav-sub svg { flex: 0 0 auto; }
@media (max-width: 720px) { .nav-sub span { display: none; } .nav-sub { padding: 0.55em 0.65em; } }

/* ---------- Category cards (v2) ---------- */
.cat-tile { min-height: 190px; gap: 0.35rem; padding: 1rem 1.1rem; }
.cat-icon { width: 54px; height: 54px; border-radius: 14px; background: #fff; color: #141413; border: 2.5px solid #141413; display: grid; place-items: center; box-shadow: 3px 3px 0 #141413; margin-bottom: 0.5rem; transform: rotate(-4deg); }
.cat-tile.soon .cat-icon { background: var(--surface); color: var(--muted); box-shadow: none; border-style: dashed; }
.cat-foot { margin-top: auto; padding-top: 0.7rem; display: flex; align-items: center; gap: 0.55rem; border-top: 2px dashed rgba(255,255,255,.55); }
.cat-tile.soon .cat-foot { border-top-color: var(--line); justify-content: space-between; }
.cat-faces { margin: 0; }
.cat-faces img { width: 30px; height: 30px; }
.cat-foot .cat-meta { flex: 1; min-width: 0; }
.cat-go { position: static; flex: 0 0 auto; }
.cat-notify { font: inherit; font-size: 0.8rem; font-weight: 700; border: 2px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); padding: 0.25em 0.8em; cursor: pointer; }
.cat-notify:hover { background: var(--yellow); color: var(--on-yellow); }

/* ---------- Reviews wall ---------- */
.rv-band { overflow: hidden; }
.rv-intro { display: grid; justify-items: center; text-align: center; gap: 1rem; margin-bottom: clamp(24px, 4vw, 40px); }
.rv-trophy { color: var(--on-yellow); }
.rv-intro h2 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
.rv-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--surface); color: var(--ink); border: var(--border); border-radius: 999px; padding: 0.35em 1em; font-weight: 700; font-size: 0.9rem; box-shadow: var(--hard-sm); }
.rv-row { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 24%, 300px); gap: 20px; overflow-x: auto; padding: 4px 8px 22px 4px; scroll-snap-type: x mandatory; }
.rv-card { position: relative; margin: 0; scroll-snap-align: start; background: var(--surface); color: var(--ink); border: var(--border); border-radius: var(--radius); box-shadow: var(--hard); padding: 1.1rem; display: flex; flex-direction: column; gap: 0.65rem; }
.rv-card.is-example { border-style: dashed; }
.rv-example { position: absolute; top: -12px; right: 12px; background: var(--ink); color: var(--bg); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.25em 0.6em; border-radius: 6px; }
.rv-head { display: flex; gap: 0.6rem; align-items: center; }
.rv-head div { display: grid; line-height: 1.2; }
.rv-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--c, var(--yellow)); color: #fff; border: 2px solid var(--line); display: grid; place-items: center; font-weight: 800; flex: 0 0 auto; }
.rv-title { font-family: var(--font-body); font-stretch: 100%; text-transform: none; font-size: 1.02rem; font-weight: 700; line-height: 1.3; }
.rv-card blockquote { margin: 0; font-size: 0.95rem; line-height: 1.55; }
.rv-card mark { background: var(--yellow); color: var(--on-yellow); padding: 0 0.15em; }
.rv-card figcaption { margin-top: auto; font-size: 0.82rem; font-weight: 700; }
.rv-card figcaption a { text-decoration: none; }
.rv-card figcaption a:hover { text-decoration: underline; }

/* ---------- Community ---------- */
.community-hero h1 { color: #fff; }
.community-hero .cat-switch .chip { background: transparent; color: #fff; border-color: #fff; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 860px; }
.timeline li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 1rem; padding: 1rem 0; border-top: 2px dashed var(--line); }
.timeline li:last-child { border-bottom: 2px dashed var(--line); }
.timeline time { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); padding-top: 0.2rem; }
.timeline a { display: grid; gap: 0.2rem; text-decoration: none; }
.timeline a strong { font-size: 1.1rem; }
.timeline a:hover strong { text-decoration: underline; }
.timeline a span { color: var(--muted); }
@media (max-width: 560px) { .timeline li { grid-template-columns: 1fr; gap: 0.3rem; } }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 24px; }
.post-card { background: var(--surface); color: var(--ink); border: var(--border); border-radius: var(--radius); box-shadow: var(--hard); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; }
.post-card:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--shadow); }
.post-img { aspect-ratio: 16/10; border-bottom: var(--border); background: var(--c, var(--yellow)); overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.post-body h3 { font-size: 1.4rem; }
.post-body p { color: var(--muted); font-size: 0.93rem; }
.post-body .by { margin-top: auto; }
.post-meta { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-mono); font-size: 0.74rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.tag { background: var(--yellow); color: var(--on-yellow); border: 1.5px solid var(--line); border-radius: 5px; padding: 0.1em 0.5em; font-weight: 500; }
.join-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.join-card { border: var(--border); border-radius: var(--radius); padding: 1.2rem; display: grid; gap: 0.6rem; align-content: start; justify-items: start; background: var(--surface); box-shadow: var(--hard-sm); }
.join-card h3 { font-size: 1.5rem; }
.join-card p { color: var(--muted); }
.follow { display: flex; flex-wrap: wrap; gap: 0.4rem 0.9rem; font-weight: 600; }
.follow a, .follow span { text-decoration: none; }
.follow a:hover { text-decoration: underline; }
.email-plain { font-family: var(--font-mono); font-size: 0.92rem; user-select: all; }

/* ---------- Articles, guides and legal pages ---------- */
.doc-wrap { max-width: 760px; display: grid; gap: 1rem; justify-items: start; min-width: 0; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.doc-img { margin: 0.5rem 0; width: 100%; border: var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--hard); aspect-ratio: 16/9; }
.doc-img img { width: 100%; height: 100%; object-fit: cover; }
.prose { display: grid; gap: 1rem; font-size: 1.06rem; line-height: 1.65; max-width: 68ch; }
.prose h3 { font-size: 1.5rem; margin-top: 0.8rem; }
.prose h4 { font-size: 1.15rem; }
.prose ul { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.4rem; }
.prose a { text-underline-offset: 3px; text-decoration-thickness: 2px; text-decoration-color: var(--yellow); }
.muted-line { color: var(--muted); font-size: 0.9rem; }
.post-cta { margin-top: 1rem; width: 100%; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 1rem; align-items: center; border: var(--border); border-radius: var(--radius); background: var(--cream-card); padding: 1rem; box-shadow: var(--hard); }
.post-cta img { width: 100%; aspect-ratio: 1; object-fit: cover; border: var(--border); border-radius: 10px; }
.post-cta > div { display: grid; gap: 0.4rem; min-width: 0; }
.post-cta p { color: var(--muted); font-size: 0.93rem; }
.post-cta-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; flex-wrap: wrap; margin-top: 0.3rem; }
.post-cta.plain { grid-template-columns: 1fr; }
.post-cta.plain > div { justify-items: start; }
@media (max-width: 520px) { .post-cta { grid-template-columns: 1fr; } .post-cta img { aspect-ratio: 16/9; } }
.page-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.page-nav { display: grid; gap: 0.3rem; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 90px); }
.page-nav a { text-decoration: none; font-weight: 600; padding: 0.35rem 0.6rem; border-radius: 8px; border: 2px solid transparent; }
.page-nav a:hover { border-color: var(--line); }
.page-nav a[aria-current] { background: var(--yellow); color: var(--on-yellow); border-color: var(--line); }
@media (max-width: 820px) { .page-layout { grid-template-columns: 1fr; } .page-nav { position: static; display: flex; flex-wrap: wrap; } .page-nav .eyebrow { width: 100%; } }

/* ---------- Subscribe ---------- */
.subscribe-band { background: var(--yellow); color: var(--on-yellow); border-top: var(--border); padding-block: clamp(40px, 6vw, 72px); }
.subscribe-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
@media (max-width: 820px) { .subscribe-band .wrap { grid-template-columns: 1fr; } }
.sub-copy { display: grid; gap: 0.6rem; }
.sub-copy p { font-size: 1.05rem; max-width: 46ch; }
.sub-form { display: grid; gap: 0.8rem; }
.sub-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.sub-row input { flex: 1 1 220px; min-width: 0; font: inherit; font-size: 1rem; padding: 0.8em 1em; border: var(--border); border-color: #141413; border-radius: 10px; background: #fff; color: #141413; }
.sub-row .btn { border-color: #141413; box-shadow: 3px 3px 0 #141413; background: #141413; color: #fff; }
.sub-topics { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.sub-topics .label { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; margin-right: 0.2rem; }
.topic { display: inline-flex; align-items: center; gap: 0.35rem; background: #fff; color: #141413; border: 2px solid #141413; border-radius: 999px; padding: 0.25em 0.8em; font-weight: 600; font-size: 0.88rem; cursor: pointer; }
.topic input { accent-color: #141413; }
.sub-fine { font-size: 0.82rem; opacity: 0.85; }
.sub-fine a { color: inherit; }
.sub-done { font-weight: 700; font-size: 1.05rem; }

/* ---------- Footer directory ---------- */
.footer-dir { display: grid; grid-template-columns: 1.3fr repeat(5, minmax(0, 1fr)); gap: 1.8rem 1.4rem; padding-block: 1.6rem; border-top: 2px solid rgba(255,255,255,.18); border-bottom: 2px solid rgba(255,255,255,.18); }
@media (max-width: 980px) { .footer-dir { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-dir { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.f-col h4 { margin: 0 0 0.7rem; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--yellow); font-weight: 500; }
.f-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.f-col a, .f-col span { color: var(--bg); text-decoration: none; font-size: 0.92rem; }
.f-col a:hover { text-decoration: underline; }
.f-follow .follow { flex-direction: column; gap: 0.45rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; }
.footer-legal { font-size: 0.8rem; opacity: 0.6; margin: 0; }
.cat-notify { text-decoration: none; }

/* ---------- Admin shortcut ---------- */
.admin-edit { position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; font-size: 0.85rem; }
.admin-edit summary { list-style: none; cursor: pointer; background: #141413; color: #ffd23f; border: 2px solid #ffd23f; border-radius: 999px; padding: 0.55em 1em; font-weight: 700; }
.admin-edit summary::-webkit-details-marker { display: none; }
.admin-edit div { position: absolute; left: 0; bottom: calc(100% + 8px); background: #fff; color: #141413; border: 2px solid #141413; border-radius: 10px; box-shadow: 3px 3px 0 #141413; display: grid; min-width: 220px; overflow: hidden; }
.admin-edit a { padding: 0.6em 0.9em; text-decoration: none; font-weight: 600; border-bottom: 1px solid #e3e1d9; }
.admin-edit a:last-child { border-bottom: 0; }
.admin-edit a:hover { background: #ffd23f; }
mark.hl { background: var(--yellow); color: var(--on-yellow); padding: 0 0.12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero h1 { max-width: 17ch; }
.hero h1 mark.hl { display: inline-block; margin-top: 0.08em; padding: 0.02em 0.18em 0.06em; transform: rotate(-1.5deg); box-shadow: 4px 4px 0 var(--shadow); border: 3px solid var(--line); }
.band-yellow mark.hl { background: var(--ink); color: var(--yellow); }

/* ---------- Top menu dropdowns ---------- */
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.nav-burger { display: none; }
.nav-links { display: flex; align-items: center; gap: 1.4rem; }
.nav-item { position: relative; }
.nav-trigger { font: inherit; font-weight: 600; font-size: 0.95rem; background: none; border: 0; padding: 0.4rem 0; cursor: pointer; color: var(--ink); display: inline-flex; align-items: center; gap: 0.3rem; }
.nav-trigger::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .15s ease; }
.nav-plain { font-weight: 600; font-size: 0.95rem; text-decoration: none; }
.nav-menu {
  display: none; position: absolute; top: 100%; left: -16px; z-index: 50; margin-top: 10px;
  width: min(380px, calc(100vw - 32px)); background: var(--surface); border: var(--border); border-radius: var(--radius);
  box-shadow: var(--hard); padding: 0.6rem; gap: 0.15rem;
}
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* keeps the menu open while the mouse moves down */
@media (hover: hover) {
  .has-menu:hover .nav-menu { display: grid; }
  .has-menu:hover .nav-trigger::after { transform: rotate(225deg) translateY(-2px); }
}
.has-menu:focus-within .nav-menu, .has-menu.open .nav-menu { display: grid; }
.has-menu.open .nav-trigger::after { transform: rotate(225deg) translateY(-2px); }
.menu-title { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding: 0.4rem 0.6rem 0.3rem; }
.menu-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.7rem; align-items: center; padding: 0.55rem 0.6rem; border-radius: 10px; text-decoration: none; color: var(--ink); border: 2px solid transparent; }
a.menu-item:hover, a.menu-item:focus-visible { background: #fff6d6; border-color: var(--line); }
.menu-item.is-soon { opacity: 0.6; cursor: default; }
.mi-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--c, var(--yellow)); color: #fff; border: 2px solid var(--line); }
.mi-text { display: grid; line-height: 1.25; min-width: 0; grid-column: 2; }
.menu-item > .mi-text:first-child { grid-column: 1 / 3; }
.mi-text strong { font-size: 0.95rem; }
.mi-text span { font-size: 0.8rem; color: var(--muted); }
.mi-meta { display: grid; justify-items: end; gap: 0.2rem; }
.mi-meta em { font-style: normal; font-size: 0.72rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.mi-faces { display: flex; }
.mi-faces img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--line); }
.mi-faces img + img { margin-left: -7px; }
.menu-foot { margin-top: 0.3rem; padding: 0.6rem; border-top: 2px dashed var(--line); font-weight: 700; text-decoration: none; }
.menu-foot:hover { text-decoration: underline; }

/* Phones: a menu button opens the same links as a panel */
@media (max-width: 860px) {
  .nav { gap: 0.6rem; }
  .nav-burger { display: grid; gap: 4px; order: 3; width: 44px; height: 40px; place-content: center; border: var(--border); border-radius: 10px; background: var(--surface); cursor: pointer; box-shadow: var(--hard-sm); }
  .nav-burger span { display: block; width: 18px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .15s ease, opacity .15s ease; }
  .nav-toggle:checked + .nav-burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle:checked + .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked + .nav-burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 40;
    flex-direction: column; align-items: stretch; gap: 0.4rem;
    background: var(--bg); border-bottom: var(--border); padding: 0.8rem var(--gutter) 1.2rem;
    max-height: calc(100dvh - 70px); overflow-y: auto; box-shadow: 0 10px 0 rgba(0,0,0,.06);
  }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-item { position: static; }
  .nav-trigger { font-family: var(--font-display); font-stretch: 75%; font-weight: 850; text-transform: uppercase; font-size: 1.2rem; padding: 0.4rem 0 0.2rem; pointer-events: none; }
  .nav-trigger::after { display: none; }
  .nav-menu { display: grid; position: static; width: 100%; margin: 0; box-shadow: none; border-width: 2px; }
  .nav-menu::before { display: none; }
  .nav-menu .menu-title { display: none; }
  .nav-plain { font-family: var(--font-display); font-stretch: 75%; font-weight: 850; text-transform: uppercase; font-size: 1.2rem; padding: 0.4rem 0; }
}
@media (max-width: 480px) { .mi-meta { display: none; } }
