/* =========================================================
   SOCIAL INTERIOR — オフィス構築支援 LP
   Tone: light grey canvas × white cards × bold gothic × green accent
   ========================================================= */

:root {
  --bg: #eae9e6;
  --bg-2: #f2f1ee;
  --paper: #f6f5f1;
  --card: #ffffff;
  --ink: #151515;
  --ink-2: #4c4c48;
  --ink-3: #8a8984;
  --line: rgba(21, 21, 21, .1);
  --line-2: rgba(21, 21, 21, .2);
  --green: #1e8c5a;
  --green-ink: #13663f;
  --green-soft: #dcefe3;
  --green-light: #8fd3ad;
  --signal: #ee4b22;

  --radius: 24px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --font-jp: "Noto Sans JP", "Hiragino Sans", system-ui, sans-serif;
  --font-en: "Plus Jakarta Sans", "Noto Sans JP", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1240px;
  --hd-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, .hero__final-title, .issues__answer { font-feature-settings: "palt"; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.sp { display: none; }
@media (max-width: 767px) { .pc { display: none; } .sp { display: inline; } }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .75em;
  height: 52px; padding: 0 10px 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .04em; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .35s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn__badge {
  display: inline-grid; place-items: center; flex: none;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--green); color: #fff; font-size: 14px; line-height: 1;
  transition: transform .45s var(--ease);
}
.btn:hover .btn__badge, .fab__main:hover .btn__badge { transform: rotate(45deg); }
.btn--primary { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .55); }
.btn--primary:hover { background: #000; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-2); padding: 0 24px; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--glass { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .45); padding: 0 24px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255, 255, 255, .22); }
.btn--onphoto { background: #fff; color: var(--ink); }
.btn--onphoto:hover { background: #fff; }
.btn--sm { height: 42px; font-size: 13px; padding-left: 18px; padding-right: 7px; }
.btn--sm.btn--ghost { padding: 0 18px; }
.btn--sm .btn__badge { width: 28px; height: 28px; font-size: 12px; }
.btn--lg { height: 60px; font-size: 16px; padding-left: 28px; padding-right: 11px; }
.btn--lg.btn--ghost, .btn--lg.btn--glass { padding: 0 28px; }
.btn--lg .btn__badge { width: 38px; height: 38px; font-size: 16px; }

.textlink {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-weight: 700; font-size: 14px; padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size .45s var(--ease);
}
.textlink span { transition: transform .35s var(--ease); }
.textlink:hover { background-size: 0% 1px; background-position: right bottom; }
.textlink:hover span { transform: translate(2px, -2px); }

/* arrow icon: one up-arrow drawing, turned to the direction the old glyph pointed (↗ → ← ↓).
   It takes the colour of its text, and the negative margin keeps its footprint at 1em like the glyph it replaces */
.ico-arrow { display: inline-block; flex: none; width: 1.7em; height: 1.7em; max-width: none; margin: -.35em; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.ico-arrow--ne { transform: rotate(45deg); }
.ico-arrow--e { transform: rotate(90deg); }
.ico-arrow--s { transform: rotate(180deg); }
.ico-arrow--w { transform: rotate(-90deg); }
.rbtn .ico-arrow { display: block; width: 1.5em; height: 1.5em; margin: auto; }   /* block: centred in the circle, not on the text baseline */
.textlink span { display: inline-grid; place-items: center; }
.textlink .ico-arrow { width: 1.85em; height: 1.85em; margin: -.425em; }

.eyebrow {
  display: flex; align-items: center; gap: 10px; margin: 0;
  font: 500 12px/1.4 var(--font-mono); letter-spacing: .16em; color: var(--ink-2);
}
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(30, 140, 90, .18); }
.eyebrow--light { color: rgba(255, 255, 255, .86); }

/* crosshair marks (drawing-sheet detail) */
.cross { position: absolute; width: 18px; height: 18px; pointer-events: none; }
.cross::before, .cross::after { content: ""; position: absolute; background: var(--ink-3); }
.cross::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.cross::after { top: 50%; left: 0; right: 0; height: 1px; }
.cross--tl { left: 18px; top: 18px; } .cross--tr { right: 18px; top: 18px; }
.cross--bl { left: 18px; bottom: 18px; } .cross--br { right: 18px; bottom: 18px; }

/* =========================================================
   HEADER
   ========================================================= */
.hd {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; gap: 28px;
  height: var(--hd-h); padding: 0 var(--gutter);
  transition: background-color .4s, box-shadow .4s, color .4s;
}
.hd.is-scrolled { background: rgba(234, 233, 230, .8); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); box-shadow: 0 1px 0 var(--line); }
.hd.is-dark { color: #fff; background: rgba(14, 16, 14, .28); box-shadow: 0 1px 0 rgba(255, 255, 255, .12); }
.hd.is-dark .hd__logo img { filter: invert(1); }
.hd.is-dark .btn--ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .45); }
.hd.is-dark .btn--primary { background: #fff; color: var(--ink); }
.hd.is-dark .hd__tel small { color: rgba(255, 255, 255, .7); }
.hd__logo { flex: none; }
.hd__logo img { width: 144px; height: auto; transition: filter .4s; }
.hd__nav { display: flex; gap: 24px; margin-left: auto; font-size: 13.5px; font-weight: 500; }
.hd__nav a { position: relative; padding: 6px 0; }
.hd__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.hd__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.hd__cta { display: flex; align-items: center; gap: 10px; }
.hd__tel { display: flex; flex-direction: column; margin-right: 6px; font: 700 16px/1.15 var(--font-en); letter-spacing: .02em; }
.hd__tel small { font: 500 10px/1.3 var(--font-jp); color: var(--ink-3); letter-spacing: .04em; }
.hd__menu { display: none; align-items: center; gap: 10px; height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; font: 500 11px var(--font-mono); letter-spacing: .14em; }
.hd__menu i { position: relative; width: 16px; height: 8px; }
.hd__menu i::before, .hd__menu i::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease); }
.hd__menu i::before { top: 0; } .hd__menu i::after { bottom: 0; }
.hd__menu[aria-expanded="true"] i::before { transform: translateY(3.25px) rotate(45deg); }
.hd__menu[aria-expanded="true"] i::after { transform: translateY(-3.25px) rotate(-45deg); }

@media (max-width: 1240px) { .hd__tel { display: none; } }
@media (max-width: 1100px) { .hd__nav { display: none; } .hd__cta { margin-left: auto; } }
@media (max-width: 767px) {
  :root { --hd-h: 64px; }
  .hd { gap: 12px; }
  .hd__logo img { width: 118px; }
  .hd__cta .btn--ghost { display: none; }
  .hd__cta .btn--primary { height: 40px; font-size: 12.5px; padding-left: 14px; }
  .hd__cta .btn--primary .btn__badge { width: 26px; height: 26px; }
  .hd__menu { display: flex; }
  .hd.is-dark .hd__menu { background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .45); color: #fff; }
  .hd.is-dark .hd__menu i::before, .hd.is-dark .hd__menu i::after { background: #fff; }
}
@media (max-width: 360px) { .hd__cta .btn--primary { display: none; } }

/* mobile menu */
.spnav {
  position: fixed; inset: 0; z-index: 55; background: var(--bg);
  padding: calc(var(--hd-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; transition: opacity .35s var(--ease);
}
.spnav.is-open { opacity: 1; }
.spnav nav { display: flex; flex-direction: column; }
.spnav nav a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 22px; font-weight: 900; }
.spnav nav a span { font: 500 11px var(--font-mono); color: var(--ink-3); letter-spacing: .1em; }
.spnav__cta { display: grid; gap: 10px; }

/* =========================================================
   HERO — plan → model → real office (scroll-driven)
   ========================================================= */
.hero { position: relative; height: 507vh; overflow-x: clip; }   /* +27vh: step 01 holds once the drawing is centred */
.hero__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(21, 21, 21, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 21, 21, .1) 1px, transparent 1px);
  background-size: 88px 88px;
  background-position: 0 0; /* whole pixels = crisp 1px lines */
  -webkit-mask-image: radial-gradient(ellipse 95% 85% at 50% 52%, #000 40%, transparent 88%);
          mask-image: radial-gradient(ellipse 95% 85% at 50% 52%, #000 40%, transparent 88%);
  opacity: .8;
}
.hero__grid .cross { top: calc(var(--hd-h) + 12px); }
.hero__grid .cross--bl, .hero__grid .cross--br { top: auto; bottom: 18px; }

/* the real office — full bleed */
.hero__office { position: absolute; inset: 0; opacity: 0; will-change: opacity; }
.hero__office img { width: 100%; height: 100%; object-fit: cover; transform-origin: 44% 58%; will-change: transform; }
.hero__office-shade { position: absolute; inset: 0; opacity: 0; background: linear-gradient(180deg, rgba(10, 14, 11, .18) 0%, rgba(10, 14, 11, 0) 30%, rgba(10, 14, 11, .1) 55%, rgba(10, 14, 11, .72) 100%); }

/* plan + model (blend into the page) */
.hero__visual {
  --vw: min(84vw, calc((100svh - 150px) * 1.787));
  position: absolute; left: 50%; top: 53%;
  width: var(--vw); aspect-ratio: 1344 / 752;
  transform: translate(-50%, -50%);
}
.hero__model { position: relative; width: 100%; height: 100%; transform-origin: 38% 60%; will-change: transform; --r: 120; }
.hero__imgs {
  --fe: 5%;
  position: absolute; inset: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fe), #000 calc(100% - var(--fe)), transparent), linear-gradient(180deg, transparent, #000 var(--fe), #000 calc(100% - var(--fe)), transparent);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent, #000 var(--fe), #000 calc(100% - var(--fe)), transparent), linear-gradient(180deg, transparent, #000 var(--fe), #000 calc(100% - var(--fe)), transparent);
          mask-composite: intersect;
}
.hero__layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
/* the drawing sits a little inside the frame so the soft edge never touches its lines */
.hero__stage, .hero__pins { position: absolute; inset: 6%; }
.hero__stills { position: absolute; inset: 0; }
.hero__sketch { overflow: visible; }
.sk-pen path { fill: none; stroke: #fff; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.sk-pen[data-sk-plan] path { stroke-width: 9; }
.js .sk-pen path { stroke-dasharray: 1 1; stroke-dashoffset: 1; }   /* pathLength=1: hidden until the pen passes */   /* furniture: a broader pen picks up the small details along each line */
.hero__layer--plan { --d: 120; -webkit-mask-image: linear-gradient(180deg, #000 calc(var(--d) * 1%), transparent calc(var(--d) * 1% + 14%)); mask-image: linear-gradient(180deg, #000 calc(var(--d) * 1%), transparent calc(var(--d) * 1% + 14%)); }
.hero__layer--shell { --d: 120; -webkit-mask-image: linear-gradient(180deg, #000 calc(var(--d) * 1%), transparent calc(var(--d) * 1% + 14%)); mask-image: linear-gradient(180deg, #000 calc(var(--d) * 1%), transparent calc(var(--d) * 1% + 14%)); }
.js .hero__layer--shell { opacity: 0; }
.hero__layer--film { opacity: 0; pointer-events: none; }
/* 01: zoning study sketched on the empty floor */
.hero__zoning { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.zn ellipse { fill: rgba(30, 140, 90, .07); stroke: var(--green); stroke-width: 1.5; stroke-dasharray: 7 6; vector-effect: non-scaling-stroke; }
.zn text { font: 700 19px var(--font-jp); letter-spacing: .08em; fill: var(--green); text-anchor: middle; }
.zn .zn__en { font: 500 10.5px var(--font-mono); letter-spacing: .16em; fill: rgba(30, 140, 90, .75); }
.zn__link { fill: none; stroke: var(--green); stroke-width: 1.2; stroke-dasharray: 2 5; stroke-linecap: round; opacity: .6; vector-effect: non-scaling-stroke; }
@media (max-width: 899px) { .zn text { font-size: 40px; } .zn .zn__en { display: none; } }
.hero__src { position: absolute; width: 2px; height: 2px; opacity: 0; pointer-events: none; }
.js .hero__layer--model { opacity: 0; }
.js .hero__layer--plan { opacity: 0; }

.hero__scan {
  position: absolute; left: 4%; right: 4%; height: 1px; opacity: 0;
  bottom: calc((var(--r) + 8) * 1%);
  background: linear-gradient(90deg, transparent, var(--signal) 12%, var(--signal) 88%, transparent);
  pointer-events: none;
}
.hero__scan span { position: absolute; left: 6%; top: -9px; padding: 2px 7px; border-radius: 3px; background: var(--signal); color: #fff; font: 500 10px/1.4 var(--font-mono); letter-spacing: .12em; }
.hero__scan b { font-weight: 500; }

.hero__pins { pointer-events: none; }
.pin {
  position: absolute; left: var(--x); top: var(--y);
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 9px 4px 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .9); box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .35);
  font: 500 10px/1.3 var(--font-mono); letter-spacing: .12em; white-space: nowrap;
  transform: translate(-50%, -50%);
}
.js .pin { opacity: 0; }
.pin i { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(238, 75, 34, .18); }
.hero__view { position: absolute; z-index: 3; right: var(--gutter); top: calc(var(--hd-h) + 22px); margin: 0; font: 500 11px var(--font-mono); letter-spacing: .14em; color: var(--ink-3); transition: color .4s; }
.hero__sticky.is-dark .hero__view { opacity: 0; }
.hero__final .eyebrow { text-shadow: 0 1px 14px rgba(0, 0, 0, .45); }

.hero__copy { position: absolute; z-index: 3; left: var(--gutter); top: 50%; transform: translateY(-44%); width: min(640px, 44vw); }
/* until main.js has placed the drawing, keep what the intro brings in out of sight: while the libraries load the
   zoning study would otherwise show full-size in the middle of the screen, and the teaser would flash */
.js .hero:not(.is-ready) .hero__zoning, .js .hero:not(.is-ready) .hero__teaser { visibility: hidden; }
/* the copy rises as soon as it is painted (CSS), so it never waits for — or flickers with — the scripts */
@keyframes hero-rise { from { opacity: 0; transform: translateY(28px); } }
@media (prefers-reduced-motion: no-preference) {
  .js .hero__copy > * { animation: hero-rise 1s cubic-bezier(.215, .61, .355, 1) .1s both; }
  .js .hero__copy > :nth-child(2) { animation-delay: .17s; }
  .js .hero__copy > :nth-child(3) { animation-delay: .24s; }
  .js .hero__copy > :nth-child(4) { animation-delay: .31s; }
  .js .hero__copy > :nth-child(5) { animation-delay: .38s; }
}
.hero__title { margin: 18px 0 20px; font-size: clamp(34px, 3.9vw, 64px); font-weight: 900; line-height: 1.22; letter-spacing: .01em; }
.hero__lead { margin: 0 0 26px; font-size: clamp(14px, 1.1vw, 16px); line-height: 1.95; color: var(--ink-2); }
.hero__proof { display: flex; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; }
.hero__proof li { flex: 1; min-width: 0; padding: 12px 12px 11px 14px; border-radius: 16px; background: rgba(255, 255, 255, .92); box-shadow: 0 1px 0 rgba(0, 0, 0, .03); }
.hero__proof b { display: block; white-space: nowrap; font: 800 clamp(19px, 1.9vw, 30px)/1.1 var(--font-en); color: var(--green); letter-spacing: -.01em; }
.hero__proof b small { margin-left: 2px; font: 700 11px var(--font-jp); color: var(--ink); letter-spacing: 0; }
.hero__proof span { display: block; margin-top: 6px; font-size: 11px; line-height: 1.5; color: var(--ink-2); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__rail {
  position: absolute; z-index: 3; right: var(--gutter); top: 50%;
  display: flex; flex-direction: column; gap: 18px; margin: 0; padding: 0; list-style: none;
  transform: translateY(-50%); font-size: 12.5px; font-weight: 700;
}
.js .hero__rail { opacity: 0; }
.hero__rail li { display: flex; align-items: center; gap: 10px; color: var(--ink-3); transition: color .45s; }
.hero__rail li::before { content: ""; width: 18px; height: 1px; background: currentColor; transition: width .45s var(--ease), background-color .45s; }
.hero__rail li span { font: 500 11px var(--font-mono); letter-spacing: .08em; }
.hero__rail li.is-active { color: var(--ink); }
.hero__rail li.is-active::before { width: 38px; background: var(--green); }
.hero__rail li.is-done::before { background: var(--green); }

.hero__cards { position: absolute; z-index: 3; left: var(--gutter); bottom: clamp(28px, 6vh, 64px); width: min(390px, calc(100vw - var(--gutter) * 2)); height: 158px; pointer-events: none; }
.chcard {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 20px 22px 22px; border-radius: 22px; background: #fff;
  box-shadow: 0 24px 48px -28px rgba(0, 0, 0, .35);
  opacity: 0; transform: translateY(24px) scale(.98);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.chcard.is-active { opacity: 1; transform: none; }
.chcard__no { margin: 0 0 6px; font: 500 11px var(--font-mono); letter-spacing: .14em; color: var(--green-ink); }
.chcard__title { margin: 0 0 6px; font-size: 20px; font-weight: 900; line-height: 1.4; }
.chcard p:last-child { margin: 0; font-size: 13.5px; line-height: 1.8; color: var(--ink-2); }

.hero__final { position: absolute; z-index: 4; left: var(--gutter); right: var(--gutter); bottom: clamp(44px, 10vh, 110px); color: #fff; }
.js .hero__final { opacity: 0; visibility: hidden; }
.hero__final-title { margin: 16px 0 28px; font-size: clamp(34px, 5.2vw, 76px); font-weight: 900; line-height: 1.2; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }

.hero__progress { position: absolute; z-index: 4; left: var(--gutter); right: var(--gutter); bottom: 16px; pointer-events: none; transition: opacity .4s; }
.hero__progress-meta { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 8px; font: 500 10.5px/1 var(--font-mono); letter-spacing: .14em; color: var(--ink-2); transition: color .4s; }
.hero__progress-meta b { font-weight: 500; color: var(--ink); transition: color .4s; }
.hero__progress-meta em { margin-left: 12px; font: 700 12px/1 var(--font-jp); font-style: normal; letter-spacing: .04em; }
.hero__progress-bars { display: flex; gap: 6px; }
.hero__progress-bars i { flex: var(--w) 1 0; height: 4px; border-radius: 4px; background: rgba(21, 21, 21, .12); overflow: hidden; transition: background-color .4s; }
.hero__progress-bars b { display: block; height: 100%; border-radius: inherit; background: var(--green); transform: scaleX(0); transform-origin: left; transition: background-color .4s; }
.hero__sticky.is-dark .hero__progress-meta, .hero__sticky.is-dark .hero__progress-meta b { color: #fff; }
.hero__sticky.is-dark .hero__progress-bars i { background: rgba(255, 255, 255, .3); }
.hero__sticky.is-dark .hero__progress-bars b { background: #fff; }
.hero__cue { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); margin: 0; display: flex; align-items: center; gap: 12px; font: 500 11px var(--font-mono); letter-spacing: .14em; color: var(--ink-2); white-space: nowrap; }
.hero__cue i { position: relative; width: 1px; height: 30px; background: var(--line-2); overflow: hidden; }
.hero__cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ink); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }
.hero__note { position: absolute; z-index: 4; right: var(--gutter); bottom: 12px; margin: 0; font-size: 10.5px; color: var(--ink-3); transition: color .4s; }

.hero__rail { transition: filter .45s; }
.hero__sticky.is-dark .hero__rail { filter: opacity(0); }
.hero__sticky.is-dark .hero__rail li { color: rgba(255, 255, 255, .55); }
.hero__sticky.is-dark .hero__rail li.is-active { color: #fff; }
.hero__sticky.is-dark .hero__note { color: rgba(255, 255, 255, .7); }

@media (max-width: 899px) {
  .hero { height: 442vh; }
  .hero__visual { --vw: 100vw; top: 50%; }
  .hero__copy { left: var(--gutter); right: var(--gutter); width: auto; top: calc(var(--hd-h) + 18px); transform: none; }
  .hero__title { font-size: clamp(28px, 8.4vw, 40px); margin: 12px 0 12px; }
  .hero__lead { font-size: 13.5px; line-height: 1.85; margin-bottom: 16px; }
  .hero__proof { gap: 6px; margin-bottom: 16px; }
  .hero__proof li { padding: 10px 10px 9px; border-radius: 12px; }
  .hero__proof b { font-size: 21px; }
  .hero__proof b small { font-size: 10px; }
  .hero__proof span { font-size: 9.5px; margin-top: 4px; }
  .hero__ctas .btn--lg { height: 52px; font-size: 15px; }
  .hero__doc { display: none; }
  .hero__rail { display: none; }
  .hero__cards { left: var(--gutter); right: var(--gutter); width: auto; bottom: 22px; height: 150px; }
  .hero__cue { display: none; }
  .hero__note { top: calc(var(--hd-h) + 6px); bottom: auto; font-size: 9.5px; }
  .hero__final { bottom: 36px; }
  .hero__final .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__view { display: none; }
}
@media (max-height: 700px) and (max-width: 899px) { .hero__proof { display: none; } }

/* =========================================================
   BRANDS MARQUEE
   ========================================================= */
.brands { display: flex; align-items: center; gap: 32px; padding: 30px 0; background: var(--bg-2); border-block: 1px solid var(--line); overflow: hidden; }
.brands__label { flex: none; margin: 0; padding-left: var(--gutter); font-size: 12px; font-weight: 700; line-height: 1.5; }
.brands__label span { display: block; font: 500 10.5px var(--font-mono); letter-spacing: .14em; color: var(--ink-3); }
.brands__label b { margin: 0 2px; font: 800 22px var(--font-en); color: var(--green); }
.marquee { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; padding-right: 56px; animation: marquee 48s linear infinite; }
.marquee__track span { font: 700 clamp(18px, 2vw, 26px) var(--font-en); letter-spacing: -.01em; white-space: nowrap; color: var(--ink); opacity: .82; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 767px) { .brands { flex-direction: column; align-items: stretch; gap: 14px; padding: 22px 0; } .marquee__track { gap: 36px; padding-right: 36px; } }

/* =========================================================
   SECTIONS (shared)
   ========================================================= */
.sec { position: relative; padding: clamp(96px, 12vw, 176px) var(--gutter); overflow-x: clip; }
.sec > :not(.bgword):not(.carousel) { position: relative; z-index: 1; max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.sec__head { margin-bottom: clamp(40px, 6vw, 80px); }
.sec__head--split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px 48px; align-items: end; }
.sec__label { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font: 500 12px var(--font-mono); letter-spacing: .16em; color: var(--ink-2); }
.sec__label span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; font-size: 11px; letter-spacing: 0; color: var(--ink); }
.sec__title { margin: 0; font-size: clamp(30px, 4.2vw, 58px); font-weight: 900; line-height: 1.32; letter-spacing: .01em; }
.sec__lead { margin: 0; font-size: 15px; line-height: 2; color: var(--ink-2); }
.bgword {
  position: absolute; z-index: 0; top: clamp(34px, 5vw, 80px); right: -2vw; margin: 0;
  font: 800 clamp(84px, 17vw, 280px)/.9 var(--font-en); letter-spacing: -.045em;
  color: #fff; opacity: .75; white-space: nowrap; pointer-events: none; user-select: none;
}
@media (max-width: 899px) { .sec__head--split { grid-template-columns: 1fr; } }

/* split-text chars keep their line box */
.ch { display: inline-block; }

/* =========================================================
   01 ISSUES
   ========================================================= */
.issues__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.icard { position: relative; display: flex; flex-direction: column; min-height: 330px; padding: 30px 26px 30px; border-radius: var(--radius); background: #fff; }
.icard__icon { width: 58px; height: 58px; margin-bottom: 30px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icard__tag { margin: 0 0 8px; font: 500 11px var(--font-mono); letter-spacing: .16em; color: var(--green-ink); }
.icard h3 { margin: 0 0 12px; font-size: 20px; font-weight: 900; line-height: 1.45; }
.icard p:last-child { margin: 0; font-size: 14px; line-height: 1.85; color: var(--ink-2); }
.issues__after { display: flex; align-items: center; gap: 22px; margin-top: 16px; padding: 22px 28px; border: 1px dashed var(--line-2); border-radius: var(--radius); }
.issues__after-label { flex: none; margin: 0; font-weight: 900; }
.issues__after ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.issues__after li { padding: 8px 16px; border-radius: 999px; background: #fff; font-size: 13.5px; }
.issues__answer { margin: clamp(72px, 10vw, 140px) auto 0; text-align: center; font-size: clamp(30px, 4.8vw, 68px); font-weight: 900; line-height: 1.35; }
.issues__answer em { font-style: normal; color: var(--green); }
@media (max-width: 1100px) { .issues__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) {
  .issues__grid { grid-template-columns: 1fr; }
  .icard { min-height: 0; padding: 24px 22px; }
  .icard__icon { width: 46px; height: 46px; margin-bottom: 18px; }
  .issues__after { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; }
}

/* =========================================================
   02 ONE TEAM
   ========================================================= */
.oneteam__stage { position: relative; padding: clamp(18px, 3vw, 40px); border-radius: 32px; background: #fff; overflow: hidden; }
.oneteam__state { display: flex; flex-wrap: wrap; gap: 8px; }
.oneteam__state span { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: var(--bg); color: var(--ink-3); font: 500 11px var(--font-mono); letter-spacing: .14em; transition: background-color .45s, color .45s; }
.oneteam__state b { font: 700 13px var(--font-jp); letter-spacing: .02em; }
.oneteam__state span.is-on { background: var(--ink); color: #fff; }
.oneteam__state span[data-state="after"].is-on { background: var(--green); }
.oneteam__svg { width: 100%; height: auto; margin-top: 10px; overflow: visible; }
@media (max-width: 899px) { .oneteam__svg { max-height: calc(100svh - var(--hd-h) - 215px); } }   /* the pinned card fits between the header and the floating buttons */
.ot-node rect { fill: var(--bg); }
.ot-node text { font: 700 15px var(--font-jp); fill: var(--ink); dominant-baseline: central; }
.ot-node--in rect { fill: #f3f0e8; }
.ot-tangle { fill: none; stroke: #b9b7b0; stroke-width: 1.3; }
.ot-flow { fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; }
.ot-main { fill: none; stroke: var(--green); stroke-width: 6; stroke-linecap: round; }
.ot-hub circle { fill: var(--ink); }
.ot-hub .ot-hub-ring { fill: none; stroke: var(--green); stroke-width: 1.5; stroke-dasharray: 3 5; }
.ot-hub text { fill: #fff; text-anchor: middle; dominant-baseline: central; }
.ot-hub .ot-hub-en { font: 800 13px var(--font-en); letter-spacing: .08em; }
.ot-hub .ot-hub-jp { font: 700 12px var(--font-jp); fill: var(--green-light); }
.ot-client rect { fill: var(--ink); transition: fill .5s; }
.ot-client.is-on rect { fill: var(--green); }
.ot-client text { fill: #fff; font: 900 17px var(--font-jp); text-anchor: middle; dominant-baseline: central; }
.ot-client .ot-client-sub { font: 500 11px var(--font-jp); fill: rgba(255, 255, 255, .78); }
.ot-caption { font: 500 11px var(--font-mono); letter-spacing: .14em; fill: var(--ink-3); }

.scope { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 28px auto 0; padding: 0; list-style: none; }
.scope li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px 10px 12px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 700; }
.scope i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; font-size: 12px; font-style: normal; }

.pmbar { display: flex; align-items: center; gap: 28px; margin-top: 28px; padding: 24px 28px; border-radius: var(--radius); background: var(--ink); color: #fff; }
.pmbar__title { flex: none; margin: 0; font-size: 18px; font-weight: 900; line-height: 1.5; }
.pmbar ul { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.pmbar li { padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 14px; font-size: 13.5px; font-weight: 700; }
.pmbar b { display: block; margin-bottom: 4px; font: 500 10px var(--font-mono); letter-spacing: .14em; color: var(--green-light); }
@media (max-width: 899px) { .pmbar { flex-direction: column; align-items: stretch; gap: 16px; } .pmbar ul { grid-template-columns: repeat(2, 1fr); } }

/* CTA band (mid page) */
.ctaband { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: clamp(40px, 6vw, 72px); padding: 28px 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.ctaband__text { margin: 0; font-size: 14.5px; line-height: 1.8; color: var(--ink-2); }
.ctaband__text b { display: block; margin-bottom: 2px; font-size: 20px; font-weight: 900; color: var(--ink); }
.ctaband__btns { display: flex; flex: none; gap: 10px; }
.ctaband--dark { background: var(--ink); border-color: transparent; }
.ctaband--dark .ctaband__text { color: rgba(255, 255, 255, .72); }
.ctaband--dark .ctaband__text b { color: #fff; }
@media (max-width: 899px) { .ctaband { flex-direction: column; align-items: stretch; padding: 24px 20px; } .ctaband__btns { flex-direction: column; } }

/* =========================================================
   03 DESIGN — blueprint sheet
   ========================================================= */
.bp { position: relative; height: 330vh; overflow-x: clip; }
.bp__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; padding: calc(var(--hd-h) + 8px) var(--gutter) 22px; }
.bp__sheet {
  position: relative; width: 100%; max-width: 1440px; height: 100%; max-height: 860px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(270px, 320px) 1fr; grid-template-rows: auto 1fr auto;
  border: 1px solid var(--line-2); background-color: var(--paper);
  background-image: linear-gradient(rgba(21, 21, 21, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(21, 21, 21, .045) 1px, transparent 1px);
  background-size: 24px 24px;
}
.bp__sheet > .cross { margin: -9px; }
.bp__head { grid-column: 1; grid-row: 1; padding: 28px 28px 22px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); background: var(--paper); }
.bp__title { margin: 0 0 14px; font-size: clamp(26px, 2.5vw, 38px); font-weight: 900; line-height: 1.3; }
.bp__lead { margin: 0; font-size: 12.5px; line-height: 1.9; color: var(--ink-2); }
.bp__notes { grid-column: 1; grid-row: 2; margin: 0; padding: 10px 0; list-style: none; border-right: 1px solid var(--line-2); background: var(--paper); overflow: hidden; }
.bp__notes li { display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; padding: 9px 28px; opacity: .32; transition: opacity .45s, background-color .45s; }
.bp__notes li b { grid-row: span 2; display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--ink); border-radius: 50%; font: 600 11px var(--font-mono); transition: background-color .45s, color .45s; }
.bp__notes li span { display: flex; align-items: baseline; gap: 10px; font: 500 10.5px var(--font-mono); letter-spacing: .14em; color: var(--ink-3); }
.bp__notes li em { font: 900 16px var(--font-jp); font-style: normal; letter-spacing: .04em; color: var(--ink); }
.bp__notes li small { font-size: 12px; color: var(--ink-2); }
.bp__notes li.is-on { opacity: 1; }
.bp__notes li.is-now { background: rgba(255, 255, 255, .7); }
.bp__notes li.is-on b { background: var(--ink); color: #fff; }
.no-js .bp__notes li, .reduce .bp__notes li { opacity: 1; }
.bp__drawing { grid-column: 2; grid-row: 1 / span 2; position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 26px 40px 18px; }
.bp__plan { width: 100%; height: 100%; overflow: visible; }
.bp__scan { position: absolute; top: 14px; bottom: 14px; left: calc(40px + var(--s, 0) * (100% - 80px)); width: 1px; background: var(--signal); opacity: 0; pointer-events: none; }
.bp__scan span { position: absolute; top: 0; left: 6px; padding: 2px 7px; border-radius: 3px; background: var(--signal); color: #fff; white-space: nowrap; font: 500 10px/1.4 var(--font-mono); letter-spacing: .12em; }
.bp__scan b { font-weight: 500; }
.bp__titleblock { grid-column: 1 / -1; grid-row: 3; display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; border-top: 1px solid var(--line-2); background: var(--paper); }
.bp__titleblock div { padding: 9px 16px; border-right: 1px solid var(--line-2); }
.bp__titleblock div:last-child { border-right: 0; }
.bp__titleblock dt { font: 500 9.5px var(--font-mono); letter-spacing: .14em; color: var(--ink-3); }
.bp__titleblock dd { margin: 0; font: 600 12px var(--font-mono); letter-spacing: .06em; }

/* svg drawing */
.bp-grid line { stroke: #c8c5bd; stroke-width: .8; stroke-dasharray: 6 6; }
.bp-tags text, .bp-north text { font: 500 11px var(--font-mono); text-anchor: middle; }
.bp-bubbles text { font: 500 10px var(--font-mono); letter-spacing: .08em; text-anchor: middle; fill: var(--ink-3); }
.bp-walls rect { fill: none; stroke: var(--ink); stroke-width: 1; }
.bp-walls rect:first-child { stroke-width: 2.4; }
.bp-windows line { stroke: #6f9fc0; stroke-width: 3; stroke-dasharray: 64 10; }
.bp-cols rect { fill: var(--ink); }
.hatch-line { stroke: #bdb9b0; stroke-width: 1.2; }
.bp-core-edge { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.bp-core text { font: 600 12px var(--font-mono); letter-spacing: .12em; text-anchor: middle; fill: var(--ink); }
.bp-core text.bp-small { font-size: 9.5px; fill: var(--ink-3); }
.bp-part path { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.bp-doors path { fill: none; stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 3 3; }
.bp-zone * { fill: none; stroke: var(--ink); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.bp-fills > * { opacity: 0; }
[data-zone-fill="a"] { fill: #f4dcd1; } [data-zone-fill="b"] { fill: #d9eee1; } [data-zone-fill="c"] { fill: #dbe5f1; }
[data-zone-fill="d"] { fill: #eae1f3; } [data-zone-fill="e"] { fill: #f1e9d6; } [data-zone-fill="f"] { fill: #e1efdc; }
.no-js .bp-fills > *, .reduce .bp-fills > * { opacity: 1; }
.bp-tags circle { fill: var(--ink); }
.bp-tags text { fill: #fff; font-weight: 600; }
.bp-dims path { fill: none; stroke: var(--signal); stroke-width: 1; }
.bp-dims text { font: 500 11px var(--font-mono); letter-spacing: .08em; text-anchor: middle; fill: var(--signal); }
.bp-dims text.bp-small { font-size: 9.5px; }
.bp-dim-inner { stroke-dasharray: 3 3; }
.bp-north circle { fill: none; stroke: var(--ink); stroke-width: 1; }
.bp-north path { fill: var(--ink); }
.bp-north text { fill: var(--ink); font-weight: 600; }

@media (max-width: 899px) {
  .bp { height: 300vh; }
  .bp__sticky { padding: calc(var(--hd-h) + 6px) 10px 10px; }
  .bp__sheet { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto auto; max-height: none; }
  .bp__head { grid-column: 1; grid-row: 1; padding: 18px 18px 14px; border-right: 0; }
  .bp__title { font-size: 24px; margin-bottom: 6px; }
  .bp__lead { font-size: 11.5px; line-height: 1.75; }
  .bp__drawing { grid-column: 1; grid-row: 2; padding: 10px 8px 6px; }
  .bp__notes { grid-column: 1; grid-row: 3; position: relative; height: 58px; padding: 0; border-right: 0; border-top: 1px solid var(--line-2); }
  .bp__notes li { position: absolute; inset: 0; align-content: center; padding: 8px 18px; opacity: 0; background: none; }
  .bp__notes li.is-now { opacity: 1; background: none; }
  .no-js .bp__notes li, .reduce .bp__notes li { opacity: 0; }
  .no-js .bp__notes li:first-child, .reduce .bp__notes li:first-child { opacity: 1; }
  .bp__titleblock { grid-row: 4; grid-template-columns: repeat(3, 1fr); }
  .bp__titleblock div:nth-child(n+4) { display: none; }
  .bp__titleblock div:nth-child(3) { border-right: 0; }
  .bp__scan { left: calc(8px + var(--s, 0) * (100% - 16px)); }
}

/* =========================================================
   04 WHY — bento
   ========================================================= */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-flow: dense; gap: 16px; }
.bcard { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 2.6vw, 36px); border-radius: 28px; background: #fff; overflow: hidden; }
.bcard--data { grid-column: span 5; }
.bcard--brands { grid-column: span 7; }
.bcard--pay { grid-column: span 7; }
.bcard--loop { grid-column: span 5; }
.bcard--eco { grid-column: span 12; flex-direction: row; align-items: center; gap: 32px; background: var(--green); color: #fff; }
.bcard__tag { margin: 0 0 18px; font: 500 11px var(--font-mono); letter-spacing: .16em; color: var(--ink-3); }
.bcard__num { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; margin: 0 0 18px; }
.bcard__num b { font: 800 clamp(56px, 6.2vw, 96px)/.95 var(--font-en); letter-spacing: -.035em; color: var(--green); }
.bcard__num small { font-size: 18px; font-weight: 900; }
.bcard__plus { font-size: 18px; font-weight: 700; color: var(--ink-2); }
.bcard h3 { margin: 0 0 12px; font-size: clamp(20px, 1.8vw, 24px); font-weight: 900; line-height: 1.45; }
.bcard > p, .bcard__eco p { margin: 0; font-size: 14px; line-height: 1.9; color: var(--ink-2); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 96px; margin-top: auto; padding-top: 26px; }
.bars i { flex: 1; height: calc(var(--h) * 100%); border-radius: 6px 6px 2px 2px; background: var(--bg); transform-origin: bottom; }
.bars i:last-child { background: var(--green); }

.bcard--brands > :not(.vmarquee) { position: relative; z-index: 1; max-width: 56%; }
.vmarquee { position: absolute; top: 0; bottom: 0; right: 24px; width: 40%; display: flex; gap: 12px; -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); }
.vmarquee__col { flex: 1; display: flex; flex-direction: column; gap: 12px; padding-bottom: 12px; animation: vmq 30s linear infinite; }
.vmarquee__col--rev { animation-direction: reverse; }
.vmarquee__col span { padding: 16px 12px; border-radius: 14px; background: var(--bg-2); text-align: center; white-space: nowrap; font: 700 14px var(--font-en); letter-spacing: -.01em; }
@keyframes vmq { to { transform: translateY(-50%); } }

.pay__tabs { display: inline-flex; gap: 2px; margin: 4px 0 22px; padding: 4px; border-radius: 999px; background: var(--bg); align-self: flex-start; }
.pay__tabs button { padding: 9px 18px; border: 0; border-radius: 999px; background: transparent; font-size: 13px; font-weight: 700; color: var(--ink-2); cursor: pointer; transition: background-color .3s, color .3s; }
.pay__tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.pay__row { display: grid; grid-template-columns: 86px 1fr; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 12.5px; color: var(--ink-2); }
.pay__track { height: 14px; border-radius: 999px; background: var(--bg); overflow: hidden; }
.pay__track i { display: block; width: 5%; height: 100%; border-radius: 999px; background: var(--ink); }
.pay__track [data-pay-bar="monthly"] { width: 34%; background: var(--green); }
.pay__desc { min-height: 3.8em; margin: 16px 0 6px; font-size: 14px; line-height: 1.85; color: var(--ink); }
.pay__note { margin: 0; font-size: 11px; color: var(--ink-3); }

.loop { position: relative; width: min(250px, 72%); aspect-ratio: 1; margin: 8px auto 22px; }
.loop svg { width: 100%; height: 100%; overflow: visible; }
.loop__ring { fill: none; stroke: var(--line-2); stroke-width: 1.4; stroke-dasharray: 4 6; }
.loop__orbit { transform-box: view-box; transform-origin: 120px 120px; animation: spin 7s linear infinite; }
.loop__orbit circle { fill: var(--green); }
.loop__node circle { fill: var(--ink); }
.loop__label { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); padding: 4px 11px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line-2); font-size: 12px; font-weight: 700; white-space: nowrap; }
.loop__center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font: 800 13px/1.3 var(--font-en); letter-spacing: .1em; }
@keyframes spin { to { transform: rotate(360deg); } }

.bcard--eco .bcard__tag { margin-bottom: 10px; color: rgba(255, 255, 255, .7); }
.bcard__eco { max-width: 720px; }
.bcard--eco h3 { font-size: clamp(22px, 2.4vw, 32px); }
.bcard--eco .bcard__eco p { color: rgba(255, 255, 255, .86); }
.eco__icon { flex: none; width: 112px; height: 112px; margin-left: auto; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1100px) {
  .bcard--data, .bcard--loop { grid-column: span 6; }
  .bcard--brands, .bcard--pay { grid-column: span 12; }
}
@media (max-width: 699px) {
  .bento { gap: 12px; }
  .bcard--data, .bcard--loop, .bcard--brands, .bcard--pay { grid-column: span 12; }
  .bcard--brands > :not(.vmarquee) { max-width: none; }
  .vmarquee { position: relative; inset: auto; width: auto; height: 150px; margin-top: 20px; }
  .bcard--eco { flex-direction: column; align-items: flex-start; }
  .eco__icon { width: 72px; height: 72px; margin-left: 0; order: -1; }
  .pay__tabs button { padding: 8px 12px; }
}

/* =========================================================
   05 WORKS — carousel
   ========================================================= */
.works__meta { display: flex; flex-direction: column; gap: 14px; }
.works__meta p { margin: 0; font-size: 15px; line-height: 1.9; color: var(--ink-2); }
.works__meta b { margin: 0 2px; font: 800 26px var(--font-en); color: var(--green); }
.carousel { position: relative; margin: 0 calc(var(--gutter) * -1); }
.carousel__viewport { overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.carousel__viewport.is-dragging { cursor: grabbing; }
.carousel__track { display: flex; gap: 20px; will-change: transform; }
.work {
  /* same width as the page content (max-width 1240), so the active card lines up with the heading and the arrows */
  flex: 0 0 min(var(--maxw), calc(100% - var(--gutter) * 2));
  display: grid; grid-template-columns: 1.45fr 1fr;
  min-height: min(580px, 72vh); border-radius: 32px; background: #fff; overflow: hidden;
  opacity: .4; transform: scale(.955);
  transition: opacity .6s var(--ease), transform .7s var(--ease);
}
.work.is-active { opacity: 1; transform: none; }
.work__media { position: relative; min-height: 320px; background: var(--bg-2); cursor: pointer; }
.work__photos { position: absolute; inset: 0; overflow: hidden; }
.work__photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .9s var(--ease), transform 6s linear; pointer-events: none; }
.work__photos img.is-active { opacity: 1; transform: scale(1); }
.work__thumbs { position: absolute; z-index: 2; left: 22px; bottom: 18px; display: flex; gap: 6px; }
.work__thumbs button { width: 52px; padding: 10px 0; border: 0; background: none; cursor: pointer; }
.work__thumbs i { position: relative; display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .45); overflow: hidden; }
.work__thumbs i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.work__thumbs button.is-active i::after { transform: scaleX(1); }
.carousel.is-playing .work.is-active .work__thumbs button.is-active i::after { animation: photoprog 3.6s linear forwards; }
@keyframes photoprog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* previous / next on the photo: slide in while the pointer is over the active project's photo (always shown on touch screens) */
.work__nav { position: absolute; z-index: 3; top: 50%; display: grid; place-items: center; width: 48px; height: 48px; margin-top: -24px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 17px; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .45); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .35s var(--ease), transform .45s var(--ease), background-color .3s, color .3s; }
.work__nav--prev { left: 20px; transform: translateX(-8px); }
.work__nav--next { right: 20px; transform: translateX(8px); }
.work__nav .ico-arrow { display: block; width: 1.5em; height: 1.5em; margin: auto; }
.work.is-active .work__media:hover .work__nav, .work.is-active .work__nav:focus-visible { opacity: 1; transform: none; pointer-events: auto; }
.work__nav:hover { background: var(--ink); color: #fff; }
@media (hover: none) { .work.is-active .work__nav { opacity: 1; transform: none; pointer-events: auto; width: 40px; height: 40px; margin-top: -20px; font-size: 15px; } }
/* the photo slideshow holds while the pointer is on the photo */
.carousel.is-playing .work.is-active .work__media:hover .work__thumbs button.is-active i::after { animation-play-state: paused; }
.work__info { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 44px); }
.work__cat { align-self: flex-start; margin: 0 0 18px; padding: 6px 12px; border-radius: 999px; background: var(--green-soft); color: var(--green-ink); font-size: 12px; font-weight: 700; }
.work__name { margin: 0 0 6px; font-size: clamp(22px, 2.1vw, 29px); font-weight: 900; line-height: 1.4; }
.work__client { margin: 0; font-size: 13px; color: var(--ink-2); }
.work__spec { margin: 20px 0 18px; border-top: 1px solid var(--line); }
.work__spec div { display: grid; grid-template-columns: 64px 1fr; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.work__spec dt { font-size: 12px; color: var(--ink-3); }
.work__spec dd { margin: 0; font-weight: 700; }
.work__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 26px; padding: 0; list-style: none; }
.work__tags li { padding: 5px 11px; border-radius: 999px; background: var(--bg-2); font-size: 12px; }
.work__credit { margin: auto 0 0; padding-top: 20px; font-size: 11px; color: var(--ink-3); }
.carousel__ctrl { display: flex; align-items: center; gap: 24px; max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 28px auto 0; padding: 0 var(--gutter); }
.carousel__count { display: flex; align-items: baseline; gap: 8px; margin: 0; font: 700 14px var(--font-en); color: var(--ink-3); }
.carousel__count b { font-size: 30px; color: var(--ink); }
.carousel__bar { position: relative; flex: 1; height: 2px; background: var(--line-2); overflow: hidden; }
.carousel__bar span { position: absolute; left: 0; top: 0; bottom: 0; width: 25%; background: var(--ink); transition: transform .7s var(--ease); }
.carousel__btns { display: flex; gap: 10px; }
.rbtn { width: 56px; height: 56px; border: 1px solid var(--line-2); border-radius: 50%; background: #fff; font-size: 18px; cursor: pointer; transition: background-color .3s, color .3s, transform .3s var(--ease); }
.rbtn:hover { background: var(--ink); color: #fff; }
.rbtn:active { transform: scale(.94); }
.works .ctaband { margin-top: clamp(48px, 6vw, 80px); }
@media (max-width: 899px) {
  .work { grid-template-columns: 1fr; min-height: 0; }
  .work__media { aspect-ratio: 4 / 3; min-height: 0; }
  .work__info { padding: 22px 22px 26px; }
  .carousel__ctrl { gap: 16px; }
  .rbtn { width: 48px; height: 48px; }
}

/* =========================================================
   06 FLOW — horizontal on desktop
   ========================================================= */
.flow { position: relative; overflow-x: clip; }
.flow__pin { display: flex; flex-direction: column; justify-content: center; padding: 32px 0; }
.flow__head { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto clamp(20px, 3vw, 40px); padding: 0 var(--gutter); }
.flow__meta { display: flex; flex-direction: column; gap: 14px; }
.flow__meta p { margin: 0; font-size: 15px; line-height: 1.9; color: var(--ink-2); }
.flow__viewport { overflow: hidden; }
.flow__track { position: relative; width: max-content; padding: 64px var(--gutter) 24px; }
.flow__line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.flow__line .fl-base { fill: none; stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 5 7; }
.flow__line .fl-prog { fill: none; stroke: var(--green); stroke-width: 2.5; stroke-linecap: round; }
.flow__steps { display: flex; gap: 20px; margin: 0; padding: 0; list-style: none; }
.fstep {
  --dot-x: 33px; --dot-y: -31px;
  position: relative; flex: none; width: 300px; padding: 26px 24px 28px; border-radius: 24px; background: #fff;
  transition: background-color .3s, color .3s, transform .6s var(--ease);
}
/* the number, heading (inherits .fstep), text and icon change together with the card colour */
.fstep__no, .fstep p:last-child { transition: color .3s; }
.fstep__icon { transition: stroke .3s; }
.fstep::before { content: ""; position: absolute; left: 26px; top: -38px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--ink-3); transition: background-color .4s, border-color .4s, transform .4s var(--ease); }
.fstep__no { margin: 0 0 20px; font: 800 13px var(--font-en); letter-spacing: .06em; color: var(--ink-3); }
.fstep__icon { width: 44px; height: 44px; margin-bottom: 18px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fstep h3 { margin: 0 0 8px; font-size: 18px; font-weight: 900; line-height: 1.45; }
.fstep p:last-child { margin: 0; font-size: 13.5px; line-height: 1.8; color: var(--ink-2); }
.fstep--loop { background: var(--green-soft); }
.fstep.is-done::before { background: var(--green); border-color: var(--green); }
.fstep.is-on { background: var(--ink); color: #fff; transform: translateY(-8px); }
.fstep.is-on::before { background: var(--green); border-color: var(--green); transform: scale(1.35); }
.fstep.is-on .fstep__icon { stroke: #fff; }
.fstep.is-on .fstep__no { color: #fff; }
.fstep.is-on p:last-child { color: rgba(255, 255, 255, .74); }
@media (max-width: 899px) {
  .flow__pin { min-height: 0; padding: clamp(80px, 12vw, 120px) 0 56px; }
  .flow__track { width: auto; padding: 8px var(--gutter) 0 calc(var(--gutter) + 30px); }
  .flow__steps { flex-direction: column; gap: 12px; }
  .fstep { --dot-x: -23px; --dot-y: 33px; width: auto; }
  .fstep::before { left: -30px; top: 26px; }
  .fstep.is-on { transform: none; }
}

/* =========================================================
   07 FAQ
   ========================================================= */
.faq__list { border-top: 1px solid var(--line-2); }
.qa { border-bottom: 1px solid var(--line-2); }
.qa summary { display: flex; align-items: center; gap: 18px; padding: 26px 4px; cursor: pointer; list-style: none; font-size: clamp(15px, 1.35vw, 18px); font-weight: 700; line-height: 1.6; }
.qa summary::-webkit-details-marker { display: none; }
.qa__q { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; font: 800 14px var(--font-en); color: var(--green-ink); }
.qa__icon { position: relative; flex: none; width: 38px; height: 38px; margin-left: auto; border: 1px solid var(--line-2); border-radius: 50%; transition: background-color .35s, border-color .35s; }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .4s var(--ease), background-color .35s; }
.qa__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa__icon { background: var(--ink); border-color: var(--ink); }
.qa[open] .qa__icon::before, .qa[open] .qa__icon::after { background: #fff; }
.qa[open] .qa__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa__a { overflow: hidden; }
.qa__a p { margin: 0; padding: 0 64px 28px 60px; font-size: 15px; line-height: 2; color: var(--ink-2); }
@media (max-width: 599px) { .qa summary { gap: 12px; } .qa__a p { padding: 0 8px 24px 50px; font-size: 14px; } }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { position: relative; padding: clamp(110px, 14vw, 200px) var(--gutter); background: var(--ink); color: #fff; overflow: hidden; }
.contact__bg { position: absolute; inset: -10% 0; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.contact__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21, 21, 21, .55), rgba(21, 21, 21, .25) 40%, rgba(21, 21, 21, .8)); }
.contact__inner { position: relative; max-width: var(--maxw); margin: 0 auto; }
.contact__title { margin: 18px 0 10px; font-size: clamp(30px, 4.4vw, 64px); font-weight: 900; line-height: 1.2; }
.contact__en { margin: 0 0 48px; font: 600 clamp(16px, 1.6vw, 22px) var(--font-en); color: rgba(255, 255, 255, .75); }
.contact__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ccard { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 200px; padding: 32px 96px 32px 32px; border-radius: 28px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .24); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: translate .45s var(--ease), background-color .3s; }
.ccard:hover { translate: 0 -4px; background: rgba(255, 255, 255, .16); }
.ccard--primary { background: #fff; color: var(--ink); border-color: #fff; }
.ccard--primary:hover { background: #fff; }
.ccard__tag { font: 500 11px var(--font-mono); letter-spacing: .16em; opacity: .7; }
.ccard strong { font-size: clamp(20px, 2vw, 26px); font-weight: 900; line-height: 1.4; }
.ccard__text { font-size: 14px; line-height: 1.8; opacity: .82; }
.ccard__arrow { position: absolute; right: 28px; top: 28px; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--green); color: #fff; font-size: 20px; transition: transform .45s var(--ease); }
.ccard:hover .ccard__arrow { transform: rotate(45deg); }
.contact__note { margin: 40px 0 0; font-size: 13.5px; line-height: 2.1; color: rgba(255, 255, 255, .78); }
.contact__note a { font: 700 17px var(--font-en); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .5); }
@media (max-width: 899px) { .contact__cards { grid-template-columns: 1fr; } .ccard { min-height: 0; padding: 26px 84px 26px 24px; } .ccard__arrow { right: 20px; top: 22px; width: 46px; height: 46px; } }

/* =========================================================
   FOOTER
   ========================================================= */
.ft { padding: 64px var(--gutter) 28px; background: var(--ink); color: #fff; overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .08); }
.ft__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 28px; max-width: var(--maxw); margin: 0 auto; }
.ft__top img { width: 168px; }
.ft__links { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 13px; color: rgba(255, 255, 255, .72); }
.ft__links a:hover { color: #fff; }
.ft__copy { margin: 0; text-align: center; font-size: 11px; color: rgba(255, 255, 255, .5); }

/* =========================================================
   STICKY CTA
   ========================================================= */
.fab {
  position: fixed; z-index: 50; right: 20px; bottom: 20px;
  display: flex; gap: 6px; padding: 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .38);
  transform: translateY(160%); transition: transform .55s var(--ease);
}
.fab.is-visible { transform: none; }
.fab.is-visible.is-hidden { transform: translateY(160%); }
.fab__doc { display: flex; align-items: center; height: 50px; padding: 0 18px; border: 1.5px solid var(--ink); border-radius: 999px; background: #fff; font-size: 13.5px; font-weight: 700; white-space: nowrap; transition: background-color .3s, color .3s; }
.fab__doc:hover { background: var(--ink); color: #fff; }
.fab__main { display: flex; align-items: center; gap: 12px; height: 50px; padding: 0 8px 0 20px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; white-space: nowrap; }
.fab__main .btn__badge { width: 34px; height: 34px; }
@media (max-width: 599px) { .fab { left: 10px; right: 10px; bottom: 10px; } .fab__main { flex: 1; justify-content: space-between; } }

/* =========================================================
   REDUCED MOTION / NO JS
   ========================================================= */
.reduce .hero { height: auto; }
.reduce .hero__sticky { position: relative; height: 100svh; min-height: 640px; }
.reduce .bp { height: auto; }
.reduce .bp__sticky { position: relative; height: 100svh; min-height: 680px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee__track, .vmarquee__col, .loop__orbit { animation: none !important; }
}

/* ---------- added: motion helpers & fallbacks ---------- */
.carousel__track { transition: transform .9s var(--ease); }
.carousel__viewport.is-dragging .carousel__track { transition: none; }
.pay__track i { transition: width .8s var(--ease); }
.ot-hub-ring { transform-box: fill-box; transform-origin: center; animation: spin 18s linear infinite; }

.no-js .hero, .reduce .hero { height: auto; }
.no-js .hero__sticky, .reduce .hero__sticky { position: relative; height: 100svh; min-height: 640px; }
.no-js .bp, .reduce .bp { height: auto; }
.no-js .bp__sticky, .reduce .bp__sticky { position: relative; height: 100svh; min-height: 680px; }
.no-js .flow__track, .reduce .flow__track { width: auto; padding-top: 24px; }
.no-js .flow__steps, .reduce .flow__steps { flex-wrap: wrap; }
.no-js .flow__line, .reduce .flow__line, .no-js .fstep::before, .reduce .fstep::before { display: none; }
.no-js .hero__cards, .reduce .hero__cards, .no-js .hero__rail, .reduce .hero__rail { display: none; }

/* blueprint on shorter screens */
@media (min-width: 900px) and (max-height: 860px) {
  .bp__head { padding: 20px 24px 16px; }
  .bp__title { font-size: clamp(24px, 2.2vw, 32px); margin-bottom: 10px; }
  .bp__lead { font-size: 12px; line-height: 1.8; }
  .bp__notes { padding: 4px 0; }
  .bp__notes li { padding: 6px 24px; }
  .bp__notes li em { font-size: 15px; }
  .bp__notes li small { font-size: 11.5px; }
}
@media (min-width: 900px) and (max-height: 740px) {
  .bp__lead { display: none; }
  .bp__notes li small { display: none; }
}
.fab.is-visible.is-hidden-bp { transform: translateY(160%); }
/* keep the arrows away from the sticky CTA (bottom-right) */
.carousel__btns { order: -1; }

/* compact header on phones */
@media (max-width: 480px) {
  .hd__menu { width: 42px; padding: 0; justify-content: center; }
  .hd__menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hd__cta .btn--primary { height: 40px; padding-left: 14px; padding-right: 6px; gap: .5em; font-size: 12.5px; }
  .hero__note { top: auto; bottom: 5px; left: var(--gutter); right: auto; font-size: 9px; }
}
/* phones: only the zone being drawn is shown under the plan */
@media (max-width: 899px) {
  .bp__notes li.is-on { opacity: 0; }
  .bp__notes li.is-now { opacity: 1; }
  .bp__notes li.is-on b, .bp__notes li.is-now b { background: var(--ink); color: #fff; }
}

/* ---------- Japanese line breaking ----------
   .ph keeps a phrase (文節) together; auto-phrase does the same automatically
   in Chromium for running text; pretty/balance avoid one-character last lines. */
.ph { display: inline-block; }
p, li, dd, dt, summary, h1, h2, h3, strong, b, small { word-break: auto-phrase; }
h1, h2, h3, summary, strong, .hero__final-title, .issues__answer { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }

/* ---------- fixes: hidden menu must not catch clicks ---------- */
.spnav[hidden] { display: none !important; }
.spnav:not(.is-open) { pointer-events: none; }

/* ---------- FV: headline accents ---------- */
.kw-green { color: var(--green); }
.kw-line { position: relative; display: inline-block; }
.kw-line__svg { position: absolute; left: -3%; bottom: -.06em; width: 106%; height: .28em; overflow: visible; fill: none; stroke: var(--signal); stroke-width: 3.2; stroke-linecap: round; }
.kw-line__tag { position: absolute; right: -.2em; top: -.02em; transform: translate(40%, -100%); font: 500 10px/1 var(--font-mono); font-style: normal; letter-spacing: .14em; color: var(--signal); white-space: nowrap; }
.kw-line__tag::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: var(--signal); vertical-align: 1px; }

/* rotating scroll badge (replaces the plain cue) */
.hero__badge { position: absolute; z-index: 3; left: 50%; bottom: 22px; width: 104px; height: 104px; margin-left: -52px; display: grid; place-items: center; pointer-events: none; }
.hero__badge > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: spin 18s linear infinite; }
.hero__badge text { font: 500 8.6px var(--font-mono); letter-spacing: .16em; fill: var(--ink-2); }
.hero__badge span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 15px; animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }
@media (max-width: 899px) { .hero__badge { display: none; } }
@media (max-height: 760px) and (min-width: 900px) { .hero__badge { width: 84px; height: 84px; margin-left: -42px; bottom: 12px; } .hero__badge span { width: 30px; height: 30px; font-size: 13px; } }

/* build progress tag during clip 1 */
.hero__hud { position: absolute; left: 6%; top: 9%; display: flex; flex-direction: column; gap: 6px; pointer-events: none; }
.js .hero__hud { opacity: 0; visibility: hidden; }
.hero__hud span { padding: 3px 8px; border-radius: 3px; background: var(--signal); color: #fff; font: 500 10px/1.4 var(--font-mono); letter-spacing: .14em; }
.hero__hud b { font-weight: 500; }
.hero__hud i { display: block; width: 100%; height: 2px; background: rgba(238, 75, 34, .2); }
.hero__hud i b { display: block; height: 100%; background: var(--signal); transform: scaleX(0); transform-origin: left; }
@media (max-width: 899px) { .hero__hud { left: 15%; top: 3%; } }

/* once the film starts to fill the screen, the side rail steps aside */
.hero__sticky.is-immersive .hero__rail, .hero__sticky.is-immersive .hero__view { filter: opacity(0); opacity: 0; }
.hero__view { transition: opacity .4s; }

/* performance while the film fills the screen:
   no edge mask (film grey ≈ page grey) and no backdrop blur over a changing picture */
.hero__imgs.is-bare { -webkit-mask-image: none; mask-image: none; }
.hd.is-dark { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(14, 16, 14, .36); }
/* leaving the drawing: the drafting grid fades as the camera flies in */
.hero__sticky.is-immersive .hero__grid { opacity: 0; }

/* keep the chapter card and the scroll badge clear of the progress bar */
.hero__cards { bottom: clamp(64px, 8vh, 88px); }
.hero__badge { bottom: 58px; }
.hero__note { bottom: auto; top: calc(var(--hd-h) + 40px); }
.hero__final { bottom: clamp(70px, 12vh, 130px); }
@media (max-width: 899px) {
  .hero__progress { bottom: 12px; }
  .hero__progress-meta em { display: none; }
  .hero__cards { bottom: 50px; }
  .hero__final { bottom: 56px; }
}
@media (max-width: 899px) {
  .hero__note { top: calc(var(--hd-h) + 8px); bottom: auto; left: var(--gutter); right: auto; opacity: 0; transition: opacity .4s, color .4s; }
  .hero__sticky.is-past-intro .hero__note { opacity: 1; }
}

/* ---------- display type: a little more air between the heavy glyphs ---------- */
.hero__title, .hero__final-title { letter-spacing: .06em; }
.sec__title, .bp__title, .contact__title, .issues__answer { letter-spacing: .05em; }

/* zone pins (A–F, same letters as the blueprint section) */
.pin b { display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 9.5px/1 var(--font-mono); letter-spacing: 0; }
.pin em { font: 700 11.5px/1 var(--font-jp); font-style: normal; letter-spacing: .04em; color: var(--ink); }
@media (max-width: 899px) { .pin { padding: 3px 7px 3px 4px; font-size: 8.5px; gap: 5px; } .pin em { font-size: 10px; } .pin b { width: 14px; height: 14px; font-size: 8px; } }

/* flow: cards start (and end) on the same edge as the heading above.
   The active card lifts 8px; its dot moves down 8px on the same curve, so it never leaves the line. */
@media (min-width: 900px) {
  .flow__track { padding-left: max(var(--gutter), calc((100% - var(--maxw)) / 2)); padding-right: max(var(--gutter), calc((100% - var(--maxw)) / 2)); }
  .fstep, .fstep::before { transition: background-color .3s, border-color .3s, color .3s, box-shadow .6s var(--ease), transform .6s var(--ease); }
  .fstep.is-on { transform: translateY(-8px); box-shadow: 0 22px 44px -26px rgba(0, 0, 0, .55); }
  .fstep.is-on::before { transform: translateY(8px) scale(1.35); }
}

/* sticky CTA on small phones */
@media (max-width: 599px) { .fab__doc { padding: 0 12px; font-size: 12.5px; } .fab__main { padding-left: 14px; font-size: 13.5px; gap: 8px; } }

/* hero closing block: a CTA, not a slogan */
.hero__final-title { margin: 14px 0 14px; font-size: clamp(30px, 4.4vw, 64px); }
.hero__final-lead { max-width: 620px; margin: 0 0 26px; font-size: clamp(14px, 1.2vw, 17px); line-height: 1.8; color: rgba(255, 255, 255, .9); text-shadow: 0 1px 14px rgba(0, 0, 0, .35); }
.hero__final-proof { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 20px 0 0; padding: 0; list-style: none; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .92); text-shadow: 0 1px 10px rgba(0, 0, 0, .35); }
.hero__final-proof li::before { content: "✓"; margin-right: 6px; color: var(--green-light); }
.ft__copy { margin-top: 48px; }
@media (max-width: 899px) { .hero__final-lead { font-size: 13.5px; margin-bottom: 18px; } .hero__final-proof { font-size: 12px; margin-top: 14px; } }
/* closing block has more text now → a slightly deeper shade behind it */
.hero__office-shade { background: linear-gradient(180deg, rgba(10, 14, 11, .2) 0%, rgba(10, 14, 11, 0) 26%, rgba(10, 14, 11, .22) 48%, rgba(10, 14, 11, .78) 100%), linear-gradient(90deg, rgba(10, 14, 11, .35), rgba(10, 14, 11, 0) 60%); }

/* first view: a peek at the finished office + what scrolling does */
.hero__teaser { position: absolute; z-index: 4; right: var(--gutter); bottom: 88px; width: clamp(210px, 16vw, 268px); padding: 8px 8px 12px; border-radius: 16px; background: #fff; box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .35); }
.hero__teaser img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.hero__teaser p { display: flex; align-items: center; gap: 8px; margin: 10px 4px 3px; font: 700 13px var(--font-jp); letter-spacing: .04em; }
.hero__teaser p b { padding: 2px 8px; border-radius: 999px; background: var(--green); color: #fff; font: 600 9.5px var(--font-mono); letter-spacing: .14em; }
.hero__teaser span { display: block; margin: 0 4px; font-size: 11.5px; line-height: 1.65; color: var(--ink-2); }
@media (max-width: 899px) { .hero__teaser { display: none; } }
