:root {
  --paper: #f6f6f3;
  --surface: #ffffff;
  --surface-soft: #efefeb;
  --ink: #171717;
  --ink-soft: #414141;
  --muted: #6b6b68;
  --faint: #6f6f6b;
  --line: #deded8;
  --line-dark: #c8c8c1;
  --accent: #0f5c54;
  --accent-soft: #e7f1ef;
  --dark-surface: #363d3a;
  --dark-muted: #c1c8c5;
  --success: #287a57;
  --shell: 1200px;
  --gutter: 32px;
  --radius: 6px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --font: "Inter", "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

::selection {
  background: var(--accent);
  color: #fff;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
  transition: transform 180ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(100% - (var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 88%, transparent);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  width: fit-content;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-logo {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 0;
}

.brand-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.brand-en {
  color: var(--faint);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.2;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.nav-link {
  position: relative;
  padding-block: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 180ms var(--ease);
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--ink);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms var(--ease);
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link[aria-current="page"] {
  color: var(--ink);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 180ms var(--ease),
    border-color 180ms var(--ease),
    color 180ms var(--ease),
    transform 180ms var(--ease);
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--ink);
  color: #fff;
}

.button-primary:hover {
  background: #303030;
}

.button-accent {
  background: var(--accent);
  color: #fff;
}

.button-accent:hover {
  background: #0b4943;
}

.button-secondary {
  border-color: var(--line-dark);
  background: transparent;
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--ink);
  background: var(--surface);
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  transition:
    border-color 180ms var(--ease),
    color 180ms var(--ease);
}

.text-link:hover,
.text-link:focus-visible {
  border-color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle-lines {
  position: relative;
  width: 18px;
  height: 12px;
}

.menu-toggle-lines::before,
.menu-toggle-lines::after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  content: "";
  transition:
    top 180ms var(--ease),
    transform 180ms var(--ease);
}

.menu-toggle-lines::before {
  top: 2px;
}

.menu-toggle-lines::after {
  top: 9px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before {
  top: 6px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after {
  top: 6px;
  transform: rotate(-45deg);
}

.mobile-nav {
  display: none;
}

.hero {
  padding: 86px 0 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.8fr);
  gap: 72px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 22px;
  height: 1px;
  background: currentColor;
  content: "";
}

.hero h1 {
  max-width: 700px;
  margin-top: 24px;
  font-size: clamp(46px, 6vw, 76px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.06;
}

.hero h1 span {
  color: var(--muted);
  font-weight: 400;
}

.hero-lead {
  max-width: 630px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 620px;
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.proof-item {
  display: grid;
  gap: 4px;
}

.proof-value {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.proof-label {
  color: var(--faint);
  font-size: 12px;
}

.hero-system {
  position: relative;
  overflow: hidden;
  min-height: 510px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.hero-system::after {
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 260px;
  height: 260px;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
}

.system-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.window-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.window-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
}

.system-status {
  color: var(--faint);
  font-size: 11px;
}

.system-summary {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  padding: 28px 0 24px;
}

.summary-label {
  color: var(--faint);
  font-size: 12px;
}

.summary-value {
  margin-top: 8px;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
}

.summary-note {
  margin-top: 10px;
  color: var(--success);
  font-size: 12px;
  font-weight: 600;
}

.summary-note span {
  margin-left: 5px;
  color: var(--faint);
  font-weight: 400;
}

.summary-bars {
  display: grid;
  align-content: end;
  gap: 9px;
  padding-bottom: 5px;
}

.bar-line {
  display: grid;
  grid-template-columns: 62px 1fr 36px;
  gap: 10px;
  align-items: center;
  color: var(--faint);
  font-size: 10px;
}

.bar-track {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-soft);
}

.bar-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.bar-line:nth-child(2) .bar-fill {
  opacity: 0.72;
}

.bar-line:nth-child(3) .bar-fill {
  opacity: 0.46;
}

.system-modules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.system-module {
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfbf9;
}

.module-index {
  color: var(--faint);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.module-name {
  margin-top: 18px;
  font-size: 13px;
  font-weight: 600;
}

.module-meta {
  margin-top: 5px;
  color: var(--faint);
  font-size: 11px;
}

.system-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 11px;
}

.system-footer strong {
  color: var(--ink);
  font-weight: 600;
}

.section {
  padding: 112px 0;
}

.section-surface {
  background: var(--surface);
}

.section-dark {
  background: var(--dark-surface);
  color: #fff;
}

.section-dark .eyebrow {
  color: #9bd1c9;
}

.section-dark .section-intro p {
  color: var(--dark-muted);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 54px;
}

.section-intro h2 {
  max-width: 720px;
  margin-top: 18px;
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.13;
}

.section-intro p {
  max-width: 500px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.service-list {
  border-top: 1px solid var(--line-dark);
}

.service-item {
  display: grid;
  grid-template-columns: 72px minmax(190px, 0.8fr) minmax(260px, 1fr) minmax(280px, 1.2fr);
  gap: 30px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.service-number {
  color: var(--faint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.service-item h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.service-item p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.service-tags span {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1;
}

.work-list {
  border-top: 1px solid var(--line-dark);
}

.work-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1.15fr) minmax(220px, 0.55fr) 28px;
  gap: 34px;
  align-items: center;
  min-height: 190px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  transition:
    padding 220ms var(--ease),
    border-color 220ms var(--ease),
    background-color 220ms var(--ease);
}

.work-item:hover {
  padding-inline: 16px;
  border-color: var(--line-dark);
  background: var(--surface);
}

.work-index {
  color: var(--faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.work-main h3 {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.work-main p {
  max-width: 600px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.work-tags span {
  color: var(--faint);
  font-size: 11px;
}

.work-tags span + span::before {
  margin-right: 7px;
  color: var(--line-dark);
  content: "/";
}

.work-metric strong {
  display: block;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.work-metric span {
  display: block;
  margin-top: 7px;
  color: var(--faint);
  font-size: 12px;
}

.work-arrow {
  color: var(--faint);
  font-size: 20px;
  transition:
    color 180ms var(--ease),
    transform 180ms var(--ease);
}

.work-item:hover .work-arrow {
  color: var(--accent);
  transform: translate(3px, -3px);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.process-step {
  min-height: 240px;
  padding: 28px 28px 28px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.process-step + .process-step {
  padding-left: 28px;
}

.process-step:last-child {
  border-right: 0;
}

.process-number {
  color: #aeb7b3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.process-step h3 {
  margin-top: 48px;
  font-size: 19px;
  font-weight: 600;
}

.process-step p {
  margin-top: 12px;
  color: var(--dark-muted);
  font-size: 13px;
  line-height: 1.75;
}

.statement {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 80px;
  align-items: start;
}

.statement blockquote {
  max-width: 760px;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.26;
}

.statement blockquote span {
  color: #9c9c97;
}

.statement-detail {
  padding-top: 8px;
}

.statement-detail > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.statement-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.statement-stat strong {
  display: block;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.statement-stat span {
  display: block;
  margin-top: 4px;
  color: var(--faint);
  font-size: 11px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 72px;
  align-items: end;
}

.contact-panel h2 {
  max-width: 720px;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.contact-panel h2 span {
  display: block;
  color: var(--muted);
  font-weight: 400;
}

.contact-panel > div > p {
  max-width: 620px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.contact-actions {
  display: grid;
  gap: 12px;
  align-content: end;
}

.contact-line {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px;
  border-bottom: 1px solid var(--line-dark);
  font-size: 14px;
  transition:
    border-color 180ms var(--ease),
    color 180ms var(--ease);
}

.contact-line:hover,
.contact-line:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.contact-line span {
  color: var(--faint);
  font-size: 12px;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 90;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(23, 23, 23, 0.1);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 180ms var(--ease),
    transform 180ms var(--ease),
    border-color 180ms var(--ease),
    background-color 180ms var(--ease),
    color 180ms var(--ease);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.site-footer {
  padding: 30px 0 36px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--faint);
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  transition: color 180ms var(--ease);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--ink);
}

.page-hero {
  padding: 76px 0 72px;
  border-bottom: 1px solid var(--line);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.55fr);
  gap: 72px;
  align-items: end;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--faint);
  font-size: 12px;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--ink);
}

.page-hero h1 {
  max-width: 820px;
  margin-top: 20px;
  font-size: clamp(42px, 6vw, 70px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.06;
}

.page-hero h1 span {
  color: var(--muted);
  font-weight: 400;
}

.page-hero-lead {
  max-width: 720px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.page-hero-meta {
  border-top: 1px solid var(--line-dark);
}

.page-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.page-meta-row strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.page-section {
  padding: 96px 0;
}

.page-section.surface {
  background: var(--surface);
}

.page-section.compact {
  padding: 72px 0;
}

.detail-block {
  padding: 58px 0;
  border-top: 1px solid var(--line-dark);
}

.detail-block:last-child {
  border-bottom: 1px solid var(--line-dark);
}

.detail-header {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(260px, 0.55fr);
  gap: 30px;
  align-items: start;
}

.detail-number {
  padding-top: 4px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.detail-header h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.detail-summary {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.detail-body {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(260px, 0.55fr);
  gap: 30px;
  margin-top: 32px;
}

.detail-copy {
  grid-column: 2 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 42px;
  align-items: start;
}

.detail-copy > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
}

.detail-list li {
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 13px;
}

.detail-list li::before {
  margin-right: 8px;
  color: var(--accent);
  content: "—";
}

.detail-actions,
.page-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.detail-actions {
  grid-column: 2 / -1;
}

.comparison-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.comparison-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  text-align: left;
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.comparison-table th {
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.comparison-table td:first-child {
  color: var(--ink);
  font-weight: 600;
}

.case-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
}

.filter-button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 180ms var(--ease),
    border-color 180ms var(--ease),
    color 180ms var(--ease);
}

.filter-button:hover,
.filter-button:focus-visible {
  border-color: var(--ink);
  color: var(--ink);
}

.filter-button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.case-entry {
  padding: 52px 0;
  border-top: 1px solid var(--line-dark);
}

.case-entry:last-child {
  border-bottom: 1px solid var(--line-dark);
}

.case-entry[hidden] {
  display: none;
}

.case-entry-head {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 32px;
  align-items: start;
}

.case-entry-index {
  color: var(--faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.case-entry h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.case-entry-lead {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.case-entry-body {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 32px;
  margin-top: 32px;
}

.case-entry-content {
  grid-column: 2 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 42px;
}

.case-stats-line {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.case-stat strong {
  display: block;
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: -0.05em;
  line-height: 1;
}

.case-stat span {
  display: block;
  margin-top: 7px;
  color: var(--faint);
  font-size: 11px;
}

.case-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
}

.case-feature-list li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
}

.case-feature-list li::before {
  margin-right: 8px;
  color: var(--accent);
  content: "—";
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.band-stat {
  min-height: 150px;
  padding: 28px 24px 26px 0;
  border-right: 1px solid var(--line);
}

.band-stat + .band-stat {
  padding-left: 24px;
}

.band-stat:last-child {
  border-right: 0;
}

.band-stat strong {
  display: block;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.055em;
  line-height: 1;
}

.band-stat span {
  display: block;
  margin-top: 12px;
  color: var(--faint);
  font-size: 12px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.testimonial {
  min-height: 260px;
  padding: 28px;
  background: var(--surface);
}

.testimonial blockquote {
  font-size: 16px;
  line-height: 1.8;
}

.testimonial footer {
  margin-top: 32px;
  color: var(--faint);
  font-size: 12px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.value-item {
  min-height: 220px;
  padding: 28px;
  background: var(--surface);
}

.value-item span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.value-item h3 {
  margin-top: 42px;
  font-size: 20px;
  font-weight: 600;
}

.value-item p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.timeline-list {
  border-top: 1px solid var(--line-dark);
}

.timeline-row {
  display: grid;
  grid-template-columns: 100px minmax(180px, 0.55fr) minmax(0, 1fr);
  gap: 30px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-year {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.timeline-row h3 {
  font-size: 18px;
  font-weight: 600;
}

.timeline-row p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.team-member {
  min-height: 220px;
  padding: 28px 24px 28px 0;
  border-right: 1px solid var(--line);
}

.team-member + .team-member {
  padding-left: 24px;
}

.team-member:last-child {
  border-right: 0;
}

.team-initial {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
}

.team-member h3 {
  margin-top: 42px;
  font-size: 17px;
  font-weight: 600;
}

.team-member span {
  display: block;
  margin-top: 5px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.team-member p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.article-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: 0;
  border: 1px solid var(--line);
  background: var(--surface);
}

.article-feature-visual {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    var(--surface-soft);
  background-size: 32px 32px;
}

.article-feature-visual::after {
  position: absolute;
  right: 32px;
  bottom: 32px;
  width: 140px;
  height: 140px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  content: "";
}

.article-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 42px;
}

.article-category {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.article-feature h2 {
  max-width: 700px;
  margin-top: 22px;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.16;
}

.article-feature p {
  max-width: 620px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 38px;
  color: var(--faint);
  font-size: 11px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
}

.article-card {
  min-height: 300px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: background-color 180ms var(--ease);
}

.article-card:nth-child(3n) {
  border-right: 0;
}

.article-card:hover,
.article-card:focus-visible {
  background: var(--surface);
}

.article-card h3 {
  margin-top: 22px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.4;
}

.article-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.subscribe-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: 48px;
  align-items: end;
}

.subscribe-band h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.045em;
}

.subscribe-band p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.subscribe-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.subscribe-form input {
  min-width: 0;
  height: 48px;
  padding: 0 15px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 64px;
  align-items: start;
}

.contact-details {
  border-top: 1px solid var(--line-dark);
}

.contact-detail {
  display: grid;
  gap: 7px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.contact-detail span {
  color: var(--faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.contact-detail a,
.contact-detail strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.contact-detail p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.contact-form {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.contact-form h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.contact-form > p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.field label {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
}

.field label b {
  color: var(--accent);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  transition:
    border-color 180ms var(--ease),
    background-color 180ms var(--ease);
}

.field input,
.field select {
  height: 48px;
  padding: 0 14px;
}

.field textarea {
  min-height: 130px;
  padding: 13px 14px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  outline: none;
  background: var(--surface);
}

.form-status {
  display: none;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
}

.faq-list {
  border-top: 1px solid var(--line-dark);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  color: var(--faint);
  content: "+";
  font-size: 20px;
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  max-width: 800px;
  padding: 0 44px 24px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.article-shell {
  max-width: 900px;
}

.article-body {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.95;
}

.article-body h2 {
  margin: 48px 0 18px;
  color: var(--ink);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.article-body p + p {
  margin-top: 18px;
}

.article-body ul {
  display: grid;
  gap: 10px;
  margin: 20px 0;
  padding-left: 20px;
}

.article-body li::marker {
  color: var(--accent);
}

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 360ms var(--ease),
    transform 360ms var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-system {
    min-height: auto;
  }

  .service-item {
    grid-template-columns: 56px minmax(180px, 0.8fr) minmax(0, 1fr);
  }

  .service-tags {
    grid-column: 2 / -1;
    justify-content: flex-start;
  }

  .work-item {
    grid-template-columns: 72px minmax(0, 1fr) 180px 24px;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-step:nth-child(2) {
    border-right: 0;
  }

  .process-step:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .process-step:nth-child(3) {
    padding-left: 0;
  }

  .statement,
  .contact-panel {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .page-hero-meta {
    max-width: 760px;
  }

  .detail-header {
    grid-template-columns: 56px minmax(0, 1fr) minmax(220px, 0.6fr);
  }

  .detail-body {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .detail-copy {
    grid-column: 2;
    grid-template-columns: 1fr;
  }

  .detail-actions {
    grid-column: 2;
  }

  .case-entry-head,
  .case-entry-body {
    grid-template-columns: 56px minmax(0, 1fr) minmax(220px, 0.6fr);
  }

  .case-entry-content {
    grid-template-columns: 1fr;
  }

  .stats-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .band-stat:nth-child(2) {
    border-right: 0;
  }

  .band-stat:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .testimonial-grid,
  .value-grid,
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-card:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .article-card:nth-child(2n) {
    border-right: 0;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-member:nth-child(2) {
    border-right: 0;
  }

  .team-member:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .contact-grid,
  .subscribe-band {
    grid-template-columns: 1fr;
  }

  .article-feature {
    grid-template-columns: 1fr;
  }

  .article-feature-visual {
    min-height: 280px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 860px) {
  :root {
    --gutter: 22px;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    min-height: 66px;
  }

  .desktop-nav,
  .header-actions .button {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .mobile-nav {
    position: fixed;
    inset: 66px 0 0;
    z-index: 98;
    overflow-y: auto;
    padding: 30px 22px 44px;
    background: var(--paper);
  }

  .mobile-nav.is-open {
    display: grid;
    align-content: start;
  }

  .mobile-nav-links {
    display: grid;
    border-top: 1px solid var(--line-dark);
  }

  .mobile-nav-link {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 18px;
    font-weight: 500;
  }

  .mobile-nav-link span {
    color: var(--faint);
    font-size: 12px;
  }

  .mobile-nav-cta {
    width: 100%;
    margin-top: 30px;
  }

  .hero {
    padding: 64px 0 76px;
  }

  .section {
    padding: 84px 0;
  }

  .section-intro {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 38px;
  }

  .service-item {
    grid-template-columns: 44px 1fr;
    gap: 18px;
  }

  .service-item p,
  .service-tags {
    grid-column: 2;
  }

  .work-item {
    grid-template-columns: 48px 1fr 20px;
    gap: 18px;
    min-height: 0;
  }

  .work-metric {
    grid-column: 2;
  }

  .work-arrow {
    grid-column: 3;
    grid-row: 1;
  }

  .page-hero {
    padding: 58px 0 56px;
  }

  .page-section {
    padding: 76px 0;
  }

  .detail-header,
  .detail-body,
  .case-entry-head,
  .case-entry-body {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .detail-copy,
  .case-entry-content {
    grid-column: 1;
  }

  .detail-actions {
    grid-column: 1;
  }

  .case-entry {
    padding: 40px 0;
  }

  .timeline-row {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 20px;
  }

  .timeline-row p {
    grid-column: 2;
  }

  .article-feature-copy {
    padding: 30px;
  }
}

@media (max-width: 600px) {
  :root {
    --gutter: 18px;
  }

  body {
    font-size: 15px;
  }

  .brand-en {
    display: none;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
  }

  .hero {
    padding-top: 50px;
  }

  .hero h1 {
    margin-top: 18px;
    font-size: clamp(40px, 12vw, 56px);
    letter-spacing: -0.05em;
  }

  .hero-lead {
    margin-top: 22px;
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .hero-actions .button,
  .hero-actions .text-link {
    width: 100%;
  }

  .hero-actions .text-link {
    justify-content: space-between;
    padding: 0 2px;
  }

  .proof-row {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 42px;
  }

  .proof-item {
    grid-template-columns: 80px 1fr;
    align-items: baseline;
  }

  .hero-system {
    padding: 18px;
  }

  .system-summary {
    grid-template-columns: 1fr;
  }

  .system-modules {
    grid-template-columns: 1fr;
  }

  .system-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .section-intro h2 {
    font-size: clamp(32px, 10vw, 42px);
  }

  .service-item h3 {
    font-size: 18px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-step,
  .process-step + .process-step {
    min-height: 0;
    padding: 24px 0;
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .process-step:first-child {
    border-top: 0;
  }

  .process-step h3 {
    margin-top: 24px;
  }

  .statement-stats {
    grid-template-columns: 1fr 1fr;
  }

  .contact-panel h2 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .page-hero h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .page-hero-lead {
    font-size: 16px;
  }

  .detail-list,
  .case-feature-list,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .stats-band,
  .testimonial-grid,
  .value-grid,
  .article-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .band-stat,
  .team-member,
  .article-card {
    min-height: 0;
    padding: 24px 0;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .band-stat:first-child,
  .team-member:first-child,
  .article-card:first-child {
    border-top: 0;
  }

  .testimonial {
    min-height: 0;
  }

  .timeline-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .timeline-row p {
    grid-column: 1;
    margin-top: 8px;
  }

  .contact-form {
    padding: 24px 18px;
  }

  .subscribe-form {
    grid-template-columns: 1fr;
  }

  .back-to-top {
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    width: 46px;
    height: 46px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
