/* ═══════════════════════════════════════════════════════════════════
   KŌAN — Master Bladesmiths
   Unique design system — not derived from any previous project
═══════════════════════════════════════════════════════════════════ */

:root {
  --black:          #080909;
  --black-mid:      #101213;
  --ember:          #CC2936;
  --ember-dim:      #8C1C1C;
  --ember-bright:   #E03040;
  --steel:          #8C9298;
  --cream:          #EDE8E2;
  --cream-dim:      #9A9590;
  --white:          #F5F2EE;

  --font-display:   'Shippori Mincho', Georgia, serif;
  --font-body:      'Noto Sans JP', system-ui, sans-serif;

  --ease:           cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-hard:      cubic-bezier(0.76, 0, 0.24, 1);
}

/* ─── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body {
  background: var(--black);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; }
a { text-decoration: none; color: inherit; }
button { background: none; border: none; cursor: pointer; padding: 0; }

/* ─── Loader ─────────────────────────────────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.9s var(--ease), visibility 0.9s;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-kanji {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 400;
  color: var(--ember);
  line-height: 1;
  opacity: 0.85;
}
.loader-bar-wrap {
  width: 120px;
  height: 1px;
  background: rgba(204,41,54,0.2);
}
#loader-bar {
  height: 1px;
  width: 0%;
  background: var(--ember);
  transition: width 0.15s linear;
}
#loader-percent {
  font-size: 0.65rem;
  font-weight: 200;
  letter-spacing: 0.3em;
  color: var(--steel);
}

/* ─── Header ─────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 48px;
  pointer-events: none;
}
.site-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5em;
  color: var(--cream);
  pointer-events: auto;
  position: relative;
  z-index: 201;
  mix-blend-mode: difference;
}
.menu-trigger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  pointer-events: auto;
  position: relative;
  z-index: 201;
  padding: 8px;
}
.menu-trigger span {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--cream);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.menu-trigger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-trigger.open span:nth-child(2) { opacity: 0; }
.menu-trigger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ─── Menu Overlay ───────────────────────────────────────────────── */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 150;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 8vw 140px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.menu-overlay.open {
  opacity: 1;
  visibility: visible;
}
.menu-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.menu-nav a {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 400;
  font-style: normal;
  color: var(--cream);
  line-height: 1.1;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  transition: color 0.3s, padding-left 0.4s var(--ease);
  display: block;
}
.menu-nav a:last-child { border-bottom: 1px solid rgba(255,255,255,0.08); }
.menu-nav a:hover { color: var(--ember); padding-left: 2vw; }
.menu-footer {
  position: absolute;
  bottom: 48px;
  left: 8vw;
  right: 8vw;
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  font-weight: 200;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
}

/* ─── Canvas ─────────────────────────────────────────────────────── */
.canvas-wrap {
  position: fixed;
  inset: 0;
  z-index: 1;
}
#canvas { width: 100%; height: 100%; display: block; }

/* ─── Hero Overlay ───────────────────────────────────────────────── */
#hero-overlay {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

/* Meta labels — top left */
.hero-meta {
  position: absolute;
  top: 92px;
  left: 48px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
}
.hero-meta-line {
  font-size: 0.6rem;
  font-weight: 200;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--steel);
}

/* Giant kanji watermark — right side, structural */
.hero-kanji-bg {
  position: absolute;
  right: -0.1em;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(40vw, 55vw, 65vw);
  font-weight: 400;
  color: transparent;
  -webkit-text-stroke: 1px rgba(237,232,226,0.06);
  line-height: 1;
  user-select: none;
  opacity: 0;
}

/* Name — bottom left, grounded */
.hero-name {
  position: absolute;
  bottom: 72px;
  left: 48px;
  overflow: hidden;
}
.hero-word {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 18rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 0.85;
  color: var(--white);
  opacity: 0;
  transform: translateY(80px);
  text-shadow: 0 0 120px rgba(0,0,0,0.8);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 72px;
  right: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
}
.scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, var(--ember), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.08); }
}
.scroll-label {
  font-size: 0.55rem;
  font-weight: 200;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--steel);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

/* ─── Marquee ─────────────────────────────────────────────────────── */
.marquee-wrap {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  border-top: 1px solid rgba(204,41,54,0.15);
  background: rgba(8,9,9,0.6);
  backdrop-filter: blur(8px);
  padding: 14px 0;
}
.marquee-text {
  display: inline-block;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.6vw, 1.4rem);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.05em;
  color: var(--steel);
  will-change: transform;
}

/* ─── Scroll Container (320vh) ───────────────────────────────────── */
#scroll-container {
  position: relative;
  height: 320vh;
  z-index: 10;
  pointer-events: none;
}

/* ─── Scroll Sections — statements on canvas, no boxes ───────────── */
.scroll-section {
  position: absolute;
  width: 100%;
  pointer-events: none;
}

#scroll-container .scroll-section:nth-child(1) { top: 110vh; }
#scroll-container .scroll-section:nth-child(2) { top: 163vh; }
#scroll-container .scroll-section:nth-child(3) { top: 216vh; }
#scroll-container .scroll-section:nth-child(4) { top: 262vh; }

.koan-statement {
  display: flex;
  align-items: center;
  padding: 0 7vw;
}
.koan-statement.align-right {
  justify-content: flex-end;
}

.statement-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 52vw;
}
.koan-statement.align-right .statement-inner {
  align-items: flex-end;
  text-align: right;
}

.statement-index {
  font-size: 0.58rem;
  font-weight: 200;
  letter-spacing: 0.35em;
  color: var(--ember-dim);
  text-transform: uppercase;
}

.statement-text {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 5.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--white);
  text-shadow:
    0 2px 40px rgba(0,0,0,0.9),
    0 0 80px rgba(0,0,0,0.7),
    0 0 160px rgba(0,0,0,0.5);
}
.statement-text em {
  font-style: normal;
  font-weight: 400;
  color: var(--ember);
}

/* ─── Blade Transform Video ──────────────────────────────────────── */
#blade-transform-video {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  object-fit: cover;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
}

/* ─── Blade Macro Video ──────────────────────────────────────────── */
#blade-macro-video {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  object-fit: cover;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
}

/* ─── Blade Scroll Sections ──────────────────────────────────────── */
#blade-transform-section { position: relative; height: 280vh; }
#blade-macro-section     { position: relative; height: 500vh; }

/* ─── Blade Stats Overlay ────────────────────────────────────────── */
#blade-stats-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 45%;
  height: 100%;
  z-index: 5;
  display: flex;
  align-items: center;
  padding-left: 8vw;
  pointer-events: none;
}
.blade-stat {
  position: absolute;
  opacity: 0;
  display: flex;
  align-items: baseline;
  gap: 24px;
}
.bs-number {
  font-family: var(--font-display);
  font-size: clamp(5rem, 11vw, 9rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1;
  text-shadow: 0 0 80px rgba(0,0,0,0.9);
}
.bs-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bs-suffix {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  font-weight: 400;
  font-style: normal;
  color: var(--ember);
  line-height: 1;
}
.bs-label {
  font-size: 0.58rem;
  font-weight: 200;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--steel);
}


/* ─── Post-Scroll Wrap ───────────────────────────────────────────── */
.post-scroll-wrap {
  position: relative;
  z-index: 20;
  background: var(--black);
}

/* ─── The Numbers ─────────────────────────────────────────────────── */
.numbers-section {
  display: flex;
  flex-direction: column;
}
.number-band {
  display: flex;
  align-items: center;
  padding: 0 8vw;
  height: 22vh;
  min-height: 140px;
  border-bottom: 1px solid rgba(204,41,54,0.12);
}
.number-band--ember { background: var(--ember); }
.number-band--dark  { background: var(--black-mid); }

.number-band-content {
  display: flex;
  align-items: baseline;
  gap: 32px;
  width: 100%;
}
.band-number {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 10rem);
  font-weight: 600;
  line-height: 1;
  color: var(--white);
  min-width: 3ch;
}
.number-band--ember .band-number { color: var(--black); }
.band-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.band-suffix {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 2.2rem);
  font-weight: 400;
  font-style: normal;
  color: rgba(255,255,255,0.5);
  line-height: 1;
}
.number-band--ember .band-suffix { color: rgba(8,9,9,0.5); }
.band-label {
  font-size: 0.62rem;
  font-weight: 200;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.number-band--ember .band-label { color: rgba(8,9,9,0.4); }

/* ─── Blade Cards ─────────────────────────────────────────────────── */
.blades-section {
  padding: 120px 5vw;
  background: var(--black);
}
.blades-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 72px;
}
.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--steel);
}
.blades-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 5.5rem);
  font-weight: 400;
  font-style: normal;
  color: var(--cream);
  line-height: 1;
}
.blades-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.blade-card { background: var(--black-mid); }

.blade-img-wrap {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
  cursor: pointer;
}
.blade-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), filter 1s var(--ease);
  filter: grayscale(20%);
}
.blade-card:hover .blade-img-wrap img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

.blade-specs-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,9,9,0.88);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding: 40px 32px;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.blade-card:hover .blade-specs-overlay { opacity: 1; }

.spec-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(204,41,54,0.15);
  font-size: 0.75rem;
}
.spec-line:last-child { border-bottom: none; }
.spec-line span:first-child {
  font-weight: 200;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember-dim);
  font-size: 0.6rem;
}
.spec-line span:last-child {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--cream);
}

.blade-info {
  padding: 24px 28px 28px;
  border-top: 1px solid rgba(204,41,54,0.1);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.blade-type {
  font-size: 0.58rem;
  font-weight: 200;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--steel);
}
.blade-name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.2vw, 2.4rem);
  font-weight: 400;
  font-style: normal;
  color: var(--cream);
  line-height: 1;
}
.blade-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ember);
  margin-top: 4px;
}
.blade-status {
  font-size: 0.55rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
  border: 1px solid rgba(140,146,152,0.25);
  padding: 5px 10px;
  align-self: flex-start;
  margin-top: 6px;
}
.blade-status--commission {
  color: var(--ember);
  border-color: rgba(204,41,54,0.3);
}

/* ─── Process Steps ───────────────────────────────────────────────── */
.process-section {
  background: var(--black-mid);
  padding: 120px 0 120px 8vw;
  overflow: hidden;
}
.process-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 72px;
  padding-right: 8vw;
}
.process-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 5.5rem);
  font-weight: 400;
  line-height: 1;
  color: var(--cream);
}
.process-title em { font-style: normal; color: var(--ember); }

.process-steps {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  padding-right: 8vw;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.process-steps::-webkit-scrollbar { display: none; }

.process-step {
  flex: 0 0 320px;
  background: var(--black);
  display: flex;
  flex-direction: column;
}
.step-number {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 600;
  color: rgba(204,41,54,0.12);
  line-height: 1;
  padding: 32px 28px 0;
}
.step-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  margin: 20px 0 0;
}
.step-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(40%);
  transition: filter 0.6s;
}
.process-step:hover .step-img img { filter: grayscale(0%); }
.step-body {
  padding: 24px 28px 36px;
  flex: 1;
  border-top: 1px solid rgba(204,41,54,0.1);
}
.step-temp {
  font-size: 0.6rem;
  font-weight: 200;
  letter-spacing: 0.25em;
  color: var(--ember);
  margin-bottom: 10px;
}
.step-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  font-style: normal;
  color: var(--cream);
  margin-bottom: 12px;
}
.step-desc {
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--steel);
}

/* ─── Damascus Section ───────────────────────────────────────────── */
.damascus-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background: var(--black);
}
.damascus-image {
  overflow: hidden;
  position: relative;
  cursor: crosshair;
}
.damascus-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.magnifier {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(204,41,54,0.6);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.8),
    0 8px 32px rgba(0,0,0,0.6),
    inset 0 0 0 1px rgba(255,255,255,0.06);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease;
  z-index: 10;
  background-repeat: no-repeat;
  transform: translate(-50%, -50%);
}
.damascus-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(60px, 8vw, 120px);
  border-left: 1px solid rgba(204,41,54,0.15);
}
.damascus-quote {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--cream);
  quotes: none;
  margin: 24px 0 56px;
}
.damascus-quote em { font-style: normal; color: var(--ember); }
.damascus-spec-row {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(204,41,54,0.15);
}
.damascus-spec {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid rgba(204,41,54,0.08);
}
.ds-val {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.5vw, 2.8rem);
  font-weight: 600;
  color: var(--cream);
}
.ds-label {
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
}

/* ─── Commission ─────────────────────────────────────────────────── */
.commission-section {
  background: var(--black);
  padding: 160px 8vw;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(204,41,54,0.12);
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.commission-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.commission-heading {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 6.5rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--white);
  margin: 20px 0 48px;
}
.commission-accent {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 13rem);
  font-weight: 700;
  line-height: 0.85;
  color: var(--ember);
  letter-spacing: -0.02em;
}
.commission-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 64px;
  border-left: 2px solid var(--ember);
  padding-left: 32px;
}
.commission-body p {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--steel);
}
.commission-form {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 440px;
}
.commission-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(237,232,226,0.2);
  padding: 18px 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--cream);
  outline: none;
  transition: border-color 0.3s;
}
.commission-input::placeholder { color: var(--steel); }
.commission-input:focus { border-color: var(--ember); }
.commission-button {
  display: inline-block;
  margin-top: 32px;
  padding: 0;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--ember);
  text-transform: uppercase;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: letter-spacing 0.4s var(--ease), color 0.3s;
}
.commission-button:hover { letter-spacing: 0.25em; color: var(--ember-bright); }

.commission-kanji {
  position: absolute;
  right: -0.05em;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(40vw, 55vw, 65vw);
  font-weight: 400;
  color: transparent;
  -webkit-text-stroke: 1px rgba(204,41,54,0.06);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  z-index: 1;
}

/* ─── Footer ─────────────────────────────────────────────────────── */
.site-footer {
  background: var(--black-mid);
  border-top: 1px solid rgba(204,41,54,0.1);
  padding: 48px 8vw;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.45em;
  color: var(--cream);
  flex-shrink: 0;
}
.footer-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 200;
  letter-spacing: 0.1em;
  color: var(--steel);
}
.footer-links {
  display: flex;
  gap: 28px;
  flex-shrink: 0;
}
.footer-links a {
  font-size: 0.62rem;
  font-weight: 200;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--steel);
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--cream); }

/* ─── Reveal Items ───────────────────────────────────────────────── */
.reveal-item {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .blades-grid { grid-template-columns: repeat(3, 1fr); }
  .damascus-section { grid-template-columns: 1fr; }
  .damascus-image { aspect-ratio: 16/9; }
  .process-step { flex: 0 0 280px; }
}

@media (max-width: 768px) {
  .site-header { padding: 24px; }
  .hero-name { bottom: 48px; left: 24px; }
  .hero-meta { left: 24px; }
  .hero-scroll-indicator { right: 24px; bottom: 48px; }

  #scroll-container { height: 220vh; }
  #scroll-container .scroll-section:nth-child(1) { top: 40vh; }
  #scroll-container .scroll-section:nth-child(2) { top: 90vh; }
  #scroll-container .scroll-section:nth-child(3) { top: 140vh; }
  #scroll-container .scroll-section:nth-child(4) { top: 185vh; }

  .koan-statement { padding: 0 5vw; }
  .statement-inner { max-width: 90vw; }
  .koan-statement.align-right { justify-content: flex-start; }
  .koan-statement.align-right .statement-inner { align-items: flex-start; text-align: left; }

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

  .commission-section { padding: 100px 6vw; }
  .commission-heading { font-size: clamp(2.5rem, 10vw, 5rem); }

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

  .number-band { height: auto; min-height: 100px; padding: 24px 6vw; }

  .process-step { flex: 0 0 260px; }

  .menu-overlay { padding: 0 6vw; }
  .menu-nav a { font-size: clamp(2.2rem, 10vw, 4rem); }

  .damascus-text { padding: clamp(40px, 6vw, 60px); }
}

@media (max-width: 480px) {
  .hero-kanji-bg { font-size: 80vw; }
  .commission-kanji { font-size: 80vw; }
  .process-step { flex: 0 0 240px; }
}
