@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&family=IBM+Plex+Sans:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700;800&family=Noto+Sans+Mono+JP:wght@300;400;500;600;700&display=swap');

:root {
  --bg-canvas: #F5F4F0;
  --bg-card: #FAFAF6;
  --ink-graphite: #1A1C20;
  --ink-soft: #4A4F58;
  --ink-faint: #2A3050;
  --safety-orange: #FF6B1F;
  --safety-orange-deep: #E5570C;
  --hydro-kobalt: #1F4B8C;
  --hydro-kobalt-deep: #0F1F38;
  --brass-warm: #B8956A;
  --divider: #DCDFE2;
  --grid-line: rgba(26, 28, 32, 0.06);
  --grid-line-strong: rgba(26, 28, 32, 0.16);
  --border-thin: rgba(26, 28, 32, 0.32);
  --border-soft: rgba(26, 28, 32, 0.16);
  --tape-shadow: rgba(26, 28, 32, 0.16);
  --tape-deep: rgba(26, 28, 32, 0.08);
  --font-mono: 'IBM Plex Mono', 'JetBrains Mono', 'Noto Sans Mono JP', monospace;
  --font-jp: 'Noto Sans Mono JP', 'IBM Plex Mono', monospace;
  --font-sans: 'IBM Plex Sans', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--ink-graphite);
  font-size: 16px;
  line-height: 1.6;
  position: relative;
  background-image:
    linear-gradient(var(--grid-line) 0.5px, transparent 0.5px),
    linear-gradient(90deg, var(--grid-line) 0.5px, transparent 0.5px);
  background-size: 32px 32px, 32px 32px;
}

strong, p, h1, h2, h3, h4, h5, h6, span, a, li, dt, dd, label, button {
  color: inherit;
}

.mono { font-family: var(--font-mono); }
.jp { font-family: var(--font-jp); }
.sans { font-family: var(--font-sans); }

.ink-graphite { color: var(--ink-graphite); }
.ink-soft { color: var(--ink-soft); }
.safety-text { color: var(--safety-orange); }
.kobalt-text { color: var(--hydro-kobalt); }
.brass-text { color: var(--brass-warm); }

.tech-shell {
  position: relative;
  isolation: isolate;
  background-color: var(--bg-canvas);
  background-image:
    linear-gradient(var(--grid-line) 0.5px, transparent 0.5px),
    linear-gradient(90deg, var(--grid-line) 0.5px, transparent 0.5px);
  background-size: 32px 32px;
}

.tech-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(31, 75, 140, 0.32) 0, transparent 2px),
    radial-gradient(circle at 28% 64%, rgba(31, 75, 140, 0.28) 0, transparent 2px),
    radial-gradient(circle at 46% 12%, rgba(31, 75, 140, 0.36) 0, transparent 2px),
    radial-gradient(circle at 62% 78%, rgba(31, 75, 140, 0.24) 0, transparent 2px),
    radial-gradient(circle at 78% 32%, rgba(31, 75, 140, 0.30) 0, transparent 2px),
    radial-gradient(circle at 88% 88%, rgba(31, 75, 140, 0.28) 0, transparent 2px),
    radial-gradient(circle at 18% 92%, rgba(31, 75, 140, 0.26) 0, transparent 2px),
    radial-gradient(circle at 54% 46%, rgba(31, 75, 140, 0.32) 0, transparent 2px);
  z-index: 0;
  animation: driftDots 38s ease-in-out infinite alternate;
}

@keyframes driftDots {
  0% { transform: translate(0, 0); opacity: 0.95; }
  50% { transform: translate(8px, -10px); opacity: 0.6; }
  100% { transform: translate(-6px, 12px); opacity: 0.95; }
}

.tech-shell > * {
  position: relative;
  z-index: 1;
}

.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(245, 244, 240, 0.94);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border-thin);
  height: 88px;
  background-image:
    linear-gradient(rgba(26, 28, 32, 0.04) 0.5px, transparent 0.5px),
    linear-gradient(90deg, rgba(26, 28, 32, 0.04) 0.5px, transparent 0.5px);
  background-size: 16px 16px;
}

.masthead-inner {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 24px;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 0;
  flex-shrink: 0;
}

.brand-mark {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-domain {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-graphite);
  letter-spacing: -0.02em;
  font-variation-settings: "wdth" 130;
}

.brand-jp {
  font-family: var(--font-jp);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(26, 28, 32, 0.7);
  margin-top: 2px;
}

.brand-jp .accent-kobalt { color: var(--hydro-kobalt); }

.passport-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 4px;
  background-color: rgba(31, 75, 140, 0.08);
  border: 1px solid rgba(31, 75, 140, 0.4);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  color: var(--ink-graphite);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-left: 32px;
  white-space: nowrap;
}

.passport-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--safety-orange);
  animation: pulseDot 1.6s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.nav-rail {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
  margin-right: 24px;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-graphite);
  text-decoration: none;
  padding: 6px 12px;
  position: relative;
  transition: color 220ms cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.nav-link:hover { color: var(--safety-orange); }

.nav-link::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -2px;
  height: 2px;
  background-color: var(--hydro-kobalt);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
  background-image:
    linear-gradient(90deg, var(--hydro-kobalt) 0%, var(--hydro-kobalt) 95%, transparent 95%, transparent 100%);
  background-size: 8px 2px;
  background-repeat: repeat-x;
}

.nav-link:hover::after { transform: scaleX(1); }

.nav-link.active {
  color: var(--safety-orange);
}

.nav-link.active::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--safety-orange);
}

.nav-divider {
  width: 1px;
  height: 12px;
  background-color: rgba(26, 28, 32, 0.24);
}

.side-counter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 56px;
  border-radius: 4px;
  background-color: rgba(31, 75, 140, 0.08);
  border: 1px solid rgba(31, 75, 140, 0.4);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  color: var(--ink-graphite);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-align: center;
  line-height: 1.3;
  padding: 4px 0;
}

.burger-btn {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 10px;
  margin-left: auto;
}

.burger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--ink-graphite);
  margin: 5px 0;
  border-radius: 1px;
  transition: transform 240ms ease;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background-color: var(--bg-canvas);
  z-index: 100;
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  transition: clip-path 520ms cubic-bezier(0.65, 0, 0.35, 1);
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
}

.mobile-menu.open {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-soft);
}

.close-btn {
  margin-left: auto;
  background: none;
  border: 1px solid var(--border-soft);
  width: 44px;
  height: 44px;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-title {
  font-family: var(--font-mono);
  font-size: clamp(32px, 10vw, 56px);
  font-weight: 700;
  color: var(--ink-graphite);
  font-variation-settings: "wdth" 130;
  line-height: 1;
  margin: 32px 0 24px;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-list a {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ink-graphite);
  font-variation-settings: "wdth" 110;
  text-decoration: none;
  display: block;
  padding: 8px 0;
  line-height: 1.2;
  border-bottom: 1px dashed var(--border-soft);
}

.hero-stage {
  position: relative;
  padding: 48px 24px 96px;
  max-width: 1440px;
  margin: 0 auto;
  min-height: 100vh;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 8px;
  position: relative;
  z-index: 3;
}

.hero-tile {
  position: relative;
  background-color: var(--bg-card);
  border: 1.5px solid var(--border-thin);
  box-shadow: 4px 8px 0 0 var(--tape-shadow);
  overflow: hidden;
  transition: all 320ms cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}

.hero-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) saturate(1.05);
}

.hero-tile .tile-spec {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-graphite);
  background-color: rgba(245, 244, 240, 0.94);
  padding: 4px 8px;
  border-radius: 2px;
  border: 1px solid var(--border-soft);
}

.hero-tile .tile-meta {
  position: absolute;
  inset: auto 12px 12px 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--safety-orange);
  background-color: rgba(245, 244, 240, 0.94);
  padding: 6px 10px;
  border-radius: 2px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 240ms ease;
}

.hero-tile:hover {
  z-index: 10;
  transform: scale(1.04);
  border-color: var(--safety-orange);
  border-width: 2.5px;
  box-shadow: 6px 10px 0 0 rgba(255, 107, 31, 0.32);
}

.hero-tile:hover .tile-meta {
  opacity: 0.95;
  transform: translateY(0);
}

.tile-1 { grid-column: 1 / span 5; grid-row: 1 / span 4; min-height: 440px; }
.tile-2 { grid-column: 9 / span 4; grid-row: 1 / span 2; min-height: 220px; }
.tile-3 { grid-column: 7 / span 2; grid-row: 1 / span 4; min-height: 440px; }
.tile-4 { grid-column: 9 / span 4; grid-row: 3 / span 2; min-height: 220px; }
.tile-5 { grid-column: 6 / span 2; grid-row: 3 / span 1; min-height: 140px; }
.tile-6 { grid-column: 11 / span 2; grid-row: 3 / span 2; min-height: 180px; }
.tile-7 { grid-column: 1 / span 2; grid-row: 5 / span 1; min-height: 160px; }

.hero-overlay {
  position: relative;
  z-index: 5;
  padding: 56px 0 0;
}

.hero-marker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--hydro-kobalt);
  margin-bottom: 24px;
  padding: 6px 12px;
  border: 1px solid rgba(31, 75, 140, 0.4);
  border-radius: 2px;
  background-color: rgba(31, 75, 140, 0.06);
}

.hero-headline {
  font-family: var(--font-mono);
  font-size: clamp(56px, 11vw, 156px);
  font-weight: 700;
  color: var(--ink-graphite);
  font-variation-settings: "wdth" 130;
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
}

.hero-headline .line {
  display: block;
  overflow: hidden;
}

.hero-headline .line span {
  display: inline-block;
  animation: slideUp 800ms cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.hero-headline .line:nth-child(1) span { animation-delay: 0.1s; }
.hero-headline .line:nth-child(2) span { animation-delay: 0.25s; }
.hero-headline .line:nth-child(3) span { animation-delay: 0.4s; }

@keyframes slideUp {
  from { transform: translateY(32px); filter: blur(8px); opacity: 0; }
  to { transform: translateY(0); filter: blur(0); opacity: 1; }
}

.hero-divider {
  width: 320px;
  height: 2px;
  background-color: var(--hydro-kobalt);
  margin-bottom: 28px;
}

.hero-sub {
  font-family: var(--font-mono);
  font-style: italic;
  font-size: 22px;
  color: var(--ink-graphite);
  line-height: 1.5;
  margin-bottom: 36px;
  max-width: 720px;
  font-weight: 400;
}

.hero-spec-plate {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  padding: 16px 20px;
  background-color: rgba(250, 250, 246, 0.92);
  backdrop-filter: blur(12px);
  border: 1.5px solid var(--border-soft);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-graphite);
  letter-spacing: 0.04em;
  margin-bottom: 48px;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px 36px;
  min-height: 88px;
  background-color: var(--safety-orange);
  color: #ffffff;
  border: 1.5px solid var(--ink-graphite);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 4px 4px 0 0 var(--ink-graphite);
  transition: all 220ms cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}

.btn-cta:hover {
  transform: translate(4px, 4px);
  box-shadow: 8px 8px 0 0 var(--ink-graphite);
}

.btn-cta:active { transform: translate(2px, 2px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  min-height: 48px;
  background-color: rgba(250, 250, 246, 0.94);
  color: var(--ink-graphite);
  border: 1.5px solid var(--ink-graphite);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 220ms ease;
}

.btn-outline:hover {
  background-color: var(--ink-graphite);
  color: #ffffff;
}

.pulse-callout {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-graphite);
}

.pulse-callout::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--safety-orange);
  position: relative;
  animation: pulseCallout 1.8s ease-in-out infinite;
}

@keyframes pulseCallout {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 31, 0.6); }
  50% { box-shadow: 0 0 0 10px rgba(255, 107, 31, 0); }
}

.live-panel {
  position: absolute;
  top: 24px;
  right: 24px;
  background-color: rgba(245, 244, 240, 0.94);
  border: 1.5px solid var(--border-thin);
  border-radius: 4px;
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--ink-graphite);
  letter-spacing: 0.04em;
  z-index: 7;
  max-width: 280px;
  line-height: 1.7;
}

.live-panel::before {
  content: '';
  display: block;
  height: 3px;
  background-color: var(--hydro-kobalt);
  margin: -12px -16px 12px;
  border-radius: 4px 4px 0 0;
}

.live-panel .live-line { display: block; }
.live-panel .live-line.bold { font-weight: 700; color: var(--hydro-kobalt); }

.section-shell {
  position: relative;
  padding: 96px 24px;
  max-width: 1440px;
  margin: 0 auto;
  z-index: 1;
}

.section-shell.tight { padding: 64px 24px; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 64px;
  margin-bottom: 64px;
  align-items: end;
}

.section-title {
  font-family: var(--font-mono);
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 700;
  color: var(--ink-graphite);
  font-variation-settings: "wdth" 130;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.section-title .accent { color: var(--safety-orange); }

.section-aside {
  font-family: var(--font-mono);
  font-style: italic;
  font-size: 18px;
  color: var(--hydro-kobalt);
  line-height: 1.6;
  border-left: 2px solid var(--hydro-kobalt);
  padding-left: 20px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-graphite);
  padding: 6px 12px;
  background-color: var(--bg-card);
  border: 1.5px solid var(--border-thin);
  border-radius: 2px;
  margin-bottom: 16px;
}

.divider-mark {
  width: 96px;
  height: 1.5px;
  background-color: rgba(31, 75, 140, 0.4);
  margin: 32px auto;
  position: relative;
}

.divider-mark::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--hydro-kobalt);
  transform: translate(-50%, -50%);
}

.split-layout {
  display: grid;
  grid-template-columns: 42% 58%;
  gap: 32px;
  align-items: start;
}

.sticky-pane {
  position: sticky;
  top: 112px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.portrait-frame {
  position: relative;
  width: 100%;
  height: 600px;
  max-height: 80vh;
  background-color: var(--bg-card);
  border: 1.5px solid var(--border-thin);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 4px 8px 0 0 rgba(26, 28, 32, 0.12);
  transition: all 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-frame:hover {
  transform: scale(1.04);
  border-color: var(--safety-orange);
  border-width: 2.5px;
  box-shadow: 6px 12px 0 0 rgba(255, 107, 31, 0.32);
}

.portrait-caption {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-graphite);
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.portrait-caption .jp-line {
  display: block;
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-top: 4px;
}

.stat-plate {
  background-color: var(--bg-card);
  border: 1px solid var(--border-thin);
  border-radius: 6px;
  padding: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-graphite);
  letter-spacing: 0.04em;
  line-height: 1.8;
  opacity: 0.85;
}

.flow-pane {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.flow-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-thin);
  border-radius: 6px;
  padding: 28px;
  box-shadow: 4px 4px 0 0 var(--tape-deep);
  position: relative;
}

.flow-card.intro {
  border-left: 4px solid var(--safety-orange);
}

.flow-card p {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--ink-graphite);
  line-height: 1.75;
  margin-bottom: 12px;
}

.flow-card p:last-child { margin-bottom: 0; }

.pull-quote {
  font-family: var(--font-mono);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 32px);
  color: var(--hydro-kobalt);
  line-height: 1.4;
  padding: 32px;
  background-color: var(--bg-card);
  border: 1.5px solid var(--border-thin);
  border-radius: 6px;
  box-shadow: 4px 4px 0 0 rgba(255, 107, 31, 0.32);
  position: relative;
}

.pull-quote::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--safety-orange);
  border-radius: 6px 6px 0 0;
}

.cert-strip {
  background-color: rgba(31, 75, 140, 0.08);
  border: 1px solid rgba(31, 75, 140, 0.3);
  border-radius: 4px;
  padding: 18px 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-graphite);
  letter-spacing: 0.04em;
  line-height: 1.8;
  opacity: 0.85;
}

.marquee {
  width: 100%;
  overflow: hidden;
  padding: 28px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background-color: var(--bg-card);
}

.marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 60s linear infinite;
  font-family: var(--font-mono);
  font-style: italic;
  font-size: 26px;
  color: rgba(26, 28, 32, 0.7);
}

.marquee-track span { display: inline-block; }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 12px;
}

.bento-card {
  position: relative;
  background-color: var(--bg-card);
  border: 1.5px solid var(--border-thin);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 4px 4px 0 0 var(--tape-deep);
  padding: 22px;
  transition: all 320ms cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
  z-index: 1;
}

.bento-card:nth-child(odd) { transform: translate(2px, 2px); }
.bento-card:nth-child(even) { transform: translate(-2px, -2px); }

.bento-card:hover {
  z-index: 10;
  transform: scale(1.04) translate(0, 0);
  border-color: var(--safety-orange);
  border-width: 2.5px;
  box-shadow: 6px 10px 0 0 rgba(255, 107, 31, 0.32);
}

.bento-card .svc-marker {
  width: 56px;
  height: 56px;
  border-radius: 4px;
  background-color: rgba(31, 75, 140, 0.12);
  border: 1.5px solid var(--border-thin);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-graphite);
  margin-bottom: 18px;
}

.bento-card.safety .svc-marker { background-color: rgba(255, 107, 31, 0.18); color: var(--safety-orange); }
.bento-card.brass .svc-marker { background-color: rgba(184, 149, 106, 0.18); color: var(--brass-warm); }
.bento-card.kobalt .svc-marker { background-color: rgba(31, 75, 140, 0.18); color: var(--hydro-kobalt); }

.bento-card .svc-title {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-graphite);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
  line-height: 1.2;
}

.bento-card .svc-title-jp {
  font-family: var(--font-jp);
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.bento-card .svc-spec {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-graphite);
  letter-spacing: 0.04em;
  line-height: 1.7;
  border-top: 1px solid var(--border-soft);
  padding-top: 10px;
}

.bento-card .svc-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.4;
}

.bento-card .svc-content { position: relative; z-index: 2; }

.span-2x2 { grid-column: span 2; grid-row: span 2; }
.span-2x1 { grid-column: span 2; grid-row: span 1; }
.span-1x2 { grid-column: span 1; grid-row: span 2; }
.span-1x1 { grid-column: span 1; grid-row: span 1; }

.timeline-track {
  position: relative;
  padding-left: 80px;
}

.timeline-track::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 2.5px;
  background-color: var(--ink-graphite);
  background-image: repeating-linear-gradient(
    to bottom,
    var(--ink-graphite) 0,
    var(--ink-graphite) 8px,
    transparent 8px,
    transparent 12px
  );
  opacity: 0.7;
}

.timeline-node {
  position: relative;
  background-color: var(--bg-card);
  border: 1.5px solid var(--border-thin);
  border-radius: 6px;
  padding: 24px 28px;
  margin-bottom: 24px;
  width: min(100%, 560px);
  box-shadow: 4px 4px 0 0 var(--tape-deep);
  transition: all 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-node:nth-child(odd) { margin-left: 24px; }
.timeline-node:nth-child(even) { margin-left: -24px; }

.timeline-node::before {
  content: '';
  position: absolute;
  left: -56px;
  top: 32px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--bg-card);
  border: 2.5px solid var(--ink-graphite);
}

.timeline-node:hover {
  border-color: var(--safety-orange);
  transform: scale(1.02);
  box-shadow: 6px 8px 0 0 rgba(255, 107, 31, 0.32);
  z-index: 5;
}

.timeline-node .stage-num {
  font-family: var(--font-mono);
  font-size: 26px;
  font-style: italic;
  font-weight: 700;
  color: var(--safety-orange);
  margin-bottom: 6px;
}

.timeline-node .stage-title {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink-graphite);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.timeline-node .stage-title-jp {
  font-family: var(--font-jp);
  font-size: 12px;
  color: var(--hydro-kobalt);
  margin-bottom: 10px;
}

.timeline-node .stage-desc {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-graphite);
  line-height: 1.7;
  letter-spacing: 0.02em;
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.adv-card {
  position: relative;
  background-color: var(--bg-card);
  border: 1.5px solid var(--border-thin);
  border-radius: 6px;
  padding: 28px;
  min-height: 240px;
  box-shadow: 4px 4px 0 0 var(--tape-deep);
  transition: all 420ms cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  z-index: 1;
  overflow: hidden;
}

.adv-card:nth-child(2) { transform: translate(4px, 4px); }
.adv-card:nth-child(3) { transform: translate(-4px, -4px); }
.adv-card:nth-child(5) { transform: translate(4px, 4px); }
.adv-card:nth-child(6) { transform: translate(-4px, -4px); }

.adv-card:hover {
  z-index: 10;
  transform: scale(1.55);
  border-color: var(--safety-orange);
  border-width: 2.5px;
  box-shadow: 6px 8px 0 0 rgba(255, 107, 31, 0.32);
}

.adv-card .adv-num {
  font-family: var(--font-mono);
  font-size: 96px;
  font-weight: 700;
  color: rgba(255, 107, 31, 0.12);
  position: absolute;
  bottom: -20px;
  right: 12px;
  line-height: 1;
  pointer-events: none;
}

.adv-card .adv-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

.adv-card .adv-title {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink-graphite);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.adv-card .adv-text {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.team-card {
  background-color: var(--bg-card);
  border: 1.5px solid var(--border-thin);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 4px 4px 0 0 var(--tape-deep);
  transition: all 320ms cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}

.team-card:hover {
  transform: translate(-4px, -4px);
  border-color: var(--safety-orange);
  border-width: 2.5px;
  box-shadow: 8px 12px 0 0 rgba(255, 107, 31, 0.32);
}

.team-card .team-photo {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
  background-color: var(--bg-canvas);
}

.team-card .team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.team-card:hover .team-photo img { transform: scale(1.08); }

.team-card .team-body {
  padding: 18px 20px;
  background-color: var(--bg-card);
}

.team-card .team-name {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-graphite);
  letter-spacing: 0.02em;
}

.team-card .team-name-jp {
  font-family: var(--font-jp);
  font-size: 13px;
  color: var(--hydro-kobalt);
  margin-bottom: 8px;
}

.team-card .team-role {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.review-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.review-card {
  background-color: var(--bg-card);
  border: 1.5px solid var(--border-thin);
  border-radius: 6px;
  padding: 28px;
  box-shadow: 4px 4px 0 0 var(--tape-deep);
  position: relative;
  transition: all 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.review-card:hover {
  transform: translate(-3px, -3px);
  border-color: var(--safety-orange);
  box-shadow: 6px 8px 0 0 rgba(255, 107, 31, 0.32);
}

.review-card .review-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.review-card .review-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border-thin);
  flex-shrink: 0;
}

.review-card .review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-card .review-name {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-graphite);
}

.review-card .review-role {
  font-family: var(--font-jp);
  font-size: 11px;
  color: var(--ink-soft);
}

.review-card .review-text {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink-graphite);
  line-height: 1.7;
  margin-bottom: 16px;
}

.review-card .review-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--safety-orange);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 12px;
  border-top: 1px dashed var(--border-soft);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery-cell {
  position: relative;
  background-color: var(--bg-card);
  border: 1.5px solid var(--border-thin);
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: 4px 4px 0 0 var(--tape-deep);
  cursor: pointer;
  transition: all 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-cell.tall { aspect-ratio: 1 / 1.4; grid-row: span 2; }
.gallery-cell.wide { aspect-ratio: 1.4 / 1; grid-column: span 2; }

.gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.gallery-cell:hover { border-color: var(--safety-orange); }
.gallery-cell:hover img { transform: scale(1.06); }

.gallery-cell .gal-label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 12px;
  background: linear-gradient(to top, rgba(26, 28, 32, 0.85) 0%, transparent 100%);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 920px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1.5px solid var(--border-thin);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 4px 4px 0 0 var(--tape-deep);
  transition: all 240ms ease;
}

.faq-item.open {
  border-color: var(--safety-orange);
  box-shadow: 4px 4px 0 0 rgba(255, 107, 31, 0.32);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 22px 28px;
  background: none;
  border: none;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink-graphite);
  cursor: pointer;
  text-align: left;
  letter-spacing: 0.02em;
}

.faq-q-num {
  color: var(--safety-orange);
  font-size: 18px;
  flex-shrink: 0;
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--ink-graphite);
  color: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  margin-left: auto;
  flex-shrink: 0;
  transition: all 240ms ease;
}

.faq-item.open .faq-icon { background-color: var(--safety-orange); transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 320ms ease;
  border-top: 1px solid transparent;
}

.faq-item.open .faq-answer {
  max-height: 600px;
  border-top: 1px dashed var(--border-soft);
}

.faq-answer-inner {
  padding: 22px 28px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink-graphite);
  line-height: 1.7;
}

.contact-shell {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-card {
  background-color: var(--bg-card);
  border: 1.5px solid var(--border-thin);
  border-radius: 8px;
  padding: 36px;
  box-shadow: 4px 4px 0 0 var(--tape-deep);
}

.contact-card h3 {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-graphite);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-soft);
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-graphite);
  border-bottom: 1px dashed var(--border-soft);
}

.contact-row:last-child { border-bottom: none; }

.contact-row .c-label {
  width: 110px;
  font-weight: 700;
  color: var(--hydro-kobalt);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 11px;
  flex-shrink: 0;
  padding-top: 2px;
}

.contact-row a {
  color: var(--ink-graphite);
  text-decoration: none;
  border-bottom: 1px dashed var(--border-soft);
}

.contact-row a:hover { color: var(--safety-orange); }

.contact-form {
  background-color: var(--bg-card);
  border: 1.5px solid var(--border-thin);
  border-radius: 8px;
  padding: 36px;
  box-shadow: 4px 4px 0 0 rgba(255, 107, 31, 0.18);
}

.contact-form h3 {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-graphite);
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field { display: flex; flex-direction: column; gap: 6px; }

.form-field label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-graphite);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-mono);
  font-size: 14px;
  padding: 12px 14px;
  background-color: var(--bg-canvas);
  color: var(--ink-graphite);
  border: 1.5px solid var(--border-thin);
  border-radius: 4px;
  outline: none;
  transition: border-color 200ms ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--safety-orange);
  background-color: #ffffff;
}

.form-field textarea { resize: vertical; min-height: 120px; }

.form-success {
  display: none;
  padding: 32px;
  text-align: center;
  background-color: rgba(31, 75, 140, 0.08);
  border: 1.5px dashed var(--hydro-kobalt);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--hydro-kobalt);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-success.show { display: block; }

.price-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--safety-orange);
  padding: 4px 10px;
  background-color: rgba(255, 107, 31, 0.08);
  border: 1px solid rgba(255, 107, 31, 0.4);
  border-radius: 2px;
  margin-top: 8px;
}

.detail-hero {
  padding: 96px 24px 64px;
  max-width: 1240px;
  margin: 0 auto;
  background-color: var(--bg-canvas);
  position: relative;
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}

.detail-photo {
  width: 100%;
  height: 460px;
  max-height: 60vh;
  border: 1.5px solid var(--border-thin);
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--bg-card);
  box-shadow: 4px 8px 0 0 var(--tape-shadow);
}

.detail-photo img { width: 100%; height: 100%; object-fit: cover; }

.detail-meta {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.detail-meta .svc-marker { margin-bottom: 0; }

.detail-meta h1 {
  font-family: var(--font-mono);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  color: var(--ink-graphite);
  font-variation-settings: "wdth" 130;
  line-height: 1;
  letter-spacing: -0.02em;
}

.detail-meta .lead {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--ink-graphite);
  line-height: 1.7;
}

.detail-spec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background-color: var(--border-thin);
  border: 1.5px solid var(--border-thin);
  border-radius: 4px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 11px;
}

.detail-spec .cell {
  padding: 12px 14px;
  background-color: var(--bg-card);
  color: var(--ink-graphite);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.detail-spec .cell .k {
  display: block;
  font-size: 9px;
  color: var(--hydro-kobalt);
  margin-bottom: 2px;
}

.detail-spec .cell .v { font-weight: 700; }

.detail-photo-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 48px 0;
}

.detail-photo-stack .ph {
  height: 280px;
  max-height: 40vh;
  border: 1.5px solid var(--border-thin);
  border-radius: 6px;
  overflow: hidden;
  background-color: var(--bg-card);
}

.detail-photo-stack .ph img { width: 100%; height: 100%; object-fit: cover; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.blog-card {
  background-color: var(--bg-card);
  border: 1.5px solid var(--border-thin);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 4px 4px 0 0 var(--tape-deep);
  transition: all 320ms cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}

.blog-card:hover {
  transform: translate(-4px, -4px);
  border-color: var(--safety-orange);
  box-shadow: 8px 12px 0 0 rgba(255, 107, 31, 0.32);
}

.blog-card .blog-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.blog-card .blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.blog-card:hover .blog-img img { transform: scale(1.08); }

.blog-card .blog-body { padding: 20px 22px 22px; }

.blog-card .blog-date {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--safety-orange);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.blog-card h3 {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-graphite);
  line-height: 1.3;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.blog-card p {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.thanks-stage {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 24px;
}

.thanks-card {
  max-width: 720px;
  width: 100%;
  text-align: center;
  background-color: var(--bg-card);
  border: 1.5px solid var(--border-thin);
  border-radius: 8px;
  padding: 56px 48px;
  box-shadow: 6px 10px 0 0 rgba(255, 107, 31, 0.32);
}

.thanks-card h1 {
  font-family: var(--font-mono);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  color: var(--ink-graphite);
  font-variation-settings: "wdth" 130;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.thanks-card p {
  font-family: var(--font-sans);
  font-size: 17px;
  color: var(--ink-graphite);
  line-height: 1.7;
  margin-bottom: 28px;
}

.thanks-stamp {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--safety-orange);
  padding: 8px 16px;
  border: 2px solid var(--safety-orange);
  border-radius: 2px;
  margin-bottom: 32px;
}

.legal-shell {
  max-width: 920px;
  margin: 0 auto;
  padding: 96px 24px;
}

.legal-shell h1 {
  font-family: var(--font-mono);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: var(--ink-graphite);
  font-variation-settings: "wdth" 130;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.legal-shell h2 {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink-graphite);
  margin-top: 36px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-thin);
}

.legal-shell p, .legal-shell li {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink-graphite);
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-shell ul { padding-left: 24px; margin-bottom: 16px; }

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 720px;
  margin: 0 auto;
  background-color: var(--ink-graphite);
  color: #ffffff;
  border: 1.5px solid var(--safety-orange);
  border-radius: 6px;
  padding: 20px 24px;
  z-index: 200;
  box-shadow: 6px 10px 0 0 rgba(255, 107, 31, 0.32);
  display: block;
}

.cookie-banner .cb-title {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--safety-orange);
  margin-bottom: 8px;
}

.cookie-banner .cb-text {
  font-family: var(--font-sans);
  font-size: 13px;
  color: #ffffff;
  line-height: 1.6;
  margin-bottom: 14px;
}

.cookie-banner .cb-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-banner .cb-btn {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 10px 18px;
  border-radius: 4px;
  border: 1.5px solid #ffffff;
  background-color: transparent;
  color: #ffffff;
  cursor: pointer;
  transition: all 220ms ease;
}

.cookie-banner .cb-btn:hover { background-color: #ffffff; color: var(--ink-graphite); }

.cookie-banner .cb-btn.primary {
  background-color: var(--safety-orange);
  border-color: var(--safety-orange);
  color: #ffffff;
}

.cookie-banner .cb-btn.primary:hover { background-color: var(--bg-canvas); color: var(--ink-graphite); border-color: var(--bg-canvas); }

.cookie-banner.hidden { display: none; }

.site-footer {
  background-color: var(--ink-graphite);
  color: #ffffff;
  padding: 72px 24px 24px;
  position: relative;
  z-index: 5;
  border-top: 2px solid var(--safety-orange);
}

.site-footer a { color: #ffffff; text-decoration: none; }
.site-footer a:hover { color: var(--safety-orange); }

.footer-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .brand-domain { color: #ffffff; }
.footer-brand .brand-jp { color: rgba(255, 255, 255, 0.7); }
.footer-brand p {
  font-family: var(--font-sans);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-top: 16px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--safety-orange);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 107, 31, 0.4);
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-col li, .footer-col a {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-col address {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-style: normal;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

.footer-bottom {
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-bottom p, .footer-bottom span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-legal-list {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.processing-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.proc-step {
  background-color: var(--bg-card);
  border: 1.5px solid var(--border-thin);
  border-radius: 6px;
  padding: 22px;
  position: relative;
  box-shadow: 4px 4px 0 0 var(--tape-deep);
  transition: all 320ms ease;
}

.proc-step:hover { transform: translate(-3px, -3px); border-color: var(--safety-orange); }

.proc-step .step-num {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--safety-orange);
  margin-bottom: 10px;
  line-height: 1;
}

.proc-step h4 {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-graphite);
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.proc-step p {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .nav-rail { display: none; }
  .passport-tag { display: none; }
  .burger-btn { display: block; }
  .brand-block { flex: 1; }
  .split-layout { grid-template-columns: 1fr; }
  .sticky-pane { position: relative; top: auto; }
  .portrait-frame { height: 380px; max-height: 50vh; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .review-list { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .contact-shell { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-hero-grid { grid-template-columns: 1fr; }
  .processing-flow { grid-template-columns: 1fr 1fr; }
  .hero-tile { grid-column: span 4 !important; grid-row: auto !important; min-height: 160px; max-width: 100%; }
  .hero-grid { grid-template-columns: 1fr; }
  .tile-1, .tile-2, .tile-3, .tile-4, .tile-5, .tile-6, .tile-7 { grid-column: 1 / -1; min-height: 180px; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .adv-card:hover { transform: scale(1.04); }
  .bento-card:nth-child(odd), .bento-card:nth-child(even) { transform: none; }
}

@media (max-width: 640px) {
  .masthead { height: 64px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-domain { font-size: 15px; }
  .brand-jp { font-size: 9px; }
  .hero-stage { padding: 24px 16px 48px; min-height: auto; }
  .hero-headline { font-size: 56px; }
  .hero-spec-plate { font-size: 9px; padding: 12px 14px; }
  .btn-cta { width: 100%; min-height: 64px; padding: 18px 22px; font-size: 14px; }
  .live-panel { position: relative; top: auto; right: auto; margin: 24px auto 0; max-width: 100%; }
  .section-shell { padding: 56px 16px; }
  .bento-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento-card .span-2x2, .span-2x1, .span-1x2 { grid-column: 1; grid-row: auto; min-height: 280px; }
  .adv-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .processing-flow { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .timeline-track { padding-left: 56px; }
  .timeline-node { margin-left: 0 !important; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 16px; }
  .thanks-card { padding: 36px 24px; }
  .contact-card, .contact-form { padding: 24px; }
}
