:root {
  --navy-950: #030a17;
  --navy-900: #07162d;
  --navy-850: #0a1d39;
  --navy-800: #0c2447;
  --navy-700: #15355f;
  --blue-500: #2f69a7;
  --blue-200: #b9d1ec;
  --gold-500: #f5bd23;
  --gold-400: #ffca39;
  --gold-300: #fbd86f;
  --cream: #f7f3e9;
  --paper: #fffdf8;
  --ink: #111a28;
  --muted: #5e6878;
  --line: rgba(15, 35, 66, 0.15);
  --white: #fff;
  --shadow-soft: 0 24px 70px rgba(2, 12, 29, 0.16);
  --shadow-deep: 0 35px 90px rgba(0, 0, 0, 0.36);
  --radius-lg: 28px;
  --radius-md: 18px;
  --shell: 1240px;
  --header-height: 88px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 9999;
  transform: translateY(-160%);
  background: var(--gold-500);
  color: var(--navy-950);
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.emergency-bar {
  position: relative;
  z-index: 60;
  background: var(--gold-500);
  color: var(--navy-950);
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.emergency-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}
.emergency-divider { width: 1px; height: 14px; background: rgba(3, 10, 23, 0.35); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  margin-bottom: calc(var(--header-height) * -1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  transition: background 220ms ease, box-shadow 220ms ease, backdrop-filter 220ms ease;
}
.site-header.scrolled {
  background: rgba(5, 17, 36, 0.94);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(16px);
}
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 13px; color: var(--white); text-decoration: none; min-width: max-content; }
.brand img { width: 45px; height: 57px; object-fit: contain; filter: drop-shadow(0 8px 13px rgba(0,0,0,.28)); }
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { font-size: 1.18rem; letter-spacing: .18em; }
.brand-copy small { font-size: .68rem; color: #b9c7da; letter-spacing: .12em; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: 25px; }
.site-nav a { position: relative; color: #d8e2ef; font-size: .79rem; font-weight: 700; letter-spacing: .085em; text-decoration: none; text-transform: uppercase; transition: color 160ms ease; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 2px; background: var(--gold-500); transform: scaleX(0); transform-origin: left; transition: transform 180ms ease; }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a.active { color: var(--white); }
.site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav a.active::after { transform: scaleX(1); }
.site-nav .nav-external { border: 1px solid rgba(255,255,255,.23); border-radius: 999px; padding: 11px 15px; }
.site-nav .nav-external::after { display: none; }
.site-nav .nav-external:hover { border-color: var(--gold-500); color: var(--gold-300); }
.menu-button { display: none; border: 0; color: var(--white); background: transparent; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 880px;
  color: var(--white);
  background:
    radial-gradient(circle at 73% 17%, rgba(45, 103, 167, .32), transparent 28%),
    linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 45%, #0c2a51 100%);
  padding: calc(var(--header-height) + 92px) 0 38px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background: linear-gradient(90deg, rgba(3,10,23,.92), rgba(3,10,23,.52) 52%, rgba(3,10,23,.7));
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .13;
  background-image: linear-gradient(rgba(255,255,255,.28) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.28) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}
.hero-glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(1px); }
.hero-glow-one { width: 430px; height: 430px; right: -170px; top: 115px; border: 1px solid rgba(245,189,35,.28); box-shadow: 0 0 120px rgba(245,189,35,.08); }
.hero-glow-two { width: 780px; height: 780px; left: -570px; bottom: -400px; border: 1px solid rgba(72,135,210,.26); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(440px, .9fr); align-items: center; gap: 78px; min-height: 650px; }
.hero-copy { padding-top: 30px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 28px; color: var(--gold-300); font-size: .77rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { display: block; width: 36px; height: 2px; background: var(--gold-500); }
.hero h1 { margin: 0; font-size: clamp(5.4rem, 8.6vw, 9.7rem); line-height: .77; letter-spacing: -.075em; text-transform: uppercase; }
.hero h1 em { color: transparent; font-style: normal; -webkit-text-stroke: 2px var(--gold-500); text-stroke: 2px var(--gold-500); }
.hero-lead { margin: 42px 0 14px; max-width: 630px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.45rem, 2.2vw, 2rem); color: #f5f7fa; }
.hero-summary { max-width: 620px; margin: 0; color: #b9c6d7; font-size: 1.06rem; line-height: 1.8; }
.hero-link { display: inline-flex; align-items: center; gap: 14px; margin-top: 34px; color: var(--white); font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.hero-link span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--navy-950); background: var(--gold-500); transition: transform 180ms ease; }
.hero-link:hover span { transform: translateY(4px); }

.hero-visual { position: relative; min-width: 0; }
.archive-card { position: relative; margin: 0; padding: 13px; border: 1px solid rgba(255,255,255,.24); border-radius: 10px; background: rgba(255,255,255,.07); box-shadow: var(--shadow-deep); transform: rotate(1.5deg); backdrop-filter: blur(8px); }
.archive-card::before { content: ""; position: absolute; inset: -12px 18px 22px -14px; z-index: -1; border: 1px solid rgba(245,189,35,.43); border-radius: 12px; }
.archive-card img { width: 100%; aspect-ratio: 1.244 / 1; object-fit: cover; border-radius: 5px; }
.archive-topline { display: flex; justify-content: space-between; padding: 1px 3px 11px; color: #d9e5f4; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.archive-topline span:last-child { color: var(--gold-300); }
.archive-card figcaption { position: absolute; right: 23px; bottom: 22px; padding: 8px 12px; color: #f8f4ea; background: rgba(3,10,23,.78); border-left: 3px solid var(--gold-500); font-size: .73rem; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(8px); }
.hero-patch { position: absolute; left: -70px; bottom: -75px; width: 180px; filter: drop-shadow(0 25px 30px rgba(0,0,0,.58)); transform: rotate(-5deg); }
.hero-foot { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 42px; border-top: 1px solid rgba(255,255,255,.16); }
.hero-foot div { padding: 28px 24px 4px; border-right: 1px solid rgba(255,255,255,.12); }
.hero-foot div:first-child { padding-left: 0; }
.hero-foot div:last-child { border-right: 0; }
.hero-foot strong { display: block; color: var(--gold-300); font-size: 1.18rem; letter-spacing: .02em; }
.hero-foot span { display: block; margin-top: 6px; color: #9fb0c6; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.section-pad { padding: 118px 0; }
.section-number { margin: 0 0 25px; color: var(--blue-500); font-size: .72rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.section-number.light { color: var(--gold-300); }
.section-heading h2, .origin h2, .partnership h2, .leadership h2, .today h2, .record-header h2 {
  margin: 0;
  font-size: clamp(2.55rem, 4.7vw, 5rem);
  line-height: .98;
  letter-spacing: -.052em;
}
.section-heading-wide { display: grid; grid-template-columns: 1fr minmax(260px, .52fr); column-gap: 90px; align-items: end; margin-bottom: 65px; }
.section-heading-wide .section-number { grid-column: 1 / -1; }
.section-heading-wide p:last-child { margin: 0; color: var(--muted); line-height: 1.7; font-size: 1rem; }
.lead-paragraph { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.35rem, 2vw, 1.72rem); line-height: 1.55 !important; color: #1b2637 !important; }

.origin { background: var(--paper); }
.origin-layout { display: grid; grid-template-columns: minmax(300px, .72fr) minmax(0, 1fr); gap: 112px; align-items: start; }
.origin .section-heading { position: sticky; top: 140px; }
.origin-copy { padding-left: 58px; border-left: 1px solid var(--line); }
.origin-copy p { margin: 0 0 24px; color: #4c5868; font-size: 1.04rem; line-height: 1.82; }
.origin-copy p:last-child { margin-bottom: 0; }
.origin-copy strong { color: var(--navy-800); }

.timeline-section { background: #edf1f5; border-block: 1px solid #dde4eb; }
.timeline { position: relative; list-style: none; padding: 0; margin: 0; }
.timeline::before { content: ""; position: absolute; left: 250px; top: 18px; bottom: 20px; width: 1px; background: linear-gradient(to bottom, var(--gold-500), #b8c5d3); }
.timeline-item { display: grid; grid-template-columns: 215px 70px 1fr; gap: 0; padding: 8px 0 50px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-date { padding-top: 4px; color: var(--navy-800); font-size: 1.05rem; font-weight: 900; letter-spacing: .06em; text-align: right; text-transform: uppercase; }
.timeline-marker { position: relative; display: flex; justify-content: center; }
.timeline-marker span { position: relative; z-index: 1; display: block; width: 15px; height: 15px; margin-top: 4px; border: 4px solid #edf1f5; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 1px var(--gold-500); }
.timeline-content { max-width: 740px; padding: 0 0 0 34px; }
.timeline-content h3 { margin: 0 0 10px; color: var(--navy-900); font-size: 1.45rem; letter-spacing: -.02em; }
.timeline-content p { margin: 0; color: var(--muted); line-height: 1.72; }

.service-record { position: relative; isolation: isolate; overflow: hidden; padding: 108px 0; color: var(--white); background: linear-gradient(128deg, #07152b 0%, #0b2549 100%); }
.service-record::after { content: "UNITS"; position: absolute; z-index: -1; right: -34px; bottom: -55px; color: rgba(255,255,255,.022); font-size: 13rem; font-weight: 950; letter-spacing: -.09em; line-height: .8; }
.service-texture { position: absolute; inset: 0; z-index: -2; opacity: .18; background-image: radial-gradient(rgba(255,255,255,.25) .8px, transparent .8px); background-size: 8px 8px; mask-image: linear-gradient(90deg, transparent, black 35%, black); }
.record-header { display: grid; grid-template-columns: minmax(0, .82fr) minmax(300px, .55fr); column-gap: 80px; align-items: end; margin-bottom: 62px; }
.record-header .section-number { grid-column: 1 / -1; }
.record-header p:last-child { margin: 0; color: #aec0d7; line-height: 1.75; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-md); overflow: hidden; }
.stat-card { min-height: 210px; padding: 35px 28px; background: rgba(255,255,255,.035); border-right: 1px solid rgba(255,255,255,.13); }
.stat-card:last-child { border-right: 0; }
.stat-card strong { display: block; color: var(--gold-400); font-size: clamp(3rem, 4.6vw, 4.8rem); line-height: 1; letter-spacing: -.07em; }
.stat-card span { display: block; max-width: 190px; margin-top: 22px; color: #d2dceb; font-size: .82rem; font-weight: 750; letter-spacing: .045em; line-height: 1.55; text-transform: uppercase; }

.unit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.unit-card { overflow: hidden; border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-md); background: rgba(255,255,255,.045); box-shadow: 0 18px 55px rgba(0,0,0,.14); }
.unit-patch-stage, .k9-stage { position: relative; min-height: 355px; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.12); }
.unit-patch-stage::before, .k9-stage::before { content: ""; position: absolute; inset: 0; opacity: .16; background-image: radial-gradient(rgba(255,255,255,.7) .8px, transparent .8px); background-size: 8px 8px; }
.unit-patch-stage-black { background: radial-gradient(circle at 50% 38%, #243142 0%, #0b1422 66%, #050a12 100%); }
.unit-patch-stage-blue { background: radial-gradient(circle at 50% 38%, #285a8f 0%, #102b50 68%, #07162d 100%); }
.unit-patch-stage img { position: relative; z-index: 1; width: auto; max-height: 300px; max-width: 78%; filter: drop-shadow(0 22px 24px rgba(0,0,0,.42)); transition: transform 220ms ease; }
.unit-card:hover .unit-patch-stage img { transform: translateY(-5px) scale(1.015); }
.unit-card-copy { padding: 25px 27px 29px; }
.unit-card-copy > span { display: block; margin-bottom: 8px; color: var(--gold-300); font-size: .67rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.unit-card-copy h3 { margin: 0; color: var(--white); font-size: 1.35rem; letter-spacing: -.025em; }
.unit-card-copy p { margin: 10px 0 0; color: #b7c6d9; font-size: .91rem; line-height: 1.62; }
.k9-stage { align-content: center; gap: 5px; color: var(--gold-300); background: radial-gradient(circle at 50% 40%, #193c67 0%, #0b2342 62%, #061327 100%); }
.paw-mark { position: relative; z-index: 1; width: 122px; height: auto; fill: rgba(245,189,35,.92); filter: drop-shadow(0 15px 18px rgba(0,0,0,.28)); }
.k9-stage strong { position: relative; z-index: 1; display: block; margin-top: -4px; color: var(--white); font-size: 3rem; letter-spacing: .03em; }
.k9-stage span { position: relative; z-index: 1; color: #b7c6d9; font-size: .66rem; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
.unit-note { margin: 24px 2px 0; color: #8295ad; font-size: .72rem; line-height: 1.6; letter-spacing: .04em; }

.partnership { background: var(--cream); }
.partnership-layout { display: grid; grid-template-columns: minmax(350px, .84fr) minmax(0, 1fr); gap: 110px; align-items: center; }
.partnership-mark { position: relative; display: grid; place-items: center; min-height: 590px; border-radius: var(--radius-lg); color: var(--white); background: radial-gradient(circle at center, #173e70 0%, var(--navy-900) 68%); box-shadow: var(--shadow-soft); overflow: hidden; }
.partnership-mark::before, .partnership-mark::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(245,189,35,.23); }
.partnership-mark::before { width: 420px; height: 420px; }
.partnership-mark::after { width: 560px; height: 560px; }
.city-label, .support-label { position: absolute; z-index: 1; color: var(--gold-300); font-size: .73rem; font-weight: 900; letter-spacing: .21em; text-transform: uppercase; }
.city-label { top: 48px; }
.support-label { bottom: 40px; width: 100%; padding-inline: 20px; text-align: center; font-size: .65rem; }
.mutual-symbol { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(150px, 1fr) 68px minmax(150px, 1fr); align-items: center; width: min(88%, 500px); gap: 8px; }
.mutual-agency { margin: 0; display: grid; justify-items: center; gap: 16px; min-width: 0; }
.mutual-agency img { width: auto; height: 205px; max-width: 100%; object-fit: contain; filter: drop-shadow(0 22px 25px rgba(0,0,0,.42)); }
.mutual-agency:last-child img { height: 225px; }
.mutual-agency figcaption { color: #d6e0ed; font-size: .68rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; text-align: center; }
.mutual-link { color: var(--gold-300); font-size: 2.65rem; font-weight: 900; text-align: center; }
.partnership-copy p { color: #4a5665; font-size: 1.03rem; line-height: 1.78; }
.partnership-copy blockquote { margin: 35px 0 0; padding: 23px 0 23px 26px; border-left: 5px solid var(--gold-500); color: var(--navy-900); font-size: 1.45rem; font-weight: 900; letter-spacing: -.02em; text-transform: uppercase; }

.leadership { background: var(--paper); }
.leadership-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .76fr); gap: 95px; align-items: center; }
.leadership-copy p { color: #4e5968; line-height: 1.8; }
.leadership-copy p:not(.section-number) { max-width: 710px; }
.leadership-quote { position: relative; padding: 76px 58px 52px; color: var(--white); border-radius: var(--radius-lg); background: var(--navy-900); box-shadow: var(--shadow-soft); }
.quote-mark { position: absolute; top: 16px; left: 39px; color: var(--gold-500); font-family: Georgia, serif; font-size: 6rem; line-height: 1; }
.leadership-quote p { position: relative; z-index: 1; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.38rem, 2.3vw, 2rem); line-height: 1.5; }
.quote-rule { display: block; width: 48px; height: 3px; margin: 35px 0 20px; background: var(--gold-500); }
.leadership-quote small { color: #aebed3; font-size: .69rem; font-weight: 800; letter-spacing: .16em; }

.insignia { background: #edf1f5; border-top: 1px solid #dde4eb; }
.patch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.patch-card { margin: 0; overflow: hidden; border: 1px solid #dce3ea; border-radius: var(--radius-md); background: var(--white); box-shadow: 0 15px 45px rgba(12,35,67,.07); transition: transform 220ms ease, box-shadow 220ms ease; }
.patch-card:hover { transform: translateY(-7px); box-shadow: 0 25px 60px rgba(12,35,67,.13); }
.patch-stage { position: relative; display: grid; place-items: center; min-height: 430px; padding: 42px; overflow: hidden; }
.patch-stage::before { content: ""; position: absolute; inset: 0; opacity: .22; background-image: radial-gradient(rgba(255,255,255,.75) .9px, transparent .9px); background-size: 7px 7px; }
.patch-stage img { position: relative; z-index: 1; width: auto; max-height: 330px; filter: drop-shadow(0 20px 19px rgba(0,0,0,.23)); }
.patch-stage-deep { background: linear-gradient(145deg, #07162d, #153b6a); }
.patch-stage-blue { background: linear-gradient(145deg, #164679, #5c91c0); }
.patch-stage-light { background: linear-gradient(145deg, #f2eadb, #d2dce9); }
.patch-card figcaption { display: grid; gap: 5px; padding: 24px 26px 27px; border-top: 1px solid #e3e8ee; }
.patch-card figcaption span { color: var(--blue-500); font-size: .68rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.patch-card figcaption strong { color: var(--navy-900); font-size: 1.12rem; }

.today { position: relative; isolation: isolate; overflow: hidden; color: var(--white); background: linear-gradient(118deg, #061226 0%, #0d2c54 100%); }
.today-lines { position: absolute; inset: 0; z-index: -1; opacity: .15; background-image: repeating-linear-gradient(135deg, transparent 0 65px, rgba(255,255,255,.18) 66px, transparent 67px 132px); }
.today-layout { min-height: 760px; display: grid; grid-template-columns: minmax(320px, .76fr) minmax(0, 1fr); align-items: center; gap: 100px; padding-block: 105px; }
.today-patch { position: relative; display: grid; place-items: center; }
.today-patch::before, .today-patch::after { content: ""; position: absolute; border-radius: 50%; }
.today-patch::before { width: 540px; height: 540px; border: 1px solid rgba(245,189,35,.25); }
.today-patch::after { width: 390px; height: 390px; background: rgba(245,189,35,.06); box-shadow: 0 0 140px rgba(245,189,35,.1); }
.today-patch img { position: relative; z-index: 1; width: min(70%, 340px); filter: drop-shadow(0 34px 32px rgba(0,0,0,.5)); }
.today-copy p { color: #c0ccdc; font-size: 1.05rem; line-height: 1.8; }
.today-copy strong { color: var(--white); }
.closing-statement { margin-top: 39px; padding: 28px 0 28px 28px; border-left: 5px solid var(--gold-500); }
.closing-statement span, .closing-statement strong { display: block; }
.closing-statement span { color: #aebfd3; font-size: 1.05rem; }
.closing-statement strong { margin-top: 7px; color: var(--gold-300); font-size: clamp(1.75rem, 3vw, 2.8rem); letter-spacing: -.04em; }
.mission-line { margin: 30px 0 0 !important; color: var(--white) !important; font-size: .82rem !important; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }

.sources { padding: 42px 0; background: #e4e9ef; border-top: 1px solid #d2dae3; }
.sources details { border: 1px solid #cbd4de; border-radius: 14px; background: rgba(255,255,255,.52); }
.sources summary { cursor: pointer; padding: 19px 22px; color: var(--navy-800); font-size: .77rem; font-weight: 900; letter-spacing: .1em; list-style: none; text-transform: uppercase; }
.sources summary::-webkit-details-marker { display: none; }
.sources summary::after { content: "+"; float: right; font-size: 1rem; }
.sources details[open] summary::after { content: "−"; }
.sources-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; border-top: 1px solid #cbd4de; background: #cbd4de; }
.sources-grid a { display: flex; justify-content: space-between; gap: 14px; padding: 18px 22px; color: #37465b; background: #f5f7f9; font-size: .82rem; font-weight: 700; text-decoration: none; }
.sources-grid a:hover { color: var(--navy-900); background: var(--white); }
.sources-grid a span { color: var(--blue-500); }

.site-footer { color: #d3ddeb; background: var(--navy-950); }
.footer-layout { display: grid; grid-template-columns: 1.25fr .8fr .7fr; align-items: center; gap: 45px; padding-block: 48px; }
.footer-brand { display: flex; align-items: center; gap: 15px; }
.footer-brand img { width: 43px; height: auto; }
.footer-brand div { display: grid; gap: 5px; }
.footer-brand strong { color: var(--white); font-size: .9rem; }
.footer-brand span, .footer-notice span { color: #8496ad; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-notice { display: grid; gap: 5px; }
.footer-notice strong { color: var(--gold-300); font-size: .82rem; letter-spacing: .07em; text-transform: uppercase; }
.footer-links { display: flex; justify-content: flex-end; gap: 22px; }
.footer-links a { color: #b6c4d6; font-size: .75rem; font-weight: 750; text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; min-height: 64px; border-top: 1px solid rgba(255,255,255,.1); color: #6f8198; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
.footer-bottom button { border: 0; color: #9fb0c4; background: transparent; cursor: pointer; font-size: .7rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.footer-bottom button:hover { color: var(--gold-300); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }

@media (max-width: 1080px) {
  :root { --shell: 960px; }
  .site-nav { gap: 17px; }
  .site-nav a { font-size: .7rem; }
  .hero { min-height: 810px; }
  .hero-layout { grid-template-columns: minmax(0, 1fr) minmax(350px, .85fr); gap: 48px; }
  .hero-patch { left: -45px; bottom: -58px; width: 145px; }
  .origin-layout, .partnership-layout { gap: 65px; }
  .section-heading-wide, .record-header { column-gap: 48px; }
  .patch-stage { min-height: 370px; padding: 34px; }
  .patch-stage img { max-height: 285px; }
  .leadership-layout, .today-layout { gap: 60px; }
  .today-patch::before { width: 430px; height: 430px; }
}

@media (max-width: 900px) {
  :root { --header-height: 78px; }
  .shell { width: min(calc(100% - 36px), var(--shell)); }
  .site-header { background: rgba(5,17,36,.93); backdrop-filter: blur(16px); }
  .menu-button { display: flex; align-items: center; gap: 11px; cursor: pointer; }
  .menu-label { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
  .menu-lines { display: grid; gap: 4px; width: 20px; }
  .menu-lines i { display: block; height: 2px; background: currentColor; transition: transform 180ms ease, opacity 180ms ease; }
  .menu-button[aria-expanded="true"] .menu-lines i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-button[aria-expanded="true"] .menu-lines i:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] .menu-lines i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 16px 18px 24px; background: rgba(5,17,36,.98); border-top: 1px solid rgba(255,255,255,.1); box-shadow: 0 28px 50px rgba(0,0,0,.3); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 10px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .78rem; }
  .site-nav a::after { display: none; }
  .site-nav .nav-external { margin-top: 12px; border-radius: 10px; text-align: center; }
  .hero { min-height: auto; padding-top: calc(var(--header-height) + 80px); }
  .hero-layout { grid-template-columns: 1fr; gap: 70px; min-height: auto; }
  .hero-copy { max-width: 720px; }
  .hero h1 { font-size: clamp(5.3rem, 16vw, 8rem); }
  .hero-visual { width: min(100%, 650px); margin-left: auto; }
  .hero-patch { left: -20px; width: 145px; }
  .hero-foot { grid-template-columns: repeat(2, 1fr); margin-top: 105px; }
  .hero-foot div:nth-child(2) { border-right: 0; }
  .hero-foot div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
  .hero-foot div:nth-child(3) { padding-left: 0; }
  .section-pad { padding: 90px 0; }
  .origin-layout, .partnership-layout, .leadership-layout, .today-layout { grid-template-columns: 1fr; gap: 55px; }
  .origin .section-heading { position: static; }
  .origin-copy { padding-left: 30px; }
  .section-heading-wide, .record-header { grid-template-columns: 1fr; gap: 25px; }
  .timeline::before { left: 170px; }
  .timeline-item { grid-template-columns: 135px 70px 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .unit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .unit-card-k9 { grid-column: 1 / -1; display: grid; grid-template-columns: .9fr 1.1fr; }
  .unit-card-k9 .k9-stage { border-bottom: 0; border-right: 1px solid rgba(255,255,255,.12); }
  .unit-card-k9 .unit-card-copy { align-self: center; }
  .mutual-symbol { width: min(82%, 470px); grid-template-columns: minmax(130px, 1fr) 60px minmax(130px, 1fr); }
  .mutual-agency img { height: 185px; }
  .mutual-agency:last-child img { height: 205px; }
  .stat-card:nth-child(2) { border-right: 0; }
  .stat-card:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.13); }
  .partnership-mark { min-height: 500px; }
  .patch-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .patch-stage { min-height: 490px; }
  .patch-stage img { max-height: 390px; }
  .today-layout { min-height: auto; }
  .today-patch { order: 2; }
  .today-copy { order: 1; }
  .today-patch::before { width: min(75vw, 520px); height: min(75vw, 520px); }
  .footer-layout { grid-template-columns: 1fr 1fr; }
  .footer-links { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 620px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .emergency-inner { justify-content: center; min-height: 42px; gap: 8px; font-size: .63rem; letter-spacing: .045em; }
  .emergency-divider { display: none; }
  .emergency-inner span:last-child { display: none; }
  .brand img { width: 39px; height: 49px; }
  .brand-copy strong { font-size: 1rem; }
  .brand-copy small { font-size: .58rem; }
  .hero { padding-top: calc(var(--header-height) + 58px); }
  .hero-copy { padding-top: 10px; }
  .eyebrow { align-items: flex-start; font-size: .66rem; line-height: 1.5; }
  .eyebrow span { margin-top: 7px; flex: 0 0 auto; }
  .hero h1 { font-size: clamp(4.35rem, 22vw, 6.2rem); }
  .hero h1 em { -webkit-text-stroke-width: 1.5px; }
  .hero-lead { margin-top: 33px; font-size: 1.38rem; }
  .hero-summary { font-size: .96rem; line-height: 1.72; }
  .archive-card { padding: 9px; }
  .archive-card::before { inset: -8px 14px 14px -8px; }
  .archive-topline { font-size: .58rem; }
  .archive-card figcaption { right: 14px; bottom: 14px; font-size: .58rem; }
  .hero-patch { left: -4px; bottom: -48px; width: 105px; }
  .hero-foot { margin-top: 82px; }
  .hero-foot div { padding: 22px 15px 8px; }
  .hero-foot div:nth-child(odd) { padding-left: 0; }
  .hero-foot strong { font-size: 1rem; }
  .hero-foot span { font-size: .61rem; line-height: 1.4; }
  .section-pad { padding: 76px 0; }
  .section-heading h2, .origin h2, .partnership h2, .leadership h2, .today h2, .record-header h2 { font-size: clamp(2.45rem, 12vw, 3.65rem); }
  .section-heading-wide { margin-bottom: 45px; }
  .origin-copy { padding-left: 20px; }
  .origin-copy p { font-size: .98rem; }
  .lead-paragraph { font-size: 1.26rem !important; }
  .timeline::before { left: 8px; }
  .timeline-item { grid-template-columns: 28px 1fr; padding-bottom: 42px; }
  .timeline-date { grid-column: 2; grid-row: 1; padding-top: 0; text-align: left; font-size: .78rem; color: var(--blue-500); }
  .timeline-marker { grid-column: 1; grid-row: 1 / span 2; justify-content: flex-start; }
  .timeline-marker span { margin-left: 1px; }
  .timeline-content { grid-column: 2; grid-row: 2; padding: 8px 0 0; }
  .timeline-content h3 { font-size: 1.28rem; }
  .service-record { padding: 78px 0; }
  .record-header { margin-bottom: 40px; }
  .stats-grid { grid-template-columns: 1fr; }

  .unit-grid { grid-template-columns: 1fr; }
  .unit-card-k9 { grid-column: auto; display: block; }
  .unit-card-k9 .k9-stage { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .unit-patch-stage, .k9-stage { min-height: 320px; }
  .unit-patch-stage img { max-height: 265px; }
  .mutual-symbol { width: 94%; grid-template-columns: minmax(100px, 1fr) 44px minmax(100px, 1fr); gap: 4px; }
  .mutual-agency img { height: 130px; }
  .mutual-agency:last-child img { height: 145px; }
  .mutual-agency figcaption { font-size: .57rem; letter-spacing: .09em; }
  .stat-card { min-height: 155px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .stat-card:last-child { border-bottom: 0; }
  .stat-card strong { font-size: 3.5rem; }
  .partnership-mark { min-height: 390px; }
  .partnership-mark::before { width: 300px; height: 300px; }
  .partnership-mark::after { width: 390px; height: 390px; }
  .mutual-symbol { grid-template-columns: 95px 48px 95px; }
  .mutual-shield { width: 95px; font-size: .83rem; }
  .mutual-link { font-size: 1.8rem; }
  .city-label { top: 35px; }
  .support-label { bottom: 35px; }
  .partnership-copy blockquote { font-size: 1.2rem; }
  .leadership-quote { padding: 70px 30px 40px; }
  .quote-mark { left: 24px; }
  .patch-stage { min-height: 370px; padding: 30px; }
  .patch-stage img { max-height: 290px; }
  .today-layout { padding-block: 78px; }
  .today-patch::before { width: 86vw; height: 86vw; }
  .today-patch::after { width: 64vw; height: 64vw; }
  .today-patch img { width: min(64%, 280px); }
  .sources-grid { grid-template-columns: 1fr; }
  .footer-layout { grid-template-columns: 1fr; gap: 30px; }
  .footer-links { grid-column: auto; flex-direction: column; gap: 12px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; gap: 8px; padding-block: 18px; }
}

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

@media print {
  .emergency-bar, .site-header, .hero-link, .sources, .site-footer, .menu-button { display: none !important; }
  .hero { min-height: auto; padding: 45px 0; background: var(--white) !important; color: var(--ink); }
  .hero::before, .hero-grid, .hero-glow, .today-lines, .service-texture { display: none; }
  .hero h1 em { color: var(--ink); -webkit-text-stroke: 0; }
  .hero-summary, .hero-lead, .hero-foot span { color: var(--ink); }
  .section-pad, .service-record, .today { padding: 45px 0; }
  .service-record, .today { color: var(--ink); background: var(--white); }
  .stat-card { color: var(--ink); border: 1px solid #bbb; }
  .unit-card { break-inside: avoid; color: var(--ink); border: 1px solid #bbb; background: #fff; }
  .unit-card-copy h3 { color: var(--ink); }
  .unit-card-copy p, .unit-note { color: #555; }
  .unit-patch-stage, .k9-stage { min-height: 250px; background: #f2f2f2; }
  .mutual-agency figcaption { color: var(--ink); }
  .reveal { opacity: 1; transform: none; }
}

/* History page v4 refinements */
.patch-stage::before { z-index: 1; }
.patch-stage img { z-index: 2; }

/* Keep archival photography out of the patch card itself. */
.patch-stage-towers::after {
  content: none;
  display: none;
}

/* The embroidered current patch is intentionally shown only once, on navy rather than white. */
.patch-stage-current {
  background:
    radial-gradient(circle at 50% 42%, rgba(47,105,167,.34) 0%, rgba(12,36,71,.42) 37%, rgba(7,22,45,.96) 76%),
    linear-gradient(145deg, #0b2345, #061328);
}
.patch-stage-current::before { opacity: .12; }
.patch-stage-current img {
  max-height: 350px;
  filter: drop-shadow(0 24px 22px rgba(0,0,0,.46));
}

@media (max-width: 1080px) {
  .patch-stage-current img { max-height: 300px; }
}

@media (max-width: 900px) {
  .patch-stage-current img { max-height: 390px; }
}

@media (max-width: 560px) {
  .patch-stage-current img { max-height: 290px; }
}


/* History page v5 refinements */
/* Mutual-support art now uses a flatter Chester Police emblem with a little movement so it pairs better with CHAPD. */
.mutual-agency--chester img {
  height: 195px;
  transform: rotate(-8deg) translateY(-6px);
  filter: drop-shadow(0 22px 28px rgba(0,0,0,.34));
}
.mutual-agency--chapd img {
  height: 220px;
  transform: rotate(5deg) translateY(10px);
}
.mutual-agency--chester figcaption,
.mutual-agency--chapd figcaption {
  letter-spacing: .15em;
}
.mutual-link {
  transform: translateY(-6px);
}

/* Make the archived CHA towers visible enough to register while still staying subtle. */
.patch-stage-towers {
  background:
    linear-gradient(145deg, rgba(14,48,88,.92), rgba(79,126,171,.92)),
    linear-gradient(145deg, #164679, #5c91c0);
}
.patch-stage-towers img {
  max-height: 295px;
  transform: translateX(38px) rotate(4deg);
  transform-origin: center center;
}

@media (max-width: 900px) {
  .mutual-agency--chester img { height: 172px; transform: rotate(-6deg) translateY(-4px); }
  .mutual-agency--chapd img { height: 198px; transform: rotate(4deg) translateY(8px); }
  .patch-stage-towers img { transform: translateX(22px) rotate(3deg); }
}

@media (max-width: 620px) {
  .mutual-agency--chester img { height: 124px; }
  .mutual-agency--chapd img { height: 145px; }
  .mutual-link { transform: none; }
  .patch-stage-towers::after { opacity: .28; background-position: center top; }
  .patch-stage-towers img { max-height: 275px; transform: translateX(14px) rotate(2deg); }
}

/* History page v6 refinements */
/* Keep the historic housing/tower patch straight and centered. */
.patch-stage-towers img {
  transform: none;
  max-height: 305px;
  margin-inline: auto;
}

/* Keep the insignia gallery clean so the historic patches stand on their own. */
.insignia {
  position: relative;
  overflow: hidden;
  background: #edf1f5;
}
.insignia::before,
.insignia::after { content: none; display: none; }
.insignia > .shell { position: relative; }
.patch-stage-towers {
  background: linear-gradient(145deg, #164679, #5c91c0);
}
.patch-stage-towers::after { display: none; }

/* Give the Mutual Support card an editorial backdrop without putting photography inside it. */
.partnership {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 50%, rgba(21,53,95,.09), transparent 36%),
    linear-gradient(135deg, #f8f5ed 0%, #f1ecdf 100%);
}
.partnership::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(rgba(12,36,71,.22) .8px, transparent .8px),
    radial-gradient(circle at 25% 50%, transparent 0 245px, rgba(245,189,35,.16) 246px 247px, transparent 248px 332px, rgba(12,36,71,.09) 333px 334px, transparent 335px);
  background-size: 11px 11px, 100% 100%;
  opacity: .7;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 52%, transparent 82%);
  mask-image: linear-gradient(90deg, #000 0%, #000 52%, transparent 82%);
  pointer-events: none;
}
.partnership::after {
  content: "MUTUAL\A SUPPORT";
  white-space: pre;
  position: absolute;
  left: -1.5vw;
  top: 50%;
  z-index: 1;
  color: rgba(12,36,71,.052);
  font-size: clamp(5.5rem, 10vw, 10.5rem);
  font-weight: 950;
  letter-spacing: -.075em;
  line-height: .75;
  transform: translateY(-50%);
  pointer-events: none;
}
.partnership > .shell {
  position: relative;
  z-index: 2;
}
.partnership-layout::before {
  content: "";
  position: absolute;
  left: -38px;
  top: 50%;
  z-index: 0;
  width: min(51%, 610px);
  height: 86%;
  border: 1px solid rgba(21,53,95,.12);
  border-radius: 46px 18px 54px 22px;
  background: linear-gradient(145deg, rgba(21,53,95,.1), rgba(245,189,35,.075));
  box-shadow: 0 34px 90px rgba(21,53,95,.08);
  transform: translateY(-50%) rotate(-2.4deg);
  pointer-events: none;
}
.partnership-layout > * {
  position: relative;
  z-index: 1;
}
.partnership-mark {
  box-shadow:
    0 42px 95px rgba(7,22,45,.22),
    0 0 0 1px rgba(255,255,255,.82),
    -28px 24px 0 rgba(245,189,35,.055);
}

/* Keep Origins clean; the towers appear in the archival transition immediately after it. */
.origin {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}
.origin::before,
.origin::after { content: none; display: none; }
.origin > .shell { position: relative; }

.tower-memory {
  position: relative;
  isolation: isolate;
  height: clamp(230px, 30vw, 410px);
  overflow: hidden;
  color: var(--white);
  background: var(--navy-900);
  border-block: 1px solid rgba(245,189,35,.22);
}
.tower-memory::before {
  content: "";
  position: absolute;
  inset: -4%;
  z-index: -2;
  background: url("../images/towers-archive.webp") center 54% / cover no-repeat;
  opacity: .76;
  filter: grayscale(.22) saturate(.64) contrast(1.04);
  transform: scale(1.02);
  pointer-events: none;
}
.tower-memory::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7,22,45,.72), rgba(7,22,45,.18) 45%, rgba(7,22,45,.7)),
    linear-gradient(90deg, rgba(7,22,45,.6), transparent 42%, rgba(7,22,45,.32));
  pointer-events: none;
}
.tower-memory-grid {
  position: absolute;
  inset: 0;
  opacity: .1;
  background-image:
    linear-gradient(rgba(255,255,255,.32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.32) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 78%);
  mask-image: linear-gradient(90deg, #000, transparent 78%);
}
.tower-memory-caption {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 100%;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.tower-memory-caption span,
.tower-memory-caption strong {
  padding: 8px 11px;
  background: rgba(3,10,23,.48);
  backdrop-filter: blur(8px);
  text-transform: uppercase;
}
.tower-memory-caption span {
  color: var(--gold-300);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .2em;
}
.tower-memory-caption strong {
  color: #e8eef6;
  font-size: .7rem;
  letter-spacing: .12em;
}

/* Mutual support: use the actual flat Chester Police artwork, with restrained visual flair. */
.mutual-agency--chester {
  position: relative;
}
.mutual-agency--chester::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,189,35,.18), rgba(245,189,35,.04) 52%, transparent 72%);
  filter: blur(2px);
  pointer-events: none;
}
.mutual-agency--chester img {
  height: 205px;
  transform: rotate(-2.25deg) translateY(-4px);
  filter: drop-shadow(0 18px 24px rgba(0,0,0,.30));
}
.mutual-agency--chapd img {
  height: 220px;
  transform: rotate(2deg) translateY(5px);
}
.mutual-agency figcaption { display: none; }

/* Era labels only — no extra patch descriptions. */
.patch-card figcaption.patch-era {
  display: grid;
  place-items: center;
  min-height: 84px;
  padding: 20px 18px;
  text-align: center;
}
.patch-card figcaption.patch-era strong {
  color: var(--navy-900);
  font-size: 1.22rem;
  font-weight: 900;
  letter-spacing: .045em;
}

@media (max-width: 900px) {
  .partnership-layout::before {
    left: -28px;
    top: 24px;
    width: calc(100% - 2px);
    height: 520px;
    transform: rotate(-1.7deg);
  }
  .patch-stage-towers img { transform: none; max-height: 390px; }
  .mutual-agency--chester img { height: 175px; transform: rotate(-1.75deg) translateY(-2px); }
  .mutual-agency--chapd img { height: 198px; transform: rotate(1.5deg) translateY(4px); }
}
@media (max-width: 620px) {
  .partnership-layout::before { height: 405px; }
  .patch-stage-towers img { transform: none; max-height: 275px; }
  .mutual-agency--chester::before { width: 145px; height: 145px; }
  .mutual-agency--chester img { height: 128px; }
  .mutual-agency--chapd img { height: 145px; }
}

/* Anchor the three eras as one museum-style exhibit instead of three floating cards. */
.patch-gallery {
  position: relative;
  isolation: isolate;
  margin: -18px -38px -34px;
  padding: 54px 38px 58px;
  overflow: hidden;
}
.patch-gallery::before {
  content: "";
  position: absolute;
  inset: 108px 0 20px;
  z-index: -2;
  border: 1px solid rgba(12,36,71,.11);
  border-radius: 46px 18px 42px 22px;
  background:
    radial-gradient(circle at 8% 18%, rgba(47,105,167,.17), transparent 31%),
    linear-gradient(118deg, rgba(255,255,255,.72), rgba(185,209,236,.24) 52%, rgba(12,36,71,.075));
  box-shadow:
    0 34px 80px rgba(12,36,71,.10),
    inset 0 1px rgba(255,255,255,.86);
  transform: rotate(-.55deg);
}
.patch-gallery::after {
  content: "INSIGNIA";
  position: absolute;
  right: 17px;
  top: 42px;
  z-index: -1;
  color: transparent;
  font-size: clamp(6rem, 11vw, 10.5rem);
  font-weight: 950;
  letter-spacing: -.075em;
  line-height: .72;
  -webkit-text-stroke: 1px rgba(12,36,71,.075);
  pointer-events: none;
}
.patch-gallery-rail {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 16px 24px;
  color: rgba(12,36,71,.63);
  font-size: .61rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.patch-gallery-rail i {
  position: relative;
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(12,36,71,.16), rgba(245,189,35,.76), rgba(12,36,71,.16));
}
.patch-gallery-rail i::before,
.patch-gallery-rail i::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-500);
  transform: translateY(-50%);
}
.patch-gallery-rail i::before { left: 0; }
.patch-gallery-rail i::after { right: 0; }
.patch-gallery .patch-grid { position: relative; z-index: 1; }
.patch-gallery .patch-card {
  box-shadow:
    0 22px 55px rgba(12,35,67,.13),
    0 2px 0 rgba(12,36,71,.07);
}

@media (max-width: 1080px) {
  .patch-gallery { margin-inline: 0; padding-inline: 36px; }
  .patch-gallery::before { inset-inline: 0; }
}

@media (max-width: 620px) {
  .patch-gallery { margin: -8px 0 -22px; padding: 46px 14px 42px; }
  .patch-gallery::before { inset: 92px 0 12px; border-radius: 28px 12px 26px 15px; }
  .patch-gallery::after { right: 4px; top: 38px; font-size: 5rem; }
  .patch-gallery-rail { gap: 10px; margin: 0 4px 18px; font-size: .5rem; letter-spacing: .12em; }
}
