/* ============================================================
   KIRIMA Architects — Core stylesheet
   Design language: SANAA / Herzog & de Meuron / Kuma register.
   Pure white · graphite · copper · generous whitespace.
   ============================================================ */

:root {
  --paper:   #FFFFFF;
  --ink:     #2A2A2A;
  --copper:  #B87333;
  --hair:    rgba(42,42,42,0.14);
  --hair-strong: rgba(42,42,42,0.28);
  --mute:    rgba(42,42,42,0.56);
  --faint:   rgba(42,42,42,0.08);

  --font-en: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-jp: 'Noto Sans JP', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  /* Margins are structural, not decorative. */
  --edge: clamp(24px, 3vw, 56px);
  --edge-lg: clamp(48px, 6vw, 120px);
}

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

html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-en);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
html { scroll-behavior: smooth; }
body {
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.005em;
  overflow-x: hidden;
}

/* Japanese + English cohabitation */
.jp {
  font-family: var(--font-jp);
  font-weight: 200;      /* Thin / ExtraLight */
  letter-spacing: 0.04em;
  line-height: 1.8;
}
.en {
  font-family: var(--font-en);
  letter-spacing: 0.01em;
}

/* ─── Typography scale ───────────────────────────── */
.type-display {
  font-family: var(--font-en);
  font-weight: 200;
  font-size: clamp(44px, 7.2vw, 128px);
  line-height: 0.96;
  letter-spacing: -0.03em;
}
.type-display-jp {
  font-family: var(--font-jp);
  font-weight: 200;
  font-size: clamp(32px, 5vw, 84px);
  line-height: 1.35;
  letter-spacing: 0.02em;
}
.type-h1 {
  font-family: var(--font-en);
  font-weight: 200;
  font-size: clamp(32px, 4.2vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.type-h2 {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: clamp(22px, 2.4vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.type-body {
  font-size: 14.5px;
  line-height: 1.65;
  font-weight: 300;
}
.type-body-jp {
  font-family: var(--font-jp);
  font-weight: 200;
  font-size: 14.5px;
  line-height: 1.95;
  letter-spacing: 0.06em;
}
.type-micro {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 400;
  color: var(--mute);
}
.type-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
}
.type-caption {
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--mute);
  line-height: 1.55;
}

/* ─── Layout ─────────────────────────────────────── */
.edge    { padding-left: var(--edge); padding-right: var(--edge); }
.edge-lg { padding-left: var(--edge-lg); padding-right: var(--edge-lg); }

.hair    { height: 1px; background: var(--hair); border: 0; width: 100%; }
.hair-v  { width: 1px; background: var(--hair); }

/* ─── Fine UI pieces ─────────────────────────────── */
.copper { color: var(--copper); }
.dot    { width: 5px; height: 5px; border-radius: 50%; background: var(--copper); display: inline-block; }
.dot-ink{ width: 5px; height: 5px; border-radius: 50%; background: var(--ink); display: inline-block; }

a { color: inherit; text-decoration: none; }
button { background: none; border: 0; font: inherit; color: inherit; cursor: pointer; padding: 0; }

/* ─── Custom cursor ──────────────────────────────── */
@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor, body.has-custom-cursor * { cursor: none; }
}
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 260ms cubic-bezier(.2,.7,.2,1), height 260ms cubic-bezier(.2,.7,.2,1), background 260ms;
  mix-blend-mode: difference;
}
.cursor-dot.hover {
  width: 46px; height: 46px;
  background: var(--copper);
}
.cursor-label {
  position: fixed;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 10000;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transition: opacity 160ms;
}
.cursor-label.on { opacity: 1; }

/* ─── Revealed on scroll ─────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 900ms cubic-bezier(.2,.7,.2,1), transform 900ms cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 80ms; }
.reveal.d2 { transition-delay: 160ms; }
.reveal.d3 { transition-delay: 240ms; }
.reveal.d4 { transition-delay: 320ms; }

/* ─── Nav ────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--edge);
  mix-blend-mode: difference;
  color: #fff;  /* difference mode inverts against any bg */
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav-logo {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.22em;
}
.nav-logo .mark {
  display: inline-block;
  width: 7px; height: 7px; background: var(--copper);
  margin-right: 10px;
  transform: translateY(-1px);
}
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.72;
  transition: opacity 200ms;
  position: relative;
}
.nav-links a:hover { opacity: 1; }
.nav-links a.is-active { opacity: 1; }
.nav-links a.is-active::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -6px;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--copper);
  transform: translateX(-50%);
}
.nav-lang {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
}
.nav-lang button {
  opacity: 0.45;
  transition: opacity 180ms;
}
.nav-lang button.on { opacity: 1; }
.nav-lang .sep { opacity: 0.35; }

/* ─── Section heading header ─────────────────────── */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  padding-top: 14vh;
  padding-bottom: 8vh;
}
.section-head .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--mute);
}
.section-head .label {
  font-family: var(--font-en);
  font-weight: 200;
  font-size: clamp(40px, 5.2vw, 88px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-top: 18px;
}
.section-head .meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--mute);
  text-transform: uppercase;
  text-align: right;
  white-space: nowrap;
}

/* ─── Hero ───────────────────────────────────────── */
.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  padding-top: 22vh;
}
.hero .inner {
  padding-left: var(--edge);
  padding-right: var(--edge);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 6vw;
  align-items: start;
}
.hero .title {
  white-space: pre-line;
}
.hero .right {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding-top: 12px;
  max-width: 440px;
}
.hero .right .ja-line {
  white-space: pre-line;
  font-family: var(--font-jp);
  font-weight: 200;
  font-size: 16px;
  line-height: 2.0;
  letter-spacing: 0.08em;
}
.hero-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 24px;
  padding: 28px var(--edge);
  border-top: 1px solid var(--hair);
  align-items: center;
}
.hero-footer .scroll-ind {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
  justify-self: end;
}
.hero-footer .scroll-ind .bar {
  width: 64px; height: 1px;
  background: linear-gradient(to right, transparent, var(--ink), transparent);
  background-size: 200% 100%;
  animation: bar-slide 2.4s linear infinite;
}
@keyframes bar-slide { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

/* Hero cinema plate (2.35:1) — sits beneath the title, pushed a bit */
.hero-plate {
  position: absolute;
  right: var(--edge);
  top: 16vh;
  width: min(46vw, 620px);
  aspect-ratio: 2.35 / 1;
  overflow: hidden;
  background: #e9e6e2;
}
.hero-plate img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(20%) contrast(1.02);
  transform: scale(1.02);
  transition: transform 1200ms cubic-bezier(.2,.7,.2,1);
}
.hero-plate:hover img { transform: scale(1.06); }
.hero-plate .cap {
  position: absolute;
  left: 0; bottom: -22px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--mute);
  text-transform: uppercase;
}

/* ─── Horizontal project rail ───────────────────── */
.rail-wrap {
  position: relative;
  padding-top: 12px;
  padding-bottom: 80px;
}
.rail {
  display: flex;
  gap: 48px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--edge);
  padding: 12px var(--edge) 48px;
  scrollbar-width: none;
  cursor: grab;
}
.rail::-webkit-scrollbar { display: none; }
.rail.grabbing { cursor: grabbing; }
.rail-card {
  flex: 0 0 auto;
  width: clamp(320px, 38vw, 620px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 18px;
  user-select: none;
}
.rail-card .frame {
  width: 100%;
  aspect-ratio: 2.35 / 1;
  overflow: hidden;
  background: #e8e5e1;
  position: relative;
}
.rail-card .frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(18%) contrast(1.02);
  transform: scale(1.02);
  transition: transform 1200ms cubic-bezier(.2,.7,.2,1), filter 800ms;
  will-change: transform;
}
.rail-card:hover .frame img {
  transform: scale(1.06);
  filter: grayscale(0%) contrast(1.04);
}
.rail-card .no {
  position: absolute;
  left: 12px; top: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: #fff;
  mix-blend-mode: difference;
}
.rail-card .meta-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}
.rail-card .title {
  font-family: var(--font-en);
  font-weight: 200;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.rail-card .title .jp {
  display: block;
  font-size: 14px;
  color: var(--mute);
  margin-top: 6px;
  font-weight: 200;
}
.rail-card .sub {
  font-size: 13.5px;
  color: var(--mute);
  line-height: 1.55;
  max-width: 90%;
}
.rail-card .sub.jp { font-size: 13px; line-height: 1.85; }

.rail-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--edge);
}
.rail-progress .track {
  flex: 1;
  height: 1px;
  background: var(--hair);
  position: relative;
}
.rail-progress .fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--ink);
  transition: width 220ms linear;
}
.rail-progress .count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--mute);
}
.rail-progress .hint {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--mute);
  text-transform: uppercase;
  display: flex; align-items: center; gap: 12px;
}

/* ─── Project detail ─────────────────────────────── */
.detail {
  padding: 16vh var(--edge) 12vh;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1.4fr);
  gap: 80px;
}
.detail .meta-col {
  padding-top: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--mute);
  text-transform: uppercase;
  line-height: 1.9;
}
.detail-hero {
  width: 100%;
  aspect-ratio: 2.35 / 1;
  overflow: hidden;
  background: #e9e6e2;
  margin-bottom: 72px;
}
.detail-hero img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(15%) contrast(1.03); }

.detail .main-col { max-width: 820px; }

.detail h1.title-line {
  font-family: var(--font-en);
  font-weight: 200;
  font-size: clamp(40px, 5.6vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.detail h1.title-line .jp {
  display: block;
  font-family: var(--font-jp);
  font-weight: 200;
  font-size: 0.32em;
  color: var(--mute);
  letter-spacing: 0.08em;
  margin-top: 22px;
}
.detail .lead {
  font-family: var(--font-jp);
  font-weight: 200;
  font-size: 18px;
  line-height: 2.0;
  letter-spacing: 0.06em;
  max-width: 680px;
  margin: 48px 0 80px;
}
.detail .lead.en {
  font-family: var(--font-en);
  font-size: 20px;
  line-height: 1.55;
  letter-spacing: -0.005em;
}

.spec-table {
  width: 100%;
  border-top: 1px solid var(--ink);
}
.spec-table .row {
  display: grid;
  grid-template-columns: 160px 1fr;
  padding: 14px 0;
  border-bottom: 1px solid var(--hair);
  font-size: 13px;
  gap: 24px;
}
.spec-table .row .k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
}

.plate-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 80px 0;
}
.plate-pair .plate {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #e7e4df;
}
.plate-pair .plate.tall { aspect-ratio: 4 / 5; }
.plate-pair .plate img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(12%) contrast(1.02); }

.full-plate {
  width: 100vw;
  margin-left: calc(-1 * var(--edge));
  margin-right: calc(-1 * var(--edge));
  aspect-ratio: 2.35 / 1;
  overflow: hidden;
  background: #e7e4df;
  margin-top: 80px;
  margin-bottom: 80px;
}
.full-plate img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(14%) contrast(1.02); }

.caption-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin: 64px 0;
}
.caption-block .cap {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink);
}
.caption-block .cap.jp {
  font-family: var(--font-jp);
  font-weight: 200;
  line-height: 2.0;
  letter-spacing: 0.06em;
}
.caption-block .cap small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 12px;
}

/* ─── Studio ─────────────────────────────────────── */
.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 80px;
  padding: 0 var(--edge) 12vh;
}
.studio-lead {
  font-family: var(--font-jp);
  font-weight: 200;
  font-size: 19px;
  line-height: 2.1;
  letter-spacing: 0.08em;
  max-width: 620px;
  white-space: pre-line;
}
.studio-lead.en {
  font-family: var(--font-en);
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  font-weight: 200;
}
.studio-portrait {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #e7e4df;
}
.studio-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(85%) contrast(1.05);
}
.principal-block {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--hair);
}
.principal-block .name {
  font-family: var(--font-en);
  font-weight: 200;
  font-size: 28px;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.principal-block .bio {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink);
  max-width: 540px;
  white-space: pre-line;
}
.principal-block .bio.jp {
  font-family: var(--font-jp);
  font-weight: 200;
  line-height: 2.0;
  letter-spacing: 0.06em;
}

.team-table {
  padding: 60px var(--edge) 0;
  border-top: 1px solid var(--ink);
}
.team-table .row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) minmax(0, 2fr) 40px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--hair);
  gap: 24px;
  transition: padding-left 400ms cubic-bezier(.2,.7,.2,1);
}
.team-table .row:hover { padding-left: 20px; }
.team-table .row .idx {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--mute);
}
.team-table .row .role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}
.team-table .row .name {
  font-weight: 300;
  font-size: 20px;
  letter-spacing: -0.005em;
}
.team-table .row .arr {
  font-family: var(--font-mono);
  color: var(--copper);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 260ms, transform 260ms;
}
.team-table .row:hover .arr {
  opacity: 1; transform: translateX(0);
}

.awards-table {
  padding: 80px var(--edge) 0;
  border-top: 1px solid var(--ink);
}
.awards-table .row {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 80px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--hair);
  gap: 24px;
  font-size: 15px;
}
.awards-table .row .y {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--mute);
}
.awards-table .row .w {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--mute);
  text-align: right;
  text-transform: uppercase;
}

/* ─── Process ────────────────────────────────────── */
.process-grid {
  padding: 0 var(--edge) 12vh;
}
.process-row {
  display: grid;
  grid-template-columns: 80px minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  padding: 48px 0;
  border-top: 1px solid var(--hair);
  align-items: start;
}
.process-row:last-child { border-bottom: 1px solid var(--hair); }
.process-row .no {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--copper);
}
.process-row .ttl {
  font-family: var(--font-en);
  font-weight: 200;
  font-size: clamp(28px, 3.4vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.process-row .ttl .jp {
  display: block;
  font-family: var(--font-jp);
  font-size: 0.34em;
  color: var(--mute);
  margin-top: 10px;
  letter-spacing: 0.1em;
}
.process-row .body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  max-width: 520px;
}
.process-row .body.jp {
  font-family: var(--font-jp);
  font-weight: 200;
  line-height: 2.0;
  letter-spacing: 0.06em;
}

/* ─── Journal ────────────────────────────────────── */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px 64px;
  padding: 0 var(--edge) 12vh;
}
.journal-card { padding-top: 28px; border-top: 1px solid var(--ink); }
.journal-card .row1 {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 28px;
}
.journal-card .ttl {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  max-width: 90%;
}
.journal-card .ttl.jp {
  font-family: var(--font-jp);
  font-weight: 200;
  line-height: 1.5;
  letter-spacing: 0.04em;
  font-size: 22px;
}
.journal-card .lead {
  font-size: 13.5px;
  color: var(--mute);
  line-height: 1.65;
  max-width: 90%;
}
.journal-card .lead.jp {
  font-family: var(--font-jp);
  font-weight: 200;
  line-height: 1.95;
  letter-spacing: 0.05em;
}
.journal-card .arr {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
}
.journal-card .arr .line {
  display: inline-block;
  width: 24px; height: 1px; background: var(--ink);
  transition: width 400ms cubic-bezier(.2,.7,.2,1);
}
.journal-card:hover .arr .line { width: 56px; }

/* ─── Contact ────────────────────────────────────── */
.contact-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  padding: 0 var(--edge) 14vh;
}
.contact-lead {
  font-family: var(--font-jp);
  font-weight: 200;
  font-size: 18px;
  line-height: 2.0;
  letter-spacing: 0.06em;
  white-space: pre-line;
  max-width: 540px;
}
.contact-lead.en {
  font-family: var(--font-en);
  font-size: 19px;
  line-height: 1.6;
  letter-spacing: -0.005em;
  font-weight: 200;
}
.contact-lines .ln {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--hair);
  font-size: 14px;
  line-height: 1.5;
}
.contact-lines .ln:first-child { border-top: 1px solid var(--ink); }
.contact-lines .ln .k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  padding-top: 3px;
}
.contact-lines .ln .v.email {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.contact-cta {
  margin-top: 48px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  width: 100%;
  max-width: 540px;
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 22px;
  letter-spacing: -0.01em;
  transition: padding-left 400ms cubic-bezier(.2,.7,.2,1);
}
.contact-cta:hover { padding-left: 16px; }
.contact-cta .arr {
  flex: 1;
  height: 1px;
  background: var(--ink);
  position: relative;
}
.contact-cta .arr::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  width: 8px; height: 8px;
  border-top: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
  transform: translateY(-50%) rotate(45deg);
}
.contact-cta .copper-mark {
  width: 8px; height: 8px; background: var(--copper);
}

/* ─── Footer ─────────────────────────────────────── */
.site-foot {
  padding: 80px var(--edge) 40px;
  border-top: 1px solid var(--hair);
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: end;
}
.site-foot .quote {
  max-width: 680px;
  font-family: var(--font-jp);
  font-weight: 200;
  font-size: 18px;
  line-height: 2.0;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.site-foot .quote.en {
  font-family: var(--font-en);
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  font-style: italic;
  font-weight: 200;
}
.site-foot .line {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
  text-align: right;
}

/* ─── Narrow viewport adjustments ────────────────── */
@media (max-width: 900px) {
  .hero .inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-plate { position: static; width: 100%; margin: 36px 0 0; }
  .hero-footer { grid-template-columns: 1fr 1fr; }
  .hero-footer .scroll-ind { grid-column: span 2; justify-self: start; }
  .detail { grid-template-columns: 1fr; gap: 40px; }
  .studio-grid { grid-template-columns: 1fr; gap: 48px; }
  .process-row { grid-template-columns: 60px 1fr; gap: 24px; }
  .process-row .body { grid-column: 2; }
  .journal-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; gap: 56px; }
  .site-foot { grid-template-columns: 1fr; }
  .site-foot .line { text-align: left; }
  .team-table .row { grid-template-columns: 60px 1fr; }
  .team-table .row .name { grid-column: 2; }
  .team-table .row .arr { display: none; }
  .caption-block, .plate-pair { grid-template-columns: 1fr; gap: 32px; }
  .nav-links { display: none; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
