/* =========================================================
   AI Human Capital — Renewal (editorial layer)
   Loaded after styles.css. Keeps brand tokens; replaces layout.
   Type: Noto Serif JP (display) / Noto Sans JP (text) /
         Cormorant Garamond (numerals) / Roboto Mono (labels)
   ========================================================= */

:root {
  --f-num: "Cormorant Garamond", "Noto Serif JP", serif;
  --ico-accent: var(--gold-500);
  --wrap: 1320px;
  --gut: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.2,.7,.2,1);
}

body { background: var(--paper); }
img { max-width: 100%; display: block; }

.r-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.r-sec { padding: clamp(80px, 10vw, 152px) 0; position: relative; }
.r-sec.is-tight { padding: clamp(64px, 7vw, 104px) 0; }
.r-sec.is-surface { background: var(--surface); }
.r-rule-top { border-top: 1px solid var(--rule); }

/* ---------- Section head (chapter + title) ---------- */
.r-head {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(0, 3fr);
  gap: 24px var(--gut);
  align-items: start;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.r-chap {
  display: flex; flex-direction: column; gap: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--ink);
}
.r-chap-no {
  font-family: var(--f-num); font-weight: 400;
  font-size: 15px; letter-spacing: .08em; color: var(--ink-muted);
}
.r-chap .eyebrow { font-size: 11px; letter-spacing: .2em; }
.r-chap .eyebrow::before { display: none; }
.r-h2 {
  font-family: var(--f-serif); font-weight: 600;
  font-size: clamp(30px, 4vw, 58px); line-height: 1.32; letter-spacing: .01em;
  margin: 0; word-break: keep-all; overflow-wrap: break-word; text-wrap: balance;
}
.r-h2 .b { color: var(--brand); }
.r-lead { margin: 24px 0 0; max-width: 46em; font-size: 16px; line-height: 2; color: var(--ink-strong); }
.r-note { font-size: 13px; line-height: 1.8; color: var(--ink-muted); }

/* ---------- Icons ---------- */
.ico { width: 20px; height: 20px; flex-shrink: 0; display: block; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ico-label { display: flex; align-items: center; gap: 10px; line-height: 1.2; }

/* ---------- Photos ---------- */
.r-photo { position: relative; margin: 0; overflow: hidden; background: var(--n-200); }
.r-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92) contrast(1.02); transform: scale(1.04); transition: transform 1.6s var(--ease); }
.r-photo.is-in img, .reveal.is-visible .r-photo img, .r-photo.reveal.is-visible img { transform: scale(1); }
.r-photo-note {
  position: absolute; right: 12px; bottom: 10px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em;
  color: rgba(255,255,255,.82); text-shadow: 0 1px 2px rgba(0,0,0,.35);
}

/* ---------- Line drawing ---------- */
.r-draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease); }
.is-drawn .r-draw, .r-draw.is-drawn { stroke-dashoffset: 0; }

/* =========================================================
   01 HERO — shared
   ========================================================= */
.r-hero { position: relative; overflow: hidden; }
.r-h1 {
  margin: 0; font-family: var(--f-serif); font-weight: 600;
  font-size: clamp(34px, 5.4vw, 84px); line-height: 1.2; letter-spacing: .01em;
  word-break: keep-all; overflow-wrap: break-word;
}
.r-h1 .b { color: var(--brand); }
.r-hero-variant { display: none; }
body[data-hero="a"] .r-hero-a,
body[data-hero="b"] .r-hero-b { display: block; }

/* Variant A — cover: headline over a wide cinematic photo */
.r-hero-a .r-hero-copy {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px var(--gut); align-items: end;
  padding-top: clamp(40px, 6vw, 96px); padding-bottom: clamp(32px, 4vw, 56px);
}
.r-hero-a .r-hero-meta { grid-column: 1 / -1; }
.r-hero-a .r-photo { aspect-ratio: 21 / 9; }
.r-hero-a .r-photo img { object-position: center 40%; }
.r-hero-a .r-hero-meta {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; color: var(--ink-muted);
}
.r-hero-a .r-hero-meta::before { content: ""; width: 40px; height: 1px; background: var(--brand); }

/* Variant B — portrait: text-dominant, tall portrait inset */
.r-hero-b .r-hero-grid {
  display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: var(--gut); align-items: end;
  padding-top: clamp(48px, 7vw, 112px); padding-bottom: clamp(40px, 5vw, 72px);
}
.r-hero-b .r-h1 { font-size: clamp(30px, 6.4vw, 104px); line-height: 1.14; }
.r-hero-b .r-hero-copy { display: flex; flex-direction: column; gap: 48px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.r-hero-b .r-hero-cta-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; }
.r-hero-b .r-hero-index { font-family: var(--f-num); font-size: 18px; color: var(--ink-muted); letter-spacing: .06em; }
.r-hero-b .r-photo { aspect-ratio: 3 / 4; }
.r-hero-b .r-photo::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--brand); }

/* ---------- Business cards (hero) ---------- */
.r-biz { padding: clamp(40px, 5vw, 72px) 0 clamp(72px, 8vw, 120px); }
.r-biz-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); }
.r-biz-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  border-top: 1px solid var(--ink); padding-top: 18px;
}
.r-biz-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.r-biz-no { font-family: var(--f-num); font-size: 44px; line-height: 1; color: var(--ink); }
.r-biz-label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; color: var(--brand); }
.r-biz-label .ico { width: 18px; height: 18px; }
.r-biz-title { margin: 16px 0 4px; font-family: var(--f-serif); font-weight: 600; font-size: clamp(20px, 1.9vw, 28px); line-height: 1.35; word-break: keep-all; }
.r-biz-tag { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .2em; color: var(--ink-muted); }
.r-biz-media { position: relative; margin-top: 20px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--n-900); }
.r-biz-media video, .r-biz-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.r-biz-card:hover .r-biz-media img, .r-biz-card:hover .r-biz-media video { transform: scale(1.04); }
.r-biz-over {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px; color: #fff;
  background: linear-gradient(180deg, rgba(26,26,26,0) 30%, rgba(26,26,26,.78) 100%);
}
.r-biz-catch { margin: 0; font-family: var(--f-serif); font-weight: 600; font-size: clamp(16px, 1.5vw, 21px); line-height: 1.55; color: #fff; word-break: keep-all; text-wrap: pretty; }
.r-biz-foot { margin-top: 12px; display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; color: rgba(255,255,255,.75); }
.r-biz-play { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .3s var(--ease); }
.r-biz-card:hover .r-biz-play { transform: scale(1.12); }
.r-biz-body { padding-top: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.r-biz-body p { margin: 0; font-size: 14px; line-height: 1.85; color: var(--ink-strong); }
.r-biz-body .eg { font-size: 13px; color: var(--ink-muted); padding-left: 14px; border-left: 1px solid var(--gold-500); }
.r-biz-cta { margin-top: auto; padding-top: 10px; color: var(--brand); font-size: 13px; font-weight: 500; display: inline-flex; gap: 8px; align-items: center; }
.r-biz-cta .arrow { transition: transform .3s var(--ease); }
.r-biz-card:hover .r-biz-cta .arrow { transform: translateX(4px); }

/* =========================================================
   02 EASY START
   ========================================================= */
.r-easy { background: var(--n-900); color: var(--n-100); padding: clamp(48px, 6vw, 80px) 0; }
.r-easy-h { margin: 0 0 32px; font-family: var(--f-serif); font-weight: 600; font-size: clamp(22px, 2.4vw, 32px); color: #fff; }
.r-easy-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)) minmax(0, 1.1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.18); }
.r-easy-lab { grid-row: 1; padding: 14px 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; color: var(--gold-500); }
.r-easy-lab.co { grid-column: 1 / 4; }
.r-easy-lab.ind { grid-column: 4; padding-left: 28px; border-left: 1px solid rgba(255,255,255,.18); }
.r-easy-item {
  grid-row: 2; display: flex; flex-direction: column; gap: 10px; min-height: 148px;
  padding: 22px 28px 26px 0; text-decoration: none; color: inherit;
  border-top: 1px solid rgba(255,255,255,.1);
  transition: color .25s;
}
.r-easy-item + .r-easy-item { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.1); }
.r-easy-item.ind { border-left-color: rgba(255,255,255,.18); }
.r-easy-t { font-family: var(--f-serif); font-size: 19px; color: #fff; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.r-easy-t .arrow { color: var(--brand); transition: transform .3s var(--ease); }
a.r-easy-item:hover .r-easy-t .arrow { transform: translateX(5px); }
a.r-easy-item:hover .r-easy-t { color: var(--red-300); }
.r-easy-s { font-size: 13px; line-height: 1.75; color: var(--n-300); }
.r-easy-item.soon { opacity: .5; }

/* =========================================================
   03 THESIS — variants
   ========================================================= */
.r-thesis-variant { display: none; }
body[data-thesis="a"] .r-thesis-a,
body[data-thesis="b"] .r-thesis-b { display: block; }
.r-thesis-big {
  margin: 0; font-family: var(--f-serif); font-weight: 600;
  font-size: clamp(30px, 4.4vw, 68px); line-height: 1.36; letter-spacing: .01em; word-break: keep-all;
}
.r-thesis-big .b { color: var(--brand); }
.r-thesis-big .s { color: var(--ink-muted); }
.r-thesis-text p { margin: 0 0 20px; font-size: 16px; line-height: 2; color: var(--ink-strong); }
.r-thesis-text .lead { font-family: var(--f-serif); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.95; color: var(--ink); }
.r-mark { background: linear-gradient(transparent 64%, color-mix(in oklch, var(--gold-500) 38%, transparent) 64%); }
.r-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 40px; border-top: 1px solid var(--rule); }
.r-stat { padding: 20px 16px 0 0; }
.r-stat + .r-stat { padding-left: 16px; border-left: 1px solid var(--rule); }
.r-stat-v { font-family: var(--f-serif); font-weight: 600; font-size: clamp(22px, 2.2vw, 30px); color: var(--brand); line-height: 1.1; }
.r-stat-v .u { display: block; margin-top: 6px; font-family: var(--f-mono); font-weight: 400; font-size: 10.5px; letter-spacing: .2em; color: var(--ink-muted); }
.r-stat-l { margin-top: 12px; font-size: 13px; line-height: 1.7; color: var(--ink-strong); }

/* A — stack diagram */
.r-thesis-a .r-thesis-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 112px); align-items: center; margin-top: clamp(48px, 6vw, 88px); }
.r-fig { margin: 0; }
.r-fig-cap { margin-top: 18px; display: flex; gap: 12px; align-items: center; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; color: var(--ink-muted); }
.r-fig-cap::before { content: ""; width: 24px; height: 1px; background: var(--ink-muted); }
.r-stack { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: clamp(28px, 4vw, 56px) clamp(16px, 3vw, 40px); background: var(--surface); border: 1px solid var(--rule); }
.r-stack > * { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.r-stack.is-in > * { opacity: 1; transform: none; }
.r-stack.is-in .l1 { transition-delay: .05s; }
.r-stack.is-in .l2 { transition-delay: .3s; }
.r-stack.is-in .l3 { transition-delay: .55s; }
.r-stack.is-in .rooms { transition-delay: .85s; }
.r-stack .rooms { order: 0; width: 72%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.r-room { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 92px; padding: 12px 8px; border: 1px solid color-mix(in oklch, var(--brand) 40%, var(--rule)); color: var(--ink); text-decoration: none; text-align: center; font-size: 12.5px; line-height: 1.45; word-break: keep-all; transition: background .25s, color .25s; }
.r-room .ico { color: var(--brand); width: 22px; height: 22px; }
.r-room:hover { background: var(--brand); color: #fff; --ico-accent: #fff; }
.r-room:hover .ico { color: #fff; }
.r-layer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 22px; font-family: var(--f-serif); font-weight: 600; }
.r-layer .k { font-family: var(--f-mono); font-weight: 400; font-size: 10.5px; letter-spacing: .2em; padding: 3px 8px; border: 1px solid currentColor; border-radius: 999px; }
.r-layer.l3 { order: 1; width: 72%; height: 58px; border: 1px solid var(--brand); color: var(--brand); font-size: 15px; }
.r-layer.l2 { order: 2; width: 86%; height: 76px; background: color-mix(in oklch, var(--gold-500) 22%, var(--surface)); color: var(--ink); font-size: clamp(14px, 1.3vw, 17px); }
.r-layer.l1 { order: 3; width: 100%; height: 104px; background: var(--ink); color: #fff; font-size: clamp(17px, 1.7vw, 22px); }
.r-layer.l1 .k { color: var(--gold-500); }

/* B — photo strip + orbit diagram */
.r-thesis-b .r-strip { height: clamp(220px, 30vw, 420px); margin-bottom: clamp(48px, 6vw, 88px); }
.r-thesis-b .r-strip img { object-position: center 60%; }
.r-thesis-b .r-thesis-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 112px); align-items: center; margin-top: clamp(40px, 5vw, 72px); }
.r-orbit { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1; margin: 0 auto; }
.r-orbit svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.r-orbit .ring-core { fill: var(--ink); }
.r-orbit .ring-mid { fill: color-mix(in oklch, var(--gold-500) 18%, var(--surface)); stroke: color-mix(in oklch, var(--gold-500) 60%, transparent); stroke-width: 1; }
.r-orbit .ring-out { fill: none; stroke: var(--brand); stroke-width: 1; }
.r-orbit .spoke { fill: none; stroke: var(--brand); stroke-width: 1.2; }
.r-orbit .ring-txt { font-family: var(--f-serif); font-size: 15px; fill: var(--ink-strong); letter-spacing: .12em; }
.r-orbit .ring-txt.red { fill: var(--brand); font-size: 14px; }
.r-orbit-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 30%; text-align: center; color: #fff; font-family: var(--f-serif); font-weight: 600; font-size: clamp(14px, 1.5vw, 19px); line-height: 1.45; word-break: keep-all; }
.r-orbit-core small { display: block; margin-top: 6px; font-family: var(--f-mono); font-weight: 400; font-size: 10px; letter-spacing: .2em; color: var(--gold-500); }
.r-orbit-node { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--paper); border: 1px solid var(--brand); color: var(--ink); text-decoration: none; font-size: 13px; white-space: nowrap; transition: background .25s, color .25s; }
.r-orbit-node .ico { color: var(--brand); width: 18px; height: 18px; }
.r-orbit-node:hover { background: var(--brand); color: #fff; --ico-accent: #fff; }
.r-orbit-node:hover .ico { color: #fff; }
.r-orbit-node.n1 { left: 50%; top: 9%; }
.r-orbit-node.n2 { left: 85%; top: 70.5%; }
.r-orbit-node.n3 { left: 15%; top: 70.5%; }
.r-orbit .fade { opacity: 0; transition: opacity 1s var(--ease); }
.r-orbit.is-in .fade { opacity: 1; }
.r-orbit.is-in .fade.d2 { transition-delay: .4s; }
.r-orbit.is-in .fade.d3 { transition-delay: .9s; }

/* =========================================================
   04 CHALLENGES — bipartite diagram
   ========================================================= */
.r-chal { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(80px, 2fr) minmax(0, 3fr); align-items: stretch; }
.r-chal-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.r-chal-lines path { fill: none; stroke: var(--n-300); stroke-width: 1; transition: stroke .3s, stroke-width .3s, opacity .3s; }
.r-chal-lines path.is-on { stroke: var(--brand); stroke-width: 1.6; }
.r-chal.has-active .r-chal-lines path:not(.is-on) { opacity: .35; }
.r-chal-list { list-style: none; margin: 0; padding: 0; counter-reset: ch; }
.r-chal-item { position: relative; counter-increment: ch; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 16px; padding: 24px 28px 24px 0; border-top: 1px solid var(--rule); cursor: default; transition: background .3s; }
.r-chal-item:last-child { border-bottom: 1px solid var(--rule); }
.r-chal-item::before { content: counter(ch, decimal-leading-zero); grid-row: 1 / span 3; font-family: var(--f-num); font-size: 30px; line-height: 1; color: var(--ink-muted); transition: color .3s; }
.r-chal-item .q { font-family: var(--f-serif); font-weight: 600; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.6; color: var(--ink); word-break: normal; overflow-wrap: anywhere; }
.r-chal-item .a { font-size: 14px; line-height: 1.8; color: var(--ink-strong); }
.r-chal-item .tags { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.r-chal-item .tags-lab { font-size: 11px; letter-spacing: .08em; color: var(--ink-muted); }
.r-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border: 1px solid var(--brand); border-radius: 999px; color: var(--brand); font-size: 12.5px; text-decoration: none; transition: background .2s, color .2s; }
.r-tag .ico { width: 14px; height: 14px; stroke-width: 1.7; }
.r-tag:hover { background: var(--brand); color: #fff; --ico-accent: #fff; }
.r-chal-item .dot { position: absolute; right: -5px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--paper); border: 1px solid var(--n-300); transition: background .3s, border-color .3s; }
.r-chal-item.is-on::before { color: var(--brand); }
.r-chal-item.is-on .dot { background: var(--brand); border-color: var(--brand); }
.r-chal-nodes { grid-column: 3; display: flex; flex-direction: column; justify-content: space-around; gap: 16px; }
.r-node { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 20px; background: var(--surface); border: 1px solid var(--rule); text-decoration: none; color: var(--ink); transition: border-color .3s, background .3s, color .3s; }
.r-node .ico { color: var(--brand); width: 26px; height: 26px; }
.r-node .nm { font-family: var(--f-serif); font-weight: 600; font-size: 17px; line-height: 1.4; word-break: keep-all; }
.r-node .go { font-size: 12px; color: var(--brand); }
.r-node .pin { position: absolute; left: -5px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--paper); border: 1px solid var(--n-300); transition: background .3s, border-color .3s; }
.r-node.is-on { border-color: var(--brand); }
.r-node.is-on .pin { background: var(--brand); border-color: var(--brand); }
.r-node:hover { background: var(--brand); color: #fff; border-color: var(--brand); --ico-accent: #fff; }
.r-node:hover .ico, .r-node:hover .go { color: #fff; }

/* =========================================================
   05 HOW — flow + cases
   ========================================================= */
.r-flow { position: relative; margin-top: 8px; }
.r-flow-line { position: absolute; left: 0; right: 0; top: 7px; height: 2px; width: 100%; overflow: visible; }
.r-flow-line path { stroke: var(--brand); stroke-width: 1.5; fill: none; vector-effect: non-scaling-stroke; }
.r-flow-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); }
.r-flow-steps li { min-width: 0; }
.r-flow-dot { display: block; width: 15px; height: 15px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--brand); transition: background .4s var(--ease); }
.is-drawn .r-flow-dot { background: var(--brand); }
.is-drawn li:nth-child(1) .r-flow-dot { transition-delay: .1s; }
.is-drawn li:nth-child(2) .r-flow-dot { transition-delay: .45s; }
.is-drawn li:nth-child(3) .r-flow-dot { transition-delay: .8s; }
.is-drawn li:nth-child(4) .r-flow-dot { transition-delay: 1.15s; }
.is-drawn li:nth-child(5) .r-flow-dot { transition-delay: 1.5s; }
.r-flow-no { display: block; margin-top: 22px; font-family: var(--f-num); font-size: clamp(40px, 4vw, 60px); line-height: 1; color: var(--ink); }
.r-flow-t { margin: 14px 0 8px; font-family: var(--f-serif); font-weight: 600; font-size: 19px; }
.r-flow-s { font-size: 13.5px; line-height: 1.8; color: var(--ink-strong); }

.r-cases-head { margin-top: clamp(88px, 10vw, 144px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: end; padding-bottom: 28px; border-bottom: 1px solid var(--ink); }
.r-cases-head h3 { margin: 0; font-family: var(--f-serif); font-size: clamp(26px, 2.8vw, 40px); }
.r-cases-head .r-note { grid-column: 1 / -1; max-width: 60em; margin: 0; }
.r-case { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); padding: clamp(48px, 6vw, 80px) 0; border-bottom: 1px solid var(--rule); align-items: start; }
.r-case:nth-of-type(even) .r-case-photo { order: 2; }
.r-case-photo { aspect-ratio: 4 / 5; position: sticky; top: 100px; }
.r-case-label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; color: var(--brand); }
.r-ba { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1.25fr); align-items: stretch; }
.r-ba-box { padding: 22px 22px 24px; border: 1px solid var(--rule); background: var(--surface); }
.r-ba-box.is-after { border-color: var(--brand); background: color-mix(in oklch, var(--brand) 5%, var(--surface)); }
.r-ba-lab { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .18em; color: var(--ink-muted); }
.r-ba-box.is-after .r-ba-lab { color: var(--brand); }
.r-ba-box p { margin: 10px 0 0; font-size: 14px; line-height: 1.8; color: var(--ink-strong); }
.r-ba-box h4 { margin: 10px 0 0; font-family: var(--f-serif); font-weight: 600; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.6; color: var(--ink); overflow-wrap: anywhere; }
.r-ba-arrow { display: flex; align-items: center; justify-content: center; }
.r-ba-arrow svg { width: 100%; height: 20px; overflow: visible; }
.r-ba-arrow path { fill: none; stroke: var(--brand); stroke-width: 1.5; }
.r-plan { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.r-plan > div { padding: 16px 16px 16px 0; }
.r-plan > div + div { padding-left: 16px; border-left: 1px solid var(--rule); }
.r-plan .lab { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .16em; color: var(--brand); }
.r-plan .val { margin-top: 6px; font-family: var(--f-serif); font-weight: 600; font-size: clamp(20px, 2vw, 26px); line-height: 1.2; }
.r-plan .sub { margin-top: 6px; font-size: 12px; color: var(--ink-muted); }
.r-case-dl { margin: 24px 0 0; display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 14px 20px; }
.r-case-dl dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--brand); padding-top: 4px; }
.r-case-dl dd { margin: 0; font-size: 14px; line-height: 1.85; color: var(--ink-strong); }

/* =========================================================
   06 TOPICS
   ========================================================= */
.r-topic-group { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 20px var(--gut); padding: 32px 0; border-top: 1px solid var(--rule); }
.r-topic-group:last-child { border-bottom: 1px solid var(--rule); }
.r-topic-lab { font-family: var(--f-serif); font-weight: 600; font-size: 16px; line-height: 1.6; color: var(--ink); align-items: flex-start; }
.r-topic-lab .ico { color: var(--brand); width: 22px; height: 22px; margin-top: 2px; }
.r-topic-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gut); }
.r-topic-card { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 16px 0; border-bottom: 1px dashed var(--rule); }
.r-topic-card:nth-last-child(-n+2):nth-child(odd), .r-topic-card:last-child { border-bottom: 0; }
.r-topic-t { font-family: var(--f-serif); font-size: 16px; line-height: 1.75; color: var(--ink); }
.r-topic-s { flex-shrink: 0; font-size: 11.5px; color: var(--ink-muted); white-space: nowrap; }

/* =========================================================
   07 STRENGTHS
   ========================================================= */
.r-str-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gut); }
.r-str { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 28px; padding: 40px 0; border-top: 1px solid var(--ink); }
.r-str-no { font-family: var(--f-num); font-weight: 400; font-size: clamp(64px, 6vw, 96px); line-height: .85; color: var(--brand); }
.r-str-lab { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .2em; color: var(--ink-muted); }
.r-str h3 { margin: 10px 0 14px; font-family: var(--f-serif); font-size: clamp(22px, 2vw, 28px); }
.r-str p { margin: 0; font-size: 15px; line-height: 1.95; color: var(--ink-strong); }

/* =========================================================
   VISION — full-bleed photo
   ========================================================= */
.r-vision-hero { position: relative; min-height: min(82vh, 760px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.r-vision-hero .r-photo { position: absolute; inset: 0; background: var(--n-900); }
.r-vision-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,18,16,.82) 0%, rgba(20,18,16,.55) 45%, rgba(20,18,16,.05) 80%), linear-gradient(0deg, rgba(20,18,16,.5), transparent 40%); }
.r-vision-copy { position: relative; z-index: 2; max-width: 620px; padding-bottom: clamp(56px, 7vw, 104px); }
.r-vision-copy .eyebrow { color: var(--gold-500); }
.r-vision-copy .eyebrow::before { background: var(--gold-500); }
.r-vision-copy h2 { margin: 20px 0 24px; color: #fff; font-size: clamp(34px, 4.4vw, 64px); line-height: 1.25; }
.r-vision-copy p { margin: 0; font-size: 15.5px; line-height: 2.05; color: rgba(255,255,255,.88); }
.r-vision-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.r-vision-col { padding: clamp(32px, 4vw, 56px) clamp(20px, 3vw, 40px) clamp(32px, 4vw, 56px) 0; }
.r-vision-col + .r-vision-col { padding-left: clamp(20px, 3vw, 40px); border-left: 1px solid var(--rule); }
.r-vision-col .lab { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; color: var(--brand); }
.r-vision-col h3 { margin: 18px 0 0; font-family: var(--f-serif); font-size: clamp(20px, 2vw, 27px); line-height: 1.65; word-break: keep-all; }
.r-vision-col h3 .b { color: var(--brand); }

/* =========================================================
   TEAM
   ========================================================= */
.r-team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px var(--gut); }
.r-member { border-top: 1px solid var(--rule); padding-top: 22px; }
.r-mono { width: 84px; height: 84px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid var(--ink); font-family: var(--f-num); font-size: 30px; letter-spacing: .04em; color: var(--ink); position: relative; }
.r-mono::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid color-mix(in oklch, var(--gold-500) 60%, transparent); }
.r-member .ini { margin-top: 22px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--brand); }
.r-member .role { margin-top: 6px; font-family: var(--f-serif); font-weight: 600; font-size: 18px; }
.r-member p { margin: 10px 0 0; font-size: 13.5px; line-height: 1.85; color: var(--ink-strong); }

/* =========================================================
   CONTACT
   ========================================================= */
.r-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 112px); }
.r-contact-photo { aspect-ratio: 16 / 10; margin: 40px 0; }
.r-contact .r-h2 { font-size: clamp(32px, 3.8vw, 54px); }
.r-contact .co-dl { margin: 0; display: grid; grid-template-columns: 7.5em 1fr; gap: 12px 20px; font-size: 14px; }
.r-contact .co-dl dt { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; color: var(--brand); padding-top: 3px; }
.r-contact .co-dl dd { margin: 0; line-height: 1.75; color: var(--ink-strong); }
.r-contact .co-dl a { color: var(--brand); text-decoration: underline; }
.r-promise { margin-top: 40px; padding: 24px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.r-promise ul { margin: 12px 0 0; padding-left: 20px; line-height: 2.1; color: var(--ink-strong); font-size: 14.5px; }
.r-form { position: sticky; top: 96px; padding: clamp(28px, 3vw, 48px); background: var(--surface); border: 1px solid var(--rule); }
.r-form h3 { font-size: 22px; }

/* ---------- Footer tweak ---------- */
.footer { margin-top: 0; }
.soon { opacity: .55; cursor: default; pointer-events: none; }

/* =========================================================
   Tweaks panel
   ========================================================= */
.r-tweaks { position: fixed; right: 20px; bottom: 20px; z-index: 200; width: 260px; padding: 18px; background: var(--surface); border: 1px solid var(--rule); box-shadow: var(--sh-lg); font-size: 12px; display: none; }
.r-tweaks.is-open { display: block; }
.r-tweaks h4 { margin: 0 0 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; color: var(--brand); font-weight: 500; display: flex; justify-content: space-between; }
.r-tweaks h4 button { border: 0; background: none; cursor: pointer; color: var(--ink-muted); font-size: 14px; }
.r-tw-g { margin-bottom: 14px; }
.r-tw-l { color: var(--ink-muted); margin-bottom: 6px; }
.r-tw-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px; background: var(--n-100); }
.r-tw-seg button { padding: 8px 4px; border: 0; background: transparent; cursor: pointer; font: inherit; color: var(--ink-strong); }
.r-tw-seg button.on { background: var(--surface); color: var(--ink); box-shadow: var(--sh-sm); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .r-chal { grid-template-columns: minmax(0, 6fr) minmax(48px, 1.2fr) minmax(0, 3fr); }
  .r-team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .r-head { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .r-head > * { min-width: 0; }
  .r-chap { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; min-width: 0; }
  .r-chap .eyebrow { min-width: 0; flex-wrap: wrap; letter-spacing: .14em; }

  .r-hero-a .r-hero-copy { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .r-hero-a .r-hero-copy > * { min-width: 0; }
  .r-hero-a .r-hero-meta { flex-wrap: wrap; letter-spacing: .14em; }
  .r-hero .btn-lg { white-space: normal; padding: 16px 22px; font-size: 14px; max-width: 100%; }
  .r-hero-b .r-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .r-hero-a .r-photo { aspect-ratio: 4 / 3; }
  .r-hero-a .r-photo img { object-position: 30% center; }
  .r-hero-b .r-hero-grid > * { min-width: 0; }
  .r-hero-b .r-h1 { font-size: clamp(22px, 6.6vw, 56px); }
  .r-hero-b .r-photo { aspect-ratio: 4 / 3; }

  .r-biz-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding-bottom: 12px; margin-right: calc(var(--gut) * -1); padding-right: var(--gut); }
  .r-biz-card { flex: 0 0 82%; scroll-snap-align: start; }

  .r-easy-grid { grid-template-columns: 1fr; }
  .r-easy-lab.co, .r-easy-lab.ind, .r-easy-item { grid-column: auto; grid-row: auto; }
  .r-easy-lab.ind { padding-left: 0; border-left: 0; margin-top: 16px; border-top: 1px solid rgba(255,255,255,.18); }
  .r-easy-item, .r-easy-item + .r-easy-item { padding: 18px 0; min-height: 0; border-left: 0; }

  .r-thesis-a .r-thesis-grid, .r-thesis-b .r-thesis-grid { grid-template-columns: 1fr; }
  .r-stats { grid-template-columns: 1fr; }
  .r-stat, .r-stat + .r-stat { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 9em 1fr; gap: 12px; align-items: center; }
  .r-stat-l { margin-top: 0; }
  .r-stack .rooms, .r-layer.l3 { width: 80%; }
  .r-layer { padding: 0 14px; }
  .r-room { min-height: 80px; font-size: 11.5px; }
  .r-orbit-node { font-size: 11.5px; padding: 8px 10px; }

  .r-chal { grid-template-columns: 1fr; }
  .r-chal-lines, .r-chal-item .dot, .r-node .pin { display: none; }
  .r-chal-nodes { grid-column: auto; grid-row: 1; flex-direction: row; margin-bottom: 24px; gap: 8px; }
  .r-node { flex: 1; padding: 14px 12px; gap: 6px; }
  .r-node .nm { font-size: 13px; }
  .r-node .go { display: none; }
  .r-chal-item { grid-template-columns: 40px minmax(0, 1fr); padding-right: 0; }
  .r-chal-item::before { font-size: 24px; }

  .r-flow-line { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: 100%; }
  .r-flow-steps { grid-template-columns: 1fr; gap: 0; }
  .r-flow-steps li { display: grid; grid-template-columns: 15px 64px minmax(0, 1fr); gap: 0 18px; padding-bottom: 28px; align-items: start; }
  .r-flow-no { margin-top: 0; font-size: 36px; grid-column: 2; grid-row: 1 / span 2; }
  .r-flow-t { margin: 2px 0 4px; grid-column: 3; }
  .r-flow-s { grid-column: 3; }
  .r-flow-dot { grid-row: 1; margin-top: 8px; }

  .r-case { grid-template-columns: 1fr; }
  .r-case:nth-of-type(even) .r-case-photo { order: 0; }
  .r-case-photo { position: relative; top: 0; aspect-ratio: 16 / 10; }
  .r-ba { grid-template-columns: 1fr; }
  .r-ba-arrow { height: 40px; }
  .r-ba-arrow svg { width: 20px; height: 100%; transform: rotate(90deg); }
  .r-case-dl { grid-template-columns: 1fr; gap: 4px; }
  .r-case-dl dd { margin-bottom: 10px; }

  .r-topic-group { grid-template-columns: 1fr; }
  .r-topic-cards { grid-template-columns: 1fr; }
  .r-topic-card:nth-last-child(-n+2):nth-child(odd) { border-bottom: 1px dashed var(--rule); }
  .r-topic-card:last-child { border-bottom: 0; }

  .r-str-grid { grid-template-columns: 1fr; }
  .r-vision-cols { grid-template-columns: 1fr; }
  .r-vision-col, .r-vision-col + .r-vision-col { padding: 28px 0; border-left: 0; border-top: 1px solid var(--rule); }
  .r-team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .r-contact { grid-template-columns: 1fr; }
  .r-form { position: static; }
  .nav-link { display: none; }
  .r-thesis-grid > *, .r-case > *, .r-contact > *, .r-topic-group > *, .r-chal > * { min-width: 0; }
  body { overflow-x: clip; }
}
@media (max-width: 560px) {
  .r-plan { grid-template-columns: 1fr; }
  .r-plan > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .r-contact .co-dl { grid-template-columns: 1fr; gap: 2px 0; }
  .r-contact .co-dl dd { margin-bottom: 10px; }
  .r-str { grid-template-columns: 1fr; gap: 12px; }
  .r-topic-card { flex-direction: column; gap: 4px; }
  .r-orbit { width: 88%; }
  .r-orbit-node { font-size: 10.5px; padding: 6px 8px; gap: 5px; white-space: normal; width: max-content; max-width: 9.5em; text-align: left; line-height: 1.35; }
  .r-orbit-node.n2 { left: 76%; }
  .r-orbit-node.n3 { left: 24%; }
  .r-orbit-node .ico { width: 14px; height: 14px; }
  .r-orbit .ring-txt { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .r-draw { stroke-dashoffset: 0; transition: none; }
  .r-stack > *, .r-orbit .fade { opacity: 1; transform: none; transition: none; }
  .r-photo img { transform: none; }
}
