/* eap Strategy LP — editorial BtoB style aligned with eap DX */

:root {
  --bg: #f7f5ef;
  --bg-2: #efece3;
  --text: #111111;
  --muted: #6a6a66;
  --muted-2: #9a9a93;
  --line: rgba(17, 17, 17, 0.12);
  --line-strong: rgba(17, 17, 17, 0.22);
  --card: #ffffff;
  --accent: #111111;
  --hover: #1d1d1b;
  --serif: "Noto Sans JP", "Inter", sans-serif;
  --sans: "Noto Sans JP", "Inter", "Helvetica Neue", "Arial", sans-serif;
  --mono: "Inter", "Noto Sans JP", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-ja: "Noto Sans JP", sans-serif;
  --font-en: "Inter", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ja), var(--font-en), -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.8;
  font-size: 16px;
  letter-spacing: 0.02em;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-ja);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.35;
}
p, li { font-family: var(--font-ja); font-weight: 400; line-height: 1.85; }
button, .btn, .cta { font-family: var(--font-ja); font-weight: 700; letter-spacing: 0.04em; }
.font-en, .number, .kpi, .price, .step-label, .badge, .eyebrow, .label-en {
  font-family: var(--font-en), var(--font-ja), sans-serif;
  letter-spacing: 0.04em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* —— grain overlay —— */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(17,17,17,0.025) 1px, transparent 1px);
  background-size: 3px 3px;
  z-index: 1;
  mix-blend-mode: multiply;
}

/* —— layout —— */
.wrap {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}
@media (max-width: 720px) {
  .wrap { padding: 0 22px; }
}

/* narrower inner block for body copy & content */
.wrap-tight {
  max-width: 820px;
  margin: 0 auto;
}

/* —— top nav —— */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(247, 245, 239, 0.78);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.02em;
}
.brand small {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 26px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 18px;
  background: var(--text);
  color: var(--bg);
  font-size: 12px;
  letter-spacing: 0.08em;
  border-radius: 999px;
}
.nav-cta::after {
  content: "→";
  font-family: var(--mono);
}
@media (max-width: 900px) {
  .nav-links { display: none; }
}

/* —— common section frame —— */
section {
  position: relative;
  z-index: 2;
  padding: 120px 0;
  border-top: 1px solid var(--line);
}
section:first-of-type { border-top: none; }

@media (max-width: 720px) {
  section { padding: 84px 0; }
}

.sec-head {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 48px;
  margin-bottom: 64px;
  align-items: start;
}
.sec-no {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sec-no .num { color: var(--text); font-size: 13px; }
.sec-no .rule {
  width: 100%;
  height: 1px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s cubic-bezier(.2,.7,.2,1);
}
.in-view .sec-no .rule { transform: scaleX(1); }

.sec-title {
  font-family: var(--font-ja);
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.35;
  letter-spacing: 0.005em;
  margin: 0 0 22px;
  text-wrap: balance;
}
.sec-title .en {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 400;
}
.sec-lead {
  font-size: 15px;
  line-height: 1.95;
  color: #2a2a28;
  max-width: 640px;
}
.sec-lead + .sec-lead { margin-top: 14px; }

@media (max-width: 900px) {
  .sec-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
  .sec-no { flex-direction: row; align-items: center; gap: 18px; }
  .sec-no .rule { flex: 1; }
}

/* ==== HERO ==== */
.hero {
  padding: 180px 0 120px;
  border-top: none;
  position: relative;
  overflow: hidden;
}

/* —— animated hero background —— */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-bg .layer { position: absolute; inset: 0; }

/* slow drifting dotted grid */
.hero-bg .grid {
  background-image:
    linear-gradient(to right, rgba(17,17,17,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17,17,17,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  animation: gridDrift 90s linear infinite;
  mask-image: radial-gradient(ellipse at 75% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 75% 50%, #000 30%, transparent 80%);
}
@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 72px 72px, 72px 72px; }
}

/* horizontal rule lines that draw + fade */
.hero-bg svg.rules { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg svg.rules .ln {
  fill: none;
  stroke: rgba(17,17,17,0.10);
  stroke-width: 1;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: drawIn 18s cubic-bezier(.55,.05,.25,1) infinite;
}
@keyframes drawIn {
  0% { stroke-dashoffset: 1400; opacity: 0; }
  15% { opacity: 0.7; }
  60% { stroke-dashoffset: 0; opacity: 0.7; }
  90% { opacity: 0.3; }
  100% { stroke-dashoffset: -1400; opacity: 0; }
}

/* strategy node-edge diagram */
.hero-bg svg.diagram {
  position: absolute;
  top: 0; bottom: 0; right: -4%;
  width: 50%;
  height: 100%;
  opacity: 0.62;
}
.hero-bg svg.diagram .edge {
  fill: none;
  stroke: rgba(17,17,17,0.20);
  stroke-width: 1;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: edgeDraw 14s cubic-bezier(.6,.05,.25,1) infinite;
}
.hero-bg svg.diagram .edge.dash {
  stroke-dasharray: 4 4;
  stroke-dashoffset: 0;
  animation: dashFlow 10s linear infinite, fadeCycle 14s ease-in-out infinite;
  stroke-opacity: 0.14;
}
@keyframes dashFlow {
  to { stroke-dashoffset: -16; }
}
@keyframes fadeCycle {
  0%, 100% { stroke-opacity: 0; }
  20%, 80% { stroke-opacity: 0.14; }
}
@keyframes edgeDraw {
  0% { stroke-dashoffset: 600; }
  60% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -600; }
}

.hero-bg svg.diagram .node {
  fill: var(--bg);
  stroke: rgba(17,17,17,0.32);
  stroke-width: 1;
  opacity: 0;
  animation: nodeIn 14s ease-in-out infinite;
}
.hero-bg svg.diagram .node.solid { fill: rgba(17,17,17,0.6); stroke: none; }
@keyframes nodeIn {
  0%, 100% { opacity: 0; transform: scale(.85); }
  25%, 75% { opacity: 0.85; transform: scale(1); }
}

.hero-bg svg.diagram .lbl {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  fill: rgba(17,17,17,0.38);
  text-transform: uppercase;
  opacity: 0;
  animation: lblIn 14s ease-in-out infinite;
}
.hero-bg svg.diagram .num {
  font-family: var(--mono);
  font-size: 8px;
  fill: rgba(17,17,17,0.3);
  letter-spacing: 0.12em;
  opacity: 0;
  animation: lblIn 14s ease-in-out infinite;
}
@keyframes lblIn {
  0%, 100% { opacity: 0; }
  30%, 70% { opacity: 0.75; }
}

/* roadmap ticker at bottom */
.hero-bg .ticker {
  position: absolute;
  left: 0; right: 0;
  bottom: 10%;
  height: 1px;
  background: rgba(17,17,17,0.12);
}
.hero-bg .ticker::before {
  content: "";
  position: absolute;
  top: -2px;
  width: 5px; height: 5px;
  background: var(--text);
  animation: tickerMove 14s linear infinite;
}
@keyframes tickerMove {
  from { left: -5px; }
  to { left: 100%; }
}

/* small floating annotation marks */
.hero-bg .anno {
  position: absolute;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(17,17,17,0.22);
  text-transform: uppercase;
  white-space: nowrap;
}
.hero-bg .anno::before {
  content: "—";
  margin-right: 6px;
}
.hero-bg .anno.a1 { top: 14%; left: 3%; animation: floatY 16s ease-in-out infinite; }
.hero-bg .anno.a2 { top: 26%; right: 5%; animation: floatY 18s ease-in-out infinite 2s; }
.hero-bg .anno.a3 { bottom: 22%; left: 6%; animation: floatY 20s ease-in-out infinite 1s; }
.hero-bg .anno.a4 { bottom: 30%; right: 18%; animation: floatY 17s ease-in-out infinite 3s; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); opacity: 0.2; }
  50%      { transform: translateY(-4px); opacity: 0.45; }
}

/* keep hero content above the bg */
.hero > .wrap { position: relative; z-index: 2; }
.hero-meta, .hero-title, .hero-sub, .hero-ctas { position: relative; }

/* soft fade vignette so the diagram never competes with text */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--bg) 0%, rgba(247,245,239,0) 35%, rgba(247,245,239,0) 65%, var(--bg) 100%),
    linear-gradient(to bottom, rgba(247,245,239,0.4) 0%, rgba(247,245,239,0) 30%, rgba(247,245,239,0) 70%, rgba(247,245,239,0.5) 100%);
  pointer-events: none;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg .grid,
  .hero-bg svg.rules .ln,
  .hero-bg svg.diagram .edge,
  .hero-bg svg.diagram .edge.dash,
  .hero-bg svg.diagram .node,
  .hero-bg svg.diagram .lbl,
  .hero-bg svg.diagram .num,
  .hero-bg .ticker::before,
  .hero-bg .anno {
    animation: none !important;
    opacity: 0.6;
    stroke-dashoffset: 0;
  }
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}
.hero-meta .codes { color: var(--muted-2); }
.hero-title {
  font-family: var(--font-ja);
  font-weight: 900;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin: 0;
  text-wrap: balance;
}
.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateY(28px);
  filter: blur(8px);
  animation: heroLine 1.1s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-title .line:nth-child(2) { animation-delay: 0.18s; }
@keyframes heroLine {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.hero-sub {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 36px;
}
.hero-sub p { margin: 0; line-height: 2; font-size: 15px; }
.hero-sub p.lead { font-size: 17px; line-height: 1.95; }
.hero-sub p.note { color: var(--muted); font-size: 14px; line-height: 2; }

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 48px;
}

@media (max-width: 900px) {
  .hero { padding: 130px 0 80px; }
  .hero-sub { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; margin-top: 36px; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 26px;
  font-size: 14px;
  letter-spacing: 0.06em;
  border-radius: 999px;
  border: 1px solid var(--text);
  background: var(--text);
  color: var(--bg);
  cursor: pointer;
  transition: transform .25s ease, background .25s ease;
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translateY(-2px); background: var(--hover); }
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,0.16) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform .9s ease;
}
.btn:hover::before { transform: translateX(100%); }
.btn .arrow { font-family: var(--mono); font-size: 16px; }
.btn.ghost {
  background: transparent;
  color: var(--text);
}
.btn.ghost:hover { background: var(--text); color: var(--bg); }

/* ==== PROBLEMS (checklist) ==== */
.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.check-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: center;
  padding: 28px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.7;
}
.check-item:nth-child(odd) { border-right: 1px solid var(--line); }
.check-item .box {
  width: 22px; height: 22px;
  border: 1px solid var(--text);
  position: relative;
  flex: none;
}
.check-item .box::after {
  content: "";
  position: absolute;
  top: 2px; left: 6px;
  width: 8px; height: 14px;
  border-right: 2px solid var(--text);
  border-bottom: 2px solid var(--text);
  transform: rotate(45deg) scale(0);
  transform-origin: center;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.in-view .check-item .box::after { transform: rotate(45deg) scale(1); }
.check-item .box-no {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.16em;
  margin-top: 4px;
}
@media (max-width: 720px) {
  .checklist { grid-template-columns: 1fr; }
  .check-item:nth-child(odd) { border-right: none; }
  .check-item { padding: 22px 4px; font-size: 15px; }
}

/* ==== CORE MESSAGE ==== */
.core {
  background: #0e0e0c;
  color: #f0ede4;
  padding: 160px 0;
  border-top: none;
  position: relative;
  overflow: hidden;
}
.core::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 4px 4px;
  pointer-events: none;
}
.core .sec-no { color: rgba(240,237,228,0.55); }
.core .sec-no .num { color: #f0ede4; }
.core .sec-no .rule { background: #f0ede4; }
.core-title {
  font-family: var(--font-ja);
  font-weight: 800;
  font-size: clamp(28px, 4.8vw, 56px);
  line-height: 1.4;
  margin: 0;
  text-wrap: balance;
  letter-spacing: 0.005em;
}
.core-title .em {
  color: #d8d3c1;
}
.core-sub {
  margin-top: 56px;
  max-width: 720px;
  font-size: 16px;
  line-height: 2.1;
  color: rgba(240,237,228,0.78);
  border-top: 1px solid rgba(240,237,228,0.18);
  padding-top: 32px;
}
.core-sub p { margin: 0 0 14px; }
.core-mark {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(240,237,228,0.55);
  margin-bottom: 28px;
  text-transform: uppercase;
}

/* ==== WHAT WE DO ==== */
.what {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.what-big {
  font-family: var(--font-ja);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.45;
  margin: 0;
  text-wrap: balance;
}
.what-body p {
  font-size: 15px;
  line-height: 2;
  margin: 0 0 18px;
  color: #2a2a28;
}
.what-stats {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.what-stats > div {
  padding: 28px 20px;
  border-right: 1px solid var(--line);
}
.what-stats > div:last-child { border-right: none; }
.what-stats .k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}
.what-stats .v {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 32px;
  margin-top: 8px;
  line-height: 1.1;
}
.what-stats .u {
  font-size: 12px;
  color: var(--muted);
  margin-left: 4px;
}
@media (max-width: 900px) {
  .what { grid-template-columns: 1fr; gap: 32px; }
  .what-stats { grid-template-columns: 1fr; }
  .what-stats > div { border-right: none; border-bottom: 1px solid var(--line); }
  .what-stats > div:last-child { border-bottom: none; }
}

/* ==== SERVICE AREA ==== */
.areas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.area {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 36px 32px 32px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  opacity: 0;
  transform: translateY(20px);
}
.in-view .area {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .7s ease, transform .7s ease, box-shadow .35s ease, border-color .35s ease;
}
.in-view .area:nth-child(2) { transition-delay: .08s; }
.in-view .area:nth-child(3) { transition-delay: .16s; }
.in-view .area:nth-child(4) { transition-delay: .24s; }
.in-view .area:nth-child(5) { transition-delay: .32s; }
.area:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 22px 50px -30px rgba(17,17,17,0.25);
}
.area .no {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  border-right: 1px solid var(--line);
  padding-right: 16px;
  height: 100%;
}
.area h3 {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 10px;
  letter-spacing: 0.01em;
}
.area .en {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}
.area p {
  font-size: 14px;
  line-height: 1.95;
  color: #2a2a28;
  margin: 0;
}
.area.full { grid-column: 1 / -1; }
@media (max-width: 720px) {
  .areas { grid-template-columns: 1fr; }
  .area { grid-template-columns: 1fr; }
  .area .no { border-right: none; border-bottom: 1px solid var(--line); padding-right: 0; padding-bottom: 12px; }
}

/* ==== PROCESS ==== */
.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.process-line {
  position: absolute;
  top: 92px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 2s cubic-bezier(.2,.7,.2,1);
}
.in-view .process-line { transform: scaleX(1); }
.step {
  padding: 40px 22px 32px;
  border-right: 1px solid var(--line);
  position: relative;
}
.step:last-child { border-right: none; }
.step .no {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 28px;
  display: block;
}
.step .dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--text);
  position: absolute;
  top: 87px;
  left: 22px;
  z-index: 2;
  opacity: 0;
  transform: scale(.6);
  transition: opacity .5s ease .3s, transform .5s ease .3s, background .3s ease;
}
.in-view .step .dot { opacity: 1; transform: scale(1); }
.in-view .step:nth-child(2) .dot { transition-delay: .5s, .5s, .3s; }
.in-view .step:nth-child(3) .dot { transition-delay: .8s, .8s, .3s; }
.in-view .step:nth-child(4) .dot { transition-delay: 1.1s, 1.1s, .3s; }
.in-view .step:nth-child(5) .dot { transition-delay: 1.4s, 1.4s, .3s; }
.step:hover .dot { background: var(--text); }
.step h4 {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 12px;
  padding-top: 20px;
}
.step p {
  font-size: 13px;
  line-height: 1.9;
  color: #2a2a28;
  margin: 0;
}
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: none; }
  .process-line { display: none; }
  .step .dot { display: none; }
  .step h4 { padding-top: 0; }
}

/* ==== DELIVERABLES ==== */
.deliv-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
  align-items: start;
}
.deliv-intro p { margin: 0 0 14px; font-size: 15px; line-height: 1.95; color: #2a2a28; }

.deliv-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(260px, auto);
  gap: 16px;
}
.dcard {
  background: var(--card);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.dcard:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 22px 50px -30px rgba(17,17,17,0.25);
}
.dcard .dhead {
  padding: 18px 22px 14px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}
.dcard .dhead .n {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.dcard .dhead .t {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
}
.dcard .dbody {
  flex: 1;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}
.dcard .dfoot {
  padding: 14px 22px 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.dcard .dfoot h5 {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 16px;
  margin: 0;
  line-height: 1.4;
}
.dcard .dfoot .en {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  flex: none;
}

.dcard.w3 { grid-column: span 3; }
.dcard.w2 { grid-column: span 2; }
.dcard.w4 { grid-column: span 4; }

@media (max-width: 900px) {
  .deliv-intro { grid-template-columns: 1fr; gap: 28px; margin-bottom: 36px; }
  .deliv-gallery { grid-template-columns: 1fr; }
  .dcard.w2, .dcard.w3, .dcard.w4 { grid-column: span 1; }
}

/* —— Mini visualizations inside deliverable cards —— */

/* A. issue/goal compare (Problem → Goal) */
.viz-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  height: 100%;
}
.viz-compare .col {
  border: 1px dashed var(--line-strong);
  padding: 12px 12px 14px;
  position: relative;
}
.viz-compare .col h6 {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin: 0 0 10px;
}
.viz-compare .col ul { list-style: none; padding: 0; margin: 0; font-size: 11.5px; line-height: 1.55; }
.viz-compare .col li { padding: 4px 0; border-bottom: 1px dotted var(--line); color: #2a2a28; }
.viz-compare .col li:last-child { border-bottom: none; }
.viz-compare .arrow {
  position: absolute;
  top: 50%; right: -19px;
  transform: translateY(-50%);
  width: 22px; height: 1px;
  background: var(--text);
  z-index: 2;
}
.viz-compare .arrow::after {
  content: "";
  position: absolute;
  top: -3px; right: 0;
  width: 8px; height: 8px;
  border-top: 1px solid var(--text);
  border-right: 1px solid var(--text);
  transform: rotate(45deg);
}

/* B. positioning quadrant */
.viz-quad {
  position: relative;
  width: 100%; flex: 1; min-height: 180px;
  border: 1px solid var(--line);
}
.viz-quad::before, .viz-quad::after {
  content: "";
  position: absolute;
  background: var(--line-strong);
}
.viz-quad::before { top: 0; bottom: 0; left: 50%; width: 1px; }
.viz-quad::after { left: 0; right: 0; top: 50%; height: 1px; }
.viz-quad .ax {
  position: absolute;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
}
.viz-quad .ax-t { top: 6px; left: 50%; transform: translateX(-50%); }
.viz-quad .ax-b { bottom: 6px; left: 50%; transform: translateX(-50%); }
.viz-quad .ax-l { left: 6px; top: 50%; transform: translateY(-50%) rotate(-90deg); transform-origin: left top; }
.viz-quad .ax-r { right: 6px; top: 50%; transform: translateY(-50%) rotate(-90deg); }
.viz-quad .dot {
  position: absolute;
  font-size: 10.5px;
  color: var(--text);
  letter-spacing: 0.04em;
  white-space: nowrap;
  font-family: var(--font-en);
  font-weight: 700;
}
.viz-quad .dot::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--text);
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}
.viz-quad .dot.hl::before { background: #c95e3a; }

/* C. bar chart */
.viz-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex: 1;
  min-height: 140px;
  padding-top: 16px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.viz-bars .bar {
  flex: 1;
  background: var(--text);
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 4px;
  color: var(--bg);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
}
.viz-bars .bar.faint { background: rgba(17,17,17,0.18); color: var(--muted); }
.viz-bars .bar .y {
  position: absolute;
  top: -16px;
  left: 0; right: 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--text);
  letter-spacing: 0.04em;
}
.viz-bars-x {
  display: flex;
  gap: 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding-top: 6px;
}
.viz-bars-x span { flex: 1; text-align: center; }

/* D. phase ladder */
.viz-phase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  height: 100%;
}
.viz-phase .ph {
  border: 1px solid var(--line);
  padding: 12px 10px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.viz-phase .ph .lbl {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.viz-phase .ph h6 {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 13px;
  margin: 0;
  line-height: 1.3;
}
.viz-phase .ph ul { list-style: none; padding: 0; margin: 0; font-size: 10px; line-height: 1.55; color: #2a2a28; }
.viz-phase .ph li { padding: 2px 0; border-top: 1px dotted var(--line); }
.viz-phase .ph li:first-child { border-top: none; }
.viz-phase .ph::after {
  content: "→";
  font-family: var(--mono);
  font-size: 14px;
  color: var(--muted);
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: var(--card);
  padding: 0 2px;
}
.viz-phase .ph:last-child::after { display: none; }

/* E. KPI table */
.viz-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  flex: 1;
}
.viz-table th, .viz-table td {
  border-bottom: 1px solid var(--line);
  padding: 7px 8px;
  text-align: left;
  vertical-align: top;
  line-height: 1.45;
}
.viz-table th {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 400;
  background: var(--bg-2);
}
.viz-table td .key {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 12px;
  display: block;
  margin-bottom: 2px;
}
.viz-table tr:last-child td { border-bottom: none; }

/* F. funnel */
.viz-funnel {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  justify-content: center;
}
.viz-funnel .fr {
  display: grid;
  grid-template-columns: 110px 1fr 56px;
  gap: 10px;
  align-items: center;
  font-size: 11px;
}
.viz-funnel .fr .lbl {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.viz-funnel .fr .bar {
  height: 22px;
  background: var(--text);
  position: relative;
}
.viz-funnel .fr .v {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text);
  letter-spacing: 0.04em;
}
.viz-funnel .fr:nth-child(1) .bar { width: 100%; }
.viz-funnel .fr:nth-child(2) .bar { width: 76%; background: #2c2c28; }
.viz-funnel .fr:nth-child(3) .bar { width: 46%; background: #57534a; }
.viz-funnel .fr:nth-child(4) .bar { width: 22%; background: #c95e3a; }

/* —— I. importance-weighted matrix —— */
.viz-matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 10.5px;
  flex: 1;
}
.viz-matrix th, .viz-matrix td {
  border-bottom: 1px solid var(--line);
  padding: 8px 8px;
  text-align: left;
  vertical-align: top;
  line-height: 1.45;
}
.viz-matrix th {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
  background: var(--bg-2);
  font-weight: 400;
}
.viz-matrix .row-h {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 12.5px;
  display: block;
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}
.viz-matrix .sub {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.5;
}
.viz-matrix .imp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 12px;
  background: var(--bg-2);
  color: var(--text);
}
.viz-matrix .imp.hi { background: var(--text); color: var(--bg); }
.viz-matrix .imp.md { background: rgba(17,17,17,0.18); color: var(--text); }
.viz-matrix .bullet {
  position: relative;
  padding-left: 14px;
  display: block;
  margin: 3px 0;
}
.viz-matrix .bullet::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  background: var(--text);
  border-radius: 50%;
}

/* —— J. segment grid (Tier × income) —— */
.viz-segments {
  display: grid;
  grid-template-columns: 56px 56px 1fr;
  gap: 6px;
  flex: 1;
  font-size: 11px;
}
.viz-segments .h-cell {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
  padding: 8px 6px;
  border-bottom: 1px solid var(--line);
}
.viz-segments .tier {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.viz-segments .tier.t1 { background: #0e0e0c; color: #f0ede4; }
.viz-segments .tier.t2 { background: #4d4a42; color: #f0ede4; }
.viz-segments .inc {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.viz-segments .inc.hi { background: #d9d3c0; color: #2a2a28; }
.viz-segments .inc.md { background: #eee9da; color: #2a2a28; }
.viz-segments .body {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.65;
  color: #2a2a28;
}
.viz-segments .body em { font-style: normal; background: rgba(201,94,58,0.18); padding: 0 2px; }

/* —— K. version roadmap —— */
.viz-version {
  display: grid;
  grid-template-columns: 100px repeat(3, 1fr);
  grid-auto-rows: minmax(0, auto);
  border: 1px solid var(--line);
  font-size: 10.5px;
  flex: 1;
  background: #fff;
}
.viz-version > div {
  padding: 8px 10px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  line-height: 1.45;
}
.viz-version > div:nth-child(4n) { border-right: none; }
.viz-version .col-h {
  background: var(--bg-2);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
  padding: 10px;
}
.viz-version .col-h.v1 { background: #ddd6c4; color: #2a2a28; }
.viz-version .col-h.v2 { background: #c95e3a; color: #fff; }
.viz-version .col-h.v3 { background: #8a3a22; color: #fff; }
.viz-version .col-h .ver {
  font-family: var(--serif);
  font-size: 16px;
  display: block;
  letter-spacing: 0.02em;
  margin-top: 2px;
  text-transform: none;
}
.viz-version .row-h {
  background: var(--bg-2);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  align-self: stretch;
  display: flex;
  align-items: center;
}
.viz-version .cell em { font-style: normal; color: #c95e3a; }
.viz-sheet {
  width: 100%;
  border-collapse: collapse;
  font-size: 10.5px;
  flex: 1;
}
.viz-sheet th, .viz-sheet td {
  border: 1px solid var(--line);
  padding: 6px 8px;
  text-align: left;
  line-height: 1.4;
  background: #fff;
}
.viz-sheet th {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  background: var(--bg-2);
  font-weight: 400;
}
.viz-sheet .st {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  padding: 2px 6px;
  display: inline-block;
}
.viz-sheet .st.done { background: var(--text); color: var(--bg); }
.viz-sheet .st.wip { background: #c95e3a; color: #fff; }
.viz-sheet .st.tbd { background: var(--bg-2); color: var(--muted); border: 1px solid var(--line); }

/* —— What We Do activity columns —— */
.activities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 64px;
}
.actcol {
  padding: 36px 28px 28px;
  border-right: 1px solid var(--line);
}
.actcol:last-child { border-right: none; }
.actcol .h {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.actcol h4 {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 22px;
  line-height: 1.45;
}
.actcol ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.actcol li {
  position: relative;
  padding: 10px 0 10px 26px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.6;
  color: #2a2a28;
}
.actcol li:last-child { border-bottom: none; }
.actcol li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 18px;
  width: 12px;
  height: 1px;
  background: var(--text);
}
@media (max-width: 900px) {
  .activities { grid-template-columns: 1fr; }
  .actcol { border-right: none; border-bottom: 1px solid var(--line); }
  .actcol:last-child { border-bottom: none; }
}

/* ==== CASE STUDIES ==== */
.case-studies {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}
.cs {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 48px;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.cs-meta {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}
.cs-meta .cs-no {
  font-size: 12px;
  color: var(--text);
  letter-spacing: 0.18em;
}
.cs-meta dl { margin: 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
.cs-meta dt { color: var(--muted-2); margin: 0; font-size: 9px; letter-spacing: 0.22em; }
.cs-meta dd {
  margin: 4px 0 0;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text);
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.6;
}
.cs-body { display: grid; gap: 28px; }
.cs-tag {
  display: inline-flex;
  align-self: flex-start;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: -6px;
}
.cs-title {
  font-family: var(--font-ja);
  font-weight: 800;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.4;
  margin: 0;
  text-wrap: balance;
  letter-spacing: 0.005em;
}
.cs-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.cs-col h6 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin: 0 0 10px;
  font-weight: 400;
}
.cs-col p, .cs-col li {
  font-size: 13.5px;
  line-height: 1.8;
  color: #2a2a28;
  margin: 0;
}
.cs-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cs-col li {
  position: relative;
  padding-left: 16px;
}
.cs-col li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--muted);
}
.cs-stat {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 8px;
  border-top: 1px dotted var(--line);
  padding-top: 10px;
}
.cs-stat .v { font-family: var(--font-en); font-weight: 800; font-size: 22px; line-height: 1; }
.cs-stat .k { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: 0.16em; }

@media (max-width: 900px) {
  .cs { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
  .cs-cols { grid-template-columns: 1fr; gap: 22px; }
}

/* ==== TEAM ==== */
.team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.member {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 32px 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
}
.member:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 22px 50px -30px rgba(17,17,17,0.25);
}
.member-head {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: center;
}
.member-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ddd6c4;
  color: #2a2a28;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.05em;
  border: 1px solid var(--line);
  flex: none;
}
.member-id .role {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: none;
  margin-bottom: 6px;
}
.member-id h4 {
  margin: 0;
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: 0.02em;
}
.member-id .roma {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted-2);
  letter-spacing: 0.1em;
  margin-left: 6px;
  vertical-align: middle;
}
.member-bio {
  font-size: 13px;
  line-height: 1.95;
  color: #2a2a28;
  margin: 0;
}
.member-career {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.member-career .label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
}
.member-career .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.member-career .tag {
  font-size: 12px;
  letter-spacing: 0.02em;
  border: 1px solid var(--line-strong);
  padding: 5px 12px;
  border-radius: 4px;
  color: var(--text);
  background: #fff;
}

@media (max-width: 720px) {
  .team { grid-template-columns: 1fr; }
  .member { padding: 26px 22px 22px; }
}

/* ==== ABOUT eap company ==== */
.about-eap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-eap-left {
  position: sticky;
  top: 100px;
}
.about-eap-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(34px, 5.2vw, 60px);
  line-height: 1.25;
  letter-spacing: 0.005em;
  margin: 0 0 36px;
  color: var(--text);
  text-wrap: balance;
}
.about-eap-title .hl {
  background: linear-gradient(transparent 55%, #e6dfc6 55%);
  padding: 0 2px;
}
.about-eap-body p {
  font-size: 15px;
  line-height: 2;
  margin: 0 0 22px;
  color: #2a2a28;
}
.about-eap-body strong {
  font-weight: 700;
  color: var(--text);
}

.purpose-card {
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 44px 40px 40px;
}
.purpose-card .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
  display: block;
  margin-bottom: 22px;
}
.purpose-card h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.35;
  margin: 0 0 24px;
  letter-spacing: 0.01em;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}
.purpose-card p {
  font-size: 14px;
  line-height: 2;
  margin: 0 0 12px;
  color: #2a2a28;
}
.purpose-card p.close {
  font-weight: 700;
  color: var(--text);
  margin-top: 16px;
}

@media (max-width: 900px) {
  .about-eap { grid-template-columns: 1fr; gap: 36px; }
  .about-eap-left { position: static; }
  .purpose-card { padding: 32px 26px 28px; }
}

/* ==== MESSAGE from CEO ==== */
.message {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
}
.message-meta {
  position: sticky;
  top: 100px;
}
.message-meta .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}
.message-meta .label::before {
  content: "";
  width: 18px; height: 1px; background: var(--text);
}
.message-meta h2 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.45;
  margin: 0 0 28px;
  text-wrap: balance;
}
.message-meta .signer {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 14px;
}
.message-meta .signer .name {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  display: block;
  margin-bottom: 4px;
}
.message-meta .signer .sub {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.message-body p {
  font-size: 15px;
  line-height: 2.05;
  margin: 0 0 22px;
  color: #2a2a28;
}
.message-body p.lead {
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  margin-bottom: 28px;
  line-height: 1.85;
  text-wrap: balance;
}
.message-body strong {
  font-weight: 700;
  color: var(--text);
}
@media (max-width: 900px) {
  .message { grid-template-columns: 1fr; gap: 32px; }
  .message-meta { position: static; }
}

/* ==== CONTACT FORM ==== */
.contact-form {
  background: #f7f5ef;
  color: var(--text);
  padding: 56px 56px 52px;
  border: 1px solid rgba(240,237,228,0.18);
  margin-top: 72px;
}
.contact-form .form-head {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 40px;
}
.contact-form .form-head .lbl {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
}
.contact-form .form-head h3 {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.45;
  margin: 0;
  text-wrap: balance;
  letter-spacing: 0.01em;
}
.contact-form .form-head p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.cform {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
}
.cform .field { display: flex; flex-direction: column; gap: 8px; }
.cform .field.full { grid-column: 1 / -1; }
.cform label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.04em;
}
.cform label .req {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 0.14em;
  background: #c95e3a;
  color: #fff;
  padding: 2px 7px;
  border-radius: 2px;
  text-transform: uppercase;
}
.cform label .opt {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 0.14em;
  background: rgba(17,17,17,0.08);
  color: var(--muted);
  padding: 2px 7px;
  border-radius: 2px;
  text-transform: uppercase;
}
.cform input,
.cform select,
.cform textarea {
  font-family: var(--font-ja), var(--font-en), sans-serif;
  font-size: 15px;
  line-height: 1.6;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--text);
  letter-spacing: 0.02em;
  width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.cform textarea {
  resize: vertical;
  min-height: 140px;
}
.cform input:focus,
.cform select:focus,
.cform textarea:focus {
  outline: none;
  border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(17,17,17,0.06);
}
.cform .help {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.cform .consent {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text);
  padding: 16px 18px;
  background: rgba(17,17,17,0.04);
  border: 1px solid var(--line);
}
.cform .consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; }
.cform .consent a { text-decoration: underline; }

.cform .submit-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.cform .submit-row .note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.cform .submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 36px;
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  background: var(--text);
  color: var(--bg);
  border: 1px solid var(--text);
  border-radius: 999px;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease;
  position: relative;
  overflow: hidden;
}
.cform .submit-btn:hover { transform: translateY(-2px); background: #2a2a28; }
.cform .submit-btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }
.cform .submit-btn .arrow { font-family: var(--font-en); }

.cform .done-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 56px 24px;
  background: #fff;
  border: 1px solid var(--line);
}
.cform .done-state .icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 16px;
}
.cform .done-state h4 {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 8px;
}
.cform .done-state p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
  margin: 0;
}

.cform .err {
  border-color: #c95e3a !important;
}
.cform .err-msg {
  font-size: 11px;
  color: #c95e3a;
  font-weight: 700;
}

@media (max-width: 720px) {
  .contact-form { padding: 32px 22px 32px; margin-top: 48px; }
  .contact-form .form-head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 28px; }
  .cform { grid-template-columns: 1fr; gap: 18px; }
  .cform .submit-row { flex-direction: column; align-items: stretch; }
  .cform .submit-btn { justify-content: center; }
}
.pricing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 44px 44px 40px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: start;
  position: relative;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.price-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 22px 50px -30px rgba(17,17,17,0.25);
}
.price-card.feat {
  background: #0e0e0c;
  color: #f0ede4;
  border-color: #0e0e0c;
}
.price-card.feat .price-label { color: rgba(240,237,228,0.55); }
.price-card.feat .price-value { color: #f0ede4; }
.price-card.feat .price-unit, .price-card.feat .price-from { color: rgba(240,237,228,0.7); }
.price-card.feat .price-note { color: rgba(240,237,228,0.6); border-color: rgba(240,237,228,0.18); }
.price-card.feat .price-bullets li { color: rgba(240,237,228,0.85); border-color: rgba(240,237,228,0.16); }
.price-card.feat .price-bullets li::before { background: #f0ede4; }
.price-card.feat .price-bullets h6 { color: rgba(240,237,228,0.55); }

.price-label {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}
.price-headline {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.5;
  margin: 0 0 22px;
  text-wrap: balance;
}
.price-amount {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.price-from {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.price-card.feat .price-from { color: rgba(240,237,228,0.7); }
.price-value {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(40px, 4.2vw, 52px);
  line-height: 1;
  letter-spacing: -0.01em;
}
.price-unit {
  font-family: var(--font-ja);
  font-weight: 500;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.price-card.feat .price-unit { color: rgba(240,237,228,0.7); }
.price-note {
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin: 0;
}

.price-bullets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 36px;
}
.price-bullets h6 {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
  margin: 0 0 14px;
  font-weight: 400;
}
.price-bullets ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.price-bullets li {
  position: relative;
  padding: 8px 0 8px 18px;
  font-size: 13px;
  line-height: 1.65;
  color: #2a2a28;
  border-bottom: 1px solid var(--line);
}
.price-bullets li:last-child { border-bottom: none; }
.price-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 1px;
  background: var(--text);
}

.price-small {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.price-mini {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.price-mini h5 {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 18px;
  margin: 0;
  line-height: 1.4;
}
.price-mini .price-amount { margin-bottom: 4px; }
.price-mini .price-value { font-size: 32px; }
.price-mini p {
  font-size: 13px;
  line-height: 1.8;
  color: #2a2a28;
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

@media (max-width: 900px) {
  .price-card { grid-template-columns: 1fr; padding: 32px 26px 28px; gap: 28px; }
  .price-bullets { grid-template-columns: 1fr; gap: 22px; }
  .price-value { font-size: 44px !important; }
  .price-small { grid-template-columns: 1fr; }
}

/* ==== WHY ==== */
.why {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.why-col {
  padding: 48px 28px 36px;
  border-right: 1px solid var(--line);
}
.why-col:last-child { border-right: none; }
.why-col .no {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  margin-bottom: 22px;
  color: var(--text);
  letter-spacing: -0.02em;
}
.why-col h4 {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 16px;
  line-height: 1.45;
  text-wrap: balance;
}
.why-col p {
  font-size: 14px;
  line-height: 1.95;
  color: #2a2a28;
  margin: 0;
}
@media (max-width: 900px) {
  .why { grid-template-columns: 1fr; }
  .why-col { border-right: none; border-bottom: 1px solid var(--line); }
  .why-col:last-child { border-bottom: none; }
}

/* ==== USE CASES ==== */
.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.case {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 32px 28px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 220px;
}
.case:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 40px -28px rgba(17,17,17,0.25);
}
.case .tag {
  display: inline-flex;
  align-self: flex-start;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius: 999px;
}
.case h4 {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 20px;
  margin: 0;
  line-height: 1.45;
}
.case p {
  font-size: 14px;
  line-height: 1.9;
  color: #2a2a28;
  margin: 0;
}
.case.wide { grid-column: span 2; }
@media (max-width: 900px) {
  .cases { grid-template-columns: 1fr; }
  .case.wide { grid-column: span 1; }
}

/* ==== CONTACT ==== */
.contact {
  background: #0e0e0c;
  color: #f0ede4;
  border-top: none;
  padding: 160px 0;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 4px 4px;
  pointer-events: none;
}
.contact .sec-no { color: rgba(240,237,228,0.55); }
.contact .sec-no .num { color: #f0ede4; }
.contact .sec-no .rule { background: #f0ede4; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
}
.contact-title {
  font-family: var(--font-ja);
  font-weight: 800;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.3;
  margin: 0 0 28px;
  letter-spacing: 0.005em;
}
.contact-body p {
  color: rgba(240,237,228,0.78);
  line-height: 2.05;
  font-size: 15px;
  margin: 0 0 14px;
}
.contact .btn {
  background: #f0ede4;
  color: #0e0e0c;
  border-color: #f0ede4;
  padding: 22px 30px;
  font-size: 15px;
}
.contact .btn:hover { background: #fff; border-color: #fff; }
.contact .btn.ghost {
  background: transparent;
  color: #f0ede4;
  border-color: rgba(240,237,228,0.5);
}
.contact .btn.ghost:hover { background: #f0ede4; color: #0e0e0c; border-color: #f0ede4; }
.contact-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.contact-meta {
  margin-top: 80px;
  padding-top: 28px;
  border-top: 1px solid rgba(240,237,228,0.18);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(240,237,228,0.55);
  text-transform: uppercase;
}
.contact-meta .k { color: rgba(240,237,228,0.55); display: block; margin-bottom: 6px; }
.contact-meta .v { color: #f0ede4; font-family: var(--sans); font-size: 14px; letter-spacing: 0.02em; text-transform: none; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-meta { grid-template-columns: 1fr 1fr; }
}

/* ==== FOOTER ==== */
footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}
.foot-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* ==== reveal helpers ==== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(4px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1), filter .9s ease;
}
.reveal.in-view, .in-view .reveal { opacity: 1; transform: translateY(0); filter: blur(0); }

.fade-stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}
.in-view.fade-stagger > * { opacity: 1; transform: translateY(0); }
.in-view.fade-stagger > *:nth-child(1) { transition-delay: .05s; }
.in-view.fade-stagger > *:nth-child(2) { transition-delay: .12s; }
.in-view.fade-stagger > *:nth-child(3) { transition-delay: .19s; }
.in-view.fade-stagger > *:nth-child(4) { transition-delay: .26s; }
.in-view.fade-stagger > *:nth-child(5) { transition-delay: .33s; }
.in-view.fade-stagger > *:nth-child(6) { transition-delay: .40s; }
.in-view.fade-stagger > *:nth-child(7) { transition-delay: .47s; }
.in-view.fade-stagger > *:nth-child(8) { transition-delay: .54s; }
