/* ----------------------------------------------------------------------------
   SPEC-129 §4.8 — abovebored.mt public site. Hand-authored; every colour comes
   from css/tokens.css (the hex-check in scripts/check-public-site.sh enforces
   it). Recreates design_handoff_chra/design_files/*.dc.html pixel-faithfully.
   ---------------------------------------------------------------------------- */

/* === Self-hosted type (no third-party font CDN — zero external requests) === */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/archivo-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;
}
@font-face {
  font-family: 'Archivo Black';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/archivo-black-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;
}

/* === Base ================================================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--surface-page);
  color: var(--text-on-ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: var(--ab-pink); text-decoration: none; transition: color var(--dur-fast) var(--ease-smooth); }
a:hover { color: var(--ab-pink-light); }
:focus-visible { outline: 2px solid var(--ab-pink); outline-offset: 2px; border-radius: 6px; }
::selection { background: rgba(var(--theme-accent) / 0.28); color: var(--ab-navy-dark); }

h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.display { font-family: var(--font-display); text-transform: uppercase; }

/* screen-reader-only headings keep the h1→h2→h3 order valid where the visual
   design carries a kicker instead of a section heading */
.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;
}

/* === Membership-state gating (TECHNICAL_SPEC §2). The HTML is authored in the
   complete new_visitor state; body[data-state] is rewritten by js/member-state.js
   — with no JS, no cookie or the bridge down, new_visitor stands (AC-P2). ==== */
body[data-state="new_visitor"] [data-states]:not([data-states~="new_visitor"]),
body[data-state="session_expired"] [data-states]:not([data-states~="session_expired"]),
body[data-state="awaiting_approval"] [data-states]:not([data-states~="awaiting_approval"]),
body[data-state="pending_activation"] [data-states]:not([data-states~="pending_activation"]),
body[data-state="active"] [data-states]:not([data-states~="active"]),
body[data-state="expires_soon"] [data-states]:not([data-states~="expires_soon"]),
body[data-state="expired"] [data-states]:not([data-states~="expired"]) {
  display: none !important;
}

/* === Nav =================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 36px;
  background: rgba(var(--theme-primary) / 0.72);
  backdrop-filter: blur(14px) saturate(1.35);
  -webkit-backdrop-filter: blur(14px) saturate(1.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.nav--sub { position: relative; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; padding: 20px 40px; }
.nav-horizon {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--theme-pipe-from), var(--theme-pipe-to));
  opacity: 0.55;
}
.nav-mark { height: 34px; width: 34px; display: block; color: var(--ab-pink); }
.nav--sub .nav-mark { height: 30px; width: 30px; }
.nav-mark path { fill: currentColor; }
/* micro-interaction: the sea sways beneath the island while the brand link is
   hovered/focused (stilled under reduced motion with the rest, AC-P9) */
.nav-mark-sea { transform-box: fill-box; transform-origin: center; }
.nav-brand:hover .nav-mark-sea,
.nav-brand:focus-visible .nav-mark-sea { animation: abSeaSway 1.8s ease-in-out infinite; }
@keyframes abSeaSway {
  0%, 100% { transform: translateX(0); }
  30% { transform: translateX(5px) scaleY(0.95); }
  70% { transform: translateX(-4px) scaleY(1.04); }
}
.nav-links {
  display: flex; gap: 26px; align-items: center;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600;
}
.nav-links a { color: var(--text-on-ink); }
.nav-links a:hover, .nav-links a.is-accent { color: var(--ab-pink); }
.nav-chra { font-size: 11px; letter-spacing: 0.24em; color: rgba(255, 255, 255, 0.55); }
.nav-back {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-on-ink);
}
.nav-back:hover { color: var(--ab-pink); }
.nav-brand { display: flex; align-items: center; gap: 10px; }

/* === Hero (landing) ======================================================== */
.hero {
  position: sticky; top: 0; z-index: 0;
  height: 100vh; min-height: 720px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 42%, var(--ab-navy-light) 0%, var(--ab-navy) 55%, var(--ab-navy-dark) 100%);
}
.hero-veil {
  position: absolute; left: -10%; right: -10%; top: 0; bottom: 0;
  z-index: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(82% 62% at 50% 60%,
    rgba(var(--theme-accent) / 0.42) 0%, rgba(var(--theme-accent) / 0.35) 16%,
    rgba(var(--theme-accent) / 0.27) 30%, rgba(var(--theme-accent) / 0.19) 44%,
    rgba(var(--theme-accent) / 0.12) 58%, rgba(var(--theme-accent) / 0.07) 71%,
    rgba(var(--theme-accent) / 0.03) 85%, rgba(var(--theme-accent) / 0) 100%);
  filter: blur(52px);
  will-change: opacity, transform;
}
.hero-stack {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  padding-top: 24px;
  will-change: transform, filter, opacity;
}
.hero-logo { height: min(56vh, 540px); width: auto; max-width: 96vw; display: block; overflow: visible; color: var(--ab-pink); }
/* the blinds pattern bars (SVG pattern in the hidden defs; density 4) */
.blind-bar { fill: var(--ab-pink); }
.blind-gap { fill: var(--ab-navy); }
.hero-logo .wm-letter { transform-box: fill-box; transform-origin: center; animation: abRise 0.85s cubic-bezier(0.2, 0.9, 0.25, 1) both; }
.hero-logo .wm-island-sway { transform-box: fill-box; transform-origin: 50% 92%; animation: abSway 9s ease-in-out infinite; }
.hero-logo .wm-island { transform-box: fill-box; transform-origin: 50% 100%; will-change: transform; }
.hero-logo .wm-sea { transform-box: fill-box; transform-origin: 50% 20%; will-change: transform, filter; }
.hero-logo .wm-micro { animation: abRise 1s cubic-bezier(0.2, 0.9, 0.25, 1) both; animation-delay: 0.62s; }
.hero-cta-block { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 10px; }

.status-pill {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.4); }
.status-dot--grey { background: rgba(255, 255, 255, 0.4); box-shadow: none; }
.status-dot--amber { background: var(--ab-warning-glow); box-shadow: 0 0 10px rgba(var(--theme-warning-light) / 0.7); }
.status-dot--green { background: var(--ab-success-glow); box-shadow: 0 0 10px var(--ab-success-glow); }
.status-dot--red { background: var(--ab-danger-glow); box-shadow: 0 0 10px rgba(229, 115, 115, 0.7); }

/* the neon tube CTA */
.cta-neon {
  display: flex; align-items: center; gap: 16px;
  padding: 19px 32px 19px 26px;
  border: var(--border-width-emphasis) solid var(--ab-pink);
  border-radius: var(--radius-full);
  background: rgba(var(--theme-primary-dark) / 0.55);
  color: var(--ab-pink-neon-text);
  font-family: var(--font-display);
  font-size: 19px; letter-spacing: 0.06em; line-height: 1; text-transform: uppercase;
  box-shadow: 0 0 0 1px rgba(var(--theme-accent) / 0.35) inset,
    0 0 18px rgba(var(--theme-accent) / 0.55), 0 0 54px rgba(var(--theme-accent) / 0.3);
  text-shadow: 0 0 6px rgba(255, 190, 212, 0.95), 0 0 22px rgba(var(--theme-accent) / 0.75);
  animation: abFlicker 9s linear infinite;
}
.cta-neon:hover {
  color: var(--ab-pink-neon-text-hover);
  box-shadow: 0 0 0 1px rgba(var(--theme-accent) / 0.5) inset,
    0 0 26px rgba(var(--theme-accent) / 0.8), 0 0 80px rgba(var(--theme-accent) / 0.45);
}
.cta-neon .cta-arrow { font-size: 22px; line-height: 1; }

/* awaiting_approval: disabled amber tube — no glow, non-interactive */
.cta-awaiting {
  display: flex; align-items: center; gap: 16px;
  padding: 19px 32px 19px 26px;
  border: var(--border-width-emphasis) solid rgba(var(--theme-warning) / 0.5);
  border-radius: var(--radius-full);
  background: rgba(var(--theme-warning) / 0.08);
  color: var(--ab-warning-glow);
  font-family: var(--font-display);
  font-size: 19px; letter-spacing: 0.06em; line-height: 1; text-transform: uppercase;
  cursor: not-allowed;
  box-shadow: inset 0 0 0 1px rgba(var(--theme-warning) / 0.18);
}

/* solid pink pill (join panels / benefits) */
.cta-solid {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 34px;
  border: var(--border-width-emphasis) solid var(--ab-pink);
  border-radius: var(--radius-full);
  background: var(--ab-pink);
  color: var(--ab-navy);
  font-family: var(--font-display);
  font-size: 15px; letter-spacing: 0.05em; text-transform: uppercase;
  box-shadow: 0 0 30px rgba(var(--theme-accent) / 0.4);
}
.cta-solid:hover { background: var(--ab-pink-light); color: var(--ab-navy); box-shadow: 0 0 50px rgba(var(--theme-accent) / 0.6); }
.cta-solid .cta-arrow { font-size: 18px; line-height: 1; }

/* outlined pill (All benefits) */
.cta-outline {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 26px;
  border: var(--border-width-pipe) solid var(--ab-pink);
  border-radius: var(--radius-full);
  color: var(--ab-pink);
  font-family: var(--font-display);
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
}
.cta-outline:hover { background: rgba(var(--theme-accent) / 0.14); color: var(--ab-pink-light); }
.cta-outline .cta-arrow { font-size: 17px; line-height: 1; }

.hero-note { margin: 0; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.hero-hours {
  position: absolute; left: 0; right: 0; bottom: 26px;
  display: flex; justify-content: center; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  z-index: 6;
}
.hero-hours .open { color: var(--ab-pink); letter-spacing: 0.2em; }
/* stacked day/time columns — same grid at every breakpoint, never one squashed line */
.hours-rows { display: grid; grid-template-columns: auto auto; column-gap: 12px; row-gap: 4px; align-items: baseline; text-align: left; }
.hours-days { white-space: nowrap; }
.hours-time { white-space: nowrap; color: rgba(255, 255, 255, 0.75); }
/* hours-mode gate (guard: scripts/check-public-site.sh section 4) — hours render
   ONLY under body[data-hours="open"]; an unknown or missing mode shows nothing
   (fail-closed). "soon" = pre-launch sign, "closed" = operations halted. */
.hours-live, .hours-sign { display: none; }
body[data-hours="open"] .hours-live { display: flex; align-items: center; gap: 14px; }
body[data-hours="soon"] .hours-sign--soon { display: inline-flex; }
body[data-hours="closed"] .hours-sign--closed { display: inline-flex; }
.hours-sign { align-items: baseline; gap: 12px; }
.hours-sign .sign-lead { color: var(--ab-pink); letter-spacing: 0.2em; }
.hours-sign .sign-sub { color: rgba(255, 255, 255, 0.55); }

/* the leaf */
.leaf { display: block; overflow: visible; }
.cta-neon .leaf, .cta-awaiting .leaf { width: 63px; height: 48px; flex-shrink: 0; }
.join-leaf { width: min(240px, 64vw); aspect-ratio: 192 / 146; display: block; }

/* === Sections (landing) ==================================================== */
.section { position: relative; z-index: 2; }
.section-mission { background: var(--ab-navy); padding: 150px 36px 130px; scroll-snap-align: start; }
.mission-fade {
  position: absolute; left: 0; right: 0; top: -150px; height: 220px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(var(--theme-primary) / 0) 0%, rgba(var(--theme-primary) / 0.55) 45%, var(--ab-navy) 100%);
  filter: blur(6px);
}
.mission-grid {
  position: relative; max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: start;
}
/* "a font made of lines" — the blinds headline */
.mission-headline {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 104px);
  line-height: 0.92; letter-spacing: -0.01em; text-transform: uppercase;
  background-image: repeating-linear-gradient(180deg, var(--ab-pink) 0px, var(--ab-pink) 3.67px, var(--ab-navy) 3.67px, var(--ab-navy) 5.4px);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mission-copy { display: flex; flex-direction: column; gap: 22px; padding-top: 12px; }
.mission-copy .lead { margin: 0; font-size: 19px; line-height: 1.55; color: var(--text-on-ink); }
.mission-copy p { margin: 0; font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, 0.62); }
.pipe-divider { height: 2px; background: linear-gradient(90deg, var(--theme-pipe-from), var(--theme-pipe-to)); opacity: 0.75; }
.micro-label { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ab-pink); }

.section-pillars { background: var(--ab-navy-card); padding: 120px 36px; scroll-snap-align: start; }
.section-inner { max-width: 1080px; margin: 0 auto; }
.kicker { display: block; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ab-pink); margin-bottom: 44px; }

/* === Benefit cards — focus-zoom + hover-only page-peel (pure CSS) ========== */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--ab-navy-card);
  padding: 36px 30px 40px;
  display: flex; flex-direction: column; gap: 13px;
  border: var(--border-width-hairline) solid rgba(var(--theme-accent) / 0.14);
  border-radius: var(--radius-xl);
  position: relative; overflow: hidden;
  transition: transform 0.34s var(--ease-card), opacity 0.34s, box-shadow 0.34s, filter 0.34s;
  will-change: transform;
  text-decoration: none; color: inherit;
}
.card-num { font-family: var(--font-display); font-size: 13px; color: var(--ab-pink); letter-spacing: 0.12em; }
.card h3 { margin: 0; font-family: var(--font-display); font-size: 25px; line-height: 1.1; color: var(--text-on-ink); text-transform: none; }
.card p { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, 0.66); }
.card-open { margin-top: auto; padding-top: 8px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ab-pink); }
.card-peel {
  position: absolute; right: 0; bottom: 0;
  width: 48px; height: 48px; pointer-events: none;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  background: linear-gradient(135deg, rgba(255, 206, 224, 0.14), rgba(255, 190, 214, 0.98));
  box-shadow: -7px -7px 16px rgba(0, 0, 0, 0.4);
  transform-origin: 100% 100%;
  transform: scale(0);
  transition: transform 0.36s var(--ease-peel);
}
/* hovered card lifts; siblings recede; the peel is hover-only */
@media (hover: hover) {
  .card-grid:hover .card:not(:hover) { transform: scale(0.95); opacity: 0.5; filter: saturate(0.85); }
  .card:hover {
    transform: scale(1.05); z-index: 3; opacity: 1; filter: none;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(var(--theme-accent) / 0.55);
  }
  .card:hover .card-peel { transform: scale(1); }
}
.pillars-more { display: flex; justify-content: flex-end; margin-top: 26px; }

/* === Join ================================================================== */
.section-join { background: var(--ab-navy-card); padding: 130px 36px 140px; overflow: hidden; scroll-snap-align: start; }
.join-halo {
  position: absolute; left: 50%; top: 50%;
  width: 820px; height: 820px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--theme-accent) / 0.14), transparent);
  pointer-events: none;
}
.join-inner { position: relative; max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 34px; text-align: center; }
.join-panel { display: flex; flex-direction: column; align-items: center; gap: 34px; width: 100%; }
.join-panel--narrow { gap: 26px; max-width: 560px; margin: 0 auto; }
.join-panel--state { gap: 24px; max-width: 600px; margin: 0 auto; }
.join-panel h2 { margin: 0; font-family: var(--font-display); font-size: clamp(36px, 5.6vw, 68px); line-height: 1; text-transform: uppercase; color: var(--text-on-ink); }
.join-panel--state h2, .join-panel--narrow h2 { font-size: clamp(34px, 5.4vw, 64px); }
.join-panel .blurb { margin: 0; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, 0.72); }
.join-steps { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; width: 100%; max-width: 780px; }
.join-step { display: flex; gap: 15px; text-align: left; flex: 1; min-width: 210px; }
.join-step-num {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  border: var(--border-width-pipe) solid var(--ab-pink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 15px; color: var(--ab-pink);
  background: rgba(var(--theme-accent) / 0.08);
}
.join-step h3 { margin: 0 0 6px; font-family: var(--font-display); font-size: 16px; letter-spacing: 0.02em; color: var(--text-on-ink); text-transform: none; }
.join-step p { margin: 0; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, 0.62); }
.join-call { margin: 0; font-size: 14px; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.55); }
.join-requirements { display: flex; flex-direction: column; align-items: center; gap: 11px; margin-top: 6px; color: inherit; }
.join-requirements:hover { color: var(--ab-pink-neon-text); }
.join-requirements .req-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ab-pink); text-decoration: underline; text-underline-offset: 4px;
}
.join-requirements .req-facts { display: flex; align-items: center; gap: 16px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.req-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(var(--theme-accent) / 0.55); }
.join-statebar { display: flex; align-items: center; gap: 9px; }
.join-statebar .bar-dot { width: 9px; height: 9px; border-radius: 50%; }
.join-statebar span:last-child { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.join-links { display: flex; flex-wrap: wrap; gap: 26px; justify-content: center; align-items: center; }
.join-links a { color: rgba(255, 255, 255, 0.65); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; text-underline-offset: 4px; }
.join-links a:hover { color: var(--ab-pink); text-decoration: underline; }
.join-actions { display: flex; flex-direction: column; align-items: center; gap: 18px; }

/* === Footer ================================================================ */
.footer { position: relative; z-index: 2; background: var(--ab-navy-dark); padding: 56px 36px 40px; display: flex; flex-direction: column; gap: 30px; }
.footer-horizon { position: absolute; left: 0; right: 0; top: 0; height: 1.5px; background: linear-gradient(90deg, var(--theme-pipe-from), var(--theme-pipe-to)); opacity: 0.5; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 24px 32px; flex-wrap: wrap; }
.footer-hours { display: flex; align-items: center; gap: 14px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.footer-hours .open { color: var(--ab-pink); }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-links a { color: rgba(255, 255, 255, 0.5); }
.footer-links a:hover { color: var(--ab-pink); }
.footer-links a.find-us { color: var(--ab-pink); text-decoration: underline; text-underline-offset: 3px; }
/* .55 (not the reference's .4): 11px text on navy-dark needs ≥4.5:1 (AC-P9 a11y) */
.footer-copy { text-align: center; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }

/* === Sub-pages (benefits / statute / safer-use / guides) =================== */
.subpage { background: var(--ab-navy); color: var(--text-on-ink); min-height: 100vh; display: flex; flex-direction: column; }
.article-section { max-width: 820px; width: 100%; margin: 0 auto; padding: 78px 40px 110px; }
.article-section--wide { max-width: 1120px; }
.page-title { margin: 0 0 26px; font-family: var(--font-display); font-size: clamp(44px, 7vw, 96px); line-height: 0.95; text-transform: uppercase; color: var(--text-on-ink); }
.page-title--grid { margin: 0 0 18px; font-size: clamp(40px, 6vw, 84px); }
.page-kicker { display: block; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ab-pink); margin-bottom: 20px; }
.page-intro { margin: 0 0 54px; max-width: 560px; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, 0.66); }
.draft-box {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 20px; margin-bottom: 52px;
  border: var(--border-width-hairline) solid rgba(var(--theme-accent) / 0.3);
  border-radius: var(--radius-md);
  background: rgba(var(--theme-accent) / 0.06);
}
.draft-box .flag { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.14em; color: var(--ab-pink); white-space: nowrap; padding-top: 2px; }
.draft-box p { margin: 0; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, 0.7); }
.article-list { display: flex; flex-direction: column; }
.article {
  display: grid; grid-template-columns: 64px 1fr; gap: 24px;
  padding: 26px 0;
  border-top: var(--border-width-hairline) solid rgba(var(--theme-accent) / 0.16);
}
.article:last-child { border-bottom: var(--border-width-hairline) solid rgba(var(--theme-accent) / 0.16); }
.article-num { font-family: var(--font-display); font-size: 20px; color: var(--ab-pink); }
.article h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 20px; color: var(--text-on-ink); text-transform: none; }
.article p { margin: 0; font-size: 16px; line-height: 1.62; color: rgba(255, 255, 255, 0.72); }
.page-footlinks { margin-top: 50px; display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.quiet { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.quiet:hover { color: var(--ab-pink); }
.loud { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ab-pink); text-decoration: underline; text-underline-offset: 3px; }
.benefits-cta-row { margin-top: 50px; display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }

/* === Guide pages =========================================================== */
.guide-hero { max-width: 900px; width: 100%; margin: 0 auto; padding: 60px 40px 30px; display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center; }
.guide-tags { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.guide-tags .kind { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ab-pink); }
.guide-tags .draft-flag {
  font-family: var(--font-display); font-size: 10px; letter-spacing: 0.14em; color: var(--ab-pink);
  border: var(--border-width-hairline) solid rgba(var(--theme-accent) / 0.4);
  border-radius: var(--radius-badge); padding: 3px 9px;
}
.guide-hero h1 { margin: 0 0 16px; font-family: var(--font-display); font-size: clamp(34px, 5vw, 64px); line-height: 0.98; text-transform: uppercase; color: var(--text-on-ink); }
.guide-hero .intro { margin: 0; max-width: 520px; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, 0.7); }
.guide-mascot { position: relative; width: 120px; height: 132px; animation: gBob 3.2s ease-in-out infinite; flex-shrink: 0; }
.guide-mascot .mascot-leaf { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); width: 72px; height: 54px; }
.guide-mascot .mascot-face {
  position: absolute; top: 40px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 82px; border-radius: 44% 44% 48% 48%;
  background: var(--ab-navy-card);
  border: var(--border-width-emphasis) solid rgba(var(--theme-accent) / 0.5);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.guide-mascot .eye { position: absolute; top: 32px; width: 12px; height: 12px; border-radius: 50%; background: var(--ab-pink); transform-origin: center; animation: gBlink 4.4s infinite; }
.guide-mascot .eye--l { left: 23px; }
.guide-mascot .eye--r { right: 23px; }
.guide-mascot .smile { position: absolute; top: 52px; left: 50%; transform: translateX(-50%); width: 26px; height: 13px; border: var(--border-width-emphasis) solid rgba(var(--theme-accent) / 0.7); border-top: none; border-radius: 0 0 26px 26px; }
.guide-steps-section { max-width: 760px; width: 100%; margin: 0 auto; padding: 34px 40px 40px; }
.guide-step { display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding: 24px 0; border-top: var(--border-width-hairline) solid rgba(var(--theme-accent) / 0.14); }
.guide-step-num-wrap { display: flex; justify-content: center; padding-top: 2px; }
.guide-step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ab-pink); color: var(--ab-navy);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 17px;
  animation: gPulse 3s ease-in-out infinite;
}
.guide-step h3 { margin: 0 0 7px; font-family: var(--font-display); font-size: 19px; line-height: 1.1; color: var(--text-on-ink); text-transform: none; }
.guide-step p { margin: 0; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, 0.72); }
.guide-pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 26px; border-top: var(--border-width-hairline) solid rgba(var(--theme-accent) / 0.16); flex-wrap: wrap; }
.guide-pager a { display: flex; flex-direction: column; gap: 4px; max-width: 46%; }
.guide-pager a.next { align-items: flex-end; text-align: right; }
.guide-pager .dir { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.guide-pager .dest { font-family: var(--font-display); font-size: 14px; color: var(--ab-pink); }

/* guide 01 seed-to-sale QR showcase */
.qr-showcase-section { max-width: 900px; width: 100%; margin: 0 auto; padding: 8px 40px; }
.qr-showcase {
  position: relative; display: flex; align-items: center; justify-content: space-around;
  gap: 16px; flex-wrap: wrap; min-height: 250px; padding: 26px;
  border: var(--border-width-hairline) solid rgba(var(--theme-accent) / 0.16);
  border-radius: var(--radius-lg);
  background: radial-gradient(120% 120% at 30% 15%, var(--ab-navy-light), var(--ab-navy-dark));
  overflow: hidden;
}
.qr-pack { position: relative; width: 172px; height: 196px; flex-shrink: 0; }
.qr-label {
  position: absolute; left: 0; top: 6px; width: 122px; height: 182px;
  border-radius: var(--radius-md); background: var(--ab-navy-dark);
  border: var(--border-width-hairline) solid rgba(var(--theme-accent) / 0.22);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
}
.qr-label .batch { font-family: var(--font-display); font-size: 9px; letter-spacing: 0.12em; color: rgba(var(--theme-accent) / 0.75); }
.qr-code-wrap { position: relative; width: 92px; height: 92px; }
.qr-scanline {
  position: absolute; left: 4px; right: 4px; top: 0; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--ab-pink), transparent);
  box-shadow: 0 0 12px var(--ab-pink);
  animation: gSweep 3s ease-in-out infinite;
}
.qr-phone {
  position: absolute; right: -4px; top: 34px; width: 66px; height: 124px;
  border-radius: var(--radius-md); background: var(--ab-navy-shutter);
  border: var(--border-width-emphasis) solid rgba(var(--theme-accent) / 0.5);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.5);
  animation: gPhone 3s ease-in-out infinite;
  display: flex; align-items: center; justify-content: center;
}
.qr-phone .finder { width: 44px; height: 44px; border: var(--border-width-emphasis) solid var(--ab-pink); border-radius: 8px; box-shadow: 0 0 10px rgba(var(--theme-accent) / 0.5); }
.qr-phone .speaker { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 12px; height: 3px; border-radius: 2px; background: rgba(var(--theme-accent) / 0.5); }
.qr-arrow { font-size: 24px; color: var(--ab-pink); animation: gArrow 2s ease-in-out infinite; }
.qr-result { width: 230px; flex-shrink: 0; animation: gSlide 6s ease-in-out infinite; }
.qr-result-card {
  background: var(--ab-navy-dark);
  border: var(--border-width-hairline) solid rgba(var(--theme-accent) / 0.3);
  border-radius: var(--radius-md); padding: 16px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
}
.qr-bg { fill: var(--ab-white); }
.qr-ink { fill: var(--ab-navy); }
.qr-url { display: flex; align-items: center; gap: 7px; background: rgba(0, 0, 0, 0.45); border-radius: 7px; padding: 8px 10px; margin-bottom: 14px; }
.qr-url .lock { display: inline-flex; color: var(--ab-success-glow); }
.qr-url .addr { font-size: 11px; color: rgba(255, 255, 255, 0.8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qr-timeline { display: flex; align-items: center; justify-content: space-between; position: relative; margin-bottom: 12px; }
.qr-timeline .rail { position: absolute; left: 6px; right: 6px; top: 5px; height: 2px; background: rgba(var(--theme-accent) / 0.3); }
.qr-timeline .stop { position: relative; width: 11px; height: 11px; border-radius: 50%; background: var(--ab-pink); }
.qr-stages { display: flex; justify-content: space-between; font-size: 8px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); margin-bottom: 14px; }
.qr-blurb { font-size: 11px; line-height: 1.5; color: rgba(255, 255, 255, 0.6); }
.qr-private { margin-top: 10px; font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ab-pink); }

/* === Keyframes ============================================================= */
@keyframes abRise {
  from { opacity: 0; transform: translateY(16px) scale(0.94); }
  to { opacity: 1; transform: none; }
}
@keyframes abPlume {
  0%, 100% { transform: translateX(-9px) rotate(-1.4deg); }
  50% { transform: translateX(9px) rotate(1.4deg); }
}
@keyframes abSway {
  0%, 100% { transform: rotate(-1.1deg); }
  50% { transform: rotate(1.1deg); }
}
@keyframes abFlicker {
  0%, 41%, 44%, 92%, 100% { opacity: 1; }
  42% { opacity: 0.45; }
  43% { opacity: 0.85; }
  93% { opacity: 0.6; }
}
@keyframes gBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes gBlink { 0%, 90%, 100% { transform: scaleY(1); } 95% { transform: scaleY(0.12); } }
@keyframes gSweep { 0%, 100% { transform: translateY(2px); } 50% { transform: translateY(64px); } }
@keyframes gSlide {
  0%, 12% { opacity: 0; transform: translateY(24px); }
  32%, 70% { opacity: 1; transform: translateY(0); }
  88%, 100% { opacity: 0; transform: translateY(24px); }
}
@keyframes gPhone { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-7px) rotate(-8deg); } }
@keyframes gPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(var(--theme-accent) / 0.5); } 50% { box-shadow: 0 0 0 9px rgba(var(--theme-accent) / 0); } }
@keyframes gArrow { 0%, 100% { opacity: 0.4; transform: translateX(0); } 50% { opacity: 1; transform: translateX(5px); } }

/* === Responsive (single 760px breakpoint, TECHNICAL_SPEC §10) ============== */
@media (max-width: 760px) {
  .nav { padding: 11px 16px; flex-wrap: wrap; gap: 8px 10px; }
  .nav-links { order: 3; width: 100%; justify-content: center; gap: 15px; font-size: 10.5px; letter-spacing: 0.14em; }
  .nav-chra { font-size: 10px; }
  .nav--sub { padding: 14px 18px; }
  .hero { min-height: 600px; }
  .section-mission, .section-pillars, .section-join { padding-left: 20px; padding-right: 20px; padding-top: 76px; padding-bottom: 76px; }
  .mission-grid { grid-template-columns: 1fr; gap: 30px; }
  .card-grid { grid-template-columns: 1fr; }
  .footer { padding: 30px 18px 26px; gap: 16px; }
  .footer-grid { flex-direction: column; align-items: center; gap: 18px; }
  .footer-hours { font-size: 11px; }
  .footer-links { justify-content: center; text-align: center; gap: 14px 16px; }
  .article-section { padding-left: 22px; padding-right: 22px; }
  .guide-hero { grid-template-columns: 1fr; gap: 28px; align-items: start; }
}

/* === Reduced motion: simply lit / static (AC-P9, §4.8 a11y) ================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-logo .wm-letter, .hero-logo .wm-micro { animation: none; opacity: 1; transform: none; }
  .hero-logo .wm-island-sway { animation: none; }
  .cta-neon { animation: none; }
  .guide-mascot, .guide-mascot .eye, .guide-step-num,
  .qr-scanline, .qr-phone, .qr-arrow, .qr-result { animation: none; }
  .qr-result { opacity: 1; transform: none; }
  .card, .card-peel { transition: none; }
  .nav-mark-sea { animation: none !important; }
}
