/* Re;plus asia recruit — "INSTALL 2046"
   Palette from the logo: ink / charcoal / paper / gray + one copper accent. */
:root {
  --ink: #171514;
  --ink-2: #211e1d;
  --charcoal: #3e3a39;
  --paper: #f3efea;
  --paper-2: #e7e0d8;
  --gray: #b5b5b6;
  --copper: #d4a795;
  --copper-hi: #e3bdad;
  --copper-text: #7a4f41; /* copper for small text on paper / paper-2 (AA contrast) */
  --on-dark-muted: rgba(243, 239, 234, 0.68);
  --on-light-muted: #5d5755;
  --hair-dark: rgba(243, 239, 234, 0.16);
  --hair-light: rgba(23, 21, 20, 0.14);

  --f-jp: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  --f-en: "Josefin Sans", var(--f-jp);

  --gutter: clamp(20px, 5vw, 72px);
  --sec-y: clamp(88px, 13vw, 200px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-jp);
  font-size: clamp(15px, 0.86rem + 0.25vw, 17px);
  line-height: 1.95;
  letter-spacing: 0.03em;
  font-feature-settings: "palt" 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 900; line-height: 1.25; letter-spacing: 0.02em; word-break: auto-phrase; }
p, li, blockquote, dd, dt { word-break: auto-phrase; }
.nw { white-space: nowrap; }
.ib { display: inline-block; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
b { font-weight: 700; }
.pc { display: none; }
@media (min-width: 900px) { .pc { display: inline; } }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--paper); color: var(--ink); padding: 8px 16px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

/* ---------- Stage (fixed globe layer) ---------- */
.stage { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.stage__canvas { width: 100%; height: 100%; display: block; }
.bezel {
  position: absolute; left: 0; top: 0; width: 100px; height: 100px;
  overflow: visible; opacity: 0; transition: opacity 0.6s;
  will-change: transform;
}
.bezel.is-on { opacity: 1; }
.bezel__oct { fill: none; stroke: rgba(243, 239, 234, 0.13); stroke-width: 0.6; }
.bezel__ticks line { stroke: rgba(243, 239, 234, 0.32); stroke-width: 0.5; }
.bezel__ticks line.major { stroke: rgba(243, 239, 234, 0.7); stroke-width: 0.8; }
.bezel__ticks text { fill: rgba(243, 239, 234, 0.6); font-family: var(--f-en); font-size: 5.5px; letter-spacing: 0.08em; }
.bezel__needle path { fill: var(--copper); }
.stage__labels { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s; }
.stage__labels.is-on { opacity: 1; }
.glabel {
  position: absolute; left: 0; top: 0;
  font-size: 12px; line-height: 1; white-space: nowrap;
  padding: 6px 8px; border-radius: 3px;
  background: rgba(23, 21, 20, 0.72); color: var(--paper);
  transform: translate(-50%, -190%);
  transition: opacity 0.3s;
}
.glabel b { font-family: var(--f-en); color: var(--copper); margin-left: 6px; font-size: 13px; }
.glabel.is-focus { background: var(--copper); color: var(--ink); }
.glabel.is-focus b { color: var(--ink); }

main { position: relative; z-index: 1; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; gap: 24px;
  padding: 0 var(--gutter);
  color: var(--paper);
  transition: background-color 0.4s, color 0.4s;
}
.header.is-scrolled { background: rgba(23, 21, 20, 0.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.header[data-tone="light"] { color: var(--ink); }
.header[data-tone="light"].is-scrolled { background: rgba(243, 239, 234, 0.86); }
.header__logo { display: block; width: 120px; flex: none; }
.header__logo img { width: 100%; }
.header .logo-dark { display: none; }
.header[data-tone="light"] .logo-dark { display: block; }
.header[data-tone="light"] .logo-light { display: none; }
.header__nav { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 28px); margin-left: auto; font-size: 14px; font-weight: 500; white-space: nowrap; }
.header__nav a { text-decoration: none; padding: 10px 0; opacity: 0.85; }
.header__nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
/* current page (採用情報): full opacity + thin copper rule, no louder than hover */
.header__nav > a[aria-current="page"] { opacity: 1; text-decoration: underline; text-decoration-color: var(--copper); text-decoration-thickness: 2px; text-underline-offset: 6px; }
/* dropdowns (サービス / 言語): hover, click/tap and keyboard; panel stays dark on either tone */
.nav-dd { position: relative; }
.nav-dd__btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 0;
  background: none; border: 0; color: inherit; font: inherit; opacity: 0.85; cursor: pointer;
}
.nav-dd__btn::after { content: ""; width: 6px; height: 6px; margin-top: -3px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform 0.2s; }
.nav-dd__btn[aria-expanded="true"]::after { transform: translateY(3px) rotate(-135deg); }
.nav-dd__btn:hover, .nav-dd__btn[aria-expanded="true"] { opacity: 1; }
.nav-dd--lang .nav-dd__btn { font: 600 12px/1 var(--f-en); letter-spacing: 0.08em; padding: 7px 10px 6px; border: 1px solid currentColor; border-radius: 4px; }
.nav-dd__list {
  position: absolute; top: 100%; left: -16px; min-width: max-content; margin-top: 4px;
  padding: 8px 0; background: var(--ink-2); color: var(--paper);
  border: 1px solid var(--hair-dark); border-radius: 6px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.nav-dd__list::before { content: ""; position: absolute; inset: -9px 0 auto 0; height: 9px; } /* hover bridge */
.nav-dd--lang .nav-dd__list { left: auto; right: 0; }
.nav-dd__list a { display: block; padding: 10px 20px; opacity: 0.85; }
.nav-dd__list a:hover, .nav-dd__list a:focus-visible { opacity: 1; background: rgba(243, 239, 234, 0.06); }
.nav-dd__list a[aria-current] { opacity: 1; color: var(--copper-hi); }
.nav-dd.is-open .nav-dd__list { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1024px) {
  .nav-dd:hover .nav-dd__list { opacity: 1; visibility: visible; transform: none; }
}
@media (min-width: 1024px) and (max-width: 1239px) {
  .header { gap: 16px; }
  .header__logo { width: 104px; }
  .header__nav { font-size: 13px; }
}
.header__menu {
  display: none; margin-left: auto;
  min-height: 44px; padding: 0 14px;
  background: none; color: inherit; border: 1px solid currentColor; border-radius: 4px;
  font: 600 13px/1 var(--f-en); letter-spacing: 0.08em; cursor: pointer;
}
@media (max-width: 1023px) {
  .header { gap: 10px; }
  /* without JS the menu cannot open: hide both and keep the CTA (page is linear) */
  html:not(.js) .header__nav { display: none; }
  .js .header__menu { display: inline-flex; align-items: center; }
  .header__cta { margin-left: auto; }
  .header__menu { margin-left: 0; }
  .header__nav {
    position: fixed; inset: var(--header-h) 0 0 0; /* fills the rest of the viewport, scrolls inside */
    flex-direction: column; gap: 0; margin: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--ink); color: var(--paper);
    font-size: 17px; white-space: normal;
    overflow-y: auto; overscroll-behavior: contain; align-items: stretch;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  }
  .header__nav a { padding: 14px 0; border-bottom: 1px solid var(--hair-dark); }
  .header__nav > a[aria-current="page"] { text-decoration: none; color: var(--copper-hi); }
  /* sub-lists sit open under a small label; the toggle buttons are desktop-only */
  .nav-dd__btn { display: none; }
  .nav-dd__list, .nav-dd.is-open .nav-dd__list {
    position: static; min-width: 0; margin: 0; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none;
    opacity: 1; visibility: inherit; transform: none; transition: none;
  }
  .nav-dd__list::before { content: attr(data-label); position: static; display: block; height: auto; padding: 16px 0 4px; font-size: 12px; letter-spacing: 0.08em; color: var(--on-dark-muted); }
  .nav-dd__list a { padding: 12px 0 12px 16px; font-size: 15px; }
  .nav-dd__list a:hover { background: none; }
  .nav-dd--lang .nav-dd__list { display: flex; flex-wrap: wrap; gap: 0 20px; }
  .nav-dd--lang .nav-dd__list::before { flex-basis: 100%; }
  .nav-dd--lang .nav-dd__list a { padding: 10px 0; border-bottom: 0; font-size: 14px; }
  /* visibility flips at once on open so main.js can focus the first link in the same tick */
  .header.is-open .header__nav { opacity: 1; transform: none; visibility: visible; transition: opacity 0.25s, transform 0.25s, visibility 0s; }
  .header.is-open, .header.is-open.is-scrolled, .header.is-open[data-tone="light"].is-scrolled { background: var(--ink); color: var(--paper); }
  .header.is-open .logo-dark { display: none; }
  .header.is-open .logo-light { display: block; }
}
.header__cta { white-space: nowrap; }
@media (max-width: 440px) { .header__logo { width: 100px; } .header__cta { padding: 0 14px; font-size: 13px; letter-spacing: 0.02em; } .header__menu { padding: 0 10px; } }
@media (max-width: 599px) { .bezel { display: none; } }
@media (max-width: 359px) { .header__logo { width: 82px; } .header__cta { padding: 0 10px; font-size: 12px; } .header__menu { padding: 0 8px; } }
.glabel.is-focus { z-index: 2; }
.no-globe .people__lead { display: none; }
.no-globe .people__places button { cursor: default; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 30px;
  background: var(--copper); color: var(--ink);
  border-radius: 999px;
  font-weight: 700; font-size: 16px; letter-spacing: 0.06em;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.2s var(--ease-out);
}
.btn:hover { background: var(--copper-hi); transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }
.btn--small { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn--large { min-height: 64px; padding: 0 48px; font-size: 18px; }
.textlink {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px;
}
.textlink:hover { text-decoration-thickness: 2px; }
.textlink--down::after { content: "↓"; margin-left: 0.5em; font-family: var(--f-en); }

.sec-label {
  font-family: var(--f-en); font-weight: 600; font-size: 14px; letter-spacing: 0.06em;
  color: var(--copper); margin-bottom: 20px;
}
[data-tone="light"] .sec-label { color: var(--copper-text); }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="mask"] { opacity: 1; transform: none; }
[data-reveal="mask"] > span { display: block; }
.js [data-reveal="mask"] > span { clip-path: inset(0 0 100% 0); transform: translateY(0.35em); transition: clip-path 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.js [data-reveal="mask"] > span:nth-child(2) { transition-delay: 0.08s; }
.js [data-reveal="mask"] > span:nth-child(3) { transition-delay: 0.16s; }
.js [data-reveal="mask"].is-in > span { clip-path: inset(-0.2em -0.2em -0.3em -0.2em); transform: none; }

/* ---------- 01 Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h) + clamp(48px, 10vh, 120px)) var(--gutter) 40px;
  display: grid; grid-template-rows: 1fr auto;
}
.hero__inner { max-width: 940px; align-self: center; }
.hero__kicker { font-size: 14px; font-weight: 500; color: var(--on-dark-muted); margin-bottom: 28px; }
.hero__title { font-size: clamp(40px, 5.6vw, 96px); line-height: 1.12; letter-spacing: 0.01em; }
.hero__title .line > span { white-space: nowrap; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__title .line > span { display: inline-block; }
.hero__lead { margin-top: 32px; max-width: 34em; color: var(--on-dark-muted); }
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.hero__scroll { position: absolute; right: var(--gutter); bottom: 40px; font: 600 12px var(--f-en); letter-spacing: 0.08em; color: var(--on-dark-muted); writing-mode: vertical-rl; }
.hero__scroll span::after { content: ""; display: block; width: 1px; height: 56px; margin: 12px auto 0; background: currentColor; }

.js:not(.reduce) .hero__title .line > span { transform: translateY(110%); animation: lineUp 1.2s var(--ease-out) forwards; }
.js:not(.reduce) .hero__title .line:nth-child(2) > span { animation-delay: 0.1s; }
.js:not(.reduce) .hero__title .line:nth-child(3) > span { animation-delay: 0.2s; }
.js:not(.reduce) .hero__kicker,
.js:not(.reduce) .hero__lead,
.js:not(.reduce) .hero__actions { opacity: 0; animation: fadeIn 1s var(--ease-out) 0.7s forwards; }
@keyframes lineUp { to { transform: none; } }
@keyframes fadeIn { to { opacity: 1; } }

@media (max-width: 899px) {
  .hero { padding-top: calc(var(--header-h) + 38svh); }
  .hero__inner { align-self: end; }
  .hero__inner::before { /* readability scrim over the globe */
    content: ""; position: absolute; inset: 30svh 0 0 0; z-index: -1;
    background: linear-gradient(to bottom, rgba(23, 21, 20, 0) 0, rgba(23, 21, 20, 0.86) 22%);
  }
  .hero__scroll { display: none; }
}

/* ---------- Shared section parts ---------- */
.sec-head { max-width: 980px; }
.sec-title { font-size: clamp(30px, 4.4vw, 64px); text-wrap: balance; }
.sec-title > span { display: block; }
.sec-sub { margin-top: 22px; font-size: clamp(17px, 1.6vw, 21px); font-weight: 700; color: var(--on-dark-muted); }
[data-tone="light"] .sec-sub { color: var(--on-light-muted); }
.sub-h { font-size: 15px; font-weight: 700; letter-spacing: 0.06em; margin-bottom: 20px; }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.btn--ghost:hover { background: rgba(243, 239, 234, 0.08); }
[data-tone="light"] .btn--ghost:hover { background: rgba(23, 21, 20, 0.06); }
/* placeholder frame for pending materials */
.ph {
  aspect-ratio: 16 / 9; display: grid; place-items: center;
  border: 1px dashed currentColor; border-radius: 4px; opacity: 0.6;
  background: repeating-linear-gradient(135deg, transparent 0 10px, rgba(181, 181, 182, 0.08) 10px 11px);
}
.ph span { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; }
.pending {
  display: inline-block; margin-left: 0.6em; padding: 0 0.6em; vertical-align: 0.1em;
  font-size: 11px; font-weight: 700; line-height: 1.8; letter-spacing: 0.08em;
  border: 1px dashed currentColor; border-radius: 3px; opacity: 0.7;
}

/* ---------- 1 Our work ---------- */
.work { padding: var(--sec-y) var(--gutter); position: relative; }
.work::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(23,21,20,0.5), rgba(23,21,20,0.92) 24%); }
/* three groups: Meta credibility → how we build with AI → work list */
.work__group { margin-top: clamp(48px, 6vw, 88px); }
.work__group + .work__group { margin-top: clamp(40px, 5vw, 72px); }
.work__gh { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(16px, 2vw, 24px); font-size: clamp(18px, 1.7vw, 23px); }
.work__gh::before { content: ""; flex: none; width: 28px; height: 2px; background: var(--copper); }
.work__grid { display: grid; gap: 1px; background: var(--hair-dark); border: 1px solid var(--hair-dark); }
@media (min-width: 700px) { .work__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .work__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.wcard { background: var(--ink); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.wcard .ph { order: 3; margin-top: auto; color: var(--gray); }
.wcard h4 { font-size: clamp(20px, 1.9vw, 26px); }
.wcard p { color: var(--on-dark-muted); font-size: 15px; line-height: 1.85; }
.wcard > .st, .wcard__more { order: 3; margin-top: auto; }
.wcard__more { align-self: flex-start; font-size: 15px; }
.wcard > .st + .wcard__more { margin-top: 0; }
.wcard__thumb { order: 3; margin-top: auto; display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; border: 1px solid var(--hair-dark); }
.wcard__thumblink { order: 3; margin-top: auto; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.wcard__thumblink .wcard__thumb { order: 0; margin-top: 0; transition: opacity 0.2s; }
.wcard__thumblink:hover .wcard__thumb { opacity: 0.85; }
.wcard__thumblink .textlink { align-self: flex-start; }
.wcard--wide { grid-column: 1 / -1; }
.wcard--wide .showcase__grid { margin-top: clamp(8px, 1.5vw, 20px); }
.wcard--cta h4 { color: var(--copper); }
/* 2 columns: the first Meta card takes a full row so the three cards leave no empty cell */
@media (min-width: 700px) and (max-width: 1099px) { .work__grid--meta > :first-child { grid-column: 1 / -1; } }
/* the closing card follows LP + Lunaria: a whole row in 2 columns, the third cell in 3 columns */
@media (min-width: 700px) and (max-width: 1099px) {
  .wcard--cta { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 40px; }
  .wcard--cta .wcard__more { margin-top: 0; }
}
/* two cards on one shelf: the conversation (with the harness) and caty-ai */
@media (min-width: 1100px) { .work__grid--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wcard__body { display: flex; flex-direction: column; gap: 14px; }
.wcard .arw { margin-left: 0.4em; font-family: var(--f-en); }

/* showcase videos: tiles keep their own aspect ratio (--ar = width / height); rows are
   sized so every tile in a row shares one height (no crop, no letterbox) */
.showcase__grid { --g: clamp(12px, 1.4vw, 20px); margin-top: clamp(28px, 3.5vw, 48px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: calc(var(--g) * 1.8) 0; }
.showcase__grid > .st { flex: 0 0 100%; min-width: 0; }
.showcase__grid > .st:nth-child(3), .showcase__grid > .st:nth-child(4) { flex-basis: calc((100% - var(--g)) * var(--ar) / 1.3625 - 0.1px); }
@media (min-width: 600px) and (max-width: 1099px) {
  /* vertical car ad + 16:9 share a row; 4:5 + 9:16 share a row; 16:9 pieces full or half */
  .showcase__grid > .st:nth-child(-n+2) { flex-basis: calc((100% - var(--g)) * var(--ar) / 2.3403 - 0.1px); }
  .showcase__grid > .st:nth-child(6), .showcase__grid > .st:nth-child(7) { flex-basis: calc((100% - var(--g)) / 2 - 0.1px); }
}
@media (min-width: 1100px) {
  .showcase__grid > .st:nth-child(-n+4) { flex-basis: calc((100% - 3 * var(--g)) * var(--ar) / 3.7028 - 0.1px); }
  .showcase__grid > .st:nth-child(n+5) { flex-basis: calc((100% - 2 * var(--g)) / 3 - 0.1px); }
}
.st figure { margin: 0; }
.st__media { position: relative; aspect-ratio: var(--ar); background: var(--ink-2); border: 1px solid var(--hair-dark); border-radius: 4px; overflow: hidden; }
.st__media img, .st__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.st__media video { background: transparent; }
/* Chrome paints a grey sheet over a not-yet-loaded video with controls (no-JS); keep the lazy poster <img> visible */
.st__media video::-webkit-media-controls { background: transparent !important; }
.st figcaption { margin-top: 12px; display: flex; flex-direction: column; gap: 2px; }
.st__label { font-size: 14px; font-weight: 700; line-height: 1.6; }
.st__meta { font-size: 12px; line-height: 1.6; color: var(--on-dark-muted); }
/* play / sound control (added by main.js) */
.st__btn {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; color: var(--ink); background: var(--paper);
  font: 700 12px/1 var(--f-jp); letter-spacing: 0.04em;
  transition: opacity 0.3s, background-color 0.3s;
}
.st__btn svg { width: 14px; height: 14px; fill: currentColor; flex: none; }
.st__btn:hover { background: var(--copper-hi); }
.st[data-state="idle"] .st__btn { left: 50%; top: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 0 0 6px rgba(23, 21, 20, 0.35); }
.st[data-state="idle"] .st__btn svg { width: 18px; height: 18px; margin-left: 3px; }
.st[data-state="idle"] .st__btn span, .st[data-state="muted"] .st__btn .i-play, .st[data-state="idle"] .st__btn .i-sound { display: none; }
.st[data-state="muted"] .st__btn { left: 10px; bottom: 10px; min-height: 36px; padding: 0 14px; border-radius: 18px; background: rgba(23, 21, 20, 0.78); color: var(--paper); box-shadow: inset 0 0 0 1px var(--hair-dark); }
.st[data-state="muted"] .st__btn:hover { background: var(--copper); color: var(--ink); }
.st[data-state="sound"] .st__btn { display: none; }

/* ---------- 2 Clients ---------- */
.clients { background: var(--paper); color: var(--ink); padding: var(--sec-y) var(--gutter); }
/* interview cards (clients here, member moments in Culture). Extra items carry data-more;
   main.js hides them behind a disclosure button. Without JS every card is shown. */
.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.voices [hidden], .voices__btn[hidden] { display: none !important; }
.voices { display: grid; gap: clamp(20px, 2.2vw, 32px); }
.voices--clients { margin-top: clamp(48px, 6vw, 88px); }
@media (min-width: 640px) { .voices--clients { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .voices--clients { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.vcard { display: flex; flex-direction: column; background: var(--paper-2); border-radius: 6px; overflow: hidden; }
.vcard__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--gray); }
.vcard__body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 2.2vw, 30px); border-top: 2px solid var(--ink); }
.vcard__who { font-size: 13px; font-weight: 700; line-height: 1.6; color: var(--copper-text); letter-spacing: 0.04em; }
.vcard__who span { font-weight: 500; }
.vcard__hl { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; text-wrap: pretty; }
.vcard__q { position: relative; margin: 0; padding-left: 22px; font-size: 15px; line-height: 1.85; color: var(--on-light-muted); }
.vcard__q::before { content: "\201C"; position: absolute; left: -2px; top: -0.1em; font: 700 40px/1 var(--f-en); color: var(--copper-text); }
.vcard__link { align-self: flex-start; margin-top: auto; display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.vcard__link:hover { text-decoration-thickness: 2px; color: var(--copper-text); }
.vcard__link .arw { margin-left: 0.4em; font-family: var(--f-en); }
.voices__more { margin-top: clamp(24px, 3vw, 40px); display: flex; justify-content: center; }
.voices__btn {
  min-height: 52px; padding: 0 32px; border-radius: 999px; cursor: pointer;
  background: transparent; color: inherit; border: 0; box-shadow: inset 0 0 0 1px currentColor;
  font: 700 15px/1 var(--f-jp); letter-spacing: 0.06em;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background-color 0.2s;
}
.voices__btn::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.3s var(--ease-out); }
.voices__btn[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.voices__btn:hover { background: rgba(23, 21, 20, 0.06); }
/* cards opened by the button rise in with a short stagger (index set by main.js) */
.js:not(.reduce) .voices .is-new { animation: voiceIn 0.7s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes voiceIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.figures { margin-top: clamp(64px, 8vw, 120px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); border-top: 1px solid var(--hair-light); }
.figures > div { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--hair-light); }
.figures dt { font-size: 14px; color: var(--on-light-muted); line-height: 1.6; }
.figures dd { margin-top: 10px; font-size: 15px; font-weight: 700; }
.figures dd b { font-family: var(--f-en); font-weight: 600; font-size: clamp(52px, 5.4vw, 84px); line-height: 1; margin: 0 4px; font-variant-numeric: tabular-nums; }
.figures dd.figures__src { margin-top: 8px; font-size: 12px; font-weight: 500; color: var(--on-light-muted); }
.figures__src a { display: inline-block; padding: 8px 0; text-underline-offset: 4px; }
.world__motto { text-underline-offset: 5px; }
.figures dd small { display: block; margin-top: 6px; font-size: 13px; font-weight: 500; color: var(--on-light-muted); }

/* ---------- 3 Vision ---------- */
.vision { background: var(--ink); padding: var(--sec-y) var(--gutter); }
.vision__body { margin-top: clamp(40px, 6vw, 88px); display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (min-width: 900px) { .vision__body { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.venn { margin: 0; width: min(480px, 100%); justify-self: center; }
.venn__c { fill: rgba(243, 239, 234, 0.035); stroke: rgba(243, 239, 234, 0.55); stroke-width: 1; }
.venn__c--c { stroke: var(--copper); }
.venn__t { fill: var(--paper); font-family: var(--f-jp); font-weight: 900; font-size: 22px; letter-spacing: 0.04em; }
.venn__core { fill: var(--copper); }
.js:not(.reduce) .venn .venn__c { transition: transform 1.4s var(--ease-out); transform-box: fill-box; transform-origin: center; }
.js:not(.reduce) .venn:not(.is-in) .venn__c--a { transform: translate(-24px, -10px); }
.js:not(.reduce) .venn:not(.is-in) .venn__c--b { transform: translate(24px, -10px); }
.js:not(.reduce) .venn:not(.is-in) .venn__c--c { transform: translate(0, 24px); }
.pairs { border-top: 1px solid var(--hair-dark); }
.pairs li { padding: 18px 0; border-bottom: 1px solid var(--hair-dark); }
.pairs h3 { font-size: clamp(19px, 1.8vw, 24px); }
.pairs p { margin-top: 6px; color: var(--on-dark-muted); }
.vision__core { margin-top: 36px; font-size: clamp(20px, 2.1vw, 28px); font-weight: 900; line-height: 1.6; color: var(--copper); }
.vision__lead { margin-top: 24px; color: var(--on-dark-muted); max-width: 40em; }
.vision__def { margin-top: 24px; font-weight: 700; padding-left: 16px; border-left: 2px solid var(--copper); }

/* ---------- 4 Human x AI ---------- */
.human { background: var(--paper); color: var(--ink); padding: var(--sec-y) var(--gutter); }
.human__cols { margin-top: clamp(48px, 6vw, 88px); display: grid; gap: clamp(20px, 2.4vw, 32px); }
@media (min-width: 900px) { .human__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.human__cols > li { background: var(--paper-2); border-radius: 6px; padding: clamp(24px, 3vw, 40px); }
.human__cols h3 { font-size: clamp(19px, 1.8vw, 24px); margin-bottom: 16px; }
.human__cols p + p { margin-top: 8px; }
.human__cols .human__co { background: var(--ink); color: var(--paper); }
.human__co h3 { color: var(--copper); }
.human__close { margin-top: clamp(56px, 7vw, 104px); font-size: clamp(24px, 3.2vw, 44px); font-weight: 900; line-height: 1.45; }
.human__close span { display: block; }

/* ---------- 5 World ---------- */
.world { position: relative; }
.world__intro { padding: var(--sec-y) var(--gutter) calc(var(--sec-y) * 0.5); position: relative; }
.world__intro::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to right, rgba(23,21,20,0.94) 0, rgba(23,21,20,0.82) 55%, rgba(23,21,20,0.4) 100%); }
.world .sec-title { font-size: clamp(28px, 4vw, 58px); }
.stages { margin-top: clamp(40px, 5vw, 72px); max-width: clamp(760px, 60vw, 860px); border-top: 1px solid var(--hair-dark); }
.stages > li { display: grid; gap: 4px 32px; padding: 20px 0; border-bottom: 1px solid var(--hair-dark); }
@media (min-width: 700px) { .stages > li { grid-template-columns: 13em minmax(0, 1fr); align-items: baseline; } }
.stages h3 { font-size: clamp(19px, 1.8vw, 24px); }
.stages h3 small { font-size: 13px; font-weight: 500; color: var(--on-dark-muted); margin-left: 4px; }
.stages p { color: var(--on-dark-muted); }
.stages .stages__next h3 { color: var(--copper); grid-column: 1 / -1; }
/* activity photos per place: a row under the text (PC), a swipeable strip (phone).
   [data-temp-photo] marks temporary crops / placeholders to replace later. */
.stages__photos { margin-top: 14px; display: flex; gap: 12px; }
@media (min-width: 700px) { .stages__photos { grid-column: 2; } }
.stages__photos > li { flex: 1 1 0; min-width: 0; }
/* temporary low-res crops stay at or under their native 470px (sharp) */
.stages__photos > li[data-temp-photo] { flex: 0 1 240px; }
.stages__photos .stages__wide img { aspect-ratio: 1100 / 688; }
.stages__photos figure { margin: 0; }
.stages__photos img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; border: 1px solid var(--hair-dark); background: var(--ink-2); box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.7); }
.stages__photos figcaption { margin-top: 6px; font-size: 12px; line-height: 1.6; color: var(--on-dark-muted); }
.stages__ph {
  aspect-ratio: 3 / 2; display: grid; place-items: center;
  border: 1px dashed rgba(243, 239, 234, 0.32); border-radius: 4px;
  background: repeating-linear-gradient(135deg, transparent 0 10px, rgba(243, 239, 234, 0.04) 10px 11px);
}
.stages__ph span { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; color: var(--on-dark-muted); }
/* photos fade/slide in one after another once the strip is reached */
.js [data-reveal].stages__photos { opacity: 1; transform: none; }
.js .stages__photos > li { opacity: 0; transform: translateX(18px); transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out); }
.js .stages__photos > li:nth-child(2) { transition-delay: 0.1s; }
.js .stages__photos > li:nth-child(3) { transition-delay: 0.2s; }
.js .stages__photos.is-in > li { opacity: 1; transform: none; }
.reduce .stages__photos > li { opacity: 1 !important; transform: none !important; }
/* center focus: main.js sets --f (0 = away from the viewport middle, 1 = at it) while
   scrolling; the strip comes forward (scale + brightness). Reduced motion: full size, no scaling. */
@media (min-width: 700px) {
  .js:not(.reduce) .stages__photos[data-reveal] {
    transform: scale(calc(0.86 + 0.14 * var(--f, 0))); transform-origin: left center;
    filter: brightness(calc(0.72 + 0.28 * var(--f, 0)));
    transition: none; will-change: transform, filter;
  }
}
@media (max-width: 699px) {
  .js:not(.reduce) .stages__photos figure {
    transform: scale(calc(0.92 + 0.08 * var(--f, 0)));
    filter: brightness(calc(0.78 + 0.22 * var(--f, 0)));
    will-change: transform, filter;
  }
}
@media (max-width: 699px) {
  .stages__photos {
    margin: 12px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 6px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
  }
  .stages__photos::-webkit-scrollbar { display: none; }
  .stages__photos > li { flex: 0 0 85%; scroll-snap-align: start; }
  .stages__photos > li[data-temp-photo] { flex: 0 0 min(72%, 260px); }
}

.people { min-height: 110svh; padding: calc(var(--sec-y) * 0.5) var(--gutter); display: grid; align-items: center; }
.people__panel { max-width: 540px; justify-self: end; }
.people__title { font-size: clamp(28px, 3.6vw, 52px); }
.people__title > span { display: block; }
.people__lead-text { margin-top: 20px; font-size: clamp(16px, 1.4vw, 19px); font-weight: 700; }
.people__lead { margin-top: 12px; color: var(--on-dark-muted); font-size: 14px; }
.people__places { margin-top: 24px; }
.people__region { font-size: 12px; color: var(--on-dark-muted); margin: 18px 0 10px; }
.people__places ul { display: flex; flex-wrap: wrap; gap: 8px; }
.people__places button {
  min-height: 44px; padding: 0 14px;
  display: inline-flex; align-items: center;
  background: rgba(23, 21, 20, 0.6); color: var(--paper);
  border: 1px solid var(--hair-dark); border-radius: 4px;
  font: 500 15px var(--f-jp); cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.people__places button::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--copper); margin-right: 8px; }
.people__places button:hover { border-color: rgba(243, 239, 234, 0.5); }
.people__places button[aria-pressed="true"] { border-color: var(--copper); background: rgba(212, 167, 149, 0.14); }
@media (max-width: 899px) {
  /* mobile: intro (opaque) -> window onto the globe -> place picker docked under it */
  .people { display: block; min-height: 0; padding: 0; }
  .people__panel { max-width: none; }
  .people__intro { background: var(--ink); padding: calc(var(--header-h) + var(--sec-y) * 0.5) var(--gutter) 32px; }
  .people__places { margin-top: 52svh; background: rgba(23, 21, 20, 0.94); padding: 8px var(--gutter) 32px; border-top: 1px solid var(--hair-dark); }
  .people__places button { font-size: 14px; padding: 0 12px; }
  .world__intro::before { background: rgba(23, 21, 20, 0.6); }
  /* no globe (WebGL off / plain fallback): no window to look through */
  .no-globe .people__places, html:not(.js) .people__places { margin-top: 0; }
}
html:not(.js) .people__lead { display: none; }
.world__outro { background: var(--ink); padding: calc(var(--sec-y) * 0.6) var(--gutter) var(--sec-y); display: grid; gap: clamp(56px, 7vw, 104px); }
.reach { max-width: 900px; border-top: 1px solid var(--hair-dark); padding-top: 24px; }
.reach__title { font-size: clamp(20px, 2.2vw, 30px); }
.reach__list { margin-top: 14px; color: var(--on-dark-muted); line-height: 2; word-break: keep-all; overflow-wrap: anywhere; }
.reach__label { color: var(--paper); font-weight: 700; }
.world__close p:first-child { color: var(--on-dark-muted); }
.world__install { margin-top: 28px; font-size: clamp(30px, 5vw, 76px); font-weight: 900; line-height: 1.2; }
.world__install > span { display: block; }
.world__front { margin-top: 20px; font-size: clamp(18px, 1.8vw, 24px); font-weight: 700; color: var(--copper); }

/* ---------- 6 How we face AI ---------- */
.face { background: var(--paper); color: var(--ink); padding: var(--sec-y) var(--gutter); }
.face__list { margin-top: clamp(48px, 6vw, 88px); display: grid; }
.fitem {
  display: grid; grid-template-columns: clamp(72px, 10vw, 150px) minmax(0, 1fr); gap: 0 clamp(16px, 3vw, 48px);
  padding: clamp(24px, 3.4vw, 44px) 0; border-top: 1px solid var(--hair-light);
}
.fitem:last-child { border-bottom: 1px solid var(--hair-light); }
@media (min-width: 900px) {
  .fitem:nth-child(2) { margin-left: 4vw; }
  .fitem:nth-child(3) { margin-left: 8vw; }
  .fitem:nth-child(4) { margin-left: 12vw; }
}
.fitem__num { font-family: var(--f-en); font-weight: 700; font-size: clamp(48px, 7.5vw, 116px); line-height: 0.85; color: transparent; -webkit-text-stroke: 1px rgba(23, 21, 20, 0.4); }
.fitem--lead .fitem__num { color: var(--copper); -webkit-text-stroke: 0; }
.fitem h3 { font-size: clamp(21px, 2.4vw, 32px); }
.fitem p { margin-top: 12px; color: var(--on-light-muted); max-width: 38em; }

/* ---------- 7 Culture ---------- */
.culture { background: var(--paper-2); color: var(--ink); padding: var(--sec-y) var(--gutter); display: grid; gap: clamp(56px, 7vw, 112px); }
.culture__top { display: grid; gap: 40px clamp(40px, 6vw, 112px); }
@media (min-width: 1000px) { .culture__top { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: end; } }
.culture__text { display: grid; gap: 24px; max-width: 38em; }
.values ol { border-top: 1px solid var(--hair-light); }
@media (min-width: 900px) { .values ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; } }
.values li { display: grid; grid-template-columns: 3em minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--hair-light); }
.values__n { font: 700 20px/1.3 var(--f-en); color: var(--copper-text); }
.values b { font-size: clamp(18px, 1.7vw, 22px); font-weight: 900; line-height: 1.5; }
.moments__grid { display: grid; gap: clamp(20px, 2.4vw, 32px); }
@media (min-width: 720px) { .moments__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .moments__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.moment { background: var(--paper); border-radius: 6px; padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 14px; }
.moment__tag { font-size: 13px; font-weight: 700; color: var(--copper-text); letter-spacing: 0.04em; }
.moment blockquote { margin: 0; font-size: clamp(17px, 1.5vw, 19px); font-weight: 700; line-height: 1.8; }
.moment__who { margin-top: auto; display: flex; align-items: center; gap: 14px; padding-top: 12px; border-top: 1px solid var(--hair-light); }
.moment__who img { width: clamp(76px, 6.4vw, 92px); height: auto; aspect-ratio: 1; border-radius: 10px; object-fit: cover; flex: none; background: var(--paper-2); }
.moment__who p { font-size: 14px; font-weight: 700; line-height: 1.5; }
.moment__who a { display: inline-flex; align-items: center; min-height: 32px; margin-top: 2px; font-size: 12px; font-weight: 500; color: var(--on-light-muted); text-underline-offset: 4px; }
.moment__who p a { display: flex; }
.moment__who a::after { content: "↗"; margin-left: 0.4em; font-family: var(--f-en); }
.moment--ph .ph { color: var(--on-light-muted); flex: 1; min-height: 160px; aspect-ratio: auto; }

/* ---------- 8 Who fits ---------- */
.fits { background: var(--ink); padding: var(--sec-y) var(--gutter); }
.fits__cols { margin-top: clamp(48px, 6vw, 88px); display: grid; gap: 48px clamp(40px, 6vw, 96px); }
@media (min-width: 900px) { .fits__cols { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.fits__cols ul { border-top: 1px solid var(--hair-dark); }
.fits__cols li { position: relative; padding: 14px 0 14px 28px; border-bottom: 1px solid var(--hair-dark); line-height: 1.75; }
.fits__yes li { font-weight: 700; }
.fits__yes li::before { content: ""; position: absolute; left: 2px; top: 1.45em; width: 10px; height: 10px; border-radius: 50%; background: var(--copper); }
.fits__no li { color: var(--on-dark-muted); }
.fits__no li::before { content: ""; position: absolute; left: 2px; top: 1.65em; width: 12px; height: 1px; background: var(--gray); }
.fits__yes .sub-h { color: var(--copper); }
.fits__no .sub-h { color: var(--on-dark-muted); }
.fits__passion { margin-top: clamp(64px, 8vw, 120px); max-width: 44em; }
.fits__passion h3 { font-size: clamp(28px, 3.6vw, 52px); }
.fits__passion p { margin-top: 20px; color: var(--on-dark-muted); }

.fits__core { margin-top: clamp(48px, 6vw, 88px); padding: clamp(28px, 4vw, 56px); border: 1px solid var(--copper); border-radius: 6px; max-width: 60em; }
.fits__core-label { font-size: 15px; font-weight: 700; letter-spacing: 0.06em; color: var(--copper); }
.fits__core-word { margin-top: 10px; font-size: clamp(32px, 6vw, 88px); white-space: nowrap; font-weight: 900; line-height: 1.2; }
.fits__core-def { margin-top: 16px; font-size: clamp(19px, 2vw, 26px); font-weight: 700; line-height: 1.6; }
.fits__core-note { margin-top: 16px; color: var(--on-dark-muted); }
.fits__why { margin-top: clamp(48px, 6vw, 88px); max-width: 52em; }
.fits__why-title { font-size: clamp(22px, 2.6vw, 34px); }
.fits__why > p { margin-top: 18px; line-height: 1.9; }
.fits__episodes { margin-top: 24px; display: grid; gap: 16px; }
@media (min-width: 900px) { .fits__episodes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fits__episode { padding: 22px 24px; border-left: 3px solid var(--copper); background: rgba(243, 239, 234, 0.04); line-height: 1.8; }
.fits__episode--slot { min-height: 120px; display: grid; place-items: center; border: 1px dashed var(--gray); color: var(--on-dark-muted); font-weight: 700; letter-spacing: 0.08em; }
.fits__yes .sub-h { line-height: 1.6; }

/* ---------- 10 Jobs ---------- */
.jobs { background: var(--paper); color: var(--ink); padding: var(--sec-y) var(--gutter); }
.jobs__grid { margin-top: clamp(48px, 6vw, 88px); display: grid; gap: clamp(16px, 2vw, 28px); }
@media (min-width: 700px) { .jobs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .jobs__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.job { border-top: 2px solid var(--ink); padding: 20px 0 8px; }
.job__n { font: 700 15px var(--f-en); color: var(--copper-text); letter-spacing: 0.06em; }
.job h3 { margin-top: 8px; font-size: clamp(21px, 2vw, 27px); }
.job h3 small { font-size: 14px; font-weight: 500; margin-left: 4px; }
.job p { margin-top: 10px; color: var(--on-light-muted); }
.job--open { background: var(--ink); color: var(--paper); border-top-color: var(--copper); padding: 20px 22px 22px; border-radius: 0 0 6px 6px; }
.job--open .job__n { color: var(--copper); }
.job--open p { color: var(--on-dark-muted); }
.flow { margin-top: clamp(56px, 7vw, 104px); }
.flow__steps { display: grid; gap: 10px; counter-reset: f; }
@media (min-width: 900px) { .flow__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; } }
.flow__steps li {
  counter-increment: f; position: relative;
  padding: 18px 20px 20px 56px; background: var(--paper-2); line-height: 1.6;
}
.flow__steps li::before { content: counter(f, decimal-leading-zero); position: absolute; left: 18px; top: 18px; font: 700 15px/1.6 var(--f-en); color: var(--copper-text); }
.flow__steps li > b { display: block; font-size: 17px; line-height: 1.5; }
.flow__steps li small { font-weight: 500; }
.flow__steps li p { margin-top: 8px; font-size: 14px; color: var(--on-light-muted); }
.flow__note { font-weight: 700; color: var(--ink) !important; }
.flow__btn { margin-top: 12px; min-height: 48px; padding: 0 18px; font-size: 14px; letter-spacing: 0.02em; line-height: 1.4; text-align: center; }
.flow__see { padding-top: 10px; border-top: 1px solid rgba(23, 21, 20, 0.14); }
.flow__see span { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: var(--copper-text); }
.flow__steps li:last-child { background: var(--ink); color: var(--paper); }
.flow__steps li:last-child::before, .flow__steps li:last-child .flow__see span { color: var(--copper); }
.flow__steps li:last-child p { color: var(--on-dark-muted); }
.flow__steps li:last-child .flow__see { border-top-color: var(--hair-dark); }
@media (min-width: 900px) {
  .flow__steps { gap: 12px; }
  .flow__steps li { padding: 22px 24px 24px; }
  .flow__steps li::before { position: static; display: block; margin-bottom: 4px; }
  .flow__steps li:not(:last-child)::after { content: ""; position: absolute; right: -10px; top: 26px; z-index: 1; border: 8px solid transparent; border-left-color: var(--paper-2); }
}

/* experienced entry */
.exp { margin-top: clamp(48px, 6vw, 88px); padding: clamp(28px, 4vw, 48px); border: 1px solid var(--ink); border-radius: 6px; }
.exp__label { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; color: var(--copper-text); }
.exp__title { margin-top: 8px; font-size: clamp(22px, 2.6vw, 34px); }
.exp p:not(.exp__label) { margin-top: 14px; max-width: 46em; color: var(--on-light-muted); }
.exp b { color: var(--ink); }
.exp__btn { margin-top: 22px; }

/* ---------- 11 Closing ---------- */
.final { padding: var(--sec-y) var(--gutter); text-align: center; display: grid; justify-items: center; background: var(--ink); }
.final__title { margin: 4px 0 28px; font-size: clamp(38px, 7vw, 116px); line-height: 1.18; }
.final__title > span { display: block; }
.final__motto { color: var(--copper); font-weight: 700; }
.final__text { margin: 36px 0 48px; font-size: clamp(16px, 1.6vw, 20px); line-height: 2; max-width: 34em; }
.final__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; }
@media (max-width: 599px) { .final__actions .btn--large { padding: 0 24px; font-size: 16px; letter-spacing: 0.02em; } }
.final__note { margin-top: 20px; font-size: 13px; line-height: 1.8; color: var(--on-dark-muted); }

/* ---------- 9 Work style (install signature) ---------- */
.install {
  --ibg: var(--ink); --ifg: var(--paper); --imuted: var(--on-dark-muted); --ihair: var(--hair-dark);
  background: var(--ibg); color: var(--ifg);
}
.install__pin {
  min-height: 100svh;
  padding: calc(var(--header-h) + 32px) var(--gutter) 40px;
  display: grid; gap: 28px 64px; align-content: center;
}
@media (min-width: 900px) { .install__pin { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.install__title { font-size: clamp(26px, 3.2vw, 44px); }
.install__yearwrap { margin-top: clamp(16px, 4vh, 48px); }
.install__yearlabel { display: block; font: 600 13px var(--f-en); letter-spacing: 0.06em; color: var(--imuted); }
.install__year { display: block; font-family: var(--f-en); font-weight: 700; font-size: clamp(84px, 13vw, 210px); line-height: 0.9; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.install__total { margin-top: 20px; display: flex; align-items: center; gap: 16px; }
.install__totalbar { flex: 1; height: 3px; background: var(--ihair); position: relative; overflow: hidden; max-width: 420px; }
.install__totalbar i { position: absolute; inset: 0; background: var(--copper); transform-origin: left; transform: scaleX(var(--p, 1)); }
.install__pct { font: 600 15px var(--f-en); font-variant-numeric: tabular-nums; min-width: 3.5em; }
.install__list { display: grid; border-top: 1px solid var(--ihair); }
.ins {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name state" "value value" "bar bar";
  padding: 14px 0 0; border-bottom: 1px solid var(--ihair);
  transition: opacity 0.4s;
}
@media (min-width: 640px) {
  .ins { grid-template-columns: 3em minmax(0, 1fr) auto; grid-template-areas: "name value state" "bar bar bar"; align-items: baseline; gap: 0 20px; }
}
.ins__name { grid-area: name; font-size: 14px; color: var(--imuted); font-weight: 500; }
.ins__value { grid-area: value; font-size: clamp(22px, 2.4vw, 32px); font-weight: 900; line-height: 1.35; }
.ins__state { grid-area: state; font: 600 13px var(--f-en); letter-spacing: 0.04em; justify-self: end; }
.ins__state::before { content: "Done"; color: var(--copper); }
[data-tone="light"] .ins__state::before, .install.is-dawn .ins__state::before { color: var(--copper-text); }
.ins__bar { grid-area: bar; height: 2px; background: transparent; position: relative; overflow: hidden; margin-bottom: -1px; }
.ins__bar i { position: absolute; inset: 0; background: var(--copper); transform-origin: left; transform: scaleX(var(--p, 0)); }
.ins[data-state="waiting"] { opacity: 0.32; }
.ins[data-state="waiting"] .ins__state::before { content: "Waiting"; color: inherit; }
.ins[data-state="installing"] .ins__state::before { content: "Installing"; color: inherit; }
@media (min-width: 900px) and (min-height: 760px) {
  .ins { padding-top: 22px; }
  .ins__value { font-size: clamp(26px, 2.6vw, 38px); }
}
@media (max-width: 639px) {
  .install__pin { min-height: 0; gap: 8px; padding: calc(var(--sec-y) * 0.6) var(--gutter) calc(var(--sec-y) * 0.6); align-content: start; }
  .install__meta { position: sticky; top: var(--header-h); z-index: 2; background: var(--ibg); padding: 12px 0 14px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); }
  .install__title { font-size: 22px; }
  .install__yearwrap { margin-top: 6px; display: flex; align-items: baseline; gap: 12px; }
  .install__yearlabel { order: 2; }
  .install__year { font-size: clamp(56px, 18vw, 80px); }
  .install__total { margin-top: 6px; }
  .ins { padding-top: 16px; }
  .ins__value { font-size: 22px; }
}
/* WORK STYLE rows: number / value / state */
.ins__value { padding: 2px 0 14px; }
.ins__name { font-family: var(--f-en); font-weight: 600; }
.install .sec-label { color: var(--copper); }
.install.is-dawn .sec-label { color: var(--copper-text); }
.ins__value { font-size: clamp(19px, 2vw, 28px); word-break: auto-phrase; text-wrap: pretty; }
@media (min-width: 900px) and (min-height: 760px) { .ins__value { font-size: clamp(22px, 1.9vw, 30px); } }
@media (max-width: 639px) { .ins__value { font-size: 19px; } .install .sec-label { margin-bottom: 4px; } }
.steps { padding: calc(var(--sec-y) * 0.4) var(--gutter) var(--sec-y); }
.steps__title { font-size: clamp(24px, 3vw, 40px); }
.steps__list { margin-top: clamp(32px, 4vw, 56px); display: grid; gap: clamp(20px, 2.4vw, 32px); }
@media (min-width: 900px) { .steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.step { border: 1px solid var(--ihair); border-radius: 6px; padding: clamp(24px, 3vw, 40px); }
.step__no { font: 700 14px var(--f-en); letter-spacing: 0.08em; color: var(--copper); }
.install.is-dawn .step__no { color: var(--copper-text); }
.step h4 { margin: 8px 0 14px; font-size: clamp(21px, 2.2vw, 28px); font-weight: 900; line-height: 1.35; }
.step h4 small { display: inline-block; font-size: 14px; font-weight: 500; color: var(--imuted); }
.step p { color: var(--imuted); }
.step p + p { margin-top: 8px; }

.step__note { margin-top: 14px !important; padding-top: 12px; border-top: 1px solid var(--ihair); font-size: 14px; }
.step__note a { margin-left: 6px; color: inherit; }
.onboard { padding-top: 0; }
.onboard__lead { margin-top: 12px; color: var(--imuted); font-weight: 700; }
@media (min-width: 1100px) { .onboard__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 1; background: var(--ink); border-top: 1px solid var(--hair-dark); padding: 40px var(--gutter); display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; font-size: 13px; }
.footer img { width: 120px; }
.footer ul { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer a { display: inline-block; padding: 10px 0; text-decoration: none; color: var(--on-dark-muted); }
.footer a:hover { color: var(--paper); }
.footer small { margin-left: auto; color: var(--on-dark-muted); font-family: var(--f-en); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
.reduce [data-reveal], .reduce [data-reveal="mask"] > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }

