/* Goldie Associates: the one stylesheet for every page.
 * Brand source of truth: the goldie-design skill (tokens/colors.css, typography.css,
 * spacing.css). Light-first: white paper, one deep teal (#054159). Oswald 500 caps
 * is the display voice, Work Sans the working voice. Green/amber are functional
 * only and are not used here. No serif, no emoji, no decorative gradients beyond
 * the 135° teal band.
 */

@font-face { font-family: "Oswald"; src: url("/assets/fonts/Oswald-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("/assets/fonts/WorkSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("/assets/fonts/WorkSans-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --teal: #054159;
  --teal-2: #0a597a;
  --teal-deep: #052f40;
  --band: linear-gradient(135deg, #054159 0%, #063a4e 60%, #052f40 100%);
  --paper: #ffffff;
  --wash: #e7edf0;
  --panel: #f8fafb;
  --border: #e1e8ed;
  --text: #333333;
  --muted: #5a6d72;
  --on-dark: #a8c5d6;
  --on-dark-hair: rgba(168, 197, 214, .28);
  --on-dark-chip: rgba(168, 197, 214, .16);
  --logo-teal: #169d92;
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 8px;
  --shadow: 0 18px 50px rgba(5, 65, 89, .16);
  --shadow-card: 0 6px 18px rgba(5, 65, 89, .08);
  --ring: 0 0 0 3px rgba(5, 65, 89, .18);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: 180ms ease-out;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.65 var(--font-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-2); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; color: var(--teal); line-height: 1.12; margin: 0 0 .5em; letter-spacing: .5px; }
h1 { font-size: clamp(36px, 5.2vw, 60px); letter-spacing: .6px; }
h2 { font-size: clamp(26px, 3vw, 36px); }
h3 { font-size: 20px; letter-spacing: .8px; }
p { margin: 0 0 1em; }
strong { font-weight: 600; }
address { font-style: normal; }
sup { line-height: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--teal); color: #fff; padding: 10px 16px; }
.skip:focus { left: 8px; top: 8px; }

.eyebrow { font: 600 12px/1.4 var(--font-body); letter-spacing: 2.4px; text-transform: uppercase; color: var(--teal-2); margin: 0 0 12px; }
.eyebrow.on-dark { color: var(--on-dark); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: var(--radius); border: 2px solid transparent; font: 600 15px/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-2); color: #fff; }
.btn-primary:disabled { background: var(--muted); cursor: not-allowed; }
.btn-secondary { background: #fff; color: var(--teal); border-color: var(--teal); }
.btn-secondary:hover { background: #eef3f5; color: var(--teal); }
.btn-light { background: #fff; color: var(--teal); }
.btn-light:hover { background: #eef3f5; color: var(--teal); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-outline-light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--teal); text-decoration: none; }
.link-arrow .ico { transition: transform var(--ease); }
a:hover .link-arrow .ico, a.link-arrow:hover .ico { transform: translateX(3px); }

/* ---------- top bar + header ---------- */
.topbar { background: var(--teal-deep); color: var(--on-dark); font-size: 13.5px; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar-note { margin: 0; }
.topbar-links { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; }
.topbar-links a { display: inline-flex; align-items: center; gap: 7px; color: #fff; text-decoration: none; font-weight: 600; }
.topbar-links a:hover { color: var(--on-dark); }
.topbar-links .ico { color: var(--on-dark); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--border); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand img { width: 210px; }
.navtoggle { position: absolute; opacity: 0; pointer-events: none; }
.navbtn { display: none; }
.nav-list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-list > li { position: relative; }
.nav-list > li > a:not(.btn) { display: block; padding: 10px 12px; font: 500 16px/1.2 var(--font-display); letter-spacing: .9px; text-transform: uppercase; color: var(--teal); text-decoration: none; border-radius: var(--radius-sm); }
.nav-list > li > a:not(.btn):hover, .nav-list > li > a:not(.btn)[aria-current="page"] { background: #eef3f5; }
.nav-list > li > a:not(.btn)[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--teal); }
.nav-cta { margin-left: 10px; }
.nav-cta .btn { padding: 11px 18px; }
.nav-cta .btn[aria-current="page"] { background: var(--teal-2); }
.has-menu > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.75px solid currentColor; border-bottom: 1.75px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.submenu { position: absolute; top: 100%; left: 0; min-width: 300px; margin: 0; padding: 10px; list-style: none; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity var(--ease), transform var(--ease), visibility var(--ease); }
.has-menu:hover .submenu, .has-menu:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: block; padding: 9px 12px; color: var(--text); text-decoration: none; font-size: 15px; border-radius: var(--radius-sm); }
.submenu a:hover { background: #eef3f5; color: var(--teal); }

@media (max-width: 1080px) {
  .topbar-note { display: none; }
  .topbar-in { justify-content: center; }
  .header-in { min-height: 70px; flex-wrap: wrap; }
  .brand img { width: 170px; }
  .navbtn { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius); font: 600 14px/1 var(--font-body); color: var(--teal); cursor: pointer; }
  .navtoggle:focus-visible + .navbtn { box-shadow: var(--ring); }
  .bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -6px; } .bars::after { top: 6px; }
  .sitenav { display: none; flex-basis: 100%; padding: 4px 0 18px; }
  .navtoggle:checked ~ .sitenav { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li > a:not(.btn) { padding: 13px 4px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav-list > li > a:not(.btn)[aria-current="page"] { box-shadow: none; }
  .has-menu > a::after { display: none; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 8px 14px; min-width: 0; }
  .submenu a { padding: 7px 4px; }
  .nav-cta { margin: 16px 0 0; }
  .nav-cta .btn { width: 100%; }
}
@media (max-width: 560px) {
  .topbar-links { gap: 16px; font-size: 13px; }
  .topbar-links li:first-child { display: none; }
}

/* ---------- bands ---------- */
.band { padding: clamp(56px, 8vw, 96px) 0; }
.band--tight { padding: clamp(40px, 6vw, 72px) 0; }
.band--wash { background: var(--wash); }
.section-head { max-width: 780px; margin-bottom: 40px; }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--split h2 { margin: 0; }
.section-lede { font-size: 18.5px; color: var(--muted); margin: 0; }

/* ---------- home hero ---------- */
.hero { position: relative; background: var(--band); color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0 0 0 46%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 57% 35%; }
.hero-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #054159 0%, rgba(5, 65, 89, .35) 14%, rgba(5, 65, 89, 0) 38%); }
.hero-in { position: relative; z-index: 2; }
.hero-copy { max-width: 600px; padding: clamp(64px, 9vw, 120px) 0; }
.hero h1 { color: #fff; font-size: clamp(48px, 7.4vw, 92px); line-height: 1; letter-spacing: 1px; margin-bottom: 24px; }
.hero-lede { font-size: 19px; color: #e4eef3; max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 860px) {
  .hero-media { position: relative; inset: auto; height: 260px; }
  .hero-media::before { background: linear-gradient(0deg, #054159 0%, rgba(5, 65, 89, 0) 45%); }
  .hero-copy { padding: 8px 0 56px; }
}

/* ---------- stats ---------- */
.stats { border-bottom: 1px solid var(--border); }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 22px; border-left: 1px solid var(--border); display: flex; flex-direction: column; gap: 4px; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { font: 500 clamp(30px, 3.2vw, 40px)/1 var(--font-display); color: var(--teal); letter-spacing: .5px; text-transform: uppercase; }
.stat-label { font-size: 14.5px; color: var(--muted); line-height: 1.45; }
@media (max-width: 860px) {
  .stats-in { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 16px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
}

/* ---------- audience cards ---------- */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.audience-card { display: flex; flex-direction: column; padding: 30px 28px; border: 1px solid var(--border); border-top: 4px solid var(--teal); border-radius: var(--radius-lg); background: #fff; color: var(--text); text-decoration: none; transition: box-shadow var(--ease), transform var(--ease); }
.audience-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); color: var(--text); }
.audience-card h3 { font-size: 24px; margin: 18px 0 10px; }
.audience-card p { flex: 1; color: var(--muted); }
.audience-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 11px; background: var(--band); color: #fff; box-shadow: 0 4px 10px rgba(5, 65, 89, .22); }
.audience-icon .ico { width: 28px; height: 28px; }
@media (max-width: 860px) { .audience-grid { grid-template-columns: 1fr; } }

/* ---------- service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.svc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; color: var(--text); text-decoration: none; transition: box-shadow var(--ease), transform var(--ease); }
.svc-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); color: var(--text); }
.svc-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--wash); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease-out; }
.svc-card:hover .svc-media img { transform: scale(1.04); }
.svc-card--logo .svc-media { display: grid; place-items: center; background: #fff; border-bottom: 1px solid var(--border); }
.svc-card--logo .svc-media img { width: 62%; height: auto; object-fit: contain; }
.svc-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.svc-title { font: 500 19px/1.2 var(--font-display); letter-spacing: .8px; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }
.svc-blurb { flex: 1; font-size: 15px; color: var(--muted); line-height: 1.55; }
.svc-more { margin-top: 14px; font-weight: 600; font-size: 14px; color: var(--teal); }
.svc-more::after { content: " \2192"; }

/* ---------- split (image + copy) ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 25% 50%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.hex-list { margin: 22px 0 26px; padding: 0; list-style: none; }
.hex-list li { position: relative; padding-left: 34px; margin-bottom: 14px; }
.hex-list li::before, .checklist li::before { content: ""; position: absolute; left: 0; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23169d92' stroke-width='2.2' stroke-linejoin='round'%3E%3Cpath d='M12 2.5 20.5 7.25v9.5L12 21.5 3.5 16.75v-9.5Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.hex-list li::before { top: 4px; }

/* ---------- Goldie Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.team-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 30px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); color: var(--text); text-decoration: none; transition: box-shadow var(--ease); }
a.team-card:hover { box-shadow: var(--shadow-card); color: var(--text); }
.team-card img { height: 64px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.team-card--self { border-top: 4px solid var(--teal); }
.team-role { margin: 0; flex: 1; color: var(--muted); }
.team-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--teal); }
@media (max-width: 860px) { .team-grid { grid-template-columns: 1fr; } }

/* ---------- video ---------- */
.video-in { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.video-frame { aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--teal-deep); }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 860px) { .video-in { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--band); color: #fff; padding: clamp(48px, 7vw, 80px) 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-copy { max-width: 620px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #dbe8ef; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- interior masthead ---------- */
.masthead { position: relative; background: var(--band); color: #fff; overflow: hidden; }
.mast-in { position: relative; z-index: 2; }
.mast-copy { max-width: 640px; padding: clamp(48px, 7vw, 88px) 0; }
.masthead h1 { color: #fff; margin-bottom: 16px; }
.mast-lede { font-size: 19px; color: #dbe8ef; margin: 0; }
.mast-media { position: absolute; inset: 0 0 0 55%; }
.mast-media img { width: 100%; height: 100%; object-fit: cover; }
.mast-media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #054159 0%, rgba(5, 65, 89, .4) 30%, rgba(5, 65, 89, 0) 70%); }
@media (max-width: 860px) {
  .mast-media { position: relative; inset: auto; height: 200px; }
  .mast-media::before { background: linear-gradient(180deg, #052f40 0%, rgba(5, 65, 89, 0) 50%); }
  .mast-copy { padding: 40px 0 36px; }
}

/* ---------- interior body ---------- */
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .page-grid { grid-template-columns: 1fr; } }
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(24px, 2.4vw, 30px); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose-lead { font-size: 20px; line-height: 1.55; color: var(--teal); }
.inline-logo { width: 280px; margin-bottom: 24px; }

.checklist { margin: 0 0 1.2em; padding: 0; list-style: none; display: grid; gap: 10px 32px; }
.checklist.cols-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .checklist.cols-2 { grid-template-columns: 1fr; } }
.checklist li { position: relative; padding-left: 28px; line-height: 1.5; }
.checklist li::before { top: 3px; width: 16px; height: 16px; }

.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 1.4em; padding: 0; list-style: none; }
.pill-list li { padding: 7px 16px; border-radius: 20px; background: #eef3f5; color: #0a4258; font-size: 15px; font-weight: 600; }

.link-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.link-list--grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.link-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 100%; padding: 14px 18px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; color: var(--teal); font-weight: 600; text-decoration: none; transition: border-color var(--ease), background var(--ease); }
.link-list a::after { content: "\2192"; color: var(--logo-teal); }
.link-list a:hover { border-color: var(--teal); background: var(--panel); }
@media (max-width: 640px) { .link-list { grid-template-columns: 1fr; } }

.group-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.group-card { padding: 22px 24px; background: var(--panel); border: 1px solid var(--border); border-top: 3px solid var(--teal); border-radius: var(--radius-lg); }
.group-card h3 { font-size: 17px; margin: 0 0 14px; }
.group-card .checklist { margin: 0; font-size: 15.5px; }
@media (max-width: 760px) { .group-grid { grid-template-columns: 1fr; } }

.note-card { margin-top: 28px; padding: 18px 22px; background: var(--panel); border: 1px solid var(--border); border-left: 4px solid var(--teal); border-radius: var(--radius); }
.note-card p { margin: 0; }

/* ---------- sidebar ---------- */
.sidebar { display: grid; gap: 20px; position: sticky; top: 108px; }
@media (max-width: 960px) { .sidebar { position: static; } }
.side-card { padding: 24px 26px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; }
.side-card p:last-child { margin: 0; }
.side-card--brand { background: var(--band); border: 0; color: #fff; box-shadow: var(--shadow); }
.side-h { font-size: 19px; margin: 0 0 14px; }
.side-card--brand .side-h { color: #fff; }
.contact-lines { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.contact-lines li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.45; }
.contact-lines .ico { color: var(--on-dark); margin-top: 2px; }
.contact-lines a { color: #fff; font-weight: 600; text-decoration: none; word-break: break-word; }
.contact-lines a:hover { text-decoration: underline; color: #fff; }
.side-links { margin: 0; padding: 0; list-style: none; }
.side-links a { display: block; padding: 9px 0; border-bottom: 1px solid var(--border); color: var(--text); text-decoration: none; font-size: 15px; }
.side-links li:last-child a { border-bottom: 0; }
.side-links a:hover { color: var(--teal); }

/* ---------- about ---------- */
.about-photo img { width: 100%; max-height: 460px; object-fit: cover; object-position: 57% 35%; }

/* ---------- careers ---------- */
.jobs { display: grid; gap: 28px; }
.job { padding: clamp(24px, 3.5vw, 40px); border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; scroll-margin-top: 110px; }
.job-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.job-head h2 { margin: 0; font-size: clamp(24px, 2.6vw, 30px); }
.job-meta { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.job-meta li { padding: 4px 12px; border-radius: 20px; background: #eef3f5; color: #0a4258; font-size: 13px; font-weight: 600; }
.job h3 { font-size: 17px; margin: 1.4em 0 .8em; }
.job-contact { margin: 1.4em 0 0; padding: 16px 18px; background: var(--panel); border-radius: var(--radius); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.contact-cards { display: grid; gap: 14px; align-content: start; }
.contact-card { display: flex; align-items: flex-start; gap: 18px; padding: 18px 22px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; color: var(--text); text-decoration: none; transition: border-color var(--ease), box-shadow var(--ease); }
a.contact-card:hover { border-color: var(--teal); box-shadow: var(--shadow-card); color: var(--text); }
.contact-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 10px; background: #eef3f5; color: var(--teal); }
.contact-icon .ico { width: 22px; height: 22px; }
.contact-k { display: block; font: 600 12px/1.4 var(--font-body); letter-spacing: 1.8px; text-transform: uppercase; color: var(--muted); }
.contact-v { display: block; font-size: 17px; font-weight: 600; color: var(--teal); line-height: 1.45; }
.contact-hint { display: block; margin-top: 4px; font-size: 14px; color: var(--logo-teal); font-weight: 600; }
.map-frame { min-height: 420px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.map-frame iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.quick-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.quick-link { display: flex; gap: 14px; align-items: flex-start; padding: 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); color: var(--muted); text-decoration: none; font-size: 14.5px; line-height: 1.45; }
.quick-link strong { display: block; color: var(--teal); font-size: 16px; }
.quick-link .ico { color: var(--teal); width: 22px; height: 22px; margin-top: 2px; }
.quick-link:hover { border-color: var(--teal); color: var(--muted); }
@media (max-width: 960px) { .quick-links { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .quick-links { grid-template-columns: 1fr; } }

/* ---------- payment ---------- */
.pay-grid { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .pay-grid { grid-template-columns: 1fr; } }
.pay-card { display: grid; gap: 20px; padding: clamp(24px, 4vw, 36px); border: 1px solid var(--border); border-top: 4px solid var(--teal); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.field label { display: block; margin-bottom: 6px; font: 600 13px/1.4 var(--font-body); letter-spacing: 1.4px; text-transform: uppercase; color: var(--teal); }
.field input { width: 100%; padding: 12px 14px; border: 1px solid #c9d5dc; border-radius: var(--radius); font: 400 17px/1.3 var(--font-body); color: var(--text); background: #fff; }
.field input:focus { outline: none; border-color: var(--teal); box-shadow: var(--ring); }
.field-hint { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.money { display: flex; align-items: center; border: 1px solid #c9d5dc; border-radius: var(--radius); background: #fff; }
.money span { padding-left: 14px; color: var(--muted); font-size: 17px; }
.money input { border: 0; padding-left: 6px; }
.money:focus-within { border-color: var(--teal); box-shadow: var(--ring); }
.money input:focus { box-shadow: none; }
.pay-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 18px; border-radius: var(--radius); background: #eef3f5; }
.pay-total span { font-weight: 600; color: var(--teal); }
.pay-total output { font: 500 28px/1 var(--font-display); color: var(--teal); letter-spacing: .5px; }
.pay-error { margin: 0; padding: 12px 14px; border-radius: var(--radius); background: #fbf6ee; border: 1px solid #ecddc4; color: #7a5418; font-size: 15px; }
.pay-marks { width: 220px; justify-self: center; }

/* ---------- stormwater ---------- */
.sw-summary-line { margin: 0 0 24px; color: var(--muted); }
.sw-list { display: grid; gap: 12px; }
.sw-project { border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; }
.sw-project[open] { border-color: #c9d5dc; box-shadow: var(--shadow-card); }
.sw-project summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; }
.sw-project summary::-webkit-details-marker { display: none; }
.sw-project summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(45deg); transition: transform var(--ease); }
.sw-project[open] summary::after { transform: rotate(-135deg); }
.sw-name { font: 500 19px/1.25 var(--font-display); letter-spacing: .7px; text-transform: uppercase; color: var(--teal); }
.sw-meta { margin-left: auto; font-size: 14px; color: var(--muted); text-align: right; }
.sw-reports { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; margin: 0; padding: 4px 22px 22px; list-style: none; }
.sw-reports a { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-size: 15px; text-decoration: none; }
.sw-reports a:hover { border-color: var(--teal); color: var(--teal); background: var(--panel); }
.sw-reports .ico { color: var(--logo-teal); }
.sw-reports a.is-latest { border-color: var(--teal); color: var(--teal); font-weight: 600; background: var(--panel); }
@media (max-width: 560px) { .sw-meta { display: none; } }

/* ---------- 404 ---------- */
.h-sub { font-size: 22px; }

/* ---------- footer ---------- */
.site-footer { background: var(--band); color: var(--on-dark); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer-brand img { width: 220px; margin-bottom: 10px; }
.footer-tag { font: 600 11px/1.5 var(--font-body); letter-spacing: 1.6px; text-transform: uppercase; color: var(--on-dark); margin-bottom: 22px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer address, .site-footer p { margin: 0 0 14px; line-height: 1.55; }
.footer-h { font-size: 15px; letter-spacing: 1.4px; color: #fff; margin: 0 0 14px; }
.footer-col ul { margin: 0 0 22px; padding: 0; list-style: none; }
.footer-col li { margin-bottom: 8px; line-height: 1.4; }
.footer-col p + .footer-h, .footer-col ul + .footer-h { margin-top: 26px; }
.footer-base { background: rgba(0, 0, 0, .16); border-top: 1px solid var(--on-dark-hair); }
.footer-base-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.footer-base p { margin: 0; font-size: 14px; }
.tagline { font: 500 17px/1.2 var(--font-display) !important; letter-spacing: 1.4px; text-transform: uppercase; color: #fff; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

@media print {
  .topbar, .site-header nav, .navbtn, .cta-band, .video-band, .map-frame, .sidebar { display: none !important; }
  .site-header { position: static; }
  .hero, .masthead, .site-footer { background: #fff !important; color: #000 !important; }
  .hero h1, .masthead h1, .mast-lede, .hero-lede { color: #054159 !important; }
  .hero-media, .mast-media { display: none; }
}
