/* Bubble Wrap ($WRAP). One sheet of cobalt bubble wrap on a halftone dot field, pale silver 1990s plastic for the
   plates, acid lime for the one accent. Layout system: one container (1440, 64 px gutter, 24 on phones), spacing
   8 / 16 / 24 / 32 / 48 / 64 / 96, one plate style, one section header (Unbounded title + one Manrope sentence). */
@font-face { font-family: "Unbounded"; src: url("/fonts/unbounded.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "JB Mono"; src: url("/fonts/jbmono.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --cobalt: #1f4bff;
  --film: #1f4bff;
  --ground: #0d32f6;
  --ink: #0b1230;
  --white: #f5f8ff;
  --soft: #dce4ff;
  --silver: #c9cbd1;
  --silver-hi: #eef0f3;
  --silver-lo: #8c9099;
  --lime: #c8ff3d;
  --lime-dark: #a6dc12;
  --grey: #8c9099;
  --gutter: 64px;
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --text: "Manrope", "Segoe UI", system-ui, sans-serif;
  --mono: "JB Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --radius: 8px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; color: var(--white);
  background: linear-gradient(rgba(31, 75, 255, .62), rgba(31, 75, 255, .62)), var(--ground) url("/img/ground.webp") 0 0 / 360px 360px repeat;
  font: 500 18px/1.55 var(--text); font-synthesis: none; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
b, strong { font-weight: 800; color: var(--white); }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); font-weight: 500; letter-spacing: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

/* ---- the plate: pale silver 1990s plastic, light top-left bevel, dark bottom-right bevel */
.plate {
  background: var(--silver); color: var(--ink); border-radius: var(--radius);
  box-shadow: inset 2px 2px 0 var(--silver-hi), inset -2px -2px 0 var(--silver-lo), 0 18px 40px -18px rgba(5, 12, 60, .55);
  padding: 24px;
}
.plate b, .plate strong { color: var(--ink); }

/* ---- keys (buttons) */
.key {
  --bg: var(--silver); display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: 8px; background: var(--bg); color: var(--ink);
  font: 700 18px/1 var(--text); text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: inset 2px 2px 0 rgba(255, 255, 255, .75), inset -2px -2px 0 rgba(0, 0, 0, .28), 0 3px 0 rgba(5, 12, 60, .35);
  transition: transform .12s var(--ease-out), filter .12s, box-shadow .12s;
}
.key:hover { filter: brightness(1.06); transform: translateY(-1px); }
.key:active { transform: translateY(2px); box-shadow: inset 2px 2px 0 rgba(0, 0, 0, .25), inset -1px -1px 0 rgba(255, 255, 255, .5), 0 1px 0 rgba(5, 12, 60, .35); }
.key.lime { --bg: var(--lime); }
.key.big { min-height: 64px; padding: 0 34px; font-size: 21px; }
.key img { width: 22px; height: 22px; object-fit: contain; }
.key[aria-disabled="true"] { --bg: #b3b6be; color: #5d6170; cursor: not-allowed; filter: none; transform: none; }
.key[aria-disabled="true"] img { opacity: .5; }
.key.lime[aria-disabled="true"] { --bg: #b9d77a; color: #3b4a1b; }
.hint { font-size: 16px; color: var(--soft); min-height: 24px; margin: 8px 0 0; }

/* ---- the top row */
.top { display: flex; align-items: center; gap: 32px; height: 88px; }
.brand { display: flex; flex: none; align-items: center; gap: 12px; text-decoration: none; font: 800 18px/1 var(--display); }
.brand img { flex: none; max-width: none; width: 44px; height: 44px; border-radius: 8px; box-shadow: 0 0 0 3px var(--silver), 0 0 0 4px var(--silver-lo), 0 6px 14px -6px rgba(0, 0, 40, .6); }
.nav { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; white-space: nowrap; }
.nav a { display: block; padding: 10px 12px; font-weight: 700; font-size: 17px; text-decoration: none; color: var(--soft); border-radius: 6px; position: relative; }
.nav a:hover { color: var(--white); }
.nav a[aria-current="page"] { color: var(--white); }
.nav .short { display: none; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px; border-radius: 2px; background: var(--lime); }
.badge {
  margin-left: auto; padding: 12px 20px; border-radius: 999px; background: var(--silver); color: var(--ink); font: 800 16px/1 var(--text);
  box-shadow: inset 2px 2px 0 var(--silver-hi), inset -2px -2px 0 var(--silver-lo); white-space: nowrap;
}
.badge.live { background: var(--lime); }

/* ---- first screen */
.first {
  display: grid; grid-template-columns: minmax(540px, 42%) 1fr; grid-template-rows: auto 1fr; grid-template-areas: "a hero" "b hero";
  height: max(700px, min(100vh, 1000px));
}
.copy { padding: 0 40px 0 var(--gutter); position: relative; z-index: 3; }
.copy-a { grid-area: a; }
.copy-b { grid-area: b; padding-bottom: 32px; display: flex; flex-direction: column; justify-content: flex-start; }
.hero { grid-area: hero; }
.copy .top { margin-bottom: clamp(8px, 2vh, 32px); }
.name { margin: 0; font: 900 clamp(64px, min(6.6vw, 11.5vh), 132px)/.9 var(--display); letter-spacing: -.02em; color: var(--white); }
.headline { margin: clamp(12px, 2vh, 24px) 0 0; font: 800 clamp(28px, min(2.6vw, 4.6vh), 46px)/1.08 var(--display); letter-spacing: -.01em; }
.headline em { font-style: normal; color: var(--lime); }
.lede { margin: clamp(12px, 2vh, 24px) 0 0; max-width: 32em; color: var(--soft); font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: clamp(16px, 2.6vh, 32px); position: relative; }
.actions .hint { position: absolute; left: 0; top: 100%; margin: 6px 0 0; }
.contract { margin-top: clamp(28px, 4vh, 48px); max-width: 600px; padding: 16px; }
.contract .hint { margin: 8px 0 0; min-height: 0; }
.contract .hint:empty { display: none; }
.ca { display: flex; gap: 12px; align-items: stretch; }
.ca-field {
  flex: 1; min-width: 0; display: flex; align-items: center; padding: 12px 16px; border-radius: 6px; background: var(--ink); color: var(--white);
  font-size: 16px; box-shadow: inset 2px 2px 0 #000, inset -1px -1px 0 #3a4372; overflow-wrap: anywhere; user-select: all;
}
.ca-field.empty { color: var(--soft); user-select: none; font-family: var(--text); font-weight: 600; }
.ca .key { min-height: 52px; padding: 0 22px; }
.links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.links .key { width: 100%; padding: 0 16px; gap: 8px; font-size: 16px; }
.links .key img { width: 20px; height: 20px; }

/* ---- the sheet (hero) */
.hero { position: relative; min-height: 640px; }
.viewport {
  position: absolute; inset: 0; overflow: hidden; background: var(--film); touch-action: pan-y;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 64px); mask-image: linear-gradient(90deg, transparent 0, #000 64px);
}
.viewport::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 70% 40%, transparent 55%, rgba(8, 22, 120, .45)); }
.film { position: absolute; left: 0; top: 0; display: grid; grid-template-columns: repeat(40, var(--cell)); grid-auto-rows: var(--cell); --cell: 88px; padding: 24px; transform-origin: 0 0; will-change: transform; }
.b {
  position: relative; width: var(--cell); height: var(--cell); border: 0; padding: 0; margin: 0; background: transparent center / 100% 100% no-repeat; cursor: pointer;
}
.b::before { content: ""; position: absolute; inset: 0; background: inherit; background-image: var(--img); background-size: 100% 100%; transition: transform .14s var(--ease-out); }
.b[data-s="i"] { --img: url("/img/b-intact-a.webp"); }
.b[data-s="i"].alt { --img: url("/img/b-intact-b.webp"); }
.b[data-s="press"] { --img: url("/img/b-pressed.webp"); }
.b[data-s="p"] { --img: url("/img/b-popped-a.webp"); cursor: default; }
.b[data-s="p"].alt { --img: url("/img/b-popped-b.webp"); }
.b[data-s="d"] { --img: url("/img/b-deflated.webp"); cursor: default; }
.b[data-s="t"] { --img: url("/img/b-practice.webp"); cursor: default; }
.b[data-s="i"]:hover::before { transform: scale(1.05); filter: drop-shadow(0 0 10px rgba(200, 255, 61, .55)); }
.b.flash::after { content: ""; position: absolute; inset: 14%; border-radius: 50%; box-shadow: 0 0 0 3px var(--lime), 0 0 26px 8px rgba(200, 255, 61, .8); animation: flash .5s var(--ease-out) forwards; pointer-events: none; }
.film.far .b.flash::after { inset: -30%; box-shadow: 0 0 0 10px var(--lime), 0 0 80px 40px rgba(200, 255, 61, .9); }
.b.ring::after { content: ""; position: absolute; inset: 6%; border-radius: 50%; box-shadow: 0 0 0 5px var(--lime), 0 0 36px 10px rgba(200, 255, 61, .7); animation: ring 1.6s var(--ease-out) forwards; pointer-events: none; }
@keyframes flash { from { opacity: 1; transform: scale(.7); } to { opacity: 0; transform: scale(1.35); } }
@keyframes ring { 0% { opacity: 0; transform: scale(.6); } 20% { opacity: 1; transform: scale(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: scale(1.2); } }
.film.far .tag, .film.far .pointer { visibility: hidden; }
.tag {
  position: absolute; z-index: 4; transform: translate(-50%, -100%); padding: 8px 16px; border-radius: 6px; background: var(--silver); color: var(--ink);
  font: 500 16px/1 var(--mono); white-space: nowrap; pointer-events: none; box-shadow: inset 1px 1px 0 var(--silver-hi), inset -1px -1px 0 var(--silver-lo), 0 6px 14px -6px rgba(0, 0, 40, .6);
  animation: tagin .22s var(--ease-out);
}
.tag.out { animation: tagout .3s forwards; }
.tag.deflated { background: #d8d9dd; color: #4c505c; }
@keyframes tagin { from { opacity: 0; transform: translate(-50%, -80%); } }
@keyframes tagout { to { opacity: 0; transform: translate(-50%, -120%); } }
.pointer { position: absolute; z-index: 5; width: 46px; left: 0; top: 0; pointer-events: none; transform-origin: 6% 4%; will-change: transform; filter: drop-shadow(2px 4px 0 rgba(0, 0, 40, .35)); }
.sweep { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(100deg, transparent 0 40%, rgba(255, 255, 255, .28) 50%, transparent 60%) no-repeat; background-size: 220% 100%; background-position: 160% 0; }
.sweep.go { animation: sweep 1.2s ease-in-out; }
@keyframes sweep { to { background-position: -60% 0; } }
.shimmer { animation: shimmer 1.1s ease-in-out; }
@keyframes shimmer { 50% { filter: brightness(1.35) saturate(1.2); } }
.rollaway { position: absolute; z-index: 6; top: 50%; width: 62%; left: 100%; transform: translate(0, -50%); pointer-events: none; }
.rollaway.go { animation: roll .95s var(--ease-out) forwards; }
@keyframes roll { 0% { left: 100%; } 100% { left: -70%; } }
.film.wipe { animation: wipe .95s var(--ease-out); }
@keyframes wipe { 0% { clip-path: inset(0 0 0 0); } 45% { clip-path: inset(0 0 0 100%); } 46% { clip-path: inset(0 100% 0 0); } 100% { clip-path: inset(0 0 0 0); } }

.board { position: absolute; z-index: 7; left: 40px; bottom: 40px; display: grid; grid-template-columns: auto auto; gap: 24px; align-items: center; padding: 20px 24px; }
.board dl { margin: 0; display: grid; gap: 10px; min-width: 236px; }
.board dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
.board dt { font: 700 16px/1.2 var(--text); color: #3c4258; }
.board dd { margin: 0; font: 800 22px/1.1 var(--text); font-variant-numeric: tabular-nums; }
.board dd.big { font: 800 28px/1 var(--text); }
.map { width: 200px; height: 125px; border-radius: 6px; background: var(--ink); image-rendering: pixelated; box-shadow: inset 2px 2px 0 #000, inset -1px -1px 0 #3a4372; }
.board .status { grid-column: 1 / -1; font: 700 16px/1.35 var(--text); color: #2b3150; margin: 0; max-width: 470px; }
.practice-note { position: absolute; z-index: 7; right: 32px; top: 28px; padding: 10px 16px; font: 700 16px/1.2 var(--text); }
.source { margin: 0; padding: 24px 0 0; font-size: 16px; color: var(--soft); max-width: 900px; }

/* ---- sections below */
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 96px 0 0; }
.section:last-child { padding-bottom: 96px; }
.sec-head { margin-bottom: 32px; max-width: 760px; }
.sec-head h2 { margin: 0; font: 800 40px/1.1 var(--display); letter-spacing: -.01em; }
.sec-head p { margin: 12px 0 0; color: var(--soft); }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.panel { padding: 32px; }
.panel h3 { margin: 0 0 16px; font: 800 24px/1.2 var(--display); }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 12px 0; font-variant-numeric: tabular-nums; }
.rows li + li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(11, 18, 48, .16); }
.rows .who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.rows .dot { width: 28px; height: 28px; flex: none; background: center / 100% 100% no-repeat; }
.rows .dot.p { background-image: url("/img/b-popped-a.webp"); }
.rows .dot.d { background-image: url("/img/b-deflated.webp"); }
.rows .dot.i { background-image: url("/img/b-intact-a.webp"); }
.rows .dot.c { background-image: url("/img/b-pressed.webp"); }
.rows .what { color: #3c4258; font-weight: 600; font-size: 16px; }
.rows a { font-weight: 700; }
.addr { font: 500 16px/1.2 var(--mono); background: none; border: 0; padding: 8px 16px; margin: -8px -16px; color: var(--ink); cursor: pointer; border-radius: 6px; text-align: left; }
.addr:hover { background: rgba(11, 18, 48, .08); }
.empty-line { color: #3c4258; font-weight: 600; margin: 0; }
.table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.table th { text-align: left; font: 700 16px/1.2 var(--text); color: #3c4258; padding: 0 12px 12px 0; }
.table td { padding: 12px 12px 12px 0; vertical-align: middle; background: linear-gradient(rgba(11, 18, 48, .16), rgba(11, 18, 48, .16)) top / 100% 1px no-repeat; }
.table td.r, .table th.r { text-align: right; padding-right: 0; }
.bar { height: 10px; border-radius: 5px; background: rgba(11, 18, 48, .14); overflow: hidden; min-width: 80px; }
.bar i { display: block; height: 100%; background: var(--cobalt); border-radius: 5px; }
.state-d { color: #5d6170; }

/* ---- page heads (inner pages) */
.page-top { padding: 0 var(--gutter); max-width: 1440px; margin: 0 auto; }
.page-head { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: end; padding: 48px 0 0; }
.page-head h1 { margin: 0; font: 900 clamp(56px, 6vw, 104px)/.95 var(--display); letter-spacing: -.02em; }
.page-head p { margin: 16px 0 0; color: var(--soft); max-width: 40em; }
.hero-num { text-align: right; }
.hero-num .v { font: 900 clamp(56px, 6vw, 104px)/.95 var(--display); color: var(--lime); font-variant-numeric: tabular-nums; }
.hero-num .l { font-weight: 700; color: var(--soft); margin-top: 8px; }

.calc label { display: block; font-weight: 700; font-size: 16px; color: #3c4258; margin-bottom: 8px; }
.calc .field { display: flex; gap: 12px; align-items: center; }
.calc input { width: 100%; min-height: 56px; padding: 0 16px; border-radius: 6px; border: 0; background: var(--white); color: var(--ink); font: 800 24px/1 var(--text); font-variant-numeric: tabular-nums; box-shadow: inset 2px 2px 0 var(--silver-lo), inset -1px -1px 0 var(--silver-hi); }
.calc .presets { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.calc .presets .key { min-height: 48px; padding: 0 18px; font-size: 16px; }
.calc .out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.calc .out div { padding: 16px; border-radius: 6px; background: var(--silver-hi); box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 var(--silver-lo); }
.calc .out span { display: block; font-size: 16px; font-weight: 700; color: #3c4258; }
.calc .out strong { display: block; margin-top: 4px; font: 800 24px/1.15 var(--text); font-variant-numeric: tabular-nums; }
.formula { margin: 24px 0 0; padding: 16px; border-radius: 6px; background: var(--ink); color: var(--soft); font: 500 16px/1.6 var(--mono); overflow-wrap: anywhere; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.step img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.step div { padding: 24px; }
.step h3 { margin: 0; font: 800 22px/1.2 var(--display); }
.step p { margin: 12px 0 0; color: #2b3150; font-size: 17px; }
.fine { columns: 2; column-gap: 48px; margin: 0; padding: 32px; list-style: none; }
.fine li { break-inside: avoid; padding: 0 0 16px; color: #2b3150; }
.fine li b { color: var(--ink); }

.nf { min-height: 100vh; display: grid; grid-template-rows: auto 1fr; }
.nf-body { position: relative; display: grid; place-items: center; text-align: center; padding: 24px var(--gutter) 64px; }
.nf-body img { width: min(880px, 100%); border-radius: 12px; }
.nf-body .plate { margin-top: -80px; position: relative; max-width: 560px; }
.nf-body h1 { margin: 0; font: 900 44px/1.05 var(--display); }
.nf-body p { margin: 12px 0 24px; color: #2b3150; }

/* ---- toast for copy */
.toast { position: fixed; left: 50%; bottom: 32px; z-index: 50; transform: translate(-50%, 20px); opacity: 0; padding: 14px 22px; border-radius: 8px; background: var(--lime); color: var(--ink); font-weight: 800; transition: .2s var(--ease-out); pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---- widths */
@media (max-width: 1280px) {
  .first { grid-template-columns: minmax(500px, 46%) 1fr; }
  .board { left: 24px; bottom: 24px; }
  .map { width: 160px; height: 100px; }
}
@media (max-width: 1100px) {
  :root { --gutter: 40px; }
  .first { grid-template-columns: 1fr; grid-template-rows: auto auto auto; grid-template-areas: "a" "hero" "b"; height: auto; }
  .copy { padding: 0 var(--gutter); }
  .copy-a { padding-bottom: 24px; }
  .copy-b { padding-top: 8px; }
  .hero { min-height: 0; height: 64vh; max-height: 720px; }
  .viewport { -webkit-mask-image: none; mask-image: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .cols { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --gutter: 24px; }
  body { font-size: 17px; }
  .top { height: 72px; gap: 12px; }
  .brand span { display: none; }
  .nav { gap: 0; }
  .nav a { padding: 10px 8px; font-size: 16px; }
  .nav .long { display: none; }
  .nav .short { display: inline; }
  .badge { padding: 8px 12px; }
  .name { font-size: clamp(48px, 14vw, 64px); }
  .headline { font-size: 28px; margin-top: 16px; }
  .lede { font-size: 17px; margin-top: 16px; }
  .actions { margin-top: 24px; }
  .actions .key.big { flex: 1 1 100%; }
  .actions .key { flex: 1 1 auto; }
  .hero { height: 480px; min-height: 0; }
  .film { --cell: 72px; }
  .board { left: 16px; right: 16px; bottom: 16px; grid-template-columns: 1fr auto; gap: 16px; padding: 16px; }
  .board dl { min-width: 0; }
  .board dd { font-size: 19px; }
  .board dd.big { font-size: 22px; }
  .map { width: 112px; height: 70px; }
  .practice-note { right: 16px; top: 16px; min-height: 48px; padding: 0 18px; font-size: 16px; }
  .hero { height: auto; }
  .viewport { position: relative; inset: auto; height: 400px; }
  .board { position: relative; left: auto; right: auto; bottom: auto; margin: -32px 16px 0; }
  .links { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .links .key { padding: 0 8px; gap: 6px; font-size: 16px; }
}
@media (max-width: 440px) {
  .links .key { flex-direction: column; min-height: 72px; gap: 6px; padding: 8px; }
  .ca { flex-direction: column; }
  .section { padding-top: 72px; }
  .sec-head h2 { font-size: 30px; }
  .panel { padding: 24px; }
  .steps { grid-template-columns: 1fr; }
  .fine { columns: 1; padding: 24px; }
  .page-head { grid-template-columns: 1fr; gap: 24px; padding-top: 24px; }
  .hero-num { text-align: left; }
  .calc .out { grid-template-columns: 1fr; }
  .rows li { grid-template-columns: minmax(0, 1fr) auto; }
  .rows li .what { grid-column: 1 / -1; }
  .table th:nth-child(3), .table td:nth-child(3) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---- inner pages */
.panel h3.sub { margin-top: 32px; }
.contract.wide { max-width: none; margin-top: 0; }
.back { display: flex; align-items: center; height: 100%; }
.panel > a { display: inline-block; margin-top: 16px; font-weight: 700; color: var(--ink); }
.panel > a + a { margin-left: 16px; }
.table th.barcol, .table td:nth-child(3) { padding-left: 24px; }
.step img, .nf-body img { height: auto; }
.nf .page-top { width: 100%; }
.nf-body img { width: auto; max-width: 100%; max-height: 52vh; }
.nf-body .plate { margin-top: -48px; }
.nf-body h1 { font-size: clamp(30px, 3vw, 44px); }

/* ---- fixes from the width sweep */
.first > * { min-width: 0; }
.copy .nav .long { display: none; }
.copy .nav .short { display: inline; }
.addr { margin: -8px 0; }
@media (max-width: 560px) {
  .top { flex-wrap: wrap; height: auto; padding: 16px 0 8px; row-gap: 8px; column-gap: 12px; }
  .brand img { width: 40px; height: 40px; }
  .badge { padding: 10px 16px; }
}
.copy .top { gap: 16px; }
.copy .nav a { padding: 10px 10px; }
.board dd { white-space: nowrap; }
@media (min-width: 900px) and (max-width: 1100px) {
  .first { grid-template-columns: 54% 1fr; grid-template-rows: auto 1fr; grid-template-areas: "a hero" "b hero"; height: max(700px, min(100vh, 1000px)); }
  .copy { padding: 0 24px 0 var(--gutter); }
  .copy-a { padding-bottom: 0; }
  .hero { height: auto; max-height: none; }
  .viewport { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 48px); mask-image: linear-gradient(90deg, transparent 0, #000 48px); }
  .board { left: 16px; right: 16px; bottom: 16px; grid-template-columns: 1fr auto; }
  .board dl { min-width: 0; }
  .map { width: 120px; height: 75px; }
}
@media (max-width: 899px) and (min-width: 561px) { .hero { height: 40vh; min-height: 360px; } }
@media (max-width: 560px) { .board dd { font-size: 17px; } .board dd.big { font-size: 20px; } .board dl div { gap: 12px; } .map { width: 100px; height: 62px; } }
@media (max-width: 560px) {
  .top { justify-content: space-between; }
  .brand { order: 0; }
  .badge { order: 1; margin-left: 0; }
  .nav { order: 2; flex-basis: 100%; }
}
