/* ============================================================
   ICM CONFESSIONS — styles.css
   "MIDNIGHT PRESS" design system
   ------------------------------------------------------------
   A dark-first, risograph-zine language: near-black ink with a
   green cast on an all-black page, a single acid-lime accent
   (brand equity), coral reserved strictly for danger semantics.
   Geometry rule (documented mixed radius system):
     - containers, cards, inputs, images  -> sharp (0px)
     - buttons, chips, stamps, badges     -> pill (9999px)
   Shadows follow ONE system: neo-brutalist solid offset
   (no soft elevation shadows anywhere).
   Type: Bricolage Grotesque (display) / Geist (body) /
   Geist Mono (metadata).
   ============================================================ */

/* ------------------------------------------------------------
   0. SELF-HOSTED WEB FONTS (no third-party font CDNs)
   Bricolage Grotesque / Geist / Geist Mono, latin + latin-ext,
   downloaded from Google Fonts and served from fonts/.
   Phosphor icon faces are linked from fonts/phosphor-*.css.
------------------------------------------------------------ */

/* latin-ext Bricolage Grotesque (400 800) */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/BricolageGrotesque-400x800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin Bricolage Grotesque (400 800) */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/BricolageGrotesque-400x800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext Geist (400) */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/Geist-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin Geist (400) */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/Geist-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext Geist (500) */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/Geist-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin Geist (500) */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/Geist-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext Geist (600) */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/Geist-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin Geist (600) */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/Geist-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext Geist Mono (400) */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/GeistMono-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin Geist Mono (400) */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/GeistMono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext Geist Mono (500) */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/GeistMono-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin Geist Mono (500) */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/GeistMono-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ------------------------------------------------------------
   1. TOKENS
------------------------------------------------------------ */
:root {
  color-scheme: dark;

  /* palette — black (one dark palette for the whole site) */
  --bg: #0b0f0c;
  --bg-soft: #101512;
  --surface: #151b16;
  --surface-2: #1a211b;
  --line: #2b342d;
  --line-strong: #607065;        /* >= 3:1 on every surface */
  --ink: #f0f4ee;
  --ink-2: #c9d2c9;
  --ink-muted: #93a093;
  --lime: #d7ff4f;
  --lime-ink: #101410;
  --lime-text: #d7ff4f;          /* AA-safe lime-toned text on black */
  --coral: #ff7a6b;              /* semantic danger: text-safe */
  --coral-vivid: #ff6b5e;        /* semantic danger: fills */
  --danger: #ff7a6b;
  --shadow-ink: #000000;
  --scrim: rgba(11, 15, 12, 0.82);

  /* type */
  --font-display: "Bricolage Grotesque", "Space Grotesk", system-ui, sans-serif;
  --font-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", "DM Mono", ui-monospace, monospace;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fast: 0.18s;
  --med: 0.32s;

  /* rhythm */
  --gutter: clamp(20px, 4vw, 36px);
  --section-y: clamp(72px, 9vw, 128px);
  --header-h: 66px;
  --hard: 6px 6px 0 var(--shadow-ink);
  --hard-sm: 3px 3px 0 var(--shadow-ink);
}

/* ------------------------------------------------------------
   2. RESET + BASE
------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.25s ease, color 0.25s ease;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

a {
  color: inherit;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

blockquote {
  quotes: none;
}

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

:focus-visible {
  outline: 2px solid var(--lime-text);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

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

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 300;
  background: var(--lime);
  color: var(--lime-ink);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 18px;
  transition: top var(--fast) var(--ease);
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(1280px, 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.container.narrow {
  width: min(820px, 100% - var(--gutter) * 2);
}

.view {
  display: block;
}

/* ------------------------------------------------------------
   3. TYPOGRAPHY
------------------------------------------------------------ */
.display-xl,
.display-lg,
.heading-xl,
.heading-md,
.heading-sm {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.display-xl {
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.display-lg {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.heading-xl {
  font-size: clamp(28px, 3.6vw, 44px);
}

.heading-md {
  font-size: clamp(21px, 2.4vw, 28px);
  line-height: 1.15;
}

.heading-sm {
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.body-lg {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--ink-2);
}

.body-md {
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink-2);
}

/* mono metadata voice */
.meta {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
}

.stamp {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
}

.section-kicker,
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.section-kicker.lime {
  color: var(--lime-text);
}

.accent-lime {
  color: var(--lime-text);
}

.accent-coral {
  color: var(--coral);
}

.hl {
  background: var(--lime);
  color: var(--lime-ink);
  padding: 0 0.14em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--lime);
  padding-bottom: 2px;
  transition: gap var(--fast) var(--ease), border-color var(--fast) ease;
}

.text-link:hover {
  gap: 12px;
  border-color: var(--ink);
}

.back-link {
  border-bottom-color: var(--line-strong);
  margin-bottom: 26px;
}

.back-link i {
  transform: rotate(180deg);
}

code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 1px 7px;
  border-radius: 999px;
}

/* ------------------------------------------------------------
   4. BUTTONS / CHIPS / STAMPS
------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1;
  padding: 15px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease),
    background-color var(--fast) ease, color var(--fast) ease, border-color var(--fast) ease;
}

.btn i {
  font-size: 18px;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--hard-sm);
}

.btn:active {
  transform: translate(0, 0);
  box-shadow: none;
}

.btn[aria-disabled="true"],
.btn:disabled {
  opacity: 0.55;
  pointer-events: none;
}

.btn-primary {
  background: var(--lime);
  color: var(--lime-ink);
  border-color: var(--line-strong);
  box-shadow: var(--hard-sm);
}

.btn-primary:hover {
  box-shadow: var(--hard);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-outline:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--lime-ink);
  box-shadow: var(--hard-sm);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  border-color: transparent;
  padding-inline: 16px;
}

.btn-ghost:hover {
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
  transform: none;
  background: var(--surface-2);
}

.btn-danger {
  background: var(--coral-vivid);
  color: #1a0603;
  border-color: var(--line-strong);
  box-shadow: var(--hard-sm);
}

.btn-sm {
  font-size: 14px;
  padding: 10px 18px;
  gap: 7px;
}

.btn-sm i {
  font-size: 15px;
}

.btn-lg {
  font-size: 16.5px;
  padding: 18px 32px;
}

.btn-block {
  width: 100%;
}

/* chips = filter pills */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 8px 15px;
  text-decoration: none;
  transition: border-color var(--fast) ease, background-color var(--fast) ease,
    color var(--fast) ease, transform var(--fast) var(--ease);
}

.chip:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.chip.is-active {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--lime-ink);
}

.chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

/* category chips on home are links */
a.chip:hover {
  background: var(--lime);
  border-color: var(--line-strong);
  color: var(--lime-ink);
}

/* ------------------------------------------------------------
   5. FORMS
------------------------------------------------------------ */
.field {
  margin-bottom: 26px;
}

.field label,
.field legend {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  margin-bottom: 7px;
}

.field legend {
  padding: 0;
}

.req {
  color: var(--coral);
}

.opt {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-left: 6px;
}

.field-help {
  font-size: 14.5px;
  color: var(--ink-muted);
  margin-bottom: 10px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="url"],
select,
textarea {
  width: 100%;
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--line-strong);
  border-radius: 0;
  padding: 14px 16px;
  font-size: 16px;
  line-height: 1.5;
  transition: border-color var(--fast) ease, box-shadow var(--fast) ease;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

input::placeholder,
textarea::placeholder {
  color: var(--ink-muted);
  opacity: 0.85;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--lime-text);
  box-shadow: 4px 4px 0 var(--lime);
}

input.is-error,
textarea.is-error {
  border-color: var(--coral);
  box-shadow: 4px 4px 0 color-mix(in srgb, var(--coral) 40%, transparent);
}

.field-msg {
  min-height: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--coral);
  margin-top: 7px;
}

.field-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
}

.char-count {
  margin-left: auto;
  white-space: nowrap;
}

/* honeypot — never visible */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* consent checkbox */
.consent {
  border-top: 2px solid var(--line);
  padding-top: 24px;
  margin-top: 6px;
}

.check-label {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-size: 15.5px;
  line-height: 1.5;
  cursor: pointer;
}

.check-label input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.check-box {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border: 2px solid var(--line-strong);
  background: var(--surface);
  display: grid;
  place-items: center;
  color: transparent;
  margin-top: 1px;
  transition: background-color var(--fast) ease, color var(--fast) ease;
}

.check-label input:checked + .check-box {
  background: var(--lime);
  color: var(--lime-ink);
}

.check-label input:focus-visible + .check-box {
  outline: 2px solid var(--lime-text);
  outline-offset: 3px;
}

.check-box i {
  font-size: 15px;
}

.consent-note {
  font-size: 14px;
  color: var(--ink-muted);
  margin-top: 14px;
}

.consent-note a,
.form-privacy a,
.page-sub a,
.trust-footnote a,
.footer-small a {
  color: var(--ink);
  text-decoration-color: var(--lime);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 30px;
}

.form-privacy {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 18px;
  max-width: 56ch;
  line-height: 1.55;
}

.form-privacy i {
  font-size: 13px;
  margin-top: 2px;
}

/* category picker */
.cat-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cat-option {
  cursor: pointer;
}

.cat-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.cat-option span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 500;
  padding: 10px 17px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  transition: border-color var(--fast) ease, background-color var(--fast) ease,
    transform var(--fast) var(--ease);
}

.cat-option:hover span {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.cat-option input:checked + span {
  background: var(--lime);
  border-color: var(--line-strong);
  color: var(--lime-ink);
}

.cat-option input:focus-visible + span {
  outline: 2px solid var(--lime-text);
  outline-offset: 3px;
}

/* ------------------------------------------------------------
   6. HEADER
------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--line-strong);
  transition: box-shadow var(--med) ease;
}

.site-header.is-scrolled {
  box-shadow: 0 6px 0 color-mix(in srgb, var(--shadow-ink) 12%, transparent);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--lime);
  color: var(--lime-ink);
  border: 2px solid var(--line-strong);
  box-shadow: var(--hard-sm);
  transition: transform var(--fast) var(--ease);
}

.brand:hover .brand-mark {
  transform: translate(-2px, -2px) rotate(-4deg);
}

.brand-mark svg {
  width: 26px;
  height: 26px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 17.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-text small {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 3px;
}

.main-nav {
  display: flex;
  gap: 4px;
}

.main-nav a {
  position: relative;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-2);
  padding: 9px 13px;
  transition: color var(--fast) ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--fast) var(--ease);
}

.main-nav a:hover {
  color: var(--ink);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.main-nav a.is-active {
  color: var(--ink);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
}

.menu-btn i {
  font-size: 20px;
}

.mobile-menu {
  border-top: 2px solid var(--line);
  background: var(--bg);
  padding: 10px var(--gutter) 26px;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  max-width: 1280px;
  margin-inline: auto;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(26px, 6vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  padding: 13px 0;
  border-bottom: 1.5px solid var(--line);
}

.mobile-menu a:hover {
  color: var(--lime-text);
  padding-left: 10px;
  transition: padding-left var(--fast) var(--ease);
}

.mobile-menu a.mobile-admin {
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------
   7. TOASTS
------------------------------------------------------------ */
.toast-wrap {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 250;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(400px, calc(100vw - 40px));
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  background: var(--surface-2);
  color: var(--ink);
  border: 2px solid var(--line-strong);
  border-left: 6px solid var(--lime);
  padding: 14px 17px;
  font-size: 14.5px;
  line-height: 1.45;
  box-shadow: var(--hard);
  animation: toastIn 0.22s var(--ease) both;
}

.toast i {
  font-size: 17px;
  color: var(--lime);
  margin-top: 1px;
}

.toast.is-warning {
  border-left-color: var(--coral-vivid);
}

.toast.is-warning i {
  color: var(--coral-vivid);
}

.toast.is-error {
  border-left-color: var(--coral-vivid);
  background: var(--coral-vivid);
  color: #1a0603;
  border-color: var(--line-strong);
}

.toast.is-error i {
  color: #1a0603;
}

.toast.is-leaving {
  animation: toastOut 0.2s var(--ease) both;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateX(24px);
  }
}

/* ------------------------------------------------------------
   8. HERO  (fits 1280x720 with ticker peeking)
------------------------------------------------------------ */
.hero {
  padding: clamp(44px, 6vw, 84px) 0 clamp(40px, 5vw, 72px);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.5;
  pointer-events: none;
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--line-strong);
  background: var(--surface);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
  box-shadow: var(--hard-sm);
}

.hero-copy .eyebrow i {
  font-size: 14px;
  color: var(--lime-text);
}

.hero h1 {
  margin-bottom: 20px;
}

.hero .emoji {
  font-size: 0.62em;
  vertical-align: 0.12em;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 14px;
}

.hero-desc {
  max-width: 52ch;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* hero art: real duotone photo + floating stamp */
.hero-art {
  position: relative;
}

.photo {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--line-strong);
  background: var(--surface-2);
  box-shadow: var(--hard);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.14) brightness(1.02);
}

.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--lime);
  mix-blend-mode: color;
  opacity: 0.55;
  pointer-events: none;
}

.photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
  background: linear-gradient(180deg, transparent, rgba(11, 15, 12, 0.85));
  padding: 26px 16px 12px;
}

.hero-photo {
  aspect-ratio: 4 / 5;
}

/* wide editorial band used on the About page */
.photo-wide {
  aspect-ratio: 16 / 9;
}

/* postmark roundel — keeps the anonymous-postbox metaphor */
.stamp-roundel {
  position: absolute;
  top: -26px;
  right: -18px;
  z-index: 3;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  border: 3px solid var(--coral-vivid);
  outline: 2px dashed var(--coral-vivid);
  outline-offset: 5px;
  display: grid;
  place-content: center;
  text-align: center;
  font-family: var(--font-mono);
  text-transform: uppercase;
  transform: rotate(9deg);
  animation: stampFloat 5s ease-in-out infinite;
  box-shadow: var(--hard-sm);
}

.stamp-roundel b {
  font-size: 14px;
  letter-spacing: 0.14em;
}

.stamp-roundel strong {
  font-size: 21px;
  letter-spacing: 0.06em;
  color: var(--lime-text);
  line-height: 1.2;
}

.stamp-roundel small {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--coral);
}

@keyframes stampFloat {
  0%,
  100% {
    transform: rotate(9deg) translateY(0);
  }
  50% {
    transform: rotate(6deg) translateY(-9px);
  }
}

/* proof strip: moved out of hero density budget */
.proof-strip {
  border-top: 2px solid var(--line-strong);
  border-bottom: 2px solid var(--line-strong);
  background: var(--surface-2);
}

.proof-strip ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 34px;
  padding: 16px 0;
}

.proof-strip li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.proof-strip li i {
  color: var(--lime-text);
  font-size: 15px;
}

.proof-strip li.note {
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
}

.proof-strip li.note i {
  color: var(--coral);
}

/* ------------------------------------------------------------
   9. TICKER (single marquee, lime band)
------------------------------------------------------------ */
.ticker {
  overflow: hidden;
  background: var(--lime);
  color: var(--lime-ink);
  border-bottom: 2px solid var(--line-strong);
  padding: 13px 0;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerDrift 42s linear infinite;
}

.ticker.is-paused .ticker-track {
  animation-play-state: paused;
}

.ticker-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ticker-group span {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0 14px;
}

.tick-dot {
  width: 7px;
  height: 7px;
  background: var(--lime-ink);
  transform: rotate(45deg);
  flex-shrink: 0;
}

@keyframes tickerDrift {
  to {
    transform: translateX(-50%);
  }
}

/* ------------------------------------------------------------
   10. SECTION SCAFFOLD (asymmetric, no numbered eyebrows)
------------------------------------------------------------ */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: clamp(30px, 4vw, 48px);
}

.section-head p.section-sub {
  max-width: 56ch;
  color: var(--ink-2);
  margin-top: 12px;
}

/* ------------------------------------------------------------
   11. TRUST BAND — sticky head + ruled rows (not equal cards)
------------------------------------------------------------ */
.trust {
  padding: var(--section-y) 0;
}

.trust-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}

.trust-head {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.trust-head h2 {
  margin-bottom: 20px;
}

.trust-head .heading-xl {
  font-size: clamp(30px, 3.4vw, 46px);
}

.trust-footnote {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: var(--ink-muted);
  border-top: 2px solid var(--line-strong);
  padding-top: 18px;
  max-width: 40ch;
}

.trust-footnote i {
  color: var(--lime-text);
}

.trust-list {
  border-top: 2px solid var(--line-strong);
}

.trust-item {
  display: grid;
  grid-template-columns: 74px 44px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1.5px solid var(--line);
  transition: background-color var(--fast) ease, padding-left var(--fast) var(--ease);
}

.trust-item:hover {
  background: var(--surface-2);
  padding-left: 12px;
}

.trust-num {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 500;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--lime-text);
  line-height: 1;
  padding-top: 3px;
}

.trust-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--lime);
  color: var(--lime-ink);
  border: 2px solid var(--line-strong);
}

.trust-icon i {
  font-size: 21px;
}

.trust-item h3 {
  font-family: var(--font-display);
  font-size: clamp(19px, 1.8vw, 23px);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 7px;
}

.trust-item p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 58ch;
}

/* ------------------------------------------------------------
   12. CONFESSION OF THE DAY — the one color-block section
------------------------------------------------------------ */
.cotd-section {
  padding: 0 0 var(--section-y);
}

.cotd-card {
  position: relative;
  background: var(--surface-2);
  color: var(--ink);
  padding: clamp(34px, 5vw, 64px);
  border: 2px solid var(--lime);
  box-shadow: var(--hard);
  overflow: hidden;
}

.cotd-card::before {
  content: "“";
  position: absolute;
  top: -34px;
  right: 18px;
  font-family: var(--font-display);
  font-size: clamp(140px, 20vw, 260px);
  font-weight: 800;
  color: var(--lime);
  opacity: 0.16;
  line-height: 1;
  pointer-events: none;
}

.cotd-stamp {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--lime);
  color: var(--lime-ink);
  border: 2px solid var(--lime-ink);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
  transform: rotate(-1.5deg);
}

.cotd-stamp i {
  font-size: 15px;
}

.cotd-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--bg) 70%, var(--lime));
  margin-bottom: 22px;
}

.cotd-text {
  font-family: var(--font-display);
  font-size: clamp(23px, 3.1vw, 40px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  max-width: 26ch;
  margin-bottom: 30px;
  text-wrap: pretty;
}

.cotd-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1.5px solid color-mix(in srgb, var(--bg) 30%, transparent);
  padding-top: 22px;
}

.cotd-foot > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cotd-card .stamp {
  border-color: color-mix(in srgb, var(--ink) 55%, transparent);
  color: var(--ink);
}

.cotd-card .meta {
  color: color-mix(in srgb, var(--ink) 68%, transparent);
}

/* ------------------------------------------------------------
   13. FEED — masonry cards + sidebar
------------------------------------------------------------ */
.feed-section {
  padding: 0 0 var(--section-y);
}

.feed-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
  gap: clamp(26px, 3.5vw, 46px);
  align-items: start;
}

.feed-main {
  min-width: 0;
}

.feed-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.result-bar {
  justify-content: space-between;
  border-bottom: 2px solid var(--line-strong);
  padding-bottom: 14px;
}

/* masonry via CSS columns */
.card-grid {
  columns: 2;
  column-gap: 20px;
}

.confession-card {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  display: inline-block;
  width: 100%;
  margin-bottom: 20px;
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  padding: 20px 20px 16px;
  position: relative;
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease),
    border-color var(--fast) ease;
}

.confession-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.confession-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--hard);
  border-color: var(--line-strong);
}

.confession-card:hover::before {
  transform: scaleX(1);
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 8px;
}

.card-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 12px;
}

.card-text {
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink-2);
  white-space: pre-line;
  overflow-wrap: anywhere;
  margin-bottom: 16px;
}

.card-text.body-lg {
  font-size: 18px;
  color: var(--ink-2);
}

.card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1.5px dashed var(--line);
  padding-top: 13px;
}

.card-actions {
  display: flex;
  gap: 6px;
}

.act-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-muted);
  border: 1.5px solid transparent;
  border-radius: 999px;
  padding: 7px 11px;
  transition: color var(--fast) ease, border-color var(--fast) ease,
    background-color var(--fast) ease;
}

.act-btn i {
  font-size: 16px;
}

.act-btn:hover {
  color: var(--ink);
  border-color: var(--line);
  background: var(--bg-soft);
}

.act-btn.is-liked {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--line-strong);
}

.act-btn.is-liked i {
  animation: likePop 0.18s var(--ease);
}

.act-btn.is-reported {
  color: var(--coral);
  border-color: color-mix(in srgb, var(--coral) 45%, transparent);
}

@keyframes likePop {
  0% {
    transform: scale(1);
  }
  55% {
    transform: scale(1.35);
  }
  100% {
    transform: scale(1);
  }
}

/* card entrance */
.card-enter {
  animation: revealIn 0.4s var(--ease) both;
  animation-delay: var(--d, 0ms);
}

@keyframes revealIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* sidebar widgets */
.feed-aside {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: sticky;
  top: calc(var(--header-h) + 26px);
}

.aside-card {
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  padding: 22px;
  position: relative;
}

/* guidelines card: lifted variant of the plain aside card */
.aside-rules {
  background: var(--surface-2);
  border-top: 6px solid var(--lime);
  box-shadow: var(--hard);
}

.aside-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 9px;
}

.aside-kicker i {
  font-size: 14px;
  color: var(--lime-text);
}

.aside-kicker.coral {
  color: var(--coral);
}

.aside-kicker.coral i {
  color: var(--coral);
}

.aside-card .heading-sm {
  margin-bottom: 14px;
}

.aside-card .btn-block {
  margin-top: 16px;
}

/* random widget — slot machine header bar */
.random-widget {
  box-shadow: var(--hard);
}

.random-widget .aside-kicker {
  background: var(--lime);
  color: var(--lime-ink);
  margin: -22px -22px 16px;
  padding: 11px 22px;
  border-bottom: 2px solid var(--line-strong);
}

.random-widget .aside-kicker i {
  color: var(--lime-ink);
}

.random-slot {
  min-height: 132px;
  background: var(--bg-soft);
  border: 1.5px dashed var(--line-strong);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slot-text {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 13px;
}

.slot-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.slot-id {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 2px solid var(--lime);
}

.random-hint {
  font-size: 14.5px;
  color: var(--ink-muted);
  line-height: 1.55;
}

.slot-out {
  animation: slotOut 0.22s var(--ease) both;
}

.slot-in {
  animation: slotIn 0.36s var(--ease) both;
}

@keyframes slotOut {
  to {
    opacity: 0;
    transform: translateY(-14px);
  }
}

@keyframes slotIn {
  from {
    opacity: 0;
    transform: translateY(16px) rotate(0.6deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.mini-rules {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.mini-rules li {
  font-size: 14.5px;
  color: var(--ink-2);
  padding-left: 16px;
  position: relative;
}

.mini-rules li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  background: var(--lime);
  border: 1px solid var(--line-strong);
}

/* ------------------------------------------------------------
   14. HOW IT WORKS — cascade (never equal columns)
------------------------------------------------------------ */
.how-section {
  padding: 0 0 var(--section-y);
}

.how-list {
  border-top: 2px solid var(--line-strong);
  counter-reset: how;
}

.how-card {
  display: grid;
  grid-template-columns: minmax(90px, 180px) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: start;
  padding: clamp(28px, 4vw, 46px) 0;
  border-bottom: 2px solid var(--line);
}

/* cascade offsets — every step indents further */
.how-card:nth-child(2) {
  margin-left: clamp(0px, 6vw, 96px);
}

.how-card:nth-child(3) {
  margin-left: clamp(0px, 12vw, 192px);
}

.how-num {
  font-family: var(--font-display);
  font-size: clamp(64px, 9vw, 128px);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 2px var(--line-strong);
}

.how-card:hover .how-num {
  color: var(--lime);
  -webkit-text-stroke: 2px var(--line-strong);
}

.how-body {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.how-icon {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  color: var(--lime);
  border: 2px solid var(--line-strong);
}

.how-icon i {
  font-size: 25px;
}

.how-body h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 9px;
}

.how-body p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 62ch;
}

/* ------------------------------------------------------------
   15. RANDOM BIG SECTION
------------------------------------------------------------ */
.random-section {
  padding: 0 0 var(--section-y);
}

.random-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  background: var(--bg-soft);
  border-top: 2px solid var(--line-strong);
  border-bottom: 2px solid var(--line-strong);
  padding: clamp(38px, 5vw, 70px) var(--gutter);
}

.random-panel-copy h2 {
  margin: 14px 0 16px;
}

.random-panel-copy .body-lg {
  max-width: 46ch;
  margin-bottom: 28px;
}

.random-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.random-panel-stage {
  position: relative;
}

.random-panel-stage::before {
  content: "";
  position: absolute;
  inset: -14px -14px auto auto;
  width: 90px;
  height: 90px;
  background-image: radial-gradient(var(--line-strong) 2px, transparent 2px);
  background-size: 14px 14px;
  opacity: 0.4;
}

.big-card {
  background: var(--surface);
  border: 2px solid var(--line-strong);
  box-shadow: var(--hard);
  padding: clamp(24px, 3vw, 36px);
  transform: rotate(-0.8deg);
}

.big-card .card-foot {
  border-top-style: solid;
}

.big-card .card-meta {
  margin-bottom: 18px;
}

/* ------------------------------------------------------------
   16. GUIDELINES ACCORDION
------------------------------------------------------------ */
.rules-section {
  padding: 0 0 var(--section-y);
}

.rules-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}

.rules-intro {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.rules-intro h2 {
  margin: 12px 0 16px;
}

.rules-intro .body-lg {
  margin-bottom: 26px;
}

.rules-accordion {
  border-top: 2px solid var(--line-strong);
}

.rule-item {
  border-bottom: 1.5px solid var(--line);
}

.rule-q {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--ink);
  padding: 20px 0;
  transition: color var(--fast) ease, padding-left var(--fast) var(--ease);
}

.rule-q:hover {
  color: var(--lime-text);
  padding-left: 8px;
}

.rule-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--lime-text);
  flex: 0 0 auto;
}

.rule-toggle {
  flex: 0 0 auto;
  margin-left: auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 2px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  transition: transform var(--fast) var(--ease), background-color var(--fast) ease;
}

.rule-toggle i {
  font-size: 16px;
}

.rule-q:hover .rule-toggle {
  background: var(--lime);
}

.rule-item.is-open .rule-toggle {
  transform: rotate(45deg);
  background: var(--lime);
}

.rule-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.34s var(--ease);
}

.rule-item.is-open .rule-a {
  grid-template-rows: 1fr;
}

.rule-a > p {
  overflow: hidden;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-2);
  min-height: 0;
  padding-left: 45px;
  max-width: 62ch;
}

.rule-item.is-open .rule-a > p {
  padding-bottom: 22px;
}

/* ------------------------------------------------------------
   17. CTA — full-bleed photo band with hard overlay
------------------------------------------------------------ */
.cta-section {
  position: relative;
  background: #000000;
  border-top: 2px solid var(--line-strong);
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
}

.cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--scrim);
}

.cta-panel {
  position: relative;
  z-index: 1;
  padding: clamp(72px, 10vw, 140px) 0;
  text-align: left;
  max-width: 900px;
}

.cta-panel .section-kicker {
  color: var(--lime);
  margin-bottom: 18px;
}

.cta-panel h2 {
  color: #f4f6f2;
  margin-bottom: 32px;
  text-wrap: balance;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cta-panel .btn-outline {
  color: #f4f6f2;
  border-color: #f4f6f2;
}

.cta-note {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: #c2cabf;
}

/* ------------------------------------------------------------
   18. FOOTER
------------------------------------------------------------ */
.site-footer {
  background: #000000;
  color: #c2cabf;
  border-top: 2px solid var(--line-strong);
  padding: clamp(52px, 7vw, 84px) 0 34px;
}

.footer-wordmark {
  font-family: var(--font-display);
  font-size: clamp(46px, 11vw, 158px);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: var(--lime);
  overflow-wrap: anywhere;
}

.footer-divider {
  height: 2px;
  background: color-mix(in srgb, var(--lime) 35%, transparent);
  margin: clamp(26px, 4vw, 44px) 0;
}

.footer-note {
  font-size: 16px;
  line-height: 1.6;
  max-width: 62ch;
  color: #dfe4dc;
  margin-bottom: clamp(30px, 4vw, 48px);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  padding-bottom: clamp(30px, 4vw, 46px);
  border-bottom: 1.5px solid #39423a;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 16px;
}

.footer-grid a {
  display: block;
  font-size: 15px;
  color: #c2cabf;
  text-decoration: none;
  padding: 5px 0;
  transition: color var(--fast) ease, padding-left var(--fast) var(--ease);
}

.footer-grid a:hover {
  color: var(--lime);
  padding-left: 7px;
}

.footer-small {
  font-size: 14px;
  line-height: 1.6;
  color: #a7b0a5;
}

.footer-small a {
  display: inline;
  padding: 0;
  color: #dfe4dc;
  text-decoration-color: var(--lime);
  text-underline-offset: 3px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 26px 0 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: #a7b0a5;
}

.footer-admin {
  color: var(--lime);
  text-decoration: none;
  border: 1.5px solid #39423a;
  border-radius: 999px;
  padding: 7px 16px;
  transition: background-color var(--fast) ease, color var(--fast) ease;
}

.footer-admin:hover {
  background: var(--lime);
  color: var(--lime-ink);
  border-color: var(--lime);
}

.footer-sign {
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 23px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #dfe4dc;
  border-top: 1.5px solid #39423a;
  padding-top: 24px;
}

/* ------------------------------------------------------------
   19. PAGE HERO + CONTENT PAGES
------------------------------------------------------------ */
.page-hero {
  padding: clamp(52px, 7vw, 92px) 0 clamp(34px, 4vw, 52px);
  border-bottom: 2px solid var(--line-strong);
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    repeating-linear-gradient(
      -45deg,
      transparent 0 11px,
      color-mix(in srgb, var(--line) 60%, transparent) 11px 12px
    );
}

.page-hero .section-kicker {
  margin-bottom: 16px;
}

.page-hero h1 {
  margin-bottom: 18px;
}

.page-sub {
  max-width: 64ch;
}

.content-section {
  padding: clamp(46px, 6vw, 76px) 0 var(--section-y);
}

.privacy-block {
  border-top: 2px solid var(--line-strong);
  padding-top: 26px;
  margin-top: 42px;
}

.privacy-block:first-child {
  margin-top: 0;
}

.privacy-block h2 {
  margin-bottom: 16px;
}

.privacy-block p {
  font-size: 16.5px;
  line-height: 1.68;
  color: var(--ink-2);
  max-width: 72ch;
}

.privacy-block p + p {
  margin-top: 14px;
}

.tick-list,
.plain-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.tick-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  color: var(--ink-2);
}

.tick-list li i {
  font-size: 17px;
  color: var(--lime-text);
  margin-top: 3px;
  flex: 0 0 auto;
}

.tick-list.coral li i {
  color: var(--coral);
}

.plain-list li {
  position: relative;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  padding-left: 24px;
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  background: var(--lime);
  border: 1.5px solid var(--line-strong);
}

.plain-list strong {
  color: var(--ink);
}

.plain-list a {
  color: var(--ink);
  text-decoration-color: var(--lime);
  text-underline-offset: 3px;
}

.policy-date {
  margin-top: 44px;
  border-top: 1.5px dashed var(--line);
  padding-top: 18px;
}

.notice-band {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface);
  border: 2px solid var(--line-strong);
  border-left: 8px solid var(--lime);
  padding: 22px 24px;
  margin-top: 38px;
  box-shadow: var(--hard-sm);
}

.notice-band i {
  font-size: 24px;
  color: var(--ink);
  margin-top: 2px;
  flex: 0 0 auto;
}

.notice-band strong {
  display: block;
  font-family: var(--font-display);
  font-size: 17.5px;
  letter-spacing: -0.01em;
  margin-bottom: 7px;
}

.notice-band p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 74ch;
}

/* guidelines list */
.guidelines-list {
  counter-reset: rules;
  border-top: 2px solid var(--line-strong);
}

.guidelines-list li {
  counter-increment: rules;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1.5px solid var(--line);
}

.guidelines-list li::before {
  content: counter(rules, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 500;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--lime-text);
  line-height: 1.2;
}

.guidelines-list h3 {
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.guidelines-list p {
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--ink-2);
  max-width: 74ch;
}

/* ------------------------------------------------------------
   20. SEARCH / FILTERS
------------------------------------------------------------ */
.search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 2px solid var(--line-strong);
  padding: 8px 8px 8px 18px;
  margin-top: 30px;
  max-width: 640px;
  box-shadow: var(--hard-sm);
}

.search-bar > i {
  font-size: 19px;
  color: var(--ink-muted);
  flex: 0 0 auto;
}

.search-bar input {
  border: none;
  background: transparent;
  padding: 10px 0;
  box-shadow: none;
  min-width: 0;
}

.search-bar input:focus {
  box-shadow: none;
  border: none;
}

.search-bar .btn {
  flex: 0 0 auto;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
}

.sort-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}

.sort-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  border: 2px dashed var(--line-strong);
  background: var(--surface-2);
  padding: clamp(40px, 6vw, 72px) 24px;
  margin-top: 10px;
}

.empty-state i {
  font-size: 54px;
  color: var(--ink-muted);
}

.empty-state .heading-sm {
  max-width: 44ch;
}

/* ------------------------------------------------------------
   21. CONFESS PAGE / FORM LAYOUT / SUCCESS
------------------------------------------------------------ */
.confess-hero {
  background: var(--bg);
}

.form-section {
  padding: clamp(46px, 6vw, 76px) 0 var(--section-y);
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}

.confess-form {
  background: var(--surface);
  border: 2px solid var(--line-strong);
  box-shadow: var(--hard);
  padding: clamp(26px, 4vw, 46px);
}

.form-aside {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: sticky;
  top: calc(var(--header-h) + 26px);
}

.aside-warn {
  border-color: var(--coral);
}

.aside-warn .aside-kicker {
  color: var(--coral);
}

.steps-mini {
  display: flex;
  flex-direction: column;
  gap: 16px;
  counter-reset: step;
}

.steps-mini li {
  position: relative;
  padding-left: 44px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  counter-increment: step;
}

.steps-mini li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  background: var(--lime);
  color: var(--lime-ink);
  border: 2px solid var(--line-strong);
}

.steps-mini strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 15.5px;
  margin-bottom: 3px;
}

.warn-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.warn-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
}

.warn-list li::before {
  content: "✕";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--coral);
}

/* success / postmark */
.success-section {
  padding: clamp(46px, 6vw, 76px) 0 var(--section-y);
}

.success-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  background: var(--surface);
  border: 2px solid var(--line-strong);
  box-shadow: var(--hard);
  padding: clamp(30px, 5vw, 58px);
}

.postmark {
  position: relative;
  width: 240px;
  height: 240px;
}

.postmark-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.postmark-ring {
  stroke: var(--coral-vivid);
  stroke-dasharray: 541;
  stroke-dashoffset: 541;
  transform: rotate(-90deg);
  transform-origin: center;
  animation: drawRing 0.5s var(--ease) 0.1s forwards;
}

.postmark-ring-inner {
  stroke: var(--coral-vivid);
  stroke-dasharray: 440;
  stroke-dashoffset: 440;
  transform: rotate(-90deg);
  transform-origin: center;
  animation: drawRing 0.5s var(--ease) 0.28s forwards;
}

@keyframes drawRing {
  to {
    stroke-dashoffset: 0;
  }
}

.pm-text {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  fill: var(--ink-muted);
  opacity: 0;
  animation: fadeUp 0.22s var(--ease) 0.6s forwards;
}

.pm-num {
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: 0.04em;
  fill: var(--ink);
}

.pm-sub {
  font-size: 10px;
  letter-spacing: 0.2em;
  fill: var(--coral);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.postmark-envelope {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  background: var(--lime);
  color: var(--lime-ink);
  border: 2px solid var(--line-strong);
  opacity: 0;
  animation: envIn 0.45s var(--ease) 0.5s both;
}

.postmark-envelope i {
  font-size: 34px;
}

@keyframes envIn {
  from {
    opacity: 0;
    transform: translate(-50%, -30%) scale(0.7) rotate(-8deg);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0);
  }
}

.success-copy .section-kicker {
  color: var(--lime-text);
  margin-bottom: 14px;
}

.success-copy h2 {
  margin-bottom: 16px;
}

.success-copy .body-lg {
  margin-bottom: 20px;
}

.success-id {
  font-size: 15.5px;
  color: var(--ink-2);
  margin-bottom: 26px;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ------------------------------------------------------------
   22. DETAIL + COMMENTS
------------------------------------------------------------ */
.detail-wrap {
  padding: clamp(30px, 4vw, 48px) 0 var(--section-y);
}

.detail-card {
  background: var(--surface);
  border: 2px solid var(--line-strong);
  box-shadow: var(--hard);
  padding: clamp(26px, 4vw, 48px);
}

.detail-card .heading-md {
  margin-top: 16px;
}

.detail-text {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.7;
  color: var(--ink-2);
  white-space: pre-line;
  overflow-wrap: anywhere;
  margin-top: 18px;
}

.detail-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.flag-chip {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--coral);
  border: 1.5px dashed var(--coral);
  padding: 6px 13px;
  border-radius: 999px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  border-top: 1.5px dashed var(--line);
  padding-top: 24px;
}

.detail-card > .meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}

.detail-card > .meta i {
  font-size: 13px;
}

.comments {
  margin-top: 44px;
}

.comments > h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  border-bottom: 2px solid var(--line-strong);
  padding-bottom: 14px;
  margin-bottom: 24px;
}

.comment-form textarea {
  min-height: 96px;
}

.comment-form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
}

.comment-form-foot .meta {
  max-width: 52ch;
  line-height: 1.5;
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}

.comment-item {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-left: 5px solid var(--lime);
  padding: 16px 18px;
}

.comment-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.comment-body {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-2);
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.comments-empty {
  font-size: 15.5px;
  color: var(--ink-muted);
  background: var(--surface-2);
  border: 1.5px dashed var(--line);
  padding: 26px;
  text-align: center;
}

/* ------------------------------------------------------------
   23. MODAL
------------------------------------------------------------ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 220;
  background: color-mix(in srgb, var(--ink) 72%, transparent);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: grid;
  place-items: center;
  padding: 20px;
  animation: fadeIn 0.18s var(--ease);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal {
  width: min(560px, 100%);
  max-height: min(86vh, 780px);
  overflow-y: auto;
  background: var(--surface);
  border: 2px solid var(--line-strong);
  box-shadow: 10px 10px 0 var(--shadow-ink);
  padding: clamp(24px, 4vw, 36px);
  animation: modalIn 0.24s var(--ease);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 2px solid var(--line-strong);
  padding-bottom: 16px;
  margin-bottom: 18px;
}

.modal-head h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.modal-close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 2px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  transition: background-color var(--fast) ease, transform var(--fast) var(--ease);
}

.modal-close i {
  font-size: 17px;
}

.modal-close:hover {
  background: var(--coral-vivid);
  color: #1a0603;
  transform: rotate(90deg);
}

.modal-sub {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 14px;
}

.modal-excerpt {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-muted);
  margin-bottom: 20px;
  border-left: 4px solid var(--coral-vivid);
  padding-left: 14px;
}

.reason-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 20px;
}

.reason-option {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 15px;
  cursor: pointer;
  background: var(--surface-2);
  transition: border-color var(--fast) ease, background-color var(--fast) ease;
}

.reason-option:hover {
  border-color: var(--line-strong);
}

.reason-option input {
  accent-color: var(--lime-text);
  width: 16px;
  height: 16px;
}

.reason-option:has(input:checked) {
  border-color: var(--line-strong);
  background: var(--lime);
  color: var(--lime-ink);
  font-weight: 600;
}

.modal-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  margin-bottom: 8px;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 22px;
}

/* ------------------------------------------------------------
   24. ADMIN — moderation console
------------------------------------------------------------ */
.admin-login {
  padding: clamp(52px, 7vw, 96px) 0;
}

.login-card {
  width: min(480px, 100%);
  margin-inline: auto;
  background: var(--surface);
  border: 2px solid var(--line-strong);
  box-shadow: var(--hard);
  padding: clamp(28px, 4vw, 44px);
}

.login-card .section-kicker {
  color: var(--lime-text);
  margin-bottom: 14px;
}

.login-card h1 {
  margin-bottom: 12px;
}

.login-card .body-md {
  margin-bottom: 26px;
}

.login-card .btn-block {
  margin-top: 6px;
}

.login-note {
  margin-top: 22px;
  border-top: 1.5px dashed var(--line);
  padding-top: 16px;
  line-height: 1.55;
}

.admin-shell {
  display: grid;
  grid-template-columns: 258px minmax(0, 1fr);
  min-height: calc(100vh - var(--header-h));
}

.admin-side {
  background: #000000;
  color: #c2cabf;
  border-right: 2px solid var(--line-strong);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--lime);
}

.admin-brand svg {
  width: 30px;
  height: 30px;
}

.admin-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.admin-brand small {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8d978c;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.admin-nav button {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c2cabf;
  border: 1.5px solid transparent;
  padding: 11px 13px;
  text-align: left;
  transition: background-color var(--fast) ease, color var(--fast) ease,
    border-color var(--fast) ease;
}

.admin-nav button:hover {
  background: #1e241f;
  color: #f0f4ee;
}

.admin-nav button.is-active {
  background: var(--lime);
  color: var(--lime-ink);
  border-color: var(--lime);
  font-weight: 600;
}

.admin-nav button i {
  font-size: 17px;
}

.admin-badge {
  margin-left: auto;
  min-width: 24px;
  text-align: center;
  font-size: 11.5px;
  background: var(--lime);
  color: var(--lime-ink);
  border-radius: 999px;
  padding: 2px 8px;
  font-weight: 600;
}

.admin-nav button.is-active .admin-badge {
  background: var(--lime-ink);
  color: var(--lime);
}

.admin-badge.coral {
  background: var(--coral-vivid);
  color: #1a0603;
}

.admin-side-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.admin-side-foot .btn-ghost {
  color: #c2cabf;
  border: 1.5px solid #39423a;
}

.admin-side-foot .btn-ghost:hover {
  background: #1e241f;
  color: #f0f4ee;
}

.admin-side-foot .text-link {
  color: #c2cabf;
  font-size: 13.5px;
}

.admin-main {
  padding: clamp(24px, 3.5vw, 42px);
  background: var(--bg);
  min-width: 0;
}

.admin-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 2px solid var(--line-strong);
  padding-bottom: 22px;
  margin-bottom: 26px;
}

.admin-top .section-kicker {
  margin-bottom: 8px;
}

.admin-user-chip {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-user-chip .stamp {
  background: var(--surface-2);
  color: var(--lime);
  border-color: var(--line-strong);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  border: 2px solid var(--line-strong);
  background: var(--surface);
  margin-bottom: 30px;
}

.stat-card {
  padding: 22px 24px;
  border-right: 1.5px solid var(--line);
}

.stat-card:last-child {
  border-right: none;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-num.lime {
  color: var(--lime-text);
}

.stat-num.coral {
  color: var(--coral);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 9px;
}

.admin-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 2px solid var(--line-strong);
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.admin-panel-head h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.admin-rows {
  display: flex;
  flex-direction: column;
}

.admin-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-left: 6px solid transparent;
  padding: 18px 20px;
  margin-bottom: 14px;
  transition: border-color var(--fast) ease, transform var(--fast) var(--ease);
}

.admin-row:hover {
  border-color: var(--line-strong);
  transform: translateX(3px);
}

.admin-row.is-flagged {
  border-left-color: var(--coral-vivid);
}

.admin-row > div:first-child {
  min-width: 0;
  flex: 1 1 340px;
}

.admin-row-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}

.admin-row-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 5px;
}

.admin-row-text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  overflow-wrap: anywhere;
}

.admin-row-flag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--coral);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.admin-row-flag.danger {
  color: var(--danger);
}

.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.status-pill {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 12px;
  border: 1.5px solid transparent;
}

.status-pending {
  background: var(--lime);
  color: var(--lime-ink);
  border-color: var(--line-strong);
}

.status-approved {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.status-rejected {
  background: var(--coral-vivid);
  color: #1a0603;
  border-color: var(--line-strong);
}

.admin-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  border: 2px dashed var(--line);
  background: var(--surface-2);
  color: var(--ink-muted);
  font-size: 15.5px;
  padding: clamp(34px, 5vw, 56px) 20px;
}

.admin-empty i {
  font-size: 44px;
}

/* categories tab */
.cat-admin-list {
  border-top: 1.5px solid var(--line);
  margin-bottom: 24px;
}

.cat-admin-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  border-bottom: 1.5px solid var(--line);
  padding: 14px 4px;
}

.cat-admin-item > span:first-child {
  font-weight: 600;
  font-size: 15.5px;
}

.cat-admin-item .meta {
  margin-right: auto;
}

.add-cat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.add-cat-row input {
  flex: 1 1 240px;
}

/* audit tab */
.audit-list {
  border-top: 1.5px solid var(--line);
}

.audit-item {
  display: grid;
  grid-template-columns: 190px 90px 130px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  border-bottom: 1.5px solid var(--line);
  padding: 13px 4px;
  font-family: var(--font-mono);
  font-size: 12.5px;
}

.audit-time {
  color: var(--ink-muted);
}

.audit-actor {
  color: var(--ink);
  font-weight: 500;
}

.audit-action {
  color: var(--lime-text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.audit-target {
  color: var(--ink-2);
  overflow-wrap: anywhere;
}

.audit-item .meta {
  grid-column: 1 / -1;
}

/* ------------------------------------------------------------
   24b. ANONYMOUS ACCOUNT: GATE + PROFILE
------------------------------------------------------------ */
.auth-gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  overflow-y: auto;
  overscroll-behavior: contain;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: safe center;
  justify-items: center;
  padding: clamp(24px, 5vh, 56px) var(--gutter);
}

.gate-card {
  width: min(680px, 100%);
  background: var(--surface);
  border: 2px solid var(--line-strong);
  box-shadow: var(--hard);
  padding: clamp(22px, 2.5vw, 30px) clamp(24px, 3vw, 38px);
}

.gate-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--line-strong);
  color: var(--ink);
}

.gate-brand span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.gate-pane .section-kicker {
  margin-bottom: 8px;
}

.gate-title {
  margin-bottom: 8px;
  font-size: clamp(26px, 3vw, 36px);
}

.gate-title .emoji {
  font-size: 0.82em;
}

.gate-lede {
  color: var(--ink-2);
  margin-bottom: 18px;
  max-width: 54ch;
}

/* grid: username full width, password + confirm side by side on wide screens */
.gate-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 14px;
}

.gate-grid .field {
  margin-bottom: 0;
}

.gate-form .field-help {
  margin-bottom: 7px;
}

.gate-form input {
  padding: 12px 14px;
}

.gate-form .btn-block {
  margin-top: 0;
}

/* age gate: compact consent row, keeps the CTA inside the 720p fold */
.gate-age {
  border-top: 1px solid var(--line);
  padding-top: 13px;
  margin-top: 0;
}

.gate-age .check-label {
  font-size: 14.5px;
  line-height: 1.45;
}

@media (min-width: 700px) {
  .gate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gate-grid .field-user {
    grid-column: 1 / -1;
  }
}

.gate-status {
  display: flex;
  align-items: center;
  gap: 7px;
}

.gate-status.is-ok {
  color: var(--lime-text);
}

.gate-status.is-bad {
  color: var(--coral);
}

.gate-alt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1.5px solid var(--line);
  font-size: 15px;
  color: var(--ink-muted);
}

.link-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 2px solid var(--lime);
  padding-bottom: 1px;
  transition: color var(--fast) ease, border-color var(--fast) ease;
}

.link-btn:hover {
  color: var(--lime-text);
  border-color: var(--line-strong);
}

.gate-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 2px solid var(--line-strong);
}

.gate-privacy {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-muted);
  max-width: 44ch;
}

.gate-privacy i {
  font-size: 14px;
  margin-top: 2px;
  color: var(--ink);
}

.gate-foot .text-link {
  font-size: 14px;
  white-space: nowrap;
}

/* header identity chip */
.acct-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--lime);
  background: #000000;
  border: 1.5px solid #000000;
  border-radius: 999px;
  padding: 8px 15px;
  text-decoration: none;
  max-width: 210px;
  transition: background-color var(--fast) ease, color var(--fast) ease,
    transform var(--fast) var(--ease);
}

.acct-chip i {
  font-size: 15px;
}

.acct-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.acct-chip:hover {
  background: var(--lime);
  border-color: var(--line-strong);
  color: var(--lime-ink);
  transform: translateY(-2px);
}

/* profile */
.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  border: 2px solid var(--line-strong);
  background: var(--surface);
  margin-bottom: 44px;
}

.profile-stat {
  padding: 20px 22px;
  border-right: 1.5px solid var(--line);
}

.profile-stat:last-child {
  border-right: none;
}

.profile-list {
  border-top: 1.5px solid var(--line);
}

.profile-item {
  border-bottom: 1.5px solid var(--line);
  padding: 20px 4px;
}

.profile-item.is-leaving {
  opacity: 0;
  transform: translateX(18px);
  transition: opacity 0.24s ease, transform 0.24s var(--ease);
}

.profile-item-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.profile-item-head .stamp {
  background: var(--surface-2);
  color: var(--lime);
  border-color: var(--line-strong);
}

.profile-item-head .meta:last-child {
  margin-left: auto;
}

.profile-item-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  margin-top: 12px;
}

.profile-item-text {
  color: var(--ink-2);
  font-size: 15.5px;
  margin-top: 8px;
  max-width: 78ch;
}

.profile-item-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
}

.profile-item-foot-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.profile-notice {
  margin-top: 40px;
}

/* ------------------------------------------------------------
   25. SCROLL REVEAL (armed by JS so no-JS stays visible)
------------------------------------------------------------ */
.reveal-armed .reveal {
  opacity: 0;
}

.reveal-armed .reveal.is-in {
  animation: revealIn 0.6s var(--ease) both;
  animation-delay: var(--d, 0ms);
}

/* ------------------------------------------------------------
   26. RESPONSIVE
------------------------------------------------------------ */

/* Short desktop viewports (720p laptops): the whole hero, the proof
   strip and the ticker peek must sit above the fold. The portrait
   art is capped so the copy column sets the hero height. */
@media (min-width: 981px) and (max-height: 860px) {
  .hero {
    padding-top: clamp(30px, 4vh, 52px);
    padding-bottom: clamp(26px, 3.6vh, 44px);
  }

  .hero-photo {
    max-height: min(56vh, 600px);
  }

  .hero h1 {
    margin-bottom: 16px;
  }

  .hero-desc {
    margin-bottom: 24px;
  }
}

@media (max-width: 1120px) {
  .feed-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .main-nav a {
    padding: 9px 9px;
    font-size: 12px;
  }

  /* the composer CTA is the first thing to go when the header row
     runs out of room: brand + nav + identity chip must never wrap */
  .header-cta {
    display: none;
  }
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .menu-btn {
    display: grid;
  }

  .header-cta {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-art {
    max-width: 460px;
  }

  .trust-layout,
  .rules-layout,
  .form-layout,
  .random-panel {
    grid-template-columns: 1fr;
  }

  .trust-head,
  .rules-intro,
  .form-aside {
    position: static;
  }

  .feed-layout {
    grid-template-columns: 1fr;
  }

  .feed-aside {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-side {
    border-right: none;
    border-bottom: 2px solid var(--line-strong);
  }

  .admin-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .admin-side-foot {
    margin-top: 0;
  }

  .audit-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 60px;
  }

  .card-grid {
    columns: 1;
  }

  .how-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .how-card:nth-child(2),
  .how-card:nth-child(3) {
    margin-left: 0;
  }

  .how-num {
    font-size: clamp(56px, 16vw, 84px);
  }

  .success-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .success-actions,
  .form-actions,
  .hero-actions,
  .cta-actions,
  .random-actions {
    width: 100%;
  }

  .success-actions .btn,
  .cta-actions .btn,
  .hero-actions .btn {
    flex: 1 1 220px;
  }

  .trust-item {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
  }

  .trust-icon {
    display: none;
  }

  .guidelines-list li {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
  }

  .cotd-card::before {
    display: none;
  }

  .toast-wrap {
    left: 16px;
    right: 16px;
    max-width: none;
  }

  .gate-card {
    padding: 24px 20px;
    box-shadow: 4px 4px 0 var(--shadow-ink);
  }

  .gate-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .acct-chip {
    max-width: 140px;
  }

  .brand-text small {
    display: none;
  }
}

@media (max-width: 480px) {
  .btn {
    width: 100%;
  }

  /* full width never applies to buttons that share a row with an input */
  .search-bar .btn {
    width: auto;
  }

  /* long labels must be allowed to wrap: a no-wrap button sets the
     min-content width of its grid column and widens the whole page */
  .btn {
    white-space: normal;
  }

  .card-actions {
    width: 100%;
    justify-content: space-between;
  }

  .stamp-roundel {
    width: 96px;
    height: 96px;
    top: -20px;
    right: -8px;
  }

  .stamp-roundel strong {
    font-size: 17px;
  }

  .detail-actions .btn,
  .modal-actions .btn,
  .form-actions .btn {
    width: 100%;
  }

  .auth-gate {
    padding: 18px 14px;
  }

  .profile-item-head .meta:last-child {
    margin-left: 0;
  }

  /* on phones the chip would push the header past the viewport:
     the profile lives in the menu instead */
  .acct-chip {
    display: none;
  }
}

/* narrowest phones: keep "CONFESSIONS" from clipping against the edge */
@media (max-width: 340px) {
  .display-xl {
    font-size: 40px;
  }
}

/* ------------------------------------------------------------
   27. REDUCED MOTION
------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }

  .ticker-track {
    animation: none !important;
  }

  .reveal-armed .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .confession-card:hover,
  .btn:hover,
  .trust-item:hover {
    transform: none;
  }

  .stamp-roundel {
    animation: none !important;
  }

  .postmark-ring,
  .postmark-ring-inner {
    stroke-dashoffset: 0 !important;
  }

  .pm-text {
    opacity: 1 !important;
  }

  .postmark-envelope {
    opacity: 1 !important;
  }
}
