/* =========================================================================
   whitehacker.jp
   ink on paper, one vermilion seal.
   ========================================================================= */

/* ---------- tokens ---------- */
:root {
  --paper: #f3f1ea;
  --paper-2: #eae7de;
  --paper-3: #dcd8cc;
  --ink: #151514;
  --ink-2: #4e4c46;
  --ink-3: #8a867c;
  --rule: rgba(21, 21, 20, 0.14);
  --rule-2: rgba(21, 21, 20, 0.34);
  --shu: #d2412a;
  --shu-hi: #e1513a;

  --night: #121211;
  --night-2: #1b1b19;
  --on-night: #ece9e0;
  --on-night-2: #9d998f;
  --rule-night: rgba(236, 233, 224, 0.15);

  --f-min: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --f-sans: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", serif;
  --f-latin: "Inter Tight", "Helvetica Neue", Arial, sans-serif;

  --pad: clamp(20px, 4.2vw, 64px);
  --max: 1560px;
  --gap: clamp(16px, 2vw, 28px);
  --hd-h: 72px;
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 15.5px;
  line-height: 2;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* paper grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  opacity: 0.32;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .26 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p, h1, h2, h3, h4, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-weight: 500; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
sup { font-size: 0.5em; line-height: 0; vertical-align: super; margin-left: 0.1em; }

::selection { background: var(--shu); color: #fff; }
:focus-visible { outline: 2px solid var(--shu); outline-offset: 4px; border-radius: 2px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: -80px; z-index: 400;
  padding: 10px 18px; background: var(--ink); color: var(--paper);
  font-size: 13px; text-decoration: none; transition: top 0.3s var(--ease);
}
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }

br.sp { display: none; }
.is-phrased { word-break: keep-all; overflow-wrap: anywhere; }
@media (max-width: 700px) { br.sp { display: inline; } }

/* ---------- shared type ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 1;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}
.eb-ja { font-size: 13px; font-weight: 500; letter-spacing: 0.16em; }
.eb-en { font-family: var(--f-serif); font-style: italic; font-size: 17px; letter-spacing: 0.01em; color: var(--ink-3); }

.h-sec {
  margin-top: clamp(22px, 2.4vw, 34px);
  font-family: var(--f-min);
  font-weight: 500;
  font-size: clamp(34px, 5.5vw, 92px);
  line-height: 1.26;
  letter-spacing: -0.015em;
  font-feature-settings: "palt";
}

.sec-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: end;
}
.sec-head .eyebrow { grid-column: 1 / -1; }
.sec-head .h-sec { grid-column: 1 / 9; }
.sec-aside {
  grid-column: 9 / 13;
  padding-bottom: 0.6em;
  font-size: 14.5px;
  line-height: 2.05;
  color: var(--ink-2);
}
.aside-note {
  margin-bottom: 18px;
  font-family: var(--f-min);
  font-size: 16px;
  color: var(--ink);
}
@media (max-width: 1000px) {
  .sec-head .h-sec { grid-column: 1 / -1; }
  .sec-aside { grid-column: 1 / -1; margin-top: 28px; max-width: 34em; }
}

.cap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
.cap > span:first-child { flex: none; font-family: var(--f-serif); font-style: italic; font-size: 14px; letter-spacing: 0.01em; white-space: nowrap; }
.cap > span:only-child { flex: 1 1 auto; font-family: inherit; font-style: normal; font-size: 12px; white-space: normal; }

.note { font-size: 13px; line-height: 2; color: var(--ink-3); max-width: 48em; }

.prose { color: var(--ink-2); line-height: 2.1; }
.prose p + p { margin-top: 1.2em; }

/* arrow link */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 7px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.6s var(--ease);
}
.arrow-link:hover { background-size: 0 1px; background-position: 100% 100%; }
.arrow-link i {
  position: relative;
  width: 30px;
  height: 1px;
  background: currentColor;
  transition: width 0.6s var(--ease);
}
.arrow-link i::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3.5px;
  width: 8px;
  height: 8px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  transform-origin: 100% 0;
}
.arrow-link:hover i { width: 44px; }

/* images: printed in ink on paper */
.img-mask { position: relative; overflow: hidden; background: var(--paper); }
.img-mask img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(1.02);
  mix-blend-mode: multiply;
}
[data-dark] .img-mask { background: var(--night-2); }
[data-dark] .img-mask img { mix-blend-mode: normal; filter: grayscale(1) contrast(1.1) brightness(0.86); }
[data-parallax] img { height: 116%; margin-top: -8%; }

/* ---------- figures (line drawings) ---------- */
.fig { color: var(--ink); --fig-bg: var(--paper); }
.fig svg { width: 100%; height: auto; overflow: visible; }
.fig .d, .fig .s, .fig .dash, .fig .ac { fill: none; stroke: currentColor; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.fig .s { stroke-opacity: 0.36; }
.fig .dash { stroke-dasharray: 2 4; stroke-opacity: 0.7; }
.fig .ac { stroke: var(--shu); }
.fig .ac.dashed { stroke-dasharray: 4 4; }
.fig .thick { stroke-width: 2; }
.fig .fp { fill: var(--fig-bg); }
.fig .fp2 { fill: var(--paper-2); }
.fig .fp3 { fill: var(--paper-3); }
.fig .acf { fill: var(--shu); }
.fig .ac-t { fill: var(--shu); }
.fig .dot { fill: currentColor; }
.fig .gd { fill: currentColor; opacity: 0.2; }
.fig .none { fill: none; stroke: none; }
.fig .t { font: 500 9.5px var(--f-latin); letter-spacing: 0.14em; fill: var(--ink-3); }
.fig .tj { font: 500 12px var(--f-min); letter-spacing: 0.08em; fill: var(--ink-2); }
.fig .tj.ac-t { fill: var(--shu); }

/* draw-on */
.reveal-ready .fig[data-draw] .drawn { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.9s var(--ease-io); transition-delay: calc(var(--i, 0) * 14ms); }
.reveal-ready .fig[data-draw] .s,
.reveal-ready .fig[data-draw] .dash,
.reveal-ready .fig[data-draw] .gd,
.reveal-ready .fig[data-draw] .dot,
.reveal-ready .fig[data-draw] .t,
.reveal-ready .fig[data-draw] .tj,
.reveal-ready .fig[data-draw] .acf { opacity: 0; transition: opacity 1.2s var(--ease) 0.5s; }
.reveal-ready .fig[data-draw] .fp,
.reveal-ready .fig[data-draw] .fp2,
.reveal-ready .fig[data-draw] .fp3 { fill-opacity: 0; transition: fill-opacity 1s var(--ease) 0.7s; }
.reveal-ready .fig[data-draw].is-drawn .drawn { stroke-dashoffset: 0; }
.reveal-ready .fig[data-draw].is-drawn .s,
.reveal-ready .fig[data-draw].is-drawn .dash,
.reveal-ready .fig[data-draw].is-drawn .dot,
.reveal-ready .fig[data-draw].is-drawn .t,
.reveal-ready .fig[data-draw].is-drawn .tj,
.reveal-ready .fig[data-draw].is-drawn .acf { opacity: 1; }
.reveal-ready .fig[data-draw].is-drawn .gd { opacity: 0.2; }
.reveal-ready .fig[data-draw].is-drawn .fp,
.reveal-ready .fig[data-draw].is-drawn .fp2,
.reveal-ready .fig[data-draw].is-drawn .fp3 { fill-opacity: 1; }
.reveal-ready .fig[data-draw].is-drawn .s { opacity: 1; }

/* ---------- reveal ---------- */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s var(--ease), transform 1.4s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }

.reveal-ready [data-reveal-img] .img-mask { clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease-io); }
.reveal-ready [data-reveal-img].is-in .img-mask { clip-path: inset(0 0 0 0); }
.reveal-ready [data-reveal-img] .img-mask img { scale: 1.2; transition: scale 2.2s var(--ease); }
.reveal-ready [data-reveal-img].is-in .img-mask img { scale: 1; }

/* ---------- intro ---------- */
.intro { display: none; }
.js .intro {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: grid;
  place-items: center;
  background: var(--paper);
  animation: intro-failsafe 0.01s linear 4.5s forwards;
}
.js.intro-done .intro { display: none; }
.intro-inner { display: flex; align-items: center; gap: 16px; }
.intro-seal { width: 58px; height: 58px; color: var(--shu); }
.intro-word { font: 600 30px/1 var(--f-latin); letter-spacing: -0.04em; }
@keyframes intro-failsafe { to { visibility: hidden; opacity: 0; } }

/* ---------- header ---------- */
.hd {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--hd-h);
  color: var(--ink);
  transition: transform 0.7s var(--ease), color 0.4s var(--ease);
}
.hd::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper);
  background: color-mix(in srgb, var(--paper) 80%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--rule);
  opacity: 0;
  transition: opacity 0.4s var(--ease), background-color 0.4s;
}
.hd.is-solid::before { opacity: 1; }
.hd.is-hidden { transform: translateY(-101%); }
.hd.on-dark { color: var(--on-night); }
.hd.on-dark::before { background: color-mix(in srgb, var(--night) 72%, transparent); border-bottom-color: var(--rule-night); }

.hd-inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  padding-inline: var(--pad);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  text-decoration: none;
}
.seal { width: 24px; height: 24px; flex: none; color: var(--shu); }
.logo-word { font: 600 18px/1 var(--f-latin); letter-spacing: -0.035em; }

.hd-nav { display: flex; gap: clamp(20px, 2.4vw, 36px); }
.hd-nav a {
  position: relative;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-decoration: none;
  padding: 6px 0;
}
.hd-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s var(--ease);
}
.hd-nav a:hover::after,
.hd-nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
.hd-nav a.is-current::before {
  content: "";
  position: absolute;
  left: -11px; top: 50%;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--shu);
  transform: translateY(-50%);
}

.hd-cta {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-decoration: none;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s;
}
.hd-cta:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.hd.on-dark .hd-cta:hover { background: var(--on-night); border-color: var(--on-night); color: var(--night); }

.hd-menu {
  display: none;
  align-items: center;
  gap: 12px;
  height: 44px;
  margin-right: -8px;
  padding: 0 8px;
  border: 0;
  background: none;
  cursor: pointer;
}
.hd-menu-label { font: italic 400 19px/1 var(--f-serif); letter-spacing: 0.01em; }
.hd-menu-icon { position: relative; width: 26px; height: 9px; }
.hd-menu-icon i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 0.6s var(--ease), top 0.6s var(--ease);
}
.hd-menu-icon i:first-child { top: 0; }
.hd-menu-icon i:last-child { top: 8px; }
.menu-open .hd-menu-icon i:first-child { top: 4px; transform: rotate(20deg); }
.menu-open .hd-menu-icon i:last-child { top: 4px; transform: rotate(-20deg); }

@media (max-width: 960px) {
  .hd-nav, .hd-cta { display: none; }
  .hd-menu { display: inline-flex; }
}

/* mobile menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--hd-h) + 20px) var(--pad) calc(28px + env(safe-area-inset-bottom));
  background: var(--paper);
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.9s var(--ease-io), visibility 0s linear 0.9s;
  overflow-y: auto;
}
.menu-open .menu { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path 0.9s var(--ease-io), visibility 0s; }
.menu-open .hd { color: var(--ink); }
.menu-open .hd::before { opacity: 0; }
.menu-nav { border-top: 1px solid var(--ink); }
.menu-nav a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.8s var(--ease);
}
.menu-open .menu-nav a { opacity: 1; transform: none; }
.menu-open .menu-nav a:nth-child(1) { transition-delay: 0.2s; }
.menu-open .menu-nav a:nth-child(2) { transition-delay: 0.25s; }
.menu-open .menu-nav a:nth-child(3) { transition-delay: 0.3s; }
.menu-open .menu-nav a:nth-child(4) { transition-delay: 0.35s; }
.menu-open .menu-nav a:nth-child(5) { transition-delay: 0.4s; }
.menu-open .menu-nav a:nth-child(6) { transition-delay: 0.45s; }
.menu-open .menu-nav a:nth-child(7) { transition-delay: 0.5s; }
.mn-ja { font: 500 clamp(26px, 7.4vw, 44px)/1.3 var(--f-min); font-feature-settings: "palt"; }
.mn-en { font: italic 400 17px/1 var(--f-serif); color: var(--ink-3); }
.menu-foot { display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; font-size: 13px; color: var(--ink-2); }
.menu-foot a { text-decoration: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  max-height: 1240px;
  overflow: hidden;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-pin {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s var(--ease);
}
.has-field .hero-pin { opacity: 1; }
.hero-pin i {
  position: absolute;
  left: -4px; top: -4px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--shu);
}
.hero-pin i::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid var(--shu);
  border-radius: 50%;
  animation: pin-pulse 2.6s var(--ease) infinite;
}
.hero-pin span {
  position: absolute;
  left: 14px;
  top: -9px;
  font: 500 11px/1 var(--f-sans);
  letter-spacing: 0.2em;
  white-space: nowrap;
  color: var(--shu);
}
@keyframes pin-pulse {
  0% { transform: scale(0.4); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: calc(var(--hd-h) + 22px) var(--pad) 22px;
  pointer-events: none;
}
.hero-inner a { pointer-events: auto; }
.hero-top { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
.hero-en { font: italic 400 clamp(19px, 1.7vw, 26px)/1 var(--f-serif); letter-spacing: 0; }
.hero-loc { font-size: 12.5px; font-weight: 500; letter-spacing: 0.2em; }

.hero-main { position: relative; align-self: end; padding-bottom: clamp(28px, 4vh, 56px); }
.hero-title {
  margin-left: -0.05em;
  font-family: var(--f-min);
  font-weight: 500;
  font-size: min(12.2vw, 190px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-feature-settings: "palt";
  white-space: nowrap;
}
.ln { display: block; overflow: hidden; padding: 0.02em 0 0.08em; margin-bottom: -0.06em; }
.ln-in { display: inline-block; will-change: transform; }

.hero-side {
  position: absolute;
  isolation: isolate;
  right: 0;
  top: 0.4em;
  width: min(340px, 25vw);
  font-size: 14.5px;
  line-height: 2.05;
  color: var(--ink-2);
}
.hero-side::before {
  content: "";
  position: absolute;
  inset: -56px -64px -56px -72px;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(243, 241, 234, 0.94), rgba(243, 241, 234, 0.7) 60%, rgba(243, 241, 234, 0));
  pointer-events: none;
}
.hero-side p { margin-bottom: 26px; }
.hero-side .arrow-link { color: var(--ink); }

.hero-foot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--rule-2);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink-2);
}
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; font: italic 400 15px/1 var(--f-serif); letter-spacing: 0.02em; }
.scroll-cue i { position: relative; width: 44px; height: 1px; background: var(--rule-2); overflow: hidden; }
.scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateX(-100%);
  animation: cue 2.4s var(--ease-io) infinite;
}
@keyframes cue { 0% { transform: translateX(-100%); } 55% { transform: translateX(0); } 100% { transform: translateX(100%); } }
.hero-legend { display: inline-flex; align-items: center; gap: 10px; font-size: 11.5px; letter-spacing: 0.1em; color: var(--ink-3); }
.hero-legend i { width: 14px; height: 14px; border: 1px solid var(--shu); border-radius: 50%; position: relative; }
.hero-legend i::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--shu); }
.hero-clock { justify-self: end; font: italic 400 15px/1 var(--f-serif); letter-spacing: 0.02em; }
.hero-clock time { font: 500 12px/1 var(--f-latin); letter-spacing: 0.08em; margin-left: 6px; }

/* hero entrance (pre-state; JS animates in, failsafe reveals) */
.js .hero-title .ln-in { transform: translateY(108%); animation: hero-failsafe 0.01s linear 6s forwards; }
.js .hero-top, .js .hero-side, .js .hero-foot { opacity: 0; animation: hero-failsafe 0.01s linear 6s forwards; }
.js.hero-ready .hero-title .ln-in { transform: none; }
.js.hero-ready .hero-top, .js.hero-ready .hero-side, .js.hero-ready .hero-foot { opacity: 1; }
@keyframes hero-failsafe { to { transform: none; opacity: 1; } }

@media (max-width: 1100px) {
  .hero-side { position: relative; right: auto; top: auto; width: auto; max-width: 30em; margin-top: 28px; }
  .hero-main { padding-bottom: 28px; }
}
@media (max-width: 900px) {
  .hero-legend { display: none; }
  .hero-foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .hero { min-height: 640px; }
  .hero-title { font-size: 13.4vw; }
  .hero-top { flex-direction: column; gap: 10px; }
  .hero-side { font-size: 14px; }
}

/* ---------- statement ---------- */
.statement { padding-top: clamp(120px, 17vw, 260px); }
.statement-text {
  margin-top: clamp(32px, 4vw, 56px);
  max-width: 23.5em;
  font-family: var(--f-min);
  font-weight: 500;
  font-size: clamp(23px, 3.25vw, 54px);
  line-height: 1.78;
  letter-spacing: 0.01em;
  font-feature-settings: "palt";
}
.statement-text .c { opacity: 1; }
.statement-fig { margin-top: clamp(96px, 12vw, 180px); }
.statement-fig .img-mask { aspect-ratio: 21 / 9; }
.statement-fig .cap { margin-top: 14px; }
@media (max-width: 700px) {
  .statement-fig .img-mask { aspect-ratio: 4 / 3; }
}

/* ---------- name ---------- */
.name { padding: clamp(120px, 15vw, 230px) 0; }
.name-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 64px;
  align-items: end;
}
.name-text { grid-column: 1 / 6; }
.name-text .h-sec { font-size: clamp(32px, 3.9vw, 64px); }
.name-text .prose { margin-top: clamp(32px, 3.6vw, 52px); max-width: 30em; }
.name-fig { grid-column: 6 / 13; }
.name-fig .train { filter: drop-shadow(0 0 4px rgba(210, 65, 42, 0.5)); }
@media (max-width: 1000px) {
  .name-text, .name-fig { grid-column: 1 / -1; }
}

/* ---------- services ---------- */
.services { padding: clamp(110px, 13vw, 200px) 0 clamp(100px, 12vw, 180px); border-top: 1px solid var(--rule); }
.svc-list { margin-top: clamp(64px, 8vw, 120px); border-top: 1px solid var(--ink); }
.svc { border-bottom: 1px solid var(--rule); transition: background-color 0.6s var(--ease); }
.svc.is-flash { background: var(--paper-2); }
.svc-row {
  width: 100%;
  display: grid;
  grid-template-columns: clamp(48px, 6vw, 96px) minmax(0, 1.05fr) minmax(0, 1fr) 40px;
  align-items: center;
  column-gap: var(--gap);
  padding: clamp(22px, 2.4vw, 34px) 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  transition: opacity 0.5s var(--ease);
}
.svc-no { font: italic 400 20px/1 var(--f-serif); color: var(--ink-3); letter-spacing: 0; }
.svc-name {
  font-family: var(--f-min);
  font-weight: 500;
  font-size: clamp(22px, 2.75vw, 44px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-feature-settings: "palt";
  transition: transform 0.8s var(--ease), color 0.4s;
}
.svc-short { font-size: 14px; line-height: 1.85; color: var(--ink-2); }
.svc-plus { position: relative; justify-self: end; width: 18px; height: 18px; }
.svc-plus::before, .svc-plus::after {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 100%; height: 1px;
  background: currentColor;
  transition: transform 0.6s var(--ease);
}
.svc-plus::after { transform: rotate(90deg); }
.svc.is-open .svc-plus::after { transform: rotate(0deg); }
.svc.is-open .svc-plus::before { transform: rotate(180deg); }

@media (hover: hover) and (pointer: fine) {
  .svc-row:hover .svc-name { transform: translateX(16px); }
  .svc-list:hover .svc:not(:hover):not(.is-open) .svc-row { opacity: 0.32; }
}
.svc.is-open .svc-name { color: var(--ink); }

.svc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.9s var(--ease); }
.svc.is-open .svc-panel { grid-template-rows: 1fr; }
.svc-panel-in {
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: clamp(48px, 6vw, 96px) minmax(0, 1.05fr) minmax(0, 1fr) 40px;
  column-gap: var(--gap);
}
.svc-fig { grid-column: 2; max-width: 480px; padding: 8px 0 44px; --fig-bg: var(--paper); }
.svc-body { grid-column: 3; padding: 8px 0 44px; }
.svc-body > p { font-size: 15px; line-height: 2.05; color: var(--ink-2); }
.svc-ex { margin: 22px 0 30px; border-top: 1px solid var(--rule); }
.svc-ex li { position: relative; padding: 10px 0 10px 22px; border-bottom: 1px solid var(--rule); font-size: 14px; line-height: 1.7; }
.svc-ex li::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 1px; background: var(--shu); }

@media (max-width: 860px) {
  .svc-row { grid-template-columns: 40px minmax(0, 1fr) 24px; row-gap: 6px; }
  .svc-short { grid-column: 2; grid-row: 2; }
  .svc-plus { grid-column: 3; grid-row: 1; }
  .svc-panel-in { grid-template-columns: 40px minmax(0, 1fr); }
  .svc-fig, .svc-body { grid-column: 2; }
  .svc-fig { padding-bottom: 12px; max-width: 420px; }
}

/* floating preview */
.svc-preview {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 40;
  pointer-events: none;
  will-change: transform;
}
.svc-preview-card {
  position: relative;
  width: 300px;
  padding: 14px 16px 10px;
  background: var(--paper);
  border: 1px solid var(--rule-2);
  box-shadow: 0 40px 70px -40px rgba(21, 21, 20, 0.45);
  transform: translate(30px, -50%) scale(0.86);
  transform-origin: 0 50%;
  opacity: 0;
  transition: opacity 0.35s var(--ease), transform 0.6s var(--ease);
}
.svc-preview.is-left .svc-preview-card { transform: translate(calc(-100% - 30px), -50%) scale(0.86); transform-origin: 100% 50%; }
.svc-preview.is-on .svc-preview-card { opacity: 1; transform: translate(30px, -50%) scale(1); }
.svc-preview.is-on.is-left .svc-preview-card { transform: translate(calc(-100% - 30px), -50%) scale(1); }
.svc-preview .pv { display: none; }
.svc-preview .pv.is-on { display: block; }
.svc-preview .pv-cap { margin-top: 6px; font: italic 400 13px/1 var(--f-serif); color: var(--ink-3); }

/* ---------- index ---------- */
.index { padding: clamp(100px, 12vw, 180px) 0; background: var(--paper-2); }
.index-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 56px; }
.index-head { grid-column: 1 / 4; }
.index-title {
  font-family: var(--f-min);
  font-weight: 500;
  font-size: clamp(84px, 10.5vw, 176px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}
.index-en { margin-top: 28px; font: italic 400 22px/1 var(--f-serif); color: var(--ink-3); }
.index-note { margin-top: 30px; max-width: 17em; font-size: 13.5px; line-height: 2; color: var(--ink-2); }
.index-body { grid-column: 4 / 13; columns: 3 220px; column-gap: clamp(28px, 3vw, 48px); }
.ix-group { break-inside: avoid; margin-bottom: 34px; }
.ix-head {
  margin-bottom: 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--f-min);
  font-size: 19px;
  line-height: 1.4;
}
.ix-group a { display: flex; align-items: baseline; gap: 8px; padding: 5px 0; font-size: 14px; line-height: 1.6; text-decoration: none; }
.ix-term { transition: color 0.3s; }
.ix-dots { flex: 1; min-width: 12px; border-bottom: 1px dotted var(--rule-2); transform: translateY(-4px); }
.ix-ref { display: inline-flex; gap: 6px; font: italic 400 14px/1 var(--f-serif); color: var(--ink-3); letter-spacing: 0; transition: color 0.3s; }
.ix-group a:hover .ix-term, .ix-group a:hover .ix-ref { color: var(--shu); }
@media (max-width: 1000px) {
  .index-head, .index-body { grid-column: 1 / -1; }
  .index-note { max-width: 30em; }
}

/* ---------- cases ---------- */
.cases { background: var(--night); color: var(--on-night); }
.cases .eb-en { color: var(--on-night-2); }
.cases-pin {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--hd-h) + 32px) 0 40px;
  overflow: hidden;
}
.cases-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; row-gap: 0; }
.cases-head .eyebrow { grid-column: 1 / -1; }
.cases-head .h-sec { font-size: clamp(34px, 4.6vw, 76px); }
.cases-count { display: flex; align-items: center; gap: 14px; padding-bottom: 0.9em; font: italic 400 22px/1 var(--f-serif); color: var(--on-night-2); }
.cases-count span:first-child { color: var(--on-night); }
.cases-count i { width: 32px; height: 1px; background: var(--rule-night); }

.cases-viewport {
  margin-top: clamp(40px, 7vh, 80px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.cases-viewport::-webkit-scrollbar { display: none; }
.cases-track { display: flex; width: max-content; padding-inline: var(--pad) calc(var(--pad) + 8vw); }
.case {
  flex: none;
  display: flex;
  flex-direction: column;
  width: clamp(320px, 34vw, 540px);
  min-height: clamp(300px, 46vh, 470px);
  padding: 4px clamp(28px, 3.4vw, 56px) 0 clamp(20px, 1.8vw, 30px);
  border-left: 1px solid var(--rule-night);
  scroll-snap-align: start;
}
.case-no { font: italic 400 20px/1 var(--f-serif); color: var(--on-night-2); }
.case-q {
  margin-top: 28px;
  text-indent: -0.52em;
  font-family: var(--f-min);
  font-weight: 500;
  font-size: clamp(23px, 2.35vw, 38px);
  line-height: 1.6;
  letter-spacing: 0;
  font-feature-settings: "palt";
  line-break: strict;
}
.case-a {
  position: relative;
  margin-top: auto;
  padding: 36px 0 0 28px;
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--on-night);
  opacity: 0.82;
}
.case-a::before { content: ""; position: absolute; left: 0; top: calc(36px + 0.98em); width: 16px; height: 1px; background: var(--shu); }
.case-tag { margin-top: 18px; padding-left: 28px; font-size: 11.5px; letter-spacing: 0.16em; color: var(--on-night-2); }

.cases-foot { display: flex; align-items: center; gap: 24px; margin-top: clamp(32px, 5vh, 56px); }
.cases-bar { position: relative; flex: 1; height: 1px; background: var(--rule-night); overflow: hidden; }
.cases-bar i { position: absolute; inset: 0; background: var(--on-night); transform: scaleX(0); transform-origin: left; }
.cases-hint { font: italic 400 15px/1 var(--f-serif); color: var(--on-night-2); }
.cases.is-pinned .cases-viewport { overflow: visible; scroll-snap-type: none; }
@media (max-width: 700px) {
  .case { width: 84vw; padding-right: 22px; }
  .case-q { font-size: 22px; }
}
.cases.is-pinned .cases-hint { visibility: hidden; }

/* ---------- principles ---------- */
.principles { padding: clamp(110px, 13vw, 200px) 0 clamp(80px, 10vw, 140px); }
.pr-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: clamp(64px, 8vw, 120px); }
.pr-media {
  grid-column: 1 / 6;
  position: sticky;
  top: calc(var(--hd-h) + 3vh);
  align-self: start;
}
.pr-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: calc(100svh - var(--hd-h) - 120px);
  width: 100%;
  overflow: hidden;
  background: var(--paper-2);
}
.pr-img { position: absolute; inset: 0; z-index: 0; clip-path: inset(100% 0 0 0); transition: clip-path 1.2s var(--ease-io); }
.pr-img.was-active { z-index: 1; clip-path: inset(0 0 0 0); }
.pr-img.is-active { z-index: 2; clip-path: inset(0 0 0 0); }
.pr-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
  mix-blend-mode: multiply;
  scale: 1.14;
  transition: scale 1.8s var(--ease);
}
.pr-img.is-active img { scale: 1; }
.pr-cap { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; font-size: 12.5px; color: var(--ink-3); letter-spacing: 0.06em; }
.pr-cap-text { transition: opacity 0.4s var(--ease); }
.pr-cap-text.is-swap { opacity: 0; }
.pr-count { font: italic 400 15px/1.6 var(--f-serif); letter-spacing: 0; white-space: nowrap; }

.pr-list { grid-column: 7 / 13; }
.pr {
  min-height: 74vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 0;
  border-top: 1px solid var(--rule);
  transition: opacity 0.8s var(--ease);
}
.pr:first-child { border-top: 0; justify-content: flex-start; min-height: 60vh; padding-top: 0; }
.reveal-ready .pr-list .pr { opacity: 0.22; }
.reveal-ready .pr-list .pr.is-active { opacity: 1; }
.pr-mfig { display: none; }
.pr-no { display: flex; align-items: baseline; gap: 16px; line-height: 1; }
.pr-n { font: italic 400 22px/1 var(--f-serif); color: var(--shu); }
.pr-en { font: 500 11px/1 var(--f-latin); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.pr-title {
  margin-top: 22px;
  font-family: var(--f-min);
  font-weight: 500;
  font-size: clamp(26px, 2.9vw, 46px);
  line-height: 1.42;
  letter-spacing: -0.01em;
  font-feature-settings: "palt";
}
.pr-text { margin-top: 24px; max-width: 29em; font-size: 15.5px; line-height: 2.1; color: var(--ink-2); }

@media (max-width: 900px) {
  .pr-media { display: none; }
  .pr-list { grid-column: 1 / -1; }
  .reveal-ready .pr-list .pr { opacity: 1; }
  .pr, .pr:first-child { min-height: 0; padding: 0 0 72px; border-top: 0; }
  .pr-mfig { display: block; margin-bottom: 28px; }
  .pr-mfig .img-mask { aspect-ratio: 4 / 5; max-height: 70vh; }
}

/* ---------- handover ---------- */
.handover { background: var(--night); color: var(--on-night); padding: clamp(100px, 12vw, 180px) 0; }
.handover .eb-en { color: var(--on-night-2); }
.ho-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 64px;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
  align-items: stretch;
}
.ho-media { grid-column: 1 / 7; }
.ho-mask { aspect-ratio: 4 / 5; }
.ho-media .cap { color: var(--on-night-2); }
.ho-text {
  grid-column: 8 / 13;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr auto;
  column-gap: clamp(24px, 3vw, 48px);
  padding-bottom: 32px;
}
.ho-text .eyebrow { grid-column: 1 / -1; grid-row: 1; align-self: start; margin-bottom: clamp(32px, 4vw, 56px); }
.ho-title {
  grid-column: 2;
  grid-row: 2 / 4;
  justify-self: end;
  writing-mode: vertical-rl;
  font-family: var(--f-min);
  font-weight: 500;
  font-size: clamp(30px, 3.5vw, 58px);
  line-height: 1.7;
  letter-spacing: 0.14em;
}
.ho-title span { display: block; }
.ho-title span:nth-child(2) { padding-top: 2em; }
.ho-title span:nth-child(3) { padding-top: 4em; }
.ho-body { grid-column: 1; grid-row: 3; align-self: end; max-width: 19em; font-size: 15px; line-height: 2.15; color: var(--on-night-2); }
.ho-body p + p { margin-top: 1.4em; color: var(--on-night); }
@media (max-width: 900px) {
  .ho-media, .ho-text { grid-column: 1 / -1; }
  .ho-text { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; padding-bottom: 0; }
  .ho-text .eyebrow { grid-row: auto; }
  .ho-title { grid-column: 1; grid-row: auto; justify-self: end; font-size: clamp(28px, 7.4vw, 40px); }
  .ho-body { grid-column: 1; grid-row: auto; max-width: 30em; margin-top: 48px; }
}

/* ---------- process ---------- */
.process { padding: clamp(110px, 13vw, 200px) 0; }
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: var(--gap);
  margin-top: clamp(64px, 8vw, 120px);
  border-top: 1px solid var(--rule);
}
.steps::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(var(--p, 1));
  transform-origin: left;
}
.reveal-ready .steps::before { transform: scaleX(var(--p, 0)); }
.step { position: relative; padding-top: 34px; padding-right: 8px; }
.step::before {
  content: "";
  position: absolute;
  left: 0;
  top: -5px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
}
.step:first-child::before { background: var(--shu); border-color: var(--shu); }
.step-no { display: block; font: italic 400 clamp(60px, 6.4vw, 104px)/0.9 var(--f-serif); letter-spacing: -0.02em; }
.step h3 { margin-top: 22px; font-family: var(--f-min); font-size: clamp(20px, 1.7vw, 25px); line-height: 1.5; }
.step p { margin-top: 12px; font-size: 14px; line-height: 2; color: var(--ink-2); }
@media (max-width: 960px) {
  .steps { grid-template-columns: minmax(0, 1fr); border-top: 0; border-left: 1px solid var(--rule); }
  .steps::before { top: 0; left: -1px; width: 1px; height: 100%; transform: scaleY(var(--p, 1)); transform-origin: top; }
  .reveal-ready .steps::before { transform: scaleY(var(--p, 0)); }
  .step { padding: 0 0 52px 34px; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 22px; }
  .step::before { left: -5px; top: 10px; }
  .step-no { grid-row: 1 / 3; font-size: 56px; }
  .step h3 { margin-top: 2px; }
}

.forms { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: clamp(100px, 12vw, 170px); }
.forms-title { grid-column: 1 / 4; font-family: var(--f-min); font-size: clamp(22px, 1.9vw, 28px); line-height: 1.5; }
.forms-list { grid-column: 4 / 13; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.forms-list li { display: flex; flex-direction: column; padding: 26px 24px 30px 0; }
.forms-list li + li { padding-left: 24px; border-left: 1px solid var(--rule); }
.fm-en { font: italic 400 18px/1 var(--f-serif); color: var(--ink-3); }
.forms-list h4 { margin-top: 14px; font-family: var(--f-min); font-size: clamp(24px, 2.2vw, 32px); line-height: 1.3; }
.forms-list p:not(.fm-en):not(.fm-eg) { margin-top: 14px; font-size: 14px; line-height: 1.95; color: var(--ink-2); }
.fm-eg { margin-top: auto; padding-top: 22px; font-size: 12.5px; line-height: 1.9; color: var(--ink-3); }
.forms .note { grid-column: 4 / 13; margin-top: 28px; }
@media (max-width: 1000px) {
  .forms-title, .forms-list, .forms .note { grid-column: 1 / -1; }
  .forms-title { margin-bottom: 24px; }
}
@media (max-width: 760px) {
  .forms-list { grid-template-columns: minmax(0, 1fr); }
  .forms-list li, .forms-list li + li { padding: 24px 0 26px; border-left: 0; border-bottom: 1px solid var(--rule); }
}

/* ---------- stack ---------- */
.stack { padding: clamp(110px, 13vw, 200px) 0; border-top: 1px solid var(--rule); }
.questions { margin-top: clamp(64px, 8vw, 120px); border-top: 1px solid var(--ink); }
.questions li {
  display: grid;
  grid-template-columns: clamp(48px, 8vw, 140px) minmax(0, 1fr);
  align-items: baseline;
  padding: clamp(22px, 2.6vw, 36px) 0;
  border-bottom: 1px solid var(--rule);
}
.q-no { font: italic 400 clamp(22px, 2vw, 30px)/1 var(--f-serif); color: var(--shu); }
.questions p {
  font-family: var(--f-min);
  font-weight: 500;
  font-size: clamp(23px, 3.5vw, 56px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  font-feature-settings: "palt";
}
.stack-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(32px, 5vw, 96px);
  margin-top: clamp(80px, 10vw, 150px);
}
.stack-list > div {
  display: grid;
  grid-template-columns: 7.5em minmax(0, 1fr);
  column-gap: 20px;
  row-gap: 4px;
  align-content: start;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
}
.stack-list dt { grid-row: 1 / 3; font-size: 13.5px; font-weight: 700; letter-spacing: 0.1em; line-height: 1.9; }
.stack-list .tools { font: 500 15px/1.6 var(--f-latin); letter-spacing: 0; }
.stack-list dd:last-child { font-size: 13.5px; line-height: 1.95; color: var(--ink-2); }
.stack .note { margin-top: 36px; }
@media (max-width: 860px) {
  .stack-list { grid-template-columns: minmax(0, 1fr); }
  .stack-list > div { grid-template-columns: minmax(0, 1fr); }
  .stack-list dt { grid-row: auto; color: var(--ink-3); font-weight: 500; }
}

/* ---------- faq ---------- */
.faq { padding: clamp(110px, 13vw, 190px) 0; border-top: 1px solid var(--rule); }
.faq-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 48px; }
.faq-head { grid-column: 1 / 5; }
.h-sec.h-sm { font-size: clamp(32px, 3.8vw, 60px); }
.faq-list { grid-column: 6 / 13; border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--f-min);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.6;
  letter-spacing: 0.02em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { position: relative; flex: none; width: 16px; height: 16px; }
.faq-list summary i::before, .faq-list summary i::after {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 100%; height: 1px;
  background: currentColor;
  transition: transform 0.6s var(--ease);
}
.faq-list summary i::after { transform: rotate(90deg); }
.faq-list details[open] summary i::after { transform: rotate(0); }
.faq-list summary:hover span { color: var(--shu); }
.faq-a p { padding: 0 48px 30px 0; font-size: 15px; line-height: 2.05; color: var(--ink-2); }
.faq-list details[open] .faq-a { animation: faq-in 0.8s var(--ease) both; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 1000px) {
  .faq-head, .faq-list { grid-column: 1 / -1; }
}

/* ---------- company ---------- */
.company { padding: clamp(110px, 13vw, 200px) 0; border-top: 1px solid var(--rule); }
.company-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 64px; align-items: end; }
.company-fig { grid-column: 1 / 6; }
.company-fig .img-mask { aspect-ratio: 4 / 5; }
.company-body { grid-column: 7 / 13; }
.company-title {
  margin-top: 26px;
  font: 400 clamp(60px, 8.4vw, 136px)/0.95 var(--f-serif);
  letter-spacing: -0.035em;
}
.company-dl { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--ink); }
.company-dl > div { display: grid; grid-template-columns: 9em minmax(0, 1fr); column-gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--rule); font-size: 14.5px; line-height: 1.95; }
.company-dl dt { color: var(--ink-3); letter-spacing: 0.1em; }
.company-dl li { position: relative; padding-left: 1.2em; }
.company-dl li::before { content: ""; position: absolute; left: 0; top: 0.98em; width: 0.6em; height: 1px; background: var(--ink-3); }
.company-dl a { text-underline-offset: 5px; text-decoration-thickness: 1px; }
.company-dl a:hover { color: var(--shu); }
@media (max-width: 900px) {
  .company-fig, .company-body { grid-column: 1 / -1; }
  .company-fig { max-width: 520px; }
}
@media (max-width: 560px) {
  .company-dl > div { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- contact ---------- */
.contact { background: var(--night); color: var(--on-night); padding: clamp(120px, 14vw, 210px) 0 clamp(90px, 10vw, 150px); }
.contact .eb-en { color: var(--on-night-2); }
.contact ::selection { background: var(--on-night); color: var(--night); }
.contact-title {
  margin-top: clamp(26px, 2.6vw, 38px);
  font-family: var(--f-min);
  font-weight: 500;
  font-size: clamp(34px, 6.2vw, 108px);
  line-height: 1.24;
  letter-spacing: -0.025em;
  font-feature-settings: "palt";
}
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 72px; margin-top: clamp(72px, 9vw, 140px); }
.contact-info { grid-column: 1 / 6; }
.contact-mail {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: clamp(14px, 1.4vw, 22px);
  padding-bottom: 12px;
  font: 400 clamp(30px, 3.5vw, 58px)/1.05 var(--f-serif);
  letter-spacing: -0.01em;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact-mail::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--rule-night);
}
.contact-mail::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  z-index: 1;
  background: var(--on-night);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.8s var(--ease);
}
.contact-mail:hover::before { transform: scaleX(1); transform-origin: left; }
.contact-mail i { position: relative; flex: none; width: 0.62em; height: 0.62em; transition: transform 0.6s var(--ease); }
.contact-mail i::before { content: ""; position: absolute; left: 0; bottom: 0; width: 135%; height: 1px; background: currentColor; transform: rotate(-45deg); transform-origin: 0 50%; }
.contact-mail i::after { content: ""; position: absolute; right: 0; top: 0; width: 55%; height: 55%; border-top: 1px solid currentColor; border-right: 1px solid currentColor; }
.contact-mail:hover i { transform: translate(4px, -4px); }
.copy {
  display: block;
  margin-top: 16px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--on-night-2);
  cursor: pointer;
}
.copy:hover { color: var(--on-night); }
.copy[hidden] { display: none; }
.contact-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; margin-top: clamp(44px, 5vw, 72px); border-top: 1px solid var(--rule-night); }
.contact-facts > div { padding: 18px 0; border-bottom: 1px solid var(--rule-night); }
.contact-facts dt { font-size: 12px; letter-spacing: 0.14em; color: var(--on-night-2); }
.contact-facts dd { margin-top: 6px; font-family: var(--f-min); font-size: 18px; line-height: 1.5; }

.cform { grid-column: 7 / 13; }
.cf-topics { margin: 0; padding: 0; border: 0; min-width: 0; }
.cf-topics legend, .cf-field > span {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 0;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--on-night-2);
}
.cf-topics legend { margin-bottom: 16px; }
.cf-topics small, .cf-field small { font-size: 11px; letter-spacing: 0.1em; opacity: 0.7; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.chips span {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid var(--rule-night);
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  color: var(--on-night-2);
  transition: background-color 0.35s var(--ease), color 0.35s, border-color 0.35s;
}
.chips label:hover span { border-color: var(--on-night-2); color: var(--on-night); }
.chips input:checked + span { background: var(--on-night); border-color: var(--on-night); color: var(--night); }
.chips input:focus-visible + span { outline: 2px solid var(--shu); outline-offset: 3px; }
.cf-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.cf-field { display: block; margin-top: 34px; }
.cf-field input, .cf-field textarea {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 1px solid var(--rule-night);
  border-radius: 0;
  background: transparent;
  color: var(--on-night);
  font: 400 17px/1.7 var(--f-sans);
  letter-spacing: 0.03em;
  outline: none;
  transition: border-color 0.4s var(--ease);
}
.cf-field textarea { min-height: 128px; resize: vertical; }
.cf-field input:focus, .cf-field textarea:focus { border-bottom-color: var(--on-night); }
.cf-field textarea::placeholder { color: var(--on-night-2); opacity: 0.55; }
.cf-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 32px; margin-top: 44px; }
.btn-send {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  height: 64px;
  padding: 0 30px 0 34px;
  border: 0;
  border-radius: 999px;
  background: var(--shu);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: background-color 0.4s var(--ease), transform 0.6s var(--ease);
}
.btn-send:hover { background: var(--shu-hi); }
.btn-send:active { transform: scale(0.98); }
.btn-send i { position: relative; width: 26px; height: 1px; background: currentColor; transition: width 0.6s var(--ease); }
.btn-send i::after { content: ""; position: absolute; right: 0; top: -3.5px; width: 8px; height: 8px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); transform-origin: 100% 0; }
.btn-send:hover i { width: 36px; }
.btn-send:focus-visible { outline-color: var(--on-night); }
.cf-note { flex: 1 1 16em; font-size: 12.5px; line-height: 1.9; color: var(--on-night-2); }
@media (max-width: 1000px) {
  .contact-info, .cform { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .cf-row { grid-template-columns: minmax(0, 1fr); }
  .btn-send { width: 100%; justify-content: space-between; }
}

/* ---------- footer ---------- */
.ft { background: var(--night); color: var(--on-night); padding-bottom: 26px; }
.ft-top {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 48px;
  padding-top: clamp(56px, 7vw, 100px);
  border-top: 1px solid var(--rule-night);
}
.ft-catch { grid-column: 1 / 6; }
.ft-copy { font-family: var(--f-min); font-size: clamp(22px, 2.1vw, 32px); line-height: 1.5; font-feature-settings: "palt"; }
.ft-sub { margin-top: 8px; font-size: 13px; color: var(--on-night-2); }
.ft-nav { grid-column: 7 / 13; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); }
.ft-nav li { font-size: 13.5px; line-height: 2.4; color: var(--on-night-2); }
.ft-nav a { color: var(--on-night); text-decoration: none; transition: color 0.3s; }
.ft-nav a:hover { color: var(--shu-hi); }
.ft-mark {
  display: flex;
  margin-top: clamp(64px, 9vw, 150px);
  line-height: 0.78;
  white-space: nowrap;
  user-select: none;
}
.ft-mark-in { display: inline-flex; align-items: center; font: 600 180px/0.78 var(--f-latin); letter-spacing: -0.065em; }
.ft-seal { width: 0.44em; height: 0.44em; margin-right: 0.12em; color: var(--shu); flex: none; transform: translateY(0.02em); }
.ft-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px 32px;
  margin-top: clamp(28px, 3vw, 44px);
  padding-top: 20px;
  border-top: 1px solid var(--rule-night);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--on-night-2);
}
.ft-bottom small { font-size: inherit; }
.ft-credit { flex: 1 1 24em; max-width: 60em; opacity: 0.8; }
.ft-top-link { text-decoration: none; font: italic 400 15px/1 var(--f-serif); letter-spacing: 0.02em; color: var(--on-night); }
.ft-top-link i { font-style: normal; margin-left: 6px; }
@media (max-width: 900px) {
  .ft-catch, .ft-nav { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .ft-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .reveal-ready [data-reveal] { transform: none; }
  .js .hero-title .ln-in { transform: none; }
  .js .hero-top, .js .hero-side, .js .hero-foot { opacity: 1; }
  .js .intro { display: none; }
}
