/* Beram Logistics — website styles
   Brand: navy #161F48, gold #D2A047, mist #F1F2F4.
   Headlines and subheadings: EB Garamond (open-source Garamond). Body and UI: Helvetica Neue / Helvetica / Arial. */

@font-face { font-family: "EB Garamond"; src: url(../fonts/eb-garamond-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url(../fonts/eb-garamond-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url(../fonts/eb-garamond-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url(../fonts/eb-garamond-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url(../fonts/eb-garamond-latin-500-italic.woff2) format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }

:root {
  --navy: #161F48;
  --navy-90: #232d5c;
  --navy-80: #39426d;
  --navy-tint: #e8eaf1;
  --gold: #D2A047;
  --gold-light: #e9c98d;
  --gold-ink: #845f1c;      /* gold that passes contrast on white */
  --sand: #f6f0e4;
  --mist: #F1F2F4;
  --line: #dcdfe7;
  --ink: #1a1f33;
  --body: #3b4157;
  --muted: #646a80;
  --white: #fff;
  --serif: "EB Garamond", Garamond, "Apple Garamond", "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 2px;
  --section: clamp(56px, 8vw, 112px);
  --shadow: 0 10px 30px rgba(22, 31, 72, .10);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--body); background: var(--white); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--gold-ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.95rem, 3.4vw, 2.9rem); }
h3 { font-size: clamp(1.35rem, 1.8vw, 1.6rem); }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--navy); padding: 10px 16px; font-weight: 700; }
.skip:focus { top: 12px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 860px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* --------------------------------------------------------------- type helpers */
.eyebrow { font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 1rem; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.55; color: var(--body); }
.small-print { font-size: .875rem; color: var(--muted); }

/* --------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 50px; padding: 13px 26px; border: 2px solid transparent; border-radius: var(--radius); font-family: var(--sans); font-weight: 700; font-size: .98rem; letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background .2s var(--ease), color .2s, border-color .2s, transform .2s; }
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-light); color: var(--navy); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); padding-left: 14px; padding-right: 14px; }
.btn-ghost:hover { color: var(--gold-ink); }
.btn .icon { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; margin-top: 28px; }
.section-foot { margin-top: 40px; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; color: var(--navy); text-decoration: none; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon, .card:hover .link-arrow .icon { transform: translateX(4px); }
.link-arrow:hover { color: var(--navy); text-decoration: underline; }

/* dark surfaces */
.bg-navy, .hero-image, .hero-tools, .hero-plain, .cta-navy { color: #dfe3f0; }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .hero-image h1, .hero-tools h1, .hero-plain h1, .cta-navy h2 { color: #fff; }
.bg-navy .eyebrow, .hero-image .eyebrow, .hero-tools .eyebrow, .hero-plain .eyebrow { color: var(--gold); }
.bg-navy .btn-secondary, .hero-image .btn-secondary, .hero-tools .btn-secondary, .hero-plain .btn-secondary, .cta-navy .btn-secondary, .btn-secondary.on-dark { color: #fff; border-color: rgba(255,255,255,.7); }
.bg-navy .btn-secondary:hover, .hero-image .btn-secondary:hover, .hero-tools .btn-secondary:hover, .hero-plain .btn-secondary:hover, .cta-navy .btn-secondary:hover, .btn-secondary.on-dark:hover { background: #fff; color: var(--navy); border-color: #fff; }
.bg-navy a:not(.btn), .hero-image a:not(.btn), .hero-plain a:not(.btn), .cta-navy a:not(.btn) { color: #fff; }
.bg-navy .lead, .bg-navy p { color: #d3d8e8; }

/* --------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; }
.site-header.scrolled { box-shadow: 0 2px 18px rgba(22,31,72,.08); }
.utility { background: var(--navy); color: #c9cfe3; font-size: .82rem; }
.utility-inner { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 16px; }
.utility-note { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.utility-links { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.utility-links a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.utility-links a:hover { color: var(--gold); }
.utility-links .icon { width: 15px; height: 15px; }
.mainbar { border-bottom: 1px solid var(--line); }
.mainbar-inner { display: flex; align-items: center; min-height: 80px; gap: 28px; }
.brand { display: block; flex: none; }
.brand img { height: 46px; width: auto; }
.site-nav { display: flex; align-items: center; flex: 1; gap: 12px; }
.nav-list { list-style: none; display: flex; margin: 0 auto 0 8px; padding: 0; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; height: 80px; padding: 0 15px; font: 600 .98rem var(--sans); color: var(--ink); background: none; border: 0; text-decoration: none; cursor: pointer; position: relative; }
.nav-link::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: -1px; height: 3px; background: var(--gold); transform: scaleX(0); transition: transform .2s var(--ease); }
.nav-item.active > .nav-link::after, .nav-link[aria-expanded="true"]::after, .nav-link:hover::after { transform: scaleX(1); }
.nav-link:hover { color: var(--navy); }
.nav-link .chev { width: 16px; height: 16px; transition: transform .2s; }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: 6px; }
.nav-actions .btn { min-height: 44px; padding: 10px 20px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--navy); }
.nav-toggle .icon { width: 28px; height: 28px; }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 24px 40px rgba(22,31,72,.12); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s var(--ease), visibility 0s .18s; }
.nav-item.open .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s var(--ease); }
.mega-inner { display: grid; grid-template-columns: 1.1fr repeat(3, 1fr); gap: 40px; padding-top: 40px; padding-bottom: 48px; }
.mega-intro { border-right: 1px solid var(--line); padding-right: 32px; }
.mega-title { font-family: var(--serif); font-size: 2rem; color: var(--navy); margin: 0 0 .4em; line-height: 1.1; }
.mega-intro p { color: var(--muted); font-size: .95rem; }
.mega-col-title { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 14px; }
.mega-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mega-col a { display: block; padding: 8px 10px; margin: 0 -10px; text-decoration: none; color: var(--ink); border-radius: var(--radius); }
.mega-col a span { font-weight: 600; display: block; }
.mega-col a small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.4; margin-top: 2px; }
.mega-col a:hover { background: var(--mist); }
.mega-col a:hover span { color: var(--navy); text-decoration: underline; }

/* --------------------------------------------------------------- breadcrumbs */
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; padding: 0; font-size: .85rem; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: .5; }
.breadcrumbs a { color: inherit; text-decoration: none; opacity: .85; }
.breadcrumbs a:hover { text-decoration: underline; opacity: 1; }
.breadcrumbs [aria-current] { opacity: .7; }

/* --------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; }
.hero-inner { position: relative; z-index: 2; }
.hero h1 { max-width: 15ch; margin-bottom: .35em; }
.hero-sub { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.5; max-width: 40em; margin: 0; }
.hero-plain { background: var(--navy); padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); }
.hero-plain::after, .hero-image::after, .hero-tools::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: clamp(12px, 3vw, 44px); background: var(--gold); z-index: 3; }
.hero-plain h1 { max-width: 22ch; }
.hero-image, .hero-tools { background: var(--navy); min-height: clamp(480px, 66vh, 700px); display: flex; align-items: center; padding: 96px 0 80px; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,31,72,.94) 0%, rgba(22,31,72,.78) 45%, rgba(22,31,72,.35) 100%); }
.hero-tools .hero-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-tools h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); }
.hero-split { background: var(--mist); padding: clamp(48px, 6vw, 88px) 0; }
.hero-split .hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-split .breadcrumbs { color: var(--muted); }
.hero-figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.hero-figure { position: relative; margin: 0; }
.hero-figure::before { content: ""; position: absolute; left: -16px; bottom: -16px; width: 45%; height: 55%; background: var(--gold); z-index: -1; }
.hero-split .hero-figure { z-index: 1; }

/* toolbox (home) */
.toolbox { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.toolbox-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.toolbox-tabs button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 8px; background: var(--mist); border: 0; border-bottom: 3px solid transparent; font: 600 .9rem var(--sans); color: var(--muted); cursor: pointer; }
.toolbox-tabs button + button { border-left: 1px solid var(--line); }
.toolbox-tabs button[aria-selected="true"] { background: #fff; color: var(--navy); border-bottom-color: var(--gold); }
.toolbox-tabs .icon { width: 22px; height: 22px; }
.toolbox-panel { padding: 26px 26px 24px; }
.tool-form label, .track-form > label { display: block; font-weight: 700; font-size: .9rem; color: var(--navy); margin-bottom: 8px; }
.tool-row { display: flex; gap: 10px; align-items: stretch; }
.tool-row input { flex: 1; min-width: 0; }
.tool-row.end { justify-content: space-between; align-items: center; margin-top: 16px; }
.tool-row .btn { min-height: 52px; }
.tool-hint { margin: 10px 0 0; color: var(--muted); font-size: .85rem; }
.tool-row.end .tool-hint { margin: 0; }
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tool-grid > div:last-child { grid-column: 1 / -1; }
.tool-offices { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 0; }
.tool-offices li { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.tool-offices strong { color: var(--navy); }
.tool-offices span { grid-column: 1; color: var(--muted); font-size: .85rem; }
.tool-offices a { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-weight: 600; text-decoration: none; white-space: nowrap; }

/* --------------------------------------------------------------- form controls */
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=search], input[type=number], input:not([type]), select, textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; font: 1rem var(--sans); color: var(--ink); background: #fff; border: 1px solid #b9bfce; border-radius: var(--radius); transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(210,160,71,.45); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23161F48' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }

/* --------------------------------------------------------------- sections */
.section { padding: var(--section) 0; }
.section.bg-white + .section.bg-white, .section.bg-grey + .section.bg-grey { padding-top: 0; }
.bg-grey { background: var(--mist); }
.bg-sand { background: var(--sand); }
.bg-navy { background: var(--navy); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.align-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: .35em; }
.section-head .lead { margin: 0; }
.intro .section-head { margin-bottom: 0; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.head-row .section-head { margin-bottom: 0; }
.rt-title { margin-bottom: .8em; }

/* stats */
.stats { padding: clamp(40px, 5vw, 64px) 0; }
.stats-title { font-size: 1.4rem; margin-bottom: 28px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.stats-grid.n3 { grid-template-columns: repeat(3, 1fr); }
.stats-grid.n5 { grid-template-columns: repeat(5, 1fr); }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 6px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat dd { margin: 0; font-family: var(--serif); font-size: clamp(2.6rem, 4.6vw, 3.9rem); line-height: 1; color: var(--navy); font-weight: 500; }
.stat dt { margin-top: 10px; font-weight: 600; color: var(--ink); font-size: .98rem; }
.stat-note { order: -1; margin: 6px 0 0; font-size: .82rem; color: var(--muted); }
.bg-navy .stat { border-color: rgba(255,255,255,.18); }
.bg-navy .stat dd { color: var(--gold); }
.bg-navy .stat dt { color: #fff; }

/* cards */
.cards { display: grid; gap: 28px; }
.cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; display: flex; flex-direction: column; }
.card-body { display: flex; flex-direction: column; flex: 1; }
.card h3 { margin-bottom: .4em; }
.card h3 a { text-decoration: none; color: inherit; }
.card p { color: var(--body); }
.card .link-arrow { margin-top: auto; padding-top: 8px; }
.card-icon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; background: var(--navy-tint); color: var(--navy); margin-bottom: 20px; border-radius: 50%; }
.card-icon .icon { width: 26px; height: 26px; }
a.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card:has(a.stretched):hover h3 { color: var(--navy); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.cards-line .card { border-top: 2px solid var(--navy); padding-top: 26px; }
.cards-line .card:hover { border-top-color: var(--gold); }
.cards-boxed .card { background: #fff; border: 1px solid var(--line); padding: 32px 30px; transition: box-shadow .2s var(--ease), border-color .2s, transform .2s var(--ease); }
.bg-white .cards-boxed .card { background: var(--mist); border-color: transparent; }
.cards-boxed .card:has(a.stretched):hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-3px); }
.cards-image .card { background: #fff; }
.bg-white .cards-image .card { background: var(--mist); }
.card-media { aspect-ratio: 16/10; overflow: hidden; background: var(--navy-tint); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.cards-image .card-body { padding: 26px 26px 28px; }
.cards-detail .card { background: #fff; border-top: 4px solid var(--gold); padding: 30px 28px; }
.bg-white .cards-detail .card { background: var(--mist); }
.bg-navy .cards-line .card { border-top-color: var(--gold); }
.bg-navy .card p { color: #cfd4e4; }
.bg-navy .card-icon { background: rgba(255,255,255,.1); color: var(--gold); }

ul.ticks { list-style: none; margin: 0 0 1.2em; padding: 0; display: grid; gap: 8px; }
ul.ticks li { position: relative; padding-left: 28px; }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 2px solid var(--gold-ink); border-bottom: 2px solid var(--gold-ink); transform: rotate(-45deg); }
.bg-navy ul.ticks li::before { border-color: var(--gold); }
.meta-list { margin: 8px 0 18px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.meta-list div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.meta-list dt { color: var(--muted); }
.meta-list dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }

/* split */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.img-left .split-media { order: -1; }
.split-media { margin: 0; position: relative; }
.split-media img { width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.split.img-right .split-media::after { content: ""; position: absolute; right: -14px; top: -14px; width: 40%; height: 40%; border-top: 4px solid var(--gold); border-right: 4px solid var(--gold); pointer-events: none; }
.split.img-left .split-media::after { content: ""; position: absolute; left: -14px; bottom: -14px; width: 40%; height: 40%; border-bottom: 4px solid var(--gold); border-left: 4px solid var(--gold); pointer-events: none; }
.split-copy .prose { margin-bottom: 1em; }

/* prose */
.prose { color: var(--body); }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin: 1.6em 0 .5em; }
.prose h3 { font-size: clamp(1.3rem, 1.8vw, 1.55rem); margin: 1.4em 0 .4em; }
.prose h4 { font-family: var(--sans); font-size: 1.02rem; font-weight: 700; color: var(--ink); margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--gold-ink); }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 1.8em 0; padding: 4px 0 4px 26px; border-left: 4px solid var(--gold); font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.35; color: var(--navy); }
.prose blockquote p:last-child { margin: 0; }
.prose blockquote cite { display: block; margin-top: 10px; font: 600 .9rem var(--sans); font-style: normal; color: var(--muted); }
.prose figure { margin: 1.8em 0; }
.prose figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--mist); color: var(--navy); font-weight: 700; }
.prose .callout, .prose .key-takeaways { background: var(--mist); border-left: 4px solid var(--navy); padding: 22px 26px; margin: 1.8em 0; }
.prose .callout > :last-child, .prose .key-takeaways > :last-child { margin-bottom: 0; }
.prose .callout-gold { background: var(--sand); border-left-color: var(--gold); }
.prose .callout h3, .prose .key-takeaways h3 { margin-top: 0; }
.prose .checklist { list-style: none; padding: 0; }
.prose .checklist li { position: relative; padding-left: 28px; }
.prose .checklist li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 2px solid var(--gold-ink); border-bottom: 2px solid var(--gold-ink); transform: rotate(-45deg); }
.prose code { font-size: .9em; background: var(--mist); padding: 2px 5px; }
.prose pre { background: var(--mist); padding: 16px; overflow-x: auto; font-size: .9rem; line-height: 1.5; }

/* list columns */
.list-cols { display: grid; gap: 28px; }
.list-cols.cols-2 { grid-template-columns: repeat(2, 1fr); }
.list-cols.cols-3 { grid-template-columns: repeat(3, 1fr); }
.list-cols.cols-4 { grid-template-columns: repeat(4, 1fr); }
.list-col { background: #fff; padding: 32px 30px; border-top: 4px solid var(--navy); }
.bg-white .list-col { background: var(--mist); }
.list-col h3 { font-size: 1.4rem; }
.list-col ul.ticks { margin: 0; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; counter-reset: s; }
.step { position: relative; padding: 0 28px 0 0; }
.step::before { content: ""; position: absolute; top: 27px; left: 64px; right: 16px; height: 1px; background: var(--line); }
.step:last-child::before { display: none; }
.step-n { display: inline-flex; width: 54px; height: 54px; border-radius: 50%; align-items: center; justify-content: center; background: var(--navy); color: #fff; font: 500 1.35rem var(--serif); margin-bottom: 22px; position: relative; }
.step h3 { font-size: 1.4rem; }
.step p { font-size: .98rem; }
.bg-navy .step-n { background: var(--gold); color: var(--navy); }
.bg-navy .step::before { background: rgba(255,255,255,.2); }

/* tabs */
.tab-list { display: flex; gap: 0; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tab-list button { display: inline-flex; align-items: center; gap: 8px; padding: 16px 24px; border: 0; background: none; border-bottom: 3px solid transparent; margin-bottom: -1px; font: 600 1rem var(--sans); color: var(--muted); cursor: pointer; white-space: nowrap; }
.tab-list button[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--gold); }
.tab-list button:hover { color: var(--navy); }
.tab-panel { padding-top: 40px; }
.tab-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 72px); }
.tab-aside .meta-list { margin-top: 0; }
.tab-panel h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); }

/* table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.data-table { width: 100%; border-collapse: collapse; min-width: 640px; background: #fff; }
.data-table th, .data-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: .97rem; }
.data-table thead th { background: var(--navy); color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.data-table tbody th { color: var(--navy); font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }
.data-table tbody tr:nth-child(even) { background: #fafbfc; }

/* people */
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 36px 28px; }
.person-photo { aspect-ratio: 4/5; background: var(--navy-tint); overflow: hidden; margin-bottom: 18px; display: flex; align-items: center; justify-content: center; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: grayscale(.15); }
.person-initials { font: 500 3.2rem var(--serif); color: var(--navy); }
.person h3 { font-size: 1.5rem; margin-bottom: .15em; }
.person-cred { font-size: .82rem; color: var(--muted); margin: 0; letter-spacing: .02em; }
.person-role { font-weight: 700; color: var(--gold-ink); font-size: .92rem; margin: 4px 0 12px; }
.person p:last-child { font-size: .95rem; }
.people-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.people-list .person { padding: 24px 0; border-top: 1px solid var(--line); }
.people-list .person h3 { font-size: 1.35rem; }

/* offices */
.offices { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.office { background: #fff; border-top: 4px solid var(--navy); padding: 28px 26px; }
.bg-white .office { background: var(--mist); }
.office:target { border-top-color: var(--gold); box-shadow: var(--shadow); }
.office h3 { font-size: 1.7rem; margin-bottom: .5em; }
.office .eyebrow { margin-bottom: .5rem; }
.office-addr, .office-contacts li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.office-addr .icon, .office-contacts .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--gold-ink); }
.office-contacts { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.office-contacts a { text-decoration: none; font-weight: 600; }
.office-svc { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.corridor-map { margin: 0 0 40px; background: var(--navy); padding: clamp(16px, 3vw, 32px); }
.corridor-map svg { width: 100%; height: auto; max-height: 520px; display: block; }
.corridor-map figcaption { color: #9aa2c0; font-size: .8rem; margin-top: 8px; }
.cm-country { fill: #232d5c; stroke: #3b4676; stroke-width: 1.5; }
.cm-routes path { fill: none; stroke: var(--gold); stroke-width: 2; stroke-dasharray: 6 6; opacity: .8; }
.cm-node circle { fill: var(--gold); stroke: var(--navy); stroke-width: 3; }
.cm-node.hq circle { fill: #fff; stroke: var(--gold); stroke-width: 4; }
.cm-node .cm-minor { fill: #9aa2c0; stroke: none; }
.corridor-map text { fill: #fff; font: 600 15px var(--sans); }
.corridor-map .cm-sub { fill: #aab1cc; font-size: 12px; font-weight: 400; }
.cm-labels-out text { fill: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: .04em; }

/* faq */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font: 500 1.35rem/1.3 var(--serif); color: var(--navy); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { width: 22px; height: 22px; transition: transform .2s; color: var(--gold-ink); }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item .prose { padding: 0 48px 22px 0; }

/* affiliations */
.affils { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.affil { display: flex; gap: 20px; align-items: flex-start; padding: 28px; background: #fff; border: 1px solid var(--line); }
.bg-grey .affil { border-color: transparent; }
.affil-logo { width: 72px; height: 72px; object-fit: contain; }
.affil-mark { display: inline-flex; width: 56px; height: 56px; flex: none; align-items: center; justify-content: center; background: var(--navy); color: var(--gold); }
.affil-mark .icon { width: 28px; height: 28px; }
.affil h3 { font-size: 1.3rem; margin-bottom: .3em; }
.affil p { font-size: .95rem; margin: 0; }

/* posts */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 28px; }
.post-card { position: relative; display: flex; flex-direction: column; background: #fff; }
.bg-white .post-card, .section:not([class*="bg-"]) .post-card { background: #fff; }
.post-card-media { aspect-ratio: 16/10; background: var(--navy); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.04); }
.post-ph { color: var(--gold); }
.post-ph .icon { width: 48px; height: 48px; }
.post-card-body { padding: 22px 0 0; display: flex; flex-direction: column; flex: 1; }
.bg-grey .post-card-body { padding: 22px 24px 24px; }
.post-card h3 { font-size: 1.45rem; line-height: 1.2; }
.post-card h3 a { text-decoration: none; color: inherit; }
.post-card:hover h3 a { text-decoration: underline; text-decoration-thickness: 1px; }
.post-card p { font-size: .95rem; }
.post-meta { margin-top: auto; color: var(--muted); font-size: .85rem !important; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 10px; }
.featured-post { margin-bottom: 56px; }
.post-card-lg { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; background: var(--mist) !important; }
.post-card-lg .post-card-media { aspect-ratio: auto; min-height: 380px; }
.post-card-lg .post-card-body { padding: clamp(28px, 4vw, 52px); justify-content: center; }
.post-card-lg h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.post-card-lg p { font-size: 1.05rem; }
.post-card-lg .post-meta { margin-top: 12px; }

.filter-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 44px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; gap: 6px; align-items: center; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: .92rem; font-weight: 600; }
.chip span { color: var(--muted); font-weight: 400; font-size: .85em; }
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip.on span { color: var(--gold-light); }
.search { display: flex; min-width: 260px; }
.search input { min-height: 46px; border-right: 0; }
.search button { width: 50px; border: 1px solid #b9bfce; background: #fff; color: var(--navy); cursor: pointer; }
.search button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.result-note { margin: -20px 0 32px; color: var(--muted); }
.empty { padding: 40px 0; color: var(--muted); }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 56px; }
.pager a, .pager span { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.pager span { background: var(--navy); color: #fff; border-color: var(--navy); }

/* article */
.article-head { padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 44px); }
.article-head h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); max-width: 20ch; }
.article-dek { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--body); max-width: 40em; }
.byline { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.byline-photo, .byline-initials { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.byline-initials { display: inline-flex; align-items: center; justify-content: center; background: var(--navy); color: var(--gold); font: 500 1.2rem var(--serif); }
.byline p { margin: 0; }
.byline-name { font-weight: 700; color: var(--ink); }
.byline-meta { font-size: .88rem; color: var(--muted); }
.byline-date { margin-left: auto !important; display: flex; gap: 14px; color: var(--muted); font-size: .9rem; }
.article-hero { margin: 0 auto clamp(32px, 5vw, 56px); }
.article-hero img { width: 100%; max-height: 560px; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: clamp(32px, 5vw, 80px); justify-content: center; padding-bottom: var(--section); }
.article-aside { position: sticky; top: 140px; align-self: start; }
.toc-title { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.toc ol { list-style: none; margin: 0 0 32px; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; text-decoration: none; color: var(--muted); font-size: .9rem; line-height: 1.35; }
.toc a:hover, .toc a.on { color: var(--navy); border-left-color: var(--gold); }
.share ul { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.share a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; color: var(--navy); }
.share a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.share .icon { width: 18px; height: 18px; }
.article-body { font-size: 1.08rem; line-height: 1.7; }
.article-body > p:first-of-type { font-size: 1.2rem; color: var(--ink); }
.article-cta { background: var(--navy); color: #d3d8e8; padding: 36px 36px 32px; margin: 3em 0 2em; position: relative; }
.article-cta::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--gold); }
.article-cta h2 { color: #fff; margin: 0 0 .3em !important; font-size: 1.9rem; }
.article-cta .btn-row { margin-top: 18px; }
.article-cta .btn-secondary { color: #fff; border-color: rgba(255,255,255,.7); }
.article-cta .btn-secondary:hover { background: #fff; color: var(--navy); }
.author-box { border-top: 1px solid var(--line); padding-top: 24px; font-size: .98rem; }
.author-box .eyebrow { margin-bottom: .5rem; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 24px 0 0; }
.tags a { display: inline-block; padding: 5px 12px; background: var(--mist); font-size: .85rem; text-decoration: none; color: var(--body); }

/* cta */
.cta { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 112px) 0; }
.cta-navy { background: var(--navy); }
.cta-gold { background: var(--gold); color: var(--navy); }
.cta-gold h2 { color: var(--navy); }
.cta-gold .btn-primary { background: var(--navy); color: #fff; }
.cta-gold .btn-primary:hover { background: var(--navy-90); }
.cta-light { background: var(--mist); }
.cta-media { position: absolute; inset: 0; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-media::after { content: ""; position: absolute; inset: 0; background: rgba(22,31,72,.86); }
.cta-inner { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.cta-inner:not(:has(.cta-options)) { grid-template-columns: 1fr; max-width: 900px; }
.cta h2 { font-size: clamp(2.1rem, 4vw, 3.3rem); margin-bottom: .35em; }
.cta p { font-size: 1.15rem; max-width: 36em; }
.cta .btn-row { margin-top: 24px; }
.cta-options { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cta-options a, .cta-options div { display: flex; gap: 16px; align-items: center; padding: 20px 22px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: #fff; text-decoration: none; transition: background .2s; }
.cta-options a:hover { background: rgba(255,255,255,.14); }
.cta-options .icon { width: 28px; height: 28px; color: var(--gold); }
.cta-options strong { display: block; font: 500 1.3rem var(--serif); color: #fff; }
.cta-options span { font-size: .95rem; color: #cfd4e4; }
.cta-light .cta-options a, .cta-gold .cta-options a { background: #fff; border-color: transparent; color: var(--ink); }
.cta-light .cta-options strong, .cta-gold .cta-options strong { color: var(--navy); }
.cta-light .cta-options span, .cta-gold .cta-options span { color: var(--body); }
.cta-light .cta-options .icon, .cta-gold .cta-options .icon { color: var(--gold-ink); }

/* forms */
.form-layout.with-aside { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.form-aside { background: var(--mist); padding: 32px; border-top: 4px solid var(--gold); }
.bg-grey .form-aside { background: #fff; }
.form-aside h3 { font-size: 1.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 20px; }
.field { grid-column: 1 / -1; min-width: 0; }
.field.half { grid-column: span 1; }
.field > label, .field legend { display: block; font-weight: 700; font-size: .92rem; color: var(--ink); margin-bottom: 8px; }
.req { color: #a2361d; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.choice-grid .choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 20px; }
.choice-item { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; cursor: pointer; }
.choice-item input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); flex: none; }
.has-err input, .has-err select, .has-err textarea { border-color: #a2361d; }
.field-err { color: #a2361d; font-size: .88rem; margin: 6px 0 0; font-weight: 600; }
.form-errors { background: #fcefe9; border-left: 4px solid #a2361d; padding: 14px 18px; margin-bottom: 24px; color: #7c2814; font-weight: 600; }
.form-errors p { margin: 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; margin-top: 28px; }
.form-actions .small-print { margin: 0; }
.form-success { display: flex; gap: 18px; align-items: flex-start; background: #fff; border-left: 4px solid #2c7a4b; padding: 26px 28px; box-shadow: var(--shadow); }
.form-success .icon { width: 32px; height: 32px; color: #2c7a4b; }
.form-success-title { font: 500 1.6rem var(--serif); color: var(--navy); margin: 0 0 4px; }
.form-success p:last-child { margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-inline .form-grid { grid-template-columns: 1fr; }
.form-inline { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; max-width: 640px; }
.form-inline .form-grid { flex: 1 1 280px; }
.form-inline .form-actions { margin-top: 0; }
.form-inline .form-errors { flex-basis: 100%; }

/* tracking */
.track-form { max-width: 760px; margin-bottom: 36px; }
.track-result { border: 1px solid var(--line); margin-bottom: 28px; background: #fff; }
.track-result header { padding: 28px 30px; background: var(--mist); }
.track-result header h3 { font-size: 2rem; margin: 0 0 16px; }
.track-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0; }
.track-facts dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.track-facts dd { margin: 2px 0 0; font-weight: 700; color: var(--ink); }
.timeline { list-style: none; margin: 0; padding: 24px 30px 28px; }
.timeline li { position: relative; display: grid; grid-template-columns: 170px 140px 1fr; gap: 16px; padding: 12px 0 12px 26px; border-left: 2px solid var(--line); }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 18px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--navy); }
.timeline li:first-child::before { background: var(--gold); border-color: var(--gold); }
.timeline time { color: var(--muted); font-size: .9rem; }
.timeline strong { color: var(--navy); }
.track-request { background: var(--sand); padding: 28px 30px; border-left: 4px solid var(--gold); }
.track-request > p { font-size: 1.05rem; }

/* downloads */
.downloads { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.download { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.download > .icon { width: 36px; height: 36px; color: var(--gold-ink); }
.download h3 { font-size: 1.35rem; margin: 0 0 .2em; }
.download p { margin: 0; font-size: .95rem; }

/* hours */
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); }
.hours td { text-align: right; font-weight: 600; color: var(--ink); }

/* sitemap */
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 32px; }
.sitemap-grid ul { list-style: none; padding: 0; margin: 0; }
.sitemap-grid li { padding: 4px 0; }
.sitemap-grid li.top a { font: 500 1.35rem var(--serif); text-decoration: none; }
.sitemap-grid li.sub { padding-left: 14px; font-size: .95rem; }

.embed iframe { width: 100%; aspect-ratio: 16/9; border: 0; }

/* preview */
.preview-bar { position: sticky; top: 0; z-index: 60; background: var(--gold); color: var(--navy); text-align: center; padding: 8px; font-weight: 700; font-size: .9rem; }

/* --------------------------------------------------------------- footer */
.site-footer { background: var(--navy); color: #b9c0d8; font-size: .94rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; padding-top: 72px; padding-bottom: 56px; }
.footer-brand img { height: 46px; width: auto; margin-bottom: 22px; }
.footer-brand p { max-width: 30em; }
.footer-contact { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.footer-contact li { display: flex; gap: 10px; align-items: center; }
.footer-contact .icon { width: 16px; height: 16px; color: var(--gold); }
.footer-title { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: #e3e6f1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; min-height: 68px; padding-top: 14px; padding-bottom: 14px; font-size: .84rem; }
.footer-bottom-inner p { margin: 0 auto 0 0; }
.tm { color: var(--gold); margin-left: 6px; }
.legal-links, .social { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }
.social a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.social .icon { width: 17px; height: 17px; }

/* --------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .nav-link { padding: 0 10px; }
  .nav-actions .btn-ghost { display: none; }
  .mega-inner { grid-template-columns: 1fr 1fr 1fr; }
  .mega-intro { grid-column: 1 / -1; border-right: 0; padding-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
  .footer-top { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  .utility-note { display: none; }
  .utility-inner { justify-content: flex-end; }
  .nav-toggle { display: inline-flex; }
  .mainbar-inner { min-height: 68px; }
  .brand img { height: 40px; }
  .site-nav { position: fixed; inset: 106px 0 0 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 32px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s var(--ease), visibility 0s .25s; }
  .site-header.nav-open .site-nav { transform: none; visibility: visible; transition: transform .25s var(--ease); }
  .nav-list { flex-direction: column; margin: 0; }
  .nav-link { height: auto; width: 100%; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav-link::after { display: none; }
  .mega { position: static; box-shadow: none; border: 0; opacity: 1; visibility: visible; transform: none; display: none; }
  .nav-item.open .mega { display: block; }
  .mega-inner { grid-template-columns: 1fr; gap: 20px; padding: 16px 0 24px; }
  .mega-intro { display: none; }
  .nav-actions { flex-direction: column; align-items: stretch; margin-top: 24px; gap: 10px; }
  .nav-actions .btn-ghost { display: inline-flex; border: 2px solid var(--navy); }
  body.nav-locked { overflow: hidden; }
  .hero-tools .hero-inner, .hero-split .hero-inner { grid-template-columns: 1fr; }
  .cards.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .list-cols.cols-3, .list-cols.cols-4 { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; order: 2; }
  .toc { display: none; }
  .cta-inner { grid-template-columns: 1fr; }
  .form-layout.with-aside { grid-template-columns: 1fr; }
  .stats-grid, .stats-grid.n5 { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .step::before { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .utility-links { gap: 16px; font-size: .78rem; }
  .utility-links li:nth-child(2) { display: none; }
  .cards.cols-2, .cards.cols-3, .cards.cols-4, .post-grid, .list-cols.cols-2, .list-cols.cols-3, .list-cols.cols-4 { grid-template-columns: 1fr; }
  .split-grid { grid-template-columns: 1fr; }
  .split .split-media { order: -1; }
  .split-media::after { display: none; }
  .tab-grid { grid-template-columns: 1fr; }
  .people-list { grid-template-columns: 1fr; }
  .post-card-lg { grid-template-columns: 1fr; }
  .post-card-lg .post-card-media { min-height: 220px; aspect-ratio: 16/10; }
  .form-grid { grid-template-columns: 1fr; }
  .field.half { grid-column: 1 / -1; }
  .tool-row { flex-direction: column; }
  .tool-row.end { flex-direction: column-reverse; align-items: stretch; }
  .tool-grid { grid-template-columns: 1fr; }
  .toolbox-panel { padding: 20px 18px; }
  .hero-image, .hero-tools { padding: 56px 0 48px; min-height: 0; }
  .hero-media::after { background: rgba(22,31,72,.86); }
  .hero-plain::after, .hero-image::after, .hero-tools::after { width: 8px; }
  .steps { grid-template-columns: 1fr; }
  .stat { padding: 0 0 0 16px; }
  .stat:nth-child(odd) { padding-left: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-top: 56px; }
  .footer-bottom-inner p { flex-basis: 100%; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .search { min-width: 0; }
  .download { grid-template-columns: auto 1fr; }
  .download > :last-child { grid-column: 1 / -1; justify-self: start; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
  .byline-date { margin-left: 0 !important; flex-basis: 100%; }
  .faq-item .prose { padding-right: 0; }
  .article-cta { padding: 28px 24px; }
  .data-table { min-width: 560px; }
}
@media print {
  .site-header, .site-footer, .toolbox, .article-aside, .article-cta, .cta { display: none !important; }
  body { color: #000; }
}
