/* ---------- Font imports ---------- */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&display=swap');

@font-face {
  font-family: 'Airbnb Cereal';
  src: url('assets/fonts/AirbnbCerealLight.ttf') format('truetype');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'Airbnb Cereal';
  src: url('assets/fonts/AirbnbCerealBook.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Airbnb Cereal';
  src: url('assets/fonts/AirbnbCerealMedium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Airbnb Cereal';
  src: url('assets/fonts/AirbnbCerealBold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Airbnb Cereal';
  src: url('assets/fonts/AirbnbCerealExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: 'Airbnb Cereal';
  src: url('assets/fonts/AirbnbCerealBlack.ttf') format('truetype');
  font-weight: 900;
  font-display: swap;
}

:root {
  --font-display: 'Airbnb Cereal', 'Helvetica Neue', 'Arial', sans-serif;
  --font-body:    'Airbnb Cereal', 'Helvetica Neue', 'Arial', sans-serif;
  --bg:           #0a0a0a;
  --bg-2:         #121212;
  --bg-3:         #1a1a1a;
  --line:         #262626;
  --line-2:       #333333;
  --ink:          #f2efea;
  --ink-dim:      #9a938a;
  --ink-mute:     #5c554d;
  --ember:        #c08a5a;
  --ember-soft:   #3a2a1a;
  --red:          #d92a2a;
  --red-deep:     #8a1616;
  --cream:        #e8dfc9;
  --mat:          #2b2b28;
  --maxw:         1400px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); overflow-x: hidden; max-width: 100vw; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--red); color: #fff; }
img { display: block; max-width: 100%; }

/* ---------- Typographic helpers ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.92;
}
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; letter-spacing: 0.02em; }
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* ---------- Page chrome ---------- */
.page-frame {
  position: fixed; inset: 0;
  border: 1px solid var(--line);
  margin: 14px;
  pointer-events: none;
  z-index: 60;
}
.page-frame::before, .page-frame::after {
  content: ""; position: absolute; width: 10px; height: 10px;
  border: 1px solid var(--line-2);
}
.page-frame::before { top: -5px; left: -5px; }
.page-frame::after  { bottom: -5px; right: -5px; }

.ticks {
  position: fixed; left: 14px; right: 14px; height: 22px;
  pointer-events: none; z-index: 55;
  background-image: repeating-linear-gradient(to right, var(--line) 0 1px, transparent 1px 40px);
  opacity: 0.55;
}
.ticks.top { top: 14px; border-bottom: 1px solid var(--line); }

/* ---------- Nav ---------- */
nav.top {
  position: sticky; top: 0; z-index: 65;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px 40px 18px;
  background: linear-gradient(to bottom, rgba(10,10,10,0.92), rgba(10,10,10,0.72) 70%, rgba(10,10,10,0));
  backdrop-filter: blur(6px);
}
nav .left, nav .right { display: flex; gap: 22px; align-items: center; }
nav .right { justify-content: flex-end; }
nav a {
  color: var(--ink-dim); text-decoration: none; font-size: 12px;
  letter-spacing: 0.22em; text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace; transition: color .15s;
}
nav a:hover { color: var(--ink); }
nav .wordmark {
  font-family: var(--font-display);
  font-weight: 900; font-size: 18px;
  letter-spacing: -0.02em; color: var(--ink); text-transform: lowercase;
}
nav .wordmark .dot { color: var(--red); }
nav .pill-members {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--red); color: var(--red); border-radius: 999px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
}
nav .pill-members .dotlight {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 10px var(--red);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---------- Layout ---------- */
section { padding: 0 40px; }
.wrap { max-width: var(--maxw); margin: 0 auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: calc(100vh - 70px);
  padding-top: 30px; padding-bottom: 80px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('assets/hero-mat.jpg');
  background-size: cover; background-position: center 60%;
  filter: saturate(0.85) brightness(0.55) contrast(1.05);
  opacity: 0.55;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(192,138,90,0.22), transparent 45%),
    linear-gradient(180deg, rgba(10,10,10,0.6) 0%, rgba(10,10,10,0.8) 45%, rgba(10,10,10,1) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.95 0 0 0 0 0.9 0 0 0 0 0.85 0 0 0 0.22 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay; opacity: 0.5; z-index: 1;
}
.hero .wrap {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 60px; align-items: center;
  min-height: calc(100vh - 180px); padding-top: 60px;
}
.hero-copy .kana-row {
  display: inline-flex; gap: 14px; align-items: center;
  padding: 6px 12px;
  border: 1px solid var(--line-2); background: rgba(0,0,0,0.4);
  color: var(--ink-dim); font-size: 12px; margin-bottom: 28px;
}
.hero-copy .kana-row .stars { color: var(--red); letter-spacing: 2px; }
.hero-copy .kana-row .mono { font-size: 11px; }

h1.hero-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(68px, 11vw, 168px);
  letter-spacing: -0.035em; line-height: 0.92;
  margin: 0 0 24px; position: relative;
}
h1.hero-title .line1 { display: block; color: var(--ink); }
h1.hero-title .line2 { display: block; color: var(--ink); }
h1.hero-title .stripe { display: inline-block; position: relative; color: var(--ink); }
h1.hero-title .stripe::before {
  content: ""; position: absolute;
  left: -6px; right: -6px; top: 52%; height: 12px;
  background: var(--red); z-index: -1; transform: skewX(-12deg);
}
.hero-sub {
  max-width: 520px; color: var(--ink); font-size: 18px;
  line-height: 1.45; margin: 0 0 36px; font-weight: 500;
}
.hero-sub b { font-weight: 700; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 22px; font-family: var(--font-body);
  font-weight: 700; font-size: 13px; letter-spacing: 0.16em;
  text-transform: uppercase; text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn.primary { background: var(--red); color: #fff; }
.btn.primary:hover { background: #ff3636; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--ink); background: rgba(255,255,255,0.04); }
.btn .arr { font-family: 'JetBrains Mono', monospace; font-weight: 500; }

.hero-meta {
  display: flex; gap: 36px; flex-wrap: wrap;
  color: var(--ink-dim); font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  padding-top: 20px; border-top: 1px solid var(--line);
}
.hero-meta .k { color: var(--ink); }

/* Badge */
.hero-badge-col {
  display: flex; justify-content: flex-end; align-items: center;
}
.badge {
  width: min(520px, 100%); aspect-ratio: 1/1; position: relative;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(192,138,90,0.18), transparent 60%),
    linear-gradient(180deg, #0e0e0e, #060606);
  border: 1px solid var(--line-2); padding: 44px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03), inset 0 40px 80px rgba(192,138,90,0.06), 0 30px 60px rgba(0,0,0,0.6);
}
.badge::before, .badge::after {
  content: ""; position: absolute; width: 18px; height: 18px; border: 1px solid var(--line-2);
}
.badge::before { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.badge::after  { bottom: 10px; right: 10px; border-left: none; border-top: none; }
.badge .tag {
  position: absolute; top: 16px; right: 16px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.2em; color: var(--ink-mute);
}
.badge .tag-l {
  position: absolute; bottom: 16px; left: 16px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.2em; color: var(--ink-mute);
}
.badge .wordmark-big {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(42px, 7.6vw, 88px); line-height: 0.88; letter-spacing: -0.045em;
  text-align: center; color: var(--ink); text-transform: lowercase;
}
.badge .subrow { display: flex; align-items: center; gap: 14px; color: var(--ink-dim); }
.badge .subrow .stars { color: var(--red); letter-spacing: 4px; font-size: 14px; }
.badge .kana-lg {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
  color: var(--ink);
  -webkit-text-stroke: 1.5px var(--ink);
}

/* Hero kana-row katakana */
.kana-hero {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.12em;
  white-space: nowrap;
  color: var(--ink);
  -webkit-text-stroke: 1px var(--ink);
}
.badge .mo-pill {
  display: inline-flex; gap: 8px; align-items: center;
  border: 1.5px solid var(--red); color: var(--red);
  padding: 6px 14px; border-radius: 999px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
}
.badge .translate {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.26em; color: var(--ink-mute); text-transform: uppercase;
}

/* ---------- Marquee ---------- */
.marquee-wrap {
  overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg); position: relative; z-index: 3;
}
.marquee {
  display: flex; gap: 48px; white-space: nowrap;
  padding: 22px 0; animation: marquee 40s linear infinite;
  font-family: var(--font-display); font-weight: 800; font-size: 22px;
  letter-spacing: -0.02em; color: var(--ink);
}
.marquee span.sep { color: var(--red); }
.marquee span.mute { color: var(--ink-mute); }
.marquee span.style {
  color: var(--ink); font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; font-size: 19px;
  border-top: 1px solid var(--red); border-bottom: 1px solid var(--red); padding: 4px 0;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Creed ---------- */
.creed { padding: 140px 40px 100px; position: relative; }
.creed .wrap { display: grid; grid-template-columns: 300px 1fr; gap: 60px; }
.creed .label { position: sticky; top: 100px; align-self: start; color: var(--ink-dim); }
.creed .label .num {
  font-family: var(--font-display); font-weight: 900;
  font-size: 64px; color: var(--ember); line-height: 1; margin-bottom: 12px; letter-spacing: -0.03em;
}
.creed .label .txt {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-dim);
}
.creed .body {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(34px, 4.4vw, 64px); line-height: 1.02;
  letter-spacing: -0.035em; color: var(--ink);
}
.creed .body .red { color: var(--red); }
.creed .body .dim { color: var(--ink-mute); }

/* ---------- Culture ---------- */
.culture { padding: 40px 40px 120px; position: relative; }
.section-head {
  display: grid; grid-template-columns: 1fr auto;
  align-items: end; border-bottom: 1px solid var(--line);
  padding-bottom: 18px; margin-bottom: 40px;
}
.section-head .l .eyebrow { margin-bottom: 10px; display: block; }
.section-head .l h2 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(36px, 5vw, 68px); letter-spacing: -0.035em; margin: 0; line-height: 1;
}
.section-head .l h2 .red { color: var(--red); }
.section-head .r {
  color: var(--ink-dim); font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  text-align: right; max-width: 280px;
}
.culture-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.tile {
  position: relative; overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line);
}
.tile img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.88) contrast(1.02); transition: transform 0.8s ease;
}
.tile:hover img { transform: scale(1.03); }
.tile .cap {
  position: absolute; left: 14px; bottom: 14px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink);
  background: rgba(0,0,0,0.55); backdrop-filter: blur(4px);
  padding: 6px 10px; border: 1px solid var(--line-2);
}
.tile .idx {
  position: absolute; top: 14px; right: 14px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.2em; color: var(--ember);
}
.tile.wide  { grid-column: span 8; aspect-ratio: 16/9; }
.tile.tall  { grid-column: span 4; grid-row: span 2; }
.tile.half  { grid-column: span 4; aspect-ratio: 4/3; }
.tile.third { grid-column: span 4; aspect-ratio: 1/1; }
.copy-tile {
  grid-column: span 4; background: var(--bg-3);
  border: 1px solid var(--line); padding: 28px;
  display: flex; flex-direction: column; justify-content: space-between; min-height: 320px;
}
.copy-tile .hd {
  font-family: var(--font-display); font-weight: 900;
  font-size: 26px; line-height: 1.05; letter-spacing: -0.025em; color: var(--ink);
}
.copy-tile .hd .red { color: var(--red); }
.copy-tile .bd { color: var(--ink-dim); font-size: 14px; line-height: 1.55; margin-top: 14px; }
.copy-tile .footer {
  display: flex; justify-content: space-between; align-items: flex-end; margin-top: 20px;
  color: var(--ink-mute); font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
}

/* ---------- Spec strip ---------- */
.spec { padding: 0 40px 100px; }
.spec .box {
  border: 1px solid var(--line); padding: 48px 40px;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: radial-gradient(ellipse at 30% 0%, rgba(192,138,90,0.08), transparent 60%), var(--bg-2);
}
.spec .cell { border-right: 1px solid var(--line); padding: 0 24px; }
.spec .cell:first-child { padding-left: 0; }
.spec .cell:last-child  { border-right: none; padding-right: 0; }
.spec .k {
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.22em;
  color: var(--ink-dim); text-transform: uppercase; margin-bottom: 14px;
}
.spec .v {
  font-family: var(--font-display); font-weight: 900; font-size: 32px;
  letter-spacing: -0.03em; color: var(--ink); line-height: 1; margin-bottom: 8px;
}
.spec .v.red { color: var(--red); }
.spec .s { color: var(--ink-mute); font-size: 13px; }

/* ---------- Lineage ---------- */
.lineage { padding: 20px 40px 120px; position: relative; }
.lineage .section-head { margin-bottom: 48px; }
.lineage-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.figure-card {
  background: var(--bg); display: flex; flex-direction: column;
  position: relative; transition: background 0.3s ease;
}
.figure-card:hover { background: #0e0e0e; }
.figure-portrait {
  position: relative; aspect-ratio: 4/5;
  background: linear-gradient(180deg, #161616 0%, #0a0a0a 100%);
  border-bottom: 1px solid var(--line); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.figure-portrait img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 15%;
  filter: grayscale(1) contrast(1.08) brightness(0.9); z-index: 0;
}
.figure-portrait::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 14px);
  pointer-events: none; z-index: 1;
}
.figure-portrait::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.15) 0%, rgba(10,10,10,0.05) 40%, rgba(10,10,10,0.9) 100%);
  pointer-events: none; z-index: 1;
}
.figure-portrait .badge-no {
  position: absolute; top: 16px; left: 16px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ember); z-index: 2;
}
.figure-portrait .dates {
  position: absolute; top: 16px; right: 16px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.18em; color: var(--ink-dim); z-index: 2;
}
.figure-portrait .ribbon {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px 20px 18px;
  background: linear-gradient(to top, rgba(0,0,0,0.92), transparent);
  z-index: 2; display: flex; flex-direction: column; gap: 4px;
}
.figure-portrait .ribbon .name {
  font-family: var(--font-display); font-weight: 900;
  font-size: 22px; letter-spacing: -0.03em; color: var(--ink); line-height: 1;
}
.figure-portrait .ribbon .origin {
  font-family: 'JetBrains Mono', monospace; font-size: 9px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-dim);
}
.figure-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.figure-body .disc-row {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.figure-body .discipline {
  font-family: var(--font-display); font-weight: 900;
  font-size: 20px; letter-spacing: -0.02em; color: var(--red); line-height: 1;
}
.figure-body .role {
  font-family: 'JetBrains Mono', monospace; font-size: 9px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-dim); text-align: right;
}
.figure-body .desc { color: var(--ink); font-size: 14.5px; line-height: 1.55; }
.figure-body .desc b { font-weight: 700; }
.figure-body .sig {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line);
}
.figure-body .sig span {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-dim);
  padding: 4px 8px; border: 1px solid var(--line-2);
}

/* ---------- Membership ---------- */
.membership { padding: 30px 40px 140px; position: relative; }
.membership .box {
  position: relative;
  background: linear-gradient(180deg, #101010 0%, #080808 100%);
  border: 1px solid var(--line); padding: 72px 56px; overflow: hidden;
}
.membership .box::before {
  content: ""; position: absolute; inset: 0;
  background-image: url('assets/entry.jpg');
  background-size: cover; background-position: center 70%;
  opacity: 0.18; filter: grayscale(0.5) contrast(1.1); mix-blend-mode: screen;
}
.membership .box::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,8,8,1) 0%, rgba(8,8,8,0.6) 55%, rgba(8,8,8,0) 100%);
}
.membership .grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 80px; align-items: center;
}
.membership h3 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(40px, 5.2vw, 76px); letter-spacing: -0.035em; line-height: 0.98; margin: 10px 0 28px;
}
.membership h3 .red { color: var(--red); }
.membership .lede { font-size: 17px; color: var(--ink); max-width: 520px; line-height: 1.5; }
.membership .fine {
  color: var(--ink-mute); font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; margin-top: 22px;
}
.plan-card {
  background: rgba(0,0,0,0.65); border: 1px solid var(--line-2);
  padding: 36px 32px 32px; position: relative;
}
.plan-card::before {
  content: ""; position: absolute; top: -1px; left: -1px; width: 42px; height: 3px; background: var(--red);
}
.plan-card .type {
  display: flex; justify-content: space-between; align-items: center;
  color: var(--ink-dim); font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 22px;
}
.plan-card .type .red { color: var(--red); }
.plan-card .price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.plan-card .price-sub {
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--red); margin-bottom: 18px;
}
.plan-card .price .amt {
  font-family: var(--font-display); font-weight: 900;
  font-size: 76px; letter-spacing: -0.05em; line-height: 1; color: var(--ink);
}
.plan-card .price .per {
  color: var(--ink-dim); font-family: 'JetBrains Mono', monospace;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
}
.plan-card ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.plan-card li {
  display: flex; gap: 12px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 14px;
}
.plan-card li .tick { color: var(--red); font-family: 'JetBrains Mono', monospace; font-weight: 700; }
.plan-card li.no { color: var(--ink-mute); }
.plan-card li.no .tick { color: var(--ink-mute); }
.plan-card .apply { display: flex; gap: 12px; margin-top: 24px; }
.plan-card .apply .btn.primary { flex: 1; justify-content: center; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 60px 40px 40px; background: var(--bg); }
footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 40px; }
footer h4 {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-dim); margin: 0 0 14px;
}
footer a { color: var(--ink); text-decoration: none; display: block; padding: 4px 0; font-size: 14px; }
footer a:hover { color: var(--red); }
footer .foot-wordmark {
  font-family: var(--font-display); font-weight: 900;
  font-size: 42px; line-height: 1; letter-spacing: -0.045em;
  text-transform: lowercase; color: var(--ink);
}
footer .foot-wordmark .red { color: var(--red); }
footer .foot-sub { color: var(--ink-dim); font-size: 13px; max-width: 320px; margin-top: 14px; }
footer .legal {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between;
  color: var(--ink-mute); font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .lineage-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-badge-col { justify-content: flex-start; margin-top: 40px; }
  .creed .wrap { grid-template-columns: 1fr; gap: 20px; }
  .creed .label { position: static; }
  .membership .grid { grid-template-columns: 1fr; gap: 40px; }
  footer .wrap { grid-template-columns: 1fr 1fr; }
  .tile.wide, .tile.half, .tile.third, .copy-tile { grid-column: span 12; aspect-ratio: 16/10; }
  .tile.tall { grid-column: span 12; grid-row: auto; aspect-ratio: 16/10; }
  .spec .box { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .spec .cell { border-right: none; padding: 0; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
  .lineage-grid { grid-template-columns: 1fr; }
  nav.top { padding: 18px 22px; }
  section { padding: 0 22px; }
  .membership { padding: 30px 22px 80px; }
  .membership .box { padding: 40px 28px; }
}
@media (max-width: 640px) {
  /* Nav */
  nav .left, nav .right a:not(.pill-members) { display: none; }
  nav.top { padding: 14px 18px; }

  /* Global */
  section { padding: 0 18px; }
  img { max-width: 100%; }

  /* Hero */
  h1.hero-title { font-size: clamp(44px, 12vw, 64px); }
  .hero .wrap { min-height: auto; padding: 40px 0 60px; gap: 40px; }
  .hero-copy { padding-top: 0; }
  .kana-row { overflow: hidden; }
  .kana-hero { font-size: 16px; letter-spacing: 0.08em; white-space: normal; word-break: break-word; }
  .hero-meta { gap: 12px; font-size: 10px; flex-wrap: wrap; }
  .hero-badge-col { display: none; }

  /* Marquee */
  .marquee-track { font-size: 13px; }

  /* Creed */
  .creed .body { font-size: clamp(28px, 8vw, 44px); }

  /* Culture grid */
  .culture-grid { grid-template-columns: 1fr; }
  .tile.wide, .tile.half, .tile.third, .tile.tall, .copy-tile {
    grid-column: span 1; grid-row: auto; aspect-ratio: 16/10;
  }
  .copy-tile { aspect-ratio: auto; min-height: 220px; }
  .copy-tile h3 { font-size: clamp(24px, 7vw, 36px); }

  /* Section headings */
  .section-head .wrap { flex-direction: column; gap: 12px; }
  .section-head .l h2 { font-size: clamp(30px, 9vw, 48px); }
  .section-head .r { text-align: left; max-width: 100%; }

  /* Spec strip */
  .spec .box { grid-template-columns: 1fr; }
  .spec .cell { border-right: none; border-bottom: 1px solid var(--line); padding: 0 0 18px; }

  /* Lineage */
  .lineage-grid { grid-template-columns: 1fr; }
  .figure-body .disc-row { flex-wrap: wrap; gap: 8px; }

  /* Badge kana */
  .badge .kana-lg { font-size: 22px; white-space: normal; word-break: break-word; }

  /* Membership */
  .membership { padding: 30px 18px 60px; }
  .membership .box { padding: 28px 18px; }
  .membership h3 { font-size: clamp(30px, 8vw, 48px); }
  .plan-card .price .amt { font-size: 56px; }

  /* Footer */
  footer .wrap { grid-template-columns: 1fr; gap: 32px; }
  .foot-wordmark { font-size: 28px; }
}
