﻿:root {
  --void: #050505;
  --panel: #0d0f12;
  --panel-2: #14181f;
  --line: rgba(232, 255, 71, 0.18);
  --line-hard: rgba(255, 90, 31, 0.55);
  --ink: #f3f4f1;
  --muted: #a8b0b8;
  --orange: #ff5a1f;
  --acid: #e8ff47;
  --rail: 5.5rem;
  --font-latin: "Oswald", "Noto Sans SC", sans-serif;
  --font-display: "Noto Sans SC", sans-serif;
  --font-serif: "Noto Serif SC", "Noto Sans SC", serif;
  --font-sans: "Noto Sans SC", sans-serif;
  --font-mono: "Share Tech Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; background: var(--void); }

body {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(232,255,71,0.03) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(rgba(232,255,71,0.03) 1px, transparent 1px) 0 0 / 80px 80px,
    var(--void);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-menu-open { overflow: hidden; }

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select {
  font: inherit; color: inherit; border: 0; background: none;
}
button { cursor: none; }
::selection { background: var(--orange); color: #fff; }

/* Reticle cursor */
.reticle { position: fixed; inset: 0; pointer-events: none; z-index: 1200; }
.reticle__box {
  position: fixed; width: 22px; height: 22px;
  border: 1px solid var(--acid);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 1px rgba(5,5,5,.6);
}
.reticle__box::before, .reticle__box::after {
  content: ""; position: absolute; background: var(--orange);
}
.reticle__box::before { width: 10px; height: 1px; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.reticle__box::after { width: 1px; height: 10px; left: 50%; top: 50%; transform: translate(-50%, -50%); }
@media (hover: none), (pointer: coarse) {
  body { cursor: auto; }
  .reticle { display: none; }
  button { cursor: pointer; }
}

/* Boot screen */
.boot {
  position: fixed; inset: 0; z-index: 1100;
  display: grid; place-items: center;
  background: var(--void); color: var(--acid);
  transition: opacity .5s, visibility .5s;
}
.boot.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.boot__panel {
  width: min(28rem, 88vw);
  border: 1px solid var(--line-hard);
  padding: 1.5rem;
  background: var(--panel);
}
.boot__mono { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; color: var(--orange); }
.boot__title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.4rem, 8vw, 3.6rem);
  letter-spacing: .28em; margin: .6rem 0 1rem; color: var(--ink);
}
.boot__log {
  font-family: var(--font-mono); font-size: .72rem; line-height: 1.7;
  color: var(--muted); min-height: 5.5rem; margin-bottom: 1rem;
}
.boot__log b { color: var(--acid); font-weight: 400; }
.boot__meter { height: 4px; background: #222; overflow: hidden; }
.boot__meter i {
  display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--orange), var(--acid));
  animation: meter 1.3s var(--ease) forwards;
}
@keyframes meter { to { width: 100%; } }

/* Shutter transition */
.shutter {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; grid-template-rows: repeat(6, 1fr);
  pointer-events: none; visibility: hidden;
}
.shutter.is-on { visibility: visible; pointer-events: auto; }
.shutter__bar {
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
}
.shutter.is-leaving .shutter__bar {
  animation: barIn .55s var(--ease) forwards;
}
.shutter.is-leaving .shutter__bar:nth-child(1) { animation-delay: 0s; }
.shutter.is-leaving .shutter__bar:nth-child(2) { animation-delay: .04s; background: #ff6d38; }
.shutter.is-leaving .shutter__bar:nth-child(3) { animation-delay: .08s; }
.shutter.is-leaving .shutter__bar:nth-child(4) { animation-delay: .12s; background: #ff6d38; }
.shutter.is-leaving .shutter__bar:nth-child(5) { animation-delay: .16s; }
.shutter.is-leaving .shutter__bar:nth-child(6) { animation-delay: .2s; background: #ff6d38; }
.shutter.is-entering .shutter__bar {
  transform: scaleX(1);
  transform-origin: right;
  animation: barOut .55s var(--ease) forwards;
}
.shutter.is-entering .shutter__bar:nth-child(odd) { animation-delay: .05s; }
.shutter__mark {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-latin); font-size: clamp(3rem, 12vw, 7rem);
  letter-spacing: .2em; color: var(--void); opacity: 0; z-index: 2;
}
.shutter.is-leaving .shutter__mark { animation: markIn .35s .15s forwards; }
@keyframes barIn { to { transform: scaleX(1); } }
@keyframes barOut { to { transform: scaleX(0); } }
@keyframes markIn { to { opacity: 1; } }

/* HUD corners */
.hud-frame { position: fixed; inset: 12px; z-index: 40; pointer-events: none; }
.hud-frame__c {
  position: absolute; width: 28px; height: 28px;
  border: 2px solid var(--acid); opacity: .55;
}
.hud-frame__c--tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hud-frame__c--tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hud-frame__c--bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hud-frame__c--br { bottom: 0; right: 0; border-left: 0; border-top: 0; }

/* Left rail */
.rail {
  position: fixed; left: 0; top: 0; bottom: 0; width: var(--rail);
  z-index: 60; display: flex; flex-direction: column;
  align-items: center; justify-content: space-between;
  padding: 1rem 0 1.25rem;
  border-right: 1px solid var(--line);
  background: rgba(5,5,5,.92);
}
.rail__brand {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  text-align: center;
}
.rail__mark {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .2em;
  color: var(--orange); display: block; margin-bottom: .5rem;
}
.rail__name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.02rem; letter-spacing: .24em;
}
.rail__nav { display: grid; gap: 1rem; }
.rail__link {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: .78rem; letter-spacing: .14em; color: var(--muted);
  transition: color .25s;
}
.rail__link:hover, .rail__link.is-active { color: var(--acid); }
.rail__idx {
  font-family: var(--font-mono); font-size: .65rem; color: var(--orange);
  margin-bottom: .35rem;
}
.rail__stamp {
  font-family: var(--font-mono); font-size: .65rem; letter-spacing: .18em;
  color: var(--orange); text-align: center; line-height: 1.4; opacity: .8;
}

.topbar {
  position: fixed; top: 0; left: var(--rail); right: 0; z-index: 55;
  height: 3.5rem; display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.25rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
  background: rgba(5,5,5,.8); backdrop-filter: blur(8px);
}
.topbar__status {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; color: var(--muted);
  display: flex; align-items: center; gap: .5rem;
}
.topbar__dot {
  width: 7px; height: 7px; background: var(--acid);
  box-shadow: 0 0 10px var(--acid); animation: blink 1.4s infinite;
}
@keyframes blink { 50% { opacity: .35; } }
.topbar__cta {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em;
  border: 1px solid var(--orange); color: var(--orange); padding: .45rem .8rem;
  transition: background .25s, color .25s;
}
.topbar__cta:hover { background: var(--orange); color: #fff; }
.menu-btn {
  display: none; width: 2.4rem; height: 2.4rem; position: relative;
}
.menu-btn span {
  position: absolute; left: .4rem; right: .4rem; height: 2px; background: var(--acid);
}
.menu-btn span:nth-child(1) { top: .7rem; }
.menu-btn span:nth-child(2) { top: 1.15rem; }
.menu-btn span:nth-child(3) { top: 1.6rem; }

.drawer {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(5,5,5,.97); display: grid; place-content: center; gap: .4rem;
  opacity: 0; visibility: hidden; transition: .35s;
  padding: 2rem;
}
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer[hidden] { display: grid; }
.drawer a {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.1rem, 9vw, 3.4rem);
  letter-spacing: .2em; border-bottom: 1px solid var(--line); padding: .55rem 0;
  transform: translateX(-20px); opacity: 0;
  transition: .45s var(--ease); transition-delay: calc(var(--i) * .05s);
}
.drawer.is-open a { transform: none; opacity: 1; }
.drawer a em {
  font-style: normal; font-family: var(--font-mono); font-size: 1rem;
  color: var(--orange); margin-right: .8rem;
}
.drawer a.is-active { color: var(--acid); }

.shell { margin-left: var(--rail); padding-top: 3.5rem; min-height: 100vh; }
.main { position: relative; z-index: 1; }

@media (max-width: 960px) {
  .rail { display: none; }
  .shell { margin-left: 0; }
  .topbar { left: 0; }
  .menu-btn { display: block; }
  .hud-frame { inset: 8px; }
}

/* Reveal */
.fx { opacity: 0; transform: translateY(24px) skewY(1deg); transition: .8s var(--ease); }
.fx.is-in { opacity: 1; transform: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; padding: .95rem 1.25rem;
  border: 1px solid var(--acid); transition: .25s;
}
.btn--fill { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn--fill:hover { background: var(--acid); border-color: var(--acid); color: var(--void); }
.btn--line { color: var(--acid); }
.btn--line:hover { background: var(--acid); color: var(--void); }

/* ===== HOME HERO: split HUD ===== */
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr;
  min-height: calc(100vh - 3.5rem); border-bottom: 1px solid var(--line);
}
.hero__panel {
  display: grid; align-content: center; gap: 1.25rem;
  padding: clamp(2rem, 5vw, 4rem); position: relative;
  border-right: 1px solid var(--line);
}
.hero__kicker {
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .18em; color: var(--orange);
}
.hero__brand {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(3.2rem, 9.5vw, 6.4rem);
  line-height: 1.08; letter-spacing: .22em;
}
.hero__brand span { display: block; }
.hero__brand em {
  font-style: normal; color: var(--acid);
  -webkit-text-stroke: 1px var(--acid); color: transparent;
  letter-spacing: .24em;
}
.hero__sub {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem); letter-spacing: .14em;
  max-width: 14em; line-height: 1.5;
}
.hero__lead {
  color: var(--muted); max-width: 38ch; font-size: 1.05rem;
  font-weight: 300; line-height: 2;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .5rem; }
.hero__chips {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem;
}
.hero__chips span {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em;
  border: 1px solid var(--line); padding: .35rem .55rem; color: var(--muted);
}
.hero__stage {
  position: relative; min-height: 22rem; overflow: hidden; background: #000;
}
.hero__stage video, .hero__stage img {
  width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0;
  filter: contrast(1.08) saturate(.85);
}
.hero__stage-meta {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem; z-index: 2;
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; color: var(--acid);
}
.hero__stage::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 40%, rgba(5,5,5,.75)),
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,.08) 3px);
  pointer-events: none;
}
.hero__stage-frame {
  position: absolute; inset: 14px; border: 1px solid rgba(232,255,71,.35); z-index: 2; pointer-events: none;
}
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero__panel { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero__stage { min-height: 50vh; }
}

/* Stats strip */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}
.stats__item {
  padding: 1.25rem 1.4rem; border-right: 1px solid var(--line);
}
.stats__item:last-child { border-right: 0; }
.stats__num {
  font-family: var(--font-latin); font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: .04em; color: var(--acid); line-height: 1;
}
.stats__label {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em;
  color: var(--muted); margin-top: .4rem;
}
@media (max-width: 800px) { .stats { grid-template-columns: 1fr 1fr; } }

/* Block sections */
.block { padding: clamp(3rem, 8vh, 5.5rem) clamp(1.25rem, 4vw, 3rem); }
.block__head {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 1.25rem; align-items: end; margin-bottom: 2rem;
  border-bottom: 1px solid var(--line); padding-bottom: 1rem;
}
.block__code {
  font-family: var(--font-mono); color: var(--orange); font-size: .85rem; letter-spacing: .16em;
}
.block__title {
  font-family: var(--font-latin); font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  letter-spacing: .08em; line-height: .95; text-transform: uppercase;
}
.block__note {
  font-family: var(--font-mono); font-size: .72rem; color: var(--muted);
  letter-spacing: .1em; max-width: 18ch; text-align: right;
}
@media (max-width: 800px) {
  .block__head { grid-template-columns: 1fr; }
  .block__note { text-align: left; max-width: none; }
}

/* Mission zigzag */
.mission {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 0;
  border: 1px solid var(--line);
}
.mission__media {
  position: relative; min-height: 28rem; overflow: hidden; background: #000;
}
.mission__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.25) contrast(1.1);
}
.mission__media::before {
  content: "FIG.01"; position: absolute; top: 1rem; left: 1rem; z-index: 2;
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em;
  color: var(--acid); background: rgba(5,5,5,.65); padding: .3rem .5rem;
}
.mission__body {
  padding: clamp(1.5rem, 4vw, 2.8rem); background: var(--panel);
  display: grid; align-content: center; gap: 1rem;
  border-left: 1px solid var(--line);
}
.mission__body h2 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  letter-spacing: .16em; line-height: 1.4;
}
.mission__body p {
  color: var(--muted); font-weight: 300; line-height: 2; font-size: 1.05rem;
}
.mission__quote {
  border-left: 3px solid var(--orange); padding-left: 1rem;
  font-family: var(--font-serif); font-size: 1.2rem; font-weight: 600;
  line-height: 1.8; letter-spacing: .06em;
}
.mission__quote cite {
  display: block; margin-top: .7rem; font-style: normal;
  font-family: var(--font-mono); font-size: .7rem; color: var(--acid); letter-spacing: .14em;
}
@media (max-width: 900px) {
  .mission { grid-template-columns: 1fr; }
  .mission__body { border-left: 0; border-top: 1px solid var(--line); }
}

/* Capability rows */
.cap-list { display: grid; border: 1px solid var(--line); }
.cap-row {
  display: grid; grid-template-columns: 5rem 1.1fr 1.4fr auto;
  gap: 1rem; align-items: center;
  padding: 1.4rem 1.25rem; border-bottom: 1px solid var(--line);
  transition: background .25s;
}
.cap-row:last-child { border-bottom: 0; }
.cap-row:hover { background: var(--panel); }
.cap-row__num {
  font-family: var(--font-latin); font-weight: 700;
  font-size: 2rem; color: var(--orange); letter-spacing: .04em;
}
.cap-row h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.3rem, 2.6vw, 1.75rem); letter-spacing: .16em;
}
.cap-row__en {
  font-family: var(--font-mono); font-size: .7rem; color: var(--acid); letter-spacing: .12em; margin-bottom: .25rem;
}
.cap-row p { color: var(--muted); font-size: .98rem; font-weight: 300; line-height: 1.9; }
.cap-row__go {
  font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; color: var(--orange);
  white-space: nowrap;
}
@media (max-width: 900px) {
  .cap-row { grid-template-columns: 3rem 1fr; }
  .cap-row p, .cap-row__go { grid-column: 1 / -1; }
}

/* Work stack (home) */
.stack { display: grid; gap: 0; border: 1px solid var(--line); }
.stack__item {
  display: grid; grid-template-columns: 4.5rem 1fr 12rem;
  min-height: 8.5rem; border-bottom: 1px solid var(--line);
  overflow: hidden; position: relative; background: var(--panel);
}
.stack__item:last-child { border-bottom: 0; }
.stack__item:hover .stack__img img { transform: scale(1.06); filter: grayscale(0); }
.stack__no {
  font-family: var(--font-latin); font-weight: 700;
  font-size: 2rem; color: var(--orange);
  display: grid; place-items: center; border-right: 1px solid var(--line);
}
.stack__copy { padding: 1.2rem 1.3rem; display: grid; align-content: center; }
.stack__copy h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.45rem; letter-spacing: .16em; margin-bottom: .3rem;
}
.stack__copy p { font-family: var(--font-mono); font-size: .72rem; color: var(--muted); letter-spacing: .1em; }
.stack__img {
  position: relative; overflow: hidden; border-left: 1px solid var(--line);
}
.stack__img img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.5); transition: .7s var(--ease);
}
@media (max-width: 800px) {
  .stack__item { grid-template-columns: 3.2rem 1fr; }
  .stack__img { display: none; }
}

/* Process timeline horizontal */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--line);
}
.steps__item {
  padding: 1.5rem 1.2rem; border-right: 1px solid var(--line); background: var(--panel);
  min-height: 14rem;
}
.steps__item:last-child { border-right: 0; }
.steps__item:hover { background: var(--panel-2); }
.steps__n {
  font-family: var(--font-mono); color: var(--acid); font-size: .8rem; letter-spacing: .16em;
}
.steps__item h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.55rem; letter-spacing: .16em;
  margin: .7rem 0 .6rem;
}
.steps__item p { color: var(--muted); font-size: .95rem; font-weight: 300; line-height: 1.9; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* CTA banner */
.cta {
  margin: 0 clamp(1.25rem, 4vw, 3rem) clamp(3rem, 8vh, 5rem);
  padding: clamp(2rem, 5vw, 3.5rem);
  background: var(--orange); color: #fff; position: relative; overflow: hidden;
}
.cta::before {
  content: "MLY"; position: absolute; right: -2%; top: -20%;
  font-family: var(--font-latin); font-size: clamp(8rem, 22vw, 16rem);
  opacity: .15; letter-spacing: .08em; line-height: 1;
}
.cta h2 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  letter-spacing: .14em; line-height: 1.3; position: relative;
}
.cta p {
  margin: 1rem 0 1.5rem; max-width: 34ch; position: relative;
  opacity: .95; font-weight: 300; line-height: 1.9; font-size: 1.05rem;
}
.cta .btn--line { border-color: #fff; color: #fff; }
.cta .btn--line:hover { background: #fff; color: var(--orange); }
.cta .btn--fill { background: var(--void); border-color: var(--void); }
.cta .btn--fill:hover { background: var(--acid); border-color: var(--acid); color: var(--void); }

/* Footer */
.foot {
  border-top: 1px solid var(--line);
  padding: 2.5rem clamp(1.25rem, 4vw, 3rem) 1.5rem;
  background: var(--panel);
}
.foot__grid {
  display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 2rem; margin-bottom: 2rem;
}
.foot__logo {
  font-family: var(--font-display); font-weight: 900;
  font-size: 1.8rem; letter-spacing: .22em;
}
.foot__en { font-family: var(--font-mono); font-size: .72rem; color: var(--orange); letter-spacing: .12em; margin: .35rem 0 .6rem; }
.foot__tag { color: var(--muted); max-width: 28ch; }
.foot__cols { display: grid; gap: .55rem; }
.foot__cols a {
  font-family: var(--font-mono); font-size: .8rem; letter-spacing: .12em; color: var(--muted);
}
.foot__cols a:hover { color: var(--acid); }
.foot__meta {
  font-family: var(--font-latin); font-weight: 700;
  font-size: 1.3rem; letter-spacing: .08em;
  color: var(--acid); line-height: 1.25; text-align: right;
}
.foot__bar {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 1rem;
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; color: var(--muted);
}
.foot__credit { color: var(--ink); }
.foot__beian {
  color: var(--muted); transition: color .25s;
}
.foot__beian:hover { color: var(--acid); }
@media (max-width: 800px) {
  .foot__grid { grid-template-columns: 1fr; }
  .foot__meta { text-align: left; }
}

/* ===== Inner pages ===== */
.page-head {
  padding: clamp(2.5rem, 7vh, 4rem) clamp(1.25rem, 4vw, 3rem) 2rem;
  border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: end;
}
.page-head h1 {
  font-family: var(--font-latin); font-weight: 700;
  font-size: clamp(3.5rem, 12vw, 7.5rem);
  letter-spacing: .08em; line-height: .9; text-transform: uppercase;
}
.page-head p {
  color: var(--muted); font-size: 1.08rem; max-width: 38ch;
  font-weight: 300; line-height: 2;
}
.page-head__code {
  font-family: var(--font-mono); color: var(--orange); letter-spacing: .16em; font-size: .8rem;
  margin-bottom: .6rem;
}
@media (max-width: 800px) { .page-head { grid-template-columns: 1fr; } }

/* Services */
.svc {
  display: grid; grid-template-columns: .9fr 1.1fr;
  border-bottom: 1px solid var(--line); min-height: 65vh;
}
.svc:nth-child(even) { direction: rtl; }
.svc:nth-child(even) > * { direction: ltr; }
.svc__media { position: relative; min-height: 20rem; overflow: hidden; background: #000; }
.svc__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2); }
.svc__body {
  padding: clamp(2rem, 5vw, 3.5rem); display: grid; align-content: center; gap: .9rem;
  border-left: 1px solid var(--line); background: var(--panel);
}
.svc__body h2 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem); letter-spacing: .16em; line-height: 1.3;
}
.svc__body p { color: var(--muted); max-width: 36ch; font-weight: 300; line-height: 2; }
@media (max-width: 900px) {
  .svc, .svc:nth-child(even) { grid-template-columns: 1fr; direction: ltr; }
  .svc__body { border-left: 0; border-top: 1px solid var(--line); }
}

.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1px solid var(--line); margin: 0 clamp(1.25rem, 4vw, 3rem) 3rem;
}
.pillar {
  padding: 1.5rem; border-right: 1px solid var(--line); background: var(--panel);
}
.pillar:last-child { border-right: 0; }
.pillar__mark { font-family: var(--font-mono); color: var(--orange); font-size: .75rem; letter-spacing: .14em; }
.pillar h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.4rem; letter-spacing: .14em; margin: .6rem 0 .55rem;
}
.pillar p { color: var(--muted); font-size: .98rem; font-weight: 300; line-height: 1.9; }
@media (max-width: 800px) { .pillars { grid-template-columns: 1fr; } .pillar { border-right: 0; border-bottom: 1px solid var(--line); } }

/* Work filmstrip */
.film {
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem) 3rem;
}
.film__hint {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em;
  color: var(--muted); margin-bottom: 1rem;
}
.film__track {
  display: grid; gap: 1rem;
}
.film__card {
  display: grid; grid-template-columns: 1.2fr .8fr;
  min-height: min(78vh, 40rem);
  border: 1px solid var(--line); background: var(--panel);
  scroll-snap-align: start;
}
.film__media { position: relative; overflow: hidden; background: #000; }
.film__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.film__body {
  padding: clamp(1.5rem, 3vw, 2.5rem); display: grid; align-content: center; gap: .8rem;
  border-left: 1px solid var(--line);
}
.film__tag { font-family: var(--font-mono); color: var(--acid); font-size: .72rem; letter-spacing: .14em; }
.film__en { font-family: var(--font-mono); color: var(--orange); font-size: .75rem; letter-spacing: .16em; }
.film__body h2 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: .16em; line-height: 1.3;
}
.film__body p { color: var(--muted); font-weight: 300; line-height: 2; font-size: 1.05rem; }
.film__idx {
  font-family: var(--font-mono); font-size: .8rem; color: var(--muted); letter-spacing: .14em; margin-top: .5rem;
}
@media (max-width: 860px) {
  .film__card { grid-template-columns: 1fr; min-height: auto; }
  .film__media { min-height: 45vw; }
  .film__body { border-left: 0; border-top: 1px solid var(--line); }
}

.work-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--line);
}
.work-cell {
  position: relative; aspect-ratio: 1; overflow: hidden;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #000;
}
.work-cell:nth-child(3n) { border-right: 0; }
.work-cell img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.35); transition: .6s;
}
.work-cell:hover img { filter: grayscale(0); transform: scale(1.05); }
.work-cell__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem;
  background: linear-gradient(transparent, rgba(5,5,5,.9));
  font-family: var(--font-display); font-weight: 700;
  letter-spacing: .14em; font-size: 1.1rem;
}
@media (max-width: 900px) { .work-grid { grid-template-columns: 1fr 1fr; } .work-cell:nth-child(3n) { border-right: 1px solid var(--line); } .work-cell:nth-child(2n) { border-right: 0; } }
@media (max-width: 560px) { .work-grid { grid-template-columns: 1fr; } .work-cell { border-right: 0; } }

/* Studio */
.timeline {
  max-width: 46rem; margin: 0 auto; padding: 1rem 0 2rem; position: relative;
}
.timeline::before {
  content: ""; position: absolute; left: .85rem; top: 0; bottom: 0; width: 2px; background: var(--orange);
}
.timeline__item { padding: 0 0 2.2rem 3rem; position: relative; }
.timeline__item::before {
  content: ""; position: absolute; left: .45rem; top: .35rem;
  width: .9rem; height: .9rem; background: var(--acid);
}
.timeline__year { font-family: var(--font-mono); color: var(--orange); letter-spacing: .16em; font-size: .75rem; }
.timeline__item h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.55rem; letter-spacing: .14em; margin: .4rem 0 .45rem;
}
.timeline__item p { color: var(--muted); font-weight: 300; line-height: 1.9; }

.mosaic {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: .75rem;
  padding: 0 clamp(1.25rem, 4vw, 3rem) 3rem;
}
.mosaic__col { display: grid; gap: .75rem; }
.mosaic figure {
  position: relative; overflow: hidden; aspect-ratio: 4/3; border: 1px solid var(--line); background: #000;
}
.mosaic figure.tall { aspect-ratio: 3/4; }
.mosaic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25); }
.mosaic figcaption {
  position: absolute; left: .7rem; bottom: .7rem;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em;
  color: var(--acid); background: rgba(5,5,5,.7); padding: .3rem .5rem;
}
@media (max-width: 800px) { .mosaic { grid-template-columns: 1fr; } }

/* Contact */
.contact {
  display: grid; grid-template-columns: .9fr 1.1fr;
  min-height: calc(100vh - 3.5rem);
}
.contact__aside {
  position: relative; min-height: 20rem; overflow: hidden; border-right: 1px solid var(--line);
}
.contact__aside img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3); }
.contact__aside::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent, rgba(5,5,5,.88));
}
.contact__aside-body {
  position: relative; z-index: 1; height: 100%;
  display: grid; align-content: end; padding: 2rem; gap: .7rem;
}
.contact__aside-body h1 {
  font-family: var(--font-latin); font-weight: 700;
  font-size: clamp(2.8rem, 7vw, 4.5rem); letter-spacing: .08em; line-height: .95;
}
.contact__form {
  padding: clamp(2rem, 5vw, 4rem); background: var(--panel); display: grid; align-content: center;
}
.form { display: grid; gap: 1.2rem; max-width: 32rem; }
.field { display: grid; gap: .4rem; }
.field label {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em; color: var(--orange);
}
.field input, .field textarea, .field select {
  width: 100%; padding: .9rem .2rem; border-bottom: 1px solid var(--line);
  outline: none; background: transparent;
}
.field input:focus, .field textarea:focus, .field select:focus { border-bottom-color: var(--acid); }
.field textarea { min-height: 7rem; resize: vertical; }
.form__note { font-family: var(--font-mono); font-size: .72rem; color: var(--muted); letter-spacing: .08em; }
.alert {
  border: 1px solid var(--line); padding: .9rem 1rem;
  font-family: var(--font-mono); font-size: .8rem; letter-spacing: .08em; margin-bottom: .5rem;
}
.alert--ok { border-color: var(--acid); color: var(--acid); }
.alert--err { border-color: var(--orange); color: var(--orange); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .contact__aside { border-right: 0; border-bottom: 1px solid var(--line); } }
