/* ==========================================================================
   NEXTBLUE — "Tidal" design system (light)
   ========================================================================== */

:root {
  --bg: #f6f8fb;
  --paper: #ffffff;
  --ink: #12173a;
  --navy: #22225a;
  --muted: #5d6483;
  --faint: #8d93ad;
  --line: rgba(18, 23, 58, .12);
  --line-strong: rgba(18, 23, 58, .22);
  --blue: #2d4bff;
  --blue-soft: #e4e9ff;
  --ice: #dceaf6;
  --mist: #edf3f9;
  --sky: #b9d5ef;
  --peach: #ffd8c9;
  --lilac: #e2dcfb;
  --mint: #d2f0e6;

  --f-sans: "Inter Tight", "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  --f-serif: "Instrument Serif", "Zen Kaku Gothic New", Georgia, serif;

  --gutter: clamp(20px, 4.2vw, 72px);
  --maxw: 1440px;
  --radius: 28px;
  --radius-sm: 16px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.8;
  font-feature-settings: "palt" 1;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
html[lang="en"] body { line-height: 1.65; letter-spacing: 0; }

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: #fff; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 1000;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff;
  transform: translateY(-200%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 920px; }

/* grain overlay for a tactile, printed feel */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-5%, 3%); }
  40% { transform: translate(3%, -6%); }
  60% { transform: translate(-7%, 2%); }
  80% { transform: translate(4%, 5%); }
}

/* ---------------------------------------------------------------- type */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft);
}
.serif { font-family: var(--f-serif); font-weight: 400; font-style: italic; letter-spacing: -.01em; }

.h-display {
  font-size: clamp(48px, 10.5vw, 196px);
  line-height: .92; letter-spacing: -.045em; font-weight: 500; margin: 0;
}
.h-1 { font-size: clamp(40px, 6.4vw, 104px); line-height: 1; letter-spacing: -.035em; font-weight: 500; margin: 0; }
.h-2 { font-size: clamp(30px, 4vw, 64px); line-height: 1.08; letter-spacing: -.03em; font-weight: 500; margin: 0; }
.h-3 { font-size: clamp(22px, 2.1vw, 32px); line-height: 1.25; letter-spacing: -.015em; font-weight: 500; margin: 0; }
html[lang="ja"] .h-1, html[lang="ja"] .h-2 { letter-spacing: -.02em; line-height: 1.18; }
html[lang="ja"] .h-3 { letter-spacing: 0; line-height: 1.5; }
.lead { font-size: clamp(17px, 1.35vw, 21px); line-height: 1.75; color: var(--muted); max-width: 40em; }

/* split-word reveal */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.wi { display: inline-block; will-change: transform; }
.js .split-pending .wi { transform: translateY(110%); animation: nb-split-safe 0s 3.5s forwards; } /* safety net if JS/GSAP fails */
@keyframes nb-split-safe { to { transform: none; } }

/* ---------------------------------------------------------------- buttons */
.btn {
  --bg-btn: var(--ink); --fg-btn: #fff;
  position: relative; display: inline-flex; align-items: center; gap: .8em;
  height: 56px; padding: 0 28px; border-radius: 999px; overflow: hidden; isolation: isolate;
  background: var(--bg-btn); color: var(--fg-btn); font-weight: 600; font-size: 15px; letter-spacing: .01em;
  transition: color .5s var(--ease), box-shadow .5s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--blue); transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover::before { transform: none; }
.btn:hover { box-shadow: 0 16px 40px -16px rgba(45, 75, 255, .6); }
.btn .arrow { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.btn:hover .arrow { transform: translateX(4px) rotate(-45deg); }
.btn--ghost { --bg-btn: transparent; --fg-btn: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--ghost:hover { --fg-btn: #fff; }
.btn--light { --bg-btn: #fff; --fg-btn: var(--ink); }
.btn--light:hover { --fg-btn: #fff; }
.btn--sm { height: 44px; padding: 0 20px; font-size: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6em; font-weight: 600;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .6s var(--ease);
}
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------------------------------------------------------------- header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 80; height: var(--header-h);
  display: flex; align-items: center;
  transition: transform .6s var(--ease), background .4s, box-shadow .4s;
}
.site-header.is-scrolled {
  background: rgba(246, 248, 251, .78);
  -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .container { display: flex; align-items: center; gap: 24px; }
.brand { display: block; width: 168px; flex: none; }
.brand img { width: 100%; }
.nav-main { display: flex; gap: 4px; margin-left: auto; }
.nav-main a {
  position: relative; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink);
  transition: background .3s;
}
.nav-main a:hover, .nav-main a[aria-current="page"] { background: rgba(18, 23, 58, .06); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border-radius: 999px;
  font-size: 13px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line-strong); transition: background .3s;
}
.lang-switch:hover { background: #fff; }
.menu-toggle {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 8px 0 18px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 600;
}
.menu-toggle .bars { position: relative; width: 28px; height: 28px; border-radius: 50%; background: #fff; }
.menu-toggle .bars::before, .menu-toggle .bars::after {
  content: ""; position: absolute; left: 8px; right: 8px; height: 1.5px; background: var(--ink);
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.menu-toggle .bars::before { top: 11px; }
.menu-toggle .bars::after { top: 16px; }
.menu-open .menu-toggle .bars::before { top: 13.5px; transform: rotate(45deg); }
.menu-open .menu-toggle .bars::after { top: 13.5px; transform: rotate(-45deg); }

@media (max-width: 1180px) { .nav-main { display: none; } .header-actions { margin-left: auto; } }
@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .brand { width: 132px; }
  .header-actions .btn { display: none; }
  .lang-switch { height: 40px; padding: 0 12px; }
  .menu-toggle { height: 40px; }
  .menu-toggle .label { display: none; }
  .menu-toggle { padding: 0 6px; }
}

/* ---------------------------------------------------------------- menu overlay */
.menu {
  position: fixed; inset: 0; z-index: 70; visibility: hidden;
  display: grid; grid-template-columns: 1.4fr 1fr; overflow-y: auto;
  padding: calc(var(--header-h) + 32px) var(--gutter) 40px;
  background: var(--bg);
  clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease-in-out), visibility 0s .9s;
}
.menu-open .menu { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .9s var(--ease-in-out); }
.menu__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.menu__bg .blob { opacity: .8; }
.menu__primary { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.menu__primary li { overflow: hidden; }
.menu__primary a {
  display: flex; align-items: baseline; gap: .5em; padding: .08em 0;
  font-size: clamp(36px, 6vw, 88px); line-height: 1.08; letter-spacing: -.035em; font-weight: 500;
  transform: translateY(110%); transition: transform .9s var(--ease), color .3s;
}
html[lang="ja"] .menu__primary a { font-size: clamp(30px, 4.6vw, 68px); letter-spacing: -.02em; line-height: 1.3; }
.menu__primary a::before {
  counter-increment: m; content: "0" counter(m); font-size: 13px; letter-spacing: .1em; color: var(--faint);
  font-weight: 500; transform: translateY(-1.6em);
}
.menu__primary a:hover { color: var(--blue); }
.menu__primary a:hover .serif-hover { font-family: var(--f-serif); font-style: italic; }
.menu-open .menu__primary a { transform: none; }
.menu-open .menu__primary li:nth-child(2) a { transition-delay: .05s; }
.menu-open .menu__primary li:nth-child(3) a { transition-delay: .1s; }
.menu-open .menu__primary li:nth-child(4) a { transition-delay: .15s; }
.menu-open .menu__primary li:nth-child(5) a { transition-delay: .2s; }
.menu-open .menu__primary li:nth-child(6) a { transition-delay: .25s; }
.menu-open .menu__primary li:nth-child(7) a { transition-delay: .3s; }
.menu__side { display: flex; flex-direction: column; gap: 32px; padding-top: 16px; opacity: 0; transform: translateY(20px); transition: opacity .6s .3s, transform .8s .3s var(--ease); }
.menu-open .menu__side { opacity: 1; transform: none; }
.menu__side h3 { margin: 0 0 8px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); font-weight: 600; }
.menu__side ul { list-style: none; margin: 0; padding: 0; }
.menu__side li a { display: inline-block; padding: 4px 0; font-size: 17px; }
.menu__side li a:hover { color: var(--blue); }
@media (max-width: 860px) { .menu { grid-template-columns: 1fr; gap: 40px; } }

/* ---------------------------------------------------------------- blobs / tide */
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .9; will-change: transform; }
.blob--1 { width: 52vw; height: 52vw; left: -14vw; top: -18vw; background: radial-gradient(circle at 30% 30%, #cfe3fb, transparent 65%); animation: drift1 22s ease-in-out infinite alternate; }
.blob--2 { width: 44vw; height: 44vw; right: -12vw; top: 4vw; background: radial-gradient(circle at 50% 50%, var(--lilac), transparent 65%); animation: drift2 26s ease-in-out infinite alternate; }
.blob--3 { width: 38vw; height: 38vw; left: 34vw; bottom: -20vw; background: radial-gradient(circle at 50% 50%, var(--peach), transparent 65%); animation: drift3 30s ease-in-out infinite alternate; opacity: .7; }
@keyframes drift1 { to { transform: translate(8vw, 6vw) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-6vw, 8vw) scale(.9); } }
@keyframes drift3 { to { transform: translate(-10vw, -4vw) scale(1.15); } }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + 40px) 0 48px; overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__tide { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; }
.hero__eyebrow { margin-bottom: clamp(20px, 3vw, 40px); }
.hero__title .serif { color: var(--blue); }
.hero__visual {
  position: relative; width: clamp(240px, 30vw, 520px); aspect-ratio: 670 / 450; margin-bottom: 1.2vw;
}
.hero__visual img {
  width: 100%; height: 100%; object-fit: cover;
  clip-path: ellipse(46% 44% at 50% 50%);
  animation: morph 14s ease-in-out infinite alternate;
}
@keyframes morph {
  0% { clip-path: ellipse(46% 44% at 50% 50%); }
  50% { clip-path: ellipse(42% 46% at 48% 52%); }
  100% { clip-path: ellipse(47% 41% at 52% 49%); }
}
.hero__visual .ring {
  position: absolute; inset: -6%; border-radius: 50%; border: 1px solid var(--line-strong);
  animation: spin 40s linear infinite;
}
.hero__visual .ring::after {
  content: ""; position: absolute; top: 50%; left: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--blue);
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero__badge {
  position: absolute; right: -4%; top: -8%; width: 116px; height: 116px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: #fff; text-align: center;
  font-size: 11px; line-height: 1.35; letter-spacing: .04em; font-weight: 600; padding: 14px;
  box-shadow: 0 20px 50px -20px rgba(18, 23, 58, .6);
}
.hero__badge b { display: block; font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 26px; letter-spacing: 0; line-height: 1; margin-bottom: 4px; }
.hero__foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; margin-top: clamp(28px, 4vw, 56px); padding-top: 28px; border-top: 1px solid var(--line); }
.hero__lead { margin: 0; max-width: 46em; color: var(--muted); font-size: clamp(15px, 1.15vw, 18px); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 28px; }
.scroll-cue i { position: relative; width: 1px; height: 44px; background: var(--line-strong); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--ink); animation: cue 2s var(--ease-in-out) infinite; }
@keyframes cue { to { top: 100%; } }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; width: min(78vw, 420px); justify-self: end; margin: 0 0 8px; }
  .hero__foot { grid-template-columns: 1fr; }
  .hero__badge { width: 92px; height: 92px; font-size: 9px; }
  .hero__badge b { font-size: 20px; }
}

/* ---------------------------------------------------------------- marquee */
.marquee { position: relative; overflow: hidden; padding: 28px 0; border-block: 1px solid var(--line); background: var(--paper); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 40px; padding-right: 40px; font-size: clamp(28px, 4vw, 60px); font-weight: 500; letter-spacing: -.03em; white-space: nowrap; }
.marquee__item .serif { color: var(--blue); }
.marquee__item svg { width: .7em; height: .7em; color: var(--blue); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- sections */
.section { position: relative; padding-block: clamp(96px, 13vw, 200px); }
.section--tight { padding-block: clamp(72px, 9vw, 140px); }
.section--paper { background: var(--paper); }
.section--ice { background: linear-gradient(180deg, var(--mist), var(--ice)); }
.section__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: clamp(48px, 6vw, 96px); }
.section__head .eyebrow { margin-bottom: 20px; }
.section__head .lead { margin: 0; justify-self: end; }
@media (max-width: 860px) { .section__head { grid-template-columns: 1fr; } .section__head .lead { justify-self: start; } }

/* statement (fund II) */
.statement { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; }
.statement__text { font-size: clamp(32px, 5.2vw, 88px); line-height: 1.06; letter-spacing: -.035em; font-weight: 500; margin: 0; }
html[lang="ja"] .statement__text { font-size: clamp(28px, 4.6vw, 76px); line-height: 1.28; letter-spacing: -.02em; }
.statement__text .ch { color: rgba(18, 23, 58, .16); transition: color .2s; }
.statement__text .ch.on { color: var(--ink); }
.statement__sub { grid-column: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; margin-top: 48px; }
.statement__sub p { margin: 0; color: var(--muted); max-width: 36em; font-size: clamp(16px, 1.2vw, 19px); }
@media (max-width: 860px) { .statement { grid-template-columns: 1fr; } .statement__sub { grid-column: 1; grid-template-columns: 1fr; } }

/* focus list */
.focus { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.focus__item { position: relative; border-bottom: 1px solid var(--line); }
.focus__row {
  display: grid; grid-template-columns: 80px minmax(0, 1.2fr) minmax(0, 1fr) 48px; gap: 24px; align-items: center;
  padding: clamp(24px, 3vw, 44px) 0; width: 100%; text-align: left;
}
.focus__num { font-size: 13px; color: var(--faint); letter-spacing: .1em; }
.focus__title { font-size: clamp(28px, 3.8vw, 60px); line-height: 1.05; letter-spacing: -.035em; font-weight: 500; transition: transform .6s var(--ease), color .3s; }
.focus__sub { color: var(--muted); font-size: 15px; }
.focus__icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-strong); transition: background .4s, color .4s, transform .6s var(--ease); }
.focus__icon svg { width: 18px; height: 18px; }
.focus__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.focus__body > div { overflow: hidden; }
.focus__body p { margin: 0; padding: 0 0 40px; max-width: 44em; margin-left: calc(80px + 24px); color: var(--muted); font-size: clamp(16px, 1.2vw, 19px); }
.focus__item:hover .focus__title { transform: translateX(12px); }
.focus__item.is-open .focus__title { color: var(--blue); }
.focus__item.is-open .focus__icon { background: var(--ink); color: #fff; transform: rotate(45deg); }
.focus__item.is-open .focus__body { grid-template-rows: 1fr; }
@media (max-width: 760px) {
  .focus__row { grid-template-columns: 40px minmax(0, 1fr) 40px; }
  .focus__sub { display: none; }
  .focus__icon { width: 40px; height: 40px; }
  .focus__body p { margin-left: 0; }
}

/* support duo */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 64px; }
.card {
  position: relative; padding: clamp(28px, 3vw, 48px); border-radius: var(--radius); background: var(--paper);
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(18, 23, 58, .25); overflow: hidden;
}
.card h3 { margin: 24px 0 12px; }
.card p { margin: 0; color: var(--muted); }
.card__icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.card__icon svg { width: 26px; height: 26px; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.stat { padding: 28px 24px 0 0; border-right: 1px solid var(--line); }
.stat + .stat { padding-left: 24px; }
.stat:last-child { border-right: 0; }
.stat__num { display: block; font-size: clamp(64px, 9vw, 168px); line-height: .95; letter-spacing: -.06em; font-weight: 400; font-variant-numeric: tabular-nums; }
.stat__num sup { font-size: .32em; vertical-align: top; color: var(--blue); margin-left: .05em; letter-spacing: 0; top: .4em; position: relative; }
.stat__label { display: block; margin-top: 16px; color: var(--muted); font-size: 14px; max-width: 14em; }
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 28px; }
}

/* process (horizontal on desktop) */
.process { position: relative; overflow: hidden; }
.process__track { display: flex; gap: 20px; }
.step {
  position: relative; flex: 0 0 min(560px, 78vw); min-height: 440px; padding: clamp(28px, 3vw, 48px);
  border-radius: var(--radius); background: var(--paper); display: flex; flex-direction: column;
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(18, 23, 58, .25);
}
.step__num { font-size: clamp(90px, 10vw, 160px); line-height: .8; letter-spacing: -.06em; font-weight: 300; color: var(--blue); font-family: var(--f-serif); font-style: italic; }
.step h3 { margin: auto 0 16px; padding-top: 40px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.step__wave { position: absolute; right: 24px; top: 24px; width: 120px; opacity: .5; }
.step--cta { background: var(--ink); color: #fff; justify-content: space-between; }
.step--cta p { color: rgba(255, 255, 255, .7); }
@media (max-width: 1023px) {
  .process__track { flex-direction: column; }
  .step { flex: none; min-height: 0; }
}

/* logo wall */
.logos { display: flex; flex-direction: column; gap: 16px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logos__row { display: flex; width: max-content; gap: 16px; animation: marquee 60s linear infinite; }
.logos__row--rev { animation-direction: reverse; animation-duration: 70s; }
.logos:hover .logos__row { animation-play-state: paused; }
.logo-tile {
  flex: none; width: 220px; height: 112px; border-radius: 20px; background: var(--paper);
  display: grid; place-items: center; padding: 14px 28px; box-shadow: 0 1px 0 var(--line);
  transition: transform .5s var(--ease), box-shadow .5s;
}
.logo-tile img { max-height: 72px; width: auto; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .78; transition: filter .4s, opacity .4s; mix-blend-mode: multiply; }
.logo-tile:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(18, 23, 58, .35); }
.logo-tile:hover img { filter: none; opacity: 1; }

/* team */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.member { position: relative; }
.member__photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--ice); }
.member__cover { display: block; height: 100%; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.85); }
.member:hover .member__photo img { transform: scale(1.1); filter: none; }
.member__links { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 8px; }
.member__links a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .88); backdrop-filter: blur(8px); transition: background .3s, color .3s; }
.member__links a:hover { background: var(--ink); color: #fff; }
.member__links svg { width: 16px; height: 16px; }
.member__name { margin: 18px 0 2px; font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
.member__role { color: var(--muted); font-size: 14px; }
.member__role span + span::before { content: " / "; }
@media (max-width: 1023px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.team-detail { display: grid; gap: clamp(56px, 7vw, 112px); }
.profile { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 96px); align-items: start; }
.profile:nth-child(even) .profile__photo { order: 2; }
.profile__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: var(--ice); }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; }
.profile__name { margin: 0 0 6px; }
.profile__name small { display: block; margin-top: 10px; font-size: 15px; color: var(--muted); letter-spacing: 0; font-weight: 400; }
.profile__bio p { color: var(--muted); }
.profile__links { display: flex; gap: 12px; margin-top: 24px; }
@media (max-width: 760px) { .profile { grid-template-columns: 1fr; } .profile:nth-child(even) .profile__photo { order: 0; } .profile__photo { max-width: 420px; } }

/* article cards */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px) 20px; }
.post-card { display: flex; flex-direction: column; gap: 18px; }
.post-card__media { position: relative; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; background: linear-gradient(135deg, var(--ice), var(--lilac)); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.post-card__fallback img { width: 34%; height: auto; opacity: .35; object-fit: contain; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; font-size: 13px; color: var(--muted); }
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; font-weight: 500; color: var(--ink); white-space: nowrap; }
a.tag:hover { background: var(--ink); color: #fff; box-shadow: none; }
.tag--active { background: var(--ink); color: #fff; box-shadow: none; }
.post-card__title { margin: 0; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; font-weight: 500; letter-spacing: 0; }
.post-card__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); }
.post-card:hover .post-card__title a { background-size: 100% 1px; }
.post-card--feature { grid-column: span 2; grid-row: span 2; }
.post-card--feature .post-card__media { aspect-ratio: 16 / 11; }
.post-card--feature .post-card__title { font-size: clamp(22px, 2vw, 32px); line-height: 1.4; }
@media (max-width: 1023px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .post-card--feature { grid-column: span 2; grid-row: auto; } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } .post-card--feature { grid-column: auto; } }

/* CTA */
.cta { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(120px, 16vw, 260px); text-align: center; }
.cta__bg { position: absolute; inset: 0; z-index: -1; }
.cta h2 { font-size: clamp(44px, 8vw, 148px); line-height: .98; letter-spacing: -.05em; font-weight: 500; margin: 0 auto 32px; }
html[lang="ja"] .cta h2 { font-size: clamp(36px, 6.4vw, 112px); letter-spacing: -.03em; line-height: 1.15; }
.cta p { margin: 0 auto 48px; max-width: 36em; color: var(--muted); }
.cta__btn {
  position: relative; display: inline-grid; place-items: center; width: clamp(160px, 15vw, 220px); aspect-ratio: 1; border-radius: 50%;
  background: var(--ink); color: #fff; font-weight: 600; font-size: 16px; overflow: hidden; isolation: isolate;
  transition: transform .6s var(--ease);
}
.cta__btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--blue); z-index: -1; transform: scale(0); transition: transform .6s var(--ease); }
.cta__btn:hover::before { transform: scale(1); }
.cta__btn span { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cta__btn svg { width: 22px; height: 22px; }

/* ---------------------------------------------------------------- inner page hero */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(64px, 10vw, 160px)) 0 clamp(56px, 7vw, 112px); overflow: hidden; isolation: isolate; }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.page-hero .eyebrow { margin-bottom: 28px; }
.page-hero .lead { margin: 32px 0 0; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span::before { content: "/"; margin-right: 8px; color: var(--faint); }

/* ---------------------------------------------------------------- about */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 120px); }
.split__aside { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
.prose-lg p { font-size: clamp(17px, 1.35vw, 21px); line-height: 1.9; margin: 0 0 1.4em; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split__aside { position: static; } }

.grid-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mini-card { padding: 28px; border-radius: 22px; background: var(--paper); box-shadow: 0 1px 0 var(--line); display: flex; flex-direction: column; gap: 14px; transition: transform .5s var(--ease), box-shadow .5s; }
.mini-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -28px rgba(18, 23, 58, .35); }
.mini-card__num { font-family: var(--f-serif); font-style: italic; font-size: 34px; line-height: 1; color: var(--blue); }
.mini-card h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.005em; }
.mini-card p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.75; }
@media (max-width: 1100px) { .grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-cards { grid-template-columns: 1fr; } }

/* strategy */
.strategy { display: grid; gap: clamp(64px, 8vw, 140px); }
.strategy__item { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 112px); align-items: center; }
.strategy__item:nth-child(even) .strategy__media { order: 2; }
.strategy__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--ice); }
.strategy__media img { width: 100%; height: 115%; object-fit: cover; }
.strategy__num { display: block; font-family: var(--f-serif); font-style: italic; font-size: clamp(56px, 6vw, 96px); line-height: 1; color: var(--blue); margin-bottom: 20px; }
.strategy__item p { color: var(--muted); font-size: clamp(16px, 1.15vw, 18px); }
@media (max-width: 860px) { .strategy__item { grid-template-columns: 1fr; } .strategy__item:nth-child(even) .strategy__media { order: 0; } }

.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: f; border-top: 1px solid var(--line-strong); }
.flow__item { padding: 32px 32px 0 0; position: relative; }
.flow__item + .flow__item { padding-left: 32px; border-left: 1px solid var(--line); }
.flow__item::before { counter-increment: f; content: "0" counter(f); display: block; font-size: 13px; letter-spacing: .12em; color: var(--blue); font-weight: 600; margin-bottom: 20px; }
.flow__item h3 { margin: 0 0 12px; }
.flow__item p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr; } .flow__item + .flow__item { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 32px; } }

/* process page features */
.features { display: grid; gap: 20px; }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--radius); overflow: hidden; background: var(--paper); box-shadow: 0 1px 0 var(--line); }
.feature:nth-child(even) .feature__media { order: 2; }
.feature__media { min-height: 360px; overflow: hidden; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__body { padding: clamp(28px, 4vw, 64px); display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.feature__body > p { margin: 0; color: var(--muted); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%232d4bff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature:nth-child(even) .feature__media { order: 0; } .feature__media { min-height: 240px; } }

/* ---------------------------------------------------------------- portfolio */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter-btn { height: 42px; padding: 0 20px; border-radius: 999px; font-size: 14px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--line-strong); transition: background .3s, color .3s; }
.filter-btn[aria-pressed="true"], .filter-btn:hover { background: var(--ink); color: #fff; box-shadow: none; }
.filter-btn .count { margin-left: 6px; opacity: .5; font-size: 12px; }
.companies { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.company {
  position: relative; display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: 22px;
  background: var(--paper); box-shadow: 0 1px 0 var(--line); transition: transform .5s var(--ease), box-shadow .5s, opacity .4s;
}
.company:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(18, 23, 58, .4); }
.company.is-hidden { display: none; }
.company__logo { height: 84px; display: flex; align-items: center; }
.company__logo img { max-height: 84px; max-width: 180px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.company__name { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.company__desc { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.75; flex: 1; }
.company__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; }
.company__region { color: var(--faint); letter-spacing: .08em; text-transform: uppercase; font-size: 11px; font-weight: 600; }
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .06em; background: var(--blue); color: #fff; }
.company .badge { position: absolute; top: 24px; right: 24px; }
.company__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.company__link svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.company__link:hover svg { transform: translate(2px, -2px); }
@media (max-width: 1023px) { .companies { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .companies { grid-template-columns: 1fr; } }

/* voices */
.voices { display: grid; gap: clamp(64px, 8vw, 128px); }
.voice { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.voice:nth-child(even) .voice__video { order: 2; }
.voice__video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.voice__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.voice__quote { margin: 0; font-size: clamp(20px, 1.9vw, 30px); line-height: 1.55; letter-spacing: -.01em; font-weight: 400; }
html[lang="ja"] .voice__quote { font-size: clamp(18px, 1.6vw, 24px); line-height: 1.9; }
.voice__quote::before { content: "“"; display: block; font-family: var(--f-serif); font-size: 120px; line-height: .6; color: var(--blue); margin-bottom: 12px; }
.voice__who { margin-top: 28px; display: flex; flex-direction: column; }
.voice__who b { font-size: 18px; font-weight: 600; }
.voice__who span { color: var(--muted); font-size: 14px; }
.voice__note { margin-top: 16px; font-size: 13px; color: var(--faint); }
@media (max-width: 860px) { .voice { grid-template-columns: 1fr; } .voice:nth-child(even) .voice__video { order: 0; } }

/* ---------------------------------------------------------------- articles list */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 48px; }
.toolbar .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.toolbar .tag { height: 38px; padding: 0 16px; font-size: 13px; }
.search { position: relative; }
.search input { height: 46px; width: min(320px, 80vw); padding: 0 48px 0 20px; border-radius: 999px; border: 0; box-shadow: inset 0 0 0 1px var(--line-strong); background: var(--paper); font: inherit; font-size: 14px; color: var(--ink); }
.search input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--blue); }
.search button { position: absolute; right: 6px; top: 6px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; }
.search svg { width: 15px; height: 15px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 80px; }
.pagination a, .pagination span { min-width: 46px; height: 46px; padding: 0 16px; border-radius: 999px; display: inline-grid; place-items: center; font-size: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.pagination a:hover { background: var(--paper); }
.pagination .is-current { background: var(--ink); color: #fff; box-shadow: none; }
.empty { padding: 80px 0; text-align: center; color: var(--muted); }

/* ---------------------------------------------------------------- article */
.article-hero { padding: calc(var(--header-h) + clamp(48px, 7vw, 112px)) 0 40px; }
.article-hero h1 { font-size: clamp(30px, 3.8vw, 58px); line-height: 1.3; letter-spacing: -.02em; font-weight: 500; margin: 0; max-width: 22em; }
html[lang="en"] .article-hero h1 { line-height: 1.12; letter-spacing: -.03em; }
.article-cover { margin: 0 auto clamp(48px, 6vw, 96px); max-width: 1200px; padding-inline: var(--gutter); }
.article-cover img { width: 100%; max-height: 72vh; object-fit: cover; border-radius: var(--radius); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 760px) minmax(0, 1fr); gap: 40px; }
.article-layout > .prose { grid-column: 2; }
.article-aside { grid-column: 1; justify-self: end; position: sticky; top: calc(var(--header-h) + 32px); align-self: start; display: flex; flex-direction: column; gap: 12px; }
.share-btn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-strong); transition: background .3s, color .3s; }
.share-btn:hover { background: var(--ink); color: #fff; }
.share-btn svg { width: 16px; height: 16px; }
@media (max-width: 1100px) { .article-layout { grid-template-columns: 1fr; } .article-layout > .prose { grid-column: 1; } .article-aside { grid-column: 1; position: static; flex-direction: row; justify-self: start; order: 2; } }

.prose { font-size: 17px; line-height: 1.95; color: #1f2547; overflow-wrap: anywhere; }
html[lang="en"] .prose { line-height: 1.75; }
.prose > * + * { margin-top: 1.3em; }
.prose p { margin: 0 0 1.3em; }
.prose h1, .prose h2, .prose h3, .prose h4 { color: var(--ink); line-height: 1.45; letter-spacing: -.01em; font-weight: 600; margin: 2.2em 0 .8em; }
.prose h2 { font-size: clamp(22px, 2vw, 28px); }
.prose h3 { font-size: 20px; }
.prose h4 { font-size: 17px; }
.prose a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose img { border-radius: 14px; height: auto; }
.prose figure { margin: 2em 0; }
.prose figcaption, .prose .wp-element-caption { font-size: 13px; color: var(--muted); margin-top: 10px; text-align: center; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin: .4em 0; }
.prose blockquote, .prose .wp-block-quote { margin: 2em 0; padding: 4px 0 4px 28px; border-left: 3px solid var(--blue); color: var(--ink); font-size: 1.05em; }
.prose hr, .prose .wp-block-separator { border: 0; border-top: 1px solid var(--line-strong); margin: 3em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.prose iframe, .prose video { max-width: 100%; border-radius: 14px; }
.prose .wp-block-embed__wrapper { position: relative; aspect-ratio: 16 / 9; }
.prose .wp-block-embed__wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.prose .aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.prose .aligncenter img { margin-inline: auto; }
.prose .has-text-align-center { text-align: center; }
.prose .wp-block-columns { display: flex; gap: 24px; flex-wrap: wrap; }
.prose .wp-block-column { flex: 1 1 240px; }
.prose .wp-block-gallery { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; }
.prose .wp-block-gallery figure, .prose .blocks-gallery-item { flex: 1 1 200px; margin: 0; }
.prose .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.prose .wp-block-button__link { display: inline-flex; padding: 14px 26px; border-radius: 999px; background: var(--ink); color: #fff !important; text-decoration: none; font-weight: 600; }
.prose .wp-block-button__link:hover { background: var(--blue); }
/* newsletter posts carry their own inline layout; keep them airy and on-brand */
.prose .nextblue-newsletter-post { background: transparent !important; padding: 0 !important; max-width: none !important; }
.prose .nextblue-newsletter-post > div { padding-left: 0 !important; padding-right: 0 !important; }
.prose .nextblue-newsletter-post p { font-family: inherit !important; }

.article-footer { margin-top: 80px; padding-top: 32px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }

/* ---------------------------------------------------------------- forms */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field input {
  height: 58px; padding: 0 22px; border-radius: 16px; border: 0; background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line-strong); font: inherit; color: var(--ink); transition: box-shadow .3s;
}
.field input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--blue); }
.hp { position: absolute; left: -9999px; }
.notice { padding: 18px 22px; border-radius: 16px; background: var(--blue-soft); color: var(--navy); font-weight: 500; }
.notice--error { background: #ffe7e3; color: #9b2c1c; }
.form__note { font-size: 13px; color: var(--faint); }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }

.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.contact-card { display: flex; flex-direction: column; gap: 16px; padding: clamp(28px, 3vw, 44px); border-radius: var(--radius); background: var(--paper); box-shadow: 0 1px 0 var(--line); min-height: 340px; transition: transform .5s var(--ease), box-shadow .5s; }
.contact-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(18, 23, 58, .4); }
.contact-card p { margin: 0; color: var(--muted); flex: 1; }
.contact-card--dark { background: var(--ink); color: #fff; }
.contact-card--dark p { color: rgba(255, 255, 255, .7); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } .contact-card { min-height: 0; } }

/* ---------------------------------------------------------------- footer */
.site-footer { position: relative; background: var(--paper); padding: clamp(80px, 9vw, 140px) 0 32px; overflow: hidden; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-top h3 { margin: 0 0 16px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); font-weight: 600; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-top a:hover { color: var(--blue); }
.footer-brand p { color: var(--muted); max-width: 26em; margin: 20px 0 28px; }
.footer-brand .brand { width: 200px; }
.footer-word {
  margin-top: clamp(64px, 8vw, 120px); font-size: clamp(64px, 18.5vw, 340px); line-height: .8; letter-spacing: -.06em; font-weight: 600;
  color: transparent; -webkit-text-stroke: 1px var(--line-strong); white-space: nowrap; user-select: none;
  background: linear-gradient(90deg, var(--ink), var(--blue)) 0 0 / 0% 100% no-repeat; -webkit-background-clip: text; background-clip: text;
  transition: background-size 1.6s var(--ease);
}
.footer-word.is-in { background-size: 100% 100%; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer-bottom nav { display: flex; gap: 20px; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------- cursor */
.cursor { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor__dot { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--blue); }
.cursor__ring {
  position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 1px solid rgba(45, 75, 255, .5);
  display: grid; place-items: center; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: #fff; text-transform: uppercase;
  transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .4s, border-color .4s;
}
.cursor.is-hover .cursor__ring { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: rgba(45, 75, 255, .08); }
.cursor.is-label .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--blue); border-color: var(--blue); }

/* ---------------------------------------------------------------- page transition */
.curtain { position: fixed; inset: 0; z-index: 150; pointer-events: none; background: var(--ink); transform: scaleY(0); transform-origin: bottom; }
.curtain.is-leaving { transform: scaleY(1); transition: transform .6s var(--ease-in-out); }
.curtain.is-entering { transform: scaleY(1); transform-origin: top; }
.curtain.is-entered { transform: scaleY(0); transform-origin: top; transition: transform .8s var(--ease-in-out); }

/* ---------------------------------------------------------------- reveal */
.js [data-reveal] { opacity: 0; transform: translateY(40px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.94); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .split-pending .wi { transform: none; }
  .grain, .cursor { display: none !important; }
}

/* staging ribbon */
.stg-ribbon { position: fixed; left: 12px; bottom: 12px; z-index: 300; padding: 6px 12px; border-radius: 999px; background: #ffb020; color: #3d2600; font-size: 11px; font-weight: 700; letter-spacing: .1em; pointer-events: none; }

/* in-site forms */
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 0; border-radius: 14px; padding: 15px 18px;
  box-shadow: inset 0 0 0 1px var(--line, rgba(13,27,46,.14)); transition: box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 160px; line-height: 1.7; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--blue); }
.field__err { color: #b3261e; font-size: 12px; }
.thanks { padding: clamp(32px, 5vw, 72px); border-radius: 28px; background: var(--blue-soft); display: grid; gap: 24px; justify-items: start; }
.contact-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-side { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 900px) { .contact-split { grid-template-columns: 1fr; } .contact-side { position: static; } .form__row { grid-template-columns: 1fr; } }
