@font-face {
  font-family: "Stride Sans";
  src: url("fonts/Inter-Variable.ttf") format("truetype-variations");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Stride Sans";
  src: url("fonts/Inter-Italic-Variable.ttf") format("truetype-variations");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Stride Wide";
  src: url("fonts/ZalandoSansSemiExpanded-Variable.ttf") format("truetype-variations");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --steel: #1d2836;
  --steel-2: #2a3948;
  --steel-3: #495867;
  --orange: #ec6132;
  --orange-dark: #a93d18;
  --blue: #6792c1;
  --sky: #a3c5e8;
  --cloud: #f1f3f4;
  --paper: #ffffff;
  --white: #fff;
  --ink-soft: #6b7784;
  --line: rgba(29, 40, 54, 0.17);
  --line-inverse: rgba(255, 255, 255, 0.19);
  --serif: "Stride Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: "Stride Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wide: "Stride Wide", "Stride Sans", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  --container: min(94vw, 1500px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--steel);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button, input, select { font: inherit; }

button, select { color: inherit; }

button { cursor: pointer; }

::selection { color: var(--steel); background: #f1aa8f; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: var(--steel);
  background: var(--white);
  transform: translateY(-150%);
  transition: transform 180ms var(--ease);
}

.skip-link:focus { transform: translateY(0); }

.sr-only {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.masthead {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: auto minmax(170px, .65fr) minmax(430px, 1fr) auto;
  align-items: center;
  width: 100%;
  min-height: var(--header-h);
  padding: 0 3vw;
  color: var(--white);
  border-bottom: 1px solid var(--line-inverse);
}

.brand img { width: 172px; max-height: 28px; }

.edition {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 32px;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.25;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(18px, 2.4vw, 40px);
  padding-right: clamp(22px, 3vw, 48px);
  font-family: var(--wide);
  font-size: 10px;
  font-weight: 660;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 28px 0 25px;
  color: rgba(255,255,255,.72);
  transition: color 180ms var(--ease);
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--white); }

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-contact {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 42px;
  padding: 0 17px;
  color: var(--steel);
  background: var(--white);
  font-family: var(--wide);
  font-size: 10px;
  font-weight: 720;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color 180ms var(--ease), background 180ms var(--ease), transform 180ms var(--ease);
}

.header-contact:hover { color: var(--white); background: var(--orange-dark); transform: translateY(-1px); }
.header-contact:active { transform: translateY(1px); }

.cover {
  position: relative;
  min-height: clamp(500px, 68dvh, 780px);
  overflow: hidden;
  color: var(--white);
  background: var(--steel);
}

.cover-art,
.cover-shade,
.survey-lines { position: absolute; inset: 0; width: 100%; height: 100%; }

.cover-art { object-fit: cover; object-position: 54% center; filter: saturate(.75) contrast(1.06); transform: scale(1.01); }

.cover-shade {
  background:
    linear-gradient(90deg, rgba(21,30,41,.98) 0%, rgba(21,30,41,.9) 29%, rgba(21,30,41,.28) 62%, rgba(21,30,41,.08) 100%),
    linear-gradient(0deg, rgba(20,29,39,.58) 0%, transparent 48%);
}

.survey-lines {
  display: none;
}

.brand-rays {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: min(62vw, 980px);
  height: auto;
  opacity: .74;
  mix-blend-mode: screen;
  pointer-events: none;
}

.cover-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: var(--container);
  min-height: clamp(500px, 68dvh, 780px);
  padding: calc(var(--header-h) + 82px) 0 clamp(72px, 9vh, 114px);
  margin: auto;
}

.cover-kicker,
.section-label {
  margin: 0;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.cover-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 25px; color: rgba(255,255,255,.72); }

.live-mark { width: 8px; height: 8px; background: var(--orange); box-shadow: 0 0 0 5px rgba(236,97,50,.14); }

.cover h1 {
  max-width: 880px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(70px, 8.8vw, 152px);
  font-weight: 620;
  line-height: .84;
  letter-spacing: -.052em;
  text-wrap: balance;
}

.cover-copy {
  max-width: 670px;
  margin: 36px 0 0;
  font-size: clamp(16px, 1.38vw, 21px);
  font-weight: 420;
  line-height: 1.52;
  color: rgba(255,255,255,.74);
  text-wrap: pretty;
}

.cover-folio {
  position: absolute;
  z-index: 3;
  right: 3vw;
  bottom: 30px;
  display: flex;
  gap: 32px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.48);
}

.directory { width: var(--container); padding: clamp(90px, 10vw, 160px) 0 150px; margin: 0 auto; }

.directory-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: 8vw;
  align-items: end;
  padding-bottom: 70px;
}

.section-label { color: var(--orange-dark); }

.directory-intro h2,
.contact-band h2 {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: clamp(50px, 6.3vw, 100px);
  font-weight: 620;
  line-height: .93;
  letter-spacing: -.052em;
}

.directory-intro > p {
  max-width: 570px;
  margin: 0 0 6px;
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.55;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.search-deck {
  position: sticky;
  z-index: 12;
  top: 0;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) auto auto auto;
  min-height: 72px;
  color: var(--white);
  border: 1px solid var(--steel);
  background: var(--steel);
  box-shadow: none;
}

.search-deck > *:not(:first-child) { border-left: 1px solid var(--line-inverse); }

.search-field { position: relative; display: flex; align-items: center; min-width: 0; }

.search-field input {
  width: 100%;
  height: 70px;
  padding: 0 80px 0 58px;
  color: var(--white);
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
}

.search-field input::placeholder { color: rgba(255,255,255,.53); }
.search-field input::-webkit-search-cancel-button { filter: invert(1); }

.search-icon { position: absolute; left: 22px; font-size: 28px; line-height: 1; transform: translateY(-2px); }

.search-field kbd {
  position: absolute;
  right: 18px;
  padding: 5px 7px;
  color: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.18);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
}

.deck-button,
.sort-control,
.view-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  padding: 0 22px;
  border: 0;
  background: transparent;
  font-family: var(--wide);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.deck-button { gap: 10px; color: var(--white); transition: background 160ms var(--ease); }
.deck-button:hover,
.deck-button[aria-expanded="true"] { background: var(--steel-2); }

.control-count {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  color: var(--steel);
  background: var(--orange);
  font-family: var(--mono);
  font-size: 9px;
}

.sort-control { gap: 10px; }

.sort-control select {
  max-width: 126px;
  padding: 5px 20px 5px 0;
  color: var(--white);
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.sort-control select option { color: var(--steel); background: var(--white); }

.view-switch { gap: 4px; padding-right: 10px; }
.view-switch > span { margin-right: 8px; color: rgba(255,255,255,.48); }

.view-switch button {
  min-height: 36px;
  padding: 0 10px;
  color: rgba(255,255,255,.56);
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 9px;
  letter-spacing: inherit;
  text-transform: inherit;
}

.view-switch button[aria-pressed="true"] { color: var(--steel); background: var(--white); }

.filter-sheet {
  display: grid;
  grid-template-columns: 1.3fr .8fr 1.4fr auto;
  gap: 40px;
  padding: 32px;
  border: 1px solid var(--steel);
  border-top: 0;
  background: var(--cloud);
}

.filter-sheet[hidden] { display: none; }

.filter-sheet fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }

.filter-sheet legend {
  padding: 0;
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.filter-options { display: flex; flex-wrap: wrap; gap: 8px; }

.filter-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 12px;
  transition: color 160ms var(--ease), border 160ms var(--ease), background 160ms var(--ease);
}

.filter-option input { position: absolute; opacity: 0; pointer-events: none; }
.filter-option:has(input:checked) { color: var(--white); border-color: var(--steel); background: var(--steel); }
.filter-option:hover { border-color: var(--steel-3); }

.filter-option small { margin-left: 7px; font-family: var(--mono); font-size: 9px; opacity: .55; }

.clear-button {
  align-self: end;
  min-height: 42px;
  padding: 0 18px;
  color: var(--orange-dark);
  border: 1px solid currentColor;
  background: transparent;
  font-family: var(--wide);
  font-size: 9px;
  font-weight: 690;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.clear-button:hover { color: var(--white); background: var(--orange-dark); }

.result-bar {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 30px 0 22px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.result-bar p { margin: 0; }
.result-bar strong { color: var(--steel); font-size: 13px; }

.browse-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(390px, .82fr);
  gap: clamp(34px, 4vw, 68px);
  align-items: start;
  padding-top: 26px;
}

.ledger { min-width: 0; }

.listing-row {
  --row-accent: transparent;
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(190px, 29%) minmax(0, 1fr) minmax(160px, .42fr);
  min-height: 196px;
  overflow: hidden;
  color: inherit;
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: color 200ms var(--ease), background 200ms var(--ease);
}

.listing-row::before {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  content: "";
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 220ms var(--ease);
}

.listing-row:hover,
.listing-row:focus-visible,
.listing-row.is-active { background: var(--white); }

.listing-row:hover::before,
.listing-row:focus-visible::before,
.listing-row.is-active::before { transform: scaleY(1); transform-origin: top; }

.plate-number {
  padding-top: 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--ink-soft);
}

.listing-image {
  position: relative;
  min-height: 196px;
  overflow: hidden;
  background: var(--steel-2);
}

.listing-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms var(--ease), filter 300ms var(--ease);
}

.listing-row:hover .listing-image img,
.listing-row.is-active .listing-image img { transform: scale(1.035); }

.status-stamp {
  position: absolute;
  top: 13px;
  left: 13px;
  padding: 7px 9px;
  color: var(--steel);
  background: var(--orange);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
  box-shadow: none;
}

.listing-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 28px clamp(22px, 2.3vw, 38px);
}

.listing-type {
  margin: 0 0 14px;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange-dark);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.listing-title h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 2.35vw, 42px);
  font-weight: 610;
  line-height: .98;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.listing-address {
  margin: 15px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-soft);
}

.listing-specs {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 28px 4px 28px 24px;
  border-left: 1px solid var(--line);
}

.listing-specs div { display: flex; flex-direction: column; gap: 4px; }
.listing-specs small { font-family: var(--mono); font-size: 8px; letter-spacing: .11em; text-transform: uppercase; color: var(--ink-soft); }
.listing-specs strong { font-size: 13px; font-variant-numeric: tabular-nums; }
.listing-arrow { align-self: flex-start; color: var(--orange-dark); font-size: 21px; transition: transform 180ms var(--ease); }
.listing-row:hover .listing-arrow { transform: translateX(5px); }

.atlas { position: sticky; top: 98px; }

.atlas-head { display: flex; align-items: end; justify-content: space-between; padding: 0 0 18px; }
.atlas-head h3 { margin: 7px 0 0; font-family: var(--serif); font-size: 35px; font-weight: 610; letter-spacing: -.035em; }
.atlas-head > span { padding-bottom: 5px; font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }

.atlas-map {
  position: relative;
  min-height: min(65vh, 660px);
  overflow: hidden;
  color: var(--white);
  border: 1px solid var(--steel);
  background:
    radial-gradient(circle at 72% 18%, rgba(103,146,193,.18), transparent 26%),
    linear-gradient(135deg, #243342, var(--steel) 70%);
}

.atlas-grid {
  position: absolute;
  inset: 0;
  opacity: .17;
  background-image:
    linear-gradient(rgba(255,255,255,.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px);
  background-size: 48px 48px;
}

.atlas-river { position: absolute; inset: 0; width: 100%; height: 100%; }
.atlas-river path { fill: none; stroke: var(--blue); stroke-width: 22; stroke-linecap: round; opacity: .65; }
.atlas-river .river-secondary { stroke-width: 8; opacity: .35; }

.atlas-label {
  position: absolute;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  pointer-events: none;
}

.atlas-label--north { top: 10%; left: 45%; }
.atlas-label--west { top: 38%; left: 9%; }
.atlas-label--core { top: 44%; left: 47%; }
.atlas-label--east { top: 42%; right: 7%; }
.atlas-label--south { bottom: 12%; left: 31%; }

.atlas-pin {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  padding: 0;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  background: var(--steel-2);
  box-shadow: 0 3px 10px rgba(0,0,0,.3);
  font-family: var(--mono);
  font-size: 7px;
  transform: translate(-50%, -50%);
  transition: width 160ms var(--ease), height 160ms var(--ease), background 160ms var(--ease), color 160ms var(--ease);
}

.atlas-pin:hover,
.atlas-pin:focus-visible,
.atlas-pin.is-active { z-index: 6; width: 31px; height: 31px; color: var(--steel); border-color: var(--orange); background: var(--orange); }

.atlas-card {
  position: absolute;
  z-index: 8;
  right: 16px;
  bottom: 16px;
  left: 16px;
  min-height: 118px;
  padding: 18px 20px;
  color: var(--steel);
  background: rgba(247,247,244,.96);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.atlas-card:empty { display: none; }
.atlas-card small { font-family: var(--mono); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-dark); }
.atlas-card h4 { margin: 6px 0 9px; font-family: var(--serif); font-size: 24px; font-weight: 610; line-height: 1; }
.atlas-card p { display: flex; justify-content: space-between; gap: 14px; margin: 0; font-size: 11px; color: var(--ink-soft); }

.atlas-note { margin: 14px 0 0; font-size: 10px; line-height: 1.45; color: var(--ink-soft); }

.browse-shell[data-view-mode="atlas"] { grid-template-columns: minmax(300px, .7fr) minmax(520px, 1.3fr); }
.browse-shell[data-view-mode="atlas"] .ledger { order: 2; }
.browse-shell[data-view-mode="atlas"] .atlas { order: 1; }
.browse-shell[data-view-mode="atlas"] .listing-row { grid-template-columns: 40px 100px minmax(0, 1fr); min-height: 112px; }
.browse-shell[data-view-mode="atlas"] .listing-image { min-height: 112px; }
.browse-shell[data-view-mode="atlas"] .listing-title { padding: 18px; }
.browse-shell[data-view-mode="atlas"] .listing-title h3 { font-size: 25px; }
.browse-shell[data-view-mode="atlas"] .listing-type { margin-bottom: 9px; }
.browse-shell[data-view-mode="atlas"] .listing-address,
.browse-shell[data-view-mode="atlas"] .listing-specs { display: none; }
.browse-shell[data-view-mode="atlas"] .atlas-map { min-height: min(72vh, 760px); }

.browse-shell[data-view-mode="plates"] { display: block; }
.browse-shell[data-view-mode="plates"] .atlas { display: none; }
.browse-shell[data-view-mode="plates"] .ledger { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.browse-shell[data-view-mode="plates"] .listing-row {
  display: flex;
  flex-direction: column;
  grid-column: span 4;
  min-height: 510px;
  border: 1px solid var(--line);
  background: var(--white);
}
.browse-shell[data-view-mode="plates"] .listing-row:nth-child(7n + 1),
.browse-shell[data-view-mode="plates"] .listing-row:nth-child(7n + 5) { grid-column: span 5; }
.browse-shell[data-view-mode="plates"] .listing-row:nth-child(7n + 2),
.browse-shell[data-view-mode="plates"] .listing-row:nth-child(7n + 4) { grid-column: span 3; }
.browse-shell[data-view-mode="plates"] .listing-image { order: 1; width: 100%; min-height: 280px; }
.browse-shell[data-view-mode="plates"] .plate-number { position: absolute; z-index: 4; top: 13px; right: 13px; padding: 7px 8px; color: var(--white); background: rgba(29,40,54,.72); }
.browse-shell[data-view-mode="plates"] .listing-title { order: 2; justify-content: flex-start; min-height: 170px; padding: 28px; }
.browse-shell[data-view-mode="plates"] .listing-title h3 { font-size: 34px; }
.browse-shell[data-view-mode="plates"] .listing-specs { order: 3; display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; width: 100%; padding: 20px 28px 24px; border-top: 1px solid var(--line); border-left: 0; }

.empty-state {
  max-width: 650px;
  padding: 80px 0 10px;
}

.empty-state[hidden] { display: none; }
.empty-rule { display: block; width: 84px; height: 3px; margin-bottom: 28px; background: var(--orange); }
.empty-state h3 { margin: 15px 0 16px; font-family: var(--serif); font-size: clamp(42px, 5vw, 70px); font-weight: 610; line-height: .98; letter-spacing: -.04em; }
.empty-state > p:not(.section-label) { max-width: 540px; color: var(--ink-soft); line-height: 1.6; }
.empty-actions { display: flex; gap: 12px; margin-top: 28px; }
.empty-actions button,
.empty-actions a {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--steel);
  background: transparent;
  font-family: var(--wide);
  font-size: 9px;
  font-weight: 680;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.empty-actions button { color: var(--white); background: var(--steel); }
.empty-actions a { display: inline-flex; align-items: center; }

.contact-band {
  display: grid;
  grid-template-columns: 1.25fr .9fr auto;
  gap: 6vw;
  align-items: end;
  padding: clamp(85px, 9vw, 150px) 3vw;
  color: var(--white);
  background: var(--steel);
}

.contact-band .section-label { color: var(--sky); }
.contact-band h2 { max-width: 820px; font-size: clamp(54px, 6.5vw, 108px); }
.contact-band > p { max-width: 460px; margin: 0 0 8px; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.64); }
.contact-band > a { display: inline-flex; align-items: center; gap: 20px; min-height: 56px; padding: 0 22px; color: var(--steel); background: var(--white); font-family: var(--wide); font-size: 10px; font-weight: 720; letter-spacing: .12em; text-transform: uppercase; transition: color 180ms var(--ease), background 180ms var(--ease); }
.contact-band > a:hover { color: var(--white); background: var(--orange-dark); }

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr .8fr .7fr;
  gap: 6vw;
  padding: 72px 3vw 30px;
  color: rgba(255,255,255,.65);
  background: #131c26;
  font-size: 12px;
  line-height: 1.65;
}

.footer-brand img { height: 30px; margin-bottom: 22px; }
.footer-brand p { max-width: 380px; margin: 0; }
.footer-address,
.footer-contact { display: flex; flex-direction: column; gap: 4px; }
.footer-contact a:hover,
.footer-base a:hover { color: var(--white); }
.footer-base { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 24px; padding-top: 28px; margin-top: 30px; border-top: 1px solid var(--line-inverse); font-family: var(--mono); font-size: 9px; letter-spacing: .07em; text-transform: uppercase; }

@media (max-width: 1180px) {
  .masthead { grid-template-columns: auto 1fr auto; }
  .edition { display: none; }
  .site-nav { padding-right: 24px; }
  .search-deck { grid-template-columns: minmax(260px, 1fr) auto auto; }
  .view-switch { grid-column: 1 / -1; min-height: 48px; border-top: 1px solid var(--line-inverse); border-left: 0 !important; }
  .filter-sheet { grid-template-columns: 1fr 1fr; }
  .clear-button { justify-self: start; }
  .browse-shell { grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr); }
  .listing-row { grid-template-columns: 38px minmax(180px, 34%) minmax(0, 1fr); }
  .listing-specs { grid-column: 2 / -1; display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; padding: 18px 24px; border-top: 1px solid var(--line); border-left: 0; }
  .browse-shell[data-view-mode="atlas"] .listing-specs { display: none; }
  .contact-band { grid-template-columns: 1.3fr .7fr; }
  .contact-band > a { grid-column: 2; justify-self: start; }
}

@media (max-width: 900px) {
  :root { --container: min(92vw, 760px); --header-h: 64px; }
  .masthead { position: absolute; grid-template-columns: 1fr auto; padding: 0 4vw; }
  .brand img { width: 140px; }
  .site-nav { display: none; }
  .header-contact { min-height: 38px; padding: 0 13px; }
  .cover { min-height: 620px; }
  .cover-inner { min-height: 620px; padding-bottom: 72px; }
  .cover-art { object-position: 66% center; }
  .cover-shade { background: linear-gradient(90deg, rgba(21,30,41,.97), rgba(21,30,41,.72) 70%, rgba(21,30,41,.35)), linear-gradient(0deg, rgba(20,29,39,.7), transparent 50%); }
  .cover h1 { font-size: clamp(68px, 17vw, 108px); line-height: .82; }
  .cover-copy { max-width: 550px; }
  .cover-folio { right: 4vw; left: 4vw; justify-content: space-between; }
  .directory { padding-top: 90px; }
  .directory-intro { grid-template-columns: 1fr; gap: 34px; }
  .directory-intro h2 { font-size: clamp(52px, 12vw, 84px); }
  .search-deck { position: relative; grid-template-columns: 1fr auto; }
  .search-field { grid-column: 1 / -1; }
  .search-field input { height: 68px; }
  .search-deck > *:not(:first-child) { border-top: 1px solid var(--line-inverse); }
  .sort-control { border-left: 0 !important; }
  .view-switch { grid-column: auto; min-height: 56px; border-left: 1px solid var(--line-inverse) !important; }
  .view-switch > span { display: none; }
  .view-switch button[data-view="plates"] { display: none; }
  .filter-sheet { grid-template-columns: 1fr; gap: 28px; padding: 26px 22px; }
  .result-bar { align-items: flex-start; flex-direction: column; gap: 8px; }
  .browse-shell,
  .browse-shell[data-view-mode="atlas"] { display: flex; flex-direction: column; gap: 38px; }
  .browse-shell .ledger,
  .browse-shell[data-view-mode="atlas"] .ledger { order: 1; width: 100%; }
  .browse-shell .atlas,
  .browse-shell[data-view-mode="atlas"] .atlas { position: relative; top: 0; order: 2; width: 100%; }
  .browse-shell[data-view-mode="ledger"] .atlas { display: none; }
  .browse-shell[data-view-mode="atlas"] .atlas { order: 1; }
  .browse-shell[data-view-mode="atlas"] .ledger { order: 2; }
  .atlas-map,
  .browse-shell[data-view-mode="atlas"] .atlas-map { min-height: 72dvh; }
  .listing-row,
  .browse-shell[data-view-mode="atlas"] .listing-row { grid-template-columns: 38px 130px minmax(0, 1fr); min-height: 144px; }
  .listing-image,
  .browse-shell[data-view-mode="atlas"] .listing-image { min-height: 144px; }
  .listing-title { padding: 20px; }
  .listing-title h3,
  .browse-shell[data-view-mode="atlas"] .listing-title h3 { font-size: clamp(24px, 4.8vw, 32px); }
  .listing-address { display: none; }
  .listing-specs { grid-column: 2 / -1; padding: 14px 20px; }
  .browse-shell[data-view-mode="atlas"] .listing-specs { display: grid; }
  .contact-band { grid-template-columns: 1fr; align-items: start; gap: 28px; padding-inline: 4vw; }
  .contact-band > a { grid-column: auto; }
  .site-footer { grid-template-columns: 1fr 1fr; padding-inline: 4vw; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  :root { --container: calc(100vw - 32px); }
  .masthead { padding-inline: 16px; }
  .brand img { width: 126px; }
  .header-contact { gap: 8px; min-height: 36px; padding-inline: 10px; font-size: 8px; }
  .cover { min-height: 590px; }
  .cover-inner { min-height: 590px; padding-bottom: 76px; }
  .cover-art { object-position: 69% center; }
  .cover-shade { background: linear-gradient(90deg, rgba(21,30,41,.98), rgba(21,30,41,.68)), linear-gradient(0deg, rgba(20,29,39,.76), transparent 45%); }
  .cover h1 { font-size: clamp(62px, 20.5vw, 86px); letter-spacing: -.06em; }
  .cover-copy { margin-top: 26px; font-size: 15px; }
  .cover-folio { bottom: 20px; font-size: 7px; }
  .directory { padding: 76px 0 100px; }
  .directory-intro { padding-bottom: 50px; }
  .directory-intro h2 { font-size: 52px; }
  .directory-intro > p { font-size: 16px; }
  .search-field input { padding-right: 42px; font-size: 13px; }
  .search-field kbd { display: none; }
  .deck-button,
  .sort-control { padding-inline: 14px; }
  .sort-control select { width: 106px; }
  .view-switch { padding: 0 5px; }
  .view-switch button { padding: 0 9px; }
  .result-bar { padding-top: 24px; }
  .listing-row,
  .browse-shell[data-view-mode="atlas"] .listing-row { grid-template-columns: 1fr; min-height: 0; padding: 0; margin-bottom: 24px; border: 1px solid var(--line); background: var(--white); }
  .plate-number { position: absolute; z-index: 5; top: 12px; right: 12px; padding: 6px 7px; color: var(--white); background: rgba(29,40,54,.74); }
  .listing-image,
  .browse-shell[data-view-mode="atlas"] .listing-image { min-height: 230px; }
  .listing-title { min-height: 0; padding: 24px 22px 20px; }
  .listing-title h3,
  .browse-shell[data-view-mode="atlas"] .listing-title h3 { font-size: 33px; }
  .listing-address { display: block; }
  .listing-specs,
  .browse-shell[data-view-mode="atlas"] .listing-specs { grid-column: auto; grid-template-columns: 1fr 1fr auto; padding: 16px 22px 20px; }
  .atlas-map,
  .browse-shell[data-view-mode="atlas"] .atlas-map { min-height: 68dvh; }
  .contact-band { padding-block: 80px; }
  .contact-band h2 { font-size: 54px; }
  .site-footer { grid-template-columns: 1fr; gap: 30px; }
  .footer-brand,
  .footer-base { grid-column: auto; }
  .footer-base { flex-direction: column; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .cover-art,
  .listing-image img { transform: none !important; }
}
