/* ============================================================
   built by alish_ — BLUEPRINT
   Architect's-folio portfolio. Paper + ink + blueprint-blue,
   with a dark cyanotype mode. Instrument Serif / IBM Plex Mono / Inter.
   ============================================================ */

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

:root {
  --paper:   #FAF9F6;
  --paper-2: #F1EFE8;
  --panel:   #FFFFFF;
  --ink:     #16181D;
  --ink-2:   #5B5E66;
  --ink-3:   #8A8D95;
  --blue:    #2C4BFF;
  --blue-ink:#1E38D6;
  --blue-tint:#E9ECFF;
  --line:    #DFDCD3;
  --line-2:  #ECE9E1;
  --grid:    rgba(44,75,255,0.055);
  --grid-strong: rgba(44,75,255,0.11);
  --ok:      #1f9d5b;
  --shadow:  0 24px 60px -30px rgba(22,24,29,0.35);
  --shadow-s:0 10px 30px -18px rgba(22,24,29,0.4);

  --serif: 'Instrument Serif', Georgia, serif;
  --mono:  'IBM Plex Mono', ui-monospace, monospace;
  --sans:  'Inter', system-ui, -apple-system, sans-serif;

  --mx: clamp(20px, 5.5vw, 96px);   /* page side margin */
  --maxw: 1240px;
}

html[data-theme="dark"] {
  --paper:   #0A1740;   /* cyanotype prussian blue */
  --paper-2: #0C1E52;
  --panel:   #0E245C;
  --ink:     #EAF0FF;
  --ink-2:   #9FB2E6;
  --ink-3:   #6B80BD;
  --blue:    #8AA0FF;
  --blue-ink:#B8C6FF;
  --blue-tint: rgba(138,160,255,0.14);
  --line:    rgba(170,192,255,0.20);
  --line-2:  rgba(170,192,255,0.12);
  --grid:    rgba(160,190,255,0.09);
  --grid-strong: rgba(160,190,255,0.16);
  --ok:      #6ee7a8;
  --shadow:  0 30px 70px -30px rgba(0,0,0,0.6);
  --shadow-s:0 12px 34px -18px rgba(0,0,0,0.55);
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .6s ease, color .6s ease;
}
body.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
::selection { background: var(--blue); color: #fff; }

.skip { position: fixed; left: -999px; top: 8px; z-index: 200; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 6px; font-family: var(--mono); font-size: 13px; }
.skip:focus { left: 12px; }

/* ---------- shared bits ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--mx); }

.tag {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em;
  color: var(--ink-2); border: 1px solid var(--line); background: color-mix(in srgb, var(--panel) 60%, transparent);
  padding: 6px 11px; border-radius: 100px; white-space: nowrap;
  backdrop-filter: blur(6px);
}
.dot { width: 7px; height: 7px; border-radius: 100px; background: var(--ok); display: inline-block; box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--ok) 55%,transparent);} 70%{box-shadow:0 0 0 7px transparent;} 100%{box-shadow:0 0 0 0 transparent;} }

.eyebrow { font-family: var(--mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; }

.btn {
  --bg: transparent; --fg: var(--ink); --bd: var(--ink);
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 13.5px; letter-spacing: .03em; font-weight: 500;
  padding: 13px 22px; border-radius: 100px; border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg); cursor: pointer;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), background .3s, color .3s, border-color .3s, box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.btn--solid { --bg: var(--blue); --fg: #fff; --bd: var(--blue); box-shadow: 0 12px 30px -14px var(--blue); }
html[data-theme="dark"] .btn--solid { --fg: #08123a; }
.btn--solid:hover { box-shadow: 0 18px 40px -14px var(--blue); }
.btn--ghost { --bg: color-mix(in srgb, var(--panel) 55%, transparent); --bd: var(--line); backdrop-filter: blur(8px); }
.btn--ghost:hover { --bd: var(--blue); }
.btn--line { --bd: var(--line); --fg: var(--ink); }
.btn--line:hover { --bd: var(--blue); color: var(--blue-ink); }
.btn--big { padding: 17px 30px; font-size: 15px; }

/* ============ FIXED CHROME ============ */
.grid-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px),
    linear-gradient(var(--grid-strong) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-strong) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px, 200px 200px, 200px 200px;
  transition: opacity .6s ease;
}
.hero-field { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .9; }

.rulers { position: fixed; inset: 0; z-index: 40; pointer-events: none; }
.ruler { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); }
.ruler::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--ink-3) 1px, transparent 1px); background-size: 100% 28px; opacity: .5; }
.ruler--l { left: max(14px, calc(var(--mx) - 22px)); }
.ruler--r { right: max(14px, calc(var(--mx) - 22px)); }
.ruler__fill { position: absolute; top: 0; left: -1px; width: 3px; height: 100%; background: var(--blue); transform: scaleY(0); transform-origin: top; box-shadow: 0 0 10px color-mix(in srgb, var(--blue) 60%, transparent); }
@media (max-width: 860px){ .rulers { display: none; } }

.progress {
  position: fixed; left: max(14px, calc(var(--mx) - 22px)); bottom: 22px; z-index: 45;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; color: var(--ink-2);
  background: color-mix(in srgb, var(--panel) 78%, transparent); backdrop-filter: blur(10px);
  border: 1px solid var(--line); padding: 8px 13px; border-radius: 100px;
}
.progress__sheet { color: var(--blue-ink); font-weight: 600; }
.progress__total { color: var(--ink-3); }
.progress__bar { width: 90px; height: 3px; border-radius: 4px; background: var(--line); overflow: hidden; }
.progress__bar i { display: block; height: 100%; width: 0; background: var(--blue); }
.progress__label { text-transform: uppercase; letter-spacing: .1em; font-size: 10.5px; color: var(--ink-3); }
@media (max-width: 640px){ .progress__label, .progress__total, .progress__sep { display: none; } .progress { bottom: 14px; } }

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 16px var(--mx);
  transition: padding .4s ease, background .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { padding-top: 10px; padding-bottom: 10px; background: color-mix(in srgb, var(--paper) 82%, transparent); backdrop-filter: blur(14px) saturate(1.3); border-color: var(--line); }
.brand { display: inline-flex; align-items: baseline; gap: .3em; font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.brand__by { font-family: var(--serif); font-weight: 400; font-style: italic; color: var(--blue-ink); font-size: 1.1em; }
.brand__cur { width: .5em; height: .14em; background: var(--blue); display: inline-block; margin-left: .1em; animation: blink 1.4s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.nav__links { display: flex; gap: clamp(14px, 2.2vw, 30px); }
.nav__links a { font-family: var(--mono); font-size: 13px; letter-spacing: .03em; color: var(--ink-2); display: inline-flex; align-items: baseline; gap: 6px; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px; background: var(--blue); transition: right .35s cubic-bezier(.2,.8,.2,1); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { right: 0; }
.nav__n { font-size: 10px; color: var(--blue-ink); }
.nav__tools { display: flex; align-items: center; gap: 8px; }

.chip { font-family: var(--mono); font-size: 12.5px; letter-spacing: .03em; color: var(--ink); background: color-mix(in srgb, var(--panel) 60%, transparent); border: 1px solid var(--line); padding: 9px 15px; border-radius: 100px; cursor: pointer; backdrop-filter: blur(8px); transition: border-color .3s, color .3s, transform .3s; }
.chip:hover { border-color: var(--blue); transform: translateY(-1px); }
.chip:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.chip__ico { width: 11px; height: 11px; border-radius: 3px; border: 1.5px solid var(--blue-ink); display: inline-block; margin-right: 7px; vertical-align: -1px; transition: background .3s; }
html[data-theme="dark"] .chip__ico { background: var(--blue-ink); }
.menu-btn { display: none; }

/* mobile menu */
.menu { position: fixed; inset: 0; z-index: 90; background: color-mix(in srgb, var(--paper) 96%, transparent); backdrop-filter: blur(24px); display: flex; flex-direction: column; padding: 18px var(--mx) 40px; transform: translateY(-100%); transition: transform .5s cubic-bezier(.75,0,.2,1); overflow: auto; }
.menu.open { transform: translateY(0); }
.menu__close { align-self: flex-end; }
.menu__nav { display: flex; flex-direction: column; margin-top: 8vh; }
.menu__nav a { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 2px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: clamp(2.4rem, 11vw, 3.6rem); line-height: 1; letter-spacing: -.02em; }
.menu__nav a span { font-family: var(--mono); font-size: 13px; color: var(--blue-ink); }
.menu__nav a:hover { color: var(--blue-ink); }
.menu__foot { margin-top: auto; padding-top: 30px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; font-family: var(--mono); font-size: 14px; }
.menu__foot a { color: var(--blue-ink); }

/* custom cursor */
.cursor { position: fixed; top: 0; left: 0; z-index: 120; pointer-events: none; mix-blend-mode: difference; opacity: 0; transition: opacity .3s; }
.cursor i { position: absolute; background: #fff; }
.cursor i:nth-child(1) { width: 22px; height: 1px; transform: translate(-11px, 0); }
.cursor i:nth-child(2) { width: 1px; height: 22px; transform: translate(0, -11px); }
@media (hover: hover) and (pointer: fine) { .cursor.on { opacity: 1; } }

/* toasts */
.toaster { position: fixed; right: max(14px, calc(var(--mx) - 12px)); bottom: 22px; z-index: 130; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; pointer-events: none; }
.toast { font-family: var(--mono); font-size: 12.5px; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--blue); padding: 10px 15px; border-radius: 8px; box-shadow: var(--shadow-s); transform: translateX(20px); opacity: 0; transition: transform .4s cubic-bezier(.2,.8,.2,1), opacity .4s; max-width: 78vw; }
.toast.in { transform: translateX(0); opacity: 1; }
.toast b { color: var(--blue-ink); }
@media (max-width: 640px){ .toaster { bottom: 60px; } }

/* ============ SHEETS / SECTIONS ============ */
main { position: relative; z-index: 2; }
.sheet { position: relative; padding: clamp(90px, 13vh, 170px) 0; }
.sheet::before { /* sheet number watermark */
  content: attr(data-sheet); position: absolute; top: clamp(40px,7vh,90px); right: var(--mx);
  font-family: var(--mono); font-size: 12px; letter-spacing: .2em; color: var(--ink-3);
}

.sec-head { max-width: 780px; margin: 0 0 clamp(48px, 7vh, 96px); }
.sec-head--c { max-width: none; text-align: center; margin-inline: auto; }
.sec-head__k { font-family: var(--mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-ink); display: inline-block; margin-bottom: 20px; }
.sec-head__h { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: 1.02; letter-spacing: -.01em; margin: 0; }
.sec-head__h em { color: var(--blue-ink); }
.sec-head__p { color: var(--ink-2); font-size: clamp(1rem, 2.4vw, 1.18rem); max-width: 60ch; margin: 22px 0 0; }
.sec-head--c .sec-head__p { margin-inline: auto; }

/* reveal base (JS toggles .is-in) */
[data-reveal] { opacity: 0; transform: translateY(28px); }
.reduced [data-reveal] { opacity: 1; transform: none; }

/* ---------- 00 HERO ---------- */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: 128px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.hero__loc { margin-left: auto; }
.hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.8rem, 8.7vw, 7.1rem); line-height: .98; letter-spacing: -.02em; margin: 0 0 30px; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; }
.hero__title em { color: var(--blue-ink); }
.hero__title .cur { display: inline-block; color: var(--blue); animation: blink 1.2s step-end infinite; font-style: normal; }
.hero__lead { max-width: 56ch; color: var(--ink-2); font-size: clamp(1.05rem, 2.6vw, 1.32rem); margin: 0 0 36px; }
.hero__lead b { color: var(--ink); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__scroll { position: absolute; left: var(--mx); bottom: 26px; display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.hero__scroll i { width: 34px; height: 1px; background: var(--ink-3); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; width: 12px; background: var(--blue); animation: scrollcue 2s cubic-bezier(.7,0,.3,1) infinite; }
@keyframes scrollcue { 0%{transform:translateX(-14px);} 100%{transform:translateX(38px);} }

.hero__index { margin-top: clamp(60px, 10vh, 120px); border-top: 1px solid var(--line); padding-top: 18px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.hero__index-h { grid-column: 1 / -1; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.hero__index a { font-family: var(--mono); font-size: 13px; color: var(--ink-2); padding: 14px 16px 14px 0; border-left: 1px solid var(--line); padding-left: 16px; display: flex; flex-direction: column; gap: 6px; transition: color .3s, background .3s; }
.hero__index a span { color: var(--blue-ink); font-size: 11px; }
.hero__index a b { color: var(--ink-3); font-weight: 400; font-size: 11px; margin-top: auto; }
.hero__index a:hover { color: var(--ink); background: var(--blue-tint); }

/* ---------- 02 WORK ---------- */
.plate { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(48px,8vh,110px) 0; border-top: 1px solid var(--line); }
.plate--rev .plate__info { order: 2; }
.plate__no { font-family: var(--mono); font-size: 13px; color: var(--blue-ink); display: block; margin-bottom: 16px; letter-spacing: .1em; }
.plate__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1; margin: 0 0 18px; letter-spacing: -.01em; }
.plate__sum { color: var(--ink-2); margin: 0 0 26px; font-size: 1.04rem; }
.plate__sum b { color: var(--ink); font-weight: 600; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin: 0 0 24px; }
.specs > div { background: var(--panel); padding: 12px 15px; }
.specs dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 4px; }
.specs dd { margin: 0; font-family: var(--mono); font-size: 13px; color: var(--ink); }
.specs .ok { color: var(--ok); }
.specs--v { grid-template-columns: 1fr; }
.plate__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }

.plate__shots { position: relative; display: grid; gap: 18px; }
.plate__shots--hdf { grid-template-columns: 1.5fr 1fr; grid-template-rows: auto auto; }
.plate__shots--hdf .shot--lg { grid-column: 1 / -1; }
.plate__shots--orbit { grid-template-columns: repeat(3, 1fr); align-items: end; }
.shot { margin: 0; position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot--phone { border-radius: 22px; }
.shot figcaption { position: absolute; left: 10px; bottom: 8px; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: #fff; background: rgba(10,16,40,.7); padding: 3px 8px; border-radius: 100px; backdrop-filter: blur(4px); }

/* ---------- 03 CAPABILITIES + GAME ---------- */
.cap__grid { display: grid; grid-template-columns: 300px minmax(0,1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.cap__list { list-style: none; margin: 0; padding: 0; }
.cap__list li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cap__list li b { font-size: 1.15rem; font-weight: 600; }
.cap__list li i { grid-column: 2; font-family: var(--mono); font-size: 12px; color: var(--ink-3); font-style: normal; margin-top: 4px; }
.cap__n { font-family: var(--mono); font-size: 11px; color: var(--blue-ink); grid-row: 1 / span 2; }

.game { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--panel); box-shadow: var(--shadow); }
.game__top { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; }
.game__title { font-weight: 600; letter-spacing: .06em; color: var(--ink); }
.game__title i { color: var(--blue); animation: blink 1.2s step-end infinite; }
.game__stat { color: var(--ink-3); }
.game__stat b { color: var(--blue-ink); }
.game__wave { margin-left: auto; }
.game__combo { color: var(--ok); font-weight: 600; opacity: 0; transition: opacity .2s, transform .2s; transform: scale(.8); }
.game__combo.on { opacity: 1; transform: scale(1); }
.game__mute { margin-left: 12px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; color: var(--blue-ink); background: transparent; border: 1px solid var(--line); border-radius: 100px; padding: 4px 11px; cursor: pointer; transition: border-color .25s, color .25s, opacity .25s; }
.game__mute:hover { border-color: var(--blue); }
.game__mute.off { color: var(--ink-3); opacity: .7; }
.game__stage { position: relative; aspect-ratio: 900 / 560; background: linear-gradient(180deg, color-mix(in srgb, var(--blue) 6%, var(--panel)), var(--panel)); }
html[data-theme="dark"] .game__stage { background: linear-gradient(180deg, #050d2c, #081546); }
#gameCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: crosshair; }
.game__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; background: color-mix(in srgb, var(--panel) 72%, transparent); backdrop-filter: blur(6px); padding: 20px; transition: opacity .4s; }
.game__overlay.hide { opacity: 0; pointer-events: none; }
.game__ov-title { font-family: var(--serif); font-size: clamp(1.8rem,4vw,2.6rem); margin: 0; }
.game__ov-sub { font-family: var(--mono); font-size: 13px; color: var(--ink-2); margin: 0; line-height: 1.7; }
.game__ov-keys { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); margin: 4px 0 0; }
kbd { font-family: var(--mono); font-size: 11px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; padding: 1px 6px; margin: 0 2px; color: var(--ink); background: var(--paper-2); }
.game__log { padding: 9px 16px; font-family: var(--mono); font-size: 12px; color: var(--ink-2); border-top: 1px solid var(--line); min-height: 38px; display: flex; align-items: center; }
.game__log b { color: var(--blue-ink); }

/* ---------- 04 PROCESS ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.step { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 4vw, 56px); align-items: start; padding: clamp(30px,5vh,56px) 0; border-top: 1px solid var(--line); position: relative; }
.step__n { font-family: var(--mono); font-size: 14px; color: var(--blue-ink); padding-top: 8px; }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 4.4vw, 3rem); margin: 0 0 10px; line-height: 1; }
.step p { margin: 0; color: var(--ink-2); max-width: 60ch; }
.step__tag { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); padding-top: 12px; }

/* ---------- 05 ABOUT ---------- */
.about__wrap { display: grid; grid-template-columns: minmax(0,1fr) minmax(0, 340px); gap: clamp(32px, 6vw, 90px); align-items: start; }
.about__lead { font-size: clamp(1.1rem, 2.6vw, 1.4rem); line-height: 1.7; margin: 0 0 30px; }
.about__lead b { color: var(--blue-ink); }
.about__quote { font-family: var(--serif); font-size: clamp(1.6rem, 3.6vw, 2.4rem); line-height: 1.25; margin: 0 0 30px; padding-left: 22px; border-left: 2px solid var(--blue); color: var(--ink); }
.about__quote em { color: var(--blue-ink); }
.about__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.about__card { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); box-shadow: var(--shadow-s); overflow: hidden; position: sticky; top: 100px; }
.about__card-h { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); padding: 14px 16px; border-bottom: 1px solid var(--line); }
.about__card .specs { margin: 0; border: 0; border-radius: 0; background: transparent; }
.about__card .specs > div { border-bottom: 1px solid var(--line-2); padding: 13px 16px; }

/* ---------- 06 CONTACT ---------- */
.contact__wrap { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 40px; }
.stamp { width: min(640px, 100%); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--panel); box-shadow: var(--shadow); text-align: left; }
.stamp__row { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line); transition: background .3s; }
.stamp__row:last-child { border-bottom: 0; }
.stamp__row:hover { background: var(--blue-tint); }
.stamp__k { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); width: 64px; flex: none; }
.stamp__v { font-family: var(--mono); font-size: clamp(13px, 2.5vw, 16px); color: var(--ink); flex: 1; display: inline-flex; align-items: center; gap: 10px; }
.stamp__row--main .stamp__v { color: var(--blue-ink); font-weight: 500; }
.stamp__x { color: var(--ink-3); }
.stamp__copy { margin-left: auto; font-family: var(--mono); font-size: 11px; border: 1px solid var(--line); background: var(--paper-2); color: var(--ink-2); padding: 5px 12px; border-radius: 100px; cursor: pointer; }
.stamp__copy:hover { border-color: var(--blue); color: var(--blue-ink); }
.stamp__row--foot { background: var(--paper-2); }

/* ---------- 06 THE COMMISSION (contact form) ---------- */
.commission { display: grid; grid-template-columns: minmax(0,1fr) minmax(0, 400px); gap: clamp(30px, 5vw, 72px); align-items: start; margin-top: clamp(40px, 6vh, 80px); }
.cform__honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.field { position: relative; margin-bottom: 30px; border: 0; padding: 0; min-width: 0; }
.field__label, .cform legend { display: flex; align-items: baseline; gap: 10px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; color: var(--ink-2); margin: 0 0 12px; padding: 0; transition: color .3s; }
.field__n { color: var(--blue-ink); font-size: 11px; }
.field:focus-within > .field__label { color: var(--ink); }
.field__in { width: 100%; box-sizing: border-box; background: transparent; border: 0; border-bottom: 1.5px solid var(--line); color: var(--ink); font-family: var(--sans); font-size: clamp(1rem, 2.2vw, 1.15rem); padding: 9px 2px; transition: border-color .35s; }
.field__in::placeholder { color: var(--ink-3); }
.field__in:focus { outline: none; border-bottom-color: var(--blue); }
.field__area { border: 1px solid var(--line); border-radius: 10px; padding: 14px; resize: vertical; min-height: 96px; line-height: 1.55; }
.field__area:focus { border-color: var(--blue); }
.field.err .field__in { border-color: #c74a3b; }
.field__err { display: block; font-family: var(--mono); font-size: 11px; color: #c74a3b; margin-top: 7px; min-height: 14px; opacity: 0; transition: opacity .2s; }
.field.err .field__err { opacity: 1; }

.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.stampchip { font-family: var(--mono); font-size: 12.5px; letter-spacing: .02em; color: var(--ink-2); background: color-mix(in srgb, var(--panel) 60%, transparent); border: 1px solid var(--line); padding: 9px 15px; border-radius: 7px; cursor: pointer; transition: border-color .25s, color .25s, background .25s, transform .25s; display: inline-flex; align-items: center; gap: 8px; }
.stampchip:hover { border-color: var(--blue); color: var(--ink); }
.stampchip:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.stampchip.on { background: var(--blue-tint); border-color: var(--blue); color: var(--blue-ink); }
.stampchip.on::after { content: "✓"; font-size: 11px; }
.stampchip.pop { animation: chippop .32s cubic-bezier(.2,1.5,.4,1); }
@keyframes chippop { 0% { transform: scale(.9) rotate(-2deg); } 60% { transform: scale(1.06) rotate(1.5deg); } 100% { transform: scale(1) rotate(0); } }

.cform__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 34px; }
.cform__send[disabled] { opacity: .6; cursor: default; }
.cform__send.sending .cform__send-label::after { content: "…"; }
.cform__alt { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); }
.cform__alt a { color: var(--blue-ink); border-bottom: 1px solid color-mix(in srgb, var(--blue) 40%, transparent); }
.cform__status { font-family: var(--mono); font-size: 13px; margin: 20px 0 0; min-height: 20px; }
.cform__status.ok { color: var(--ok); }
.cform__status.bad { color: #c74a3b; }

/* the live commission sheet */
.sheetdoc { position: sticky; top: 100px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); box-shadow: var(--shadow-s); overflow: hidden; }
.sheetdoc__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; }
.sheetdoc__mark { color: var(--blue-ink); font-weight: 600; }
.sheetdoc__rev { color: var(--ink-3); }
.sheetdoc__grid { margin: 0; padding: 0; }
.sheetdoc__grid > div { display: grid; grid-template-columns: 78px 1fr; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); align-items: baseline; }
.sheetdoc__grid dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 0; }
.sheetdoc__grid dd { margin: 0; font-family: var(--mono); font-size: 13px; color: var(--ink); word-break: break-word; transition: color .3s; }
.sheetdoc__grid dd.filled { color: var(--blue-ink); }
.sheetdoc__brief { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.sheetdoc__briefh { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); display: block; margin-bottom: 8px; }
.sheetdoc__msg { margin: 0; font-size: .96rem; line-height: 1.55; color: var(--ink-2); min-height: 3.2em; white-space: pre-wrap; }
.sheetdoc__msg.filled { color: var(--ink); }
.sheetdoc__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.sheetdoc__foot b { color: var(--ink-2); font-weight: 500; }
.sheetdoc__status { display: inline-flex; align-items: center; gap: 7px; }
.sheetdoc__status i { width: 7px; height: 7px; border-radius: 100px; background: var(--ink-3); transition: background .3s; }
.sheetdoc__status.live i { background: var(--blue); animation: pulse 2s infinite; }
.sheetdoc__status.done i { background: var(--ok); animation: none; }
.sheetdoc__stamp { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; opacity: 0; }
.sheetdoc__stamp span { font-family: var(--mono); font-weight: 600; font-size: clamp(1.6rem, 4vw, 2.2rem); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); border: 3px solid var(--blue); border-radius: 12px; padding: 12px 26px; background: color-mix(in srgb, var(--panel) 55%, transparent); transform: rotate(-11deg) scale(1.6); box-shadow: 0 0 0 1px color-mix(in srgb, var(--blue) 40%, transparent) inset; }
.sheetdoc.stamped .sheetdoc__stamp { opacity: 1; animation: stampin .5s cubic-bezier(.2,1.5,.35,1) forwards; }
.sheetdoc.stamped .sheetdoc__stamp span { transform: rotate(-11deg) scale(1); }
@keyframes stampin { 0% { opacity: 0; } 40% { opacity: 1; } 100% { opacity: 1; } }

/* ---------- FOOTER ---------- */
.foot { position: relative; z-index: 2; border-top: 1px solid var(--line); padding: 44px 0 40px; background: var(--paper); }
.foot__wrap { display: grid; grid-template-columns: 1fr auto; gap: 18px 24px; align-items: center; }
.foot__brand { font-weight: 700; font-size: 20px; letter-spacing: -.02em; display: inline-flex; align-items: baseline; gap: .28em; }
.foot__brand em { font-family: var(--serif); font-style: italic; color: var(--blue-ink); }
.foot__brand i { width: .5em; height: .13em; background: var(--blue); display: inline-block; }
.foot__rev { font-family: var(--mono); font-size: 12px; color: var(--ink-3); grid-column: 1; }
.foot__links { display: flex; gap: 8px; grid-row: 1 / span 2; grid-column: 2; align-self: start; }
.foot__copy { font-family: var(--mono); font-size: 12px; color: var(--ink-3); grid-column: 1; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1040px){
  .cap__grid { grid-template-columns: 1fr; }
  .about__wrap { grid-template-columns: 1fr; }
  .about__card { position: static; }
  .commission { grid-template-columns: 1fr; }
  .sheetdoc { position: static; }
}
@media (max-width: 860px){
  .nav__links { display: none; }
  .nav__tools #themeBtn { display: none; }
  .menu-btn { display: inline-block; }
  .plate, .plate--rev .plate__info { grid-template-columns: 1fr; order: 0; }
  .plate__info { order: 0 !important; }
  .hero__index { grid-template-columns: 1fr 1fr; }
  .hero__index a { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .hero__loc { margin-left: 0; }
}
@media (max-width: 560px){
  body { font-size: 16px; }
  .hero__index { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr; }
  .plate__shots--hdf { grid-template-columns: 1fr; }
  .plate__shots--orbit { grid-template-columns: 1fr 1fr; }
  .step { grid-template-columns: auto 1fr; }
  .step__tag { display: none; }
  .foot__wrap { grid-template-columns: 1fr; }
  .foot__links { grid-row: auto; grid-column: 1; flex-wrap: wrap; }
  .game__top { flex-wrap: wrap; gap: 8px 14px; }
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
