/* ============================================================
   BISHOP STREET TRADING LIMITED — blanc-vip.com
   Palette drawn from the company's public record & its streets:
   GOV.UK ink/green + Westminster nameplate white/red.
   Type: Archivo (nameplate caps) · Newsreader (memo serif)
         IBM Plex Mono (data).
   ============================================================ */

:root {
  --porcelain: #F4F3EE;       /* enamel-plate white */
  --porcelain-deep: #ECEAE1;  /* tinted section */
  --paper: #FFFFFF;
  --ink: #0D120E;             /* registry black, green undertone */
  --chancery: #0A5C3B;        /* deep chancery green (primary) */
  --chancery-deep: #074A2F;
  --tick: #17A673;            /* up-tick green (data accent) */
  --signal: #C8102E;          /* Westminster red (down-tick) */

  --line: rgba(13, 18, 14, 0.14);
  --ink-70: rgba(13, 18, 14, 0.72);
  --ink-55: rgba(13, 18, 14, 0.55);
  --ink-40: rgba(13, 18, 14, 0.40);
  --pl-70: rgba(244, 243, 238, 0.72);
  --pl-50: rgba(244, 243, 238, 0.50);
  --pl-14: rgba(244, 243, 238, 0.14);

  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Newsreader", Georgia, "Times New Roman", serif;
  --font-mono: "IBM Plex Mono", Consolas, "Courier New", monospace;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-swift: cubic-bezier(0.72, 0, 0.24, 1);

  --radius: 12px;
  --header-h: 76px;
}

/* ---------- base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }

h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }

a { color: var(--chancery); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--chancery-deep); }

::selection { background: var(--chancery); color: var(--porcelain); }

:focus-visible {
  outline: 2px solid var(--chancery);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.mono { font-family: var(--font-mono); }

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 300;
  background: var(--ink);
  color: var(--porcelain);
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 10px 14px;
  border-radius: 6px;
  transition: top 0.2s ease-out;
}
.skip-link:focus { top: 12px; color: var(--porcelain); }

/* ---------- reveal states (visible by default; .js hides, JS reveals) ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
}
html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

html.js .hero-title__inner { transform: translateY(114%); }
html.anim-fallback .hero-title__inner {
  transform: none;
  transition: transform 0.9s var(--ease-out);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 243, 238, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(13, 18, 14, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
  padding-block: 12px;
}

.plate-mark {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
}
.plate-mark__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 80%;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 1.3rem;
  color: var(--ink);
}
.plate-mark__rule {
  height: 2px;
  background: var(--signal);
  margin: 5px 0 4px;
  transform-origin: left center;
  transition: transform 0.35s var(--ease-out);
}
.plate-mark:hover .plate-mark__rule { transform: scaleX(0.55); }
.plate-mark__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-55);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 30px);
}
.site-nav > a:not(.btn) {
  font-family: var(--font-display);
  font-weight: 600;
  font-stretch: 88%;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-70);
  padding-bottom: 4px;
  background-image: linear-gradient(var(--chancery), var(--chancery));
  background-repeat: no-repeat;
  background-size: 0% 2px;
  background-position: left bottom;
  transition: background-size 0.35s var(--ease-out), color 0.25s ease;
}
.site-nav > a:not(.btn):hover {
  color: var(--chancery);
  background-size: 100% 2px;
}
.site-nav > a[aria-current="page"] {
  color: var(--chancery);
  background-size: 100% 2px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 100%;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 7px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.25s ease,
              color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.btn:active { transform: scale(0.97); }
.btn__tick {
  font-size: 0.85em;
  transition: transform 0.3s var(--ease-out);
}
.btn:hover .btn__tick { transform: translate(4px, -2px); }

.btn--solid {
  background: var(--chancery);
  color: var(--porcelain);
}
.btn--solid:hover {
  background: var(--chancery-deep);
  color: var(--porcelain);
  box-shadow: 0 10px 26px rgba(10, 92, 59, 0.28);
}

.btn--ghost {
  border-color: rgba(13, 18, 14, 0.3);
  color: var(--ink);
}
.btn--ghost:hover {
  border-color: var(--chancery);
  color: var(--chancery);
}

.btn--nav { padding: 10px 16px; font-size: 12px; }
.btn--big { padding: 18px 32px; font-size: 14px; }

/* ---------- type helpers ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--chancery);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  background: linear-gradient(135deg, var(--chancery) 0%, var(--chancery) 50%, transparent 50%);
}
.eyebrow--light { color: var(--tick); }
.eyebrow--light::before {
  background: linear-gradient(135deg, var(--tick) 0%, var(--tick) 50%, transparent 50%);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 112%;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: -0.005em;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
}

.section-intro {
  margin-top: 18px;
  font-size: 1.1rem;
  color: var(--ink-70);
  max-width: 620px;
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink-70);
  max-width: 540px;
}
.lead--wide { max-width: 800px; }

/* ---------- hero ---------- */

.hero { overflow: hidden; }

.hero-wrap {
  padding-block: clamp(44px, 7vh, 80px) clamp(48px, 8vh, 84px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
  margin-top: clamp(16px, 3vh, 36px);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 118%;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.01em;
  font-size: clamp(2.7rem, 8vw, 7.4rem);
  margin: 0.3em 0 0;
}
.page-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 118%;
  text-transform: uppercase;
  line-height: 0.94;
  font-size: clamp(2.5rem, 5.6vw, 4.8rem);
  margin: 0.3em 0 0.45em;
}

.hero-title__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.04em;
}
.hero-title__inner { display: inline-block; }
.hero-title__inner--green { color: var(--chancery); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-note {
  margin-top: 26px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-55);
}

/* ---------- hero board ---------- */

.hero-board {
  position: relative;
  max-width: 560px;
  width: 100%;
  justify-self: end;
}
.board-svg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 26px 60px rgba(13, 18, 14, 0.14));
}

.board-frame { fill: var(--paper); stroke: var(--ink); stroke-width: 2; }
.sq { fill: rgba(10, 70, 45, 0.085); }
.hit { fill: rgba(23, 166, 115, 0.22); }
html.js .hit { opacity: 0; }
html.anim-fallback .hit { opacity: 1; transition: opacity 0.6s ease-out; }
html.anim-fallback .hit:nth-child(2) { transition-delay: 0.1s; }
html.anim-fallback .hit:nth-child(3) { transition-delay: 0.2s; }
html.anim-fallback .hit:nth-child(4) { transition-delay: 0.3s; }
html.anim-fallback .hit:nth-child(5) { transition-delay: 0.4s; }
html.anim-fallback .hit:nth-child(6) { transition-delay: 0.5s; }
html.anim-fallback .hit:nth-child(7) { transition-delay: 0.6s; }
html.anim-fallback .hit:nth-child(8) { transition-delay: 0.7s; }
html.anim-fallback .hit:nth-child(9) { transition-delay: 0.8s; }
html.anim-fallback .hit:nth-child(10) { transition-delay: 0.9s; }

.board-coords text {
  font-family: var(--font-mono);
  font-size: 12px;
  fill: var(--ink-40);
  text-anchor: middle;
}
.board-diagonal {
  stroke: rgba(13, 18, 14, 0.22);
  stroke-width: 1.5;
  stroke-dasharray: 2 8;
  stroke-linecap: round;
}
.board-cross line {
  stroke: rgba(13, 18, 14, 0.14);
  stroke-width: 1;
  stroke-dasharray: 3 6;
}
.board-cross { animation: cross-blink 3.2s ease-in-out infinite alternate; }

.board-curve {
  fill: none;
  stroke: var(--chancery);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.board-down {
  fill: none;
  stroke: var(--signal);
  stroke-width: 4;
  stroke-linecap: round;
}
.board-bishop { fill: var(--chancery); }
.board-bishop__cleft {
  fill: none;
  stroke: var(--paper);
  stroke-width: 3;
  stroke-linecap: round;
}
html.js .board-bishop { opacity: 0; }
html.anim-fallback .board-bishop { opacity: 1; transition: opacity 0.6s ease-out 1s; }

.board-tag rect { fill: var(--paper); stroke: rgba(13, 18, 14, 0.25); stroke-width: 1; }
.board-tag text {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  fill: var(--ink);
  text-anchor: middle;
}
html.js .board-tag { opacity: 0; }
html.anim-fallback .board-tag { opacity: 1; transition: opacity 0.6s ease-out 1.2s; }

/* ---------- tape ---------- */

.tape {
  background: var(--ink);
  border-block: 1px solid var(--ink);
  overflow: hidden;
  padding-block: 13px;
}
.tape__track {
  display: flex;
  width: max-content;
  animation: tape-run 34s linear infinite;
}
.tape__chunk {
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pl-70);
  padding-right: 3.4em;
}
.tape__chunk i {
  font-style: normal;
  margin: 0 0.7em 0 1.6em;
}
.tape__chunk .up { color: var(--tick); }
.tape__chunk .dn { color: var(--signal); }
.tape__coord { color: var(--pl-50); margin-left: 2.2em; }

/* ---------- sections ---------- */

.section { padding-block: clamp(72px, 11vh, 120px); }

.section--ink {
  background-color: var(--ink);
  background-image:
    linear-gradient(45deg, rgba(244, 243, 238, 0.015) 25%, transparent 25%, transparent 75%, rgba(244, 243, 238, 0.015) 75%),
    linear-gradient(45deg, rgba(244, 243, 238, 0.015) 25%, transparent 25%, transparent 75%, rgba(244, 243, 238, 0.015) 75%);
  background-size: 68px 68px;
  background-position: 0 0, 34px 34px;
  color: var(--pl-70);
}
.section--ink .section-title { color: var(--porcelain); }
.section--ink .section-intro { color: var(--pl-70); }

.section--tint { background: var(--porcelain-deep); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vh, 64px); }

/* ---------- practice plates ---------- */

.plates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.plate, .record-plate, .contact-plate, .enquiry-form {
  position: relative;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
}
.plate::after, .record-plate::after, .contact-plate::after, .enquiry-form::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(13, 18, 14, 0.16);
  border-radius: calc(var(--radius) - 5px);
  pointer-events: none;
}

.plate {
  padding: 24px 24px 28px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.plate:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(13, 18, 14, 0.12);
}

.plate__figure { margin: 0 0 18px; }
.plate__figure svg { display: block; width: 100%; height: auto; }

.plate__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 92%;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.plate__body { font-size: 0.98rem; color: var(--ink-70); }

.plate__list {
  list-style: none;
  margin: 18px 0 0;
  padding: 6px 0 0;
  border-top: 1px dashed rgba(13, 18, 14, 0.22);
  font-size: 12px;
  color: var(--ink-70);
}
.plate__list li { padding-top: 9px; }
.plate__list li::before { content: "▸ "; color: var(--chancery); }

/* figure svg vocabulary */

.fig-card { fill: rgba(244, 243, 238, 0.6); stroke: rgba(13, 18, 14, 0.16); stroke-width: 1; }
.fig-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  fill: var(--ink-55);
}
.fig-rule { stroke: rgba(13, 18, 14, 0.14); stroke-width: 1; }
.fig-curve { fill: none; stroke: var(--chancery); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.fig-dd rect { fill: rgba(200, 16, 46, 0.72); }
.fig-mid { stroke: rgba(13, 18, 14, 0.28); stroke-width: 1; stroke-dasharray: 4 4; }
.fig-bids rect { fill: rgba(23, 166, 115, 0.8); transform-box: fill-box; transform-origin: right center; }
.fig-asks rect { fill: rgba(200, 16, 46, 0.62); transform-box: fill-box; transform-origin: left center; }
html.js .fig-bids rect, html.js .fig-asks rect { transform: scaleX(0); }
html.anim-fallback .fig-bids rect, html.anim-fallback .fig-asks rect {
  transform: scaleX(1);
  transition: transform 0.7s var(--ease-out);
}
.fig-stat { font-family: var(--font-mono); font-size: 11.5px; fill: var(--ink-70); }
.fig-stat--red { fill: var(--signal); }
.fig-node rect { fill: var(--paper); stroke: rgba(13, 18, 14, 0.4); stroke-width: 1.2; }
.fig-node text {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  fill: var(--ink-70);
  text-anchor: middle;
}
.fig-node--accent rect { fill: var(--chancery); stroke: none; }
.fig-node--accent text { fill: var(--porcelain); }
.fig-flow {
  fill: none;
  stroke: rgba(10, 92, 59, 0.6);
  stroke-width: 1.8;
  stroke-dasharray: 5 6;
  animation: flow 1.5s linear infinite;
}

/* ---------- playbook ---------- */

.moves {
  position: relative;
  display: grid;
  gap: clamp(28px, 4.5vh, 44px);
  max-width: 920px;
  padding-block: 10px;
  background-image: linear-gradient(to top right,
    transparent calc(50% - 1px), var(--pl-14) 50%, transparent calc(50% + 1px));
}

.move {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  max-width: 560px;
}
.move:nth-child(2) { margin-left: 10%; }
.move:nth-child(3) { margin-left: 20%; }
.move:nth-child(4) { margin-left: 30%; }

.move__coord {
  flex: none;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 15px;
  color: var(--tick);
  border: 1.5px solid rgba(23, 166, 115, 0.55);
  border-radius: 9px;
  background: rgba(23, 166, 115, 0.06);
}
.move__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 95%;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--porcelain);
  margin-bottom: 7px;
}
.move__body p { font-size: 0.98rem; color: var(--pl-70); }

/* ---------- registry tape ---------- */

.registry {
  margin-top: clamp(64px, 9vh, 100px);
  border-block: 1px solid rgba(244, 243, 238, 0.18);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.registry__item {
  padding: 24px 26px;
}
.registry__item + .registry__item { border-left: 1px solid var(--pl-14); }
.registry__num {
  display: block;
  font-weight: 600;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  color: var(--porcelain);
  font-variant-numeric: tabular-nums;
  min-height: 1.2em;
}
.registry__num--green { color: var(--tick); }
.registry__cap {
  display: block;
  margin-top: 9px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pl-50);
}

/* ---------- quote ---------- */

.quote-strip { padding-block: clamp(80px, 12vh, 130px); }
.quote-strip--tight { padding-block: clamp(56px, 8vh, 80px); }

.quote { max-width: 880px; }
.quote::before {
  content: "";
  display: block;
  width: 58px;
  height: 58px;
  margin-bottom: 28px;
  background: linear-gradient(135deg,
    transparent calc(50% - 2px), var(--signal) calc(50% - 2px),
    var(--signal) calc(50% + 2px), transparent calc(50% + 2px));
}
.quote p {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.55rem, 3.2vw, 2.5rem);
  line-height: 1.28;
}
.quote em { font-style: italic; color: var(--chancery); }

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

.cta-band {
  background: var(--chancery);
  background-image: repeating-linear-gradient(45deg,
    rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 26px);
  color: var(--porcelain);
  padding-block: clamp(64px, 9vh, 96px);
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}
.cta-band__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 120%;
  text-transform: uppercase;
  line-height: 0.9;
  font-size: clamp(2.4rem, 5vw, 4rem);
}
.cta-band__sub {
  margin-top: 12px;
  font-size: 1.05rem;
  color: rgba(244, 243, 238, 0.75);
  max-width: 480px;
}
.cta-band .btn--solid {
  background: var(--porcelain);
  color: var(--chancery-deep);
}
.cta-band .btn--solid:hover {
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--pl-70);
  border-top: 3px solid var(--signal);
}

.footer-wordmark {
  overflow: hidden;
  border-bottom: 1px solid rgba(244, 243, 238, 0.12);
}
.footer-wordmark span {
  display: block;
  text-align: center;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  line-height: 1;
  font-size: clamp(3rem, 9.2vw, 8.4rem);
  padding: 34px 10px 12px;
  color: rgba(244, 243, 238, 0.05);
  -webkit-text-stroke: 1px rgba(244, 243, 238, 0.3);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding-block: 56px;
}
.footer-col__title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tick);
  margin: 0 0 14px;
}
.footer-col p { font-size: 0.95rem; line-height: 1.85; }
.footer-col a { color: rgba(244, 243, 238, 0.85); }
.footer-col a:hover { color: var(--tick); }

.footer-legal {
  border-top: 1px solid rgba(244, 243, 238, 0.12);
  padding-block: 26px 44px;
  font-size: 0.8rem;
  color: rgba(244, 243, 238, 0.48);
}
.footer-disclaimer {
  margin-top: 10px;
  font-size: 0.76rem;
  line-height: 1.65;
  max-width: 920px;
}

/* ---------- page hero (inner pages) ---------- */

.page-hero {
  padding-block: clamp(56px, 9vh, 90px) clamp(10px, 2vh, 20px);
}

/* ---------- about: story + map ---------- */

.story-grid, .bishop-grid, .record-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}

.story-copy p + p { margin-top: 16px; }
.story-copy .section-title { margin-bottom: 20px; }
.story-list { max-width: 380px; }

.story-map svg { display: block; width: 100%; height: auto; }
.map-frame { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; }
.map-park { fill: rgba(23, 166, 115, 0.14); }
.map-park-label, .map-street-label, .map-node-label, .map-note {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  fill: var(--ink-40);
}
.map-park-label { fill: rgba(10, 92, 59, 0.6); }
.map-node-label { text-anchor: middle; }
.map-street {
  fill: none;
  stroke: rgba(13, 18, 14, 0.55);
  stroke-width: 2;
  stroke-linecap: round;
}
.map-street--main { stroke: var(--chancery); stroke-width: 3.5; }
.map-node { fill: none; stroke: rgba(13, 18, 14, 0.4); stroke-width: 1.5; stroke-dasharray: 3 4; }
.map-pin__stem { stroke: var(--signal); stroke-width: 2; }
.map-pin__dot { fill: var(--signal); }
.map-pin__ring {
  fill: none;
  stroke: rgba(200, 16, 46, 0.5);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: pin-pulse 2.4s ease-out infinite;
}
.map-pin__plate rect { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; }
.map-pin__l1 {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.08em;
  fill: var(--ink);
  text-anchor: middle;
}
.map-pin__l2 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  fill: var(--ink-55);
  text-anchor: middle;
}

/* ---------- about: bishop ---------- */

.bishop-art svg { display: block; width: 100%; max-width: 440px; height: auto; margin-inline: auto; }
.bishop-board rect { fill: rgba(244, 243, 238, 0.06); }
.bishop-ray {
  fill: none;
  stroke: rgba(23, 166, 115, 0.45);
  stroke-width: 2;
  stroke-dasharray: 6 9;
  stroke-linecap: round;
}
.bishop-ray--long { stroke: var(--tick); stroke-width: 2.5; stroke-dasharray: none; }
.bishop-piece { fill: var(--porcelain); }
.bishop-piece__cleft {
  fill: none;
  stroke: var(--ink);
  stroke-width: 5;
  stroke-linecap: round;
}
.bishop-copy p + p { margin-top: 16px; }
.bishop-copy .section-title { margin-bottom: 20px; }
.bishop-copy p { color: var(--pl-70); }

/* ---------- about: principles ---------- */

.principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 44px);
}
.principle {
  position: relative;
  border-top: 1.5px solid rgba(13, 18, 14, 0.16);
  padding-top: 22px;
}
.principle::before {
  content: "";
  position: absolute;
  top: -1.5px;
  left: 0;
  width: 58px;
  height: 3px;
  background: var(--chancery);
}
.principle__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 95%;
  font-size: 1.12rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.principle p { font-size: 0.97rem; color: var(--ink-70); }

/* ---------- about: record ---------- */

.record-copy p { margin-top: 18px; color: var(--ink-70); }

.record-plate { padding: 10px 0; }
.record-row {
  display: grid;
  grid-template-columns: 156px 1fr;
  gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px dashed rgba(13, 18, 14, 0.16);
}
.record-row:last-child { border-bottom: none; }
.record-row dt {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-55);
  padding-top: 4px;
}
.record-row dd { font-size: 0.98rem; }
.record-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--chancery);
  background: rgba(23, 166, 115, 0.1);
  border: 1.5px solid rgba(23, 166, 115, 0.4);
  border-radius: 999px;
  padding: 3px 12px;
}
.record-badge::before { content: "● "; color: var(--tick); }

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}

.contact-plate { padding: 8px 0; }
.contact-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px dashed rgba(13, 18, 14, 0.16);
}
.contact-row:last-child { border-bottom: none; }
.contact-row dt {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-55);
  padding-top: 4px;
}
.contact-row dd { font-size: 1rem; }
.contact-note {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-55);
  margin-top: 4px;
}

.contact-board { margin-top: 26px; }
.contact-board svg { display: block; width: 100%; height: auto; }
.mini-board rect { fill: rgba(13, 18, 14, 0.06); }
.mini-dot { fill: var(--chancery); }

.enquiry-form { padding: 32px 32px 28px; }
.enquiry-form .eyebrow { margin-bottom: 8px; }

.field { margin-top: 18px; }
.field__label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-70);
  margin-bottom: 8px;
}
.req { color: var(--signal); margin-left: 4px; }

.field__input {
  width: 100%;
  background: #FBFAF6;
  border: 1.5px solid rgba(13, 18, 14, 0.3);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.field__input::placeholder { color: var(--ink-40); font-style: italic; }
.field__input:focus {
  outline: none;
  background: var(--paper);
  border-color: var(--chancery);
  box-shadow: 0 0 0 3px rgba(23, 166, 115, 0.2);
}

.field__select-wrap { position: relative; }
.field__select-wrap::after {
  content: "▾";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--chancery);
  font-size: 13px;
  pointer-events: none;
}
.field__select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer; }

.field__textarea { resize: vertical; min-height: 130px; }

.btn--submit { width: 100%; margin-top: 26px; }

.form-hint {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: var(--ink-55);
  transition: color 0.3s ease;
}
.enquiry-form[data-sent] .form-hint { color: var(--chancery); font-weight: 600; }

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

.lost {
  min-height: 100svh;
  display: grid;
  align-items: center;
}
.lost__inner { padding-block: 60px; }
.lost .lead { margin-bottom: 30px; }

/* ---------- page veil (bishop's diagonal) ---------- */

.page-veil {
  position: fixed;
  inset: -55%;
  z-index: 200;
  background: var(--chancery);
  display: grid;
  place-items: center;
  pointer-events: none;
  transform: translate(-135%, 135%);
  will-change: transform;
  transition: transform 0.62s var(--ease-swift);
}
.page-veil.is-covering { transform: translate(0, 0); }
.page-veil.is-leaving { transform: translate(135%, -135%); }
.page-veil svg { width: 88px; height: 88px; opacity: 0.92; }

/* ---------- keyframes ---------- */

@keyframes tape-run {
  to { transform: translateX(-50%); }
}
@keyframes flow {
  to { stroke-dashoffset: -44; }
}
@keyframes cross-blink {
  from { opacity: 0.4; }
  to { opacity: 1; }
}
@keyframes pin-pulse {
  0% { transform: scale(0.5); opacity: 0.9; }
  70% { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-board { max-width: 500px; justify-self: start; }
  .plates { grid-template-columns: 1fr; max-width: 640px; }
  .story-grid, .bishop-grid, .record-grid, .contact-grid { grid-template-columns: 1fr; }
  .bishop-grid { gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; padding-block: 44px; }
  .registry { grid-template-columns: 1fr 1fr; }
  .registry__item { border-top: 1px solid var(--pl-14); }
  .registry__item:nth-child(-n+2) { border-top: none; }
  .registry__item:nth-child(3) { border-left: none; }
  .move:nth-child(2) { margin-left: 6%; }
  .move:nth-child(3) { margin-left: 12%; }
  .move:nth-child(4) { margin-left: 18%; }
}

@media (max-width: 840px) {
  .btn--nav { display: none; }
  .site-nav { gap: 18px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 2px;
    padding-block: 12px 10px;
  }
  .plate-mark { align-items: center; }
  .site-nav { width: 100%; justify-content: center; gap: 22px; }
  .plate-mark__name { font-size: 1.1rem; }
  .plate-mark__sub { font-size: 9px; }
  .registry { grid-template-columns: 1fr; }
  .registry__item { border-left: none !important; padding-inline: 4px; }
  .registry__item:nth-child(2) { border-top: 1px solid var(--pl-14); }
  .principles { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .move { gap: 16px; }
  .move:nth-child(n) { margin-left: 0; }
  .record-row, .contact-row { grid-template-columns: 1fr; gap: 4px; padding-inline: 20px; }
  .enquiry-form { padding: 24px 20px 22px; }
  .tape__chunk { font-size: 11px; }
  .cta-band .btn--big { width: 100%; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal,
  html.js .hero-title__inner,
  html.js .hit,
  html.js .board-bishop,
  html.js .board-tag,
  html.js .fig-bids rect,
  html.js .fig-asks rect {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .tape__track,
  .fig-flow,
  .board-cross,
  .map-pin__ring {
    animation: none;
  }
  .plate,
  .plate:hover { transform: none; }
  .btn, .btn__tick, .plate-mark__rule { transition: none; }
  .page-veil { display: none; }
}
