/* Shinrai Local Partners — editorial system
   Paper / Ink / Vermilion (lantern red) / Jade night
*/
:root {
  --paper: #FFFFFF;
  --paper-2: #F3F4F6;
  --ink: #15140F;
  --ink-2: #4A473F;
  --ink-3: #8A857A;
  --line: rgba(21,20,15,.16);
  --red: oklch(0.6 0.2 33);
  --red-deep: oklch(0.5 0.18 30);
  --night: #0F1A16;
  --night-2: #17251F;
  --gold: oklch(0.82 0.13 85);
  --jp: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --serif: "Instrument Serif", "Zen Old Mincho", serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --pad: clamp(20px, 4vw, 64px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: #1b1a17; }
body { font-family: var(--jp); color: var(--ink); -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- viewport shell (desktop / mobile preview) ---------- */
.shell { min-height: 100vh; }
.shell.mobile { display: grid; place-items: center; padding: 32px 0; min-height: 100vh; background: #1b1a17; }
.device { width: 100%; }
.shell.mobile .device {
  width: 390px; height: min(844px, calc(100vh - 64px));
  border-radius: 44px; overflow: hidden; border: 10px solid #000;
  box-shadow: 0 0 0 1px #333, 0 40px 80px rgba(0,0,0,.5);
  position: relative;
}
.site { container: slp / inline-size; background: var(--paper); min-height: 100vh; position: relative; overflow-x: clip; }
.shell.mobile .site { height: 100%; min-height: 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; }

/* ---------- type ---------- */
.label { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; }
.label::before { content: ""; width: 8px; height: 8px; background: var(--red); border-radius: 50%; }
.serif-it { font-family: var(--serif); font-style: italic; font-weight: 400; }
.h-xl { font-weight: 900; font-size: clamp(44px, 7.6cqi, 132px); line-height: 1.02; letter-spacing: -.02em; }
.h-l { font-weight: 900; font-size: clamp(32px, 4.6cqi, 76px); line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }
.h-m { font-weight: 700; font-size: clamp(22px, 2.2cqi, 32px); line-height: 1.35; }
.body-l { font-size: clamp(15px, 1.15cqi, 18px); line-height: 2; color: var(--ink-2); text-wrap: pretty; }
.wrap { padding-inline: var(--pad); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 14px; padding: 18px 26px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: transform .25s, background .25s, color .25s; white-space: nowrap; }
.btn .arr { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 14px; transition: transform .3s; }
.btn:hover .arr { transform: translateX(4px) rotate(-45deg); }
.btn-red { background: var(--red); color: #fff; }
.btn-red .arr { background: #fff; color: var(--red); }
.btn-red:hover { background: var(--red-deep); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink .arr { background: var(--paper); color: var(--ink); }
.btn-ghost { border: 1px solid currentColor; }
.btn-ghost .arr { border: 1px solid currentColor; }
.link-more { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; display: inline-flex; gap: 12px; align-items: center; border-bottom: 1px solid currentColor; padding-bottom: 6px; }
.link-more span { transition: transform .3s; }
.link-more:hover span { transform: translateX(6px); }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px var(--pad); transition: background .3s, color .3s, box-shadow .3s; }
.hdr.on-dark { color: var(--paper); }
.hdr.scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(12px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.logo { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.logo-mark { width: 38px; height: 38px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 19px; flex: none; }
.logo-txt { line-height: 1.05; }
.logo-txt b { display: block; font-size: 15px; letter-spacing: .02em; font-weight: 900; }
.logo-txt small { font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em; opacity: .7; }
.nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 500; }
.nav a { cursor: pointer; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.hdr-r { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; border: 1px solid currentColor; border-radius: 999px; padding: 3px; font-family: var(--mono); font-size: 11px; }
.lang a { padding: 6px 10px; border-radius: 999px; letter-spacing: .08em; }
.lang a.on { background: currentColor; }
.lang a.on span { color: var(--paper); mix-blend-mode: normal; }
.hdr.on-dark:not(.scrolled) .lang a.on span { color: var(--night); }
.hdr .btn { padding: 12px 18px; font-size: 13px; }
.hdr .btn .arr { width: 22px; height: 22px; font-size: 12px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid currentColor; place-items: center; }
.burger i { display: block; width: 16px; height: 1.5px; background: currentColor; box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor; }
.drawer { position: fixed; inset: 0; z-index: 60; background: var(--night); color: var(--paper); padding: 90px var(--pad) 40px; display: flex; flex-direction: column; gap: 6px; transform: translateY(-100%); transition: transform .5s cubic-bezier(.7,0,.2,1); }
.shell.mobile .drawer { position: absolute; border-radius: 34px; }
.drawer:not(.open) { visibility: hidden; transition: transform .5s cubic-bezier(.7,0,.2,1), visibility 0s .5s; }
.drawer.open { transform: none; }
.drawer a { font-size: 34px; font-weight: 900; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; }
.drawer a small { font-family: var(--mono); font-size: 11px; opacity: .5; }
.drawer .x { position: absolute; top: 20px; right: var(--pad); width: 44px; height: 44px; border-radius: 50%; border: 1px solid currentColor; font-size: 20px; }

/* ---------- HERO shared ---------- */
.hero { position: relative; margin-top: -76px; }
.hero-kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; }
.hero-title .l1, .hero-title .l2 { display: block; }
.hero-title .l2 { color: var(--red); }
.hero-sub { max-width: 34em; }
.rise { display: block; overflow: hidden; }
.rise > span { display: inline-block; transform: translateY(105%); animation: rise 1s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes rise { to { transform: none; } }
.fade-in { opacity: 0; animation: fadeIn .9s ease forwards; }
@keyframes fadeIn { to { opacity: 1; } }

/* Hero A — split editorial */
.heroA { display: grid; grid-template-columns: 1.1fr 1fr; min-height: max(760px, 100vh); background: var(--paper); }
.shell.mobile .heroA { min-height: 0; }
.heroA-l { padding: 140px var(--pad) 60px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.heroA-l .hero-title { font-size: clamp(48px, 6.4cqi, 116px); }
.heroA-r { position: relative; overflow: hidden; }
.heroA-r img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: slowzoom 14s ease-out forwards; }
@keyframes slowzoom { to { transform: scale(1); } }
.heroA-r .heroA-board { position: absolute; left: 0; bottom: 40px; }
.heroA-meta { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }

/* Hero B — full-bleed */
.heroB { min-height: max(800px, 100vh); color: var(--paper); background: var(--night); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.shell.mobile .heroB { min-height: 760px; }
.heroB-bg { position: absolute; inset: 0; }
.heroB-bg img { width: 100%; height: 100%; object-fit: cover; animation: slowzoom 16s ease-out forwards; transform: scale(1.1); }
.heroB-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,26,22,.55) 0%, rgba(15,26,22,.1) 35%, rgba(15,26,22,.85) 100%); }
.heroB-in { position: relative; padding: 140px var(--pad) 48px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.heroB .hero-title { font-size: clamp(52px, 9cqi, 168px); line-height: .98; }
.heroB .hero-title .l2 { color: var(--paper); }
.heroB .hero-title .l2 em { color: var(--red); font-style: normal; }
.heroB-foot { position: relative; display: flex; justify-content: space-between; gap: 24px; padding: 24px var(--pad) 40px; border-top: 1px solid rgba(255,255,255,.2); margin-inline: var(--pad); padding-inline: 0; align-items: center; flex-wrap: wrap; }
.heroB .hero-sub { color: rgba(242,238,229,.82); }

/* Hero C — departure board */
.heroC { background: var(--night); color: var(--paper); min-height: max(800px, 100vh); padding: 140px var(--pad) 60px; display: flex; flex-direction: column; gap: 48px; overflow: hidden; }
.shell.mobile .heroC { min-height: 0; }
.heroC-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.heroC .hero-title { font-size: clamp(44px, 6.4cqi, 116px); }
.heroC-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; }
.heroC-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.heroC-photos div { aspect-ratio: 3/4; overflow: hidden; border-radius: 4px; }
.heroC-photos div:nth-child(2) { transform: translateY(-40px); }
.heroC-photos img { width: 100%; height: 100%; object-fit: cover; }
.heroC .hero-sub { color: rgba(242,238,229,.75); }

/* ---------- split-flap board ---------- */
.board { background: #0b0b0a; color: var(--gold); font-family: var(--mono); padding: 18px 22px 20px; border-radius: 0 6px 6px 0; box-shadow: 0 20px 50px rgba(0,0,0,.35); min-width: 340px; }
.board.big { border-radius: 8px; padding: 28px; min-width: 0; width: 100%; }
.board-h { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: .2em; color: rgba(255,255,255,.5); margin-bottom: 12px; text-transform: uppercase; }
.board-h .dot { color: #6EE7A0; }
.board-h .dot::before { content: "●"; margin-right: 6px; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.flaprow { display: flex; gap: 3px; margin: 4px 0; flex-wrap: nowrap; }
.flap { width: 22px; height: 32px; background: #1c1c1a; border-radius: 3px; display: grid; place-items: center; font-size: 17px; font-weight: 700; position: relative; overflow: hidden; color: var(--gold); }
.board.big .flap { width: clamp(22px, 2.6cqi, 44px); height: clamp(32px, 3.8cqi, 62px); font-size: clamp(16px, 2cqi, 32px); }
.flap::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.6); }
.flap.flip { animation: flip .08s linear; }
@keyframes flip { 0% { transform: scaleY(1); } 50% { transform: scaleY(.2); } 100% { transform: scaleY(1); } }
.board-route { display: flex; align-items: center; gap: 10px; }
.board-arrow { color: var(--red); font-size: 18px; }
.board-meta { display: grid; grid-template-columns: repeat(3, auto); gap: 18px; margin-top: 14px; font-size: 10px; letter-spacing: .14em; color: rgba(255,255,255,.5); }
.board-meta b { display: block; color: #fff; font-size: 13px; letter-spacing: .04em; margin-top: 4px; font-weight: 500; }

/* ---------- ticker ---------- */
.ticker { background: var(--red); color: #fff; overflow: hidden; white-space: nowrap; padding: 18px 0; position: relative; z-index: 2; }
.ticker-track { display: inline-flex; gap: 0; animation: tick 40s linear infinite; }
.ticker span { font-weight: 900; font-size: clamp(22px, 2.4cqi, 36px); letter-spacing: .02em; padding: 0 28px; display: inline-flex; align-items: center; gap: 56px; }
.ticker span::after { content: "✦"; font-size: .6em; opacity: .8; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { padding-block: clamp(80px, 10cqi, 160px); position: relative; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(40px, 5cqi, 80px); flex-wrap: wrap; }
.sec-head .h-l { max-width: 14em; margin-top: 20px; }
.dark { background: var(--night); color: var(--paper); }
.dark .body-l { color: rgba(242,238,229,.72); }

/* intro */
.intro { display: grid; grid-template-columns: 1fr 2.2fr; gap: 48px; }
.intro-big { font-weight: 900; font-size: clamp(30px, 4.4cqi, 72px); line-height: 1.25; letter-spacing: -.01em; }
.intro-big span { display: block; }
.intro-big span:nth-child(2) { color: var(--ink-3); }
.intro-body { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.intro-img { aspect-ratio: 4/3; overflow: hidden; border-radius: 4px; position: relative; }
.intro-img img { width: 100%; height: 100%; object-fit: cover; }
.intro-img figcaption { position: absolute; left: 12px; bottom: 12px; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: #fff; background: rgba(0,0,0,.45); padding: 4px 8px; border-radius: 2px; }

/* numbers */
.nums { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.18); }
.num { padding: 36px 28px 8px 0; border-right: 1px solid rgba(255,255,255,.18); padding-left: 28px; }
.num:first-child { padding-left: 0; }
.num:last-child { border-right: 0; }
.num-v { font-weight: 900; font-size: clamp(64px, 8.4cqi, 150px); line-height: .9; letter-spacing: -.04em; display: flex; align-items: baseline; gap: 6px; }
.num-v small { font-size: .22em; letter-spacing: 0; font-weight: 700; color: var(--red); }
.num-t { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; margin: 22px 0 12px; color: var(--gold); }
.num-d { font-size: 14px; line-height: 1.85; color: rgba(242,238,229,.7); }
.nums-note { margin-top: 32px; font-size: 12px; color: rgba(242,238,229,.45); }

/* services (home) — accordion phases */
.phases { border-top: 1px solid var(--ink); }
.phase { border-bottom: 1px solid var(--ink); }
.phase-h { display: grid; grid-template-columns: 90px 1fr auto 60px; align-items: center; gap: 24px; padding: 34px 0; width: 100%; text-align: left; cursor: pointer; transition: padding .3s; }
.phase-h:hover { padding-left: 12px; }
.phase-k { font-family: var(--mono); font-size: 14px; color: var(--red); }
.phase-n { font-weight: 900; font-size: clamp(40px, 6cqi, 104px); line-height: 1; letter-spacing: -.02em; }
.phase-en { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.2cqi, 34px); color: var(--ink-3); }
.phase-tog { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; font-size: 22px; transition: transform .4s, background .3s, color .3s; justify-self: end; }
.phase.open .phase-tog { transform: rotate(45deg); background: var(--red); border-color: var(--red); color: #fff; }
.phase-b { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s cubic-bezier(.2,.8,.2,1); }
.phase.open .phase-b { grid-template-rows: 1fr; }
.phase-b > div { overflow: hidden; }
.phase-inner { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding-bottom: 44px; }
.phase-lead { font-size: 18px; font-weight: 700; margin-bottom: 24px; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.svc { padding: 24px 24px 24px 0; border-right: 1px solid var(--line); }
.svc + .svc { padding-left: 24px; }
.svc:last-child { border-right: 0; }
.svc h4 { font-size: 17px; font-weight: 700; margin-bottom: 10px; display: flex; gap: 10px; }
.svc h4::before { content: "→"; color: var(--red); font-family: var(--mono); }
.svc p { font-size: 14px; line-height: 1.85; color: var(--ink-2); }

/* photo band */
.band { display: grid; grid-template-columns: 2fr 1fr 1.3fr; gap: 12px; height: clamp(260px, 34cqi, 520px); padding-inline: var(--pad); }
.band div { overflow: hidden; border-radius: 4px; position: relative; }
.band img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.band div:hover img { transform: scale(1.05); }
.band span { position: absolute; left: 14px; bottom: 12px; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: #fff; }

/* route (flow) */
.route { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.route::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; border-top: 2px dashed var(--ink-3); }
.stop { position: relative; padding-right: 24px; }
.stop-dot { width: 56px; height: 56px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); display: grid; place-items: center; font-family: var(--mono); font-weight: 700; font-size: 14px; position: relative; z-index: 1; transition: background .3s, color .3s, border-color .3s; }
.stop:hover .stop-dot, .stop.last .stop-dot { background: var(--red); border-color: var(--red); color: #fff; }
.stop h4 { margin: 24px 0 10px; font-size: 18px; font-weight: 700; }
.stop p { font-size: 14px; line-height: 1.85; color: var(--ink-2); }
.plane { position: absolute; top: 14px; font-size: 22px; color: var(--red); z-index: 2; animation: fly 8s ease-in-out infinite; }
@keyframes fly { 0% { left: 0%; } 100% { left: 96%; } }

/* who */
.who { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.who-c { background: var(--paper-2); padding: 32px 26px 30px; border-radius: 4px; min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; transition: background .3s, color .3s, transform .3s; }
.who-c:hover { background: var(--ink); color: var(--paper); transform: translateY(-6px); }
.who-c:hover p { color: rgba(242,238,229,.7); }
.who-c .k { font-family: var(--mono); font-size: 12px; color: var(--red); }
.who-c h4 { font-size: 22px; font-weight: 900; margin-bottom: 12px; }
.who-c p { font-size: 14px; line-height: 1.85; color: var(--ink-2); }

/* big CTA */
.bigcta { background: var(--red); color: #fff; padding: clamp(80px, 10cqi, 160px) var(--pad); position: relative; overflow: hidden; }
.bigcta h2 { font-weight: 900; font-size: clamp(56px, 11cqi, 200px); line-height: .98; letter-spacing: -.03em; }
.bigcta h2 span { display: block; }
.bigcta h2 span:last-child { padding-left: 1.2em; }
.bigcta-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: 56px; flex-wrap: wrap; }
.bigcta p { font-size: 17px; line-height: 1.9; max-width: 26em; }
.bigcta .btn-ink { background: #fff; color: var(--red); }
.bigcta .btn-ink .arr { background: var(--red); color: #fff; }
.bigcta .seal { position: absolute; right: var(--pad); top: clamp(60px, 8cqi, 120px); width: clamp(120px, 14cqi, 220px); aspect-ratio: 1; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.6); display: grid; place-items: center; animation: spin 24s linear infinite; }
.seal-txt { font-family: var(--mono); font-size: 11px; letter-spacing: .3em; }
.seal b { font-size: clamp(36px, 4cqi, 64px); font-weight: 900; animation: spin 24s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

/* footer */
.ftr { background: var(--night); color: var(--paper); padding: 80px var(--pad) 32px; }
.ftr-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.15); }
.ftr-tag { font-weight: 900; font-size: clamp(26px, 3cqi, 44px); line-height: 1.3; margin-top: 28px; max-width: 12em; }
.ftr-nav { display: flex; flex-direction: column; gap: 14px; font-size: 14px; }
.ftr-nav a { cursor: pointer; opacity: .8; }
.ftr-nav a:hover { opacity: 1; color: var(--red); }
.ftr-h { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; opacity: .5; margin-bottom: 8px; }
.ftr-bot { display: flex; justify-content: space-between; padding-top: 28px; font-family: var(--mono); font-size: 11px; opacity: .55; gap: 20px; flex-wrap: wrap; }
.ftr-word { font-weight: 900; font-size: clamp(60px, 15cqi, 280px); line-height: .85; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(242,238,229,.22); margin-top: 48px; white-space: nowrap; overflow: hidden; }

/* ---------- sub pages ---------- */
.ph { padding: 150px var(--pad) clamp(60px, 7cqi, 110px); margin-top: -76px; background: var(--paper); position: relative; overflow: hidden; }
.ph.dk { background: var(--night); color: var(--paper); }
.ph-k { font-family: var(--mono); font-size: 13px; letter-spacing: .2em; color: var(--red); display: flex; gap: 14px; align-items: center; }
.ph-k::after { content: ""; width: 60px; height: 1px; background: currentColor; }
.ph h1 { font-weight: 900; font-size: clamp(52px, 9cqi, 168px); line-height: 1; letter-spacing: -.03em; margin: 28px 0 40px; white-space: pre-line; }
.ph-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.ph.dk .body-l { color: rgba(242,238,229,.72); }
.ph-img { height: clamp(260px, 40cqi, 620px); margin: 0 var(--pad); overflow: hidden; border-radius: 4px; }
.ph-img img { width: 100%; height: 100%; object-fit: cover; }

/* services page */
.svp { padding-top: clamp(60px, 8cqi, 120px); }
.svp-phase { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; padding: 64px 0; border-top: 1px solid var(--ink); }
.svp-side { position: sticky; top: 100px; align-self: start; }
.svp-side .phase-n { font-size: clamp(56px, 8cqi, 140px); }
.svp-side .phase-en { display: block; margin-top: 8px; }
.svp-side p { margin-top: 24px; font-weight: 700; font-size: 18px; }
.svp-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.svp-item { background: var(--paper-2); padding: 30px 28px; border-radius: 4px; min-height: 230px; display: flex; flex-direction: column; gap: 14px; transition: background .3s, color .3s; }
.svp-item:hover { background: var(--night); color: var(--paper); }
.svp-item:hover p { color: rgba(242,238,229,.7); }
.svp-item .k { font-family: var(--mono); font-size: 11px; color: var(--red); letter-spacing: .1em; }
.svp-item h4 { font-size: 21px; font-weight: 900; }
.svp-item p { font-size: 14.5px; line-height: 1.9; color: var(--ink-2); }

/* flow page — boarding pass steps */
.pass-list { display: flex; flex-direction: column; gap: 16px; }
.pass { display: grid; grid-template-columns: 180px 1fr 220px; background: #fff; border-radius: 10px; overflow: hidden; position: relative; min-height: 150px; }
.pass-no { background: var(--night); color: var(--gold); font-family: var(--mono); display: flex; flex-direction: column; justify-content: center; padding: 24px; gap: 6px; }
.pass-no small { font-size: 10px; letter-spacing: .2em; color: rgba(255,255,255,.5); }
.pass-no b { font-size: 54px; line-height: 1; font-weight: 700; }
.pass-main { padding: 28px 32px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.pass-main h3 { font-size: clamp(22px, 2.2cqi, 30px); font-weight: 900; }
.pass-main p { color: var(--ink-2); font-size: 15px; line-height: 1.9; max-width: 36em; }
.pass-stub { border-left: 2px dashed var(--line); padding: 24px; display: flex; flex-direction: column; justify-content: center; gap: 8px; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: var(--ink-3); position: relative; }
.pass-stub b { color: var(--ink); font-size: 14px; letter-spacing: .04em; }
.pass-stub::before, .pass-stub::after { content: ""; position: absolute; left: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); }
.pass-stub::before { top: -10px; } .pass-stub::after { bottom: -10px; }
.bars { height: 26px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px); margin-top: 6px; opacity: .8; }

.faq { border-top: 1px solid var(--ink); }
.faq-i { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; display: grid; grid-template-columns: 50px 1fr 40px; gap: 16px; padding: 26px 0; font-weight: 700; font-size: 17px; align-items: center; }
.faq-q .q { font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--red); }
.faq-q .t { font-family: var(--mono); font-size: 20px; transition: transform .3s; justify-self: end; }
.faq-i.open .faq-q .t { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s; }
.faq-i.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 56px 28px 66px; color: var(--ink-2); line-height: 1.95; font-size: 15px; }

/* about */
.mission { font-weight: 900; font-size: clamp(30px, 4.6cqi, 80px); line-height: 1.3; letter-spacing: -.01em; max-width: 18em; margin-top: 28px; }
.mission em { font-style: normal; color: var(--red); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 80px; border-top: 1px solid rgba(255,255,255,.2); }
.value { padding: 36px 32px 0 0; }
.value + .value { padding-left: 32px; border-left: 1px solid rgba(255,255,255,.2); }
.value .k { font-family: var(--mono); color: var(--gold); font-size: 12px; }
.value h4 { font-size: 30px; font-weight: 900; margin: 14px 0 12px; }
.value p { color: rgba(242,238,229,.7); line-height: 1.9; font-size: 15px; }
.msg { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.msg-ph { aspect-ratio: 4/5; border-radius: 4px; background: repeating-linear-gradient(135deg, var(--paper-2) 0 10px, #E3E5E9 10px 11px); display: grid; place-items: center; font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: .12em; text-align: center; }
.msg h3 { font-weight: 900; font-size: clamp(30px, 3.6cqi, 56px); line-height: 1.25; white-space: pre-line; margin: 24px 0 36px; }
.msg p + p { margin-top: 20px; }
.msg-sign { margin-top: 40px; font-weight: 700; }
.prof { border-top: 1px solid var(--ink); }
.prof-r { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.9; }
.prof-r dt { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--ink-3); padding-top: 4px; }

/* contact */
.ct { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; }
.ct-side dl > div { padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.ct-side dt { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; opacity: .55; margin-bottom: 6px; }
.form { background: var(--paper); color: var(--ink); border-radius: 8px; padding: clamp(28px, 4cqi, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: 24px 20px; }
.fld { display: flex; flex-direction: column; gap: 10px; }
.fld.full { grid-column: 1 / -1; }
.fld label { font-size: 13px; font-weight: 700; display: flex; gap: 8px; align-items: center; }
.fld label i { font-style: normal; font-family: var(--mono); font-size: 10px; background: var(--red); color: #fff; padding: 2px 6px; border-radius: 2px; }
.fld input, .fld textarea { font: inherit; font-size: 16px; padding: 14px 0; border: 0; border-bottom: 1.5px solid var(--ink); background: transparent; outline: none; transition: border-color .2s; }
.fld input:focus, .fld textarea:focus { border-color: var(--red); }
.fld textarea { min-height: 120px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; transition: all .2s; }
.chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chk { display: flex; gap: 10px; align-items: center; font-size: 14px; cursor: pointer; }
.chk input { width: 18px; height: 18px; accent-color: var(--red); }
.form-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.sent { grid-column: 1 / -1; padding: 60px 0; text-align: center; }
.sent .seal2 { width: 96px; height: 96px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; margin: 0 auto 28px; font-size: 40px; font-weight: 900; }
.sent h3 { font-size: 36px; font-weight: 900; }
.sent p { margin: 12px 0 28px; color: var(--ink-2); }

/* phase location tag */
.phase-where { font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; margin-left: 10px; padding: 3px 8px; border: 1px solid currentColor; border-radius: 99px; opacity: .8; white-space: nowrap; }
.phase-h .phase-k { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.phase-h .phase-where { margin-left: 0; }
.phase-h .phase-n { font-size: clamp(36px, 5cqi, 88px); }

/* bridge: two bases */
.bridge { display: grid; grid-template-columns: 1fr 120px 1fr; align-items: stretch; }
.br-side { background: var(--paper-2); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.br-side.vn { background: var(--night); color: var(--paper); }
.br-img { height: clamp(180px, 18cqi, 280px); overflow: hidden; }
.br-img img { width: 100%; height: 100%; object-fit: cover; }
.br-body { padding: 28px 30px 34px; }
.br-coord { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--red); }
.br-city { font-weight: 900; font-size: clamp(34px, 4cqi, 64px); letter-spacing: -.02em; line-height: 1; margin: 10px 0 8px; }
.br-role { font-size: 14px; font-weight: 700; opacity: .7; margin-bottom: 22px; }
.br-side ul { list-style: none; border-top: 1px solid var(--line); }
.br-side.vn ul { border-color: rgba(255,255,255,.15); }
.br-side li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; display: flex; gap: 10px; }
.br-side.vn li { border-color: rgba(255,255,255,.15); }
.br-side li::before { content: "→"; color: var(--red); font-family: var(--mono); }
.br-mid { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; }
.br-mid { flex-direction: row; }
.br-line { flex: 1; border-top: 2px dashed var(--ink-3); }
.br-badge { width: 92px; height: 92px; border-radius: 50%; background: var(--red); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; position: relative; z-index: 1; box-shadow: 0 0 0 8px var(--paper); }
.br-badge b { font-size: 30px; font-weight: 900; line-height: 1; }
.br-badge small { font-family: var(--mono); font-size: 9px; letter-spacing: .14em; margin-top: 4px; }
.br-plane { position: absolute; top: calc(50% - 64px); left: 50%; transform: translateX(-50%); color: var(--red); font-size: 20px; animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, -6px); } }

/* founder */
.fd-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 5cqi, 88px); align-items: start; }
.fd-photo { position: sticky; top: 100px; }
.fd-ph { aspect-ratio: 4/5; border-radius: 4px; background: repeating-linear-gradient(135deg, var(--paper-2) 0 10px, #E3E5E9 10px 11px); display: grid; place-items: center; text-align: center; font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: .12em; }
.fd-tag { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--ink); }
.fd-tag b { font-size: 22px; font-weight: 900; }
.fd-tag span { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--ink-3); }
.fd-title { white-space: pre-line; font-size: clamp(28px, 3.4cqi, 56px) !important; max-width: none !important; }
.fd-role { white-space: pre-line; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; line-height: 1.8; color: var(--red); margin: 24px 0 28px; }
.fd-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 44px; border-top: 1px solid var(--ink); }
.fd-stat { padding: 22px 16px 0 0; }
.fd-stat + .fd-stat { padding-left: 16px; border-left: 1px solid var(--line); }
.fd-n { font-weight: 900; font-size: clamp(40px, 4.4cqi, 72px); line-height: 1; letter-spacing: -.03em; }
.fd-n small { font-size: .32em; color: var(--red); margin-left: 4px; letter-spacing: 0; }
.fd-t { font-size: 13px; color: var(--ink-2); margin-top: 10px; line-height: 1.6; }

/* about additions */
.career { margin-top: 28px; border-top: 1px solid var(--ink); padding-top: 18px; }
.career-r { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.7; }
.career-r b { font-family: var(--mono); color: var(--red); font-weight: 500; }
.career-note { font-size: 11px; color: var(--ink-3); margin-top: 10px; }
.msg-sign small { display: block; font-weight: 400; font-size: 13px; color: var(--ink-3); margin-top: 6px; }
.partners { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.partner { background: var(--paper-2); border-radius: 6px; padding: 32px; display: flex; flex-direction: column; gap: 8px; min-height: 280px; }
.partner:nth-child(2) { background: var(--night); color: var(--paper); }
.partner:nth-child(2) p { color: rgba(242,238,229,.7); }
.pt-top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; margin-bottom: 20px; }
.pt-top .k { color: var(--red); font-size: 28px; font-weight: 700; letter-spacing: 0; }
.pt-city { opacity: .6; }
.partner h4 { font-size: clamp(22px, 2.2cqi, 30px); font-weight: 900; }
.pt-en { font-family: var(--serif); font-style: italic; font-size: 18px; opacity: .6; }
.partner p { font-size: 14.5px; line-height: 1.9; color: var(--ink-2); margin-top: 12px; }
.pt-url { margin-top: auto; padding-top: 16px; font-family: var(--mono); font-size: 12px; color: var(--red); }
.prof-r dd { white-space: pre-line; }

@container slp (max-width: 1080px) {
  .fd-stats { grid-template-columns: 1fr 1fr; }
  .fd-stat:nth-child(3) { padding-left: 0; border-left: 0; }
}
@container slp (max-width: 820px) {
  .bridge { grid-template-columns: 1fr; }
  .br-mid { height: 110px; flex-direction: column; }
  .br-line { border-top: 0; border-left: 2px dashed var(--ink-3); flex: 1; }
  .br-plane { display: none; }
  .fd-grid { grid-template-columns: 1fr; }
  .fd-photo { position: static; }
  .fd-ph { aspect-ratio: 16/11; }
  .partners { grid-template-columns: 1fr; }
}

/* official logo */
.logo { cursor: pointer; }
.logo img { pointer-events: none; }
@container slp (max-width: 820px) { .hdr .logo { zoom: .78; } }

/* Vietnamese */
.site.lang-vi { font-family: "Be Vietnam Pro", var(--jp); }
.site.lang-vi .hero-title, .site.lang-vi .h-xl { letter-spacing: -.035em; }
.site.lang-vi .heroB .hero-title { font-size: clamp(44px, 7cqi, 128px); }
.site.lang-vi .heroA-l .hero-title, .site.lang-vi .heroC .hero-title { font-size: clamp(40px, 5.2cqi, 96px); }
.site.lang-vi .ph h1 { font-size: clamp(44px, 7cqi, 128px); }
.site.lang-vi .bigcta h2 { font-size: clamp(48px, 8.4cqi, 156px); }
.site.lang-vi .phase-h .phase-n { font-size: clamp(32px, 4.4cqi, 76px); }
.lang a { padding: 6px 8px; }
.site.lang-vi .bigcta .seal, .site.lang-en .bigcta .seal { display: none; }
.site.lang-vi .bigcta h2 span:last-child { padding-left: 0; }

/* ================= READABILITY PASS =================
   1) Japanese line breaking: break at natural phrase boundaries (文節),
      keep punctuation rules strict, balance headings.
   2) Font sizes: small text raised by ~2–3px. */
.site { line-break: strict; overflow-wrap: break-word; }
.site:lang(ja) { word-break: auto-phrase; }
.site h1, .site h2, .site h3, .site h4, .h-l, .h-m, .intro-big, .mission, .ftr-tag, .phase-lead, .fd-title, .msg h3 { text-wrap: balance; }
.site p, .site li, .site dd { text-wrap: pretty; }
.sec-head .h-l { max-width: 16em; }
.hero-sub { max-width: 36em; }

.label { font-size: 13px; }
.hero-kicker { font-size: 13px; }
.body-l { font-size: clamp(16px, 1.25cqi, 19px); }
.nav { font-size: 15px; }
.btn { font-size: 16px; }
.hdr .btn { font-size: 14px; }
.link-more { font-size: 14px; }

.num-t { font-size: 13px; }
.num-d { font-size: 16px; }
.nums-note { font-size: 13px; }
.phase-lead { font-size: 20px; }
.svc h4 { font-size: 19px; }
.svc p { font-size: 16px; }
.stop h4 { font-size: 20px; }
.stop p { font-size: 16px; }
.who-c h4 { font-size: 24px; }
.who-c p { font-size: 16px; }
.bigcta p { font-size: 19px; }
.br-role { font-size: 15px; }
.br-side li { font-size: 16.5px; }
.fd-role { font-size: 13.5px; }
.fd-t { font-size: 14.5px; }
.phase-where { font-size: 11px; }

.ftr-nav { font-size: 15px; }
.ftr-h { font-size: 12px; }
.ftr-bot { font-size: 12px; }

.svp-side p { font-size: 20px; }
.svp-item h4 { font-size: 22px; }
.svp-item p { font-size: 16px; }
.pass-main p { font-size: 16.5px; }
.pass-stub { font-size: 11px; }
.faq-q { font-size: 18px; }
.faq-a p { font-size: 16.5px; }
.value p { font-size: 16.5px; }
.career-r { font-size: 15.5px; }
.career-note { font-size: 12px; }
.msg-sign small { font-size: 14.5px; }
.partner p { font-size: 16px; }
.pt-top { font-size: 13px; }
.prof-r { font-size: 16.5px; }
.prof-r dt { font-size: 13px; }
.ct-side dt { font-size: 12px; }
.ct-side dd { font-size: 16px; line-height: 1.7; }
.fld label { font-size: 14.5px; }
.fld input, .fld textarea { font-size: 17px; }
.chip { font-size: 14.5px; }
.chk { font-size: 15px; }
.sent p { font-size: 16px; }
.intro-img figcaption, .band span { font-size: 11px; }

@container slp (max-width: 820px) {
  .body-l { font-size: 16px; line-height: 1.9; }
  .faq-q { font-size: 16.5px; }
  .svc p, .stop p, .who-c p, .num-d { font-size: 15.5px; }
  .ph h1, .site.lang-vi .ph h1 { font-size: clamp(32px, 10.5cqi, 52px); }
  .rise > span { max-width: 100%; word-break: normal; }
  .ftr-top .logo { zoom: .85; }
}

/* ===== spacing pass: tighter section rhythm ===== */
.sec { padding-block: clamp(56px, 6.5cqi, 104px); }
.sec-head { margin-bottom: clamp(28px, 3.4cqi, 52px); }
.intro-body { margin-top: 36px; }
.band { margin-block: 0; }
.bigcta { padding-block: clamp(64px, 7.5cqi, 120px); }
.bigcta-row { margin-top: 40px; }
.ph { padding-bottom: clamp(44px, 5cqi, 80px); }
.ph h1 { margin: 24px 0 28px; }
.svp { padding-top: clamp(40px, 5cqi, 72px); }
.svp-phase { padding: 48px 0; }
.values { margin-top: 56px; }
.fd-stats { margin-top: 36px; }
.ftr { padding-top: 64px; }
.ftr-top { padding-bottom: 44px; }
@container slp (max-width: 820px) {
  .sec { padding-block: 52px; }
  .svp-phase { padding: 36px 0; }
}

/* CTA watermark (matches footer) */
.bigcta .seal { display: none !important; }
.ftr-word { font-size: clamp(48px, 12.6cqi, 240px); }
.bigcta-word { -webkit-text-stroke: 1px rgba(255,255,255,.6); margin-top: 56px; margin-bottom: -.12em; }
.site.lang-vi .bigcta h2 span:last-child, .site.lang-en .bigcta h2 span:last-child { padding-left: 1.2em; }
@container slp (max-width: 820px) { .site .bigcta h2 span:last-child { padding-left: 0; } }

/* CEO portrait */
.has-img { background: #EEE9E0 !important; overflow: hidden; display: block !important; }
.has-img img { width: 100%; height: 100%; object-fit: cover; object-position: 47% 30%; display: block; }

/* short minus for big numbers */
.minus { display: inline-block; width: .32em; height: .085em; background: currentColor; vertical-align: .3em; margin-right: .06em; border-radius: 1px; }

/* reveal */
.rv { opacity: 0; transform: translateY(32px); transition: opacity 1s cubic-bezier(.2,.8,.2,1), transform 1s cubic-bezier(.2,.8,.2,1); }
.rv.in { opacity: 1; transform: none; }
.page-enter { animation: pageIn .6s ease; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

/* ================= RESPONSIVE (container) ================= */
@container slp (max-width: 1080px) {
  .nav { gap: 20px; }
  .hdr .btn { display: none; }
  .who { grid-template-columns: 1fr 1fr; }
  .route { grid-template-columns: 1fr; gap: 28px; }
  .route::before { left: 27px; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 2px dashed var(--ink-3); }
  .plane { display: none; }
  .stop { display: grid; grid-template-columns: 56px 1fr; gap: 0 24px; padding: 0; }
  .stop h4 { margin: 14px 0 6px; }
  .stop p { grid-column: 2; }
  .heroC-grid { grid-template-columns: 1fr; }
}
@container slp (max-width: 820px) {
  .nav, .hdr-r .lang-d { display: none; }
  .burger { display: grid; }
  .hdr { padding-block: 14px; }
  .heroA { grid-template-columns: 1fr; }
  .heroA-l { padding-top: 120px; }
  .heroA-r { height: 440px; }
  .heroA-r .heroA-board { bottom: 20px; }
  .heroB-in { grid-template-columns: 1fr; padding-top: 120px; }
  .heroB-in .board { display: none; }
  .heroC { padding-top: 120px; gap: 32px; }
  .heroC-photos div:nth-child(2) { transform: none; }
  .intro { grid-template-columns: 1fr; gap: 20px; }
  .intro-body { grid-template-columns: 1fr; gap: 32px; }
  .nums { grid-template-columns: 1fr 1fr; }
  .num { padding: 28px 16px 20px !important; border-bottom: 1px solid rgba(255,255,255,.18); }
  .num:nth-child(2n) { border-right: 0; }
  .num-v { font-size: 64px; }
  .phase-h { grid-template-columns: 1fr 52px; gap: 6px 16px; padding: 26px 0; }
  .phase-k { grid-column: 1 / -1; }
  .phase-en { display: none; }
  .phase-tog { grid-row: 2; grid-column: 2; }
  .phase-inner { grid-template-columns: 1fr; }
  .phase-inner > span { display: none; }
  .svc, .svc + .svc { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .band { grid-template-columns: 1fr 1fr; height: auto; }
  .band div { aspect-ratio: 1; }
  .band div:first-child { grid-column: 1 / -1; aspect-ratio: 16/10; }
  .who { grid-template-columns: 1fr; }
  .who-c { min-height: 0; gap: 40px; }
  .bigcta .seal { display: none; }
  .bigcta h2 span:last-child { padding-left: 0; }
  .ftr-top { grid-template-columns: 1fr 1fr; }
  .ftr-top > :first-child { grid-column: 1 / -1; }
  .ph { padding-top: 120px; }
  .ph-row { grid-template-columns: 1fr; gap: 24px; }
  .svp-phase { grid-template-columns: 1fr; gap: 28px; padding: 48px 0; }
  .svp-side { position: static; }
  .svp-list { grid-template-columns: 1fr; }
  .svp-item { min-height: 0; }
  .pass { grid-template-columns: 90px 1fr; }
  .pass-no { padding: 16px; }
  .pass-no b { font-size: 36px; }
  .pass-stub { display: none; }
  .pass-main { padding: 22px 20px; }
  .faq-q { grid-template-columns: 36px 1fr 28px; font-size: 15px; }
  .faq-a p { padding: 0 0 24px 52px; }
  .values { grid-template-columns: 1fr; }
  .value, .value + .value { padding: 28px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .msg { grid-template-columns: 1fr; gap: 32px; }
  .msg-ph { aspect-ratio: 16/10; }
  .prof-r { grid-template-columns: 1fr; gap: 4px; }
  .ct { grid-template-columns: 1fr; gap: 32px; }
  .form { grid-template-columns: 1fr; }
  .board { min-width: 0; }
  .flap { width: 18px; height: 26px; font-size: 14px; }
  .heroC .board.big .flap { width: 16px; height: 24px; font-size: 13px; }
  .board.big { padding: 18px; }
}


/* ================= SETUP (HelpAll247 partnership) ================= */
.cmp { display: flex; flex-direction: column; gap: 28px; padding: 36px 36px 30px; background: var(--paper-2); border-radius: 6px; align-self: start; }
.cmp-sm { padding: 0; background: none; gap: 24px; margin-top: 18px; }
.cmp-row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "k v" "bar bar"; gap: 10px 20px; align-items: end; }
.cmp-k { grid-area: k; font-size: 15px; font-weight: 700; color: var(--ink-2); }
.cmp-v { grid-area: v; font-weight: 900; font-size: clamp(44px, 5.4cqi, 92px); line-height: .9; letter-spacing: -.03em; display: flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.cmp-v small { font-size: 16px; letter-spacing: 0; font-weight: 700; }
.cmp-row.a .cmp-v { color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: rgba(21,20,15,.35); }
.cmp-row.b .cmp-v { color: var(--red); }
.cmp-row.b .cmp-k { color: var(--ink); }
.cmp-bar { grid-area: bar; position: relative; height: 18px; border-radius: 2px; background: rgba(21,20,15,.06); }
.cmp-bar i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 2px; background: var(--ink-3); transition: width 1.4s cubic-bezier(.2,.8,.2,1) .2s; }
.cmp-row.b .cmp-bar i { background: var(--red); transition-delay: .6s; }
.cmp.in .cmp-bar i { width: var(--w); }
.cmp-tag { position: absolute; left: calc(46% + 14px); top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--red); white-space: nowrap; opacity: 0; transition: opacity .6s 1.6s; }
.cmp.in .cmp-tag { opacity: 1; }
.cmp-note { font-size: 13px; line-height: 1.8; color: var(--ink-3); margin-top: 6px; }
.cmp-sm + * .cmp-note, .setup-home .cmp-note { margin-top: 24px; }

.setup-home { background: var(--paper); border-top: 1px solid var(--line); }
.sh-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6cqi, 112px); align-items: center; }
.sh-title, .st-title, .st-pre { white-space: pre-line; }
.sh-title { margin-top: 20px; }
.sh-partner { margin-top: 28px; display: inline-flex; align-items: baseline; gap: 12px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; }
.sh-partner span { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--ink-3); }
.sh-partner b { font-family: var(--mono); font-size: 15px; letter-spacing: .04em; }
.sh-story { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; color: var(--red); padding-bottom: 14px; border-bottom: 1px solid var(--ink); }

.st-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6cqi, 112px); align-items: start; }
.st-title { margin-top: 20px; font-size: clamp(30px, 3.8cqi, 64px); }
.st-body { margin-top: 32px; display: flex; flex-direction: column; gap: 18px; }
.sec-head .st-pre { max-width: none; }

.pts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.2); }
.pt { padding: 36px 32px 8px 0; }
.pt + .pt { padding-left: 32px; border-left: 1px solid rgba(255,255,255,.2); }
.pt-k { font-family: var(--mono); font-size: 13px; color: var(--gold); }
.pt .pt-en { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.6cqi, 40px); opacity: .55; margin-top: 18px; line-height: 1; }
.pt h4 { font-size: clamp(26px, 2.4cqi, 36px); font-weight: 900; margin: 10px 0 16px; }
.pt p { color: rgba(242,238,229,.72); line-height: 1.95; font-size: 16.5px; }

.roles { display: grid; grid-template-columns: 1fr 120px 1fr; align-items: stretch; }
.rl { background: var(--paper-2); border-radius: 6px; padding: 32px 32px 36px; display: flex; flex-direction: column; }
.rl.vn { background: var(--night); color: var(--paper); }
.rl-top { display: flex; justify-content: space-between; gap: 16px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; }
.rl-tag { color: var(--red); }
.rl.vn .rl-tag { color: var(--gold); }
.rl-where { opacity: .6; }
.rl-who { font-weight: 900; font-size: clamp(28px, 3cqi, 48px); letter-spacing: -.02em; line-height: 1.05; margin: 16px 0 24px; }
.rl ul { list-style: none; border-top: 1px solid var(--line); }
.rl.vn ul { border-color: rgba(255,255,255,.15); }
.rl li { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16.5px; display: flex; gap: 10px; }
.rl.vn li { border-color: rgba(255,255,255,.15); }
.rl li::before { content: "→"; color: var(--red); font-family: var(--mono); }
.rl.vn li::before { color: var(--gold); }
.rl-mid { display: flex; align-items: center; }
.rl-badge { flex: none; padding: 10px 14px; border-radius: 999px; background: var(--red); color: #fff; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.site:lang(ja) .rl-badge { font-family: var(--jp); font-size: 14px; letter-spacing: .1em; }

.scope { display: grid; grid-template-columns: 200px repeat(4, 1fr); gap: 0; margin-top: clamp(48px, 5cqi, 80px); border-top: 1px solid var(--ink); }
.scope-h { padding-top: 26px; }
.scope-i { padding: 26px 24px 0; border-left: 1px solid var(--line); }
.scope-i .k { font-family: var(--mono); font-size: 12px; color: var(--red); }
.scope-i h4 { font-size: 22px; font-weight: 900; margin: 10px 0 8px; }
.scope-i p { font-size: 15.5px; line-height: 1.85; color: var(--ink-2); }

.risk { background: var(--paper-2); }
.risks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rk { background: var(--paper); border-radius: 4px; padding: 32px 28px 30px; display: flex; flex-direction: column; gap: 10px; min-height: 240px; }
.rk-x { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--red); color: var(--red); display: grid; place-items: center; font-size: 22px; line-height: 1; margin-bottom: auto; }
.rk h4 { font-size: 24px; font-weight: 900; margin-top: 28px; }
.rk p { font-size: 16px; line-height: 1.85; color: var(--ink-2); }
.risk-out { margin-top: 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 32px; border-top: 1px solid var(--ink); }
.risk-out p { font-weight: 900; font-size: clamp(20px, 2cqi, 30px); text-wrap: balance; }

.phase-partner, .svp-partner { display: inline-flex; gap: 8px; align-items: center; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--red); border: 1px solid currentColor; border-radius: 999px; padding: 6px 12px; margin-bottom: 20px; }
.site:lang(ja) .phase-partner, .site:lang(ja) .svp-partner { font-family: var(--jp); font-weight: 700; font-size: 13px; letter-spacing: .04em; }
.svp-partner { margin: 18px 0 0; }

@container slp (max-width: 1080px) {
  .scope { grid-template-columns: 1fr 1fr; }
  .scope-h { grid-column: 1 / -1; padding-bottom: 8px; }
  .scope-i { padding: 22px 20px 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .scope-i:nth-child(odd) { padding-left: 20px; border-left: 1px solid var(--line); }
}
@container slp (max-width: 820px) {
  .sh-grid, .st-grid { grid-template-columns: 1fr; }
  .cmp { padding: 26px 22px; }
  .cmp-sm { padding: 0; }
  .cmp-v { font-size: 48px; }
  .pts { grid-template-columns: 1fr; }
  .pt, .pt + .pt { padding: 28px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .roles { grid-template-columns: 1fr; }
  .rl-mid { flex-direction: column; height: 90px; }
  .rl-mid .br-line { border-top: 0; border-left: 2px dashed var(--ink-3); }
  .scope { grid-template-columns: 1fr; }
  .scope-i, .scope-i:nth-child(odd) { padding: 20px 0; border-left: 0; }
  .risks { grid-template-columns: 1fr; }
  .rk { min-height: 0; }
}

/* setup v2: 4 points, 6 scope items */
.pts { grid-template-columns: repeat(4, 1fr); }
.pt { padding-right: 24px; }
.pt + .pt { padding-left: 24px; }
.scope { grid-template-columns: repeat(3, 1fr); }
.scope-h { grid-column: 1 / -1; padding: 26px 0 8px; display: grid; grid-template-columns: 1fr 1.6fr; gap: 32px; align-items: start; }
.scope-h p { font-size: 16px; line-height: 1.9; color: var(--ink-2); }
.scope-i, .scope-i:nth-child(odd) { padding: 24px 24px 26px; border-left: 0; border-bottom: 1px solid var(--line); }
.scope-i:not(:nth-child(3n+2)) { border-left: 1px solid var(--line); }
.scope-i:nth-child(3n+2) { padding-left: 0; }
@container slp (max-width: 1080px) {
  .pts { grid-template-columns: 1fr 1fr; }
  .pt:nth-child(3) { padding-left: 0; border-left: 0; }
  .pt:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.2); margin-top: 8px; }
  .scope { grid-template-columns: 1fr 1fr; }
  .scope-h { grid-template-columns: 1fr; gap: 12px; }
  .scope-i, .scope-i:nth-child(odd) { border-left: 0; padding: 22px 20px 22px 0; }
  .scope-i:nth-child(odd) { padding-left: 20px; border-left: 1px solid var(--line); }
}
@container slp (max-width: 820px) {
  .pts { grid-template-columns: 1fr; }
  .pt, .pt + .pt, .pt:nth-child(n+3) { padding: 28px 0; border-left: 0; margin-top: 0; border-top: 0; }
  .scope { grid-template-columns: 1fr; }
  .scope-i, .scope-i:nth-child(odd) { padding: 20px 0; border-left: 0; }
}

/* ---- production additions ---- */
.lang a { display: inline-block; line-height: inherit; }
.logo { color: inherit; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.chip { position: relative; cursor: pointer; display: inline-flex; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; margin: 0; }
.chip:has(input:checked) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 2px; }
.form-err { grid-column: 1 / -1; color: var(--red); font-size: 14.5px; line-height: 1.8; }
.btn[disabled] { opacity: .6; cursor: wait; }
.ct-side dd a { text-decoration: underline; text-underline-offset: 3px; }
.ftr-nav a[href^="mailto"] { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .ticker-track, .plane, .seal, .seal b { animation: none !important; }
}

/* ---- partner section ---- */
.pn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6cqi, 112px); align-items: start; }
.pn-sign { margin-top: 28px; font-size: 14px; color: var(--ink-3); letter-spacing: .04em; }
.pn-prof .prof-r { grid-template-columns: 150px 1fr; padding: 18px 0; font-size: 15px; }
@container slp (max-width: 820px) {
  .pn-grid { grid-template-columns: 1fr; }
  .pn-prof .prof-r { grid-template-columns: 1fr; gap: 4px; }
}

/* 代表写真はモノクロ */
.fd-ph img, .msg-ph img { filter: grayscale(1) contrast(1.04); }

/* 拠点をつなぐバッジ */
.bridge .br-mid { padding: 0 2px; }
.bridge .br-line { border: 0; height: 2px; background: linear-gradient(90deg, var(--ink-3), color-mix(in oklab, var(--red) 70%, var(--ink-3))); position: relative; }
.bridge .br-line:last-of-type { background: linear-gradient(90deg, color-mix(in oklab, var(--red) 70%, var(--ink-3)), var(--ink-3)); }
.bridge .br-line::after { content: ""; position: absolute; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.bridge .br-line:first-child::after { left: -4px; }
.bridge .br-line:last-of-type::after { right: -4px; }
.bridge .br-badge { width: 84px; height: 84px; box-shadow: 0 0 0 6px var(--paper), 0 0 0 7px color-mix(in oklab, var(--red) 35%, transparent), 0 12px 28px -6px color-mix(in oklab, var(--red) 55%, transparent); animation: ringpulse 3.2s ease-out infinite; }
.bridge .br-badge b { font-size: 30px; }
.bridge .br-badge small { font-size: 8.5px; letter-spacing: .16em; margin-top: 5px; }
@keyframes ringpulse { 0% { outline: 0 solid color-mix(in oklab, var(--red) 30%, transparent); outline-offset: 8px; } 70%, 100% { outline: 14px solid transparent; outline-offset: 8px; } }
@container slp (max-width: 820px) {
  .bridge .br-line { width: 2px; height: auto; background: linear-gradient(180deg, var(--ink-3), color-mix(in oklab, var(--red) 70%, var(--ink-3))); }
  .bridge .br-line:last-of-type { background: linear-gradient(180deg, color-mix(in oklab, var(--red) 70%, var(--ink-3)), var(--ink-3)); }
  .bridge .br-line::after { left: -3px; }
  .bridge .br-line:first-child::after { top: -4px; }
  .bridge .br-line:last-of-type::after { top: auto; bottom: -4px; right: auto; left: -3px; }
}

/* 費用比較: 比較先の金額に打ち消し線は付けない */
.cmp-row.a .cmp-v { text-decoration: none; }

.rise { padding-bottom: .14em; margin-bottom: -.14em; }

.form-note { grid-column: 1 / -1; font-size: 13.5px; line-height: 1.9; opacity: .72; margin: 4px 0 0; }
.chks { display: grid; gap: 10px; }

a.pt-url, .rl-url { text-decoration: none; border-bottom: 1px solid transparent; align-self: flex-start; }
a.pt-url:hover, .rl-url:hover { border-bottom-color: currentColor; }
.rl-url { display: inline-block; margin-top: 22px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; color: var(--red); }
.rl.vn .rl-url { color: var(--gold); }

.roles .rl-mid { padding: 0 2px; }
.roles .rl-mid .br-line { border: 0; height: 2px; flex: 1; position: relative; background: linear-gradient(90deg, var(--ink-3), color-mix(in oklab, var(--red) 70%, var(--ink-3))); }
.roles .rl-mid .br-line:last-of-type { background: linear-gradient(90deg, color-mix(in oklab, var(--red) 70%, var(--ink-3)), var(--ink-3)); }
.roles .rl-mid .br-line::after { content: ""; position: absolute; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.roles .rl-mid .br-line:first-child::after { left: -4px; }
.roles .rl-mid .br-line:last-of-type::after { right: -4px; }
.roles .rl-badge { width: 84px; height: 84px; padding: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .12em; line-height: 1.2;
  box-shadow: 0 0 0 6px var(--paper), 0 0 0 7px color-mix(in oklab, var(--red) 35%, transparent), 0 12px 28px -6px color-mix(in oklab, var(--red) 55%, transparent); animation: ringpulse 3.2s ease-out infinite; }
.roles .site:lang(ja) .rl-badge, .site:lang(ja) .roles .rl-badge { font-size: 24px; letter-spacing: .06em; }
@container slp (max-width: 820px) {
  .roles .rl-mid { height: 130px; }
  .roles .rl-mid .br-line { width: 2px; height: auto; background: linear-gradient(180deg, var(--ink-3), color-mix(in oklab, var(--red) 70%, var(--ink-3))); }
  .roles .rl-mid .br-line:last-of-type { background: linear-gradient(180deg, color-mix(in oklab, var(--red) 70%, var(--ink-3)), var(--ink-3)); }
  .roles .rl-mid .br-line::after { left: -3px; }
  .roles .rl-mid .br-line:first-child::after { top: -4px; }
  .roles .rl-mid .br-line:last-of-type::after { top: auto; bottom: -4px; right: auto; left: -3px; }
}

:root { --ha: #0E7A4F; --ha-soft: #BFE8D3; }
.rl.vn { background: var(--ha); color: #fff; }
.rl.vn .rl-tag, .rl.vn li::before, .rl.vn .rl-url { color: var(--ha-soft); }
.site:lang(ja) h1, .site:lang(ja) h2, .site:lang(ja) h3, .site:lang(ja) p, .site:lang(ja) li, .site:lang(ja) dd, .site:lang(ja) span { word-break: keep-all; overflow-wrap: break-word; line-break: strict; }

.sent .seal2 { width: auto; height: auto; border-radius: 0; background: none; display: flex; justify-content: center; margin: 0 auto 32px; }
.hdr { padding-block: 12px; }
@container slp (max-width: 820px) { .hdr .logo { zoom: .72; } }

.prose-sec { padding-block: clamp(48px, 6cqi, 96px) clamp(80px, 10cqi, 160px); }
.prose { max-width: 46em; }
.prose-blk { margin-bottom: 2.4em; }
.prose h2 { font-size: clamp(18px, 2cqi, 22px); margin: 0 0 .7em; }
.prose p { line-height: 1.95; margin: 0 0 .8em; opacity: .85; }
.ftr-bot { gap: 16px; flex-wrap: wrap; }
