/* ==========================================================
   Kush portfolio, design tokens
   Type: Manrope only. Spacing, radius, type scale follow the
   landing-page-design skill (Tailwind steps, fixed tokens).
   ========================================================== */
:root {
  --bg: #000000;
  --surface: #181818;
  --surface-2: #1F1F1F;
  --surface-3: #272727;
  --line: #313131;
  --text: #FFFFFF;
  --muted: #9B9B9B;
  --accent: #FF4655;
  --accent-hover: #FF5E6B;
  --paper: #F3F0E8;

  --s-25: 2px; --s-50: 4px; --s-75: 8px; --s-100: 12px; --s-200: 16px; --s-300: 24px;
  --s-400: 32px; --s-500: 40px; --s-600: 48px; --s-700: 64px; --s-800: 80px; --s-900: 96px;

  --r-sm: 2px; --r: 4px; --r-md: 6px; --r-lg: 8px; --r-xl: 12px; --r-2xl: 16px; --r-3xl: 24px; --r-full: 9999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: 'Satoshi', system-ui, sans-serif;
  --display: 'Clash Display', 'Satoshi', system-ui, sans-serif;
  --jp: 'Noto Sans JP', sans-serif;
  --gutter: var(--s-200);
  --max: 1200px;
  color-scheme: dark;
}
@media (min-width: 640px) { :root { --gutter: var(--s-300); } }
@media (min-width: 1024px) { :root { --gutter: var(--s-400); } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--s-900); overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 16px; line-height: 24px; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
html.locked, html.locked body { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; }
p, li { text-wrap: pretty; }
::selection { background: var(--accent); color: #FFFFFF; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-md); }

/* ---------- Text styles (B1) ---------- */
.display, .heading-1, .heading-2, .heading-3, .heading-4, .heading-5, .heading-6, .brand, .intro-word, .simple .big, .footer-big { font-family: var(--display); }
.jp { font-family: var(--jp); font-weight: 700; }
.heading-1 { font-size: 3.75rem; line-height: 1; font-weight: 600; letter-spacing: -0.03em; }
.heading-2 { font-size: 3rem; line-height: 1; font-weight: 600; letter-spacing: -0.025em; }
.heading-3 { font-size: 2.25rem; line-height: 2.5rem; font-weight: 600; letter-spacing: -0.02em; }
.heading-4 { font-size: 1.875rem; line-height: 2.25rem; font-weight: 600; letter-spacing: -0.015em; }
.heading-5 { font-size: 1.5rem; line-height: 2rem; font-weight: 600; }
.heading-6 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; }
.title-1 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 500; }
.title-2 { font-size: 1.125rem; line-height: 1.75rem; font-weight: 500; }
.title-3 { font-size: 1rem; line-height: 1.5rem; font-weight: 500; }
.title-4 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.title-5 { font-size: 0.75rem; line-height: 1rem; font-weight: 500; }
.body-1 { font-size: 1rem; line-height: 1.5rem; font-weight: 600; }
.body-2 { font-size: 1rem; line-height: 1.5rem; font-weight: 500; }
.body-3 { font-size: 1rem; line-height: 1.5rem; font-weight: 400; }
.body-4 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; }
.body-5 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.body-6 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 400; }
.button-lg { font-size: 1.125rem; line-height: 1.75rem; font-weight: 600; }
.button-md { font-size: 1rem; line-height: 1.5rem; font-weight: 600; }
.button-sm { font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; }
.button-xsm { font-size: 0.75rem; line-height: 1rem; font-weight: 600; }
.caption-1 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.caption-2 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 400; }
.caption-3 { font-size: 0.75rem; line-height: 1rem; font-weight: 600; }
.caption-4 { font-size: 0.75rem; line-height: 1rem; font-weight: 500; }
.caption-5 { font-size: 0.75rem; line-height: 1rem; font-weight: 400; }
@media (max-width: 767px) {
  .heading-1 { font-size: 2.25rem; line-height: 2.5rem; }
  .heading-2 { font-size: 1.875rem; line-height: 2.25rem; }
  .heading-3 { font-size: 1.5rem; line-height: 2rem; }
  .heading-4 { font-size: 1.5rem; line-height: 2rem; }
}
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.mono-num { font-variant-numeric: tabular-nums; }

/* Marked placeholder for facts only the artist can supply */
.tbd {
  display: inline-block; padding: 0 var(--s-75); border: 1px dashed #5A5A5A; border-radius: var(--r-md);
  color: #C9C9C9; background: var(--surface); white-space: nowrap;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--s-900) 0; position: relative; }
@media (max-width: 767px) { .section { padding: var(--s-700) 0; } }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-300); margin-bottom: var(--s-600); }
.section-head .lede { max-width: 480px; color: var(--muted); margin-top: var(--s-200); }
.eyebrow { display: inline-flex; align-items: center; gap: var(--s-75); color: var(--accent); margin-bottom: var(--s-200); }
.eyebrow::before { content: ''; width: var(--s-300); height: 2px; background: var(--accent); border-radius: var(--r-full); }

.skip {
  position: fixed; top: var(--s-200); left: var(--s-200); z-index: 200; padding: var(--s-75) var(--s-100);
  background: var(--accent); color: #FFFFFF; border-radius: var(--r-lg); transform: translateY(-200%);
  transition: transform 500ms var(--ease);
}
.skip:focus { transform: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-75);
  padding: var(--s-75) var(--s-100); border-radius: var(--r-full); white-space: nowrap;
  font-size: 1rem; line-height: 1.5rem; font-weight: 600;
  transition: background-color 300ms var(--ease), color 300ms var(--ease), transform 500ms var(--ease), opacity 300ms var(--ease), border-color 300ms var(--ease);
  border: 1px solid transparent;
}
.btn i { font-size: 1.125rem; }
.btn:active { transform: scale(0.98); }
.btn-accent { background: var(--accent); color: #FFFFFF; }
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-light { background: #FFFFFF; color: #000000; }
.btn-light:hover { background: #E6E6E6; transform: translateY(-2px); }
.btn-ghost { background: var(--surface-2); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: var(--surface-3); }
.btn-lg { padding: var(--s-100) var(--s-300); font-size: 1.125rem; line-height: 1.75rem; }
.btn-sm { font-size: 0.875rem; line-height: 1.25rem; padding: var(--s-75) var(--s-200); }
.btn[disabled], .btn[aria-disabled='true'] { opacity: 0.4; pointer-events: none; }
.icon-btn {
  width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: var(--r-full);
  background: var(--surface-2); border: 1px solid var(--line); font-size: 1.25rem;
  transition: background-color 300ms var(--ease), transform 500ms var(--ease), color 300ms var(--ease);
}
.icon-btn:hover { background: var(--surface-3); }
.icon-btn:active { transform: scale(0.94); }
.text-link { display: inline-flex; align-items: center; gap: var(--s-50); color: var(--muted); transition: color 300ms var(--ease); }
.text-link:hover { color: var(--text); }
.text-link i { transition: transform 500ms var(--ease); }
.text-link:hover i { transform: translateX(4px); }

/* ---------- Intro curtain ---------- */
.intro {
  position: fixed; inset: 0; z-index: 300; background: var(--bg); display: grid; place-items: center;
  transition: transform 900ms var(--ease);
}
.intro.done { transform: translateY(-100%); }
.intro.gone { display: none; }
.intro-word { display: flex; overflow: hidden; font-size: 6rem; line-height: 1; font-weight: 700; letter-spacing: -0.04em; }
.intro-word span { display: inline-block; transform: translateY(110%); animation: rise 800ms var(--ease) forwards; }
.intro-word span:nth-child(2) { animation-delay: 70ms; }
.intro-word span:nth-child(3) { animation-delay: 140ms; }
.intro-word span:nth-child(4) { animation-delay: 210ms; }
.intro-word .dot { color: var(--accent); animation-delay: 280ms; }
@keyframes rise { to { transform: translateY(0); } }

/* ---------- Navigation (B7) ---------- */
.nav-wrap { position: fixed; top: var(--s-200); left: 0; right: 0; z-index: 100; display: flex; justify-content: center; padding: 0 var(--s-200); pointer-events: none; }
.nav {
  pointer-events: auto; display: flex; align-items: center; gap: var(--s-75); padding: var(--s-75);
  background: rgba(24, 24, 24, 0.66); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--r-full);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: transform 500ms var(--ease);
}
.nav.hide { transform: translateY(-160%); }
.brand { display: inline-flex; align-items: center; gap: var(--s-75); padding: 0 var(--s-100) 0 var(--s-75); font-weight: 700; font-size: 1.125rem; line-height: 1.75rem; letter-spacing: -0.02em; }
.brand-mark { width: 28px; height: 28px; }
.nav-links { display: flex; gap: var(--s-25); }
.nav-links a {
  display: block; padding: var(--s-75) var(--s-100); border-radius: var(--r-full); color: var(--muted);
  transition: color 300ms var(--ease), background-color 300ms var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a[aria-current='true'], .nav-links a[aria-current='page'] { color: var(--text); background: rgba(255, 255, 255, 0.08); }
.menu-toggle { display: none; width: 40px; height: 40px; border-radius: var(--r-full); position: relative; background: rgba(255, 255, 255, 0.06); }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: var(--r-full); transition: transform 500ms var(--ease); }
.menu-toggle span:nth-child(1) { transform: translateY(-4px); }
.menu-toggle span:nth-child(2) { transform: translateY(4px); }
.menu-toggle[aria-expanded='true'] span:nth-child(1) { transform: rotate(45deg); }
.menu-toggle[aria-expanded='true'] span:nth-child(2) { transform: rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  padding: var(--s-900) var(--s-300) var(--s-400); display: flex; flex-direction: column; gap: var(--s-75);
  opacity: 0; pointer-events: none; transition: opacity 500ms var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a.m-link { opacity: 0; transform: translateY(24px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); padding: var(--s-100) 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.mobile-menu a.m-link[aria-current='true'], .mobile-menu a.m-link[aria-current='page'] { color: var(--accent); }
.mobile-menu.open a.m-link { opacity: 1; transform: none; }
.mobile-menu .btn { margin-top: var(--s-300); opacity: 0; transition: opacity 500ms var(--ease) 360ms; }
.mobile-menu.open .btn { opacity: 1; }
@media (max-width: 860px) {
  .nav-links, .nav .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .nav { width: 100%; justify-content: space-between; }
}

/* ---------- Reveal (B7) ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 128px 0 var(--s-800); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--s-600); align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-title, .hero-sub { max-width: 680px; }
.hero-title {
  background: linear-gradient(90deg, #FFFFFF, #9B9B9B); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: var(--s-50);
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); transition: transform 900ms var(--ease); background: inherit; -webkit-background-clip: text; background-clip: text; }
.hero.ready .hero-title .line > span { transform: none; }
.hero.ready .hero-title .line:nth-child(2) > span { transition-delay: 90ms; }
.hero-title .hl { color: var(--accent); -webkit-text-fill-color: var(--accent); }
.hero-sub { color: var(--muted); margin-top: var(--s-300); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-300); margin-top: var(--s-500); }
.hero-proof { display: flex; align-items: center; gap: var(--s-100); margin-top: var(--s-500); color: var(--muted); }
.hero-fade { opacity: 0; transform: translateY(16px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
.hero.ready .hero-fade { opacity: 1; transform: none; }
.hero.ready .hero-fade.d1 { transition-delay: 250ms; }
.hero.ready .hero-fade.d2 { transition-delay: 350ms; }
.hero.ready .hero-fade.d3 { transition-delay: 450ms; }
.news-pill {
  display: inline-flex; align-items: center; gap: var(--s-75); padding: var(--s-50) var(--s-100) var(--s-50) var(--s-50);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-full); margin-bottom: var(--s-300);
  transition: background-color 300ms var(--ease), border-color 300ms var(--ease);
}
.news-pill:hover { background: var(--surface-2); border-color: #444444; }
.news-pill .tag { background: var(--accent); color: #FFFFFF; padding: var(--s-25) var(--s-75); border-radius: var(--r-full); }
.news-pill i { transition: transform 500ms var(--ease); }
.news-pill:hover i { transform: translateX(3px); }

.hero-stage { position: relative; height: 600px; perspective: 1400px; }
.hero-tilt { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 800ms var(--ease); }
.hero-card { position: absolute; width: 58%; opacity: 0; transition: opacity 900ms var(--ease), transform 900ms var(--ease); text-align: left; }
.hero-card .card-inner {
  display: block; position: relative; border-radius: var(--r-2xl); overflow: hidden; background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  animation: float 7s var(--ease) infinite alternate;
}
.hero-card.c1 .card-inner { animation-delay: -2s; }
.hero-card.c3 .card-inner { animation-delay: -4.5s; }
.hero-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease); }
.hero-card:hover img { transform: scale(1.05); }
.hero-card.c1 { left: 0; top: 12%; transform: rotate(-9deg) translateZ(20px) translateY(40px); }
.hero-card.c2 { left: 22%; top: 0; z-index: 2; transform: rotate(3deg) translateZ(80px) translateY(40px); }
.hero-card.c3 { right: 0; top: 22%; transform: rotate(10deg) translateZ(40px) translateY(40px); }
.hero.ready .hero-card { opacity: 1; }
.hero.ready .hero-card.c1 { transform: rotate(-9deg) translateZ(20px); transition-delay: 300ms; }
.hero.ready .hero-card.c2 { transform: rotate(3deg) translateZ(80px); transition-delay: 420ms; }
.hero.ready .hero-card.c3 { transform: rotate(10deg) translateZ(40px); transition-delay: 540ms; }
.hero-card .label {
  position: absolute; left: var(--s-75); right: var(--s-75); bottom: var(--s-75); display: flex; justify-content: space-between; align-items: center;
  padding: var(--s-75) var(--s-100); border-radius: var(--r-lg); background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.hero-bigword {
  position: absolute; right: -2%; bottom: -6%; font-size: 8rem; line-height: 1; font-weight: 700; letter-spacing: -0.05em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12); pointer-events: none; user-select: none; z-index: 0;
}
.halftone { position: absolute; pointer-events: none; z-index: 0; }
.halftone.tr { top: 0; right: 0; width: 620px; opacity: 0.16; }
.halftone.bl { bottom: -40px; left: -40px; width: 380px; opacity: 0.1; transform: rotate(180deg); }
.scroll-cue { position: absolute; left: 50%; bottom: var(--s-300); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: var(--s-75); color: var(--muted); }
.scroll-cue .bar { width: 1px; height: 40px; background: var(--line); overflow: hidden; position: relative; }
.scroll-cue .bar::after { content: ''; position: absolute; inset: 0; background: var(--text); transform: translateY(-100%); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 60%, 100% { transform: translateY(100%); } }
@keyframes float { from { transform: translateY(-8px); } to { transform: translateY(8px); } }
@media (max-width: 960px) {
  .hero { min-height: 0; padding-top: 120px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { height: 440px; max-width: 520px; width: 100%; margin: 0 auto; }
  .hero-bigword { font-size: 6rem; }
  .scroll-cue { display: none; }
}
@media (max-width: 480px) {
  .hero-stage { height: 360px; }
  .halftone.tr { width: 360px; }
}

/* ---------- Ticker strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.strip-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-300); padding: var(--s-300) 0; }
.strip-item { display: flex; align-items: center; gap: var(--s-100); }
.strip-item i { font-size: 1.5rem; color: var(--accent); }
@media (max-width: 767px) { .strip-inner { display: grid; grid-template-columns: 1fr 1fr; } }

/* ---------- Gallery ---------- */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-200); margin-bottom: var(--s-400); }
.chips { display: flex; gap: var(--s-75); overflow-x: auto; scrollbar-width: none; padding: var(--s-25); margin: calc(var(--s-25) * -1); }
.chips::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: var(--s-75); padding: var(--s-75) var(--s-200); border-radius: var(--r-full);
  background: var(--surface); border: 1px solid var(--line); color: var(--muted); white-space: nowrap;
  transition: background-color 300ms var(--ease), color 300ms var(--ease), border-color 300ms var(--ease), transform 500ms var(--ease);
}
.chip:hover { color: var(--text); border-color: #4A4A4A; }
.chip:active { transform: scale(0.98); }
.chip[aria-pressed='true'] { background: var(--text); color: #000000; border-color: var(--text); }
.chip .count { opacity: 0.6; }
.seg { display: inline-flex; padding: var(--s-50); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-full); }
.seg button { padding: var(--s-50) var(--s-100); border-radius: var(--r-full); color: var(--muted); transition: background-color 300ms var(--ease), color 300ms var(--ease); }
.seg button[aria-pressed='true'] { background: var(--surface-3); color: var(--text); }

.masonry { display: flex; gap: var(--s-200); align-items: flex-start; }
.masonry .col { flex: 1; display: flex; flex-direction: column; gap: var(--s-200); min-width: 0; }
.art-card {
  position: relative; display: block; width: 100%; border-radius: var(--r-2xl); overflow: hidden; background: var(--surface-2);
  text-align: left; opacity: 0; transform: translateY(32px) scale(0.98);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.art-card.in { opacity: 1; transform: none; }
.art-card.out { opacity: 0; transform: scale(0.96); transition-duration: 300ms; }
.art-card .img-wrap { position: relative; width: 100%; }
.art-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: transform 800ms var(--ease), opacity 500ms var(--ease); }
.art-card img.loaded { opacity: 1; }
.art-card:hover img { transform: scale(1.06); }
.art-card .shade { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.45); opacity: 0; transition: opacity 500ms var(--ease); }
.art-card:hover .shade, .art-card:focus-visible .shade { opacity: 1; }
.art-card .meta {
  position: absolute; left: var(--s-200); right: var(--s-200); bottom: var(--s-200); display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-100);
  opacity: 0; transform: translateY(12px); transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}
.art-card:hover .meta, .art-card:focus-visible .meta { opacity: 1; transform: none; }
.art-card .stat { display: inline-flex; align-items: center; gap: var(--s-50); padding: var(--s-50) var(--s-75); border-radius: var(--r-full); background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.art-card .stat.liked i { color: var(--accent); }
.art-card .badge { position: absolute; top: var(--s-100); left: var(--s-100); padding: var(--s-25) var(--s-75); border-radius: var(--r-full); background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity 500ms var(--ease); }
.art-card:hover .badge { opacity: 1; }
@media (hover: none) {
  .art-card .meta { opacity: 1; transform: none; }
  .art-card .shade { opacity: 0.35; }
}
.gallery-more { display: flex; justify-content: center; margin-top: var(--s-500); }

.skeleton { background: var(--surface-2); border-radius: var(--r-2xl); animation: pulse 1.4s var(--ease) infinite alternate; }
@keyframes pulse { from { opacity: 0.45; } to { opacity: 1; } }

.empty {
  display: grid; place-items: center; text-align: center; gap: var(--s-200); padding: var(--s-800) var(--s-300);
  border: 1px dashed var(--line); border-radius: var(--r-2xl); color: var(--muted);
}
.empty i { font-size: 2.25rem; color: var(--text); }

/* ---------- Tagline reveal (B11) ---------- */
.tagline { padding: 160px 0; }
.tagline p { max-width: 900px; margin: 0 auto; text-align: center; }
.tagline .w { opacity: 0.28; transition: opacity 600ms var(--ease); }
.tagline .w.on { opacity: 1; }
.tagline .w.hl.on { color: var(--accent); }
@media (max-width: 767px) { .tagline { padding: var(--s-900) 0; } }

/* ---------- Manga series ---------- */
.series-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-300); }
@media (max-width: 960px) { .series-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .series-grid { grid-template-columns: 1fr; } }
.series-card { display: block; position: relative; }
.series-card .cover {
  position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-2xl); overflow: hidden; background: var(--surface-2);
  transition: transform 700ms var(--ease);
}
.series-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.series-card:hover .cover { transform: translateY(-8px) rotate(-1deg); }
.series-card:hover .cover img { transform: scale(1.06); }
.series-card .cover-shade { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.32); }
.series-card .cover-top { position: absolute; top: var(--s-200); left: var(--s-200); right: var(--s-200); display: flex; justify-content: space-between; }
.series-card .cover-title { position: absolute; left: var(--s-300); right: var(--s-300); bottom: var(--s-300); }
.series-card .cover-title h3 { text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6); }
.series-card .read-cta {
  margin-top: var(--s-200); display: inline-flex; opacity: 0; transform: translateY(12px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}
.series-card:hover .read-cta, .series-card:focus-visible .read-cta { opacity: 1; transform: none; }
@media (hover: none) { .series-card .read-cta { opacity: 1; transform: none; } }
.series-card .below { display: flex; justify-content: space-between; align-items: center; margin-top: var(--s-200); color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: var(--s-50); padding: var(--s-25) var(--s-75); border-radius: var(--r-full); background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pill.live::before { content: ''; width: 6px; height: 6px; border-radius: var(--r-full); background: var(--accent); animation: blink 1.6s var(--ease) infinite alternate; }
.pill.done::before { content: ''; width: 6px; height: 6px; border-radius: var(--r-full); background: #7BE3A1; }
@keyframes blink { from { opacity: 0.3; } to { opacity: 1; } }

.latest { margin-top: var(--s-700); border: 1px solid var(--line); border-radius: var(--r-2xl); background: var(--surface); padding: var(--s-75); }
.latest-head { display: flex; justify-content: space-between; align-items: center; padding: var(--s-200) var(--s-200) var(--s-100); }
.chapter-row {
  display: grid; grid-template-columns: 56px 1fr auto; gap: var(--s-200); align-items: center; padding: var(--s-100);
  border-radius: var(--r-lg); transition: background-color 300ms var(--ease);
}
.chapter-row:hover { background: var(--surface-3); }
.chapter-row .thumb { width: 56px; height: 72px; border-radius: var(--r-md); overflow: hidden; background: var(--surface-3); }
.chapter-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.chapter-row .info { min-width: 0; }
.chapter-row .info .t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chapter-row .right { display: flex; align-items: center; gap: var(--s-200); color: var(--muted); }
.chapter-row .right i { transition: transform 500ms var(--ease); }
.chapter-row:hover .right i { transform: translateX(4px); color: var(--text); }
.new-tag { color: var(--accent); }
.read-tag { color: #7BE3A1; }
@media (max-width: 600px) { .chapter-row .right .d { display: none; } }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-300); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2xl); padding: var(--s-75); }
.step .frame { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); }
.step .frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; transition: transform 900ms var(--ease); }
.step:hover .frame img { transform: scale(1.05); }
.step .body { padding: var(--s-300) var(--s-200) var(--s-200); }
.step .num { color: var(--accent); margin-bottom: var(--s-100); display: block; }
.step p { color: var(--muted); margin-top: var(--s-75); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--s-700); align-items: center; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: var(--s-500); } }
.portrait { position: relative; border-radius: var(--r-3xl); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface-2); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .sticker {
  position: absolute; right: var(--s-200); bottom: var(--s-200); padding: var(--s-100) var(--s-200); border-radius: var(--r-xl);
  background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); display: flex; gap: var(--s-75); align-items: center;
}
.about-copy p { color: var(--muted); margin-top: var(--s-200); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-200); margin-top: var(--s-500); }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: var(--s-200); }
.fact .k { color: var(--muted); display: block; margin-bottom: var(--s-75); }
@media (max-width: 600px) { .facts { grid-template-columns: 1fr; } }
.socials { display: flex; flex-wrap: wrap; gap: var(--s-75); margin-top: var(--s-400); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: var(--s-700); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: var(--s-400); } }
.faq details { border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); margin-bottom: var(--s-100); transition: background-color 300ms var(--ease); }
.faq details[open] { background: var(--surface-2); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--s-200); padding: var(--s-200) var(--s-300); cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { transition: transform 500ms var(--ease); flex-shrink: 0; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq .answer { padding: 0 var(--s-300) var(--s-300); color: var(--muted); }
.faq details[open] .answer { animation: drop 500ms var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Commission CTA ---------- */
.cta-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-600); padding: var(--s-700); border-radius: var(--r-3xl);
  background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden;
}
@media (max-width: 860px) { .cta-card { grid-template-columns: 1fr; padding: var(--s-400) var(--s-300); gap: var(--s-400); } }
.cta-card > * { position: relative; z-index: 1; }
.cta-card .halftone { z-index: 0; top: -60px; left: -60px; width: 420px; opacity: 0.08; }
.offer-list { margin-top: var(--s-400); display: grid; gap: var(--s-100); }
.offer { display: flex; justify-content: space-between; align-items: center; gap: var(--s-200); padding: var(--s-200); border-radius: var(--r-xl); background: var(--surface-2); border: 1px solid var(--line); }
.offer .l { display: flex; align-items: center; gap: var(--s-100); }
.offer i { font-size: 1.5rem; color: var(--accent); }
.form { display: grid; gap: var(--s-200); align-content: start; }
.field { display: grid; gap: var(--s-75); }
.field label { color: var(--text); }
.input {
  width: 100%; padding: var(--s-100) var(--s-200); border-radius: var(--r-xl); background: var(--bg); border: 1px solid var(--line);
  transition: border-color 300ms var(--ease), background-color 300ms var(--ease); outline: none;
}
.input:hover { border-color: #4A4A4A; }
.input:focus { border-color: var(--accent); }
.input[aria-invalid='true'] { border-color: #FF6B6B; }
textarea.input { resize: vertical; min-height: 120px; }
select.input { appearance: none; background-image: none; cursor: pointer; }
.select-wrap { position: relative; }
.select-wrap i { position: absolute; right: var(--s-200); top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.err { color: #FF8A8A; min-height: 0; }
.err:empty { display: none; }
.form-ok { display: flex; gap: var(--s-100); align-items: flex-start; padding: var(--s-200); border-radius: var(--r-xl); background: rgba(123, 227, 161, 0.08); border: 1px solid rgba(123, 227, 161, 0.3); color: #BFF2D1; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-200); }
@media (max-width: 600px) { .row2 { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: var(--s-700) 0 var(--s-400); margin-top: var(--s-900); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-400); }
.footer nav ul { display: flex; flex-wrap: wrap; gap: var(--s-300); }
.footer nav a { color: var(--muted); transition: color 300ms var(--ease); }
.footer nav a:hover { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-200); margin-top: var(--s-600); color: var(--muted); }
.footer-bottom a { transition: color 300ms var(--ease); }
.footer-bottom a:hover { color: var(--text); }
.footer-big { font-size: 8rem; line-height: 1; font-weight: 700; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px var(--line); margin-top: var(--s-600); user-select: none; overflow: hidden; white-space: nowrap; }
@media (max-width: 767px) { .footer-big { font-size: 4.5rem; } }

/* ---------- Lightbox ---------- */
.lightbox {
  border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: transparent; color: var(--text);
}
.lightbox::backdrop { background: rgba(0, 0, 0, 0.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.lightbox[open] { animation: fade 500ms var(--ease); }
.lb-inner { display: grid; grid-template-columns: 1fr 400px; height: 100%; }
.lb-stage { position: relative; display: grid; place-items: center; padding: var(--s-600); min-height: 0; overflow: hidden; }
.lb-stage img { max-width: 100%; max-height: calc(100dvh - 96px); width: auto; height: auto; border-radius: var(--r-xl); box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7); animation: pop 700ms var(--ease); user-select: none; }
.lb-big-heart { position: absolute; left: 50%; top: 50%; font-size: 8rem; color: var(--accent); transform: translate(-50%, -50%) scale(0); opacity: 0; pointer-events: none; }
.lb-big-heart.go { animation: bigheart 900ms var(--ease); }
@keyframes bigheart { 0% { transform: translate(-50%, -50%) scale(0); opacity: 0; } 30% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; } 60% { transform: translate(-50%, -50%) scale(0.95); opacity: 1; } 100% { transform: translate(-50%, -60%) scale(1); opacity: 0; } }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-nav.prev { left: var(--s-200); }
.lb-nav.next { right: var(--s-200); }
.lb-nav:active { transform: translateY(-50%) scale(0.94); }
.lb-close { position: absolute; top: var(--s-200); left: var(--s-200); z-index: 3; }
.lb-panel { background: var(--surface); border-left: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; animation: slide 700ms var(--ease); }
.lb-scroll { overflow-y: auto; padding: var(--s-400) var(--s-300); flex: 1; }
.lb-panel .cat { color: var(--accent); }
.lb-panel h2 { margin-top: var(--s-75); }
.lb-panel .desc { color: var(--muted); margin-top: var(--s-200); }
.lb-panel .tags { display: flex; flex-wrap: wrap; gap: var(--s-75); margin-top: var(--s-200); }
.lb-panel .tags span { padding: var(--s-25) var(--s-75); border-radius: var(--r-full); background: var(--surface-3); color: var(--muted); }
.actions { display: flex; gap: var(--s-75); margin-top: var(--s-300); }
.lb-counter { color: var(--muted); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(0.94); } }
@keyframes slide { from { opacity: 0; transform: translateX(32px); } }
@media (max-width: 900px) {
  .lb-inner { grid-template-columns: 1fr; grid-template-rows: auto 1fr; overflow-y: auto; height: 100dvh; }
  .lb-stage { padding: var(--s-700) var(--s-200) var(--s-200); }
  .lb-stage img { max-height: 60dvh; }
  .lb-panel { border-left: 0; border-top: 1px solid var(--line); animation: none; }
  .lb-scroll { overflow: visible; }
  .lb-nav { top: auto; bottom: var(--s-300); transform: none; }
  .lb-nav:active { transform: scale(0.94); }
}

/* ---------- Like button ---------- */
.like-btn {
  position: relative; display: inline-flex; align-items: center; gap: var(--s-75); padding: var(--s-75) var(--s-200); border-radius: var(--r-full);
  background: var(--surface-2); border: 1px solid var(--line);
  transition: background-color 300ms var(--ease), border-color 300ms var(--ease), transform 500ms var(--ease);
}
.like-btn:hover { background: var(--surface-3); }
.like-btn:active { transform: scale(0.96); }
.like-btn i { font-size: 1.25rem; transition: transform 500ms var(--ease), color 300ms var(--ease); }
.like-btn[aria-pressed='true'] { border-color: rgba(255, 70, 85, 0.5); background: rgba(255, 70, 85, 0.12); }
.like-btn[aria-pressed='true'] i { color: var(--accent); }
.like-btn.pop i { animation: heartpop 600ms var(--ease); }
@keyframes heartpop { 0% { transform: scale(1); } 30% { transform: scale(1.45); } 100% { transform: scale(1); } }
.spark { position: absolute; left: 24px; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: var(--r-full); background: var(--accent); pointer-events: none; animation: spark 700ms var(--ease) forwards; }
@keyframes spark { from { transform: translate(0, 0) scale(1); opacity: 1; } to { transform: translate(var(--dx), var(--dy)) scale(0); opacity: 0; } }

/* ---------- Comments ---------- */
.comments { margin-top: var(--s-500); }
.comments-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-200); }
.comment { display: grid; grid-template-columns: 36px 1fr; gap: var(--s-100); padding: var(--s-200) 0; border-top: 1px solid var(--line); animation: drop 500ms var(--ease); }
.avatar { width: 36px; height: 36px; border-radius: var(--r-full); display: grid; place-items: center; color: #000000; }
.comment .who { display: flex; gap: var(--s-75); align-items: baseline; flex-wrap: wrap; }
.comment .when { color: var(--muted); }
.comment p { color: #D4D4D4; margin-top: var(--s-50); overflow-wrap: anywhere; }
.comment-form { display: grid; gap: var(--s-100); margin-top: var(--s-200); padding: var(--s-200); border-radius: var(--r-xl); background: var(--surface-2); border: 1px solid var(--line); }
.comment-form .input { background: var(--surface); }
.comment-form .foot { display: flex; justify-content: space-between; align-items: center; gap: var(--s-100); }
.comments .empty { padding: var(--s-500) var(--s-200); }

/* ---------- Share sheet & toast ---------- */
.sheet { border: 0; padding: 0; background: transparent; color: var(--text); width: min(420px, calc(100vw - 32px)); }
.sheet::backdrop { background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sheet[open] .sheet-card { animation: pop 500ms var(--ease); }
.sheet-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-3xl); padding: var(--s-300); }
.sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s-300); }
.share-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-100); }
.share-opt { display: grid; justify-items: center; gap: var(--s-75); padding: var(--s-200) var(--s-75); border-radius: var(--r-xl); background: var(--surface-2); border: 1px solid var(--line); transition: background-color 300ms var(--ease), transform 500ms var(--ease); }
.share-opt:hover { background: var(--surface-3); transform: translateY(-2px); }
.share-opt i { font-size: 1.5rem; }
.copy-row { display: flex; gap: var(--s-75); margin-top: var(--s-200); padding: var(--s-75); border-radius: var(--r-full); background: var(--bg); border: 1px solid var(--line); }
.copy-row input { flex: 1; min-width: 0; background: none; border: 0; outline: none; padding: 0 var(--s-100); color: var(--muted); }
.toast {
  position: fixed; left: 50%; bottom: var(--s-400); z-index: 400; transform: translate(-50%, 24px); opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: var(--s-75); padding: var(--s-100) var(--s-200); border-radius: var(--r-full);
  background: #FFFFFF; color: #000000; transition: opacity 500ms var(--ease), transform 500ms var(--ease); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Series page ---------- */
.series-hero { padding: 140px 0 var(--s-700); position: relative; overflow: hidden; }
.series-hero-grid { display: grid; grid-template-columns: 340px 1fr; gap: var(--s-600); align-items: end; }
@media (max-width: 860px) { .series-hero-grid { grid-template-columns: 1fr; gap: var(--s-400); } .series-hero-grid .cover-lg { max-width: 280px; } }
.cover-lg { border-radius: var(--r-2xl); overflow: hidden; aspect-ratio: 3 / 4; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7); border: 1px solid rgba(255, 255, 255, 0.08); }
.cover-lg img { width: 100%; height: 100%; object-fit: cover; }
.backdrop-art { position: absolute; inset: 0; z-index: -1; opacity: 0.18; filter: blur(40px); transform: scale(1.2); }
.backdrop-art img { width: 100%; height: 100%; object-fit: cover; }
.backdrop-veil { position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, 0.55); }
.genres { display: flex; flex-wrap: wrap; gap: var(--s-75); margin-top: var(--s-200); }
.genres span { padding: var(--s-25) var(--s-100); border-radius: var(--r-full); border: 1px solid var(--line); color: var(--muted); }
.series-meta { display: flex; flex-wrap: wrap; gap: var(--s-300); margin-top: var(--s-300); color: var(--muted); }
.series-meta b { color: var(--text); font-weight: 600; }
.crumb { display: inline-flex; align-items: center; gap: var(--s-75); color: var(--muted); margin-bottom: var(--s-300); transition: color 300ms var(--ease); }
.crumb:hover { color: var(--text); }
.tabs { display: flex; gap: var(--s-75); margin-bottom: var(--s-300); overflow-x: auto; scrollbar-width: none; }
.part-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-200); flex-wrap: wrap; margin-bottom: var(--s-200); }
.chapter-list { border: 1px solid var(--line); border-radius: var(--r-2xl); background: var(--surface); padding: var(--s-75); }
.two-col { display: grid; grid-template-columns: 1fr 360px; gap: var(--s-600); align-items: start; }
@media (max-width: 960px) { .two-col { grid-template-columns: 1fr; } }
.side-card { border: 1px solid var(--line); border-radius: var(--r-2xl); background: var(--surface); padding: var(--s-300); position: sticky; top: var(--s-900); }

/* ---------- Reader ---------- */
.reader-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: var(--s-200);
  padding: var(--s-100) var(--gutter); background: rgba(0, 0, 0, 0.75); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06); transition: transform 500ms var(--ease);
}
.reader-bar.hide { transform: translateY(-100%); }
.reader-bar .ttl { min-width: 0; display: flex; align-items: center; gap: var(--s-100); }
.reader-bar .ttl div { min-width: 0; }
.reader-bar .ttl .t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reader-tools { display: flex; align-items: center; gap: var(--s-75); }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 101; background: transparent; }
.progress span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
.strip-pages { max-width: 800px; margin: 0 auto; padding: 88px 0 0; display: grid; gap: var(--s-75); }
.strip-pages img, .page-view img { width: 100%; height: auto; background: var(--paper); }
.page-skel { aspect-ratio: 2 / 3; border-radius: 0; }
.page-view { display: grid; place-items: center; min-height: 100dvh; padding: 72px var(--s-200) var(--s-900); position: relative; }
.page-view img { max-height: calc(100dvh - 160px); width: auto; max-width: 100%; animation: fade 500ms var(--ease); user-select: none; }
.page-hit { position: absolute; top: 0; bottom: 0; width: 40%; z-index: 1; }
.page-hit.l { left: 0; cursor: w-resize; }
.page-hit.r { right: 0; cursor: e-resize; }
.pager { position: fixed; bottom: var(--s-300); left: 50%; transform: translateX(-50%); z-index: 50; display: flex; align-items: center; gap: var(--s-100); padding: var(--s-75); border-radius: var(--r-full); background: rgba(24, 24, 24, 0.8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line); }
.chapter-end { max-width: 800px; margin: 0 auto; padding: var(--s-700) var(--gutter) 0; }
.end-card { text-align: center; padding: var(--s-600) var(--s-300); border: 1px solid var(--line); border-radius: var(--r-2xl); background: var(--surface); }
.end-card .actions { justify-content: center; flex-wrap: wrap; }
.end-nav { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-200); margin-top: var(--s-300); }
.end-nav a { padding: var(--s-200) var(--s-300); border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); transition: background-color 300ms var(--ease), transform 500ms var(--ease); display: block; }
.end-nav a:hover { background: var(--surface-2); transform: translateY(-2px); }
.end-nav a.next { text-align: right; }
.end-nav .disabled { opacity: 0.4; pointer-events: none; }

/* ---------- Simple pages ---------- */
.simple { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) var(--s-700); }
.simple .big { font-size: 8rem; line-height: 1; font-weight: 700; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 2px var(--accent); }
.legal { max-width: 720px; margin: 0 auto; padding: 140px var(--gutter) var(--s-700); }
.legal h2 { margin-top: var(--s-600); }
.legal p, .legal li { color: var(--muted); margin-top: var(--s-200); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
  .reveal, .art-card, .hero-fade, .mobile-menu a.m-link { transform: none !important; }
  .hero-title .line > span { transform: none !important; }
  .hero-card, .hero.ready .hero-card { transition: opacity 600ms var(--ease); }
  .hero-card .card-inner { animation: none; }
  .tagline .w { opacity: 1; }
  .intro { display: none; }
}

@media (max-width: 600px) {
  .hide-sm { display: none; }
  .reader-tools select { max-width: 120px; }
}
.cta-card > .halftone { position: absolute; }

/* ---------- grain (global) ---------- */
.grain {
  position: fixed; inset: 0; z-index: 400; pointer-events: none; opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 900ms steps(4) infinite;
}
@keyframes grain { 0% { background-position: 0 0; } 25% { background-position: -40px 30px; } 50% { background-position: 30px -50px; } 75% { background-position: -20px -20px; } 100% { background-position: 0 0; } }
.mobile-menu .m-link > span { display: inline-flex; align-items: baseline; gap: var(--s-200); }
.mobile-menu .m-num { color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .grain { animation: none; } }
