/* ==========================================================================
   Nano Knights — Draft 5 · the key art, extended into an interface
   One physical logic: everything on screen is a PLATE (machined surface,
   edges catch light), an ETCH (cut into the surface, precise, low contrast),
   or a LIGHT (scarce, physical, it blooms and falls on nearby edges).
   The site is a machine that powers on as you move through it:
   - the conduit's lit portion tracks scroll and terminates at the quote plate
   - sections come online once as they enter view (frames draw, floors warm)
   - interaction = illumination; nothing scales, bounces or slides
   Budgets: pink blooms <= 3 per viewport · parallax <= 6px · one-shot
   transitions <= 600ms · cyan appears as idle standby light only.
   ========================================================================== */

:root {
  --wall:      #0b0a0e;
  --wall-2:    #0e0d12;
  --plate:     #14121a;
  --plate-2:   #17151d;
  --seam:      rgba(236, 233, 240, 0.07);
  --seam-2:    rgba(236, 233, 240, 0.13);
  --edge:      rgba(255, 255, 255, 0.055);  /* top edge of a plate catching light */
  --etch:      #837f8c;                      /* engraved small text */
  --text:      #e9e6ef;
  --text-2:    #b4b0bc;
  --pink:      #ff3d85;
  --pink-dim:  rgba(255, 61, 133, 0.5);
  --cyan:      #35d6e8;                      /* standby light only */
  --glowfloor: rgba(255, 224, 214, 0.13);    /* warm floor light in alcoves */

  --rail: 176px;
  --gutter: clamp(36px, 5vw, 84px);
  --content: 1020px;
  --r: 2px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: #26232e var(--wall); scrollbar-width: thin; }
body {
  font-family: "Archivo", "Segoe UI", system-ui, sans-serif;
  background: var(--wall);
  color: var(--text-2);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; padding: 0; }
p { text-wrap: pretty; max-width: 62ch; }
strong { color: var(--text); font-weight: 600; }
::selection { background: var(--pink); color: #fff; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }

/* ---- The wall: brushed metal, faint grain, edge vignette ---- */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1300px 800px at 60% -10%, rgba(255, 255, 255, 0.028), transparent 60%),
    repeating-linear-gradient(90deg,
      rgba(255, 255, 255, 0.012) 0px, rgba(255, 255, 255, 0.012) 3px,
      transparent 3px, transparent 9px),
    linear-gradient(180deg, var(--wall-2), var(--wall) 30%);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 95; pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- Type ---- */
h1, h2, h3 {
  color: var(--text);
  text-transform: uppercase;
  font-stretch: 125%;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.015em;
}
h1 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
h2 { font-size: clamp(1.2rem, 1.9vw, 1.5rem); }
h3 { font-size: 0.95rem; letter-spacing: 0.08em; }
.cap { font-stretch: 90%; font-weight: 500; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--etch); }

/* ==========================================================================
   Rail — the machine's stile. A conduit runs through the nav; the current
   page's node is lit. The crest is mounted like an enamel badge.
   ========================================================================== */
.rail {
  position: fixed; inset-block: 0; inset-inline-start: 0; width: var(--rail);
  display: flex; flex-direction: column;
  padding-block: 26px 22px; padding-inline: 24px;
  background: linear-gradient(180deg, var(--plate) 0%, #100e15 100%);
  border-right: 1px solid var(--seam);
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.5), inset 1px 0 0 var(--edge);
  z-index: 40;
}
.rail__crest { display: block; width: 46px; border-radius: 3px; padding: 2px; background: #0a090d; box-shadow: 0 0 0 1px #262330, inset 0 1px 2px rgba(0,0,0,0.8); }
.rail__crest img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; }
.rail__nav { margin-block-start: 42px; position: relative; padding-inline-start: 18px; }
.rail__nav::before { /* the stile conduit */
  content: ""; position: absolute; inset-block: 6px; inset-inline-start: 2px;
  width: 1px; background: var(--seam-2);
}
.rail__nav a {
  display: block; position: relative;
  font-size: 0.69rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em;
  font-stretch: 105%;
  color: var(--etch);
  padding-block: 8px;
  transition: color 0.25s;
}
.rail__nav a::before { /* node on the conduit */
  content: ""; position: absolute; inset-inline-start: -19.5px; inset-block-start: 50%;
  translate: 0 -50%; width: 4px; height: 4px; border-radius: 50%;
  background: #2c2935; transition: background 0.25s, box-shadow 0.25s;
}
.rail__nav a:hover { color: var(--text); }
.rail__nav a:hover::before { background: #46424f; }
.rail__nav a.active { color: var(--text); }
.rail__nav a.active::before { background: var(--pink); box-shadow: 0 0 8px var(--pink-dim); }
.rail__end { margin-block-start: auto; display: grid; gap: 14px; }
.rail__social { display: flex; gap: 13px; }
.rail__social a { color: var(--etch); transition: color 0.2s; }
.rail__social a:hover { color: var(--text); }
.rail__social svg { width: 15px; height: 15px; display: block; }
.rail__c { font-size: 0.56rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--etch); opacity: 0.6; }

/* mobile bar + menu */
.bar { display: none; }
.menu { display: none; }

/* ==========================================================================
   Content · the conduit
   ========================================================================== */
.main { margin-inline-start: var(--rail); overflow-x: clip; }
.pagebody { position: relative; }
.col { max-width: var(--content); padding-inline: var(--gutter); margin-inline: auto; }
.sect { padding-block: clamp(52px, 7vw, 88px); }

.conduit {
  position: absolute; inset-block: 0; inset-inline-start: 18px; width: 2px;
  background: rgba(236, 233, 240, 0.05);
  pointer-events: none;
}
.conduit__lit {
  position: absolute; inset-inline: 0; inset-block-start: 0; height: calc(var(--scroll, 0) * 100%);
  background: linear-gradient(180deg, rgba(255, 61, 133, 0.25), var(--pink));
  box-shadow: 0 0 12px rgba(255, 61, 133, 0.35);
}
.conduit__lit::after { /* the head of the charge */
  content: ""; position: absolute; inset-block-end: -3px; inset-inline-start: 50%;
  translate: -50% 0; width: 6px; height: 6px; border-radius: 50%;
  background: var(--pink); box-shadow: 0 0 10px var(--pink);
}
@supports (animation-timeline: scroll()) {
  .conduit__lit { height: 100%; transform-origin: top; transform: scaleY(0); animation: energize linear both; animation-timeline: scroll(root); }
  .conduit__lit::after { display: none; } /* scaleY would distort the head; the glow edge reads as the head */
  @keyframes energize { from { transform: scaleY(0); } to { transform: scaleY(1); } }
}

/* ---- Plates -------------------------------------------------------------
   Octagonal mounted plates, cut corners like the key art. Two-layer build
   because clip-path eats borders: outer = edge material, inner = face. --- */
.plate { position: relative; clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 0 calc(100% - 14px), 0 14px); background: linear-gradient(180deg, #2b2836, #1c1a24 40%, #232029); padding: 1px; }
.plate__face { position: relative; clip-path: polygon(13.5px 0, calc(100% - 13.5px) 0, 100% 13.5px, 100% calc(100% - 13.5px), calc(100% - 13.5px) 100%, 13.5px 100%, 0 calc(100% - 13.5px), 0 13.5px); background: linear-gradient(180deg, var(--plate-2), #110f16); }
.plate--tick .plate__face::after { /* one cyan trace tick, as in the key art */
  content: ""; position: absolute; inset-block-start: 0; inset-inline-end: 34px;
  width: 22px; height: 1px; background: var(--cyan); opacity: 0.4;
}

/* ---- Power-on: frames draw, floors warm, once --------------------------- */
.fr { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.fr rect {
  x: 0.5px; y: 0.5px; width: calc(100% - 1px); height: calc(100% - 1px);
  fill: none; stroke: var(--seam-2); stroke-width: 1; vector-effect: non-scaling-stroke;
  stroke-dasharray: 100; stroke-dashoffset: 100;
  transition: stroke-dashoffset 0.6s ease;
}
.on .fr rect { stroke-dashoffset: 0; }
.warm { transition: opacity 0.6s ease 0.15s; opacity: 0; }
.on .warm { opacity: 1; }

/* ==========================================================================
   Hero — the mounted title plate, the treasure in front of the wall
   ========================================================================== */
.hero { padding-block: clamp(56px, 8vw, 100px) clamp(40px, 5vw, 60px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 400px); gap: clamp(28px, 4vw, 56px); align-items: center; }

.titleplate { display: inline-block; will-change: transform; }
.titleplate .plate__face { padding: clamp(26px, 3.4vw, 40px) clamp(28px, 3.6vw, 46px); position: relative; }
.titleplate::after { /* backlight spilling from beneath the plate */
  content: ""; position: absolute; inset-inline: 10%; inset-block-end: -16px; height: 30px;
  background: radial-gradient(50% 100% at 50% 0%, rgba(255, 61, 133, 0.18), transparent 75%);
  filter: blur(4px); pointer-events: none;
}
.wm { --wm-size: clamp(1.9rem, 3.5vw, 2.9rem); }
.wm span { display: block; }
.wm__1 { font-size: calc(var(--wm-size) * 1.5405); line-height: 0.88; letter-spacing: 0.01em; }
.wm__2 { font-size: var(--wm-size); line-height: 1; margin-block-start: 0.08em; letter-spacing: 0.01em; }
.wm__3 { font-size: calc(var(--wm-size) * 0.3407); letter-spacing: 0.14em; font-stretch: 90%; font-weight: 500; color: var(--text-2); margin-block-start: 0.7em; }

.hero__copy { margin-block-start: clamp(28px, 4vw, 40px); max-width: 54ch; }
.hero__link { margin-block-start: 24px; }

.treasure { position: relative; will-change: transform; }
.treasure img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  -webkit-mask-image: radial-gradient(72% 72% at 50% 48%, #000 52%, transparent 76%);
  mask-image: radial-gradient(72% 72% at 50% 48%, #000 52%, transparent 76%);
}
.treasure::after { /* the shelf light it stands in */
  content: ""; position: absolute; inset-inline: 12%; inset-block-end: 4%; height: 14%;
  background: radial-gradient(50% 100% at 50% 100%, var(--glowfloor), transparent 78%);
  pointer-events: none;
}

/* ---- Links & the single powered button ---------------------------------- */
.tlink {
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.13em;
  font-stretch: 105%; color: var(--text);
  padding-block-end: 4px; border-bottom: 1px solid var(--seam-2);
  transition: border-color 0.25s; white-space: nowrap;
}
.tlink:hover { border-color: var(--pink); }
.btn {
  position: relative; display: inline-block;
  font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.13em;
  font-stretch: 105%; color: #fff;
  background: linear-gradient(180deg, #ff5595, var(--pink));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 18px rgba(255, 61, 133, 0.22);
  padding-block: 13px; padding-inline: 26px calc(26px - 0.13em);
  border-radius: var(--r); white-space: nowrap;
  transition: box-shadow 0.25s, filter 0.25s;
}
.btn:hover { filter: brightness(1.08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 26px rgba(255, 61, 133, 0.38); }

/* ==========================================================================
   The machine — one framed band, three recessed bays
   ========================================================================== */
.machine { position: relative; background: linear-gradient(180deg, var(--plate), #100e15); box-shadow: inset 0 1px 0 var(--edge), 0 14px 34px -18px rgba(0, 0, 0, 0.8); }
.machine__bays { display: grid; grid-template-columns: repeat(3, 1fr); }
.bay { padding: clamp(22px, 2.6vw, 34px); position: relative; }
.bay + .bay { border-inline-start: 1px solid var(--seam); }
.bay h3 { margin-block-end: 4px; }
.bay__sys { display: block; margin-block-end: 16px; }
.alcove {
  position: relative; border-radius: var(--r);
  background: radial-gradient(130% 105% at 50% 0%, #080709, #040305);
  border: 1px solid rgba(0, 0, 0, 0.85);
  box-shadow:
    inset 0 3px 14px rgba(0, 0, 0, 0.9),
    inset 0 0 34px rgba(0, 0, 0, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.045); /* lower lip catches the room light */
  padding: 10px;
}
.alcove img {
  width: 100%; aspect-ratio: 1; object-fit: cover; position: relative;
  -webkit-mask-image: radial-gradient(78% 78% at 50% 50%, #000 50%, transparent 78%);
  mask-image: radial-gradient(78% 78% at 50% 50%, #000 50%, transparent 78%);
  transition: translate 0.35s ease;
}
.alcove .floor {
  position: absolute; inset-inline: 14%; inset-block-end: 6%; height: 16%;
  background: radial-gradient(50% 100% at 50% 100%, var(--glowfloor), transparent 80%);
  pointer-events: none; transition: opacity 0.35s;
}
.bay:hover .alcove img { translate: 0 -3px; }
.bay:hover .alcove .floor { opacity: 1.7; } /* opacity >1 clamps to 1; combined with .warm base 1 it just holds — see .bay:hover boost below */
.bay:hover .alcove { box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.75), inset 0 -6px 22px -12px rgba(255, 224, 214, 0.14); }
.bay__label { margin-block-start: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bay__label .cap { color: var(--text-2); }
.chips { display: flex; gap: 4px; }
.chips i { width: 9px; height: 9px; border-radius: 1px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(236, 233, 240, 0.14); }
.bay__text { margin-block-start: 14px; font-size: 0.92rem; color: var(--etch); }

/* ==========================================================================
   Monitor bank — one console, screens wake on hover, cyan standby LEDs
   ========================================================================== */
.shead { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-block-end: 22px; }
.bank { position: relative; background: linear-gradient(180deg, var(--plate), #0f0d14); box-shadow: inset 0 1px 0 var(--edge); padding: 12px; }
.bank__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.screen { position: relative; cursor: pointer; background: #08070b; border: 1px solid rgba(0, 0, 0, 0.7); padding-block-end: 22px; }
.screen__img { position: relative; overflow: hidden; aspect-ratio: 16/9; }
.screen__img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.5) saturate(0.75); transition: filter 0.3s; }
.screen__img::after { /* the sheen that passes when a screen wakes */
  content: ""; position: absolute; inset: -30%;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.07) 50%, transparent 58%);
  translate: -70% 0; transition: translate 0.7s ease;
}
.screen:hover .screen__img img, .screen:focus-visible .screen__img img { filter: brightness(0.95) saturate(1); }
.screen:hover .screen__img::after { translate: 70% 0; }
.screen__led { /* standby: cyan · awake: pink */
  position: absolute; inset-block-end: 8px; inset-inline-start: 9px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 6px rgba(53, 214, 232, 0.5); opacity: 0.7;
  transition: background 0.25s, box-shadow 0.25s;
}
.screen:hover .screen__led { background: var(--pink); box-shadow: 0 0 8px var(--pink-dim); opacity: 1; }

/* ==========================================================================
   The quote plate — where the conduit terminates
   ========================================================================== */
.terminal { position: relative; display: grid; justify-items: center; }
.terminal__node { width: 8px; height: 8px; rotate: 45deg; background: var(--pink); box-shadow: 0 0 12px var(--pink-dim); margin-block-end: 22px; }
.qplate { width: min(640px, 100%); text-align: center; }
.qplate .plate__face { padding: clamp(30px, 4vw, 44px); }
.qplate h2 { margin-block-end: 20px; }
.qplate .btn::before { /* its light spills onto the plate */
  content: ""; position: absolute; inset: -18px -30px;
  background: radial-gradient(50% 60% at 50% 50%, rgba(255, 61, 133, 0.12), transparent 75%);
  pointer-events: none;
}

/* ==========================================================================
   Interior pages
   ========================================================================== */
.phead { padding-block: clamp(56px, 8vw, 100px) 0; }
.phead h1 { margin-block-end: 14px; }
.phead p { max-width: 58ch; }
.prose { max-width: 62ch; }
.prose p + p { margin-block-start: 1.15em; }

/* About: the key art mounted as a plate */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 380px); gap: clamp(36px, 5vw, 68px); align-items: start; }
.artplate .plate__face { padding: 10px; }
.artplate img { width: 100%; display: block; }

/* Gallery: full-width alcoves, the big displays */
.aisle { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); align-items: start; }
.display { width: 100%; min-width: 0; }
.display .alcove { padding: clamp(14px, 1.8vw, 22px); }
.display .bay__label { padding-inline: 6px; flex-wrap: wrap; }
.display:hover .alcove img { translate: 0 -3px; }
.display:hover .alcove { box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.75), inset 0 -6px 22px -12px rgba(255, 224, 214, 0.14); }

/* 3D prints: one framed strip, plain photographs */
.printstrip { position: relative; background: linear-gradient(180deg, var(--plate), #0f0d14); box-shadow: inset 0 1px 0 var(--edge); padding: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.printstrip img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid rgba(0, 0, 0, 0.7); }

/* Quote guidance */
.brief { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.brief .cap { display: block; margin-block-end: 8px; }
.spec { border-top: 1px solid var(--seam); }
.spec > div { padding-block: 16px; border-bottom: 1px solid var(--seam); }
.spec b { color: var(--text); font-weight: 600; display: block; margin-block-end: 3px; }
.spec p { font-size: 0.92rem; color: var(--etch); }
.exq { border-inline-start: 2px solid var(--pink); padding-block: 4px; padding-inline: 16px 0; color: var(--text-2); font-style: italic; }
.exq + .exq { margin-block-start: 24px; }
.console { position: relative; background: linear-gradient(180deg, var(--plate), #0f0d14); box-shadow: inset 0 1px 0 var(--edge); padding: 14px; }
.console__head { display: flex; justify-content: space-between; align-items: center; padding-block-end: 12px; padding-inline: 4px; }
.console iframe { width: 100%; border: 1px solid rgba(0, 0, 0, 0.8); background: #fff; display: block; }

/* FAQ: engraved index */
.faq { max-width: 760px; border-top: 1px solid var(--seam); }
.qa { border-bottom: 1px solid var(--seam); }
.qa__q { width: 100%; text-align: left; display: flex; gap: 18px; align-items: baseline; padding-block: 18px; }
.qa__n { font-size: 0.64rem; color: var(--etch); font-stretch: 90%; letter-spacing: 0.08em; flex: none; width: 1.8em; text-align: right; font-variant-numeric: tabular-nums; }
.qa__q h3 { flex: 1; text-transform: none; font-stretch: 100%; font-weight: 600; font-size: 0.99rem; letter-spacing: 0; transition: color 0.2s; }
.qa__q:hover h3 { color: #fff; }
.qa.open .qa__q h3 { color: var(--pink); }
.qa__t { flex: none; color: var(--etch); font-size: 1rem; line-height: 1; transition: transform 0.25s ease; }
.qa.open .qa__t { transform: rotate(45deg); color: var(--pink); }
.qa__a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.qa__a > div {
  margin-inline-start: calc(1.8em + 18px); margin-block-end: 20px;
  padding-block: 14px; padding-inline: 16px;
  background: #0d0c11; border-inline-start: 2px solid var(--pink);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5);
  color: var(--etch); font-size: 0.94rem; max-width: 56ch;
}
.qa__a a { color: var(--text); border-bottom: 1px solid var(--pink); }

/* Contact channels */
.chan { border-top: 1px solid var(--seam); max-width: 560px; }
.chan a { display: flex; align-items: center; gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--seam); transition: color 0.2s; }
.chan a:hover { color: var(--text); }
.chan svg { width: 17px; height: 17px; flex: none; }
.chan b { font-weight: 600; color: var(--text); font-size: 0.95rem; }
.chan .cap { margin-inline-start: auto; margin-inline-end: -0.16em; }

/* Footer: the base plate */
.foot { border-top: 1px solid var(--seam); box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.6); padding-block: 22px 36px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot .cap a:hover { color: var(--text-2); }
.foot .cap:last-child { margin-inline-end: -0.16em; }

/* ---- Lightbox ---- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 24px; background: rgba(8, 7, 10, 0.93); }
.lightbox.open { display: grid; }
.lightbox__in { width: min(920px, 100%); position: relative; }
.lightbox__f { aspect-ratio: 16/9; overflow: hidden; background: #000; border: 1px solid var(--seam-2); }
.lightbox__f iframe { width: 100%; height: 100%; border: 0; }
.lightbox__x { position: absolute; inset-block-start: -40px; inset-inline-end: 0; color: var(--text-2); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.13em; transition: color 0.2s; }
.lightbox__x:hover { color: var(--pink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .fr rect { stroke-dashoffset: 0; }
  .warm { opacity: 1; }
  .conduit { display: none; }
  .titleplate, .treasure { transform: none !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1060px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__grid .treasure { max-width: 380px; justify-self: center; }
  .duo { grid-template-columns: 1fr; }
  .duo .artplate { max-width: 380px; }
  .brief { grid-template-columns: 1fr; }
  .machine__bays { grid-template-columns: 1fr; }
  .aisle { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bay + .bay { border-inline-start: 0; border-block-start: 1px solid var(--seam); }
  .bay .alcove { max-width: 380px; }
}

@media (max-width: 800px) {
  .rail { display: none; }
  .conduit { display: none; }
  .bar {
    display: flex; align-items: center; justify-content: space-between;
    position: sticky; inset-block-start: 0; z-index: 40;
    background: var(--plate); border-bottom: 1px solid var(--seam);
    box-shadow: inset 0 1px 0 var(--edge);
    padding-block: 12px; padding-inline: 20px;
  }
  .bar__brand { display: flex; align-items: center; gap: 10px; }
  .bar__brand img { width: 34px; height: 34px; object-fit: cover; border-radius: var(--r); }
  .bar__brand span { font-size: 0.74rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; font-stretch: 115%; color: var(--text); }
  .bar__btn { font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.13em; color: var(--text); padding-block: 8px; padding-inline: 12px; border: 1px solid var(--seam-2); border-radius: var(--r); }
  .menu { position: fixed; inset: 59px 0 0 0; z-index: 39; background: var(--wall); padding-block: 18px; padding-inline: 20px; }
  .menu.open { display: block; }
  .menu a { display: block; padding-block: 13px; border-bottom: 1px solid var(--seam); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.13em; color: var(--text-2); }
  .menu a.active { color: var(--pink); }

  .main { margin-inline-start: 0; }
  .col { padding-inline: 20px; }
  .bank__grid { grid-template-columns: repeat(2, 1fr); }
  .aisle { grid-template-columns: 1fr; gap: 32px; }
  .aisle .display { max-width: 420px; margin-inline: auto; }
  .printstrip { grid-template-columns: 1fr; max-width: 380px; }
}

@media (max-width: 480px) {
  .bank__grid { grid-template-columns: 1fr; }
}
