/* GXPSY Studios — Design System V1 (Oct 2026). Do not add values outside these tokens. */
:root {
  --void-black: #0B0B0A;
  --bone-white: #ECE9E2;
  --ash-grey: #8C887F;
  --hairline-grey: #3A3835;
  --oxide-rust: #7A3324;

  --s4: 4px; --s8: 8px; --s16: 16px; --s24: 24px; --s32: 32px;
  --s48: 48px; --s64: 64px; --s128: 128px;

  --gutter: 24px;
  --margin: 48px;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --font-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.2, 0, .2, 1);
  --cut: 120ms;
}

*, *::before, *::after { box-sizing: border-box; border-radius: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--void-black);
  color: var(--bone-white);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* Grain — one fixed 256px tile, mounted once, 10%. The supplied grain-256.png. */
body::after {
  content: "";
  position: fixed;
  top: -12vh;
  bottom: -12vh;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 2147483000;
  opacity: .12;
  background-size: 256px 256px;
  background-image: url("https://static.wixstatic.com/media/be7c1d_636b5250689c49b390535650066f185c~mv2.png");
  background-repeat: repeat;
}

a { color: inherit; text-decoration: none; }
p { margin: 0; max-width: 64ch; }
h1, h2, h3 { margin: 0; }

/* Grid */
.wrap { padding-left: var(--margin); padding-right: var(--margin); }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); }
.c-7 { grid-column: span 7; }
.c-5 { grid-column: span 5; }
.c-12 { grid-column: 1 / -1; }

@media (max-width: 1199px) {
  .grid { grid-template-columns: repeat(8, 1fr); }
  .c-7 { grid-column: span 5; }
  .c-5 { grid-column: span 3; }
}
@media (max-width: 809px) {
  :root { --margin: 16px; }
  .grid { grid-template-columns: repeat(4, 1fr); }
  .c-7, .c-5 { grid-column: 1 / -1; }
}

/* Type tiers */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.95;
}
.d-xl { font-size: clamp(48px, 8vw, 128px); }
.d-l  { font-size: clamp(32px, 4.5vw, 64px); }
.d-m  { font-size: clamp(24px, 2.5vw, 32px); line-height: 1; }

.mono {
  font-family: var(--font-mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  line-height: 1.4;
}
.mono-wide { letter-spacing: 0.2em; }
.ash { color: var(--ash-grey); }
.lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--void-black);
  border-bottom: 1px solid var(--hairline-grey);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s24); min-height: 72px;
}
.nav { display: flex; gap: var(--s32); }
.nav a { padding: var(--s8) 0; border-bottom: 2px solid transparent; }
.nav a[aria-current="page"] { border-bottom-color: var(--oxide-rust); }
@media (max-width: 809px) { .nav { gap: var(--s16); } }

/* Placeholder plates (logo and imagery arrive later) */
.plate {
  background: var(--hairline-grey);
  display: flex; align-items: flex-end;
  padding: var(--s16);
  color: var(--ash-grey);
}
.plate-logo { width: 160px; height: 40px; padding: 0 var(--s8); align-items: center; font-size: 10px; }
.plate-45 { aspect-ratio: 4 / 5; }
.plate-34 { aspect-ratio: 3 / 4; }
.plate-11 { aspect-ratio: 1 / 1; }
.plate-dagger { width: 24px; height: 32px; padding: 0; }
.inset { outline: 1px solid var(--hairline-grey); outline-offset: 12px; }

/* Brand devices */
.rule { display: block; width: 48px; height: 0; border-top: 2px solid var(--oxide-rust); margin-bottom: var(--s24); }
.index-tag {
  display: inline-block;
  border: 1px solid var(--oxide-rust);
  padding: var(--s4) var(--s8);
  color: var(--ash-grey);
}
.tag {
  display: inline-block;
  border: 1px solid var(--hairline-grey);
  padding: var(--s4) var(--s8);
}

/* Sections */
section { padding-top: var(--s128); padding-bottom: var(--s128); border-bottom: 1px solid var(--hairline-grey); }
section:last-of-type { border-bottom: 0; }
.stack-8 > * + * { margin-top: var(--s8); }
.stack-16 > * + * { margin-top: var(--s16); }
.stack-24 > * + * { margin-top: var(--s24); }
.stack-48 > * + * { margin-top: var(--s48); }
.head-row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s16); margin-bottom: var(--s48); }
@media (max-width: 809px) {
  section { padding-top: var(--s64); padding-bottom: var(--s64); }
  .c-5 { margin-top: var(--s48); }
  .c-5.tag-col { display: none !important; }
}

/* Process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hairline-grey); }
.step { padding: var(--s24) var(--s24) 0 0; border-right: 1px solid var(--hairline-grey); margin-right: var(--s24); }
.step:last-child { border-right: 0; margin-right: 0; }
.step .arrow { color: var(--ash-grey); }
@media (max-width: 1199px) {
  .process { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: 0; margin-right: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--hairline-grey); margin-top: var(--s24); }
}
@media (max-width: 809px) {
  .process { grid-template-columns: 1fr; }
  .step { border-right: 0; margin-right: 0; padding-right: 0; padding-bottom: var(--s24); }
  .step + .step { border-top: 1px solid var(--hairline-grey); margin-top: 0; }
}

/* Spec list */
.spec { list-style: none; margin-left: 0; margin-right: 0; margin-bottom: 0; padding: 0; border-top: 1px solid var(--hairline-grey); }
.spec li {
  display: flex; justify-content: space-between; gap: var(--s16);
  padding: var(--s16) 0; border-bottom: 1px solid var(--hairline-grey);
}

/* Buttons — flat, square; hover is opacity only */
.btn {
  display: inline-block;
  font-family: var(--font-mono); font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 12px;
  padding: var(--s16) var(--s24);
  border: 1px solid var(--bone-white);
  background: var(--bone-white);
  color: var(--void-black);
  cursor: pointer;
  transition: opacity var(--cut) var(--ease), transform var(--cut) var(--ease);
}
.btn-line { background: transparent; color: var(--bone-white); }
.btn:hover, .nav a:hover, .card:hover, .text-link:hover { opacity: .62; }
.btn:active { transform: translateY(1px); }
a:focus-visible, .btn:focus-visible { outline: 1px solid var(--bone-white); outline-offset: 4px; }
.nav a, .card, .text-link { transition: opacity var(--cut) var(--ease); }
.text-link { border-bottom: 1px solid var(--hairline-grey); padding-bottom: 2px; }

/* Archive cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s48) var(--gutter); }
.card .meta { display: flex; justify-content: space-between; gap: var(--s16); margin-top: var(--s16); }
@media (max-width: 1199px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 809px) { .cards { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { border-top: 1px solid var(--hairline-grey); padding-top: var(--s64); padding-bottom: var(--s48); }
.site-footer .row { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s24); flex-wrap: wrap; }

/* Logo — artwork, never type. Lockup ≥160px wide with clear space = its height; dagger below that. */
.mark-head, .mark-foot { display: block; width: 24px; height: auto; }
.logo-frame {
  aspect-ratio: 4 / 5;
  display: flex; align-items: center; justify-content: center;
  padding: var(--s48);
}
.lockup { display: block; width: 54%; min-width: 160px; height: auto; }

/* Header lockup — at the 160px floor */
.lockup-head { display: block; width: 120px; height: auto; }
.site-header .bar { padding-top: var(--s16); padding-bottom: var(--s16); }

/* Forms — Input: 0 corners, hairline border, focus swaps to bone white, error = rust border + mono message */
.gx-form { display: grid; gap: var(--s24); max-width: 64ch; }
.gx-field { display: grid; gap: var(--s8); }
.gx-label { color: var(--bone-white); }
.gx-req { color: var(--ash-grey); }
.gx-input {
  width: 100%;
  background: transparent;
  color: var(--bone-white);
  border: 1px solid var(--hairline-grey);
  border-radius: 0;
  padding: var(--s16);
  font-family: var(--font-body); font-size: 16px; line-height: 1.55;
  transition: border-color var(--cut) var(--ease);
  -webkit-appearance: none; appearance: none;
}
textarea.gx-input { resize: vertical; min-height: 128px; }
.gx-input::placeholder { color: var(--ash-grey); }
.gx-input:focus { outline: none; border-color: var(--bone-white); }
.gx-field.is-invalid .gx-input { border-color: var(--oxide-rust); }
.gx-err { color: var(--ash-grey); text-transform: none; letter-spacing: 0.02em; }
.gx-err:empty { display: none; }
.gx-help { font-size: 14px; }
.gx-row, .gx-choice { display: flex; gap: var(--s8); align-items: center; }
.gx-choices { display: grid; gap: var(--s8); }
.gx-check, .gx-choice input { width: 16px; height: 16px; accent-color: var(--bone-white); border-radius: 0; }
.gx-done { border-top: 2px solid var(--oxide-rust); padding-top: var(--s24); }
.btn:disabled { opacity: .4; cursor: default; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* CMS photos — fill the plate, always monochrome (the system's imagery rule, enforced) */
.plate.has-photo { padding: 0; background: var(--void-black); overflow: hidden; }
.gx-photo { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }

/* Archive index — ruled rows, no imagery */
.index-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline-grey); }
.index-row {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter);
  align-items: baseline; padding: var(--s32) 0; border-bottom: 1px solid var(--hairline-grey);
}
.index-row > :nth-child(1) { grid-column: span 2; }
.index-row > :nth-child(2) { grid-column: span 4; }
.index-row > :nth-child(3) { grid-column: span 2; }
.index-row > :nth-child(4) { grid-column: span 4; }
@media (max-width: 1199px) {
  .index-row { grid-template-columns: repeat(8, 1fr); }
  .index-row > :nth-child(1) { grid-column: span 1; }
  .index-row > :nth-child(2) { grid-column: span 4; }
  .index-row > :nth-child(3) { grid-column: span 3; }
  .index-row > :nth-child(4) { grid-column: 2 / -1; margin-top: var(--s8); }
}
@media (max-width: 809px) {
  .index-row { grid-template-columns: 1fr; row-gap: var(--s8); padding: var(--s24) 0; }
  .index-row > * { grid-column: 1 / -1 !important; margin-top: 0 !important; }
}

/* Hero: a photo in the home-hero slot replaces the lockup; empty slot keeps the lockup */
.logo-frame.has-photo { padding: 0; overflow: hidden; }

/* Optional photo plates: shown only when their slot holds a photo */
[hidden] { display: none !important; }
.tag-right { display: flex; justify-content: flex-end; }
@media (max-width: 809px) { .tag-right { display: none; } }

/* Flipped section: photo column on the left (5/7), text on the right; stacked text-first on phones */
@media (min-width: 810px) {
  .grid.flip > .c-5 { order: -1; }
  .grid.flip .tag-right { justify-content: flex-start; }
}

/* Mobile pass — tap targets ≥44px, menu fits 320px, no sticky hover on touch, photo fade-in (a cut, 180ms) */
html { -webkit-tap-highlight-color: transparent; }
.text-link { border-bottom: 0; padding-bottom: 0; text-decoration: underline; text-decoration-color: var(--hairline-grey); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.site-footer .text-link { display: inline-block; padding: 12px 0; margin: -12px 0; }
.btn, .gx-input { min-height: 48px; }
.gx-photo { transition: opacity 180ms var(--ease); }
.gx-photo.is-loading { opacity: 0; }
@media (hover: none) {
  .btn:hover, .nav a:hover, .card:hover, .text-link:hover { opacity: 1; }
}
@media (max-width: 809px) {
  .site-header .bar { gap: var(--s16); min-height: 64px; padding-top: var(--s8); padding-bottom: var(--s8); }
  .nav { gap: 0; }
  .nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; letter-spacing: 0.08em; }
  .nav a:last-child { padding-right: 0; }
}
@media (max-width: 359px) {
  .lockup-head { width: 104px; }
  .site-header .bar { gap: var(--s8); }
  .nav a { padding: 0 5px; letter-spacing: 0.06em; }
}

/* Phones: in split sections the photo sits between the headline and the text */
@media (max-width: 809px) {
  .grid.split { display: flex; flex-direction: column; gap: var(--s24); }
  .grid.split > .c-7, .grid.split > .c-5 { display: contents; }
  .grid.split > * > * { order: 3; margin-top: 0 !important; }
  .grid.split .m-head { order: 1; }
  .grid.split [data-cms-photo] { order: 2; }
  .grid.split > * > .rule { margin-bottom: 0; }
  .grid.split .index-tag, .grid.split .tag, .grid.split > * > .rule { align-self: flex-start; }
  .grid.split .tag-right { display: none; }
}

/* Phone field: country code + number, one row */
.gx-phone { display: grid; grid-template-columns: 112px 1fr; gap: var(--s8); }
.gx-cc {
  padding-right: 28px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ash-grey) 50%), linear-gradient(135deg, var(--ash-grey) 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.gx-cc option { background: var(--void-black); color: var(--bone-white); }
.gx-field.is-invalid .gx-phone .gx-input:not(.gx-cc) { border-color: var(--oxide-rust); }
.gx-field.is-invalid .gx-cc { border-color: var(--hairline-grey); }

/* Print details — off-register pull on headlines, section counter in the header */
.pull { position: relative; isolation: isolate; }
.pull::before {
  content: attr(data-text);
  position: absolute; inset: 0; z-index: -1;
  color: var(--hairline-grey);
  transform: translate(2px, 2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms var(--ease);
}
.pull { transition: transform 180ms var(--ease); }
.pull.is-pulling { transform: translateY(1px); }
.pull.is-pulling::before { opacity: 1; transition: none; }
@media (prefers-reduced-motion: reduce) { .pull, .pull::before { transition: none; } }
/* The Jungle map — monochrome tiles, dagger marks, square everything */
.jungle-frame { position: relative; }
#jungle-map { height: min(68vh, 640px); min-height: 360px; background: var(--void-black); }
.jungle-map-section .head-row { margin-bottom: var(--s24); align-items: center; }
.jungle-legend { display: flex; gap: var(--s24); }
.jungle-legend .key { display: inline-flex; gap: var(--s8); align-items: center; }
.jungle-legend .key.is-found img { opacity: .4; }
.jungle-hint { margin-top: var(--s24); }
.jungle-empty { position: absolute; left: var(--s24); bottom: var(--s24); z-index: 500; background: var(--void-black); border: 1px solid var(--hairline-grey); padding: var(--s8) var(--s16); margin: 0; }
.leaflet-container { background: var(--void-black); font-family: var(--font-body); }
.leaflet-tile-pane { filter: grayscale(1) invert(1) brightness(.78) contrast(1.15); }
.jm.is-found { opacity: .4; }
.leaflet-bar, .leaflet-bar a, .leaflet-control-attribution { border-radius: 0 !important; box-shadow: none !important; }
.leaflet-bar { border: 1px solid var(--hairline-grey) !important; }
.leaflet-bar a, .leaflet-touch .leaflet-bar a { background: var(--void-black); color: var(--bone-white); border-bottom: 1px solid var(--hairline-grey); width: 44px; height: 44px; line-height: 44px; font-family: var(--font-mono); font-size: 18px; }
.leaflet-bar a:hover { background: var(--void-black); color: var(--bone-white); opacity: .62; }
.leaflet-control-attribution { background: var(--void-black) !important; color: var(--ash-grey); font-family: var(--font-mono); font-size: 10px; }
.leaflet-control-attribution a { color: var(--ash-grey); }
.jpop .leaflet-popup-content-wrapper, .jpop .leaflet-popup-tip { background: var(--void-black); color: var(--bone-white); border-radius: 0; box-shadow: none; border: 1px solid var(--hairline-grey); }
.jpop .leaflet-popup-tip { border-top: 0; border-left: 0; }
.jpop .leaflet-popup-content { margin: var(--s16); }
.jpop a.leaflet-popup-close-button { color: var(--ash-grey); font-family: var(--font-mono); }
.jp { display: grid; gap: var(--s8); }
.jp-photo { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(1) contrast(1.05); margin-bottom: var(--s8); }
.jp p { margin: 0; }
.jp-code { color: var(--bone-white); }
.jp-place { font-size: 16px; }
.jl-row.is-link { cursor: pointer; transition: opacity var(--cut) var(--ease); }
@media (hover: hover) { .jl-row.is-link:hover { opacity: .62; } }
.jl-row.is-link:focus-visible { outline: 1px solid var(--bone-white); outline-offset: 4px; }
.jungle-link { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 809px) {
  #jungle-map { height: 62vh; min-height: 320px; }
  .jungle-map-section .head-row { flex-direction: column; align-items: flex-start; gap: var(--s8); }
}
/* Home page: the Jungle map, still, in place of the photo */
.jungle-mini { position: relative; background: var(--void-black); overflow: hidden; }
.jungle-mini-map { position: absolute; inset: 0; opacity: 0; transition: opacity var(--cut) var(--ease); }
.jungle-mini.is-ready .jungle-mini-map { opacity: 1; }
.jungle-mini-link { position: absolute; left: var(--s16); bottom: var(--s16); z-index: 1000; display: inline-flex; min-height: 44px; }
.jungle-mini-link .jungle-mini-label { display: inline-flex; align-items: center; }
.jungle-mini-label { background: var(--void-black); border: 1px solid var(--hairline-grey); padding: var(--s8) var(--s16); color: var(--bone-white); }
@media (hover: hover) { .jungle-mini-link:hover .jungle-mini-label { opacity: .62; } }
.jungle-mini-link:focus-visible { outline: 1px solid var(--bone-white); outline-offset: 2px; }
.jungle-mini .leaflet-control-attribution { position: relative; z-index: 1001; }
.jungle-mini.has-popup .jungle-mini-link { opacity: 0; pointer-events: none; }
.jungle-mini .jp-photo { aspect-ratio: 16 / 9; }
@media (max-width: 809px) { .grid.split [data-jungle-mini] { order: 2; align-self: stretch; aspect-ratio: auto; height: min(100vw, 560px); } }

/* iPhone: the header reaches up behind the status bar, so nothing shows above it */
.site-header { padding-top: env(safe-area-inset-top, 0px); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--void-black); z-index: 60; }
.wrap { padding-left: max(var(--margin), env(safe-area-inset-left, 0px)); padding-right: max(var(--margin), env(safe-area-inset-right, 0px)); }

/* Header pinned to the top (Safari on iPhone tints the status bar from a fixed header) */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1100; }
body { padding-top: calc(100px + env(safe-area-inset-top, 0px)); }
@media (max-width: 809px) { body { padding-top: calc(67px + env(safe-area-inset-top, 0px)); } }
[id] { scroll-margin-top: 120px; }
.jungle-frame, .jungle-mini { isolation: isolate; }


/* Grain stays at native pixel size on high-density screens (phones), so it reads as grain, not blur. Sits above header, menu and map. */
@media (min-resolution: 2dppx) { body::after { background-size: 128px 128px; } }
@media (min-resolution: 3dppx) { body::after { background-size: 85.333px 85.333px; } }

/* The Jungle — LDN 2025/26, closed chapter */
/* Every entry: title (with number) → images → description → specs.
   Newest open; older entries collapse to their title, the dagger opens them. */
.ldn .head-row { align-items: flex-end; }
.ldn-intro { margin-top: var(--s24); }
.ldn-list { margin-top: var(--s48); border-bottom: 1px solid var(--hairline-grey); }
.ldn-entry { border-top: 1px solid var(--hairline-grey); }
.ldn-head { display: flex; align-items: center; gap: var(--s16); min-height: 44px; padding: var(--s24) 0; cursor: pointer; list-style: none; }
.ldn-head::-webkit-details-marker { display: none; }
.ldn-head::marker { content: ""; }
.ldn-head:focus-visible { outline: 1px solid var(--bone-white); outline-offset: 4px; }
.ldn-title { font-size: clamp(32px, 4vw, 48px); line-height: 1; margin: 0; }
.ldn-entry:not([open]) .ldn-title { font-size: clamp(24px, 3vw, 32px); }
.ldn-dagger { margin-left: auto; flex: none; width: 16px; height: auto; transition: opacity var(--cut) var(--ease); }
.ldn-entry[open] .ldn-dagger { opacity: .4; }
@media (hover: hover) { .ldn-head:hover .ldn-dagger { opacity: .62; } }
.ldn-body { display: flex; flex-direction: column; gap: var(--s24); padding-bottom: var(--s48); }
.ldn-images { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s24); }
.ldn-fig { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--void-black); border: 1px solid var(--hairline-grey); }
.ldn-desc { max-width: 64ch; }
.ldn-rec { width: 100%; max-width: 640px; margin: 0; }
.ldn-rec div { display: grid; grid-template-columns: 96px 1fr; gap: var(--s16); padding: var(--s8) 0; border-bottom: 1px solid var(--hairline-grey); }
.ldn-rec dt { color: var(--ash-grey); }
.ldn-rec dd { margin: 0; }
@media (max-width: 809px) {
  .ldn-list { margin-top: var(--s32); }
  .ldn-head { padding: var(--s16) 0; }
  .ldn-images { grid-template-columns: 1fr; gap: var(--s16); }
  .ldn-body { padding-bottom: var(--s32); }
}

/* Archive rows that open a page: the whole row is the link */
.index-row.is-link { position: relative; cursor: pointer; transition: opacity var(--cut) var(--ease); }
.index-row .row-link::after { content: ""; position: absolute; inset: 0; }
@media (hover: hover) { .index-row.is-link:hover { opacity: .62; } }
.index-row .row-link:focus-visible { outline: none; }
.index-row.is-link:focus-within { outline: 1px solid var(--bone-white); outline-offset: 4px; }

/* Privacy page and form note */
.form-note { text-transform: none; letter-spacing: 0.02em; }
.form-note .text-link { text-decoration: underline; text-underline-offset: 3px; }
.privacy-list { display: grid; gap: var(--s48); }
.privacy-list p + p { margin-top: var(--s16); }

/* Header mark: full lockup at the 160px floor on desktop and tablet; dagger mark on phones (below the floor) */
.home-link { display: inline-flex; align-items: center; }
.lockup-head { width: 160px; }
.mark-head { display: none; }
@media (max-width: 809px) {
  .lockup-head { display: none; }
  .mark-head { display: block; width: 24px; height: auto; }
  .home-link { justify-content: flex-start; min-width: 44px; min-height: 44px; }
}

/* Audit fixes (27 Oct 2026) */
/* Entry number never breaks across lines */
.ldn-head .index-tag { flex: none; white-space: nowrap; }
/* Tap targets at least 44px tall: footer links, links inside spec lists and form notes */
.site-footer .text-link { padding: 14px 0; margin: -14px 0; }
.spec .text-link, .form-note .text-link { display: inline-block; padding: 14px 0; margin: -14px 0; }
/* Form note sits close to its form */
.stack-48 > .form-note { margin-top: var(--s16); }

/* Process on phones: a swipeable row of cards, one stage per card, the next card's edge showing.
   A 2px rust line marks the position; counter and swipe cue beneath. Desktop and tablet unchanged. */
.process-bar, .process-hint { display: none; }
@media (max-width: 809px) {
  .process {
    display: flex; gap: var(--s16);
    overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory; scrollbar-width: none;
    border-top: 0;
    margin-left: calc(-1 * var(--margin)); margin-right: calc(-1 * var(--margin));
    padding-left: var(--margin); padding-right: var(--margin);
    scroll-padding-left: var(--margin);
  }
  .process::-webkit-scrollbar { display: none; }
  .process:focus-visible { outline: 1px solid var(--bone-white); outline-offset: 4px; }
  .process .step, .process .step + .step {
    flex: 0 0 82%; scroll-snap-align: start;
    margin: 0; padding: var(--s24);
    border: 1px solid var(--hairline-grey);
    min-height: 220px;
  }
  .process-bar { display: block; position: relative; height: 1px; background: var(--hairline-grey); margin-top: var(--s24); }
  .process-bar span { position: absolute; left: 0; top: -1px; height: 2px; background: var(--oxide-rust); transition: transform var(--cut) var(--ease); }
  .process-hint { display: flex; justify-content: flex-end; margin-top: var(--s16); }
}
@media (prefers-reduced-motion: reduce) { .process-bar span { transition: none; } }

/* Home Print Room: Enquire sits under the text on desktop; on phones it follows the details */
.stack-48 > .pr-spec { margin-top: var(--s32); }
.stack-48 > .pr-enquire { margin-top: var(--s32); }
@media (max-width: 809px) { .pr-enquire .btn { display: block; } }

/* UX pass (27 Oct 2026) — layout and states only */
/* Inset frames sit inside the grid: the outline lands on the margin line, not 12px past it */
.inset { margin: 12px; }
/* Section numbers align to the top of the section on desktop */
.head-row { align-items: flex-start; }
/* Where you are: pages without their own menu item mark their parent */
.nav a.is-current { border-bottom-color: var(--oxide-rust); }
/* Skip link for keyboard users: hidden until focused */
.skip { position: absolute; left: var(--s16); top: -64px; z-index: 2147483001; background: var(--void-black); color: var(--bone-white); border: 1px solid var(--bone-white); padding: var(--s8) var(--s16); }
.skip:focus { top: calc(var(--s16) + env(safe-area-inset-top, 0px)); }
#main { scroll-margin-top: 120px; }
#main:focus { outline: none; }
@media (max-width: 809px) {
  /* Section numbers sit under the heading on phones, always visible */
  .head-row { flex-direction: column; align-items: flex-start; gap: var(--s16); }
  .grid.split .tag-right { display: flex; order: 1; justify-content: flex-start; }
}

/* Archive entries with four images: two by two on desktop */
.ldn-images.n4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1199px) { .ldn-images.n4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 809px) { .ldn-images.n4 { grid-template-columns: 1fr; } }
