/* ============================================
   Sections — Layout & Visual styling
   ============================================ */

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  background: rgba(11,20,38,.45);
  border-bottom: 1px solid rgba(246,241,230,.07);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--on-dark-1); }
.brand-mark { color: var(--gold); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-title { font-family: var(--f-serif); font-size: 16px; letter-spacing: .08em; }
.brand-sub { font-family: var(--f-mono); font-size: 10px; letter-spacing: .18em; color: var(--on-dark-3); text-transform: uppercase; margin-top: 4px; }
.brand--lg .brand-title { font-size: 22px; }
.brand--lg .brand-sub { font-size: 11px; margin-top: 6px;}

.site-nav { display: flex; gap: 26px; }
.site-nav a {
  font-size: 13px;
  color: var(--on-dark-2);
  transition: color .3s var(--e-out);
  position: relative;
  padding: 6px 0;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--gold);
  transition: right .4s var(--e-out);
}
.site-nav a:hover { color: var(--on-dark-1); }
.site-nav a:hover::after { right: 0; }

.btn-sm { padding: 10px 16px; font-size: 12px; }

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

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 80px;
  color: var(--on-dark-1);
  overflow: hidden;
}
.hero-constellation {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: .8;
}
.hero__grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: start;
}
.hero__left { max-width: 560px; }
.hero__title { margin-top: 24px; margin-bottom: 28px; }
.hero__title-em {
  position: relative;
  color: var(--gold);
  font-style: italic;
}
.hero__title-em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px; height: 4px;
  background: linear-gradient(90deg, transparent, rgba(201,165,101,.4), transparent);
}
.hero__lede {
  color: var(--on-dark-2);
  font-size: 16px;
  line-height: 1.95;
  text-wrap: pretty;
  max-width: 500px;
}
.hero__cta {
  display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap;
}
.hero__meta {
  display: flex; align-items: center; gap: 24px;
  margin-top: 48px;
  font-size: 13px;
  color: var(--on-dark-2);
}
.hero__meta-row { display: flex; align-items: baseline; gap: 8px; }
.hero__meta-row .label-mono { font-size: 22px; letter-spacing: .04em; font-family: var(--f-serif); }
.hero__meta-divider { width: 1px; height: 20px; background: var(--on-dark-line); }
.hero__disclaimer { margin-top: 36px; max-width: 520px; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 24px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--on-dark-3);
}
.hero__scroll-line {
  display: block; width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.hero__right { position: relative; min-height: 600px; }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__right { min-height: 500px; }
}

/* ---------- Compass stage ---------- */
.compass-stage {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}
.compass-orbit {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
}
.compass-svg { width: 100%; height: 100%; }

.compass-stars {
  position: absolute; inset: 0; pointer-events: none;
  /* same viewBox as svg: 600x600 — use percentage positioning */
}
.type-star {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: transparent;
  color: var(--on-dark-1);
  animation: drift 11s ease-in-out infinite;
}
/* convert svg coords to % — wrapper is square so coords / 600 * 100 = % */
.type-star {
  left: calc(var(--x, 50) * 1%);
  top:  calc(var(--y, 50) * 1%);
}
/* We'll set left/top via inline style in JS (already in px relative to 600x600 box) — but the box is fluid, so use percentages */
/* Adjust: TypeStar component sets `style={{ left: pos.x, top: pos.y }}` as px in 600x600 — convert to %. */
.compass-stars { width: 100%; height: 100%; }

.ts-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(201,165,101,.25);
  display: grid; place-items: center;
  transition: all .4s var(--e-out);
  box-shadow: 0 0 0 1px rgba(246,241,230,.18);
}
.ts-dot-inner {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(201,165,101,.7);
}
.ts-label {
  display: flex; flex-direction: column;
  gap: 2px;
  padding: 4px 10px;
  border-radius: var(--r-sm);
  background: rgba(11,20,38,.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(246,241,230,.08);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .35s var(--e-out), transform .35s var(--e-out);
  white-space: nowrap;
}
.ts-code { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; color: var(--gold); }
.ts-jp { font-family: var(--f-serif); font-size: 13px; color: var(--on-dark-1); }

.type-star:hover .ts-dot,
.type-star--active .ts-dot,
.type-star--hover .ts-dot {
  background: var(--gold);
  transform: scale(1.4);
  box-shadow: 0 0 0 4px rgba(201,165,101,.18), 0 0 20px rgba(201,165,101,.4);
}
.type-star:hover .ts-label,
.type-star--active .ts-label,
.type-star--hover .ts-label {
  opacity: 1;
  transform: translateX(0);
}
.type-star--active .ts-dot-inner { background: #fff; box-shadow: 0 0 12px #fff; }

.type-star--analyst   .ts-dot { box-shadow: 0 0 0 1px rgba(143,163,199,.4); }
.type-star--diplomat  .ts-dot { box-shadow: 0 0 0 1px rgba(181,160,192,.4); }
.type-star--sentinel  .ts-dot { box-shadow: 0 0 0 1px rgba(201,165,101,.5); }
.type-star--explorer  .ts-dot { box-shadow: 0 0 0 1px rgba(181,130,154,.4); }

/* Readout card */
.compass-readout {
  position: relative;
  width: min(320px, 100%);
  min-height: 220px;
  margin: 24px auto 0;
  padding: 20px 22px;
  background: rgba(11,20,38,.7);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(201,165,101,.22);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2), inset 0 1px 0 rgba(246,241,230,.04);
  color: var(--on-dark-1);
  pointer-events: none;
}
.cr-row { display: flex; align-items: center; justify-content: space-between; }
.cr-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.cr-code { font-family: var(--f-mono); font-size: 13px; letter-spacing: .22em; color: var(--gold); margin-top: 14px; }
.cr-name { font-family: var(--f-serif); font-size: 24px; margin-top: 4px; }
.cr-blurb { font-size: 13px; color: var(--on-dark-2); margin-top: 10px; line-height: 1.7; }
.cr-themes {
  display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px;
}
.cr-themes span {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .14em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(246,241,230,.06);
  color: var(--on-dark-2);
}
@media (max-width: 980px) {
  .compass-readout { position: relative; left: 0; bottom: 0; width: 100%; margin-top: 24px; }
}

/* ---------- Problem ---------- */
.section { padding: 120px 0; position: relative; }
@media (max-width: 720px) { .section { padding: 80px 0; } }

.section-problem .prob__head { max-width: 820px; }
.section-problem .h-section { margin-top: 16px; }
.emph { color: var(--gold); font-style: italic; font-weight: 500; }
.emph-light { color: var(--gold-hi); }
.prob__lede { margin-top: 20px; max-width: 720px; }
.prob__cards {
  list-style: none; padding: 0; margin: 56px 0 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 980px) { .prob__cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .prob__cards { grid-template-columns: 1fr; } }

.prob-card {
  position: relative;
  padding: 24px 20px 28px;
  background: rgba(255,255,255,.55);
  border: 1px solid var(--on-light-line);
  border-radius: var(--r-md);
  min-height: 200px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .5s var(--e-out), box-shadow .5s var(--e-out), background .3s var(--e-out);
  backdrop-filter: blur(8px);
}
.prob-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); background: #fff; }
.prob-card__num { font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; color: var(--gold); }
.prob-card__line { width: 28px; height: 1px; background: var(--gold); opacity: .5; }
.prob-card__text { font-family: var(--f-serif); font-size: 15px; line-height: 1.7; color: var(--on-light-1); margin: 0; }
.prob-card__corner {
  position: absolute; right: 0; top: 0; width: 20px; height: 20px;
  background: linear-gradient(225deg, var(--paper-edge) 50%, transparent 50%);
  opacity: .5;
}

/* ---------- Scroll story ---------- */
.story__head { text-align: center; max-width: 720px; margin: 0 auto; }
.story__head .h-section { margin-top: 16px; }
.story__steps { list-style: none; padding: 0; margin: 72px auto 0; max-width: 880px; }
.story-step {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--on-dark-line);
}
.story-step:last-child { border-bottom: 1px solid var(--on-dark-line); }
.story-step__rail { position: relative; padding-top: 4px; }
.story-step__num {
  font-family: var(--f-mono);
  font-size: 13px; letter-spacing: .18em; color: var(--gold);
}
.story-step__line {
  display: block; width: 28px; height: 1px; background: var(--gold); opacity: .5; margin-top: 8px;
}
.story-step__t {
  font-family: var(--f-serif); font-size: clamp(22px, 2.4vw, 30px);
  color: var(--on-dark-1); margin: 0;
}
.story-step__d {
  font-size: 15px; line-height: 1.95; color: var(--on-dark-2);
  margin: 14px 0 0; max-width: 640px;
}
@media (max-width: 640px) {
  .story-step { grid-template-columns: 1fr; gap: 12px; }
}

/* ---------- Galaxy ---------- */
.galaxy__head { max-width: 820px; }
.galaxy__lede { margin-top: 20px; max-width: 660px; }
.galaxy__filter {
  display: flex; gap: 8px; margin-top: 32px; flex-wrap: wrap;
}
.gf-chip {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.5);
  border: 1px solid var(--on-light-line);
  transition: all .3s var(--e-out);
}
.gf-chip:hover { background: #fff; border-color: var(--gold); }
.gf-chip.is-active {
  background: var(--ink-deep); color: var(--on-dark-1); border-color: var(--ink-deep);
}
.gf-jp { font-family: var(--f-serif); font-size: 13px; }
.gf-en { font-family: var(--f-mono); font-size: 9px; letter-spacing: .18em; opacity: .6; text-transform: uppercase; }

.galaxy__grid {
  list-style: none; padding: 0;
  margin: 48px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 980px) { .galaxy__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .galaxy__grid { grid-template-columns: 1fr; } }

.tc {
  position: relative;
  transition: opacity .5s var(--e-out), transform .5s var(--e-out);
}
.tc--dim { opacity: .28; transform: scale(.98); }
.tc__btn {
  position: relative;
  width: 100%;
  text-align: left;
  padding: 24px 22px 22px;
  background: rgba(255,255,255,.5);
  border: 1px solid var(--on-light-line);
  border-radius: var(--r-lg);
  display: flex; flex-direction: column; gap: 8px;
  transition: all .5s var(--e-out);
  min-height: 220px;
  overflow: hidden;
}
.tc__btn:hover, .tc--active .tc__btn {
  background: #fff;
  border-color: var(--t);
  box-shadow: 0 12px 36px rgba(11,20,38,.08), 0 0 0 1px var(--t) inset;
  transform: translateY(-4px);
}

.tc__star {
  position: absolute; top: 18px; right: 20px;
  width: 26px; height: 26px;
  display: grid; place-items: center;
}
.tc__star-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--t);
  box-shadow: 0 0 12px var(--t);
  animation: twinkle 4s ease-in-out infinite;
}
.tc__code {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--t);
}
.tc__jp {
  font-family: var(--f-serif);
  font-size: 22px;
  color: var(--on-light-1);
  margin-top: 2px;
}
.tc__blurb {
  font-size: 13px; line-height: 1.7; color: var(--on-light-2);
  margin-top: 6px; flex: 1;
}
.tc__cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em;
  color: var(--t);
  text-transform: uppercase;
  margin-top: 12px;
  transition: gap .3s var(--e-out);
}
.tc__btn:hover .tc__cta { gap: 10px; }
.tc__corner {
  position: absolute; bottom: 0; right: 0;
  width: 32px; height: 32px;
  background: linear-gradient(135deg, transparent 50%, var(--t) 50%);
  opacity: 0;
  transition: opacity .4s var(--e-out);
}
.tc__btn:hover .tc__corner, .tc--active .tc__corner { opacity: .25; }

.tc--analyst   { --t: #8FA3C7; }
.tc--diplomat  { --t: #B5A0C0; }
.tc--sentinel  { --t: #C9A565; }
.tc--explorer  { --t: #B5829A; }

/* ---------- Bento ---------- */
.bento__head { max-width: 820px; }
.bento__head .h-section { margin-top: 16px; }
.bento {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
}

.bento-card {
  position: relative;
  padding: 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--on-light-line);
  background: #fff;
  display: flex; flex-direction: column;
  gap: 12px;
  transition: transform .5s var(--e-out), box-shadow .5s var(--e-out);
  overflow: hidden;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }

.bento-card--lg  { grid-column: span 3; grid-row: span 2; }
.bento-card--lg2 { grid-column: span 3; grid-row: span 2; }
.bento-card--note { grid-column: span 3; grid-row: span 1; align-self: end; }

@media (max-width: 980px) {
  .bento-card--lg, .bento-card--lg2 { grid-column: span 2; }
  .bento-card--note { grid-column: span 2; }
}

.bento-card--rose { background: linear-gradient(180deg, #F6E8E8 0%, #F6F1E6 100%); }
.bento-card--gold { background: linear-gradient(180deg, #F6EBD2 0%, #F6F1E6 100%); }
.bento-card--blue { background: linear-gradient(180deg, #E6ECF6 0%, #F6F1E6 100%); }
.bento-card--ink { background: linear-gradient(180deg, var(--ink-deep) 0%, var(--ink-mid) 100%); border-color: rgba(246,241,230,.06); }
.bento-card--cream {
  background: var(--paper-deep);
  border: 1px dashed rgba(20,33,61,.18);
  background-image:
    repeating-linear-gradient(transparent 0 28px, rgba(20,33,61,.06) 28px 29px);
}
.bento-card--note { padding-top: 30px; }
.bc__note { font-family: var(--f-serif); font-size: 17px; line-height: 1.85; color: var(--on-light-1); margin: 8px 0 0; }
.bc__sig { font-family: var(--f-serif); font-size: 12px; color: var(--on-light-3); font-style: italic; margin-top: 12px; }

.bc__top { display: flex; align-items: flex-start; justify-content: space-between; }
.bc__title { margin-top: 12px; }
.bento-card--lg .bc__title, .bento-card--lg2 .bc__title { font-size: 32px; }
.bc__lede { font-size: 14px; color: var(--on-light-2); line-height: 1.85; flex: 1; }
.bento-card--ink .bc__lede, .bento-card--ink .bc__title { color: var(--on-dark-1); }
.bc__cta {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; color: var(--ink-deep);
  text-transform: uppercase;
  margin-top: auto;
}
.bento-card .bc__icon { color: var(--on-light-1); opacity: .6; }
.bento-card--ink .bc__icon { color: var(--gold); opacity: 1; }

/* ---------- Articles ---------- */
.art__head { max-width: 820px; }
.art__head .h-section { margin-top: 16px; }
.art__lede { margin-top: 20px; max-width: 660px; }
.art__grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 980px) { .art__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .art__grid { grid-template-columns: 1fr; } }

.art-card { position: relative; }
.art-card__paper {
  position: relative;
  padding: 26px 22px 22px;
  background: #FFFBEF;
  border: 1px solid var(--paper-edge);
  border-radius: 4px;
  min-height: 280px;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow:
    0 1px 0 rgba(11,20,38,.04),
    0 14px 22px -16px rgba(11,20,38,.18);
  transform: rotate(-.4deg);
  transition: transform .5s var(--e-out), box-shadow .5s var(--e-out);
  /* slight paper feel */
  background-image: repeating-linear-gradient(transparent 0 28px, rgba(20,33,61,.04) 28px 29px);
}
.art-card:nth-child(odd) .art-card__paper { transform: rotate(.5deg); }
.art-card:hover .art-card__paper {
  transform: rotate(0) translateY(-6px);
  box-shadow: 0 24px 36px -18px rgba(11,20,38,.28);
}
.art-card__head { display: flex; align-items: center; justify-content: space-between; }
.art-card__type {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .22em;
  color: var(--gold); padding: 4px 10px; border: 1px solid var(--gold); border-radius: 999px;
}
.art-card__cat {
  font-family: var(--f-serif); font-size: 12px; color: var(--on-light-2);
}
.art-card__title {
  font-family: var(--f-serif); font-size: 17px; line-height: 1.55;
  color: var(--on-light-1); margin: 6px 0; text-wrap: pretty;
}
.art-card__lede { font-size: 13px; line-height: 1.75; color: var(--on-light-2); margin: 0; flex: 1; }
.art-card__foot { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px dashed var(--on-light-line); }
.art-card__arrow { color: var(--gold); transition: transform .3s var(--e-out); }
.art-card:hover .art-card__arrow { transform: translateX(4px); }
.art-card__pin {
  position: absolute; top: -6px; left: 50%;
  width: 10px; height: 10px;
  background: radial-gradient(circle at 30% 30%, #C97755, #7A3923);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(11,20,38,.4);
  transform: translateX(-50%);
}
.art__foot { margin-top: 48px; text-align: center; }

/* ---------- For whom ---------- */
.forwhom__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
@media (max-width: 880px) { .forwhom__grid { grid-template-columns: 1fr; gap: 40px; } }
.fw__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.fw__item {
  display: grid; grid-template-columns: 32px 1fr; align-items: center; gap: 16px;
  padding: 18px 22px;
  border: 1px solid var(--on-dark-line);
  background: rgba(246,241,230,.03);
  border-radius: var(--r-md);
  color: var(--on-dark-1);
  font-family: var(--f-serif);
  font-size: 15px;
  transition: all .4s var(--e-out);
}
.fw__item:hover { background: rgba(246,241,230,.06); border-color: rgba(201,165,101,.3); transform: translateX(4px); }
.fw__check {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
}

/* ---------- Recommend ---------- */
.rec__head { text-align: center; max-width: 720px; margin: 0 auto; }
.rec__head .h-section { margin-top: 16px; }
.rec__lede { margin-top: 20px; }
.rec__grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 880px) { .rec__grid { grid-template-columns: 1fr; } }
.rec-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px 26px;
  background: rgba(255,255,255,.6);
  border: 1px solid var(--on-light-line);
  border-radius: var(--r-lg);
  transition: all .4s var(--e-out);
  min-height: 200px;
}
.rec-card:hover { background: #fff; transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--gold); }
.rec-card__tag { color: var(--gold); }
.rec-card__t { margin: 8px 0 0; }
.rec-card__d { font-size: 14px; line-height: 1.8; color: var(--on-light-2); flex: 1; }
.rec-card__cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; color: var(--ink-deep);
  text-transform: uppercase;
  transition: gap .3s var(--e-out);
}
.rec-card:hover .rec-card__cta { gap: 12px; color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer { padding: 80px 0 40px; color: var(--on-dark-1); }
.footer__inner {
  display: grid; grid-template-columns: 1.3fr 2fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--on-dark-line);
}
@media (max-width: 880px) { .footer__inner { grid-template-columns: 1fr; gap: 40px; } }
.footer__copy { font-size: 13px; color: var(--on-dark-2); line-height: 1.95; margin: 20px 0 0; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 520px) { .footer__cols { grid-template-columns: repeat(2, 1fr); } }
.footer__h { font-family: var(--f-mono); font-size: 11px; letter-spacing: .22em; color: var(--gold); text-transform: uppercase; margin: 0 0 16px; }
.footer__cols ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--on-dark-2); }
.footer__bottom { padding-top: 32px; }

/* ---------- Spec sheet ---------- */
.section-spec { padding-top: 80px; }
.spec__head { max-width: 880px; }
.spec__head .h-section { margin-top: 16px; }
.cc { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 880px) { .cc { grid-template-columns: 1fr; } }
.cc-card {
  padding: 28px 24px;
  border: 1px solid var(--on-light-line);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.55);
}
.cc-card__head { display: flex; align-items: flex-start; gap: 16px; }
.cc-card__id {
  font-family: var(--f-serif); font-size: 36px; color: var(--gold);
  line-height: 1; padding-top: 4px;
}
.cc-card__t { font-family: var(--f-serif); font-size: 20px; }
.cc-card__sub { font-size: 12px; color: var(--on-light-3); margin-top: 4px; }
.cc-card__list { list-style: none; padding: 0; margin: 20px 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--on-light-2); }
.cc-card__list li::before { content: "·"; color: var(--gold); font-weight: bold; margin-right: 8px; }
.cc-card__use { font-size: 12px; color: var(--on-light-3); padding-top: 16px; border-top: 1px solid var(--on-light-line); }
.cc-card__use .label-mono { color: var(--gold); margin-right: 8px; }

.hybrid {
  margin-top: 48px;
  padding: 36px;
  border: 1px solid var(--on-light-line);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, var(--paper-deep) 0%, var(--paper) 100%);
}
.hybrid__head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.hybrid__t { font-size: 24px; }
.hybrid__rows { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.hybrid__rows li {
  display: grid;
  grid-template-columns: 140px 200px 1fr;
  gap: 24px;
  padding: 18px 20px;
  background: rgba(255,255,255,.5);
  border-radius: var(--r-md);
  border: 1px solid var(--on-light-line);
  align-items: center;
}
.hybrid__rows li b { font-family: var(--f-serif); font-size: 15px; }
.hybrid__rows li span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--gold); text-transform: uppercase; }
.hybrid__rows li p { margin: 0; font-size: 13px; color: var(--on-light-2); line-height: 1.7; }
@media (max-width: 720px) {
  .hybrid__rows li { grid-template-columns: 1fr; gap: 6px; }
}

.spec__grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 880px) { .spec__grid { grid-template-columns: 1fr; } }
.spec-card {
  padding: 28px 26px;
  border: 1px solid var(--on-light-line);
  border-radius: var(--r-lg);
  background: #fff;
}
.spec-card--wide { grid-column: span 2; }
@media (max-width: 880px) { .spec-card--wide { grid-column: span 1; } }
.spec-card__t { font-family: var(--f-serif); font-size: 16px; margin: 12px 0 12px; }
.tok-row { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--on-light-line); font-size: 13px; }
.tok-row code { font-family: var(--f-mono); font-size: 11px; color: var(--on-light-3); }
.tok-row span { color: var(--on-light-1); }
.sw { width: 18px; height: 18px; border-radius: 4px; }
.spec-list { list-style: none; padding: 0; margin: 12px 0 0; font-size: 13px; }
.spec-list li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px dashed var(--on-light-line); }
.spec-list li b { font-family: var(--f-mono); font-weight: 500; color: var(--on-light-1); }
.spec-list li span { color: var(--on-light-3); text-align: right; }
.spec-code {
  margin: 12px 0 0;
  font-family: var(--f-mono);
  font-size: 11px;
  line-height: 1.7;
  color: var(--on-light-2);
  background: var(--paper-deep);
  padding: 16px;
  border-radius: var(--r-md);
  white-space: pre;
  overflow-x: auto;
}
.road-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 16px; }
@media (max-width: 880px) { .road-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .road-grid { grid-template-columns: 1fr; } }
.road-grid b { font-family: var(--f-serif); font-size: 14px; }
.road-grid ul { list-style: none; padding: 0; margin: 8px 0 0; font-size: 12px; color: var(--on-light-2); }
.road-grid ul li { padding: 6px 0; border-bottom: 1px dashed var(--on-light-line); }
.road-grid ul li::before { content: "+ "; color: var(--gold); font-family: var(--f-mono); }

/* ---------- Reduce motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
