/* IntrePe — site styles
   Palette: washi paper, sumi ink, shu (vermilion). Engineering-drawing details: grids, crop marks, figure labels. */

:root {
  --paper: #F5F3EE;
  --paper-2: #EDEAE2;
  --paper-3: #E4E0D5;
  --card: #FBFAF6;
  --ink: #15140F;
  --ink-2: #3B3A35;
  --muted: #6B675D;
  --faint: #9B968A;
  --line: rgba(21, 20, 15, .12);
  --line-2: rgba(21, 20, 15, .22);
  --shu: #E2462C;
  --shu-ink: #B83A22;
  --shu-soft: rgba(226, 70, 44, .14);

  --sumi: #121210;
  --sumi-2: #1B1A17;
  --on-sumi: #ECE9E1;
  --on-sumi-muted: #A6A194;
  --line-dark: rgba(236, 233, 225, .14);

  --font-sans: "Inter", "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans", "Yu Gothic UI", "Segoe UI", sans-serif;
  --font-display: "Inter Tight", "Inter", "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans", sans-serif;
  --font-serif: "Instrument Serif", "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --radius: 18px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --section-pad: clamp(84px, 11vw, 152px);
}

/* ── Reset & base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img, svg, canvas, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-weight: 600; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--shu); color: #fff; }
:focus-visible { outline: 2px solid var(--shu); outline-offset: 3px; border-radius: 4px; }

html[lang="ja"] body { font-size: 1rem; line-height: 1.9; letter-spacing: .02em; }
html[lang="ja"] :is(h1, h2, h3, .section-title, .hero__title) { font-feature-settings: "palt"; letter-spacing: .02em; word-break: auto-phrase; }
html[lang="ja"] em { font-style: normal; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mono { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .02em; font-feature-settings: normal; }
html[lang="ja"] .mono { letter-spacing: .04em; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: .875rem;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ── Eyebrows, titles ─────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--font-mono); font-size: .75rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2);
}
html[lang="ja"] .eyebrow { letter-spacing: .12em; }
.eyebrow__num { color: var(--shu-ink); }
.eyebrow__num::after { content: ""; display: inline-block; width: 22px; height: 1px; margin-left: .7em; vertical-align: middle; background: currentColor; opacity: .6; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--shu); box-shadow: 0 0 0 4px var(--shu-soft); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.4vw, 3.75rem);
  line-height: 1.04; letter-spacing: -.035em; font-weight: 600;
}
html[lang="ja"] .section-title { font-size: clamp(1.75rem, 3.4vw, 2.85rem); line-height: 1.4; font-weight: 700; }
.section-title em, .hero__title em, .product__title em {
  font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em;
}
html[lang="ja"] .section-title em, html[lang="ja"] .hero__title em { font-weight: 700; letter-spacing: .02em; }
.section-lede { margin-top: 1.25rem; max-width: 60ch; font-size: 1.125rem; color: var(--ink-2); }
html[lang="ja"] .section-lede { font-size: 1.0625rem; }

.section-head {
  display: grid; gap: 20px 40px;
  grid-template-columns: minmax(170px, 3fr) 9fr;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head .eyebrow { align-self: start; padding-top: .9em; }

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-size: .9375rem; font-weight: 500; letter-spacing: -.005em; line-height: 1.2; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
html[lang="ja"] .btn { letter-spacing: .04em; }
.btn__arrow { transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--shu); }
.btn--accent { background: var(--shu); color: #fff; }
.btn--accent:hover { background: var(--shu-ink); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); background: rgba(21, 20, 15, .04); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .875rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ── Icons ────────────────────────────────────────────── */
.icon { width: 24px; height: 24px; flex: none; }
.icon--sm { width: 16px; height: 16px; }
.icon--xs { width: 12px; height: 12px; }

/* ── Header ───────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .site-header.is-open {
  background: rgba(245, 243, 238, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
.brand__mark { width: 30px; height: 30px; transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-24deg); }
.brand__word { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.035em; }
.brand--light { color: var(--on-sumi); }

.site-nav { margin-left: auto; }
.site-nav__list { display: flex; gap: clamp(16px, 2vw, 30px); }
.site-nav__link { position: relative; font-size: .875rem; color: var(--ink-2); padding: 6px 0; transition: color .2s; }
html[lang="ja"] .site-nav__link { font-size: .8125rem; }
.site-nav__link::after {
  content: ""; position: absolute; left: 50%; bottom: -4px; width: 4px; height: 4px; border-radius: 50%;
  background: var(--shu); transform: translateX(-50%) scale(0); transition: transform .3s var(--ease);
}
.site-nav__link:hover { color: var(--ink); }
.site-nav__link[aria-current] { color: var(--ink); }
.site-nav__link[aria-current]::after { transform: translateX(-50%) scale(1); }

.site-header__actions { display: flex; align-items: center; gap: 12px; }
.site-nav + .site-header__actions { margin-left: clamp(8px, 2vw, 28px); }

.lang-switch { display: inline-flex; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .75rem; }
.lang-switch__item { padding: 5px 10px; border-radius: 999px; color: var(--ink-2); line-height: 1.2; transition: background-color .2s, color .2s; }
a.lang-switch__item:hover { color: var(--ink); background: rgba(21, 20, 15, .06); }
.lang-switch__item.is-active { background: var(--ink); color: var(--paper); }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); place-items: center; }
.menu-toggle__bars { position: relative; width: 16px; height: 10px; }
.menu-toggle__bars span { position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle__bars span:first-child { top: 0; }
.menu-toggle__bars span:last-child { top: 8.5px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:first-child { top: 4.25px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:last-child { top: 4.25px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 49; overflow-y: auto;
  background: var(--paper); padding: 24px 0 40px;
  animation: menu-in .35s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__list li { border-bottom: 1px solid var(--line); }
.mobile-menu__list a { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; font-family: var(--font-display); font-size: clamp(1.6rem, 7vw, 2.2rem); font-weight: 600; letter-spacing: -.03em; }
html[lang="ja"] .mobile-menu__list a { font-size: clamp(1.3rem, 6vw, 1.8rem); letter-spacing: .02em; }
.mobile-menu__list .mono { color: var(--shu-ink); }
.mobile-menu__foot { display: grid; gap: 16px; margin-top: 32px; }
.mobile-menu__mail { color: var(--muted); font-size: .9375rem; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }

/* ── Language hint ────────────────────────────────────── */
.lang-hint { background: var(--ink); color: var(--paper); font-size: .875rem; }
.lang-hint__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding-block: 8px; }
.lang-hint a { text-decoration: underline; text-decoration-color: var(--shu); text-underline-offset: 3px; margin-left: .4em; }
.lang-hint__close { font-size: 1.4rem; line-height: 1; width: 32px; height: 32px; border-radius: 50%; color: var(--on-sumi-muted); }
.lang-hint__close:hover { color: var(--paper); background: rgba(255, 255, 255, .08); }

/* ── Graph-paper backgrounds ──────────────────────────── */
.hero__grid-bg, .page-hero__grid-bg, .message-page__grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
  opacity: .55;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 20%, transparent 75%);
}

/* ── Hero ─────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); }
.hero__inner { position: relative; display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy > * { animation: rise .9s var(--ease) both; }
.hero__copy > :nth-child(2) { animation-delay: .08s; }
.hero__copy > :nth-child(3) { animation-delay: .16s; }
.hero__copy > :nth-child(4) { animation-delay: .24s; }
.hero__copy > :nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

.hero__eyebrow { margin-bottom: 28px; }
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 6.6vw, 6.25rem);
  line-height: .98; letter-spacing: -.048em; font-weight: 600;
}
.hero__title em { color: var(--shu); }
html[lang="ja"] .hero__title { font-size: clamp(2.3rem, 5.2vw, 4.6rem); line-height: 1.3; font-weight: 700; }
.hero__lede { margin-top: 28px; max-width: 56ch; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--ink-2); }
html[lang="ja"] .hero__lede { font-size: clamp(1rem, 1.25vw, 1.125rem); line-height: 1.95; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 36px; font-size: .875rem; color: var(--ink-2); }
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hero__points .icon { color: var(--shu); }

.hero__figure { animation: fade .6s var(--ease) .1s both; }
.hero__grid-bg { animation: fade 1.6s var(--ease) both; }
.figure-frame { animation: frame-in 1s var(--ease) .1s both; }
@keyframes frame-in { from { border-color: transparent; } }
.crop { animation: crop-in .7s var(--ease) both; }
.crop--tl { transform-origin: top left; animation-delay: .15s; }
.crop--tr { transform-origin: top right; animation-delay: .25s; }
.crop--br { transform-origin: bottom right; animation-delay: .35s; }
.crop--bl { transform-origin: bottom left; animation-delay: .45s; }
@keyframes crop-in { from { opacity: 0; transform: scale(2.4); } }
.figure-frame__meta > span { animation: rise .7s var(--ease) both; }
.figure-frame__meta--top > span:first-child { animation-delay: .35s; }
.figure-frame__meta--top > span:last-child { animation-delay: .5s; }
.figure-frame__meta--bottom > span:first-child { animation-delay: .65s; }
.figure-frame__meta--bottom > .figure-frame__hint { animation: none; }
.hero__caption { animation: rise .8s var(--ease) 1.6s both; }
@keyframes fade { from { opacity: 0; } }
.figure-frame {
  position: relative; aspect-ratio: 1 / 1;
  border: 1px solid var(--line-2);
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 70%);
}
.crop { position: absolute; width: 14px; height: 14px; border-color: var(--ink); border-style: solid; border-width: 0; }
.crop--tl { top: -8px; left: -8px; border-top-width: 1px; border-left-width: 1px; }
.crop--tr { top: -8px; right: -8px; border-top-width: 1px; border-right-width: 1px; }
.crop--bl { bottom: -8px; left: -8px; border-bottom-width: 1px; border-left-width: 1px; }
.crop--br { bottom: -8px; right: -8px; border-bottom-width: 1px; border-right-width: 1px; }
.figure-frame__meta { position: absolute; left: 16px; right: 16px; display: flex; justify-content: space-between; gap: 12px; color: var(--muted); z-index: 1; font-size: .6875rem; }
.figure-frame__meta--top { top: 14px; }
.figure-frame__meta--bottom { bottom: 14px; }
.enso-canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.enso-canvas.is-interactive { cursor: pointer; }
.figure-frame__meta { pointer-events: none; }
.figure-frame__hint { color: var(--shu-ink); opacity: 0; transform: translateY(4px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.enso-canvas.is-interactive ~ .figure-frame__meta .figure-frame__hint { opacity: 1; transform: none; }
.hero__caption {
  margin-top: 22px; padding-left: 14px; border-left: 1px solid var(--shu);
  max-width: 46ch; font-family: var(--font-serif); font-style: italic; font-size: 1.0625rem; line-height: 1.5; color: var(--muted);
}
html[lang="ja"] .hero__caption { font-style: normal; font-size: .875rem; line-height: 1.9; }

/* ── Stack marquee ────────────────────────────────────── */
.stack { border-block: 1px solid var(--line); }
.stack__inner { display: flex; align-items: center; gap: 32px; min-height: 72px; }
.stack__label { flex: none; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
html[lang="ja"] .stack__label { text-transform: none; letter-spacing: .06em; }
.marquee {
  flex: 1; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li { display: flex; align-items: center; padding: 0 22px; font-family: var(--font-display); font-weight: 500; font-size: 1.0625rem; color: var(--ink-2); white-space: nowrap; }
.marquee__track li::after { content: ""; width: 5px; height: 5px; margin-left: 44px; border-radius: 50%; background: var(--line-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Sections ─────────────────────────────────────────── */
.section { position: relative; padding: var(--section-pad) 0; }
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--sumi); color: var(--on-sumi); }
.section--dark .eyebrow { color: var(--on-sumi-muted); }
.section--dark .eyebrow__num { color: var(--shu); }
.section--dark .section-lede { color: var(--on-sumi-muted); }

/* ── Services ─────────────────────────────────────────── */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); border-left: 1px solid var(--line); }
.service-card {
  position: relative; display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 14px; align-content: start;
  padding: clamp(24px, 2.6vw, 36px);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background-color .35s var(--ease);
}
.service-card::before {
  content: ""; position: absolute; left: -1px; right: 0; top: -1px; height: 2px; background: var(--shu);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.service-card:hover { background: var(--card); }
.service-card:hover::before { transform: scaleX(1); }
.service-card__top { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 40px; }
.service-card__num { color: var(--muted); }
.service-card__icon { width: 32px; height: 32px; color: var(--ink); transition: color .3s, transform .5s var(--ease); }
.service-card:hover .service-card__icon { color: var(--shu); transform: rotate(-8deg); }
.service-card__title { font-family: var(--font-display); font-size: 1.375rem; letter-spacing: -.02em; line-height: 1.2; }
html[lang="ja"] .service-card__title { font-size: 1.1875rem; letter-spacing: .02em; line-height: 1.5; }
.service-card__body { color: var(--ink-2); font-size: .96875rem; }
html[lang="ja"] .service-card__body { font-size: .9375rem; }

.tag-list { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px; margin-top: 6px; }
.tag-list li { padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--font-mono); font-size: .6875rem; color: var(--ink-2); letter-spacing: .01em; }

/* ── Reference architecture (blueprint) ───────────────── */
.arch {
  position: relative; border: 1px solid var(--line-2); background-color: var(--card);
  background-image:
    linear-gradient(rgba(21, 20, 15, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 20, 15, .05) 1px, transparent 1px);
  background-size: 24px 24px;
}
.arch__caption { display: flex; justify-content: space-between; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line-2); color: var(--muted); background: var(--card); }
.arch__body { display: grid; grid-template-columns: 1fr 188px; gap: 20px; padding: clamp(20px, 3vw, 40px); }
.arch__layers { display: grid; gap: 18px; }
.arch__layer {
  position: relative; display: grid; grid-template-columns: 52px 1.05fr 1.3fr 1.2fr; align-items: center; gap: 16px;
  padding: 18px 20px; background: var(--card); border: 1px solid var(--ink);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.arch__layer:not(:last-child)::after {
  content: ""; position: absolute; left: 45px; top: 100%; height: 18px; border-left: 1px dashed var(--ink);
}
.arch__layer:not(:last-child)::before {
  content: ""; position: absolute; left: 42px; top: calc(100% + 6px); width: 7px; height: 7px; border-radius: 50%; background: var(--shu); z-index: 1;
}
.arch__layer:hover { transform: translateX(6px); box-shadow: -6px 6px 0 var(--shu-soft); }
.arch__index { color: var(--shu-ink); font-weight: 500; }
.arch__name { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; letter-spacing: -.015em; }
html[lang="ja"] .arch__name { font-size: 1rem; letter-spacing: .02em; }
.arch__detail { color: var(--ink-2); }
.arch__note { color: var(--muted); font-size: .875rem; line-height: 1.45; }
.arch__cross { display: flex; flex-direction: column; gap: 10px; }
.arch__cross-label { color: var(--muted); text-align: center; }
.arch__cross ul { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.arch__cross li {
  display: flex; align-items: center; justify-content: center; padding: 14px 0;
  border: 1px dashed var(--ink-2); background: rgba(226, 70, 44, .05);
  writing-mode: vertical-rl; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .06em; color: var(--ink-2);
}
.js .arch .arch__layer { opacity: 0; transform: translateY(12px); transition: opacity .7s var(--ease), transform .7s var(--ease), box-shadow .4s var(--ease); transition-delay: calc(var(--i) * 110ms + 150ms); }
.js .arch.is-visible .arch__layer { opacity: 1; transform: none; }
.js .arch.is-visible .arch__layer:hover { transform: translateX(6px); transition-delay: 0s; }

/* ── Use cases ────────────────────────────────────────── */
.usecase-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 72px); }
.usecase { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 28px 0; border-top: 1px solid var(--line-2); }
.usecase__num { color: var(--shu-ink); padding-top: .35em; }
.usecase__title { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -.02em; }
html[lang="ja"] .usecase__title { font-size: 1.125rem; letter-spacing: .02em; }
.usecase__body { margin-top: 6px; color: var(--ink-2); }

/* ── Timeline ─────────────────────────────────────────── */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.timeline__step { position: relative; display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; }
.timeline__marker { position: relative; height: 12px; margin-bottom: 28px; }
.timeline__marker::before { content: ""; position: absolute; left: 0; right: calc(-1 * clamp(20px, 2.4vw, 36px)); top: 50%; border-top: 1px solid var(--line-2); }
.timeline__step:last-child .timeline__marker::before { right: 0; border-top-style: dashed; }
.timeline__marker span { position: absolute; left: 0; top: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--paper-2); border: 1.5px solid var(--ink); }
.timeline__step:first-child .timeline__marker span { background: var(--shu); border-color: var(--shu); }
.timeline__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.timeline__num { color: var(--muted); }
.timeline__duration { padding: 3px 9px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); }
.timeline__name { margin-top: 18px; font-family: var(--font-display); font-size: 1.625rem; letter-spacing: -.025em; }
html[lang="ja"] .timeline__name { font-size: 1.3125rem; letter-spacing: .02em; }
.timeline__body { margin-top: 10px; color: var(--ink-2); font-size: .96875rem; }
.timeline__label { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
html[lang="ja"] .timeline__label { text-transform: none; }

.check-list { display: grid; gap: 8px; margin-top: 12px; font-size: .9375rem; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; }
.check-list .icon { margin-top: .32em; color: var(--shu); }

/* ── Why (dark) ───────────────────────────────────────── */
.why { overflow: hidden; }
.why__watermark {
  position: absolute; right: -2vw; top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl; font-family: "Shippori Mincho B1", var(--font-serif); font-weight: 500;
  font-size: clamp(9rem, 22vw, 20rem); line-height: 1; letter-spacing: .05em;
  color: rgba(236, 233, 225, .045);
  pointer-events: none; user-select: none;
}
.why__top { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(56px, 7vw, 96px); }
.why__top .section-head { display: block; margin-bottom: 0; }
.why__top .section-head .eyebrow { padding-top: 0; margin-bottom: 24px; }
.why__figure { position: relative; }
.why__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(.9) contrast(1.02); }
.why__figure figcaption { margin-top: 12px; color: var(--on-sumi-muted); }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 4vw, 56px); }
.pillar { padding: 32px 0 40px; border-top: 1px solid var(--line-dark); }
.pillar__num { color: var(--shu); }
.pillar__title { margin-top: 14px; font-family: var(--font-display); font-size: 1.3125rem; letter-spacing: -.02em; }
html[lang="ja"] .pillar__title { font-size: 1.125rem; letter-spacing: .02em; }
.pillar__body { margin-top: 10px; color: var(--on-sumi-muted); font-size: .96875rem; }

/* ── Engagements ──────────────────────────────────────── */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(28px, 3vw, 40px); border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--card);
  transition: transform .4s var(--ease), border-color .3s;
}
.plan:hover { transform: translateY(-4px); border-color: var(--ink); }
.plan--featured { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.plan__badge { position: absolute; top: -12px; left: clamp(28px, 3vw, 40px); padding: 4px 12px; border-radius: 999px; background: var(--shu); color: #fff; text-transform: uppercase; letter-spacing: .08em; }
html[lang="ja"] .plan__badge { text-transform: none; }
.plan__name { font-family: var(--font-display); font-size: 1.625rem; letter-spacing: -.025em; line-height: 1.15; }
html[lang="ja"] .plan__name { font-size: 1.3125rem; letter-spacing: .02em; line-height: 1.5; }
.plan__meta { margin-top: 10px; color: var(--muted); }
.plan--featured .plan__meta, .plan--featured .plan__label { color: var(--on-sumi-muted); }
.plan__label { margin-top: 26px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
html[lang="ja"] .plan__label { text-transform: none; }
.plan__best { margin-top: 8px; font-size: 1rem; }
.plan .check-list { margin-bottom: 32px; }
.plan__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); font-weight: 500; font-size: .9375rem; }
.plan--featured .plan__cta { border-top-color: var(--line-dark); }
.plan__cta .icon { transition: transform .25s var(--ease); }
.plan__cta:hover .icon { transform: translateX(4px); }
.plan__cta:hover { color: var(--shu); }

/* ── Lab ──────────────────────────────────────────────── */
.lab-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lab-card__link {
  position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%;
  padding: 24px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--card);
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s var(--ease);
}
.lab-card__link:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: 0 14px 30px -18px rgba(21, 20, 15, .35); }
.lab-card__category { margin-top: 18px; color: var(--muted); }
.lab-card__name { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -.02em; }
.lab-card__tagline { color: var(--ink-2); font-size: .9375rem; line-height: 1.5; }
/* Japanese project names wrap only at their spaces, so words like マルチストリーム stay whole. */
html[lang="ja"] .lab-card__name, html[lang="ja"] .product__title { word-break: keep-all; overflow-wrap: anywhere; }
.lab-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 18px; font-size: .875rem; font-weight: 500; }
.lab-card__link:hover .lab-card__more { color: var(--shu-ink); }

.app-tile {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 15px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: #fff; letter-spacing: -.04em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 8px 18px -10px rgba(21, 20, 15, .5);
}
.app-tile--lg { width: 88px; height: 88px; border-radius: 22px; font-size: 2.4rem; margin-bottom: 28px; }
.app-tile--image { background: #fff; overflow: hidden; }
.app-tile--image img { width: 100%; height: 100%; object-fit: cover; }
.app-tile__icon { width: 54%; height: 54%; stroke-width: 1.6; }
.app-tile--ekyc { background: linear-gradient(140deg, #3E5C8A, #1F3150); }
.app-tile--stream-monitor { background: linear-gradient(140deg, #4A4842, #15140F); }
.app-tile--ping-pong { background: linear-gradient(140deg, #4F8A77, #24493E); }

/* Projects still being built: a hatched dot and a dashed vermilion outline. */
.status-badge {
  display: inline-flex; align-items: center; gap: 7px; width: fit-content;
  padding: 4px 10px; border: 1px dashed var(--shu); border-radius: 999px;
  color: var(--shu-ink); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase;
}
.status-badge::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--shu);
  background: repeating-linear-gradient(45deg, var(--shu) 0 1.5px, transparent 1.5px 3px);
}
html[lang="ja"] .status-badge { text-transform: none; letter-spacing: .04em; }
.lab-card .status-badge { position: absolute; top: 24px; right: 24px; }
.product .status-badge { margin-bottom: 16px; }

/* ── About ────────────────────────────────────────────── */
.about__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 112px); align-items: start; }
.about__figure { position: sticky; top: calc(var(--header-h) + 32px); }
.about__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about__copy .eyebrow { margin-bottom: 24px; }
.about__body { margin-top: 1.25rem; color: var(--ink-2); max-width: 60ch; }
.about__body:first-of-type { margin-top: 28px; font-size: 1.1875rem; color: var(--ink); }
html[lang="ja"] .about__body:first-of-type { font-size: 1.0625rem; }
.founder { display: flex; align-items: center; gap: 16px; margin-top: 40px; }
.founder__monogram { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; }
.founder__name { font-weight: 600; font-size: 1.0625rem; }
.founder__role { color: var(--muted); }
.facts { margin-top: 32px; border-top: 1px solid var(--line-2); }
.facts__row { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; padding-top: .25em; }
html[lang="ja"] .facts dt { text-transform: none; }

/* ── FAQ ──────────────────────────────────────────────── */
.faq__grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 96px); }
.faq__head .eyebrow { margin-bottom: 24px; }
.faq__head { align-self: start; position: sticky; top: calc(var(--header-h) + 32px); }
.faq__list { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 500; font-size: 1.1875rem; letter-spacing: -.015em;
}
html[lang="ja"] .faq-item summary { font-size: 1.0625rem; letter-spacing: .02em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--shu-ink); }
.faq-item__icon { transition: transform .35s var(--ease); color: var(--ink-2); }
.faq-item[open] .faq-item__icon { transform: rotate(45deg); color: var(--shu); }
.faq-item p { max-width: 62ch; padding: 0 48px 26px 0; color: var(--ink-2); }

/* ── Contact (dark) ───────────────────────────────────── */
.contact { overflow: hidden; }
.contact__bg { position: absolute; inset: 0; pointer-events: none; }
.contact__bg picture { position: absolute; top: 0; left: -8%; width: 70%; height: 100%; }
.contact__bg-img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: .5;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%, #000 55%, transparent 95%);
  mask-image: linear-gradient(90deg, transparent, #000 25%, #000 55%, transparent 95%);
}
.contact__grid { position: relative; display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.eyebrow--light { color: var(--on-sumi-muted); }
.contact__intro .eyebrow { margin-bottom: 24px; }
.contact__details { display: grid; gap: 22px; margin-top: 48px; }
.contact__details dt { display: flex; align-items: center; gap: 8px; color: var(--on-sumi-muted); text-transform: uppercase; letter-spacing: .08em; }
html[lang="ja"] .contact__details dt { text-transform: none; }
.contact__details dt .icon { color: var(--shu); }
.contact__details dd { margin-top: 6px; font-size: 1.125rem; }
.contact__details a { border-bottom: 1px solid var(--shu); transition: color .2s; }
.contact__details a:hover { color: var(--shu); }

.form-card { background: var(--paper); color: var(--ink); border-radius: 22px; padding: clamp(24px, 3.4vw, 44px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.contact-form { display: grid; gap: 18px; }
.form-row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; margin-bottom: 8px; font-size: .84375rem; font-weight: 500; color: var(--ink-2); }
.field__optional { font-weight: 400; color: var(--faint); }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; padding: 13px 14px; font-size: 1rem; line-height: 1.4;
  background: #FFFEFB; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B3A35' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.field :is(input, select, textarea):hover { border-color: rgba(21, 20, 15, .4); }
.field :is(input, select, textarea):focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--shu-soft); }
.field textarea::placeholder { color: var(--faint); }
.field.has-error :is(input, select, textarea) { border-color: var(--shu-ink); }
.field__error { margin-top: 6px; font-size: .8125rem; color: var(--shu-ink); }
.field__error:empty { display: none; }

.check, .field .check { display: flex; align-items: flex-start; gap: 12px; margin: 0; cursor: pointer; font-size: .9375rem; font-weight: 400; color: var(--ink-2); }
.check { position: relative; }
.check input { position: absolute; left: 0; top: .15em; width: 20px; height: 20px; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.check__box { flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-top: .15em; border: 1px solid var(--line-2); border-radius: 6px; background: #FFFEFB; color: transparent; transition: background-color .2s, border-color .2s, color .2s; }
.check input:checked + .check__box { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.check input:focus-visible + .check__box { outline: 2px solid var(--shu); outline-offset: 2px; }
.field.has-error .check__box { border-color: var(--shu-ink); }
.check__label a { text-decoration: underline; text-decoration-color: var(--shu); text-underline-offset: 3px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: .875rem; color: var(--shu-ink); }
.form-status:empty { display: none; }

.form-success { display: grid; justify-items: start; gap: 12px; padding: 24px 0; outline: none; }
.form-success[hidden] { display: none; }
.form-success__mark { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--shu); color: #fff; margin-bottom: 8px; animation: pop .6s var(--ease); }
.form-success h3 { font-family: var(--font-display); font-size: 1.75rem; letter-spacing: -.02em; }
.form-success p { color: var(--ink-2); max-width: 44ch; margin-bottom: 12px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

/* ── Footer ───────────────────────────────────────────── */
.site-footer { background: var(--sumi); color: var(--on-sumi); padding-top: clamp(64px, 8vw, 104px); overflow: hidden; border-top: 1px solid var(--line-dark); }
.site-footer__top { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; }
.site-footer__tagline { margin-top: 20px; max-width: 34ch; color: var(--on-sumi-muted); }
.site-footer__clock { margin-top: 20px; color: var(--on-sumi-muted); }
.site-footer__clock span { color: var(--on-sumi); }
.site-footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.site-footer__heading { font-family: var(--font-mono); font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--on-sumi-muted); margin-bottom: 16px; }
.site-footer__heading--spaced { margin-top: 28px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer ul a { font-size: .9375rem; color: var(--on-sumi); opacity: .82; transition: opacity .2s, color .2s; }
.site-footer ul a:hover { opacity: 1; color: var(--shu); }
.site-footer__wordmark {
  margin-top: clamp(56px, 8vw, 96px); margin-bottom: -.2em;
  font-family: var(--font-display); font-weight: 700; font-size: min(calc((100vw - 2 * var(--gutter)) / 2.95), 26rem); line-height: .82; letter-spacing: -.06em;
  color: rgba(236, 233, 225, .06); white-space: nowrap; user-select: none;
}
.site-footer__bottom { position: relative; display: flex; justify-content: space-between; gap: 16px; padding: 22px 0 28px; border-top: 1px solid var(--line-dark); font-size: .8125rem; color: var(--on-sumi-muted); background: var(--sumi); }
.site-footer__top-link:hover { color: var(--on-sumi); }

/* ── Inner pages ──────────────────────────────────────── */
.page-hero { position: relative; overflow: hidden; padding: clamp(32px, 5vw, 64px) 0 clamp(72px, 9vw, 120px); }
.breadcrumb { position: relative; display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); margin-bottom: clamp(40px, 6vw, 72px); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb [aria-current] { color: var(--ink); }
.product__grid { position: relative; display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.product__copy .eyebrow { margin-bottom: 14px; }
.product__title { font-family: var(--font-display); font-size: clamp(2.8rem, 6vw, 5.2rem); line-height: 1; letter-spacing: -.045em; }
.product__tagline { margin-top: 18px; font-family: var(--font-serif); font-style: italic; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.3; color: var(--ink-2); }
html[lang="ja"] .product__tagline { font-style: normal; font-weight: 500; font-size: clamp(1.15rem, 2vw, 1.5rem); }
.product__body { margin-top: 22px; max-width: 56ch; color: var(--ink-2); }
.product__label { margin-top: 26px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
html[lang="ja"] .product__label { text-transform: none; }
.product__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.product__art img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 70% 50%; border: 1px solid var(--line); }

.cta-band { background: var(--sumi); color: var(--on-sumi); padding: clamp(64px, 8vw, 112px) 0; }
.cta-band__inner { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: end; }
.cta-band .section-lede { color: var(--on-sumi-muted); margin: 0 0 28px; }

.legal { padding: clamp(32px, 5vw, 64px) 0 var(--section-pad); }
.legal__inner { max-width: 820px; }
.prose { font-size: 1.0625rem; color: var(--ink-2); overflow-wrap: anywhere; }
.prose h1 { font-family: var(--font-display); color: var(--ink); font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.08; letter-spacing: -.035em; margin-bottom: .5em; }
html[lang="ja"] .prose h1 { line-height: 1.4; letter-spacing: .02em; }
.prose h2 { font-family: var(--font-display); color: var(--ink); font-size: 1.375rem; letter-spacing: -.015em; margin: 2.2em 0 .7em; padding-top: 1.2em; border-top: 1px solid var(--line); }
html[lang="ja"] .prose h2 { font-size: 1.1875rem; letter-spacing: .02em; }
.prose h3 { color: var(--ink); font-size: 1.125rem; margin: 1.6em 0 .5em; }
.prose h4 { color: var(--ink); font-size: 1rem; margin: 1.2em 0 .5em; }
.prose p { margin: .85em 0; line-height: 1.75; }
html[lang="ja"] .prose p { line-height: 2; }
.prose ul, .prose ol { margin: .85em 0; padding-left: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin: .45em 0; line-height: 1.7; }
.prose li::marker { color: var(--shu); }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--shu); text-underline-offset: 3px; }
.prose strong, .prose b { color: var(--ink); font-weight: 600; }
.prose__meta { color: var(--muted); }

.message-page { position: relative; overflow: hidden; display: grid; align-items: center; min-height: calc(80vh - var(--header-h)); padding: 80px 0; }
.message-page__inner { position: relative; max-width: 720px; }
.message-page__code { font-family: var(--font-serif); font-style: italic; font-size: clamp(6rem, 18vw, 12rem); line-height: .9; color: var(--shu); letter-spacing: -.03em; }
.message-page .eyebrow { margin-bottom: 20px; }
.message-page__title { margin-top: 12px; font-family: var(--font-display); font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -.035em; line-height: 1.1; }
html[lang="ja"] .message-page__title { letter-spacing: .02em; line-height: 1.4; }
.message-page__body { margin: 18px 0 32px; font-size: 1.125rem; color: var(--ink-2); max-width: 52ch; }
.message-page__errors { margin: -12px 0 32px; padding-left: 1.2em; list-style: disc; color: var(--shu-ink); }

/* ── Training ─────────────────────────────────────────── */
.method { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-bottom: 40px; padding: 18px 22px; border: 1px solid var(--line-2); background: var(--card); }
.method__label { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
html[lang="ja"] .method__label { text-transform: none; }
.method__steps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.method__steps li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-family: var(--font-display); font-weight: 500; font-size: .9375rem; }
.method__steps li .mono { color: var(--shu-ink); font-size: .6875rem; }
.method__steps li:not(:last-child)::after { content: "→"; margin-left: 10px; margin-right: -4px; color: var(--faint); font-family: var(--font-sans); }

.track-list { border-top: 1px solid var(--line-2); }
.track {
  display: grid; grid-template-columns: 96px minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px clamp(24px, 4vw, 56px); align-items: start;
  padding: 30px 0; border-bottom: 1px solid var(--line-2);
  transition: background-color .3s var(--ease);
}
.track__id { display: flex; flex-direction: column; gap: 14px; color: var(--muted); }
.track__icon { width: 30px; height: 30px; color: var(--ink); transition: color .3s, transform .5s var(--ease); }
.track:hover .track__icon { color: var(--shu); transform: rotate(-8deg); }
.track__title { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -.025em; line-height: 1.2; }
html[lang="ja"] .track__title { font-size: 1.25rem; letter-spacing: .02em; line-height: 1.5; }
.track__body { margin-top: 10px; color: var(--ink-2); max-width: 52ch; }
.track__meta { display: grid; gap: 14px; padding-top: 6px; }
.track__meta dt { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
html[lang="ja"] .track__meta dt { text-transform: none; }
.track__meta dd { margin-top: 4px; font-size: .96875rem; }
.track__meta div:last-child dd { font-weight: 500; }

.formats { display: grid; grid-template-columns: auto 1fr; gap: 20px 40px; align-items: start; margin-top: 48px; padding: clamp(24px, 3vw, 36px); background: var(--ink); color: var(--paper); border-radius: var(--radius); }
.formats__label { color: var(--on-sumi-muted); text-transform: uppercase; letter-spacing: .08em; padding-top: .3em; }
html[lang="ja"] .formats__label { text-transform: none; }
.formats__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.formats__list li { display: grid; gap: 4px; padding-left: 16px; border-left: 1px solid var(--shu); }
.formats__name { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; letter-spacing: -.015em; }
.formats__detail { color: var(--on-sumi-muted); font-size: .9375rem; }
.formats__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line-dark); color: var(--on-sumi-muted); font-size: .9375rem; }
.formats .btn--primary { background: var(--paper); color: var(--ink); }
.formats .btn--primary:hover { background: var(--shu); color: #fff; }

/* ── Placeholders (content values starting with "TODO:") ── */
.ph {
  display: inline; padding: .05em .35em; border-radius: 4px;
  background: repeating-linear-gradient(-45deg, rgba(226, 70, 44, .08) 0 6px, rgba(226, 70, 44, .02) 6px 12px);
  outline: 1px dashed rgba(226, 70, 44, .6); outline-offset: 1px;
  color: var(--ink-2); font-style: normal; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.ph::before { content: "TODO"; margin-right: .5em; font-family: var(--font-mono); font-size: .66em; font-weight: 500; letter-spacing: .08em; color: var(--shu-ink); vertical-align: .12em; }
.section--dark .ph, .cta-band .ph { color: var(--on-sumi); }

/* ── About teaser additions ───────────────────────────── */
.founder { flex-wrap: wrap; }
.founder__photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.founder__link { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .875rem; font-weight: 500; transition: border-color .2s, color .2s; }
.founder__link:hover { border-color: var(--ink); color: var(--shu-ink); }

/* ── Profile page ─────────────────────────────────────── */
.profile-hero__grid { position: relative; display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.profile-hero__copy .eyebrow { margin-bottom: 20px; }
.profile-hero__name { font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: .98; letter-spacing: -.045em; }
.profile-hero__role { margin-top: 18px; color: var(--shu-ink); font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; }
html[lang="ja"] .profile-hero__role { text-transform: none; }
.profile-hero__intro { margin-top: 26px; max-width: 54ch; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.65; color: var(--ink-2); }
.profile-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn--static { cursor: default; white-space: normal; }
.btn--static:hover { background: transparent; border-color: var(--line-2); }

.portrait { position: relative; margin: 8px; }
.portrait__img, .portrait__placeholder { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 1px solid var(--line-2); }
.portrait__placeholder {
  display: grid; place-content: center; justify-items: center; gap: 22px; padding: 24px; text-align: center;
  background-color: var(--card);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 24px 24px;
}
.portrait__monogram { display: grid; place-items: center; width: 132px; height: 132px; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--font-display); font-weight: 600; font-size: 2.6rem; letter-spacing: -.03em; }
.portrait__caption { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; color: var(--muted); }

.glance { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); margin-top: clamp(48px, 7vw, 88px); border-top: 1px solid var(--line-2); }
.glance__item { padding: 20px 20px 0 0; }
.glance__item + .glance__item { padding-left: 20px; border-left: 1px solid var(--line); }
.glance dt { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
html[lang="ja"] .glance dt { text-transform: none; }
.glance dd { margin-top: 8px; font-size: .96875rem; line-height: 1.5; }

.story { max-width: 760px; margin-left: auto; margin-right: max(0px, calc((100% - 760px) / 2 - 140px)); display: grid; gap: 1.2em; font-size: 1.125rem; color: var(--ink-2); }
html[lang="ja"] .story { font-size: 1.0625rem; }

.career { border-top: 1px solid var(--line-2); }
.career__item { display: grid; grid-template-columns: minmax(170px, 3fr) 9fr; gap: 16px 40px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.career__years { color: var(--shu-ink); padding-top: .4em; }
.career__role { font-family: var(--font-display); font-size: 1.375rem; letter-spacing: -.02em; }
html[lang="ja"] .career__role { font-size: 1.1875rem; letter-spacing: .02em; }
.career__org { margin-top: 4px; color: var(--ink-2); font-weight: 500; }
.career__body { margin-top: 10px; color: var(--ink-2); max-width: 64ch; }

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case {
  display: flex; flex-direction: column; gap: 14px; padding: 0 0 24px;
  border: 1px solid var(--line-2); background-color: var(--card);
  background-image: linear-gradient(rgba(21, 20, 15, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(21, 20, 15, .04) 1px, transparent 1px);
  background-size: 20px 20px;
}
.case__fig { display: flex; justify-content: space-between; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--line-2); background: var(--card); color: var(--muted); }
.case__title { padding: 6px 22px 0; font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.3; }
.case__rows { display: grid; gap: 12px; padding: 0 22px; }
.case__rows dt { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
html[lang="ja"] .case__rows dt { text-transform: none; }
.case__rows dd { margin-top: 3px; font-size: .9375rem; color: var(--ink-2); }
.case .tag-list { margin-top: auto; padding: 8px 22px 0; }
.case-note { margin-top: 20px; color: var(--muted); }

.skills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 4vw, 56px); }
.skills__group { padding: 26px 0 32px; border-top: 1px solid var(--line-2); }
.skills__title { font-family: var(--font-display); font-size: 1.125rem; letter-spacing: -.015em; margin-bottom: 14px; }

.teach-band .eyebrow { margin-bottom: 20px; }
.teach-band__tracks { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 28px; }
.teach-band__tracks li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: .875rem; color: var(--on-sumi); }
.teach-band__tracks .icon { color: var(--shu); }
.cta-band__inner .section-lede { max-width: 52ch; }

.creds { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); }
.creds__label { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); font-weight: 500; }
html[lang="ja"] .creds__label { text-transform: none; }
.creds__list li { padding: 14px 0; border-bottom: 1px solid var(--line); }

.company { max-width: 920px; border-top: 1px solid var(--line-2); }
.company__row { display: grid; grid-template-columns: minmax(180px, 3fr) 7fr; gap: 16px 32px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.company dt { color: var(--muted); font-size: .9375rem; }
.company a { border-bottom: 1px solid var(--shu); }

/* ── Scroll reveal ────────────────────────────────────── */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1180px) {
  .site-nav { display: none; }
  .site-header__actions { margin-left: auto; }
  .menu-toggle { display: grid; }
  .lab-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .track { grid-template-columns: 72px 1fr; }
  .track__meta { grid-column: 2; grid-template-columns: 1fr 1fr; }
  .formats { grid-template-columns: 1fr; }
  .glance { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
  .glance__item:nth-child(4) { border-left: 0; padding-left: 0; }
  .case-grid { grid-template-columns: 1fr 1fr; }
  .hero__figure { max-width: 560px; width: 100%; margin-inline: auto; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
  .timeline__step:nth-child(2) .timeline__marker::before { right: 0; }
  .plan-grid { grid-template-columns: 1fr; max-width: 640px; }
  .why__top { grid-template-columns: 1fr; }
  .why__figure { max-width: 420px; }
  .arch__layer { grid-template-columns: 44px 1fr 1.3fr; }
  .arch__note { grid-column: 2 / -1; }
  .arch__layer:not(:last-child)::after { left: 39px; }
  .arch__layer:not(:last-child)::before { left: 36px; }
}

@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .section-head .eyebrow { padding-top: 0; }
  .usecase-list { grid-template-columns: 1fr; }
  .pillar-grid { grid-template-columns: 1fr 1fr; }
  .about__grid, .faq__grid, .contact__grid, .site-footer__top, .product__grid, .cta-band__inner { grid-template-columns: 1fr; }
  .about__figure, .faq__head { position: static; }
  .profile-hero__grid { grid-template-columns: 1fr; }
  .portrait { max-width: 420px; }
  .story { margin: 0; }
  .career__item { grid-template-columns: 1fr; gap: 6px; }
  .skills { grid-template-columns: 1fr 1fr; }
  .formats__list { grid-template-columns: 1fr; }
  .about__img { aspect-ratio: 16 / 10; }
  .contact__bg picture { width: 100%; left: 0; height: 60%; }
  .arch__body { grid-template-columns: 1fr; }
  .arch__cross ul { grid-template-columns: 1fr; }
  .arch__cross li { writing-mode: horizontal-tb; padding: 10px 14px; justify-content: flex-start; }
  .arch__cross-label { text-align: left; }
  .lab-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .site-header__cta { display: none; }
  .hero__title { letter-spacing: -.04em; }
  .hero__actions .btn { flex: 1 1 auto; }
  .stack__inner { flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px 0; }
  .marquee { width: 100%; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { grid-row: auto; grid-template-rows: none; }
  .service-card__top { padding-bottom: 16px; }
  .timeline { grid-template-columns: 1fr; row-gap: 0; }
  .timeline__step { grid-row: auto; grid-template-rows: none; padding-left: 32px; padding-bottom: 40px; }
  .timeline__marker { position: absolute; left: 0; top: 4px; bottom: 0; width: 12px; height: auto; margin: 0; }
  .timeline__marker::before { left: 5.5px; right: auto; top: 14px; bottom: -4px; border-top: 0; border-left: 1px solid var(--line-2); }
  .timeline__step:last-child .timeline__marker::before { display: none; }
  .timeline__name { margin-top: 10px; }
  .pillar-grid { grid-template-columns: 1fr; }
  .arch__layer { grid-template-columns: 36px 1fr; gap: 6px 12px; padding: 14px 16px; }
  .arch__detail, .arch__note { grid-column: 2; }
  .arch__layer:not(:last-child)::after { left: 30px; }
  .arch__layer:not(:last-child)::before { left: 27px; }
  .lab-grid { grid-template-columns: 1fr; }
  .track { grid-template-columns: 1fr; gap: 12px; }
  .track__id { flex-direction: row; align-items: center; justify-content: space-between; }
  .track__meta { grid-column: auto; grid-template-columns: 1fr; }
  .method__steps li:not(:last-child)::after { display: none; }
  .glance { grid-template-columns: 1fr 1fr; }
  .glance__item, .glance__item + .glance__item { padding: 16px 0 0; border-left: 0; }
  .case-grid, .skills, .creds { grid-template-columns: 1fr; }
  .company__row { grid-template-columns: 1fr; gap: 4px; }
  .founder__link { margin-left: 0; }
  .form-row--2 { grid-template-columns: 1fr; }
  .facts__row { grid-template-columns: 1fr; gap: 2px; }
  .faq-item p { padding-right: 0; }
  .site-footer__cols { grid-template-columns: 1fr 1fr; }
  .site-footer__bottom { flex-direction: column; }
  .lang-switch__item { padding: 5px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) { scroll-behavior: auto; }
  html:not(.force-motion) *, html:not(.force-motion) *::before, html:not(.force-motion) *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  html:not(.force-motion).js [data-reveal], html:not(.force-motion).js .arch .arch__layer { opacity: 1; transform: none; }
  html:not(.force-motion) .marquee { -webkit-mask-image: none; mask-image: none; }
  html:not(.force-motion) .marquee__track { animation: none; flex-wrap: wrap; width: auto; row-gap: 6px; }
  html:not(.force-motion) .marquee__track li { padding: 0 18px 0 0; }
  html:not(.force-motion) .marquee__track li::after { margin-left: 18px; }
  html:not(.force-motion) .marquee__track li[aria-hidden="true"] { display: none; }
}

.teach-band .cta-band__inner { align-items: center; }
.nowrap { white-space: nowrap; }

/* ── Founder photo collage & coffee CTA ───────────────── */
.about__figure--collage { padding-bottom: 12%; }
.about__figure--collage .about__img { object-position: 50% 30%; }
.about__inset {
  position: absolute; right: -8%; bottom: 0; width: 42%;
  border: 6px solid var(--paper-2); box-shadow: 0 24px 48px -24px rgba(21, 20, 15, .45);
}
.about__inset-img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.cta-band--coffee .cta-band__inner { grid-template-columns: 4fr 7fr; align-items: center; gap: clamp(32px, 6vw, 96px); }
.cta-band--coffee .section-lede { margin: 20px 0 28px; }
.cta-band__img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
@media (max-width: 860px) {
  .about__figure--collage { position: relative; top: 0; }   /* drop the desktop sticky offset */
  .about__inset { right: 4%; width: 38%; }
  .cta-band--coffee .cta-band__inner { grid-template-columns: 1fr; }
  .cta-band__media { max-width: 320px; }
}

/* ── AI photo service ─────────────────────────────────── */
/* Link to the photo page above the homepage headline, and a dot on its nav tab. */
.hero__announce {
  display: inline-flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%;
  margin-bottom: 22px; padding: 5px 14px 5px 5px; border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--card); font-size: .875rem; line-height: 1.3; color: var(--ink-2);
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.hero__announce:hover { border-color: var(--ink); color: var(--ink); }
.hero__announce .icon { color: var(--shu); transition: transform .25s var(--ease); }
.hero__announce:hover .icon { transform: translateX(3px); }
.hero__announce-badge { flex: none; padding: 3px 9px; border-radius: 999px; background: var(--shu); color: #fff; font-size: .6875rem; letter-spacing: .08em; }
.site-nav__new { display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-radius: 50%; background: var(--shu); vertical-align: 40%; box-shadow: 0 0 0 3px var(--shu-soft); }

/* Before/after slider: the "after" photo is clipped to the right of the divider. */
.compare {
  --pos: 50%;
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: 6px; background: var(--paper-3);
  cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;
}
.compare picture, .compare__after { position: absolute; inset: 0; }
.compare__img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.compare__after { clip-path: inset(0 0 0 var(--pos)); }
.compare__tag {
  position: absolute; top: 12px; z-index: 2; padding: 5px 11px; border-radius: 999px;
  background: rgba(21, 20, 15, .66); color: #fff; font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase;
  pointer-events: none;
}
html[lang="ja"] .compare__tag { text-transform: none; letter-spacing: .04em; }
.compare__tag--before { left: 12px; }
.compare__tag--after { right: 12px; background: rgba(226, 70, 44, .92); }
.compare__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 2; width: 2px; margin-left: -1px;
  background: #fff; box-shadow: 0 0 0 1px rgba(21, 20, 15, .15); pointer-events: none;
}
.compare__knob {
  position: absolute; top: 50%; left: 50%; display: grid; place-items: center;
  width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%;
  background: #fff; color: var(--ink); box-shadow: 0 8px 22px -8px rgba(21, 20, 15, .55);
  transition: transform .25s var(--ease), color .25s var(--ease);
}
.compare__knob .icon { width: 20px; height: 20px; }
.compare:hover .compare__knob, .compare.is-dragging .compare__knob { transform: scale(1.08); color: var(--shu); }
.compare__range { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.compare__range:focus-visible + .compare__handle .compare__knob { outline: 2px solid var(--shu); outline-offset: 3px; }

.photo-frame { position: relative; }
.photo-frame .crop { z-index: 3; }
.photo-figure__meta { display: flex; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; margin-top: 14px; color: var(--muted); font-size: .6875rem; }
.photo-figure__hint { display: inline-flex; align-items: center; gap: 6px; color: var(--shu-ink); }

/* Homepage: the photo service leads the Services section. */
.feature-service {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 5fr 6fr; gap: clamp(28px, 4vw, 64px); align-items: center;
  margin-bottom: clamp(40px, 5vw, 64px); padding: clamp(24px, 3.4vw, 48px);
  border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--card);
}
.feature-service::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--shu); }
.feature-service__eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .08em; }
html[lang="ja"] .feature-service__eyebrow { text-transform: none; letter-spacing: .06em; }
.feature-service__badge { padding: 3px 9px; border-radius: 999px; background: var(--shu); color: #fff; letter-spacing: .08em; }
.feature-service__title { margin-top: 16px; font-family: var(--font-display); font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.05; letter-spacing: -.035em; }
.feature-service__title em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--shu); }
html[lang="ja"] .feature-service__title { font-size: clamp(1.5rem, 2.8vw, 2.25rem); line-height: 1.45; letter-spacing: .02em; font-weight: 700; font-feature-settings: "palt"; }
html[lang="ja"] .feature-service__title em { font-weight: 700; letter-spacing: .02em; }
.feature-service__body { margin-top: 16px; max-width: 52ch; color: var(--ink-2); }
.feature-service .tag-list { margin-top: 18px; }
.feature-service__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Photo page */
.hero--photos { padding-top: clamp(24px, 4vw, 48px); }
.hero--photos .breadcrumb { margin-bottom: clamp(28px, 4vw, 48px); }
.hero--photos .hero__inner { grid-template-columns: 5fr 6fr; }
.hero--photos .hero__title { font-size: clamp(2.6rem, 5.4vw, 5.25rem); }
html[lang="ja"] .hero--photos .hero__title { font-size: clamp(2.1rem, 4.4vw, 3.9rem); }

.received { padding-top: clamp(40px, 5vw, 64px); }
.received__inner {
  display: grid; grid-template-columns: auto 1fr auto; gap: 20px 32px; align-items: center;
  padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line-2); border-left: 3px solid var(--shu); border-radius: var(--radius);
  background: var(--card);
}
.received__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--shu-soft); color: var(--shu-ink); }
.received__eyebrow { color: var(--shu-ink); text-transform: uppercase; letter-spacing: .08em; }
html[lang="ja"] .received__eyebrow { text-transform: none; }
.received__title { margin-top: 6px; font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.25; letter-spacing: -.02em; }
html[lang="ja"] .received__title { line-height: 1.5; letter-spacing: .02em; }
.received__body { margin-top: 8px; max-width: 68ch; color: var(--ink-2); font-size: .96875rem; }

.compare-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.compare-card__title { margin-top: 18px; font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -.02em; }
html[lang="ja"] .compare-card__title { font-size: 1.125rem; letter-spacing: .02em; }
.compare-card .tag-list { margin-top: 10px; }
.photo-note { margin-top: 28px; color: var(--muted); }

.service-grid--features .service-card { grid-row: span 3; }

.promise {
  display: grid; grid-template-columns: minmax(170px, 3fr) 9fr; gap: 12px 40px; align-items: baseline;
  margin-top: clamp(48px, 6vw, 72px); padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius); background: var(--sumi); color: var(--on-sumi);
}
.promise__eyebrow { color: var(--shu); text-transform: uppercase; letter-spacing: .08em; }
html[lang="ja"] .promise__eyebrow { text-transform: none; }
.promise__title { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.1; letter-spacing: -.01em; }
html[lang="ja"] .promise__title { font-style: normal; font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.5; }
.promise__body { grid-column: 2; max-width: 62ch; color: var(--on-sumi-muted); }

.audience { display: grid; grid-template-columns: minmax(170px, 3fr) 9fr; gap: 16px 40px; margin-top: clamp(40px, 5vw, 56px); }
.audience__label { padding-top: 16px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
html[lang="ja"] .audience__label { text-transform: none; }
.audience__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 24px; }
.audience__list li { display: grid; align-content: start; gap: 4px; padding-top: 14px; border-top: 2px solid var(--ink); }
.audience__title { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; letter-spacing: -.01em; }
.audience__body { color: var(--ink-2); font-size: .9375rem; line-height: 1.5; }

.timeline--simple .timeline__step { grid-row: span 4; }
.timeline--simple .timeline__marker span { background: var(--paper); }
.plan-grid--photos { margin-top: clamp(56px, 7vw, 88px); }
.addons { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 28px; }
.addons__label { margin-right: 6px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
html[lang="ja"] .addons__label { text-transform: none; }
.addons__item { padding: 6px 14px; border: 1px dashed var(--line-2); border-radius: 999px; font-size: .9375rem; color: var(--ink-2); }

@media (max-width: 1024px) {
  .feature-service { grid-template-columns: 1fr; }
  .hero--photos .hero__inner { grid-template-columns: 1fr; }
  .hero--photos .hero__figure { max-width: 720px; }
  .compare-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .audience__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .received__inner { grid-template-columns: auto 1fr; }
  .received__inner .btn { grid-column: 1 / -1; justify-self: start; }
  .promise, .audience { grid-template-columns: 1fr; }
  .promise__body { grid-column: auto; }
  .audience__label { padding-top: 0; }
}
@media (max-width: 640px) {
  .compare-grid { grid-template-columns: 1fr; }
  .received__inner { grid-template-columns: 1fr; }
  .received__inner .btn { width: 100%; }
  .feature-service { padding: 20px; }
  .feature-service__actions .btn { flex: 1 1 auto; }
  .compare__knob { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
  .hero__announce { font-size: .8125rem; }
}
