/* ==========================================================================
   Sections and components
   ========================================================================== */

/* --------------------------------------------------------------------------
   Photo slot. Real shop photos go inside. The labelled frame is the brief
   until that file exists. Drop an img in and the slot hides via :has(img).
   -------------------------------------------------------------------------- */

.shot {
  position: relative;
  margin: 0;
  aspect-ratio: var(--ar, 3 / 2);
  background: var(--paper-sunk);
  border-radius: var(--radius-photo);
  overflow: hidden;
}
.shot picture { display: block; width: 100%; height: 100%; }
.shot img { width: 100%; height: 100%; object-fit: cover; }

.shot__slot {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.4rem;
  padding: clamp(1rem, 2.5vw, 1.75rem);
  border: 1px solid var(--rule);
  color: var(--ink-3);
}
.shot__slot::before {
  content: '';
  position: absolute;
  inset: 11px;
  border: 1px dashed var(--rule);
  pointer-events: none;
}
.shot__slot b {
  font-family: var(--sans);
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink-2);
  max-width: 26ch;
}
.shot:has(img) .shot__slot { display: none; }

/* --------------------------------------------------------------------------
   1. DOOR - full-bleed aisle. You are standing in Unit 3.
   -------------------------------------------------------------------------- */

.door {
  position: relative;
  background: var(--chrome);
  color: var(--chrome-ink);
}
.door__shot {
  position: relative;
  margin: 0;
  height: calc(100dvh - 72px);
  min-height: 36rem;
  max-height: 58rem;
  overflow: hidden;
  background: #1b2233;
}
.door__shot picture,
.door__shot img {
  display: block;
  width: 100%;
  height: 100%;
}
.door__shot img {
  object-fit: cover;
  object-position: 40% 70%;
}
.door__shot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgb(19 28 51 / 0.97) 0%,
    rgb(19 28 51 / 0.84) 32%,
    rgb(19 28 51 / 0.42) 54%,
    rgb(19 28 51 / 0.08) 74%,
    transparent 88%
  );
  pointer-events: none;
}
.door__copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(1.75rem, 3.5vw, 2.75rem);
}
.door h1 {
  font-size: clamp(2.4rem, 5.4vw, 5.5rem);
  letter-spacing: -0.038em;
  color: #fff;
  margin-bottom: 1.15rem;
}
.door__lead {
  margin-bottom: 1.75rem;
  color: var(--chrome-ink);
  max-width: 36ch;
}
.door .hero__est {
  color: var(--chrome-ink-dim);
  margin-bottom: 1.15rem;
}
.door .hero__est::after { background: rgb(255 255 255 / 0.28); }
.door .hero__availability { color: var(--chrome-ink-dim); margin-top: 0.85rem; }
.door .btn--primary {
  background: #fff;
  color: var(--chrome);
}
.door .btn--primary:hover { background: #e8eaf0; }
.door .hero__phone { color: #fff; }
.door .hero__phone:hover { color: #9edee7; }

.sheet3d {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  display: none;
  touch-action: pan-y pinch-zoom;
  cursor: grab;
}
.sheet3d:active { cursor: grabbing; }
.sample.is-gl .sheet3d,
.phead__sheet.is-gl .sheet3d { display: block; }

.sheet3d-swatches,
.sheet3d-thicks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  pointer-events: auto;
}
.sheet3d-swatches button {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-small);
  border: 1px solid rgb(255 255 255 / 0.28);
  background: var(--c, #fff);
  box-shadow: inset 0 -4px 0 var(--edge, rgb(0 0 0 / 0.16));
  cursor: pointer;
}
.sheet3d-swatches button[aria-pressed='true'] {
  outline: 2px solid #fff;
  outline-offset: 1px;
}
.sheet3d-thicks button {
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius-small);
  padding: 0.2rem 0.4rem;
  border: 1px solid rgb(255 255 255 / 0.35);
  background: rgb(19 28 51 / 0.72);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.sheet3d-thicks button[aria-pressed='true'] {
  background: #fff;
  color: var(--chrome);
  border-color: #fff;
}

.css-sheet {
  --sheet-face: rgb(223 233 238 / 0.42);
  --sheet-edge: #6fb3a8;
  --sheet-d: 14px;
  --sheet-w: 11rem;
  --sheet-h: 14rem;
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: var(--sheet-w);
  height: var(--sheet-h);
  margin: calc(var(--sheet-h) / -2) 0 0 calc(var(--sheet-w) / -2);
  display: none;
  transform-style: preserve-3d;
  transform: rotateX(-20deg) rotateY(38deg);
  pointer-events: none;
  filter: drop-shadow(0 18px 28px rgb(0 0 0 / 0.35));
}
.sample .css-sheet,
.phead__sheet .css-sheet { display: block; }
.sample.is-css3d .css-sheet,
.phead__sheet.is-css3d .css-sheet {
  pointer-events: auto;
  cursor: grab;
}
.sample.is-gl .css-sheet,
.phead__sheet.is-gl .css-sheet { display: none; }

.css-sheet__face {
  position: absolute;
  background: var(--sheet-face);
  border: 1px solid rgb(40 64 128 / 0.28);
  backface-visibility: hidden;
}
.css-sheet__face--front,
.css-sheet__face--back {
  inset: 0;
}
.css-sheet__face--front { transform: translateZ(calc(var(--sheet-d) / 2)); }
.css-sheet__face--back {
  transform: rotateY(180deg) translateZ(calc(var(--sheet-d) / 2));
}
.css-sheet__face--left,
.css-sheet__face--right {
  top: 0;
  left: 50%;
  width: var(--sheet-d);
  height: 100%;
  margin-left: calc(var(--sheet-d) / -2);
  background: var(--sheet-edge);
  box-shadow: 0 0 18px rgb(111 179 168 / 0.45);
}
.css-sheet__face--left { transform: rotateY(-90deg) translateZ(calc(var(--sheet-w) / 2)); }
.css-sheet__face--right { transform: rotateY(90deg) translateZ(calc(var(--sheet-w) / 2)); }
.css-sheet__face--top,
.css-sheet__face--bottom {
  left: 0;
  top: 50%;
  width: 100%;
  height: var(--sheet-d);
  margin-top: calc(var(--sheet-d) / -2);
  background: var(--sheet-edge);
}
.css-sheet__face--top { transform: rotateX(90deg) translateZ(calc(var(--sheet-h) / 2)); }
.css-sheet__face--bottom { transform: rotateX(-90deg) translateZ(calc(var(--sheet-h) / 2)); }

.sample {
  background: var(--chrome);
  color: var(--chrome-ink);
  border-block: 1px solid var(--chrome-rule);
  padding-block: clamp(1.75rem, 3.4vw, 3rem) clamp(1.85rem, 3.6vw, 3.25rem);
}
.counter__desk {
  display: grid;
  grid-template-columns: minmax(18rem, 24rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.25rem);
  align-items: stretch;
}
.counter__copy h2 {
  color: #fff;
  max-width: 14ch;
  margin-bottom: 1.1rem;
}
.counter.sample .t-body {
  color: var(--chrome-ink-dim);
  max-width: 38ch;
}
.counter.sample .counter__facts {
  border-top: 2px solid #fff;
  padding-top: 0.35rem;
  margin-top: 1.35rem;
  margin-bottom: 1.6rem;
}
.counter.sample .counter__facts div {
  padding-block: 0.7rem;
}
.counter.sample .counter__facts div + div { border-top-color: var(--chrome-rule); }
.counter.sample .counter__facts dt { color: var(--chrome-ink-dim); }
.counter.sample .counter__facts dd { color: #fff; }
.sample__stage {
  position: relative;
  border-radius: var(--radius-panel);
  min-height: 28rem;
  height: 100%;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 42% at 50% 36%, rgb(62 88 150 / 0.32), transparent 62%),
    linear-gradient(180deg, #0a0e1a 0%, #12192c 52%, #1a2438 100%);
  perspective: 1400px;
  touch-action: pan-y pinch-zoom;
  cursor: grab;
}
.sample__stage::after {
  content: '';
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 0;
  height: 42%;
  background: radial-gradient(ellipse 46% 38% at 50% 78%, rgb(0 0 0 / 0.4), transparent 72%);
  pointer-events: none;
  z-index: 1;
}
.sample__stage:active { cursor: grabbing; }
.sample__ticket {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--chrome-ink);
}
.sample__ticket [data-sheet-name] {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.sample__hint {
  margin: 0;
  max-width: 26ch;
  color: var(--chrome-ink-dim);
  letter-spacing: 0.05em;
  line-height: 1.55;
}
.sample__ticket [data-sheet-thick] {
  color: #9edee7;
}
.sample__quote {
  color: #9edee7;
  width: max-content;
  max-width: 100%;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  letter-spacing: 0.07em;
}
.sample__quote:hover { color: #fff; }
.sample__note {
  color: var(--chrome-ink-dim);
  font: 0.85rem/1.5 var(--sans);
  text-transform: none;
  letter-spacing: 0;
}
.sample__quote { padding-block: 0.5rem; font-size: 0.8rem; }
.sample :where(button, a):focus-visible { outline-color: #fff; }
.mat__link.is-live .mat__chip {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.phead__sheet {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-panel);
  clip-path: inset(0 round var(--radius-panel));
  height: 17.5rem;
  background:
    radial-gradient(ellipse 55% 50% at 50% 46%, rgb(56 82 150 / 0.4), transparent 70%),
    #1a2438;
  border: 1px solid var(--chrome-rule);
  perspective: 1200px;
}
.phead__sheet .sheet3d {
  position: relative;
  inset: auto;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
}
.phead__sheet .css-sheet {
  --sheet-w: 8.5rem;
  --sheet-h: 11rem;
  --sheet-d: 12px;
}
.phead__sheet [data-sheet-name] {
  position: absolute;
  z-index: 5;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  margin: 0;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c5cbd6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.35rem;
}

.hero__phone,
.phead__call {
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  transition: color var(--fast) var(--ease);
}
.hero__phone:hover,
.phead__call:hover { color: var(--accent); }

.hero__availability {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hero__availability span { white-space: nowrap; }

.hero__est {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.6rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hero__est::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
  max-width: 140px;
}

@media (max-width: 900px) {
  .door__shot {
    height: 22rem;
    min-height: 18rem;
    max-height: none;
  }
  .door__shot img { object-position: 34% 48%; }
  .door__copy {
    position: static;
    padding-block: 0 1.75rem;
  }
  .door h1 { font-size: clamp(2.2rem, 11vw, 3.1rem); }
  .door__lead { max-width: none; }
  .counter__desk { grid-template-columns: 1fr; }
  .sample__stage { order: -1; min-height: 20rem; height: 22rem; }
  .counter__copy h2 { max-width: none; }
  .sample__ticket {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 0.75rem 1rem;
  }
  .sample__hint { max-width: none; flex-basis: 100%; }
  .sample__quote { flex-basis: auto; }
}

/* A moving stock-ticket line turns the shop's capabilities into one authored
   motion moment. JavaScript pauses it whenever it is offscreen. */
.shopline {
  overflow: hidden;
  background: var(--chrome);
  color: var(--chrome-ink);
  border-block: 1px solid var(--chrome-rule);
}
.shopline__track {
  display: flex;
  width: max-content;
  animation: shopline-roll 26s linear infinite;
  animation-play-state: paused;
}
.shopline.is-running .shopline__track { animation-play-state: running; }
.shopline__run {
  display: flex;
  align-items: center;
  flex: none;
  gap: 1.1rem;
  padding: 0.9rem 0.55rem;
}
.shopline__run span {
  font-family: var(--mono);
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  white-space: nowrap;
}
.shopline__run i {
  display: block;
  width: 1.4rem;
  height: 0.42rem;
  background: var(--m-acrylic-edge);
  box-shadow: inset 0 -2px 0 rgb(18 67 63 / 0.32);
}
.shopline__run i:nth-of-type(3n + 2) {
  background: var(--m-acrylic-color);
  box-shadow: inset 0 -2px 0 rgb(91 22 10 / 0.42);
}
.shopline__run i:nth-of-type(3n) {
  background: var(--m-polycarb);
  box-shadow: inset 0 -2px 0 rgb(122 119 107 / 0.35);
}
@keyframes shopline-roll { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   2. MATERIAL RAIL - horizontal scroll of the actual rack
   -------------------------------------------------------------------------- */

.rack { background: var(--paper-raised); border-block: 1px solid var(--rule); }

.rack__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-bottom: clamp(1.35rem, 2.2vw, 2rem);
}

.rack__scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(134px, 20vw, 188px);
  gap: clamp(0.6rem, 1.2vw, 1rem);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--gutter);   /* else load-snap eats the left gutter */
  padding-bottom: 1.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--rule-strong) transparent;
  /* bleed to the viewport edge so the rack reads as continuous stock */
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
}
.rack__scroller::-webkit-scrollbar { height: 6px; }
.rack__scroller::-webkit-scrollbar-thumb { background: var(--rule-strong); }
.rack__scroller::-webkit-scrollbar-track { background: transparent; }

.mat { scroll-snap-align: start; }
.mat__link { display: block; text-decoration: none; color: inherit; }
.mat__link:hover .mat__name { text-decoration: underline; text-underline-offset: 3px; }

/* the sheet itself: face colour plus the cut edge along the bottom */
.mat__chip {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --shine-x: 50%;
  --shine-y: 40%;
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--c, var(--m-hdpe));
  margin-bottom: 0.85rem;
  overflow: hidden;
  transform-origin: 50% 90%;
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}
.mat__chip::before {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  background: radial-gradient(circle at var(--shine-x) var(--shine-y), rgb(255 255 255 / 0.64), transparent 38%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity var(--fast) var(--ease);
}
.mat__chip::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 13%;
  background: var(--edge, rgb(0 0 0 / 0.14));
}
@media (hover: hover) {
  .mat:hover .mat__chip {
    transform: perspective(680px) translateY(-8px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
    box-shadow: 0 18px 30px rgb(14 23 48 / 0.16);
  }
  .mat:hover .mat__chip::before { opacity: 0.7; }
}

.mat__name {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-bottom: 0.3rem;
}
.mat__forms {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.aisle { padding: 0; }
.aisle__shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--paper-sunk);
}
.aisle__shot picture,
.aisle__shot img {
  display: block;
  width: 100%;
}
.aisle__shot img {
  height: min(72vh, 860px);
  object-fit: cover;
  object-position: 50% 42%;
}
.aisle__shot figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  padding: 1.15rem var(--gutter) 1.25rem;
  background: linear-gradient(to top, rgb(19 28 51 / 0.82), transparent);
  color: #fff;
}
.aisle__shot figcaption span {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.aisle__shot figcaption b {
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 28ch;
  text-align: right;
}

/* --------------------------------------------------------------------------
   3. THE COUNTER - editorial statement with a hard-fact aside
   -------------------------------------------------------------------------- */

.counter__facts dl { margin: 0; }
.counter__facts div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.95rem;
}
.counter__facts div + div { border-top: 1px solid var(--rule); }
.counter__facts dt {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.counter__facts dd {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-align: right;
}

@media (max-width: 900px) {
  .counter__copy h2 { max-width: none; }
}

/* --------------------------------------------------------------------------
   ODD JOBS - the useful, memorable thing a local counter makes possible
   -------------------------------------------------------------------------- */

.oddjob {
  overflow: hidden;
  background: #dfeaec;
  border-block: 1px solid #b8cdd1;
}
.oddjob__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.oddjob__copy h2 { max-width: 11ch; margin-bottom: 1.35rem; }
.oddjob__copy p { color: #344c54; }
.oddjob__link {
  display: inline-block;
  margin-top: 1.7rem;
  padding-bottom: 0.22rem;
  border-bottom: 2px solid currentColor;
  font-weight: 800;
  text-decoration: none;
  transition: color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.oddjob__link:hover { color: var(--accent); transform: translateX(0.35rem); }

.oddjob__media {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--paper-sunk);
}
.oddjob__media:has(img) {
  border-color: #a9c1c6;
  background: #c5d3d6;
  box-shadow: 0 24px 55px rgb(31 65 73 / 0.12);
}
.oddjob__media:not(:has(img))::after,
.oddjob__media:not(:has(img)) figcaption { display: none; }
.oddjob__media picture,
.oddjob__media img {
  display: block;
  width: 100%;
  height: 100%;
}
.oddjob__media img {
  object-fit: cover;
  object-position: 50% 45%;
  filter: saturate(0.82) contrast(1.05);
  transition: transform 700ms var(--ease), filter 700ms var(--ease);
}
.oddjob__media::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgb(10 18 28 / 0.28));
}
.oddjob__media figcaption {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 0.2rem;
  min-width: min(78%, 25rem);
  padding: 0.85rem 1rem 0.9rem;
  background: var(--ink);
  color: white;
}
.oddjob__media figcaption span {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #9edee7;
}
.oddjob__media figcaption b { font-size: clamp(0.86rem, 1.2vw, 1rem); }
.oddjob__media:hover img { transform: scale(1.025); filter: saturate(0.95) contrast(1.05); }

@media (prefers-color-scheme: dark) {
  .oddjob { background: #14262c; border-color: #29434a; }
  .oddjob__copy p { color: #b6c9cd; }
  .oddjob__media { background: #20383e; border-color: #36565f; }
}

@media (max-width: 820px) {
  .oddjob__grid { grid-template-columns: 1fr; }
  .oddjob__copy h2 { max-width: none; }
}

@media (max-width: 480px) {
  .oddjob__media figcaption { min-width: calc(100% - 1.25rem); }
  .sample__stage { min-height: 18rem; height: 20rem; }
}

@media (prefers-reduced-motion: reduce) {
  .shopline__track { animation: none; }
  .oddjob__media img { transition: none; }
  .oddjob__media:hover img { transform: none; }
  .css-sheet { transition: none; }
}

/* --------------------------------------------------------------------------
   4. THE FLOOR - the machine, then the jobs it does
   -------------------------------------------------------------------------- */

.floor { background: var(--paper); }

.floor__shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #1b2233;
}
.floor__shot picture,
.floor__shot img {
  display: block;
  width: 100%;
}
.floor__shot img {
  height: min(68vh, 760px);
  object-fit: cover;
  object-position: 48% 58%;
}
.floor__shot figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  padding: 1.15rem var(--gutter) 1.25rem;
  background: linear-gradient(to top, rgb(19 28 51 / 0.82), transparent);
  color: #fff;
}
.floor__shot figcaption span {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.floor__shot figcaption b {
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: right;
}

.floor__board {
  display: grid;
  grid-template-columns: minmax(16rem, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  padding-block: var(--section-y);
}

.floor__intro h2 {
  max-width: 14ch;
  margin-bottom: 1.1rem;
}
.floor__intro .t-body { max-width: 36ch; }
.floor__link {
  display: inline-block;
  margin-top: 1.5rem;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid currentColor;
  font-weight: 800;
  text-decoration: none;
  transition: color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.floor__link:hover { color: var(--accent); transform: translateX(0.35rem); }

.floor__jobs { border-top: 2px solid var(--ink); }
.floor__jobs li {
  display: grid;
  grid-template-columns: minmax(7.5rem, 11rem) minmax(0, 1fr);
  gap: 1rem 1.5rem;
  align-items: baseline;
  padding-block: 1.05rem;
  border-bottom: 1px solid var(--rule);
}
.floor__jobs b {
  font-size: 1.02rem;
  letter-spacing: -0.018em;
}
.floor__jobs span {
  color: var(--ink-2);
  font-size: 0.98rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .floor__shot img { height: 22rem; object-position: 60% 55%; }
  .floor__board { grid-template-columns: 1fr; gap: 2rem; }
  .floor__intro h2 { max-width: none; }
  .floor__jobs li { grid-template-columns: 1fr; gap: 0.3rem; padding-block: 0.95rem; }
}

/* --------------------------------------------------------------------------
   5. THE FLY BENCH - full-bleed media, the niche nobody else claims
   -------------------------------------------------------------------------- */

.bench {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: stretch;
  background: var(--chrome);
  color: var(--chrome-ink);
}

.bench__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.25rem, 4.5vw, 3.75rem) clamp(1.5rem, 4vw, 3.75rem);
}
.bench__copy h2 { margin-bottom: 1.35rem; max-width: 14ch; }
.bench__copy p {
  color: var(--chrome-ink-dim);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.62;
  max-width: 46ch;
}
.bench__copy p + p { margin-top: 1.1rem; }
.bench__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}
.bench__list li {
  padding: 0.5rem 0.9rem;
  border: 1px solid rgb(255 255 255 / 0.22);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--chrome-ink);
}

.bench .shot {
  height: 100%;
  aspect-ratio: auto;
  min-height: 340px;
  background: #1b2540;
}
.bench .shot__slot { border-color: rgb(255 255 255 / 0.2); color: var(--chrome-ink-dim); }
.bench .shot__slot::before { border-color: rgb(255 255 255 / 0.16); }
.bench .shot__slot b { color: var(--chrome-ink); }

/* in dark mode --chrome sits below --paper, so the block needs its own lifted
   navy or it disappears into the page */
@media (prefers-color-scheme: dark) {
  .bench { background: #1a2544; }
  .bench .shot { background: #223059; }
}

@media (max-width: 900px) {
  .bench { grid-template-columns: 1fr; }
  .bench__copy h2 { max-width: none; }
  .bench .shot { min-height: 260px; }
}

/* --------------------------------------------------------------------------
   6. WHAT PEOPLE SAY - staggered columns, real reviews
   -------------------------------------------------------------------------- */

.says__head { margin-bottom: clamp(1.5rem, 2.5vw, 2.25rem); }

.says__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: start;
}
.says__cols > *:nth-child(2) { margin-top: clamp(0.75rem, 2vw, 1.75rem); }
.says__cols > *:nth-child(3) { margin-top: clamp(0.35rem, 1vw, 0.85rem); }

.say {
  border-top: 2px solid var(--ink);
  padding-top: 1.4rem;
}
.say blockquote {
  margin: 0 0 1.1rem;
  font-size: clamp(1.02rem, 1.35vw, 1.17rem);
  line-height: 1.48;
  letter-spacing: -0.014em;
  font-weight: 500;
}
.say figcaption {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

@media (max-width: 860px) {
  .says__cols { grid-template-columns: 1fr; }
  .says__cols > * { margin-top: 0 !important; }
}

/* --------------------------------------------------------------------------
   7. VISIT - structured contact block
   -------------------------------------------------------------------------- */

.visit { background: var(--paper-raised); border-top: 1px solid var(--rule); }

.visit__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.visit h2 { margin-bottom: 1.25rem; max-width: 15ch; }
.visit__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.visit__rows { border-top: 2px solid var(--ink); }
.visit__row {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1.5rem;
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--rule);
}
.visit__row dt {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 0.28rem;
}
.visit__row dd { margin: 0; font-size: 1.02rem; line-height: 1.5; }
.visit__row dd a { text-decoration: none; border-bottom: 1px solid var(--rule-strong); }
.visit__row dd a:hover { border-bottom-color: var(--ink); }
.visit__row strong { font-weight: 700; }

.visit__map {
  margin-top: 2rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius-panel);
}
/* full-width band under the two columns, so the section has a floor */
.visit__map--wide { margin-top: clamp(2rem, 3.5vw, 3rem); }
.visit__map--wide .mapfacade { align-items: center; text-align: center; }
.visit__map--wide iframe { height: 360px; }
.visit__map:has(iframe) { filter: grayscale(1) contrast(1.05); transition: filter var(--fast) var(--ease); }
.visit__map:has(iframe):hover { filter: none; }
.visit__map iframe { display: block; width: 100%; height: 300px; border: 0; border-radius: inherit; }

.mapfacade {
  display: flex;
  border-radius: inherit;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.85rem;
  min-height: 190px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--paper-sunk);
}
.mapfacade__addr {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.35;
}
.mapfacade__note {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}

@media (prefers-color-scheme: dark) {
  .visit__map:has(iframe) { filter: grayscale(1) invert(0.92) hue-rotate(180deg); }
  .visit__map:has(iframe):hover { filter: invert(0.92) hue-rotate(180deg); }
}

@media (max-width: 860px) {
  .visit__grid { grid-template-columns: 1fr; }
  .visit h2 { max-width: none; }
  .visit__row { grid-template-columns: 1fr; gap: 0.3rem; }
}

/* --------------------------------------------------------------------------
   Interior page header
   -------------------------------------------------------------------------- */

.phead {
  border-bottom: 1px solid var(--rule);
  padding-block: clamp(2rem, 3.5vw, 3.25rem) clamp(1.75rem, 3vw, 2.75rem);
}
.phead__grid { display: block; }
.phead__grid--sheet {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(12rem, 0.55fr);
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: end;
}
@media (max-width: 820px) {
  .phead__grid--sheet { grid-template-columns: 1fr; }
}
.phead h1 {
  font-size: clamp(2.35rem, 5.6vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.032em;
  line-height: 1.0;
}
.phead p {
  margin-top: 1.35rem;
  color: var(--ink-2);
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  line-height: 1.55;
  max-width: 54ch;
}

.phead__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.35rem;
  margin-top: 1.5rem;
}
.phead__call { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.95rem; }

.crumb {
  display: flex;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--ink); }

@keyframes fabrication-pass {
  0% { opacity: 0; transform: translateX(-4px); }
  12%, 82% { opacity: 1; }
  100% { opacity: 0; transform: translateX(740px); }
}

/* --------------------------------------------------------------------------
   Products: material index
   -------------------------------------------------------------------------- */

.idx__nav {
  position: sticky;
  top: 72px;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.idx__filter {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-block: 0.85rem;
}
.idx__filter input {
  flex: 1;
  min-width: 0;
  max-width: 30rem;
  padding: 0.7rem 0.9rem;
  background: var(--paper-raised);
  border: 1px solid var(--control-border);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  transition: border-color var(--fast) var(--ease);
}
.idx__filter input::placeholder { color: var(--ink-3); }
.idx__filter input:hover { border-color: var(--ink-2); }
.idx__filter input::-webkit-search-cancel-button { display: none; }

.idx__clear {
  padding: 0.7rem 0.95rem;
  background: none;
  border: 1px solid var(--control-border);
  min-height: 44px;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color var(--fast) var(--ease);
}
.idx__clear:hover { border-color: var(--ink); }

.idx__count {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}

.idx__empty {
  padding-block: clamp(3rem, 7vw, 5rem);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--ink-2);
}
.idx__empty a { color: var(--ink); text-underline-offset: 3px; }

.idx__nav ul {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding-block: 0.85rem;
  scrollbar-width: none;
}
.idx__nav ul::-webkit-scrollbar { display: none; }
.idx__nav a {
  display: block;
  border-radius: var(--radius-small);
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--rule);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  color: var(--ink-2);
  transition: border-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.idx__nav a:hover { border-color: var(--ink); color: var(--ink); }

/* On a narrow screen the sticky header plus this nav ate 24% of the viewport.
   The filter does the pills' job better, so drop them when it is available.
   The :not([hidden]) guard means a JS-off visitor keeps the pills. */
@media (max-width: 700px) {
  .idx__filter:not([hidden]) ~ ul { display: none; }
  .idx__filter { padding-block: 0.6rem; }
}

.grp { padding-block: clamp(2rem, 3.5vw, 3.25rem); scroll-margin-top: 140px; }
.grp + .grp { border-top: 1px solid var(--rule); }

.grp__head { margin-bottom: clamp(1.25rem, 2vw, 1.75rem); }
.grp__head h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); margin-bottom: 0.75rem; }
.grp__head p { color: var(--ink-2); font-size: 1rem; line-height: 1.6; max-width: 58ch; }

/* two-column split so a long stock list never becomes a hairline ladder */
.stock {
  columns: 3;
  column-gap: clamp(1.5rem, 3vw, 3rem);
}
.stock li {
  break-inside: avoid;
  padding-block: 0.5rem;
  font-size: 0.97rem;
  color: var(--ink-2);
}
.stock li:has(a) { padding: 0; position: relative; }
.stock li:has(a)::before { position: absolute; left: 0; top: 15px; pointer-events: none; }
.stock a {
  display: flex;
  border-radius: var(--radius-small);
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  min-height: 46px;
  padding: 0.6rem 0.6rem 0.6rem 1.7rem;
  text-decoration: none;
  line-height: 1.4;
}
.stock a::after { content: '\2192'; color: var(--ink-3); }
.stock a:hover, .stock a:focus-visible { background: var(--paper-sunk); color: var(--ink); }
.stock li::before {
  content: '';
  display: inline-block;
  width: 13px;
  height: 15px;
  margin-right: 0.75rem;
  vertical-align: -2px;
  background: var(--c, var(--rule-strong));
  border: 1px solid rgb(0 0 0 / 0.18);
  box-shadow: inset 0 -3px 0 rgb(0 0 0 / 0.10);   /* the cut edge, same idea as the rack */
}

@media (max-width: 900px) { .stock { columns: 2; } }
@media (max-width: 560px) { .stock { columns: 1; } }

/* --------------------------------------------------------------------------
   Quote form
   -------------------------------------------------------------------------- */

.form { display: grid; gap: 1.15rem; }
.form__intro { font-size: 0.9rem; color: var(--ink-2); line-height: 1.55; overflow-wrap: anywhere; }
.form__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.form__request textarea { font-family: var(--mono); font-size: 0.85rem; }
.quote__aside { min-width: 0; }

.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.85rem; font-weight: 600; letter-spacing: -0.005em; }
.field .hint { font-size: 0.8rem; color: var(--ink-3); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  background: var(--paper-raised);
  border: 1px solid var(--control-border);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  transition: border-color var(--fast) var(--ease);
}
.field textarea { min-height: 132px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-3); }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--ink-2); }
.form__actions .btn--ghost { border-color: var(--control-border); }
.form__actions .btn--ghost:hover { border-color: var(--ink); }

.field--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
@media (max-width: 620px) { .field--2 { grid-template-columns: 1fr; } }

.form__note { font-size: 0.85rem; color: var(--ink-3); max-width: 62ch; line-height: 1.55; }
.form__note a { color: var(--ink); text-underline-offset: 3px; }

/* --- form status: hidden until the handler puts a state on it ------------- */

.form__status {
  display: none;
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius-small);
  border-left: 3px solid currentColor;
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 52ch;
}
.form__status[data-state='busy'] {
  display: block;
  color: var(--ink-2);
  background: var(--paper-sunk);
}
.form__status[data-state='info'] { display: block; color: var(--ink); background: var(--paper-sunk); }
.form__status[data-state='ok'] {
  display: block;
  color: var(--ok);
  background: var(--ok-bg);
}
.form__status[data-state='error'] {
  display: block;
  color: var(--err);
  background: var(--err-bg);
}

/* invalid only after the browser has actually flagged it, never while typing */
.field input:user-invalid,
.field textarea:user-invalid { border-color: var(--err); }

.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.btn[disabled]:active { transform: none; }

.quote__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 900px) { .quote__grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Legal and policy pages
   -------------------------------------------------------------------------- */

/* A numbered spec sheet: a title block with the document's own bin label,
   then contents and sections sharing Plex Mono numbers. Body copy holds a
   65 to 75 character measure. */
.legal { padding-block: clamp(1.25rem, 2.5vw, 2rem) var(--section-y); }
/* One sheet width: contents column, gap and the 70ch body. The title rule and
   the plate end on the same right edge as the body copy instead of the page edge. */
.legal__head,
.legal__grid { max-width: 65rem; }

.legal__head {
  padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: clamp(1.75rem, 3.5vw, 3rem);
  border-bottom: 1px solid var(--rule-strong);
}
.legal__head .crumb { margin-bottom: 0.6rem; color: var(--ink-2); }
.legal__title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem var(--layout-gap);
  align-items: end;
}
.legal__head h1 {
  font-size: var(--type-page);
  font-weight: var(--w-medium);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.legal__lead {
  max-width: 54ch;
  text-wrap: balance;
  margin-top: 1rem;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.55;
  color: var(--ink-2);
}
.legal__plate { font-size: 1.05rem; }

.legal__grid {
  display: grid;
  grid-template-columns: minmax(13rem, 17rem) minmax(0, 1fr);
  gap: var(--layout-gap) clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.legal__num {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
}

.legal__nav { position: sticky; top: calc(72px + 1.5rem); }
.legal__nav .spec { margin-bottom: 0.75rem; }
.legal__nav ol { display: grid; border-top: 1px solid var(--rule); }
.legal__nav li { border-bottom: 1px solid var(--rule); }
.legal__nav a {
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr);
  align-items: baseline;
  padding-block: 0.6rem;
  font-size: 0.92rem;
  line-height: 1.35;
  text-decoration: none;
  color: var(--ink-2);
}
.legal__nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal__nav a[aria-current] { color: var(--ink); font-weight: var(--w-medium); }
.legal__nav a[aria-current] .legal__num { color: var(--accent); }

.legal__body { min-width: 0; }
.legal__summary {
  max-width: 58ch;
  padding-left: 3.25rem;
  font-size: clamp(1.08rem, 1.45vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink);
}

/* Each section hangs its number in a left column, like a spec sheet. */
.legal__body section {
  position: relative;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  padding: clamp(1.25rem, 2.2vw, 1.75rem) 0 0 3.25rem;
  border-top: 1px solid var(--rule);
  scroll-margin-top: calc(72px + 1rem);
}
.legal__body h2 {
  display: flex;
  align-items: baseline;
  margin: 0 0 0.9rem -3.25rem;
  font-size: var(--type-sub);
  font-weight: var(--w-medium);
  line-height: 1.12;
  letter-spacing: -0.025em;
}
/* The number hangs in the section's left column on the heading's baseline. */
.legal__body h2 .legal__num {
  flex: 0 0 3.25rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.legal__body p,
.legal__body li,
.legal__body dd {
  max-width: 70ch;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-2);
}
.legal__body section > * + :not(h2) { margin-top: 1rem; }
.legal__body ul { padding-inline-start: 1.15rem; list-style: square; }
.legal__body li { padding-left: 0.2rem; }
.legal__body li + li { margin-top: 0.5rem; }
.legal__body li::marker { color: var(--ink-3); }
.legal__body strong { font-weight: var(--w-medium); color: var(--ink); }
.legal__body a { color: var(--ink); text-underline-offset: 3px; }

.legal__data { border-top: 1px solid var(--rule); }
.legal__data > div {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 0.5rem 1.5rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--rule);
}
.legal__data dt {
  padding-top: 0.25rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* An inset panel, not a ruled box, so it never doubles the section rule. */
.legal__body .legal__notice {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-panel);
  background: var(--paper-raised);
  box-shadow: inset 0 0 0 1px var(--rule);
}

@media (max-width: 900px) {
  .legal__grid { grid-template-columns: 1fr; }
  .legal__nav { position: static; }
  .legal__nav ol { grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); column-gap: 1.5rem; }
  .legal__nav a { min-height: 44px; align-items: center; }
}
@media (max-width: 620px) {
  .legal__title { grid-template-columns: 1fr; }
  .legal__plate { justify-self: start; font-size: 0.95rem; }
  .legal__summary { padding-left: 0; }
  .legal__body section { padding-left: 0; }
  .legal__body h2 { display: block; margin-left: 0; }
  .legal__body h2 .legal__num { display: block; margin: 0 0 0.4rem; }
  /* Two contents columns keep the list to about half a screen on phones. */
  .legal__nav ol { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
  .legal__nav a { grid-template-columns: 1.75rem minmax(0, 1fr); font-size: 0.88rem; }
  .legal__data > div { grid-template-columns: 1fr; gap: 0.35rem; }
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.band {
  background: var(--accent);
  color: var(--accent-ink);
  padding-block: var(--section-compact);
}
.band__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem 3rem;
}
.band h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); max-width: 20ch; }
.band p { color: rgb(255 255 255 / 0.82); margin-top: 0.85rem; max-width: 42ch; }
.band .btn {
  background: var(--accent-ink);
  color: var(--accent);
  font-size: 1rem;
  padding: 1.05rem 1.9rem;
}
.band .btn:hover { background: rgb(255 255 255 / 0.88); }

@media (prefers-color-scheme: dark) {
  .band { background: #1f2d54; color: var(--chrome-ink); }
  .band p { color: rgb(233 236 243 / 0.72); }
  .band .btn { background: var(--accent); color: #0b1020; }
  .band .btn:hover { background: var(--accent-hover); }
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */

/* The copy holds the content column; the aisle photo runs off the right
   edge from the header to the footer. Phones: copy first, photo below. */
.lost {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: min(calc(100svh - 72px), 48rem);
  background: var(--paper);
}
.lost__copy {
  align-self: center;
  max-width: calc(34rem + var(--layout-gap));
  padding: var(--section-y) var(--layout-gap) var(--section-y) var(--gutter);
}
@media (min-width: 1761px) {
  .lost__copy { padding-left: calc((100vw - var(--page)) / 2 + var(--gutter)); max-width: none; }
}
.lost__plate { margin-bottom: 1.5rem; font-size: 0.95rem; }
.lost h1 {
  font-size: var(--type-page);
  font-weight: var(--w-medium);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.lost__lead {
  max-width: 40ch;
  text-wrap: balance;
  margin-top: 1rem;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.55;
  color: var(--ink-2);
}
.lost__index { margin-top: clamp(1.5rem, 3vw, 2.25rem); border-top: 1px solid var(--rule-strong); }
.lost__index li { border-bottom: 1px solid var(--rule); }
.lost__index a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0.25rem 1.5rem;
  padding-block: 0.95rem;
  text-decoration: none;
  color: var(--ink);
}
.lost__index span { font-size: 1.15rem; font-weight: var(--w-medium); letter-spacing: -0.015em; }
.lost__index em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  text-align: right;
}
.lost__index a:hover span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.lost__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-top: clamp(1.5rem, 3vw, 2rem);
}
.lost__photo { position: relative; margin: 0; overflow: hidden; background: var(--paper-sunk); }
.lost__photo picture, .lost__photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.lost__photo img { object-fit: cover; object-position: 50% 45%; }

@media (max-width: 860px) {
  .lost { grid-template-columns: 1fr; min-height: 0; }
  .lost__copy { max-width: 40rem; padding-block: var(--section-compact) var(--section-y); }
  .lost__photo { aspect-ratio: 16 / 10; }
}
@media (max-width: 520px) {
  .lost__index a { grid-template-columns: 1fr; min-height: 44px; }
  .lost__index em { text-align: left; }
  .lost__actions .btn { flex: 1 1 100%; }
}
