/*
 * styles.css — Waterfront Engineering, Design & Construction, Inc. (WEDC)
 * Concept: "Mean High Water" — every hero is cut at the regulatory waterline,
 * photograph above, Severn-navy field below.
 * Tokens from design-tokens.json; layout per design-direction.md.
 */

/* ============================================================
   Design Tokens
   ============================================================ */
:root {
  --color-primary: #214D98;        /* Severn Navy — dominant field */
  --color-primary-dark: #142E5E;   /* Channel Navy */
  --color-primary-light: #E8EEF7;  /* Haze */
  --color-secondary: #047E8D;      /* Tidewater Teal — secondary field */
  --color-accent: #1E97EA;         /* Signal Blue — the waterline */
  --color-bg: #FFFFFF;             /* Drafting White */
  --color-surface: #D4C5A9;        /* Revetment Sand — tertiary field */
  --color-dark: #0F2140;           /* Chart Ink */
  --color-text: #0F2140;
  --color-text-secondary: #3B4456; /* Slate */
  --color-border: #C9D0DA;         /* Survey Line */

  --font-primary: 'Libre Caslon Display', Georgia, 'Times New Roman', serif;
  --font-secondary: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --font-size-base: 17px;
  --spacing-base: 8px;

  --motion-duration: 320ms;
  --motion-duration-slow: 700ms;
  --motion-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --util-h: 36px;
  --nav-h: 88px;
  --chrome-h: calc(var(--util-h) + var(--nav-h));
  --pad: clamp(4px, 2.2vw, 28px);
  --gap: clamp(12px, 2vw, 28px);
  --edge: calc(var(--pad) + var(--gap));
  --section-y: clamp(72px, 9vw, 144px);

  --fs-display: clamp(3.25rem, 6.6vw, 8.5rem);
  --fs-h1: clamp(2.75rem, 6vw, 5.25rem);
  --fs-h2: clamp(2rem, 4vw, 3.5rem);
  --fs-h3: 1.375rem;
  --fs-lead: clamp(1.1875rem, 1.6vw, 1.375rem);
  --fs-small: 0.875rem;
  --fs-tag: 0.75rem;

  --lcrm-accent: var(--color-primary);
}

/* ============================================================
   Base Reset
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--font-size-base, 16px);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-secondary);
  font-size: 1rem;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  padding-bottom: 42px; /* required */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

ul, ol { list-style: none; }

button, input, select, textarea { font: inherit; color: inherit; }

/* Focus states — WCAG AA required */
:focus-visible {
  outline: 3px solid var(--color-accent, #005fcc);
  outline-offset: 2px;
}

/* Skip navigation link — WCAG 2.4.1 (managed by fix_ada_safe.py) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--color-surface, #ffffff);
  color: var(--color-text, #005fcc);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--color-accent, #005fcc);
  border-radius: 0 0 4px 0;
}
.skip-link:focus {
  left: 0;
}

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

main:focus { outline: none; }

/* ============================================================
   Typography
   ============================================================ */
h1, h2, .h2, .display, .caslon {
  font-family: var(--font-primary);
  font-weight: 400;
  font-style: normal;
}
h2, .h2 {
  font-size: var(--fs-h2);
  line-height: 1.05;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
h3, .h3 {
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: var(--fs-h3);
  line-height: 1.3;
}
h4 {
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.4;
  letter-spacing: 0.01em;
}
p { max-width: 64ch; }
.lead { font-size: var(--fs-lead); line-height: 1.55; }
.small { font-size: var(--fs-small); line-height: 1.5; }

.mono, .rubric, .tag, .particulars {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--fs-tag);
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.particulars { color: var(--color-text-secondary); }

.prose p + p { margin-top: 1.1em; }
.prose p { font-size: 1.0625rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 600;
  font-size: 1rem;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: gap var(--motion-duration) var(--motion-ease);
}
.text-link:hover { gap: 0.85em; }
.text-link i { font-size: 1.05em; }

/* ============================================================
   Grid — 12 content columns with named bleed lines
   grid-column: col N / col M   (cols N..M-1)
   ============================================================ */
.g {
  display: grid;
  grid-template-columns:
    [full-start] minmax(var(--pad), 1fr)
    repeat(12, [col] minmax(0, 5.25rem))
    [content-end] minmax(var(--pad), 1fr) [full-end];
  column-gap: var(--gap);
}
.g > * { min-width: 0; }

.section { padding-block: var(--section-y); position: relative; }

/* Grounds */
.ground-light { background: var(--color-bg); color: var(--color-text); }
.ground-sand  { background: var(--color-surface); color: var(--color-text); }
.ground-teal  { background: var(--color-secondary); color: #fff; }
.ground-navy  { background: var(--color-primary); color: #fff; }
.ground-ink   { background: var(--color-dark); color: #fff; }
.ground-teal a, .ground-navy a, .ground-ink a { color: #fff; }

/* Marginal rubric — mono survey note in the left gutter */
.rubric { color: var(--color-primary); padding-top: 0.9em; }
.ground-teal .rubric, .ground-navy .rubric, .ground-ink .rubric { color: #fff; }
.rubric-row .rubric { grid-column: col 1 / col 3; }
.rubric-row .rubric-row__title { grid-column: col 3 / col 11; }

/* ============================================================
   Utility strip + Masthead band (nav)
   ============================================================ */
.utility-strip {
  background: var(--color-dark);
  color: var(--color-surface);
  font: 500 13px/1.3 var(--font-secondary);
  min-height: var(--util-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px var(--edge);
}
.utility-strip p { max-width: none; }
.utility-strip a { color: #fff; text-decoration: none; font-weight: 600; }
.utility-strip a:hover { text-decoration: underline; }

.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-surface);
  overflow: visible;
}
.masthead__bar {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--edge);
}
.masthead__brand { display: block; flex: none; line-height: 0; }
.masthead__brand img {
  height: 72px;          /* logo_nav_height_px — judged, binding */
  width: auto;
  max-width: 170px;
  display: block;
}
.masthead__nav { min-width: 0; }
.masthead__links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2vw, 30px);
}
.masthead__links a {
  font: 500 15px/1 var(--font-secondary);
  letter-spacing: 0.005em;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 6px;
  background: linear-gradient(var(--color-primary), var(--color-primary)) 0 100% / 0 2px no-repeat;
  transition: background-size var(--motion-duration) var(--motion-ease);
}
.masthead__links a:hover,
.masthead__links a[aria-current="page"] { background-size: 100% 2px; }
.masthead__links .masthead__phone {
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex; align-items: center; gap: 6px;
}
.masthead__links .masthead__cta {
  background: var(--color-primary);
  color: #fff;
  padding: 0 18px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 2px;
  transition: background-color var(--motion-duration) var(--motion-ease);
}
.masthead__links .masthead__cta:hover,
.masthead__links .masthead__cta[aria-current="page"] { background: var(--color-primary-dark); background-size: 0 0; }

.masthead__mobile { display: none; align-items: center; gap: 6px; }
.masthead__mobile a, .masthead__mobile button {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 12px;
  font: 600 14px/1 var(--font-secondary);
  color: var(--color-text);
  background: none; border: 0; cursor: pointer;
  text-decoration: none;
}
.masthead__mobile i { font-size: 20px; color: var(--color-primary); }

/* Drawer (mobile menu) */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--color-dark);
  color: #fff;
  padding: 20px var(--edge) 48px;
  overflow-y: auto;
  display: none;
}
.drawer.is-open { display: block; }
.drawer__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.drawer__head img { height: 96px; width: auto; max-width: 220px; }
.drawer__close {
  background: none; border: 1px solid rgba(255,255,255,.4); color: #fff;
  min-height: 44px; padding: 0 14px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px;
}
.drawer__links { margin-top: 40px; border-top: 2px solid var(--color-accent); }
.drawer__links a {
  display: block;
  font: 400 22px/1.2 var(--font-primary);
  color: #fff;
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.drawer__links a[aria-current="page"] { color: var(--color-surface); }
.drawer__phone {
  display: block; margin-top: 32px;
  font: 400 2.25rem/1 var(--font-primary); color: #fff; text-decoration: none;
}
.drawer__address { margin-top: 12px; color: var(--color-surface); }

/* No-JS fallback: drawer becomes an inline menu on small screens */
html:not(.js) .drawer { position: static; display: none; }

/* ============================================================
   Buttons
   ============================================================ */
.btn-sand {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  background: var(--color-surface); color: var(--color-dark);
  font: 600 1rem/1 var(--font-secondary);
  text-decoration: none; border-radius: 2px;
  transition: background-color var(--motion-duration) var(--motion-ease);
}
.btn-sand:hover { background: #fff; }
.ground-navy .btn-sand, .ground-teal .btn-sand, .ground-ink .btn-sand { color: var(--color-dark); }

.btn-navy {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  background: var(--color-primary); color: #fff;
  font: 600 1rem/1 var(--font-secondary);
  border: 0; border-radius: 2px; cursor: pointer; text-decoration: none;
  transition: background-color var(--motion-duration) var(--motion-ease);
}
.btn-navy:hover { background: var(--color-primary-dark); }

/* ============================================================
   Seam hero — the Mean High Water split (every page)
   ============================================================ */
.seam-hero {
  --photo-h: clamp(320px, calc((100svh - var(--chrome-h)) * 0.58), 534px);
  position: relative;
  background: var(--color-primary);
  color: #fff;
}
.seam-hero__photo {
  margin: 0;
  height: var(--photo-h);
  position: relative;
  overflow: hidden;
  background: var(--color-primary-dark);
}
.seam-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 42%);
}
.seam-hero__photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 24%;
  background: linear-gradient(to bottom, rgba(33,77,152,0), rgba(33,77,152,.62));
  pointer-events: none;
}
.seam-hero__datum {
  position: absolute;
  left: 0; right: 0;
  top: var(--photo-h);
  height: 0;
  z-index: 2;
}
.seam-hero__line {
  position: absolute;
  left: 0; right: 0; top: -1px;
  height: 2px;
  background: var(--color-accent);
  transform-origin: left center;
}
.seam-hero__tag {
  position: absolute;
  right: var(--edge);
  top: 10px;
  text-align: right;
  color: #fff;
  font: 500 var(--fs-tag)/1.45 var(--font-mono);
  letter-spacing: 0.06em;
}
.seam-hero__tag span { display: block; text-transform: none; letter-spacing: 0.02em; opacity: .92; }
.seam-hero__field {
  position: relative;
  z-index: 3;
  min-height: calc((100svh - var(--chrome-h)) * 0.42);
  padding-bottom: clamp(36px, 5vw, 72px);
  align-content: start;
}
.seam-hero__title {
  grid-column: col 2 / col 9;
  font-size: var(--fs-display);
  line-height: 0.92;
  letter-spacing: -0.012em;
  color: #fff;
  margin-top: -0.62em;           /* line 1 crosses the seam at its x-height */
  text-wrap: balance;
}
.seam-hero__title span { display: block; }
.seam-hero__lead {
  grid-column: col 2 / col 8;
  margin-top: clamp(20px, 2.4vw, 32px);
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: #fff;
}
.seam-hero__particulars {
  grid-column: col 2 / col 10;
  margin-top: clamp(20px, 2.4vw, 32px);
  color: #fff;
  font: 500 0.8125rem/1.6 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.seam-hero__actions {
  grid-column: col 2 / col 10;
  margin-top: clamp(24px, 3vw, 40px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 36px;
}
.seam-hero__phone {
  font: 400 2.25rem/1 var(--font-primary);
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.45);
  padding-bottom: 4px;
  font-variant-numeric: lining-nums;
}
.seam-hero__phone:hover { border-bottom-color: #fff; }
.seam-hero__phone i { display: none; }

/* Contact hero: phone at display scale, address in mono */
.seam-hero--contact .seam-hero__field { padding-bottom: clamp(200px, 16vw, 230px); }
.seam-hero__bigphone {
  grid-column: col 2 / col 7;
  margin-top: clamp(24px, 3vw, 40px);
  font: 400 clamp(2.75rem, 5.4vw, 5.25rem)/1 var(--font-primary);
  color: #fff; text-decoration: none; width: max-content; max-width: 100%;
  border-bottom: 2px solid var(--color-surface);
  padding-bottom: 6px;
}
.seam-hero__address {
  grid-column: col 2 / col 6;
  margin-top: 18px;
  color: #fff;
  font: 500 0.8125rem/1.6 var(--font-mono);
  letter-spacing: 0.06em;
}

/* The waterline draws once (motion signature) — decorative only */
html.js .seam-hero__line { animation: waterline-draw var(--motion-duration-slow) var(--motion-ease) both; }
html.js .seam-hero__tag { animation: tag-in 200ms linear 700ms both; }
@keyframes waterline-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes tag-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  html.js .seam-hero__line, html.js .seam-hero__tag { animation: none; }
}

/* ============================================================
   Split tiles (before above the seam / after below) — static
   ============================================================ */
.split {
  --seam: 50%;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--color-primary-dark);
}
.split img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--motion-duration-slow) var(--motion-ease);
}
.split .split__before { top: 0; bottom: auto; height: var(--seam); }
.split .split__after { top: auto; bottom: 0; height: calc(100% - var(--seam)); }
.split__seam {
  position: absolute; left: 0; right: 0;
  top: calc(var(--seam) - 1px);
  height: 2px;
  background: var(--color-accent);
  transition: height var(--motion-duration) var(--motion-ease), top var(--motion-duration) var(--motion-ease);
  z-index: 2;
}
.split__tag {
  position: absolute; z-index: 3;
  left: 12px;
  padding: 5px 9px;
  background: rgba(15,33,64,.82);
  color: #fff;
}
.split__tag--before { top: 12px; }
.split__tag--after { top: calc(var(--seam) + 12px); }
.split__note {
  position: absolute; z-index: 3;
  right: 12px;
  top: calc(var(--seam) + 10px);
  padding: 6px 10px;
  background: var(--color-primary);
  color: #fff;
}
a:hover .split img, a:focus-visible .split img { transform: scale(1.04); }
a:hover .split__seam, a:focus-visible .split__seam { height: 3px; top: calc(var(--seam) - 1.5px); }
@media (prefers-reduced-motion: reduce) {
  .split img { transition: none; }
  a:hover .split img { transform: none; }
}

/* ============================================================
   Seam compare — the vertical waterline scrub (shared)
   ============================================================ */
.compare { position: relative; background: var(--color-primary); }
.seam-compare {
  --seam: 50%;
  position: relative;
  margin: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 88svh;
  overflow: hidden;
  background: var(--color-primary-dark);
  user-select: none;
  -webkit-user-select: none;
}
.seam-compare--3x2 { aspect-ratio: 3 / 2; }
.seam-compare--4x3 { aspect-ratio: 4 / 3; }
.seam-compare img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.seam-compare__before { clip-path: inset(0 0 calc(100% - var(--seam)) 0); }
.seam-compare__tag {
  position: absolute; z-index: 3; left: 16px;
  padding: 6px 10px;
  background: rgba(15,33,64,.8);
  color: #fff;
}
.seam-compare__tag--before { top: 16px; }
.seam-compare__tag--after { bottom: 16px; }
.seam-compare__range {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.seam-compare__handle {
  position: absolute; z-index: 4;
  left: 0; right: 0;
  top: var(--seam);
  height: 44px;
  transform: translateY(-50%);
  cursor: ns-resize;
  touch-action: none;
}
.seam-compare__handle::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 50%;
  height: 2px; margin-top: -1px;
  background: var(--color-accent);
  box-shadow: 0 0 0 1px rgba(15,33,64,.18);
}
.seam-compare__pill {
  position: absolute;
  right: clamp(16px, 3vw, 40px);
  top: 2px;
  height: 40px;
  padding: 0 14px 0 12px;
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 20px;
  background: var(--color-primary);
  color: #fff;
  font: 500 0.75rem/1 var(--font-mono);
  letter-spacing: 0.08em;
  box-shadow: 0 6px 18px -6px rgba(15,33,64,.6);
}
.seam-compare__pill i { font-size: 13px; }
.seam-compare__pill .chev { display: inline-flex; flex-direction: column; line-height: .6; }
.seam-compare__range:focus-visible ~ .seam-compare__handle .seam-compare__pill,
.seam-compare.is-focus .seam-compare__pill {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}
html:not(.js) .seam-compare__handle { cursor: default; }
html:not(.js) .seam-compare__pill { display: none; }

/* Caption bar docked under figures */
.caption-bar {
  background: var(--color-primary);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding: 22px var(--edge);
}
.caption-bar__name { font: 400 clamp(1.375rem, 2.2vw, 1.875rem)/1.15 var(--font-primary); max-width: 36ch; }
.caption-bar__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.caption-bar .particulars { color: #fff; }
.caption-bar a { color: #fff; }

/* ============================================================
   HOME — One engineer, three steps (tide-table strip)
   ============================================================ */
.steps__head { align-items: start; margin-bottom: clamp(40px, 5vw, 72px); }
.steps__strip {
  grid-column: col 1 / content-end;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(32px, 4vw, 64px);
}
.step { position: relative; min-width: 0; }
.step + .step::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: calc(clamp(32px, 4vw, 64px) / -2);
  width: 1px;
  background: rgba(255,255,255,.3);
}
.step__media { position: relative; }
.step__photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 2px solid var(--color-accent);
  background: var(--color-primary-dark);
}
.step__photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--motion-duration-slow) var(--motion-ease);
}
.step:hover .step__photo img { transform: scale(1.04); }
.step__num {
  position: absolute;
  left: 14px; bottom: 0;
  transform: translateY(50%);
  font: 400 6rem/1 var(--font-primary);
  color: #fff;
  text-shadow: 0 2px 18px rgba(15,33,64,.35);
  pointer-events: none;
}
.step h3 { margin-top: 3.6rem; color: #fff; }
.step p { margin-top: 0.6rem; color: rgba(255,255,255,.92); }
.steps__more { grid-column: col 3 / content-end; margin-top: clamp(40px, 5vw, 64px); }

/* ============================================================
   Authority — Scott C. Mielke, P.E. (sand field, waterline-cut plate)
   ============================================================ */
.authority { align-items: start; }
.authority__plate { grid-column: full-start / col 6; }
.authority__text { grid-column: col 7 / content-end; }
.cut-plate {
  --cut: 62%;
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin: 0;
  background: var(--color-primary);
}
.cut-plate img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.cut-plate__band {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  top: var(--cut);
  background: var(--color-primary);
  border-top: 2px solid var(--color-accent);
  display: flex; align-items: flex-start;
  padding: 18px var(--edge) 18px clamp(18px, 3vw, 40px);
  color: #fff;
}
.authority__text h2 { margin-bottom: 1.6rem; }
.authority__text .lead + .prose { margin-top: 1.1em; }
.authority__text .text-link { margin-top: 2rem; }

/* Docket — ruled ledger of venues */
.docket { margin-top: clamp(28px, 3vw, 44px); border-bottom: 1px solid rgba(59,68,86,.4); }
.docket li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px 28px;
  padding: 14px 0 12px;
  border-top: 1px solid rgba(59,68,86,.4);
}
.docket__name { font: 400 1.5rem/1.2 var(--font-primary); }
.docket__cat { flex: none; text-align: right; color: var(--color-text-secondary); }
.ground-ink .docket { border-bottom-color: rgba(255,255,255,.22); }
.ground-ink .docket li { border-top-color: rgba(255,255,255,.22); }
.ground-ink .docket__cat { color: var(--color-surface); }
.docket--large .docket__name { font-size: clamp(1.5rem, 2.6vw, 2.375rem); line-height: 1.12; }
.docket--large li { padding: 18px 0 16px; }

/* ============================================================
   HOME — The work, by name (offset waterline mosaic)
   ============================================================ */
.work__head { margin-bottom: clamp(40px, 6vw, 88px); }
.work__index { grid-column: col 1 / col 3; padding-top: 1em; color: var(--color-primary); }
.work__title { grid-column: col 3 / col 10; }
.mosaic { row-gap: clamp(40px, 5vw, 72px); }
.tile { display: block; text-decoration: none; color: var(--color-text); }
.tile__name {
  display: block; margin-top: 18px;
  font: 400 1.75rem/1.12 var(--font-primary);
}
.tile .particulars { display: block; margin-top: 8px; }
.tile--turkey { grid-column: col 1 / col 8; }
.tile--chesapeake { grid-column: col 8 / content-end; margin-top: 96px; }
.tile--severn { grid-column: col 1 / col 5; }
.tile--winchester { grid-column: col 5 / col 10; }
.tile--miles { grid-column: col 10 / content-end; margin-top: -48px; }
.work__more { grid-column: col 3 / content-end; margin-top: clamp(48px, 6vw, 88px); }

/* ============================================================
   HOME — Six agencies (ink, ghosted jobsite duotone)
   ============================================================ */
.agencies { isolation: isolate; }
.agencies__bg {
  position: absolute; inset: 0;
  background: var(--color-primary);
  opacity: 0.22;
  pointer-events: none;
}
.agencies__bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.15);
  mix-blend-mode: multiply;
}
.agencies > .g { position: relative; z-index: 1; align-items: end; }
.agencies__list { grid-column: col 2 / col 10; }
.agencies__list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.agencies__list li:last-child { border-bottom: 0; }
.agency__name {
  font: 400 clamp(1.75rem, 3.2vw, 3rem)/1.08 var(--font-primary);
  color: #fff;
  margin-right: 0.4em;
}
.agency__note { color: var(--color-surface); white-space: nowrap; }
.agencies__aside { grid-column: col 10 / content-end; padding-bottom: 12px; }
.agencies__aside p { font-size: 1.0625rem; color: #fff; }
.agencies__aside .text-link { margin-top: 1.25rem; }

/* ============================================================
   HOME — Where we work (photo columns over the signal-blue field)
   ============================================================ */
.rivers { background: var(--color-accent); color: var(--color-dark); }
.rivers__strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.river { margin: 0; min-width: 0; }
.river__photo { aspect-ratio: 3 / 4; overflow: hidden; background: var(--color-primary-dark); }
.river__photo img { width: 100%; height: 100%; object-fit: cover; }
.river__name {
  display: block;
  border-top: 2px solid var(--color-primary);
  padding: 22px clamp(14px, 1.6vw, 24px) 6px;
  font: 400 clamp(1.5rem, 2.4vw, 2.25rem)/1.08 var(--font-primary);
  color: var(--color-dark);
}
.rivers__note { padding: 24px 0 clamp(48px, 6vw, 80px); }
.rivers__note p { grid-column: col 2 / col 11; font-size: 1.0625rem; font-weight: 500; color: var(--color-dark); max-width: 70ch; }

/* ============================================================
   The door — closing CTA panel across a texture strip
   ============================================================ */
.door { background: var(--color-bg); padding-bottom: clamp(56px, 7vw, 104px); }
.door__strip {
  height: 44vh;
  min-height: 300px;
  position: relative;
  overflow: hidden;
  background: var(--color-text-secondary);
}
.door__strip img { width: 100%; height: 100%; object-fit: cover; }
.door__body { align-items: end; }
.door__address {
  grid-column: col 1 / col 6;
  color: var(--color-text-secondary);
  padding-bottom: 8px;
  font: 500 0.8125rem/1.7 var(--font-mono);
  letter-spacing: 0.06em;
}
.door__address strong { display: block; color: var(--color-text); font-weight: 500; }
.door__panel {
  grid-column: col 7 / content-end;
  position: relative;
  z-index: 2;
  margin-top: -22vh;
  background: var(--color-surface);
  color: var(--color-text);
  padding: clamp(32px, 4vw, 56px);
}
.door__panel .rubric { color: var(--color-primary); padding-top: 0; }
.door__title { margin-top: 18px; }
.door__title a { color: var(--color-text); text-decoration: none; border-bottom: 2px solid var(--color-primary); }
.door__title a:hover { border-bottom-color: var(--color-accent); }
.door__phone {
  display: inline-block;
  margin-top: clamp(20px, 2.4vw, 32px);
  font: 400 clamp(2.75rem, 5.6vw, 5rem)/1 var(--font-primary);
  color: var(--color-text);
  text-decoration: none;
  background: linear-gradient(var(--color-text), var(--color-text)) 0 100% / 0 2px no-repeat;
  padding-bottom: 6px;
  transition: background-size var(--motion-duration-slow) var(--motion-ease);
  font-variant-numeric: lining-nums;
}
.door__phone:hover { background-size: 100% 2px; }
.door__panel p { margin-top: 18px; font-size: 1.0625rem; }

/* ============================================================
   Footer — call above the waterline, directory below
   ============================================================ */
.site-footer { background: var(--color-dark); color: #fff; }
.footer__upper {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 32px 48px;
  padding: clamp(48px, 6vw, 88px) var(--edge) clamp(40px, 5vw, 64px);
}
.footer__brand { line-height: 0; display: block; }
.footer__brand img {
  height: 80px;            /* logo_footer_height_px — judged, binding */
  width: auto;
  max-width: 180px;
}
.footer__call { text-align: right; }
.footer__cta {
  display: inline-block;
  font: 400 var(--fs-h2)/1.05 var(--font-primary);
  color: var(--color-surface) !important;
  text-decoration: none;
  border-bottom: 1px solid rgba(212,197,169,.5);
}
.footer__cta:hover { border-bottom-color: var(--color-surface); }
.footer__phone {
  display: block; margin-top: 10px;
  font: 400 var(--fs-h2)/1.05 var(--font-primary);
  color: #fff !important; text-decoration: none;
}
.footer__waterline { height: 2px; background: var(--color-accent); margin: 0; border: 0; }
.footer__directory {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1.4fr 1fr 0.8fr;
  gap: 32px;
  padding: clamp(40px, 5vw, 64px) var(--edge) 24px;
  font: 400 0.875rem/1.7 var(--font-mono);
}
.footer__directory h2 {
  font: 500 var(--fs-tag)/1.4 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-surface);
  margin-bottom: 12px;
}
.footer__directory p, .footer__directory li { color: #fff; }
.footer__directory a { color: #fff; text-decoration: none; }
.footer__directory a:hover { text-decoration: underline; }
.footer__directory .pages a { font: 400 15px/2 var(--font-secondary); }
.footer__social { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.footer__social i { font-size: 22px; }
.footer__legal {
  padding: 16px var(--edge) 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.78);
  font: 400 0.8125rem/1.6 var(--font-mono);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
}
.footer__legal p { max-width: none; }

/* ============================================================
   SERVICES
   ============================================================ */
.svc-step01 { align-items: center; }
.bleed-plate-left { grid-column: full-start / col 7; margin: 0; }
.bleed-plate-left img, .bleed-plate-right img { width: 100%; height: 100%; object-fit: cover; }
.bleed-plate-left .frame, .bleed-plate-right .frame { aspect-ratio: 4 / 5; overflow: hidden; background: var(--color-primary-dark); }
.svc-step01__text { grid-column: col 8 / content-end; }
.svc-step01__text h2, .svc-step02__text h2 { margin-top: 18px; margin-bottom: 1.4rem; }
.checklist {
  margin-top: 1.8rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-primary);
  line-height: 2;
  display: flex;
  flex-wrap: wrap;
}
.checklist span { white-space: nowrap; }
.checklist span + span::before { content: "·"; margin: 0 0.7em; color: var(--color-text-secondary); }

.svc-step02 { align-items: center; }
.svc-step02__text { grid-column: col 1 / col 7; }
.svc-step02__text .text-link { margin-top: 2rem; }
.inset-frame {
  grid-column: col 8 / content-end;
  margin: 0;
  background: #fff;
  padding: 8px;
}
.inset-frame .frame { aspect-ratio: 4 / 5; overflow: hidden; }
.inset-frame img { width: 100%; height: 100%; object-fit: cover; }

.photo-seam { background: var(--color-primary); color: #fff; }
.photo-seam__photo { margin: 0; position: relative; aspect-ratio: 10 / 3; overflow: hidden; background: var(--color-primary-dark); }
.photo-seam__photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 55%); }
.photo-seam__line { height: 2px; background: var(--color-accent); }
.photo-seam__field { padding-block: clamp(40px, 5vw, 72px) clamp(56px, 6vw, 96px); }
.photo-seam__field .rubric { grid-column: col 2 / content-end; padding-top: 0; }
.photo-seam__field h2 { grid-column: col 2 / col 9; margin-top: 14px; }
.photo-seam__col1 { grid-column: col 2 / col 8; margin-top: 2rem; }
.photo-seam__col2 { grid-column: col 8 / content-end; margin-top: 2rem; }
.photo-seam__caption { grid-column: col 2 / content-end; margin-top: 2.4rem; color: rgba(255,255,255,.9); }

.expertise { align-items: start; }
.expertise__plate { grid-column: col 1 / col 6; position: sticky; top: calc(var(--nav-h) + 24px); margin: 0; }
.expertise__plate .frame { aspect-ratio: 3 / 4; overflow: hidden; background: var(--color-primary-dark); }
.expertise__plate img { width: 100%; height: 100%; object-fit: cover; }
.expertise__body { grid-column: col 7 / content-end; }
.expertise__body h2 { margin-bottom: clamp(24px, 3vw, 40px); }
.index-list { border-bottom: 1px solid rgba(15,33,64,.25); }
.index-row {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) 1.5rem;
  gap: 4px 16px;
  align-items: baseline;
  padding: 16px 0 14px;
  border-top: 1px solid rgba(15,33,64,.25);
  text-decoration: none;
  color: var(--color-text);
}
.index-row__num { color: var(--color-primary); transition: color var(--motion-duration) var(--motion-ease); }
.index-row__name { font: 400 1.75rem/1.12 var(--font-primary); }
.index-row__desc { grid-column: 2 / 3; font-size: 0.9375rem; color: var(--color-text-secondary); max-width: 52ch; }
.index-row__arrow { grid-column: 3; grid-row: 1; justify-self: end; color: var(--color-primary); transition: transform var(--motion-duration) var(--motion-ease); }
a.index-row:hover .index-row__arrow { transform: translateX(6px); }
a.index-row:hover .index-row__num { color: var(--color-accent); }
a.index-row:hover .index-row__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.expertise__areas { margin-top: clamp(40px, 5vw, 64px); }
.expertise__areas h3 { margin-bottom: 14px; }
.two-col-list { columns: 2; column-gap: 32px; }
.two-col-list li { break-inside: avoid; padding: 6px 0 6px 26px; position: relative; font-size: 0.9375rem; line-height: 1.5; }
.two-col-list li i { position: absolute; left: 0; top: 0.5em; color: var(--color-primary); }

.testimony { align-items: start; }
.testimony__docket { grid-column: col 2 / col 9; }
.testimony__docket .docket { margin-top: 0; }
.testimony__text { grid-column: col 2 / col 8; margin-top: clamp(32px, 4vw, 56px); }
.testimony__text p { font-size: 1.0625rem; color: rgba(255,255,255,.92); }
.testimony__plate { grid-column: col 10 / content-end; grid-row: 1 / span 2; margin: 0; }
.testimony__plate .frame { aspect-ratio: 1 / 2; overflow: hidden; }
.testimony__plate img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   PERMITTING
   ============================================================ */
.line-drawn__title { grid-column: col 2 / col 10; margin-bottom: clamp(32px, 4vw, 56px); }
.diagram {
  grid-column: col 2 / col 12;
  margin: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.diagram svg { width: 100%; min-width: 640px; height: auto; display: block; }
.diagram figcaption { margin-top: 10px; color: var(--color-text-secondary); }
.diagram .mhw-path { stroke-dasharray: 1100; stroke-dashoffset: 0; }
html.js .diagram .mhw-path { stroke-dashoffset: 1100; transition: stroke-dashoffset var(--motion-duration-slow) var(--motion-ease); }
html.js .diagram.is-in .mhw-path { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) { html.js .diagram .mhw-path { stroke-dashoffset: 0; transition: none; } }

.datum-photo { grid-column: col 2 / col 7; margin: clamp(40px, 5vw, 64px) 0 0; }
.datum-photo__frame { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.datum-photo__frame img { width: 100%; height: 100%; object-fit: cover; }
.datum-photo__line {
  position: absolute; left: 0; right: 0; top: var(--waterline, 46%);
  height: 2px; background: var(--color-accent);
}
.datum-photo__tag {
  position: absolute; right: 12px; top: calc(var(--waterline, 46%) + 8px);
  padding: 5px 9px; background: var(--color-primary); color: #fff;
}
.datum-photo figcaption { margin-top: 10px; color: var(--color-text-secondary); }
.line-drawn__text { grid-column: col 7 / col 12; margin-top: clamp(40px, 5vw, 64px); align-self: center; }
.line-drawn__text h3 { margin-bottom: 0.6rem; }
.line-drawn__text h3:not(:first-child) { margin-top: 1.6rem; }

.stations { align-items: start; }
.stations__plate { grid-column: col 1 / col 6; position: sticky; top: calc(var(--nav-h) + 24px); margin: 0; }
.stations__plate .frame { height: min(80svh, 820px); overflow: hidden; }
.stations__plate img { width: 100%; height: 100%; object-fit: cover; }
.stations__body { grid-column: col 7 / content-end; }
.stations__body > h2 { margin-bottom: 1rem; }
.stations__body > p { color: rgba(255,255,255,.94); }
.station {
  padding: clamp(28px, 3vw, 40px) 0;
  border-top: 2px solid rgba(255,255,255,.4);
}
.stations__body > p + .station { margin-top: clamp(28px, 3vw, 44px); }
.station .rubric { padding-top: 0; }
.station h3.station__name {
  margin-top: 8px;
  font: 400 clamp(1.75rem, 2.8vw, 2.5rem)/1.08 var(--font-primary);
  color: #fff;
}
.station dl { margin-top: 18px; display: grid; gap: 12px; }
.station dt { font-weight: 600; font-size: 0.9375rem; }
.station dd { color: rgba(255,255,255,.94); max-width: 60ch; }
.station dd.you { font-weight: 600; }

.ledger-sec { align-items: start; }
.ledger-sec__intro { grid-column: col 2 / col 7; align-self: center; }
.ledger-sec__intro h2 { margin-bottom: 1.2rem; }
.bleed-plate-right { grid-column: col 7 / full-end; margin: 0; }
.bleed-plate-right .frame { aspect-ratio: 3 / 2; }
.ledger { grid-column: col 2 / col 12; margin-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: 4fr 6fr; gap: var(--gap); align-items: start; }
.ledger__col h3 {
  color: var(--color-primary);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-primary);
}
.ledger__col ol li {
  display: grid; grid-template-columns: 2.4rem 1fr; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}
.ledger__col ol li .mono { color: var(--color-primary); padding-top: 0.3em; }

.photo-band { margin: 0; }
.photo-band__frame { aspect-ratio: 21 / 9; overflow: hidden; background: var(--color-primary-dark); max-height: 80svh; width: 100%; }
.photo-band__frame img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); }

/* ============================================================
   PROJECTS
   ============================================================ */
.filter {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}
.filter__inner {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: thin;
  padding: 14px var(--edge);
}
.filter__btn {
  flex: none;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--color-text);
  font: 500 15px/1 var(--font-secondary);
  cursor: pointer;
  white-space: nowrap;
}
.filter__btn:hover { background: var(--color-primary-light); }
.filter__btn[aria-pressed="true"] { background: var(--color-primary); color: #fff; }
.filter__status { padding: 0 var(--edge); }

.rows { padding-block: clamp(48px, 6vw, 96px); }
.rows__anchors { height: 0; }
.prow { align-items: center; padding-block: clamp(28px, 4vw, 56px); }
.prow + .prow { border-top: 1px solid var(--color-border); }
.prow__media { grid-column: col 1 / col 9; display: block; }
.prow__media .split { aspect-ratio: 21 / 9; }
.prow__text { grid-column: col 9 / content-end; }
.prow--flip .prow__media { grid-column: col 5 / content-end; grid-row: 1; }
.prow--flip .prow__text { grid-column: col 1 / col 5; grid-row: 1; }
.prow__text h2 { font-size: clamp(1.75rem, 2.8vw, 2.5rem); line-height: 1.08; }
.prow__text h2 a { color: var(--color-text); text-decoration: none; }
.prow__text h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.prow__text .particulars { margin-top: 12px; display: block; }
.prow__text p { margin-top: 14px; font-size: 1rem; }
.prow__text .text-link { margin-top: 18px; }
.prow[hidden], .ill-row[hidden] { display: none; }
.rows__empty { padding: 24px 0; color: var(--color-text-secondary); }

.illustrative__head { margin-bottom: clamp(32px, 4vw, 56px); }
.illustrative__head h2 { grid-column: col 1 / col 9; }
.illustrative__head p { grid-column: col 1 / col 9; margin-top: 1rem; color: rgba(255,255,255,.94); }
.ill-row { align-items: start; padding-block: clamp(28px, 3vw, 44px); border-top: 2px solid rgba(255,255,255,.35); }
.ill-row__text { grid-column: col 1 / col 5; }
.ill-row__text h3 { font: 400 clamp(1.625rem, 2.4vw, 2.25rem)/1.1 var(--font-primary); color: #fff; }
.ill-row__text p { margin-top: 12px; color: rgba(255,255,255,.94); font-size: 1rem; }
.chip { display: inline-block; margin-top: 16px; padding: 6px 10px; background: var(--color-dark); color: #fff; }
.ill-row__media { grid-column: col 5 / content-end; }
.ill-row__media figcaption { margin-top: 10px; color: rgba(255,255,255,.92); }

.quiet-band { position: relative; background: var(--color-primary-dark); }
.quiet-band__frame { aspect-ratio: 16 / 7; max-height: 86svh; width: 100%; overflow: hidden; position: relative; }
.quiet-band__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.quiet-band__frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top right, rgba(15,33,64,.72) 0%, rgba(15,33,64,.35) 38%, rgba(15,33,64,0) 62%);
}
.quiet-band__line {
  position: absolute; z-index: 2;
  left: var(--edge); bottom: clamp(32px, 5vw, 72px);
  max-width: 18ch;
  font-size: var(--fs-h2);
  line-height: 1.05;
  color: #fff;
}

/* ============================================================
   ABOUT
   ============================================================ */
.firm { align-items: start; }
.firm__text { grid-column: col 2 / col 7; }
.firm__text h2 { margin-bottom: 1.4rem; }
.firm__plate { grid-column: col 8 / content-end; margin: 0; }
.firm__plate .frame { aspect-ratio: 4 / 5; overflow: hidden; }
.firm__plate img { width: 100%; height: 100%; object-fit: cover; }
.firm__plate figcaption, .inset figcaption { margin-top: 10px; color: var(--color-text-secondary); }
.firm__index { grid-column: col 2 / col 12; margin-top: clamp(48px, 6vw, 88px); }
.firm__index h3 { margin-bottom: 16px; }
.num-index { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); counter-reset: idx; }
.num-index li {
  display: grid; grid-template-columns: 2.6rem 1fr; gap: 12px;
  padding: 12px 0; border-top: 1px solid var(--color-border);
  font-size: 1rem;
}
.num-index .mono { color: var(--color-primary); padding-top: 0.35em; }

.history { position: relative; background: var(--color-primary-dark); }
.history__frame { aspect-ratio: 16 / 6; min-height: 420px; width: 100%; overflow: hidden; }
.history__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.history__panel-wrap { position: absolute; inset: auto 0 0 0; }
.history__panel {
  grid-column: col 2 / col 7;
  background: var(--color-surface);
  color: var(--color-text);
  padding: clamp(28px, 3.4vw, 48px);
}
.history__panel p { margin-top: 12px; font-size: 1.0625rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.intake { padding-bottom: var(--section-y); align-items: start; }
.intake__panel {
  grid-column: col 6 / content-end;
  grid-row: 1 / span 2;
  justify-self: end;
  width: 100%;
  max-width: 640px;
  margin-top: -160px;
  position: relative;
  z-index: 4;
  background: #fff;
  padding: clamp(28px, 3.4vw, 48px);
  box-shadow: 0 30px 60px -24px rgba(15,33,64,.12), 0 2px 10px rgba(15,33,64,.06);
}
.intake__panel h2 { font-size: clamp(1.875rem, 3vw, 2.75rem); margin-bottom: 8px; }
.intake__panel > p { color: var(--color-text-secondary); margin-bottom: 24px; }
.intake__aside { grid-column: col 1 / col 6; padding-top: clamp(48px, 5vw, 72px); }
.intake__aside .frame { aspect-ratio: 4 / 5; overflow: hidden; }
.intake__aside img { width: 100%; height: 100%; object-fit: cover; }
.intake__facts { margin-top: 22px; display: grid; gap: 8px; color: var(--color-text); }
.intake__facts a { color: var(--color-primary); text-decoration: none; }
.intake__facts a:hover { text-decoration: underline; }

.contact-form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font: 600 15px/1.3 var(--font-secondary); color: var(--color-text); }
.field .req { color: var(--color-primary); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font-size: 1.0625rem;
  line-height: 1.4;
  background: var(--color-primary-light);
  border: 1px solid var(--color-border);
  border-radius: 2px;
  color: var(--color-text);
  transition: border-color var(--motion-duration) var(--motion-ease), background-color var(--motion-duration) var(--motion-ease);
}
.field textarea { resize: vertical; min-height: 160px; }
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--color-text) 50%), linear-gradient(135deg, var(--color-text) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat;
  padding-right: 40px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 0;
  border-color: var(--color-accent);
  background-color: #fff;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
fieldset.field { border: 0; }
fieldset.field legend { margin-bottom: 10px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9375rem; line-height: 1.35; cursor: pointer; }
.check input {
  appearance: none; -webkit-appearance: none;
  flex: none; width: 20px; height: 20px; min-height: 0; padding: 0; margin-top: 1px;
  border: 2px solid var(--color-dark); border-radius: 0; background: #fff;
  display: grid; place-content: center; cursor: pointer;
}
.check input::before { content: ""; width: 10px; height: 10px; background: var(--color-dark); transform: scale(0); transition: transform 120ms ease; }
.check input:checked::before { transform: scale(1); }
.check input:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.contact-form button[type="submit"] { width: 100%; min-height: 56px; font-size: 1.0625rem; margin-top: 4px; }
.form-note { font-size: var(--fs-small); color: var(--color-text-secondary); }

/* partner.js success / error states in brand colors */
.lcrm-success-card {
  background: var(--color-primary) !important; color: #fff !important;
  padding: 32px !important; border-radius: 2px !important; border: 0 !important;
  border-top: 2px solid var(--color-accent) !important;
  font-family: var(--font-secondary) !important;
}
.lcrm-success-card * { color: #fff !important; }
.lcrm-form-error {
  background: #FDECEC !important; color: #7A1010 !important;
  border-left: 3px solid #B42318 !important; padding: 12px 16px !important;
  font-family: var(--font-secondary) !important; border-radius: 2px !important;
}

.next-steps { align-items: start; }
.next-steps__body { grid-column: col 1 / col 8; }
.next-steps__body > h2 { margin-bottom: clamp(24px, 3vw, 40px); }
.next-row { display: grid; grid-template-columns: 3.5rem 1fr; gap: 8px 16px; padding: 22px 0; border-top: 2px solid rgba(255,255,255,.4); }
.next-row .rubric { padding-top: 0.6em; }
.next-row h3 { font: 400 clamp(1.5rem, 2.2vw, 2rem)/1.15 var(--font-primary); color: #fff; }
.next-row p { grid-column: 2; color: rgba(255,255,255,.94); }
.next-steps__plate { grid-column: col 9 / content-end; margin: 0; }
.next-steps__plate .frame { aspect-ratio: 3 / 4; overflow: hidden; }
.next-steps__plate img { width: 100%; height: 100%; object-fit: cover; }

.office { position: relative; min-height: 50svh; display: grid; align-items: center; background: var(--color-text-secondary); }
.office__bg { position: absolute; inset: 0; overflow: hidden; }
.office__bg img { width: 100%; height: 100%; object-fit: cover; }
.office > .g { position: relative; z-index: 1; padding-block: clamp(56px, 7vw, 104px); }
.office__card { grid-column: col 2 / col 7; background: var(--color-surface); color: var(--color-text); padding: clamp(28px, 3.4vw, 48px); }
.office__card h2 { margin-bottom: 18px; }
.office__card address { font: 500 0.9375rem/1.7 var(--font-mono); font-style: normal; letter-spacing: 0.04em; }
.office__phone { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font: 400 2rem/1.1 var(--font-primary); color: var(--color-text); text-decoration: none; }
.office__phone:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.office__card p { margin-top: 14px; }
.office__card .text-link { margin-top: 18px; color: var(--color-primary); }

/* ============================================================
   PROJECT PAGES
   ============================================================ */
.story { align-items: start; }
.story__text { grid-column: col 2 / col 8; }
.story__text h2 { margin-bottom: 1.4rem; }
.story__side { grid-column: col 9 / content-end; }
.title-block {
  background: var(--color-primary);
  color: #fff;
  padding: 24px 24px 20px;
  border-top: 2px solid var(--color-accent);
}
.title-block__head { color: var(--color-surface); margin-bottom: 14px; }
.title-block dl { display: grid; grid-template-columns: auto 1fr; }
.title-block dt, .title-block dd {
  font: 500 0.75rem/1.5 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 9px 0;
  border-top: 1px solid rgba(255,255,255,.22);
}
.title-block dt { color: var(--color-surface); padding-right: 16px; }
.title-block dd { color: #fff; }
.title-block__note { margin-top: 14px; color: #fff; }
.inset { margin: 20px 0 0; }
.inset .frame { aspect-ratio: 4 / 3; overflow: hidden; }
.inset img { width: 100%; height: 100%; object-fit: cover; }
.story__note { margin-top: 1.6rem; color: var(--color-primary); }

.compares { background: var(--color-primary); }
.compares .compare + .compare { margin-top: 0; border-top: 6px solid var(--color-primary-dark); }

.record__head { margin-bottom: clamp(32px, 4vw, 56px); }
.record__head h2 { grid-column: col 1 / col 9; }
.record__head p { grid-column: col 1 / col 9; margin-top: 0.8rem; }
.record-grid {
  grid-column: col 1 / content-end;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 17vw, 250px);
  gap: clamp(8px, 1vw, 14px);
}
.record-grid figure { margin: 0; position: relative; overflow: hidden; background: var(--color-primary-dark); grid-column: span var(--c, 4); grid-row: span var(--r, 1); }
.record-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--motion-duration-slow) var(--motion-ease); }
.record-grid figure:hover img { transform: scale(1.04); }
.record-grid figcaption {
  position: absolute; left: 10px; bottom: 10px;
  padding: 5px 9px;
  background: rgba(15,33,64,.84);
  color: #fff;
  pointer-events: none;
}

.next-project { align-items: center; }
.next-project__media { grid-column: col 1 / col 7; display: block; }
.next-project__media .split { aspect-ratio: 3 / 2; }
.next-project__text { grid-column: col 8 / content-end; }
.next-project__text .rubric { color: var(--color-surface); padding-top: 0; }
.next-project__text h2 { margin-top: 14px; }
.next-project__text h2 a { color: #fff; text-decoration: none; }
.next-project__text h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.next-project__links { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px 32px; }

.feature-seam { background: var(--color-primary); color: #fff; }
.feature-seam__photo { margin: 0; position: relative; overflow: hidden; aspect-ratio: var(--ratio, 21 / 9); max-height: 86svh; width: 100%; }
.feature-seam__photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); }
.feature-seam__band {
  position: absolute; left: 0; right: 0; bottom: 0;
  top: var(--cut, 72%);
  background: var(--color-primary);
  border-top: 2px solid var(--color-accent);
  display: flex; align-items: center;
  padding: 0 var(--edge);
}
.feature-seam__band h3 { color: #fff; font: 400 clamp(1.375rem, 2.4vw, 2.25rem)/1.15 var(--font-primary); }
.feature-seam__band .mono { color: #fff; }

.diptych { align-items: start; }
.diptych__head { grid-column: col 1 / col 9; margin-bottom: clamp(32px, 4vw, 56px); }
.diptych__head p { margin-top: 0.8rem; }
.diptych__grid { grid-column: col 1 / content-end; display: grid; grid-template-columns: 7fr 5fr; gap: var(--gap); align-items: start; }
.diptych__grid figure { margin: 0; }
.diptych__grid figure:nth-child(2) { margin-top: 64px; }
.diptych__grid .frame { overflow: hidden; }
.diptych__grid figure:nth-child(1) .frame { aspect-ratio: 4 / 3; }
.diptych__grid figure:nth-child(2) .frame { aspect-ratio: 4 / 5; }
.diptych__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--motion-duration-slow) var(--motion-ease); }
.diptych__grid figure:hover img { transform: scale(1.04); }
.diptych__grid figcaption { margin-top: 10px; color: var(--color-text); }

.story--type .story__text h2 { font-size: var(--fs-h1); line-height: .98; }

.explainer { align-items: center; }
.explainer__text { grid-column: col 2 / col 8; }
.explainer__text h2 { margin-bottom: 1.4rem; }
.explainer__text p { color: rgba(255,255,255,.95); }
.explainer__plate { grid-column: col 8 / full-end; margin: 0; }
.explainer__plate .frame { aspect-ratio: 4 / 5; max-height: 86svh; overflow: hidden; }
.explainer__plate img { width: 100%; height: 100%; object-fit: cover; }
.explainer--mirror .explainer__plate { grid-column: full-start / col 6; grid-row: 1; }
.explainer--mirror .explainer__text { grid-column: col 7 / content-end; grid-row: 1; }

.zoom-img { overflow: hidden; }
a:hover .zoom-img img { transform: scale(1.04); }

/* ============================================================
   Gallery lightbox — scaffolded shared mechanism (binding default)
   Inert until a data-lightbox group container exists on the page.
   Restyle this chrome freely to match the brand; do not remove
   the mechanism. (frontend-design.md § "Gallery lightbox")
   ============================================================ */
.lightbox-zoomable {
  cursor: zoom-in;
  object-position: 75% 65%;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2.5rem);
}
.lightbox.is-open {
  display: flex;
  animation: lightbox-in var(--motion-duration) var(--motion-ease);
}
@keyframes lightbox-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .lightbox.is-open { animation: none; }
}
.lightbox__scrim {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--color-dark) 92%, transparent);
}
.lightbox__frame {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: min(1200px, 92vw);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.lightbox__img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-bottom: 2px solid var(--color-accent);
  box-shadow: 0 24px 80px -16px rgba(0,0,0,.6);
}
.lightbox__caption {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.5;
  color: #fff;
  text-align: center;
  max-width: 60ch;
}
.lightbox__counter {
  position: absolute;
  bottom: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--color-surface);
}
.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  background: var(--color-surface);
  color: var(--color-dark);
  font-size: 1.15rem;
  line-height: 1;
}
.lightbox__close:hover,
.lightbox__close:focus-visible,
.lightbox__prev:hover,
.lightbox__prev:focus-visible,
.lightbox__next:hover,
.lightbox__next:focus-visible {
  background: #fff;
  color: var(--color-primary);
}
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev  { left: 1rem;  top: 50%; transform: translateY(-50%); }
.lightbox__next  { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__caption[hidden],
.lightbox__counter[hidden],
.lightbox__prev[hidden],
.lightbox__next[hidden] {
  display: none;
}

/* ============================================================
   Responsive
   ============================================================ */

/* Wide-tablet / small laptop: nav collapses before any item can clip */
@media (max-width: 1139px) {
  .masthead__nav { display: none; }
  .masthead__mobile { display: inline-flex; }
  html:not(.js) .masthead__nav { display: block; }
  html:not(.js) .masthead__mobile { display: none; }
  html:not(.js) .masthead__bar { height: auto; min-height: var(--nav-h); flex-wrap: wrap; padding-block: 8px; }
  html:not(.js) .masthead__links { flex-wrap: wrap; justify-content: flex-start; row-gap: 12px; }
}

@media (max-width: 1023px) {
  /* Three steps become a horizontal scroll-snap strip */
  .steps__strip {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0;
    margin-inline: calc(-1 * var(--edge));
    padding-inline: var(--edge);
    scroll-padding-inline: var(--edge);
    padding-bottom: 12px;
  }
  .step { flex: 0 0 min(78vw, 520px); scroll-snap-align: start; padding-right: 24px; margin-right: 24px; }
  .step + .step::before { left: -24px; }

  .agencies__list { grid-column: col 1 / content-end; }
  .agencies__aside { grid-column: col 1 / col 9; margin-top: 32px; }

  .authority__plate { grid-column: full-start / col 7; }
  .authority__text { grid-column: col 7 / content-end; }

  .footer__directory { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .tile--severn { grid-column: col 1 / col 7; }
  .tile--winchester { grid-column: col 7 / content-end; }
  .tile--miles { grid-column: col 4 / col 10; margin-top: 0; }

  .prow__media, .prow--flip .prow__media { grid-column: col 1 / content-end; grid-row: auto; }
  .prow__text, .prow--flip .prow__text { grid-column: col 1 / col 11; grid-row: auto; margin-top: 22px; }

  .ill-row__text { grid-column: col 1 / content-end; }
  .ill-row__media { grid-column: col 1 / content-end; margin-top: 20px; }

  .testimony__docket { grid-column: col 1 / col 9; }
  .testimony__text { grid-column: col 1 / col 9; }
  .testimony__plate { grid-column: col 9 / content-end; }

  .stations__plate { grid-column: col 1 / col 6; }
  .stations__body { grid-column: col 6 / content-end; }
}

@media (max-width: 767px) {
  :root { --nav-h: 72px; }

  .utility-strip { justify-content: center; text-align: center; }
  .utility-strip p:last-child { display: none; }
  .masthead__brand img { height: 64px; max-width: 150px; }

  /* Seam hero: photo 52svh, headline wholly in the field, tag above the line */
  .seam-hero { --photo-h: 52svh; }
  .seam-hero__field { min-height: 0; padding-top: 36px; padding-bottom: 40px; }
  .seam-hero__title {
    grid-column: col 1 / content-end;
    margin-top: 0;
    font-size: clamp(2.4rem, 11.5vw, 3.25rem);
    line-height: 0.96;
  }
  .seam-hero__tag {
    left: var(--edge); right: auto;
    top: auto; bottom: 10px;
    text-align: left;
    background: rgba(15,33,64,.72);
    padding: 6px 9px;
  }
  .seam-hero__lead, .seam-hero__particulars, .seam-hero__actions,
  .seam-hero__bigphone, .seam-hero__address { grid-column: col 1 / content-end; }
  .seam-hero__actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .seam-hero__actions .btn-sand { background: transparent; color: #fff; border: 1px solid var(--color-surface); }
  .seam-hero__phone {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    background: var(--color-surface); color: var(--color-dark);
    font-size: 1.875rem; padding: 16px 12px; border: 0;
    margin-inline: calc(-1 * var(--edge));
  }
  .seam-hero__phone i { display: inline-block; font-size: 22px; color: var(--color-primary); }
  .seam-hero--contact .seam-hero__field { padding-bottom: 96px; }
  .seam-hero__bigphone { font-size: clamp(2.5rem, 12vw, 3.25rem); }

  .rubric-row .rubric, .rubric-row .rubric-row__title { grid-column: col 1 / content-end; }
  .rubric-row .rubric { padding-top: 0; margin-bottom: 10px; }

  .step { flex-basis: 84vw; }
  .steps__more { grid-column: col 1 / content-end; }
  .seam-compare, .seam-compare--3x2 { aspect-ratio: 4 / 3; }
  .cut-plate { --cut: 76% !important; }
  .step__media { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 12px; }
  .step__num { position: static; transform: none; font-size: 4.5rem; line-height: .8; }
  .step h3 { margin-top: 1.2rem; }

  .caption-bar { padding-block: 18px; }

  .authority__plate, .authority__text { grid-column: full-start / full-end; }
  .authority__text { padding: 36px var(--edge) 0; }
  .cut-plate { aspect-ratio: 4 / 4; }
  .docket li { flex-direction: column; gap: 4px; }
  .docket__cat { text-align: left; }

  .work__index, .work__title { grid-column: col 1 / content-end; }
  .work__title { margin-top: 8px; }
  .tile--turkey, .tile--chesapeake, .tile--severn, .tile--winchester, .tile--miles {
    grid-column: col 1 / content-end; margin-top: 0;
  }
  .tile .split { aspect-ratio: 4 / 4; }
  .work__more { grid-column: col 1 / content-end; }

  .agency__note { white-space: normal; display: block; margin-top: 4px; }
  .agencies__aside { grid-column: col 1 / content-end; }

  /* Rivers: horizontal scroll-snap, blue name field stays docked beneath */
  .rivers__strip {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .river { flex: 0 0 78vw; scroll-snap-align: start; }
  .rivers__note p { grid-column: col 1 / content-end; }

  .door__strip { height: 34vh; min-height: 220px; }
  .door__panel { grid-column: col 1 / content-end; margin-top: -80px; margin-inline: calc(-1 * var(--gap) / 2); }
  .door__address { grid-column: col 1 / content-end; grid-row: 2; padding-top: 24px; }

  .footer__upper { flex-direction: column; align-items: flex-start; }
  .footer__call { text-align: left; }
  .footer__directory { grid-template-columns: 1fr 1fr; }
  .footer__directory > div:first-child, .footer__directory > div:nth-child(3) { grid-column: 1 / -1; }

  .bleed-plate-left, .bleed-plate-right { grid-column: full-start / full-end; }
  .bleed-plate-left .frame { aspect-ratio: 4 / 4; }
  .svc-step01__text, .svc-step02__text, .ledger-sec__intro { grid-column: col 1 / content-end; }
  .svc-step01__text { margin-top: 36px; }
  .inset-frame { grid-column: col 1 / content-end; margin-top: 36px; }
  .photo-seam__photo { aspect-ratio: 4 / 3; }
  .photo-seam__field .rubric, .photo-seam__field h2, .photo-seam__col1, .photo-seam__col2, .photo-seam__caption { grid-column: col 1 / content-end; }
  .photo-seam__col2 { margin-top: 1rem; }
  .checklist span { white-space: normal; }

  .expertise__plate { position: static; grid-column: col 1 / content-end; }
  .expertise__plate .frame { aspect-ratio: 4 / 3; }
  .expertise__body { grid-column: col 1 / content-end; margin-top: 40px; }
  .index-row__name { font-size: 1.5rem; }
  .two-col-list { columns: 1; }

  .testimony__docket, .testimony__text { grid-column: col 1 / content-end; }
  .testimony__plate { grid-column: col 1 / content-end; grid-row: auto; margin-top: 32px; }
  .testimony__plate .frame { aspect-ratio: 16 / 7; }

  .line-drawn__title, .diagram, .datum-photo, .line-drawn__text { grid-column: col 1 / content-end; }
  .stations__plate { position: static; grid-column: full-start / full-end; }
  .stations__plate .frame { height: 46svh; }
  .stations__body { grid-column: col 1 / content-end; margin-top: 40px; }
  .bleed-plate-right { margin-top: 32px; }
  .ledger { grid-column: col 1 / content-end; grid-template-columns: 1fr; gap: 40px; }
  .photo-band__frame { aspect-ratio: 4 / 3; }

  .prow__text, .prow--flip .prow__text { grid-column: col 1 / content-end; }
  .prow__media .split { aspect-ratio: 4 / 3; }
  .illustrative__head h2, .illustrative__head p { grid-column: col 1 / content-end; }
  .quiet-band__frame { aspect-ratio: 4 / 5; }

  .firm__text, .firm__plate, .firm__index { grid-column: col 1 / content-end; }
  .firm__plate { margin-top: 32px; }
  .num-index { grid-template-columns: 1fr; }
  .history__frame { aspect-ratio: 4 / 5; min-height: 0; }
  .history__panel { grid-column: col 1 / content-end; margin-bottom: 0; }

  .intake__panel { grid-column: col 1 / content-end; grid-row: 1; margin-top: -72px; max-width: none; margin-inline: calc(-1 * var(--gap) / 2); }
  .intake__aside { grid-column: col 1 / content-end; grid-row: 2; padding-top: 48px; }
  .field-row, .checks { grid-template-columns: 1fr; }
  .next-steps__body, .next-steps__plate { grid-column: col 1 / content-end; }
  .next-steps__plate { margin-top: 32px; }
  .next-steps__plate .frame { aspect-ratio: 4 / 3; }
  .office__card { grid-column: col 1 / content-end; }

  .story__text, .story__side { grid-column: col 1 / content-end; }
  .story__side { margin-top: 36px; }
  .record__head h2, .record__head p { grid-column: col 1 / content-end; }
  .record-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 42vw; }
  .record-grid figure { grid-column: span 1; grid-row: span 1; }
  .record-grid figure:first-child { grid-column: span 2; grid-row: span 1; }
  .next-project__media, .next-project__text { grid-column: col 1 / content-end; }
  .next-project__text { margin-top: 28px; }
  .feature-seam__photo { aspect-ratio: 4 / 3; }
  .feature-seam__band { top: auto; height: auto; min-height: 30%; padding-block: 14px; }
  .diptych__head { grid-column: col 1 / content-end; }
  .diptych__grid { grid-template-columns: 1fr; }
  .diptych__grid figure:nth-child(2) { margin-top: 0; width: 82%; margin-left: auto; }
  .explainer__text, .explainer--mirror .explainer__text { grid-column: col 1 / content-end; grid-row: 1; }
  .explainer__plate, .explainer--mirror .explainer__plate { grid-column: full-start / full-end; grid-row: 2; margin-top: 36px; }
  .explainer__plate .frame { aspect-ratio: 4 / 3; }
}

@media (max-width: 420px) {
  .masthead__bar { gap: 8px; }
  .masthead__mobile { gap: 0; }
  .masthead__mobile a, .masthead__mobile button { padding: 0 8px; min-width: 44px; justify-content: center; }
}
@media (max-width: 374px) {
  .masthead__mobile a { font-size: 0; gap: 0; }
  .masthead__mobile a i { font-size: 22px; }
  .footer__directory { grid-template-columns: 1fr; }
}

.feature-seam__title { color: #fff; font: 400 clamp(1.375rem, 2.4vw, 2.25rem)/1.15 var(--font-primary); }

/* ============================================================
   Self-hosted Google Fonts (localized by 20_performance_sweep)
   ============================================================ */
/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/-F63fjptAgt5VM-kVkqdyU8n1iIq131nj-otFQ.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/-F63fjptAgt5VM-kVkqdyU8n1isq131nj-otFQ.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/-F63fjptAgt5VM-kVkqdyU8n1iAq131nj-otFQ.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/-F63fjptAgt5VM-kVkqdyU8n1iEq131nj-otFQ.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/-F63fjptAgt5VM-kVkqdyU8n1i8q131nj-o.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/-F6qfjptAgt5VM-kVkqdyU8n3twJwl1FgsAXHNlYzg.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/-F6qfjptAgt5VM-kVkqdyU8n3twJwlRFgsAXHNlYzg.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/-F6qfjptAgt5VM-kVkqdyU8n3twJwl9FgsAXHNlYzg.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/-F6qfjptAgt5VM-kVkqdyU8n3twJwl5FgsAXHNlYzg.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/-F6qfjptAgt5VM-kVkqdyU8n3twJwlBFgsAXHNk.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Libre Caslon Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/TuGOUUFxWphYQ6YI6q9Xp61FQzxDRKmzr1lYfxlPCz4c3AU.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Libre Caslon Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/TuGOUUFxWphYQ6YI6q9Xp61FQzxDRKmzr1lWfxlPCz4c.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/ijwRs572Xtc6ZYQws9YVwnNJfJ7QwOk1Fig.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/ijwRs572Xtc6ZYQws9YVwnNIfJ7QwOk1Fig.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/ijwRs572Xtc6ZYQws9YVwnNGfJ7QwOk1.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/ijwRs572Xtc6ZYQws9YVwnNJfJ7QwOk1Fig.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/ijwRs572Xtc6ZYQws9YVwnNIfJ7QwOk1Fig.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/ijwRs572Xtc6ZYQws9YVwnNGfJ7QwOk1.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/ijwRs572Xtc6ZYQws9YVwnNJfJ7QwOk1Fig.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/ijwRs572Xtc6ZYQws9YVwnNIfJ7QwOk1Fig.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/ijwRs572Xtc6ZYQws9YVwnNGfJ7QwOk1.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* lt-perf:begin — generated by performance-sweep.py (rev 90): keeps sweep-added <picture>
   wrappers layout-transparent and reserves the box of content-sized hero images.
   Do not edit; re-run the sweep. */
picture[data-lt-picture] { display: contents; }
/* lt-perf:end */
