@font-face {
  font-family: 'Syne Fallback';
  src: local('Arial'), local('Helvetica Neue'), local('Segoe UI');
  size-adjust: 118%;
  ascent-override: 84%;
  descent-override: 20%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Zen Kaku Fallback';
  src: local('Yu Gothic'), local('Hiragino Sans'), local('Meiryo');
  size-adjust: 94%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}

:root {
  /* Unified Forge-Architecture Palette */
  --stone: #f3f0e8;
  --stone-deep: #e8e3d8;
  --ink: #0f0f12;
  --ink-soft: #2c2b30;
  --ink-muted: #625f58;
  --rule: rgba(15, 15, 18, 0.13);
  --rule-strong: rgba(15, 15, 18, 0.34);

  --void: #08080a;
  --void-surface: #111115;
  --chalk: #f3f0e8;
  --chalk-soft: #d1cdc4;
  --chalk-muted: #8a867e;
  --rule-dark: rgba(243, 240, 232, 0.14);
  --rule-dark-strong: rgba(243, 240, 232, 0.34);

  --orange: #ff4d00;
  --orange-bright: #ff6e2b;
  --orange-ink: #cc3c00;

  /* Single Unified Typographic System across Dark & Light */
  --font-display: 'Syne', 'Syne Fallback', 'Zen Kaku Gothic New', sans-serif;
  --font-sans: 'Zen Kaku Gothic New', 'Zen Kaku Fallback', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  /* Semantic Type Scale (Deliberate Jump Ratio) */
  --text-hero: clamp(1.78rem, 5.8vw, 5.5rem);
  --text-display: clamp(2.35rem, 5.2vw, 4.9rem);
  --text-statement: clamp(1.7rem, 3.45vw, 3.15rem);
  --text-h3-lg: clamp(1.38rem, 2.05vw, 1.9rem);
  --text-h3: clamp(1.08rem, 1.25vw, 1.22rem);
  --text-body: 1rem;
  --text-small: 0.9rem;
  --text-mono: 0.78rem;

  --gutter: clamp(20px, 4.4vw, 68px);
  --max: 1400px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--void);
}

body {
  margin: 0;
  min-width: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.92;
  letter-spacing: 0.024em;
  font-weight: 400;
  font-kerning: normal;
  line-break: strict;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* Ultra-fine Architectural Mineral Paper Grain (Subtle Tactile Depth) */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 260;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Seamless Forged Curtain Page Transition */
.page-curtain {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: var(--void);
  border-top: 2px solid var(--orange);
  transform: translateY(-102%);
  pointer-events: none;
  transition: transform 0.42s var(--ease-expo);
}

.page-curtain.is-entering {
  transform: translateY(0%);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-curtain.is-leaving {
  transform: translateY(0%);
  pointer-events: all;
}

/* Precision Architectural Vernier Scroll Ruler (Desktop Right Edge) */
.vernier-ruler {
  position: fixed;
  top: 50%;
  right: 16px;
  z-index: 130;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  color: var(--chalk);
  transition: color 0.35s var(--ease);
}

.vernier-ruler.is-light {
  color: var(--ink);
}

.vernier-track {
  position: relative;
  width: 22px;
  height: 184px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
}

.vernier-ticks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    to bottom,
    currentColor 0,
    currentColor 1px,
    transparent 1px,
    transparent 8px
  );
  width: 7px;
  margin-left: auto;
  opacity: 0.24;
}

.vernier-needle {
  position: absolute;
  top: 0;
  right: 0;
  width: 22px;
  height: 2px;
  background: var(--orange);
  box-shadow: 0 0 10px rgba(255, 77, 0, 0.7);
  pointer-events: none;
  will-change: transform;
}

.vernier-stop {
  position: relative;
  z-index: 2;
  width: 22px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.vernier-stop::after {
  content: '';
  width: 11px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
  transition: width 0.25s var(--ease), background-color 0.25s var(--ease), opacity 0.25s var(--ease);
}

.vernier-stop:hover::after,
.vernier-stop.is-active::after {
  width: 18px;
  background: var(--orange);
  opacity: 1;
}

.vernier-pct {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  opacity: 0.65;
}

h1,
h2,
h3 {
  font-feature-settings: 'palt' 1;
  word-break: auto-phrase;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.br-pc {
  display: inline;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

::selection {
  background: var(--orange);
  color: #ffffff;
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: -120px;
  left: 20px;
  z-index: 300;
  padding: 10px 18px;
  background: var(--orange);
  color: #ffffff;
  font-weight: 700;
}

.skip-link:focus {
  top: 16px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Continuous Subtle Architectural Datum Rails (Unifies Dark & Light Worldview) */
.datum-grid {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
  opacity: 0.42;
}

.datum-grid span {
  border-left: 1px solid rgba(128, 124, 118, 0.09);
  height: 100%;
}

.datum-grid span:last-child {
  border-right: 1px solid rgba(128, 124, 118, 0.09);
}

/* Scroll Progress Forge Wire */
.scroll-line {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 150;
  width: 100%;
  height: 2px;
  pointer-events: none;
}

.scroll-line__fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--orange) 0%, #ff9947 100%);
  transform-origin: left center;
  transform: scaleX(0);
  will-change: transform;
}

/* Precision Reticle Custom Cursor (Fine Pointer Desktop Only) */
.forge-cursor {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .forge-cursor {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 250;
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
    border: 1px solid rgba(255, 77, 0, 0.65);
    pointer-events: none;
    opacity: 0;
    transition: width 0.3s var(--ease), height 0.3s var(--ease), margin 0.3s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease), opacity 0.25s ease;
    will-change: transform;
  }

  .forge-cursor.is-visible {
    opacity: 1;
  }

  .forge-cursor__label {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: #ffffff;
    opacity: 0;
    transition: opacity 0.2s ease;
  }

  .forge-cursor.is-labeled {
    width: 78px;
    height: 30px;
    margin: -15px 0 0 -39px;
    background: var(--orange);
    border-color: var(--orange);
  }

  .forge-cursor.is-labeled .forge-cursor__label {
    opacity: 1;
  }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: var(--chalk);
  background: linear-gradient(180deg, rgba(8, 8, 10, 0.62) 0%, rgba(8, 8, 10, 0) 100%);
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(8, 8, 10, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--rule-dark);
}

.site-header.is-light {
  color: var(--ink);
  background: rgba(243, 240, 232, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--rule);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.wordmark__mark {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  display: block;
}

.wordmark__ingot {
  transition: transform 0.35s var(--ease);
}

.wordmark:hover .wordmark__ingot {
  transform: translateX(2.5px);
}

.wordmark__main {
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
}

.wordmark__apos {
  font-style: normal;
  color: var(--orange);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 38px);
}

.site-nav a {
  position: relative;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-block: 4px;
}

.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.site-nav a:hover::after,
.site-nav a[aria-current='page']::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav__contact {
  color: var(--orange-bright);
  font-weight: 600;
}

.site-header.is-light .site-nav__contact {
  color: var(--orange-ink);
}

.menu-toggle {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 1px solid currentColor;
}

.mobile-drawer {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 115;
  background: var(--void);
  color: var(--chalk);
  padding: 36px var(--gutter) 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

.mobile-drawer[hidden] {
  display: none;
}

.mobile-drawer__list {
  display: grid;
}

.mobile-drawer__list a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule-dark);
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
}

.mobile-drawer__list a small {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--chalk-muted);
}

.mobile-drawer__meta {
  padding-top: 28px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--chalk-muted);
  display: grid;
  gap: 6px;
}

/* ==========================================================================
   MAGNETIC ACTION BUTTONS (SHARP FORGED GEOMETRY)
   ========================================================================== */
.action-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 15px 28px;
  background: var(--orange);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  overflow: hidden;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  will-change: transform;
}

.action-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #ffffff;
  transform: translateY(102%);
  transition: transform 0.4s var(--ease-expo);
  z-index: 0;
}

.action-link span {
  position: relative;
  z-index: 1;
}

.action-link:hover {
  color: var(--ink);
}

.action-link:hover::before {
  transform: translateY(0);
}

.action-link--ink {
  background: var(--ink);
  color: var(--chalk);
}

.action-link--ink::before {
  background: var(--orange);
}

.action-link--ink:hover {
  color: #ffffff;
}

.action-link--outline-dark {
  background: transparent;
  color: var(--chalk);
  border: 1px solid var(--rule-dark-strong);
}

.action-link--outline-dark::before {
  background: var(--orange);
}

.action-link--outline-dark:hover {
  border-color: var(--orange);
  color: #ffffff;
}

.action-link--outline-light {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule-strong);
}

.action-link--outline-light::before {
  background: var(--ink);
}

.action-link--outline-light:hover {
  border-color: var(--ink);
  color: var(--chalk);
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.text-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-expo);
}

.text-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.text-link:hover {
  color: var(--orange-ink);
  border-color: transparent;
}

[data-theme='dark'] .text-link:hover {
  color: var(--orange-bright);
  border-color: transparent;
}

/* Kinetic Double-Arrow Micro-Interaction */
.k-arrow {
  position: relative;
  display: inline-flex;
  width: 1.15em;
  height: 1.15em;
  overflow: hidden;
  align-items: center;
  justify-content: center;
}

.k-arrow i {
  font-style: normal;
  line-height: 1;
  transition: transform 0.4s var(--ease-expo);
}

.k-arrow i:last-child {
  position: absolute;
  transform: translate(-130%, 0);
}

a:hover .k-arrow i:first-child,
button:hover .k-arrow i:first-child {
  transform: translate(130%, 0);
}

a:hover .k-arrow i:last-child,
button:hover .k-arrow i:last-child {
  transform: translate(0, 0);
}

/* Magnetic Hero Glyphs */
.glyph {
  display: inline-block;
  transition: transform 0.32s var(--ease), color 0.28s ease;
  will-change: transform;
}

.glyph--space {
  width: 0.28em;
}

.glyph.is-hot {
  color: var(--orange-bright);
  text-shadow: 0 0 28px rgba(255, 77, 0, 0.45);
}

/* Kinetic Masked Line Entrance */
.mask-line {
  display: block;
  overflow: hidden;
}

.mask-line__inner {
  display: inline-block;
  transform: translateY(108%);
  animation: gf-rise 1s var(--ease-expo) forwards;
}

.mask-line--2 .mask-line__inner {
  animation-delay: 0.14s;
}

@keyframes gf-rise {
  to { transform: translateY(0); }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   HERO STAGE (FULL-BLEED WEBGL + MULTI-LAYER SCROLL PARALLAX)
   ========================================================================== */
.hero-track {
  position: relative;
  height: 150svh;
  background: var(--void);
  z-index: 1;
}

.hero {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--header-h) + clamp(36px, 6vh, 76px));
  padding-bottom: clamp(32px, 5vh, 56px);
  background: var(--void);
  color: var(--chalk);
  overflow: hidden;
}

.hero__canvas-wrap {
  position: absolute;
  inset: -6% 0;
  z-index: 0;
  will-change: transform;
}

.hero__sparks {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 8, 10, 0.44) 0%, rgba(8, 8, 10, 0.1) 42%, rgba(8, 8, 10, 0.84) 100%);
  pointer-events: none;
}

.hero__top {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--chalk-soft);
}

.hero__top p {
  margin: 0;
}

.hero__bottom {
  position: relative;
  z-index: 3;
  display: grid;
  gap: clamp(28px, 4vh, 44px);
  will-change: transform, opacity;
}

.hero-split {
  display: block;
  will-change: transform;
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--chalk);
  min-height: 2.32em;
}

.hero__title-jp {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 0.86em;
  letter-spacing: -0.015em;
}

.hero__title .accent-word {
  color: var(--orange-bright);
  letter-spacing: -0.04em;
}

.hero__foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 48px;
  align-items: end;
  padding-top: 24px;
  border-top: 1px solid var(--rule-dark);
}

.hero__summary {
  margin: 0;
  max-width: 39em;
  min-height: 3.85em;
  color: var(--chalk-soft);
  font-size: 0.95rem;
  line-height: 1.92;
}

.hero__right-tools {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero__modes {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shader-mode-btn {
  position: relative;
  padding-bottom: 3px;
  color: var(--chalk-muted);
  transition: color 0.25s var(--ease);
}

.shader-mode-btn:hover,
.shader-mode-btn.is-active {
  color: var(--chalk);
}

.shader-mode-btn.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--orange);
}

/* ==========================================================================
   CURTAIN ASCENT: LIGHT ARCHITECTURAL PLANE RISES OVER DARK HERO
   ========================================================================== */
.band-light {
  position: relative;
  z-index: 3;
  background: var(--stone);
  color: var(--ink);
  padding-block: clamp(88px, 11vw, 164px);
}

.band-light--curtain {
  border-top: 2px solid var(--orange);
  box-shadow: 0 -28px 80px rgba(0, 0, 0, 0.45);
}

.band-light--tinted {
  background: var(--stone-deep);
}

.band-dark {
  position: relative;
  z-index: 3;
  background: var(--void);
  color: var(--chalk);
  padding-block: clamp(88px, 11vw, 164px);
}

/* ==========================================================================
   SCROLL-SCRUBBED KINETIC STATEMENT (DYNAMIC NON-WEBGL TYPOGRAPHY)
   ========================================================================== */
.statement-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.72fr);
  gap: 40px 68px;
  align-items: start;
}

.scrub-headline {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-statement);
  font-weight: 900;
  line-height: 1.38;
  letter-spacing: -0.02em;
}

.scrub-phrase {
  display: block;
  color: rgba(15, 15, 18, 0.56);
  transition: color 0.25s ease;
}

.scrub-phrase.is-lit {
  color: var(--ink);
}

.scrub-phrase--hot.is-lit {
  color: var(--orange-ink);
}

.statement-side {
  display: grid;
  gap: 22px;
  padding-top: 8px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.94;
}

.statement-side p {
  margin: 0;
}

.stance-strip {
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: 32px;
  border-top: 1px solid var(--rule-strong);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 44px;
}

.stance-col {
  position: relative;
  padding-top: 18px;
  will-change: transform;
}

.stance-col::before {
  content: '+';
  position: absolute;
  top: -12px;
  left: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1;
  color: var(--orange-ink);
  transition: transform 0.45s var(--ease);
}

.stance-col:hover::before {
  transform: rotate(90deg) scale(1.2);
}

.stance-col__n {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--orange-ink);
  margin-bottom: 10px;
}

.stance-col h3 {
  margin: 0 0 10px;
  font-size: var(--text-h3);
  font-weight: 700;
  line-height: 1.4;
}

.stance-col p {
  margin: 0;
  font-size: var(--text-small);
  line-height: 1.88;
  color: var(--ink-muted);
}

/* ==========================================================================
   OPPOSING SCROLL-DRIVEN KINETIC TYPOGRAPHY RAILS (PURE DOM PARALLAX)
   ========================================================================== */
.kinetic-rails {
  position: relative;
  z-index: 3;
  background: var(--stone-deep);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding-block: clamp(22px, 3.5vw, 44px);
  overflow: hidden;
  user-select: none;
}

.rail-track {
  display: flex;
  white-space: nowrap;
  gap: clamp(28px, 4vw, 56px);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.4vw, 6.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  will-change: transform;
}

.rail-track--outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(15, 15, 18, 0.34);
  margin-top: 6px;
}

.rail-track em {
  font-style: normal;
  color: var(--orange);
  -webkit-text-stroke: 0;
}

/* ==========================================================================
   SERVICES — STICKY ROLLING COUNTER + FULL-WIDTH HOVER CURTAIN SWEEP
   ========================================================================== */
.band-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px 48px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.band-head__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.band-head__title span {
  color: var(--orange-ink);
}

[data-theme='dark'] .band-head__title span {
  color: var(--orange-bright);
}

.band-head__jp {
  margin: 0;
  max-width: 34em;
  color: var(--ink-muted);
  font-size: 0.94rem;
  line-height: 1.88;
}

[data-theme='dark'] .band-head__jp {
  color: var(--chalk-muted);
}

.services-split {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px 56px;
  align-items: start;
}

.services-dial {
  position: sticky;
  top: calc(var(--header-h) + 40px);
  display: grid;
  gap: 12px;
}

.services-blueprint {
  margin-top: 14px;
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--rule);
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.62) 0%, rgba(243, 240, 232, 0.2) 100%);
  position: relative;
  overflow: hidden;
}

/* Optical Viewfinder Registration Brackets */
.services-blueprint::before,
.services-blueprint::after {
  content: '';
  position: absolute;
  inset: 8px;
  pointer-events: none;
  z-index: 2;
}

.services-blueprint::before {
  background:
    linear-gradient(var(--orange), var(--orange)) top left / 10px 1.5px no-repeat,
    linear-gradient(var(--orange), var(--orange)) top left / 1.5px 10px no-repeat,
    linear-gradient(var(--orange), var(--orange)) top right / 10px 1.5px no-repeat,
    linear-gradient(var(--orange), var(--orange)) top right / 1.5px 10px no-repeat,
    linear-gradient(var(--orange), var(--orange)) bottom left / 10px 1.5px no-repeat,
    linear-gradient(var(--orange), var(--orange)) bottom left / 1.5px 10px no-repeat,
    linear-gradient(var(--orange), var(--orange)) bottom right / 10px 1.5px no-repeat,
    linear-gradient(var(--orange), var(--orange)) bottom right / 1.5px 10px no-repeat;
}

.services-blueprint canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.dial-window {
  height: 1.02em;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 7vw, 6.8rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  color: var(--orange-ink);
}

.dial-reel {
  display: flex;
  flex-direction: column;
  transition: transform 0.55s var(--ease-expo);
  will-change: transform;
}

.dial-reel > span {
  display: block;
  height: 1.02em;
  line-height: 1.02;
  flex: 0 0 1.02em;
}

.dial-caption {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.ledger {
  border-top: 1px solid var(--rule-strong);
}

.ledger-row {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.15fr) auto;
  gap: 16px 32px;
  align-items: start;
  padding: clamp(28px, 3.6vw, 44px) 18px;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  transition: color 0.35s var(--ease);
}

/* Dynamic Hover Curtain Sweep */
.ledger-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--void);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s var(--ease-expo);
  z-index: 0;
}

.ledger-row::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s var(--ease-expo);
  z-index: 1;
}

.ledger-row > * {
  position: relative;
  z-index: 2;
}

.ledger-row:hover::before,
.ledger-row:hover::after {
  transform: scaleY(1);
}

.ledger-row:hover {
  color: var(--chalk);
}

.ledger-row__index {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--orange-ink);
  transition: color 0.3s var(--ease);
}

.ledger-row:hover .ledger-row__index {
  color: var(--orange-bright);
}

.ledger-row__title {
  margin: 0;
  font-size: clamp(1.22rem, 1.65vw, 1.52rem);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.02em;
}

.ledger-row__sub {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-muted);
  transition: color 0.3s var(--ease);
}

.ledger-row:hover .ledger-row__sub {
  color: var(--chalk-muted);
}

.ledger-row__desc {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.88;
  transition: color 0.3s var(--ease);
}

.ledger-row:hover .ledger-row__desc {
  color: var(--chalk-soft);
}

.ledger-row__stack {
  margin: 12px 0 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-muted);
  transition: color 0.3s var(--ease);
}

.ledger-row:hover .ledger-row__stack {
  color: var(--orange-bright);
}

.ledger-row__go {
  align-self: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  transition: transform 0.3s var(--ease);
}

.ledger-row:hover .ledger-row__go {
  transform: translateX(4px);
  color: var(--orange-bright);
}

/* ==========================================================================
   SCROLL-DRIVEN APERTURE PORTAL INTO DARK FORGE WORLD
   ========================================================================== */
.portal-shell {
  position: relative;
  z-index: 3;
  background: var(--stone-deep);
  padding-top: clamp(24px, 4vw, 56px);
}

.portal-frame {
  background: var(--void);
  color: var(--chalk);
  clip-path: inset(0 4.5vw 0 4.5vw);
  will-change: clip-path;
}

.kinetic-stage {
  position: relative;
  height: clamp(500px, 76vh, 760px);
  background: var(--void);
  color: var(--chalk);
  overflow: hidden;
  cursor: crosshair;
  border-bottom: 1px solid var(--rule-dark);
}

.kinetic-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.kinetic-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 8, 10, 0.56) 0%, rgba(8, 8, 10, 0) 32%, rgba(8, 8, 10, 0) 64%, rgba(8, 8, 10, 0.78) 100%);
  pointer-events: none;
}

.kinetic-stage__overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: calc(var(--header-h) + 28px);
  padding-bottom: clamp(28px, 4vw, 48px);
  pointer-events: none;
}

.kinetic-stage__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.kinetic-stage__caption {
  margin: 0;
  max-width: 42ch;
  font-size: 0.92rem;
  color: var(--chalk-soft);
}

.kinetic-stage__hint {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--chalk-soft);
}

.kinetic-stage__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.kinetic-stage__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 4.1rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.kinetic-stage__title span {
  color: var(--orange-bright);
}

.kinetic-switch {
  pointer-events: auto;
  display: flex;
  gap: 22px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kinetic-switch button {
  color: var(--chalk-muted);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.kinetic-switch button:hover,
.kinetic-switch button.is-active {
  color: var(--chalk);
}

.kinetic-switch button.is-active {
  border-bottom-color: var(--orange);
}

/* ==========================================================================
   WORKS — MULTI-SPEED DEPTH PARALLAX + VELOCITY SKEW + WEBGL DISPLACEMENT
   ========================================================================== */
.works-pin-track {
  position: relative;
  height: 360svh;
  background: var(--void);
  color: var(--chalk);
}

.works-pin-viewport {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: calc(var(--header-h) + 28px);
  padding-bottom: 28px;
  overflow: hidden;
}

.works-pin-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 36px;
}

.works-rail-mask {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-block: 16px;
}

.works-rail {
  display: flex;
  gap: clamp(32px, 5vw, 72px);
  padding-inline: var(--gutter);
  will-change: transform;
}

.work-slide {
  position: relative;
  flex: 0 0 min(82vw, 1140px);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 28px 48px;
  align-items: end;
  perspective: 1400px;
  will-change: transform;
}

.work-slide__bg-num {
  position: absolute;
  top: -0.22em;
  right: 0;
  font-family: var(--font-display);
  font-size: clamp(7rem, 16vw, 15rem);
  font-weight: 800;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 240, 232, 0.11);
  pointer-events: none;
  user-select: none;
  will-change: transform;
}

.work-slide--nda {
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: clamp(36px, 5vw, 72px);
  border: 1px solid var(--rule-dark-strong);
  background: radial-gradient(circle at 80% 30%, rgba(255, 77, 0, 0.16) 0%, transparent 56%), var(--void-surface);
}

.works-hud {
  display: grid;
  gap: 14px;
}

.works-hud__bar {
  width: 100%;
  height: 2px;
  background: var(--rule-dark);
  overflow: hidden;
}

.works-hud__fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--orange) 0%, #ff9947 100%);
  transform-origin: left center;
  transform: scaleX(0);
  will-change: transform;
}

.works-hud__chapters {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-variant-numeric: tabular-nums;
  color: var(--chalk-muted);
}

.works-chapters-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.works-chapter-btn {
  color: var(--chalk-muted);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.works-chapter-btn:hover,
.works-chapter-btn.is-active {
  color: var(--chalk);
}

.works-chapter-btn.is-active {
  border-bottom-color: var(--orange);
}

.work-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #141418;
  overflow: hidden;
  border: 1px solid var(--rule-dark);
  transform-style: preserve-3d;
  transition: border-color 0.4s var(--ease), box-shadow 0.5s var(--ease);
  will-change: transform;
}

.work-frame:hover {
  border-color: rgba(255, 77, 0, 0.52);
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 77, 0, 0.18);
}

.work-frame::after {
  content: '';
  position: absolute;
  inset: 10px;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease-expo);
  background:
    linear-gradient(var(--orange), var(--orange)) top left / 14px 1.5px no-repeat,
    linear-gradient(var(--orange), var(--orange)) top left / 1.5px 14px no-repeat,
    linear-gradient(var(--orange), var(--orange)) top right / 14px 1.5px no-repeat,
    linear-gradient(var(--orange), var(--orange)) top right / 1.5px 14px no-repeat,
    linear-gradient(var(--orange), var(--orange)) bottom left / 14px 1.5px no-repeat,
    linear-gradient(var(--orange), var(--orange)) bottom left / 1.5px 14px no-repeat,
    linear-gradient(var(--orange), var(--orange)) bottom right / 14px 1.5px no-repeat,
    linear-gradient(var(--orange), var(--orange)) bottom right / 1.5px 14px no-repeat;
}

.work-frame:hover::after {
  opacity: 1;
  transform: scale(1);
}

.work-frame picture {
  width: 100%;
  height: 100%;
}

.work-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.14);
  will-change: transform;
}

.work-gl-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.work-frame.has-gl .work-gl-canvas {
  opacity: 1;
}

.work-info {
  display: grid;
  gap: 16px;
  padding-bottom: 8px;
  will-change: transform;
}

.work-info__num {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--orange-bright);
  letter-spacing: 0.1em;
}

.work-info h3 {
  margin: 0;
  font-size: var(--text-h3-lg);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: -0.015em;
}

.work-info__role {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  color: var(--chalk-muted);
}

.work-info__desc {
  margin: 0;
  color: var(--chalk-soft);
  font-size: 0.94rem;
  line-height: 1.9;
}

.work-info__links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 8px;
}

.nda-line {
  margin-top: clamp(64px, 8vw, 112px);
  padding-top: 32px;
  border-top: 1px solid var(--rule-dark);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 48px;
  align-items: center;
}

.nda-line p {
  margin: 0;
  color: var(--chalk-soft);
  font-size: 0.94rem;
  max-width: 68ch;
}

.nda-line strong {
  color: var(--chalk);
}

/* ==========================================================================
   PROCESS — SCROLL-SCRUBBED MOLTEN FORGE PROGRESS BAR + STUDIO TABLE
   ========================================================================== */
.flow-wrap {
  position: relative;
}

.flow-track {
  position: relative;
  height: 2px;
  background: var(--rule);
  margin-bottom: 0;
  overflow: hidden;
}

.flow-track__molten {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--orange) 0%, #ff9a42 100%);
  transform-origin: left center;
  transform: scaleX(0);
  will-change: transform;
}

.flow-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--rule);
}

.flow-item {
  padding: 28px 24px 32px 0;
  display: grid;
  gap: 10px;
  align-content: start;
  transform: translateY(14px);
  transition: color 0.45s var(--ease), transform 0.55s var(--ease);
}

.flow-item.is-hot {
  transform: translateY(0);
}

.flow-item + .flow-item {
  padding-left: 24px;
  border-left: 1px solid var(--rule);
}

.flow-item__n {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #8f2d00;
  transition: color 0.35s var(--ease);
}

.flow-item.is-hot .flow-item__n {
  color: var(--orange-ink);
}

.flow-item h3 {
  margin: 0;
  font-size: var(--text-h3);
  font-weight: 700;
  line-height: 1.38;
  color: #464440;
  transition: color 0.35s var(--ease);
}

.flow-item.is-hot h3 {
  color: var(--ink);
}

.flow-item p {
  margin: 0;
  font-size: var(--text-small);
  line-height: 1.85;
  color: #56534d;
  transition: color 0.35s var(--ease);
}

.flow-item.is-hot p {
  color: var(--ink-soft);
}

.studio-spread {
  margin-top: clamp(64px, 8vw, 116px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px 72px;
  align-items: start;
}

.studio-spread__left {
  display: grid;
  gap: 20px;
}

.studio-spread__left h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.studio-spread__left p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.studio-table {
  margin: 0;
  border-top: 1px solid var(--rule-strong);
}

.studio-table__row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 12px 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}

.studio-table dt {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-muted);
  padding-top: 2px;
}

.studio-table dd {
  margin: 0;
  font-size: 0.94rem;
  color: var(--ink);
}

/* ==========================================================================
   CLOSING STAGE (DARK + MOLTEN WEBGL)
   ========================================================================== */
.closing-stage {
  position: relative;
  z-index: 3;
  background: var(--void);
  color: var(--chalk);
  padding-block: clamp(96px, 14vw, 180px);
  overflow: hidden;
  border-top: 2px solid var(--orange);
}

.closing-stage__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.62;
  pointer-events: none;
}

.closing-stage__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 28px;
}

.closing-stage__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.closing-stage__title-jp {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 0.82em;
  letter-spacing: -0.015em;
}

.closing-stage__title span {
  color: var(--orange-bright);
}

.closing-stage__sub {
  margin: 0;
  max-width: 52ch;
  color: var(--chalk-soft);
  font-size: 0.98rem;
}

.closing-stage__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

/* ==========================================================================
   SUBPAGE HERO & EDITORIAL DETAIL LAYOUTS
   ========================================================================== */
.sub-hero {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--header-h) + clamp(56px, 8vw, 110px));
  padding-bottom: clamp(48px, 6vw, 84px);
  background: var(--void);
  color: var(--chalk);
  overflow: hidden;
  border-bottom: 2px solid var(--orange);
}

.sub-hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.56;
  pointer-events: none;
}

.sub-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 20px;
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--chalk-muted);
}

.crumb a:hover {
  color: var(--orange-bright);
}

.sub-hero__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(2.1rem, 4.6vw, 3.85rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.sub-hero__lead {
  margin: 0;
  max-width: 60ch;
  color: var(--chalk-soft);
  font-size: 1rem;
}

.sub-hero__spec {
  margin: 16px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--rule-dark);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 32px;
}

.sub-hero__spec dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--orange-bright);
  margin-bottom: 4px;
}

.sub-hero__spec dd {
  margin: 0;
  font-size: 0.94rem;
  color: var(--chalk);
}

.detail-list {
  border-top: 1px solid var(--rule-strong);
}

.detail-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: 16px 36px;
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
}

.detail-row__n {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--orange-ink);
}

.detail-row h3 {
  margin: 0;
  font-size: 1.24rem;
  font-weight: 700;
}

.detail-row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.stack-line {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 12px 24px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.stack-line span:first-child {
  color: var(--orange-ink);
}

.stack-line span:last-child {
  color: var(--ink-soft);
}

.sibling-links {
  margin-top: 56px;
  border-top: 1px solid var(--rule-strong);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sibling-links a {
  position: relative;
  overflow: hidden;
  padding: 28px 24px;
  border-bottom: 1px solid var(--rule);
  display: grid;
  gap: 8px;
  transition: color 0.3s var(--ease);
}

.sibling-links a + a {
  border-left: 1px solid var(--rule);
}

.sibling-links a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--void);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s var(--ease-expo);
  z-index: 0;
}

.sibling-links a > * {
  position: relative;
  z-index: 1;
}

.sibling-links a:hover::before {
  transform: scaleY(1);
}

.sibling-links a:hover {
  color: var(--chalk);
}

.sibling-links__num {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-variant-numeric: tabular-nums;
  color: var(--orange-ink);
}

.sibling-links a:hover .sibling-links__num {
  color: var(--orange-bright);
}

.sibling-links strong {
  font-size: 1.02rem;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ==========================================================================
   BESPOKE /services/* MONOGRAPH ARCHITECTURE
   ========================================================================== */
.svc-hero {
  position: relative;
  z-index: 1;
  min-height: min(86svh, 820px);
  padding-top: calc(var(--header-h) + clamp(36px, 5vw, 68px));
  padding-bottom: clamp(44px, 5vw, 72px);
  background: var(--void);
  color: var(--chalk);
  border-bottom: 2px solid var(--orange);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.svc-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 36px 56px;
  align-items: stretch;
}

.svc-hero__copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.svc-hero__ghost-num {
  position: absolute;
  top: -0.18em;
  right: -0.05em;
  font-family: var(--font-display);
  font-size: clamp(6rem, 13vw, 12.5rem);
  font-weight: 800;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 240, 232, 0.11);
  pointer-events: none;
  user-select: none;
}

.svc-stage {
  position: relative;
  min-height: 400px;
  border: 1px solid var(--rule-dark-strong);
  background: #0b0b0e;
  overflow: hidden;
  cursor: crosshair;
}

.svc-stage canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.svc-stage::after {
  content: '';
  position: absolute;
  inset: 10px;
  pointer-events: none;
  background:
    linear-gradient(var(--orange), var(--orange)) top left / 14px 1.5px no-repeat,
    linear-gradient(var(--orange), var(--orange)) top left / 1.5px 14px no-repeat,
    linear-gradient(var(--orange), var(--orange)) top right / 14px 1.5px no-repeat,
    linear-gradient(var(--orange), var(--orange)) top right / 1.5px 14px no-repeat,
    linear-gradient(var(--orange), var(--orange)) bottom left / 14px 1.5px no-repeat,
    linear-gradient(var(--orange), var(--orange)) bottom left / 1.5px 14px no-repeat,
    linear-gradient(var(--orange), var(--orange)) bottom right / 14px 1.5px no-repeat,
    linear-gradient(var(--orange), var(--orange)) bottom right / 1.5px 14px no-repeat;
}

.svc-stage__foot {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--chalk-muted);
  pointer-events: none;
}

/* Light Problem -> Capability Split */
.svc-split {
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(0, 1.26fr);
  gap: 44px 72px;
  align-items: start;
}

.svc-pain-box {
  position: sticky;
  top: calc(var(--header-h) + 36px);
  display: grid;
  gap: 20px;
}

.svc-pain-box h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 900;
  line-height: 1.3;
}

.svc-pain-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule-strong);
}

.svc-pain-list li {
  position: relative;
  padding: 18px 0 18px 24px;
  border-bottom: 1px solid var(--rule);
  font-size: 0.94rem;
  color: var(--ink-soft);
  line-height: 1.78;
}

.svc-pain-list li::before {
  content: '+';
  position: absolute;
  left: 0;
  top: 18px;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--orange-ink);
}

.svc-cap-list {
  border-top: 1px solid var(--rule-strong);
}

.svc-cap-item {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px 28px;
  padding: 32px 16px;
  border-bottom: 1px solid var(--rule);
  transition: padding-left 0.38s var(--ease), background-color 0.35s var(--ease);
}

.svc-cap-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.38s var(--ease-expo);
}

.svc-cap-item:hover {
  padding-left: 26px;
  background: rgba(255, 255, 255, 0.52);
}

.svc-cap-item:hover::before {
  transform: scaleY(1);
}

.svc-cap-item__num {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--orange-ink);
  padding-top: 4px;
}

.svc-cap-item h3 {
  margin: 0 0 10px;
  font-size: clamp(1.22rem, 1.8vw, 1.55rem);
  font-weight: 700;
  line-height: 1.32;
}

.svc-cap-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.svc-cap-item__deliverable {
  margin-top: 14px !important;
  padding-top: 12px;
  border-top: 1px dashed var(--rule);
  font-family: var(--font-mono);
  font-size: 0.76rem !important;
  color: var(--ink-muted) !important;
}

/* Dark Technical Deep-Dive Band (Unique per Service) */
.svc-deep {
  position: relative;
  z-index: 3;
  background: var(--void);
  color: var(--chalk);
  padding-block: clamp(72px, 9vw, 132px);
  border-top: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
}

.svc-deep-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--rule-dark-strong);
  border-bottom: 1px solid var(--rule-dark);
}

.svc-deep-col {
  padding: 32px 28px 36px 0;
  display: grid;
  gap: 14px;
  align-content: start;
}

.svc-deep-col + .svc-deep-col {
  padding-left: 28px;
  border-left: 1px solid var(--rule-dark);
}

.svc-deep-col__metric {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--orange-bright);
  letter-spacing: -0.02em;
}

.svc-deep-col h3 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
}

.svc-deep-col p {
  margin: 0;
  color: var(--chalk-soft);
  font-size: 0.92rem;
}

.svc-deep-foot {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 32px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--chalk-muted);
}
}

.case-plate {
  margin: 0 0 56px;
  border: 1px solid var(--rule);
  background: var(--void);
}

.case-plate img {
  width: 100%;
  height: auto;
}

.prose-block {
  max-width: 68ch;
  display: grid;
  gap: 20px;
}

.prose-block h2 {
  margin: 20px 0 0;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 700;
}

.prose-block p {
  margin: 0;
  color: var(--ink-soft);
}

/* ==========================================================================
   CONTACT & LEGAL
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: 44px 72px;
  align-items: start;
}

.contact-aside {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  display: grid;
  gap: 22px;
}

.contact-aside h2 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 700;
}

.contact-aside p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.93rem;
}

.form-shell {
  border-top: 2px solid var(--ink);
  padding-top: 28px;
}

.step-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--rule);
}

.step-readout {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--orange-ink);
}

.step-indicator {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--ink-muted);
}

.step-indicator .step.active {
  color: var(--ink);
  font-weight: 700;
  border-bottom: 2px solid var(--orange);
}

.form-pane { display: none; }
.form-pane.is-active { display: block; }
.form-grid { display: grid; gap: 24px; }
.form-row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.form-group { display: grid; gap: 8px; }

.form-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 700;
}

.req-mark { font-family: var(--font-mono); font-size: 0.7rem; color: var(--orange-ink); font-weight: 400; }
.opt-mark { font-family: var(--font-mono); font-size: 0.7rem; color: var(--ink-muted); font-weight: 400; }

.form-control {
  width: 100%;
  padding: 13px 14px;
  background: #ffffff;
  border: 1px solid var(--rule-strong);
  border-radius: 2px;
  color: var(--ink);
  font-size: 1rem;
  transition: border-color 0.2s var(--ease);
}

.form-control:focus { outline: none; border-color: var(--orange); }
textarea.form-control { min-height: 164px; resize: vertical; }
.form-group--error .form-control { border-color: #c62828; background: #fff7f7; }
.form-error { margin: 0; font-size: 0.83rem; color: #c62828; }
.check-group { display: grid; gap: 10px; }
.check-label { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--ink-soft); cursor: pointer; }
.check-label input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--orange); }
.check-label a { color: var(--orange-ink); text-decoration: underline; text-underline-offset: 3px; }
.honey-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.confirm-list { margin: 0 0 28px; border-top: 1px solid var(--rule); }
.confirm-row { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 10px 24px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.confirm-label { font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-muted); }
.confirm-value { margin: 0; white-space: pre-wrap; word-break: break-word; }
.confirm-value.empty { color: var(--ink-muted); }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.is-spinning { display: inline-block; width: 14px; height: 14px; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #ffffff; border-radius: 50%; animation: gf-spin 0.7s linear infinite; }
@keyframes gf-spin { to { transform: rotate(360deg); } }

.legal-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px 64px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 28px); }
.legal-toc ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.legal-toc li { border-bottom: 1px solid var(--rule); }
.legal-toc a { display: flex; gap: 10px; padding: 10px 0; font-size: 0.84rem; color: var(--ink-muted); }
.legal-toc a:hover { color: var(--orange-ink); }
.legal-list { border-top: 1px solid var(--rule-strong); }
.legal-entry { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px 24px; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.legal-entry__n { font-family: var(--font-mono); font-size: 0.86rem; font-weight: 600; color: var(--orange-ink); }
.legal-entry h2 { margin: 0 0 10px; font-size: 1.15rem; font-weight: 700; }
.legal-entry p, .legal-entry li { color: var(--ink-soft); font-size: 0.94rem; }
.legal-entry ul { margin: 8px 0 0; padding-left: 20px; }
.legal-entry a { color: var(--orange-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 3;
  background: var(--void);
  color: var(--chalk);
  border-top: 1px solid var(--rule-dark);
  padding-top: clamp(56px, 7vw, 92px);
  padding-bottom: 36px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 0.7fr));
  gap: 36px 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule-dark);
}

.footer-brand p { margin: 14px 0 0; color: var(--chalk-muted); font-size: 0.88rem; max-width: 36ch; }
.footer-col h3 { margin: 0 0 14px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--chalk-muted); text-transform: uppercase; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { font-size: 0.9rem; color: var(--chalk-soft); transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--orange-bright); }
.footer-bottom { padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-size: 0.74rem; color: var(--chalk-muted); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .vernier-ruler {
    display: none;
  }

  .statement-grid,
  .services-split,
  .work-slide,
  .studio-spread,
  .contact-grid,
  .legal-grid,
  .svc-hero__grid,
  .svc-split {
    grid-template-columns: 1fr;
  }

  .svc-pain-box {
    position: static;
  }

  .svc-stage {
    min-height: 320px;
  }

  .services-dial {
    display: none;
  }

  .hero-track {
    height: auto;
  }

  .hero {
    position: relative;
    height: auto;
    min-height: 100svh;
  }

  .works-pin-track {
    height: auto;
    padding-block: clamp(72px, 10vw, 112px);
  }

  .works-pin-viewport {
    position: static;
    height: auto;
    padding-top: 0;
    overflow: visible;
  }

  .works-rail-mask {
    overflow: visible;
    margin-block: 36px 0;
  }

  .works-rail {
    flex-direction: column;
    gap: 56px;
    transform: none !important;
    width: 100%;
  }

  .work-slide {
    flex: none;
    width: 100%;
    transform: none !important;
  }

  .works-hud {
    display: none;
  }

  .ledger-row { grid-template-columns: 48px minmax(0, 1fr); gap: 12px 18px; padding-inline: 12px; }
  .ledger-row__desc-wrap, .ledger-row__go { grid-column: 2; }

  .flow-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-item:nth-child(3) { padding-left: 0; border-left: 0; }
  .flow-item:nth-child(n + 3) { border-top: 1px solid var(--rule); }
  .contact-aside, .legal-toc { position: static; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .br-pc {
    display: none;
  }

  .site-nav { display: none; }
  .menu-toggle { display: inline-block; }

  .hero__foot,
  .stance-strip,
  .flow-strip,
  .nda-line,
  .sub-hero__spec,
  .detail-row,
  .sibling-links,
  .stack-line,
  .form-row-2,
  .footer-top,
  .svc-deep-grid {
    grid-template-columns: 1fr;
  }

  .svc-deep-col,
  .svc-deep-col + .svc-deep-col {
    padding: 26px 0;
    border-left: 0;
    border-top: 1px solid var(--rule-dark);
  }

  .svc-deep-col:first-child {
    border-top: 0;
  }

  .svc-cap-item {
    grid-template-columns: 1fr;
    padding-inline: 10px;
  }

  .hero__right-tools { align-items: flex-start; }
  .flow-item, .flow-item + .flow-item { padding: 22px 0; border-left: 0; border-top: 1px solid var(--rule); }
  .flow-item:first-child { border-top: 0; }
  .sibling-links a + a { padding-left: 0; border-left: 0; }
  .studio-table__row, .confirm-row { grid-template-columns: 1fr; gap: 4px; }
  .kinetic-stage { height: 460px; }
  .portal-frame { clip-path: none !important; }
}

/* Architectural Q&A rows on /services/* and Journal index on Home */
.svc-faq {
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: clamp(44px, 5vw, 68px);
  border-top: 1px solid var(--rule-strong);
}

.svc-faq__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px 32px;
  margin-bottom: 24px;
}

.svc-faq__head h2 {
  margin: 0;
  font-size: var(--text-h3-lg);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.svc-faq__head p {
  margin: 0;
  color: var(--ink-muted);
  font-size: var(--text-small);
}

.svc-faq__list {
  margin: 0;
  border-top: 1px solid var(--rule);
}

.svc-faq__row {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 20px 56px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}

.svc-faq__row dt {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
}

.svc-faq__row dd {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.88;
  color: var(--ink-soft);
}

.studio-journal {
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--rule-strong);
}

.studio-journal__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px 24px;
  margin-bottom: 20px;
}

.studio-journal__head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.studio-journal__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.studio-journal__item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 12px 28px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.studio-journal__item:hover {
  border-bottom-color: var(--orange);
}

.studio-journal__item:hover .studio-journal__title {
  color: var(--orange-ink);
}

.studio-journal__date {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

.studio-journal__title {
  font-weight: 700;
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--ink);
  transition: color 0.25s var(--ease);
}

.studio-journal__cat {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--ink-muted);
}

@media (max-width: 900px) {
  .hero__title { min-height: 3.4em; }
  .hero__summary { min-height: 5.8em; }
  .svc-faq__row { grid-template-columns: 1fr; gap: 10px; }
  .studio-journal__item { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 520px) {
  .ledger-row { grid-template-columns: 1fr; }
  .ledger-row__desc-wrap, .ledger-row__go { grid-column: 1; }
  .legal-entry { grid-template-columns: 1fr; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mask-line__inner { transform: none; animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .flow-item { opacity: 1; }
  .portal-frame { clip-path: none !important; }
}

