/* ============================================================
   BioSkill-Legacy — Stylesheet
   Field-Lab Schematic redesign — drop-in replacement
   ============================================================ */

/* CSS Custom Properties
   ------------------------------------------------------------ */
:root {
  --bg: #ffffff;
  --paper: #f7f5ef;
  --ink: #14110d;
  --ink-2: #3d362d;
  --ink-3: #7a6f5e;
  --line: #d8d1bf;
  --line-strong: #8a8273;
  --grid: #ebe5d4;

  --gold: #a88c52;
  --gold-text: #6f5a32;
  --gold-mark: #c8a86a;
  --gold-soft: #efe5c9;

  --container: 1200px;
  --pad-x: 56px;
  --pad-y: 100px;

  --shadow-sm: 0 2px 10px rgba(0,0,0,0.04);

  --font-sans: "Lato", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  --font-serif: "Noto Serif JP", "Cormorant Garamond", serif;
  --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, "Menlo", monospace;
}

/* Reset & base
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color .2s, border-color .2s; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { background: none; border: none; cursor: pointer; font-family: inherit; }

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
.fade-in.is-visible { opacity: 1; transform: translateY(0); }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px;
  width: 0%;
  background: var(--gold-mark);
  z-index: 1200;
  transition: width .1s linear;
}

/* Header
   ------------------------------------------------------------ */
.header {
  position: fixed;
  top: 14px; left: 0; right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 14px 56px;
  background: var(--ink);
  color: #f5efe1;
  z-index: 1000;
}
.header__brand {
  display: flex; align-items: center; gap: 12px;
  color: #fff;
}
.header__brand img {
  height: 22px; width: auto;
  filter: brightness(0) invert(1);
}
.header__brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-mark);
  padding: 2px 8px;
  border: 1px solid var(--gold);
}
.header__nav-list {
  display: flex;
  gap: 0;
  justify-content: center;
}
.header__nav-list a {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 6px 14px;
  font-size: 12px;
  color: #d4c8ad;
  font-weight: 500;
}
.header__nav-list a:hover,
.header__nav-list a.is-active {
  color: var(--gold-mark);
}
.header__nav-num {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--gold-mark);
  letter-spacing: 0.15em;
}
.header__back {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #b8aa8e;
}
.header__back:hover { color: var(--gold-mark); }
.header__back svg { width: 12px; height: 12px; }

/* Mobile menu button */
.header__menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px; height: 18px;
  z-index: 1001;
}
.header__menu-btn span {
  display: block; width: 100%; height: 2px;
  background: #f5efe1;
  transition: all .3s ease;
}
.header__menu-btn.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.header__menu-btn.is-active span:nth-child(2) { opacity: 0; }
.header__menu-btn.is-active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

main { padding-top: 80px; }

/* Hero
   ------------------------------------------------------------ */
.hero {
  position: relative;
  padding: 90px var(--pad-x) 110px;
  background:
    linear-gradient(var(--bg), var(--bg)),
    repeating-linear-gradient(0deg, transparent 0 39px, var(--grid) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, var(--grid) 39px 40px);
  background-blend-mode: multiply;
  border-bottom: 1px solid var(--line-strong);
}
.hero__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-text);
  padding: 6px 12px;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--gold);
  margin-bottom: 32px;
}
.hero__eyebrow-mark {
  width: 4px; height: 4px;
  background: var(--gold-mark);
  border-radius: 50%;
}
.hero__title {
  font-size: 64px;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin-bottom: 28px;
  word-break: keep-all;
}
.hero__title-br { display: block; }
.hero__title-accent {
  display: inline-block;
  position: relative;
  padding: 0 4px;
}
.hero__title-accent::before {
  content: "";
  position: absolute;
  left: -2px; right: -2px;
  bottom: 6px;
  height: 14px;
  background: var(--gold-soft);
  z-index: -1;
}
.hero__desc {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-2);
  max-width: 540px;
  margin-bottom: 36px;
}
.hero__actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: 1px solid var(--ink);
  transition: all .2s;
}
.btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.btn--primary {
  background: var(--ink);
  color: #fff;
}
.btn--primary:hover {
  background: var(--gold);
  border-color: var(--gold);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: #fff;
}
.hero__specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-top: 32px;
  border-top: 1px dashed var(--line-strong);
  max-width: 580px;
}
.hero__spec-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.hero__spec-value {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}
.hero__schematic {
  position: relative;
  aspect-ratio: 1 / 1;
  background: rgba(255,255,255,.65);
  border: 1px solid var(--line);
  padding: 24px;
}
.hero__schematic-corner {
  position: absolute;
  width: 12px; height: 12px;
  border: 2px solid var(--ink);
}
.hero__schematic-corner.tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.hero__schematic-corner.tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.hero__schematic-corner.bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.hero__schematic-corner.br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.hero__schematic-figref {
  position: absolute;
  top: -8px; left: 16px;
  background: var(--bg);
  padding: 0 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gold-text);
  letter-spacing: 0.18em;
}
.hero__schematic-caption {
  position: absolute;
  bottom: -28px; left: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* Section common
   ------------------------------------------------------------ */
.section {
  position: relative;
  padding: var(--pad-y) var(--pad-x);
  border-bottom: 1px solid var(--line);
}
.section--alt { background: var(--paper); }
.section__head {
  max-width: var(--container);
  margin: 0 auto 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
}
.section__id {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold-text);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section__id::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--gold);
}
.section__title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  word-break: keep-all;
}
.section__title-accent {
  display: block;
  color: var(--gold-text);
}
.section__sub {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-2);
  padding-left: 24px;
  border-left: 2px solid var(--gold);
}

/* Problem
   ------------------------------------------------------------ */
.problem__intro {
  max-width: var(--container);
  margin: 0 auto 48px;
  padding: 36px 40px;
  background: var(--paper);
  border-left: 4px solid var(--gold);
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-2);
}
.problem__intro strong { color: var(--ink); font-weight: 700; }
.problem__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}
.problem__card {
  padding: 36px 32px;
  background: var(--bg);
  border-right: 1px solid var(--line);
  position: relative;
}
.problem__card:last-child { border-right: none; }
.problem__card-ref {
  position: absolute;
  top: 12px; right: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gold-text);
  letter-spacing: 0.15em;
}
.problem__card-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 4px 8px;
  border: 1px solid var(--line-strong);
  margin-bottom: 24px;
}
.problem__card-icon {
  margin-bottom: 20px;
  color: var(--gold);
}
.problem__card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.4;
}
.problem__card-body {
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-2);
  margin-bottom: 16px;
}
.problem__card-eg {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--gold-text);
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}

/* Mission
   ------------------------------------------------------------ */
.mission__statement {
  max-width: var(--container);
  margin: 0 auto 60px;
  text-align: center;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--ink-2);
}
.mission__statement strong { color: var(--ink); font-weight: 900; }
.mission__statement em { font-style: normal; color: var(--gold-text); font-weight: 700; }
.mission__flow {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr;
  gap: 0;
  align-items: stretch;
}
.mission__cell {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 32px 28px;
}
.section--alt .mission__cell { background: var(--bg); }
.mission__cell-id {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--gold-text);
  margin-bottom: 12px;
}
.mission__cell-title {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 4px;
}
.mission__cell-kana {
  font-size: 13px;
  color: var(--gold-text);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.mission__cell-body {
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-2);
  margin-bottom: 20px;
}
.mission__cell-spec {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink);
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.mission__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

/* Pillars
   ------------------------------------------------------------ */
.pillars__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.pillar {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 44px;
}
.section--alt .pillar { background: var(--bg); }
.pillar__head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.pillar__head-id {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink);
  color: var(--gold-mark);
  font-weight: 900;
  font-size: 18px;
}
.pillar__head-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.pillar__head-meta strong {
  color: var(--gold-text);
  display: block;
  margin-top: 2px;
}
.pillar__title {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.005em;
}
.pillar__title em { font-style: normal; color: var(--gold-text); }
.pillar__sub {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-2);
  margin-bottom: 28px;
}
.pillar__items { display: grid; gap: 14px; }
.pillar__item {
  padding: 16px 18px;
  background: var(--paper);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-2);
}
.pillar__item-key {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gold-text);
  letter-spacing: 0.12em;
  padding-top: 3px;
}

/* Structure
   ------------------------------------------------------------ */
.structure__body { max-width: var(--container); margin: 0 auto; }
.structure__diagram-wrap {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 48px;
  margin-bottom: 56px;
  position: relative;
}
.structure__diagram-figref {
  position: absolute;
  top: -10px; left: 28px;
  background: var(--paper);
  padding: 2px 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gold-text);
  letter-spacing: 0.18em;
}
.structure__roles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  margin-bottom: 56px;
}
.structure__role {
  padding: 28px 24px;
  background: var(--bg);
  border-right: 1px solid var(--line);
}
.structure__role:last-child { border-right: none; }
.structure__role-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}
.structure__role-letter {
  font-size: 26px;
  font-weight: 900;
  color: var(--gold-text);
  line-height: 1;
}
.structure__role-stage {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 3px 8px;
  border: 1px solid var(--line-strong);
}
.structure__role-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.35;
}
.structure__role-desc {
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-2);
}
.structure__loop-wrap {
  background: var(--ink);
  color: #f5efe1;
  padding: 56px 48px;
  position: relative;
}
.structure__loop-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 12px;
}
.structure__loop-title {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.005em;
}
.structure__loop-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold-mark);
}
.structure__diagram svg,
.structure__loop-wrap svg { width: 100%; height: auto; display: block; }

/* Benefits — why join
   ------------------------------------------------------------ */
.benefits__body { max-width: var(--container); margin: 0 auto; }
.benefit {
  display: grid;
  grid-template-columns: 220px 1fr 320px;
  gap: 48px;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.benefit:first-child { border-top: 2px solid var(--ink); }
.benefit:last-child { border-bottom: 2px solid var(--ink); }
.benefit__who { display: flex; flex-direction: column; gap: 6px; }
.benefit__who-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gold-text);
}
.benefit__who-name {
  font-size: 24px;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.005em;
}
.benefit__who-serial {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  margin-top: 4px;
}
.benefit__quote {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--line);
}
.benefit__quote-mark {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--gold);
  font-weight: 500;
  vertical-align: -2px;
  margin-right: 6px;
}
.benefit__list { display: grid; gap: 12px; }
.benefit__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
}
.benefit__list li::before {
  content: "→";
  color: var(--gold-text);
  font-weight: 700;
}
.benefit__step {
  background: var(--paper);
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
}
.benefit__step-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 10px;
}
.benefit__step-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 10px;
  letter-spacing: -0.005em;
}
.benefit__step-body {
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 16px;
}
.benefit__step-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
}
.benefit__step-link svg { width: 12px; height: 12px; }
.benefit__step-link:hover {
  color: var(--gold-text);
  border-color: var(--gold-text);
  gap: 12px;
}

/* Action / Get Involved
   ------------------------------------------------------------ */
.action__cta {
  max-width: var(--container);
  margin: 0 auto 64px;
  background: var(--ink);
  color: #f5efe1;
  padding: 56px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: center;
}
.action__cta::before {
  content: "";
  position: absolute;
  top: 16px; right: 16px; bottom: 16px; left: 16px;
  border: 1px solid #2d251c;
  pointer-events: none;
}
.action__cta-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-mark);
  margin-bottom: 20px;
}
.action__cta-title {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.005em;
}
.action__cta-body {
  font-size: 14px;
  line-height: 1.8;
  color: #b8aa8e;
  max-width: 500px;
}
.action__cta-side { text-align: center; }
.action__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  background: var(--gold-mark);
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  transition: background .2s, transform .2s;
}
.action__cta-btn svg { width: 14px; height: 14px; }
.action__cta-btn:hover { background: var(--gold-soft); transform: translateY(-2px); }
.action__cta-meta {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: #8c8170;
}
.action__cta-note {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding: 16px 20px;
  border-left: 3px solid var(--gold-mark);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  line-height: 1.85;
  color: #cdbfa3;
}
.action__cta-note a { color: var(--gold-mark); text-decoration: underline; }

.action__cats {
  max-width: var(--container);
  margin: 0 auto 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.action__cat {
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
}
.section--alt .action__cat { background: var(--bg); }
.action__cat-id {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gold-text);
  margin-bottom: 14px;
}
.action__cat-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.35;
}
.action__cat-body {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 16px;
}
.action__cat-eg {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.action__cat-eg b { color: var(--gold-text); }

.action__steps-wrap {
  max-width: var(--container);
  margin: 0 auto;
  background: var(--bg);
  padding: 40px;
  border: 1px solid var(--line);
}
.section--alt .action__steps-wrap { background: var(--bg); }
.action__steps-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 12px;
}
.action__steps-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--ink);
}
.action__steps-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold-text);
}
.action__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.action__step { padding: 20px 24px 20px 0; }
.action__step + .action__step { padding-left: 24px; border-left: 1px solid var(--line); }
.action__step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold-text);
  letter-spacing: 0.18em;
  margin-bottom: 12px;
}
.action__step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.action__step-body {
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 14px;
}
.action__step-effort {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}
.action__step-effort span { color: var(--gold-text); }

.action__channels {
  max-width: var(--container);
  margin: 60px auto 0;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.action__channel {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: all .2s;
}
.action__channel svg { width: 18px; height: 18px; }
.action__channel:hover {
  border-color: var(--gold);
  color: var(--gold-text);
}

/* Team
   ------------------------------------------------------------ */
.team__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.team__card {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 20px;
}
.section--alt .team__card { background: var(--bg); }
.team__card-ref {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--gold-text);
  margin-bottom: 12px;
}
.team__portrait {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--paper);
  border: 1px solid var(--line);
  position: relative;
  margin-bottom: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.team__portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.team__portrait-fallback {
  font-size: 44px;
  font-weight: 700;
  color: var(--gold-text);
}
.team__portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0 6px, rgba(168,140,82,.06) 6px 7px);
  pointer-events: none;
}
.team__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.team__aff {
  font-size: 11px;
  color: var(--ink-3);
  line-height: 1.5;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

/* Footer
   ------------------------------------------------------------ */
.footer {
  background: var(--ink);
  color: #c8bba2;
  padding: 64px 56px 24px;
  border-top: 4px solid var(--gold);
}
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 64px;
}
.footer__brand {
  display: flex; align-items: baseline; gap: 12px;
  margin-bottom: 20px;
  color: #fff;
}
.footer__brand img {
  height: 22px; width: auto;
  filter: brightness(0) invert(1);
}
.footer__brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--gold-mark);
  padding: 2px 8px;
  border: 1px solid var(--gold);
}
.footer__about {
  font-size: 13px;
  line-height: 1.7;
  color: #8c8170;
  max-width: 360px;
}
.footer__about--mono {
  margin-top: 14px;
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
}
.footer__about--mono a { color: inherit; text-decoration: underline; }
.footer__about--mono a:hover { color: var(--gold-mark); }
.footer__group-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-mark);
  margin-bottom: 16px;
}
.footer__group a {
  display: block;
  font-size: 13px;
  padding: 5px 0;
  color: #c8bba2;
}
.footer__group a:hover { color: var(--gold-mark); }
.footer__bottom {
  max-width: var(--container);
  margin: 48px auto 0;
  padding-top: 20px;
  border-top: 1px solid #2d251c;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: #8c8170;
  flex-wrap: wrap;
  gap: 8px;
}

/* Responsive — Tablet
   ------------------------------------------------------------ */
@media screen and (max-width: 1024px) {
  :root { --pad-x: 32px; --pad-y: 80px; }
  .hero__title { font-size: 48px; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .section__head { grid-template-columns: 1fr; gap: 24px; }
  .section__title { font-size: 36px; }
  .benefit { grid-template-columns: 180px 1fr; gap: 32px; }
  .benefit__step { grid-column: 1 / -1; }
  .pillars__grid { grid-template-columns: 1fr; }
  .action__cta { grid-template-columns: 1fr; gap: 32px; }
  .action__steps { grid-template-columns: repeat(2, 1fr); }
  .action__step:nth-child(3),
  .action__step:nth-child(4) {
    border-top: 1px solid var(--line);
    padding-top: 24px;
    margin-top: 24px;
  }
  .action__step:nth-child(3) { padding-left: 0; border-left: 0; }
  .team__grid { grid-template-columns: repeat(3, 1fr); }
  .structure__roles { grid-template-columns: repeat(2, 1fr); }
  .structure__role:nth-child(2) { border-right: none; }
  .structure__role:nth-child(1),
  .structure__role:nth-child(2) { border-bottom: 1px solid var(--line); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .mission__flow { grid-template-columns: 1fr; }
  .mission__arrow { transform: rotate(90deg); padding: 12px 0; }
  .header__nav-list a { padding: 6px 10px; font-size: 11px; }
}

/* Responsive — Mobile
   ------------------------------------------------------------ */
@media screen and (max-width: 768px) {
  :root { --pad-x: 20px; --pad-y: 64px; }

  .header { padding: 12px 20px; grid-template-columns: auto auto; }
  .header__menu-btn { display: flex; }
  .header__nav {
    position: fixed;
    top: 0; right: -100%;
    width: 80%; max-width: 320px;
    height: 100vh;
    background: var(--ink);
    padding: 80px 28px 28px;
    transition: right .3s ease;
    box-shadow: -8px 0 24px rgba(0,0,0,.3);
    overflow-y: auto;
  }
  .header__nav.is-open { right: 0; }
  .header__nav-list {
    flex-direction: column;
    gap: 0;
    justify-content: flex-start;
  }
  .header__nav-list a {
    padding: 16px 0;
    font-size: 15px;
    border-bottom: 1px solid #2d251c;
    color: #f5efe1;
  }
  .header__back { display: none; }
  main { padding-top: 72px; }

  .hero { padding: 56px 20px 64px; }
  .hero__title { font-size: 32px; }
  .hero__desc { font-size: 14px; }
  .hero__specs { grid-template-columns: 1fr 1fr; gap: 20px; }
  .btn { padding: 14px 20px; font-size: 12px; }

  .section__title { font-size: 28px; }
  .section__sub { font-size: 14px; padding-left: 16px; }
  .problem__grid { grid-template-columns: 1fr; }
  .problem__card { border-right: none; border-bottom: 1px solid var(--line); }
  .problem__card:last-child { border-bottom: none; }
  .mission__statement { font-size: 18px; }
  .pillar { padding: 28px 24px; }
  .pillar__title { font-size: 22px; }
  .structure__roles { grid-template-columns: 1fr; }
  .structure__role { border-right: none; border-bottom: 1px solid var(--line); }
  .structure__role:last-child { border-bottom: none; }
  .structure__loop-wrap { padding: 32px 20px; }
  .structure__diagram-wrap { padding: 24px; }

  .benefit { grid-template-columns: 1fr; gap: 20px; padding: 32px 0; }
  .benefit__quote { font-size: 18px; }
  .benefit__who-name { font-size: 20px; }
  .benefit__step { grid-column: 1 / -1; }

  .action__cta { padding: 32px 24px; }
  .action__cta-title { font-size: 24px; }
  .action__cats { grid-template-columns: 1fr; }
  .action__steps-wrap { padding: 24px; }
  .action__steps { grid-template-columns: 1fr; }
  .action__step,
  .action__step + .action__step { padding: 16px 0; border-left: 0; border-top: 1px solid var(--line); }
  .action__step:first-child { border-top: 0; }
  .action__channels { flex-direction: column; gap: 12px; }

  .team__grid { grid-template-columns: repeat(2, 1fr); }

  .footer { padding: 48px 20px 20px; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 6px; align-items: flex-start; }
}

/* Reduced motion: respect prefers-reduced-motion
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in {
    opacity: 1;
    transform: none;
  }
}
