/* New York Empire Trades: layout A "Corporate Photographic" (site.css)
   One stylesheet for every page. Sections:
   1 Tokens  2 Base  3 Layout  4 Buttons and links  5 Header  6 Footer
   7 Home hero slides  8 Pillars card  9 Section heads  11 Credentials
   12 Reveal  13 Split feature  14 Inner page hero  15 Content blocks
   16 Definition rows and tables  17 Forms  18 Utilities  19 Motion and print */

/* 1 Tokens ------------------------------------------------------------- */
:root {
  --navy: #0f2340;
  --navy-700: #1a3254;
  --ink: #0e1b2c;
  --ink-2: #2a3646;
  --body: #536173;
  --muted: #5f6b7a;
  --line: #e3e8ee;
  --line-strong: #d3dbe4;
  --mist: #f3f6f9;
  --mist-2: #f5f7fa;
  --sky: #dbe7eb;
  --gold: #86651f;
  --gold-light: #d4b26f;
  --white: #ffffff;
  --on-navy: #c3cedb;
  --on-navy-muted: #9fb0c3;
  --on-navy-line: rgba(255, 255, 255, 0.16);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 100px);
  --radius: 6px;
  --radius-lg: 14px;
  --shadow-card: 0 1px 2px rgba(14, 27, 44, 0.04), 0 18px 44px rgba(14, 27, 44, 0.09);
  --header-h: 92px;
  --sticky-top: calc(var(--header-h) + 96px); /* side headings clear the header and a jump bar */
  --section: clamp(72px, 9vw, 112px);
}

/* 2 Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--serif); font-weight: 600; letter-spacing: -0.012em; }
h1 { font-size: clamp(2.5rem, 1.55rem + 3.4vw, 4.4rem); line-height: 1.04; font-weight: 600; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.85rem, 1.45rem + 1.3vw, 2.5rem); line-height: 1.15; font-weight: 600; }
h3 { font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.65rem); line-height: 1.2; }
h4 { font-family: var(--sans); font-size: 0.95rem; font-weight: 600; letter-spacing: 0; }
p { margin: 0; }
p + p { margin-top: 1em; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--navy); text-underline-offset: 3px; }
strong { color: var(--ink); font-weight: 600; }
::selection { background: #f0e3c4; color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
/* On the dark bands the lighter gold keeps the focus ring visible */
.hero :focus-visible, .page-hero :focus-visible, .creds :focus-visible, .cat-banner :focus-visible, .cat-special :focus-visible,
.co-area :focus-visible, .contact-types :focus-visible, .notfound :focus-visible, .legal__brief :focus-visible, .vi-feature :focus-visible { outline-color: var(--gold-light); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 10px 16px; background: var(--navy); color: var(--white);
  border-radius: var(--radius); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* 3 Layout ------------------------------------------------------------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--mist { background: var(--mist); }
.section--tight { padding: calc(var(--section) * 0.7) 0; }
.lead { font-size: clamp(1.06rem, 1rem + 0.3vw, 1.2rem); line-height: 1.6; color: var(--ink-2); }
.measure { max-width: 62ch; }

/* 4 Buttons and links -------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border: 1px solid transparent; border-radius: var(--radius);
  font: 500 1rem/1 var(--sans); letter-spacing: 0; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-700); }
.btn--outline { background: var(--white); border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--mist); }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, 0.85); color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn--sm { min-height: 46px; padding: 0 23px; font-size: 0.94rem; font-weight: 600; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.arrow-link {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--navy); font-size: 0.94rem; font-weight: 600; text-decoration: none;
}
.arrow-link::after {
  content: ""; width: 14px; height: 10px; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12M8.5 1 12.5 5 8.5 9' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12M8.5 1 12.5 5 8.5 9' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .18s ease;
}
.arrow-link:hover { text-decoration: underline; }
.arrow-link:hover::after { transform: translateX(3px); }
.arrow-link--light { color: var(--white); }

/* 5 Header ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(1.4) blur(8px); backdrop-filter: saturate(1.4) blur(8px);
}
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); flex: none; }
.brand__mark { width: 58px; height: auto; }
.brand__words { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 1.55rem; letter-spacing: 0.04em; color: var(--ink); }
.brand__sub { margin-top: 7px; font-family: var(--serif); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.3em; color: var(--ink-2); }
.site-nav__list { display: flex; align-items: center; gap: 34px; list-style: none; }
.site-nav__list a {
  position: relative; color: var(--ink); font-size: 1rem; font-weight: 500; text-decoration: none; padding: 6px 0;
}
.site-nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.site-nav__list a:hover::after, .site-nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.site-header .btn[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold-light); }
.site-nav__contact { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle {
  display: none; width: 46px; height: 46px; padding: 0; align-items: center; justify-content: center;
  background: var(--white); border: 1px solid var(--line-strong); border-radius: 10px; color: var(--ink); cursor: pointer;
}
.menu-toggle__bars { display: grid; gap: 4px; width: 16px; }
.menu-toggle__bars span { display: block; height: 1.5px; background: currentColor; border-radius: 1px; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 1060px) {
  .site-nav__list { gap: 24px; }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .brand__mark { width: 46px; }
  .brand__name { font-size: 1.28rem; }
  .brand__sub { font-size: 0.62rem; margin-top: 6px; }
  .menu-toggle { display: inline-flex; }
  .site-header__actions .btn { display: none; }
  /* A backdrop-filter would make the header the containing block for the fixed menu panel. */
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--white); }
  .site-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
    background: var(--white); border-top: 1px solid var(--line);
    padding: 12px var(--gutter) 40px; overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .js .site-nav[data-open] { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
  html:not(.js) .site-header__in { flex-wrap: wrap; }
  html:not(.js) .site-nav { position: static; visibility: visible; opacity: 1; transform: none; padding: 0 0 16px; flex-basis: 100%; order: 3; }
  html:not(.js) .menu-toggle { display: none; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__list li { border-bottom: 1px solid var(--line); }
  .site-nav__list a { display: block; padding: 18px 0; font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }
  .site-nav__list a::after { display: none; }
  .site-nav__contact { display: block; margin-top: 28px; }
  .site-nav__contact .btn { width: 100%; }
  html[data-nav-open] { overflow: hidden; }
}

/* 6 Footer ------------------------------------------------------------- */
.site-footer { background: var(--mist-2); border-top: 1px solid var(--line); padding: 80px 0 36px; font-size: 0.97rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.55fr 0.85fr 1fr 1.1fr; gap: 48px; }
.site-footer .brand__mark { width: 56px; }
.site-footer .brand__name { font-size: 1.45rem; }
.site-footer .brand__sub { font-size: 0.66rem; }
.site-footer__cert { margin-top: 36px; max-width: 30ch; font-size: 0.9rem; line-height: 1.6; color: var(--body); text-wrap: balance; }
.site-footer__cert strong { display: block; color: var(--ink); }
.site-footer h2 { font-family: var(--sans); font-size: 0.95rem; font-weight: 600; letter-spacing: 0; color: var(--ink); margin: 0 0 18px; line-height: 1.4; }
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--navy); text-decoration: underline; }
.site-footer__explore a { white-space: nowrap; }
.site-footer address { font-style: normal; color: var(--body); line-height: 1.7; }
.site-footer__muted { color: var(--body); }
.site-footer .nowrap { white-space: nowrap; }
.site-footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line-strong); font-size: 0.9rem; color: var(--body);
}
.site-footer .site-footer__legal { display: flex; gap: 24px; list-style: none; }
@media (max-width: 1100px) {
  /* Brand on its own row, then the three columns spread across */
  .site-footer__grid { grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 44px 48px; }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; justify-content: stretch; }
}
@media (max-width: 600px) {
  .site-footer { padding-top: 56px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .site-footer__explore ul { display: flex; flex-wrap: wrap; gap: 10px 22px; }
}

/* 7 Home hero: dark crossfading slides --------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(660px, 88vh, 900px); display: flex; flex-direction: column; justify-content: center;
  background: #0a1526; color: #cfd8e3;
}
.hero__slides { position: absolute; inset: 0; z-index: -2; margin: 0; padding: 0; list-style: none; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
html:not(.js) .hero__slide:first-child { opacity: 1; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 16, 31, 0.88) 0%, rgba(7, 16, 31, 0.66) 38%, rgba(7, 16, 31, 0.22) 72%, rgba(7, 16, 31, 0.1) 100%),
    linear-gradient(0deg, rgba(7, 16, 31, 0.7) 0%, rgba(7, 16, 31, 0) 38%);
}
.hero__in { width: 100%; padding-top: clamp(72px, 8vw, 120px); padding-bottom: clamp(200px, 17vw, 236px); }
.hero__copy { max-width: 860px; }
.hero h1 { color: var(--white); text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25); }
.hero .lead { margin-top: 26px; max-width: 540px; color: #d5dee8; font-size: clamp(1.06rem, 0.98rem + 0.3vw, 1.2rem); }
.hero .btn-row { margin-top: 38px; gap: 16px 18px; }
.btn--gold { background: var(--gold-light); color: var(--ink); }
.btn--gold:hover { background: #e2c385; }
.hero__controls {
  position: absolute; left: 0; right: 0; bottom: calc(92px + 34px); z-index: 1;
}
.hero__controls .wrap { display: flex; justify-content: flex-end; align-items: center; gap: 22px; }
.hero__pause {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.32); border-radius: 50%;
  color: var(--white); cursor: pointer;
}
.hero__pause:hover { background: rgba(255, 255, 255, 0.14); }
.hero__pause svg { width: 12px; height: 12px; }
.hero__pause .i-play { display: none; }
.hero[data-paused] .hero__pause .i-play { display: block; }
.hero[data-paused] .hero__pause .i-pause { display: none; }
html:not(.js) .hero__controls { display: none; }
@media (max-width: 860px) {
  .hero { min-height: 0; }
  .hero__in { padding-top: 64px; padding-bottom: 128px; }
  .hero__controls { bottom: 34px; }
  .hero__controls .wrap { justify-content: flex-end; }
}
@media (max-width: 560px) {
  .hero__in { padding-top: 52px; padding-bottom: 118px; }
  .hero .btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero .btn-row .btn { padding: 0 12px; }
}

@media (max-width: 720px) {
  .hero::before { background: linear-gradient(180deg, rgba(7, 16, 31, 0.78) 0%, rgba(7, 16, 31, 0.6) 45%, rgba(7, 16, 31, 0.66) 70%, rgba(7, 16, 31, 0.86) 100%); }
}

/* 8 Pillars card (Source / Supply / Deliver) ---------------------------- */
.pillars-wrap { position: relative; z-index: 2; margin-top: -92px; }
.pillars {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
}
.pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; padding: 46px 0 48px; }
.pillar { padding: 0 48px; border-left: 1px solid var(--line); }
.pillar:first-child { border-left: 0; }
.pillar__icon { width: 34px; height: 34px; color: var(--gold); }
.pillar h2, .pillar h3 { margin-top: 36px; font-size: 2.05rem; line-height: 1.1; font-weight: 600; }
.pillar p { margin-top: 12px; font-size: 1.04rem; line-height: 1.7; color: var(--body); max-width: 300px; }
.pillars__services {
  display: flex; gap: 22px; align-items: baseline; padding: 24px 48px 26px; border-top: 1px solid var(--line);
  font-size: 0.95rem; line-height: 1.6; color: var(--body);
}
.pillars__services strong { flex: none; font-weight: 600; color: var(--ink); }
@media (max-width: 860px) {
  .pillars-wrap { margin-top: 0; }
  .pillars { border: 0; box-shadow: none; border-radius: 0; background: transparent; }
  .pillars__grid { grid-template-columns: 1fr; padding: 36px 0 0; }
  .pillar { display: grid; grid-template-columns: 38px 1fr; column-gap: 18px; padding: 22px 0 24px; border-left: 0; border-bottom: 1px solid var(--line); }
  .pillar:first-child { padding-top: 0; }
  .pillar__icon { grid-row: span 2; width: 30px; height: 30px; margin-top: 4px; }
  .pillar h2, .pillar h3 { margin-top: 0; font-size: 1.7rem; }
  .pillar p { margin-top: 6px; }
  .pillars__services { display: block; padding: 24px 0 0; border-top: 0; }
  .pillars__services strong { display: block; margin-bottom: 4px; }
}

/* 9 Section heads ------------------------------------------------------ */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-head p { margin-top: 12px; max-width: 60ch; }
.gold-rule { display: block; width: 56px; height: 3px; border-radius: 2px; background: var(--gold-light); margin-bottom: 32px; }
.eyebrow { display: block; margin-bottom: 14px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 720px) {
  .section-head { display: block; }
  .section-head .arrow-link { display: none; }
  .section-foot-link { display: inline-flex !important; margin-top: 28px; }
}
.section-foot-link { display: none !important; }

/* 11 Credentials strip ------------------------------------------------- */
.creds { background: #0b1a30; color: var(--on-navy); padding: clamp(56px, 6vw, 80px) 0; }
.creds__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.creds__title { font-family: var(--serif); font-size: clamp(1.45rem, 1.25rem + 0.7vw, 1.85rem); font-weight: 500; line-height: 1.22; color: var(--white); }
.creds__meta { display: grid; gap: 2px; margin-top: 18px; font-size: 0.92rem; color: var(--on-navy-muted); }
.creds__meta strong { color: var(--white); font-weight: 600; letter-spacing: 0.02em; }
.creds .btn { margin-top: 30px; }
.creds__label { font-size: 0.95rem; font-weight: 500; color: var(--on-navy-muted); }
/* Every item leads with its dot; the list hangs 32px left and clips that strip, so a wrapped line never starts with a dot */
.creds__regs { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 0; margin: 16px 0 0 -32px; padding-top: 18px; list-style: none; border-top: 1px solid var(--on-navy-line); clip-path: inset(0 0 0 32px); }
.creds__regs li { color: var(--white); font-size: 1rem; line-height: 1.5; white-space: nowrap; }
.creds__regs li::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 14px; vertical-align: middle; border-radius: 50%; background: var(--gold-light); }
.creds__marks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--on-navy-line); list-style: none; }
.creds__marks li { display: flex; align-items: center; justify-content: center; height: 112px; padding: 16px 20px; background: var(--white); border-radius: 10px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18); }
.creds__marks img { max-height: 76px; width: auto; max-width: 100%; }
.creds__marks img.mark--wide { max-height: 52px; }
.creds__note { margin-top: 16px; font-size: 0.82rem; line-height: 1.55; color: var(--on-navy-muted); }
@media (max-width: 900px) { .creds__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .creds__regs li { white-space: normal; }
  .creds__marks { gap: 10px; }
  .creds__marks li { height: 84px; padding: 12px; }
  .creds__marks img { max-height: 56px; }
  .creds__marks img.mark--wide { max-height: 36px; }
}

/* 12 Reveal on scroll -------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* 13 Split feature (photo + text) ------------------------------------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split__media { overflow: hidden; border-radius: 12px; aspect-ratio: 16 / 9; background: var(--mist); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body p { margin-top: 18px; max-width: 46ch; }
.split__body .btn-row { margin-top: 34px; }
.split--reverse .split__media { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

/* 14 Inner page hero --------------------------------------------------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: var(--on-navy); }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(11, 25, 46, 0.9) 0%, rgba(11, 25, 46, 0.72) 48%, rgba(11, 25, 46, 0.35) 100%);
}
.page-hero__in { padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); }
.page-hero h1 { color: var(--white); font-size: clamp(2.4rem, 1.7rem + 2.6vw, 3.8rem); max-width: 16ch; }
.page-hero .lead { margin-top: 22px; max-width: 560px; color: var(--on-navy); }
.page-hero .btn-row { margin-top: 34px; }
@media (max-width: 640px) {
  /* Text spans the full hero width on phones, so the photo needs a more even scrim */
  .page-hero::before { background: linear-gradient(90deg, rgba(11, 25, 46, 0.9) 0%, rgba(11, 25, 46, 0.8) 60%, rgba(11, 25, 46, 0.66) 100%); }
}
.crumbs { display: flex; gap: 10px; list-style: none; margin-bottom: 26px; font-size: 0.88rem; color: var(--on-navy-muted); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: 0.6; }

/* 15 Content blocks ---------------------------------------------------- */
.prose { max-width: 70ch; }
.prose h2 { margin: 56px 0 18px; font-size: clamp(1.6rem, 1.4rem + 0.8vw, 2.1rem); }
.prose h3 { margin: 36px 0 12px; font-size: 1.3rem; }
.prose p, .prose li { color: var(--body); }
.prose ul, .prose ol { margin: 14px 0 0 1.2em; display: grid; gap: 8px; }
.prose > :first-child { margin-top: 0; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.aside-layout { display: grid; grid-template-columns: 0.95fr 2fr; gap: 48px; align-items: start; }
/* Side heading stays in view while its content scrolls (wide screens only) */
@media (min-width: 961px) {
  .aside-layout > :first-child { position: sticky; top: var(--sticky-top); }
}
@media (max-width: 960px) {
  .aside-layout { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .cols-2, .cols-3 { grid-template-columns: 1fr; }
}
.card {
  padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: 12px;
}
.card h3 { font-size: 1.35rem; }
.card p { margin-top: 10px; }
.card--mist { background: var(--mist); border-color: transparent; }
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.55em; width: 14px; height: 8px;
  border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg);
}

.jump-nav { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--line); }
.jump-nav ul { display: flex; gap: 26px; list-style: none; overflow-x: auto; scrollbar-width: none; padding: 13px 0; }
.jump-nav ul::-webkit-scrollbar { display: none; }
/* 24px tall targets at the same bar height */
.jump-nav a { display: inline-block; padding: 3px 0; white-space: nowrap; font-size: 0.92rem; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.jump-nav a:hover { color: var(--navy); text-decoration: underline; }
/* Scrollspy (site.js) marks the section in view */
.jump-nav a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold-light); text-decoration-thickness: 1.5px; text-underline-offset: 7px; }
@media (max-width: 600px) {
  /* The bar scrolls sideways: fade the right edge, and leave room so the last link clears the fade */
  .jump-nav ul { gap: 22px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
  .jump-nav ul::after { content: ""; flex: 0 0 20px; }
}

/* 16 Definition rows and tables --------------------------------------- */
.rows { list-style: none; border-bottom: 1px solid var(--line); }
.rows > li, .rows > div { display: grid; grid-template-columns: minmax(160px, 0.8fr) 2fr; gap: 24px; padding: 18px 0; border-top: 1px solid var(--line); }
.rows dt, .rows .rows__k { font-weight: 600; color: var(--ink); }
.rows dd { margin: 0; }
@media (max-width: 600px) { .rows > li, .rows > div { grid-template-columns: 1fr; gap: 4px; } }
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
table.data th, table.data td { padding: 15px 16px 15px 0; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
table.data thead th { border-top: 0; padding-top: 0; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
table.data tbody th { color: var(--ink); font-weight: 600; }
table.data tbody tr:last-child > * { border-bottom: 1px solid var(--line); }
.doc-list { list-style: none; display: grid; gap: 14px; }
.doc {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--white);
}
.doc__name { font-weight: 600; color: var(--ink); }
.doc__meta { font-size: 0.88rem; color: var(--muted); }

/* 17 Forms ------------------------------------------------------------- */
.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.92rem; font-weight: 600; color: var(--ink); }
.field .hint { font-size: 0.85rem; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 400 1rem/1.5 var(--sans); color: var(--ink);
  background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(15, 35, 64, 0.12); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.form__status { padding: 14px 16px; border-radius: var(--radius); font-size: 0.95rem; }
.form__status[data-state="ok"] { background: #edf7ef; color: #1d5b2c; }
.form__status[data-state="error"] { background: #fbeeee; color: #8a1f17; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* 18 Utilities --------------------------------------------------------- */
.mt-0 { margin-top: 0 !important; }
.mt-s { margin-top: 16px; }
.mt-m { margin-top: 32px; }
.mt-l { margin-top: 56px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* 19 Motion and print -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; transition-delay: 0s !important; animation-duration: 0.01ms !important; animation-delay: 0s !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .jump-nav, .menu-toggle, .skip-link { display: none !important; }
  body { color: #000; font-size: 11pt; }
  /* Reveal never fires on paper */
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero, .page-hero, .band { background: none !important; color: #000 !important; }
  .hero__media, .page-hero__media, .page-hero::before { display: none; }
  .band h2, .band h3, .page-hero h1 { color: #000 !important; }
  .page-hero .lead, .crumbs { color: #333 !important; }
}
.pillar p a { color: inherit; text-decoration: underline; text-decoration-color: var(--gold-light); text-underline-offset: 3px; }
.pillar p a:hover { color: var(--navy); }

/* Phone: inline dotted lists become clean two-column lists */
@media (max-width: 560px) {
  .creds__regs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
  .creds__regs { margin-left: 0; clip-path: none; }
  .creds__regs li { white-space: normal; line-height: 1.35; }
  .creds__regs li::before { display: none; }
  .creds__regs li:last-child { grid-column: 1 / -1; }
}

/* 20 Unbroken names (finish pass, 10/22) --------------------------------
   Keeps a short name or term on one line; use on a <span> in running text.
   Names in prose use &nbsp; instead (New&nbsp;York, Richmond&nbsp;Hill). */
.nowrap { white-space: nowrap; }

/* 30 Company page (/company) ------------------------------------------- */
.co-hero .page-hero__media img { object-position: 72% 62%; }
.co-hero h1 { max-width: 13.5em; }
.co-hero .lead { max-width: 600px; }

/* Service area: navy band, the region drawn as an atlas plate from Census county lines */
.co-area {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(64px, 7vw, 96px) 0;
  background: #0b1a30; color: var(--on-navy);
}
.co-area::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 140% at 100% 0%, rgba(212, 178, 111, 0.08) 0%, rgba(212, 178, 111, 0) 55%);
}
/* DOM order h2, map, note (logical on a phone); on desktop the note sits under the h2 */
.co-area__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr); grid-template-rows: auto 1fr;
  column-gap: clamp(36px, 5vw, 80px); row-gap: 0; align-items: start;
}
.co-area h2 { grid-column: 1; grid-row: 1; color: var(--white); }
.co-area__note { grid-column: 1; grid-row: 2; margin-top: 22px; max-width: 30ch; padding-left: 16px; border-left: 2px solid var(--gold-light); font-size: 0.97rem; line-height: 1.6; color: var(--on-navy); }

/* The plate. Geometry: scratchpad map tools (EPSG:2263, cb_2024_us_county_500k); label and office
   positions are percentages of the same viewBox. Strokes stay hairline at any width. */
.co-map { grid-column: 2; grid-row: 1 / span 2; margin: 0; padding: 6px; border: 1px solid var(--on-navy-line); }
.co-map__plate { position: relative; container-type: inline-size; border: 1px solid rgba(255, 255, 255, 0.08); }
.co-map__svg { display: block; width: 100%; height: auto; }
.co-map__svg path { vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.co-map__grid { fill: none; stroke: rgba(255, 255, 255, 0.06); stroke-width: 0.5px; }
.co-map__ctx-land { fill: rgba(255, 255, 255, 0.03); }
.co-map__ctx-line { fill: none; stroke: rgba(255, 255, 255, 0.26); stroke-width: 0.6px; stroke-dasharray: 1 3; }
.co-map__county { fill: rgba(255, 255, 255, 0.075); }
.co-map__inner { fill: none; stroke: rgba(255, 255, 255, 0.2); stroke-width: 0.5px; }
.co-map__edge { fill: none; stroke: rgba(255, 255, 255, 0.5); stroke-width: 0.75px; }
.co-map__office, .co-map__label { position: absolute; transform: translate(-50%, -50%); pointer-events: none; }
.co-map__office { left: 20.52%; top: 70.77%; width: 14px; height: 14px; border: 1px solid rgba(212, 178, 111, 0.75); border-radius: 50%; }
.co-map__office::after { content: ""; position: absolute; inset: 0; margin: auto; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-light); }
.co-map__label { font-size: 0.72rem; font-size: clamp(0.625rem, 1.44cqi, 0.72rem); font-weight: 500; line-height: 1; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; color: var(--on-navy); }
.co-map__label--nyc { left: 9.42%; top: 91.01%; transform: translate(0, -50%); }
.co-map__label--li { left: 58.48%; top: 56.04%; }
.co-map__label--wc { left: 23.7%; top: 20.54%; }
/* Narrow plates: Westchester is too slim for its name, so the label sits just above the county;
   Long Island moves left and down onto open land, clear of the North Fork shore */
@container (max-width: 560px) {
  .co-map__label { letter-spacing: 0.12em; }
  .co-map__plate .co-map__label--wc { left: 23.68%; top: 4.77%; }
  .co-map__plate .co-map__label--li { left: 51%; top: 59%; }
  .co-map__office { width: 10px; height: 10px; }
  .co-map__office::after { width: 4px; height: 4px; }
}

@media (max-width: 960px) {
  .co-area__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .co-area h2, .co-map, .co-area__note { grid-column: 1; grid-row: auto; }
  .co-map { margin-top: 32px; }
  .co-area__note { margin-top: 28px; }
}

@media print {
  .co-area { background: none; color: #000; padding: 24pt 0; }
  .co-area::before { display: none; }
  .co-area h2, .co-area__note, .co-map__label { color: #000; }
  .co-map { border-color: #000; }
  .co-map__plate { border-color: #bbb; }
  .co-map__grid { stroke: #e2e2e2; }
  .co-map__ctx-land { fill: none; }
  .co-map__ctx-line { stroke: #888; }
  .co-map__county { fill: #f0f0f0; }
  .co-map__inner { stroke: #999; }
  .co-map__edge { stroke: #000; }
  .co-map__office { border-color: var(--gold); }
  .co-map__office::after { background: var(--gold); }
}

/* 40 Vendor information (/vendor-information) ----------------------------
   Page-only classes, all prefixed vi-. Builds on .rows, table.data, .jump-nav,
   .creds, .page-hero and the button set from 00-base.css. */

/* Hero */
.vi-ico { width: 16px; height: 16px; flex: none; }
.vi-hero .lead { max-width: 520px; }

/* Side heading + body: the base .aside-layout (sticky heading column), with page proportions */
@media (min-width: 961px) {
  .vi-aside { grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr); gap: clamp(40px, 6vw, 96px); }
}
@media (max-width: 960px) {
  .vi-aside { gap: 28px; }
}
.vi-aside__head { text-wrap: balance; }
.vi-label {
  margin: 0 0 6px; font-family: var(--sans); font-size: 0.95rem; font-weight: 600; line-height: 1.4; color: var(--ink);
}
.vi-rows + .vi-label { margin-top: 56px; }

/* Key/value rows */
.vi-rows > div { grid-template-columns: minmax(150px, 0.72fr) 2fr; padding: 17px 0; }
.vi-rows dt { font-size: 0.97rem; }
.vi-rows dd { color: var(--ink-2); overflow-wrap: anywhere; }
.vi-rows dd a { color: var(--navy); text-decoration-color: var(--line-strong); }
.vi-rows dd a:hover { text-decoration-color: currentColor; }
.vi-code {
  color: var(--ink); font-weight: 600; letter-spacing: 0.06em; font-variant-numeric: tabular-nums lining-nums;
  -webkit-user-select: all; user-select: all;
}

/* Certification band: the home .creds strip, heading and certifying agency only */
.vi-cert .creds__grid { grid-template-columns: 1fr; }
.vi-cert .creds__title { max-width: 30ch; }
.vi-nowrap { white-space: nowrap; }

/* Registrations table */
.vi-regs th[scope="row"] { width: 50%; }
.vi-regs td { color: var(--ink-2); }
.vi-regs .vi-status { color: var(--ink); font-weight: 500; white-space: nowrap; }
.vi-regs .vi-status::before {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px; vertical-align: 0.14em;
  border-radius: 50%; background: var(--gold-light);
}
.vi-note { margin-top: 20px; font-size: 0.86rem; line-height: 1.6; color: var(--muted); }
.vi-note a { color: inherit; white-space: nowrap; }

/* Vendor documents: side heading like the other sections; the capability statement is the hero download */
.vi-docs-section { position: relative; }
.vi-anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }
.vi-request { display: flex; flex-direction: column; align-items: flex-start; }
.vi-doclist { list-style: none; align-self: stretch; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; margin: 14px 0 32px; border-bottom: 1px solid var(--line); }
.vi-doclist li { display: grid; align-content: start; gap: 2px; padding: 17px 0 19px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.vi-docs-note { margin-top: 28px; max-width: 70ch; }

/* Vendor and bidders lists */
.vi-lists p { max-width: 56ch; color: var(--body); }
.vi-lists .arrow-link { margin-top: 26px; }

/* Phone */
@media (max-width: 600px) {
  .vi-hero .btn-row { display: grid; gap: 12px; }
  .vi-hero .btn { width: 100%; white-space: normal; text-align: center; padding: 14px 18px; line-height: 1.3; }

  .vi-rows > div { grid-template-columns: 1fr; gap: 3px; padding: 15px 0; }
  .vi-rows dt { font-size: 0.86rem; font-weight: 600; color: var(--muted); }

  table.data.vi-regs thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  table.data.vi-regs, table.data.vi-regs tbody { display: block; }
  table.data.vi-regs tbody tr { display: grid; grid-template-columns: 1fr auto; align-items: baseline; column-gap: 16px; padding: 15px 0; border-top: 1px solid var(--line); }
  table.data.vi-regs tbody tr:last-child { border-bottom: 1px solid var(--line); }
  table.data.vi-regs tbody th, table.data.vi-regs tbody td, table.data.vi-regs tbody tr:last-child > * { padding: 0; border: 0; }
  table.data.vi-regs th[scope="row"] { grid-column: 1 / -1; width: auto; }
  table.data.vi-regs td { margin-top: 4px; font-size: 0.92rem; text-wrap: balance; }
  table.data.vi-regs td:not(.vi-status) { color: var(--muted); }

  .vi-doclist { grid-template-columns: 1fr; }
  .vi-request .btn { align-self: stretch; }
}

/* Print: a two-page letterhead sheet for the vendor file. site.css is one file, so every
   rule is scoped to this page by :has(.vi-hero); the base print rules stay as they are.
   The root size sets 1rem = 9.5pt, so the page's rem-based type scales down together. */
@media print {
  html:has(.vi-hero) { font-size: 9.5pt; }
  body:has(.vi-hero) { page: vendor-sheet; font-size: 1rem; line-height: 1.45; color: #000; }
  body:has(.vi-hero) .wrap { max-width: none; padding: 0; }

  /* Letterhead: the mark and wordmark only */
  body:has(.vi-hero) .site-header {
    display: block !important; position: static; background: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    border-bottom: 0.75pt solid #000;
  }
  body:has(.vi-hero) .site-header__in { min-height: 0; padding-bottom: 8pt; }
  body:has(.vi-hero) .site-nav,
  body:has(.vi-hero) .site-header__actions,
  body:has(.vi-hero) .menu-toggle { display: none !important; }
  body:has(.vi-hero) .brand__mark { width: 34pt; }
  body:has(.vi-hero) .brand__name { font-size: 15pt; color: #000; }
  body:has(.vi-hero) .brand__sub { font-size: 6.5pt; margin-top: 4pt; color: #000; }

  /* Screen-only parts */
  body:has(.vi-hero) .crumbs,
  body:has(.vi-hero) .btn,
  body:has(.vi-hero) .arrow-link,
  body:has(.vi-hero) .jump-nav,
  body:has(.vi-hero) .vi-hero .btn-row,
  body:has(.vi-hero) .page-hero__media,
  body:has(.vi-hero) .vi-verify { display: none !important; }

  /* Title */
  body:has(.vi-hero) .page-hero__in { padding: 12pt 0 4pt; }
  body:has(.vi-hero) .page-hero h1 { font-size: 20pt; max-width: none; color: #000 !important; }
  body:has(.vi-hero) .page-hero .lead { margin-top: 3pt; font-size: 10pt; color: #333 !important; }

  /* Sections: one column, tight */
  body:has(.vi-hero) .section { padding: 14pt 0 0; }
  body:has(.vi-hero) .section--mist { background: none; }
  body:has(.vi-hero) .aside-layout { grid-template-columns: 1fr; gap: 5pt; }
  body:has(.vi-hero) .aside-layout > :first-child { position: static; }
  body:has(.vi-hero) h2 { font-size: 14pt; color: #000; }
  body:has(.vi-hero) .vi-label { margin: 0 0 2pt; font-size: 1rem; color: #000; }
  body:has(.vi-hero) .vi-rows + .vi-label { margin-top: 10pt; }
  body:has(.vi-hero) .rows,
  body:has(.vi-hero) .rows > div,
  body:has(.vi-hero) table.data th,
  body:has(.vi-hero) table.data td,
  body:has(.vi-hero) .vi-doclist,
  body:has(.vi-hero) .vi-doclist li { border-color: #bbb; }
  body:has(.vi-hero) .vi-rows > div { grid-template-columns: 1.6in 1fr; gap: 12pt; padding: 3.5pt 0; }
  body:has(.vi-hero) .vi-rows dt { font-size: 1rem; color: #000; }
  body:has(.vi-hero) .vi-rows dd, body:has(.vi-hero) .vi-code, body:has(.vi-hero) .vi-rows dd a { color: #000; }
  body:has(.vi-hero) main a { color: #000; text-decoration: none; }

  /* Certification: ruled, black, legible with background graphics off or on */
  body:has(.vi-hero) .vi-cert {
    margin-top: 12pt; padding: 7pt 0; background: none;
    border-top: 0.75pt solid #000; border-bottom: 0.75pt solid #000;
  }
  body:has(.vi-hero) .vi-cert .creds__title { max-width: none; font-size: 12pt; color: #000; }
  body:has(.vi-hero) .vi-cert .creds__meta { margin-top: 2pt; font-size: 1rem; color: #000; }

  /* Registrations and documents */
  body:has(.vi-hero) table.data { font-size: 1rem; }
  body:has(.vi-hero) table.data th, body:has(.vi-hero) table.data td { padding: 3.5pt 10pt 3.5pt 0; }
  body:has(.vi-hero) table.data thead th { padding-top: 0; font-size: 7.5pt; color: #333; }
  body:has(.vi-hero) .vi-regs td, body:has(.vi-hero) .vi-regs .vi-status, body:has(.vi-hero) table.data tbody th { color: #000; }
  body:has(.vi-hero) .vi-regs .vi-status::before { display: none; }
  body:has(.vi-hero) thead { display: table-header-group; }
  body:has(.vi-hero) .vi-note { margin-top: 5pt; font-size: 8.5pt; color: #333; }
  body:has(.vi-hero) .vi-doclist { margin: 2pt 0 0; }
  body:has(.vi-hero) .vi-doclist li { padding: 3.5pt 0; color: #000; }
  body:has(.vi-hero) .vi-docs-note { margin-top: 6pt; max-width: none; }
  body:has(.vi-hero) .vi-lists p { max-width: none; color: #000; }

  /* Breaks: no heading left alone at the foot of a page, no row split across pages */
  body:has(.vi-hero) h2,
  body:has(.vi-hero) .vi-aside__head,
  body:has(.vi-hero) .vi-label { break-after: avoid; page-break-after: avoid; }
  body:has(.vi-hero) .vi-rows > div,
  body:has(.vi-hero) tr,
  body:has(.vi-hero) .vi-doclist li,
  body:has(.vi-hero) .vi-cert,
  body:has(.vi-hero) .vi-regs { break-inside: avoid; page-break-inside: avoid; }
  body:has(.vi-hero) .vi-docs-note { break-before: avoid; page-break-before: avoid; }
}
@page vendor-sheet {
  size: letter;
  margin: 0.55in 0.6in 0.7in;
  @bottom-left { content: "newyorkempiretrades.com/vendor-information"; font: 7.5pt "Inter", system-ui, sans-serif; color: #555; }
  @bottom-right { content: "Page " counter(page) " of " counter(pages); font: 7.5pt "Inter", system-ui, sans-serif; color: #555; }
}

/* 50 Contact page (/contact) -------------------------------------------
   Short photo hero, a direct contact card that overlaps it (same family as
   the home pillars card), and a dark band with one list of request type links. */

/* Hero: shorter than the default inner hero, with room for the card overlap.
   The photo (eyebars and pins in a bridge cable anchorage) is graded warm and dark
   in the file itself, so no CSS filter; the pins and rivets sit in the right half,
   and the plain anchorage wall sits under the heading. */
.contact-hero .page-hero__media img { object-position: 50% 45%; }
.contact-hero .crumbs { color: var(--on-navy); }
.contact-hero::before {
  background:
    linear-gradient(180deg, rgba(11, 25, 46, 0.35) 0%, rgba(11, 25, 46, 0) 30%),
    linear-gradient(90deg, rgba(11, 25, 46, 0.9) 0%, rgba(11, 25, 46, 0.74) 34%, rgba(11, 25, 46, 0.3) 60%, rgba(11, 25, 46, 0.12) 100%);
}
.contact-hero .page-hero__in {
  padding-top: clamp(56px, 6.5vw, 96px);
  padding-bottom: calc(clamp(56px, 6.5vw, 96px) + 84px);
}
.contact-hero h1 { max-width: 15ch; }
.contact-hero .lead { max-width: 520px; }

/* Direct contact card */
.contact-direct { position: relative; z-index: 2; margin-top: -84px; padding-bottom: var(--section); }
.contact-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
}
.contact-card__grid { display: grid; grid-template-columns: 1fr 1.18fr 1fr; list-style: none; padding: 46px 0 44px; }
.contact-card__item { min-width: 0; padding: 0 44px; border-left: 1px solid var(--line); }
.contact-card__item:first-child { border-left: 0; }
.contact-card__icon { width: 32px; height: 32px; color: var(--gold); }
.contact-card h3 { margin-top: 30px; font-size: 1.85rem; line-height: 1.1; }
.contact-card__value { margin-top: 14px; font-size: 1.1rem; font-weight: 600; line-height: 1.5; color: var(--ink); }
.contact-card__value a { color: var(--ink); text-decoration: none; background: linear-gradient(var(--gold-light), var(--gold-light)) 0 100% / 0 1.5px no-repeat; transition: background-size .25s ease; }
.contact-card__value a:hover, .contact-card__value a:focus-visible { background-size: 100% 1.5px; }
.contact-card__address { font-style: normal; font-weight: 500; color: var(--ink-2); }
.contact-card__note { margin-top: 8px; font-size: 0.95rem; line-height: 1.6; color: var(--body); max-width: 30ch; }
.contact-card__note span { white-space: nowrap; }

/* Request types: dark band, heading left and one quiet list of mailto rows right */
.contact-types { background: #0b1a30; color: var(--on-navy); padding: var(--section) 0; }
.contact-types__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-types__title { color: var(--white); text-wrap: balance; }
.contact-reqs { list-style: none; border-bottom: 1px solid var(--on-navy-line); }
.contact-reqs li { border-top: 1px solid var(--on-navy-line); }
.contact-req {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 4px; color: var(--white); text-decoration: none;
  font-family: var(--serif); font-size: clamp(1.25rem, 1.1rem + 0.45vw, 1.5rem); font-weight: 500; line-height: 1.25;
}
.contact-req::after {
  content: ""; width: 16px; height: 11px; flex: none; background: var(--gold-light);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12M8.5 1 12.5 5 8.5 9' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12M8.5 1 12.5 5 8.5 9' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .2s ease;
}
.contact-req:hover { color: var(--gold-light); }
.contact-req:hover::after, .contact-req:focus-visible::after { transform: translateX(4px); }
.contact-req:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }

.contact-security {
  max-width: 80ch; margin-top: 28px;
  font-size: 0.9rem; line-height: 1.6; color: var(--on-navy-muted);
}

@media (max-width: 1240px) {
  .contact-card__grid { grid-template-columns: 0.92fr 1.3fr 1fr; }
  .contact-card__item { padding: 0 36px; }
}
@media (max-width: 960px) {
  .contact-types__grid { grid-template-columns: 1fr; gap: 28px; }
}
/* Tablet: the card becomes three labelled rows */
@media (max-width: 1080px) and (min-width: 601px) {
  .contact-card__grid { grid-template-columns: 1fr; padding: 6px 0; }
  .contact-card__item {
    display: grid; grid-template-columns: 26px 190px 1fr; column-gap: 20px; align-items: start;
    padding: 26px 36px; border-left: 0; border-top: 1px solid var(--line);
  }
  .contact-card__item:first-child { border-top: 0; }
  .contact-card__icon { grid-column: 1; grid-row: 1 / span 2; width: 26px; height: 26px; margin-top: 1px; }
  .contact-card h3 { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; font-size: 1.6rem; }
  .contact-card__value { grid-column: 3; grid-row: 1; margin-top: 0; }
  .contact-card__note { grid-column: 3; grid-row: 2; margin-top: 4px; }
}
@media (max-width: 860px) {
  .contact-hero .page-hero__in { padding-top: 48px; padding-bottom: calc(48px + 56px); }
  .contact-hero::before {
    background:
      linear-gradient(180deg, rgba(11, 25, 46, 0.3) 0%, rgba(11, 25, 46, 0) 35%),
      linear-gradient(90deg, rgba(11, 25, 46, 0.88) 0%, rgba(11, 25, 46, 0.7) 50%, rgba(11, 25, 46, 0.42) 100%);
  }
  .contact-direct { margin-top: -56px; }
}
/* Phone: stacked, icon beside each heading */
@media (max-width: 600px) {
  .contact-hero .page-hero__media img { object-position: 70% 45%; }
  .contact-card__grid { grid-template-columns: 1fr; padding: 6px 0; }
  .contact-card__item {
    display: grid; grid-template-columns: 26px 1fr; column-gap: 14px; align-items: center;
    padding: 22px 22px 24px; border-left: 0; border-top: 1px solid var(--line);
  }
  .contact-card__item:first-child { border-top: 0; }
  .contact-card__item > :not(.contact-card__icon):not(h3) { grid-column: 1 / -1; }
  .contact-card__icon { width: 24px; height: 24px; }
  .contact-card h3 { margin-top: 0; font-size: 1.45rem; }
  .contact-card__value { margin-top: 10px; font-size: 1.04rem; }
  .contact-card__note { margin-top: 4px; }
  .contact-req { padding: 19px 2px; }
}

/* Print: the dark request band prints as plain text (base print rules show reveal content) */
@media print {
  .contact-types__title { break-after: avoid; page-break-after: avoid; }
  .contact-types { background: none; color: #000; padding: 24pt 0 0; }
  .contact-types__title, .contact-req { color: #000; }
  .contact-reqs, .contact-reqs li { border-color: #bbb; }
  .contact-req::after { display: none; }
  .contact-security { color: #222; }
  .contact-card { box-shadow: none; }
}

/* 60 Legal pages (terms, privacy) and the not found page ---------------- */

/* Hero: the navy band of the not found page, with no photo. Same dark opening as every other page. */
.legal-hero {
  background:
    radial-gradient(1000px 600px at 86% 8%, rgba(58, 92, 140, 0.32), rgba(58, 92, 140, 0) 70%),
    linear-gradient(160deg, #0f2340 0%, #0b1a30 55%, #08152a 100%);
}
.legal-hero::before { display: none; }
.legal-hero h1 { max-width: 18ch; }
.legal-hero .lead { max-width: 600px; color: #d5dee8; }
.legal-hero__meta {
  margin-top: 34px; padding: 2px 0 2px 16px; border-left: 2px solid var(--gold-light);
  font-size: 0.92rem; font-weight: 600; line-height: 1.55; letter-spacing: 0.01em; color: var(--on-navy);
}

/* Document layout: contents rail + text column */
.legal__layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(48px, 7vw, 112px); align-items: start; }
.legal__toc {
  position: sticky; top: calc(var(--header-h) + 40px);
  max-height: calc(100vh - var(--header-h) - 80px); overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
}
.legal__toc::-webkit-scrollbar { width: 4px; }
.legal__toc::-webkit-scrollbar-thumb { border-radius: 2px; background: var(--line-strong); }
.legal__toc-title { margin-bottom: 16px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.legal__toc ul { list-style: none; border-left: 1px solid var(--line); }
.legal__toc a {
  display: block; margin-left: -1px; padding: 4px 0 4px 18px; border-left: 1px solid transparent;
  font-size: 0.9rem; line-height: 1.45; color: var(--ink-2); text-decoration: none;
  transition: color .18s ease, border-color .18s ease;
}
.legal__toc a:hover { color: var(--navy); border-left-color: var(--gold); }

.legal__doc { max-width: 68ch; }
.legal__doc > section { margin-top: 44px; padding-top: 44px; border-top: 1px solid var(--line); }
.legal__doc > section:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal__doc h2 { margin: 0 0 16px; font-size: clamp(1.45rem, 1.3rem + 0.5vw, 1.8rem); }
.legal__doc ul { list-style: none; margin: 16px 0 0; gap: 10px; }
.legal__doc ul + p { margin-top: 18px; }
.legal__doc li { position: relative; padding-left: 22px; }
.legal__doc li::before {
  content: ""; position: absolute; left: 2px; top: 0.72em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold-light);
}
.legal__doc a { text-decoration-color: var(--gold-light); text-decoration-thickness: 1px; }
.legal__doc a:hover { text-decoration-color: currentColor; }
.legal__doc a[href^="mailto:"] { overflow-wrap: anywhere; }
.legal__doc a[href^="tel:"] { white-space: nowrap; }
.legal__defs { margin-top: 22px; border-bottom: 0; }
.legal__defs > div { grid-template-columns: minmax(130px, 0.6fr) 2fr; }
.legal__defs dd { color: var(--body); }

/* Photo credits: one row per source photograph */
.legal__doc .legal__credits { margin-top: 22px; gap: 0; border-bottom: 1px solid var(--line); }
.legal__doc .legal__credits li { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 0.92rem; line-height: 1.5; }
.legal__doc .legal__credits li::before { display: none; }
.legal__credits li > a { color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.legal__credits span { color: var(--muted); }
.legal__credits span a { color: inherit; }

/* In brief: a dark panel that echoes the home credentials strip */
.legal__brief {
  padding: clamp(28px, 3.4vw, 40px); border-radius: 12px;
  background: #0b1a30; color: var(--on-navy);
}
.legal__brief .legal__brief-label { margin-bottom: 14px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); }
.legal__brief p:not(.legal__brief-label) { font-size: 1.06rem; line-height: 1.7; color: var(--on-navy); }
.legal__brief strong { color: var(--white); }
.legal__brief + section { margin-top: 56px; padding-top: 0; border-top: 0; }

@media (max-width: 960px) {
  .legal__layout { grid-template-columns: 1fr; }
  .legal__toc { display: none; }
  .legal__doc { max-width: none; }
}
@media (max-width: 600px) {
  .legal__doc > section { margin-top: 38px; padding-top: 38px; }
  .legal__defs > div { grid-template-columns: 1fr; gap: 4px; }
  .legal__brief + section { margin-top: 44px; }
}

/* Not found page: a dark band in the voice of the home hero and credentials strip.
   On this page only, the band stretches so the footer always meets the bottom of the window. */
body:has(.notfound) { display: flex; flex-direction: column; min-height: 100vh; }
body:has(.notfound) > main { display: flex; flex-direction: column; flex: 1 0 auto; }
.notfound {
  flex: 1 0 auto; display: flex; align-items: center;
  background:
    radial-gradient(1000px 600px at 86% 8%, rgba(58, 92, 140, 0.32), rgba(58, 92, 140, 0) 70%),
    linear-gradient(160deg, #0f2340 0%, #0b1a30 55%, #08152a 100%);
  color: var(--on-navy);
}
.notfound__in { padding-top: clamp(80px, 9vw, 136px); padding-bottom: clamp(88px, 10vw, 152px); }
.notfound__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(48px, 8vw, 128px); align-items: center; }
.notfound h1 { max-width: 13ch; color: var(--white); font-size: clamp(2.4rem, 1.7rem + 2.6vw, 3.8rem); }
.notfound .lead { margin-top: 22px; color: #d5dee8; }
.notfound .btn-row { margin-top: 38px; }
.notfound__office {
  margin-top: 38px; padding: 2px 0 2px 16px; border-left: 2px solid var(--gold-light); max-width: 42ch;
  font-size: 0.92rem; line-height: 1.6; color: #b9c6d4;
}
.notfound__office a { color: var(--white); font-weight: 600; text-decoration: none; white-space: nowrap; }
.notfound__office a:hover { text-decoration: underline; text-decoration-color: var(--gold-light); }
.notfound__label { margin-bottom: 10px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); }
.notfound__links { list-style: none; border-bottom: 1px solid var(--on-navy-line); }
.notfound__links li { border-top: 1px solid var(--on-navy-line); }
.notfound__links a {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0;
  font-family: var(--serif); font-size: clamp(1.4rem, 1.2rem + 0.6vw, 1.75rem); font-weight: 500; line-height: 1.2;
  color: var(--white); text-decoration: none; transition: color .18s ease;
}
.notfound__links a::after {
  content: ""; width: 18px; height: 13px; flex: none; background: var(--gold-light);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12M8.5 1 12.5 5 8.5 9' fill='none' stroke='%23000' stroke-width='1.3'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12M8.5 1 12.5 5 8.5 9' fill='none' stroke='%23000' stroke-width='1.3'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .2s ease;
}
.notfound__links a:hover { color: var(--gold-light); }
.notfound__links a:hover::after { transform: translateX(4px); }
@media (max-width: 860px) {
  .notfound__grid { grid-template-columns: 1fr; gap: 56px; }
  .notfound__in { padding-top: 64px; padding-bottom: 72px; }
}

@media print {
  .legal__toc { display: none !important; }
  .legal__layout { display: block; }
  .legal__brief { background: none !important; color: #000 !important; padding: 0; }
  .legal__brief p, .legal__brief strong, .legal__brief-label { color: #000 !important; }
  .legal-hero { background: none !important; }
  .legal-hero h1, .legal-hero .lead, .legal-hero__meta, .legal-hero .crumbs { color: #000 !important; }
  .notfound { background: none !important; color: #000 !important; }
  .notfound h1, .notfound__links a, .notfound__office a { color: #000 !important; }
}
