/* Zips Management — site styles. No build step. */
:root {
  --navy: #1C2B3D;
  --navy-deep: #142131;
  --navy-mid: #2A3B50;
  --line-dark: #34475E;
  --line-dark-2: #4A5E77;
  --line-dark-3: #2C3E54;
  --ink: #0F1A27;
  --ink-2: #2E3A48;
  --muted: #4B5868;
  --muted-2: #5E6B7B;
  --on-dark: #C2CCD8;
  --on-dark-2: #D3DBE5;
  --on-dark-3: #AEBACA;
  --on-dark-4: #C9D3DF;
  --bg: #F3F5F8;
  --white: #FFFFFF;
  --rule: #DCE2EA;
  --rule-2: #E8ECF1;
  --field: #BAC4D0;
  --star: #2ECC71;
  --link: #1A6B3C;
  --link-hover: #0F4A28;
  --display: 'Montserrat', system-ui, sans-serif;
  --body: 'Figtree', system-ui, sans-serif;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--link); }
a:hover { color: var(--link-hover); }
h1, h2, h3, h4, p { overflow-wrap: break-word; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--white); color: var(--navy); padding: 12px 16px; border-radius: 4px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--star); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Eyebrow label with star */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 12px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
.eyebrow svg { flex: none; width: 14px; height: 14px; fill: var(--star); }
.on-dark .eyebrow { color: var(--on-dark-4); }

.h2 {
  margin: 0; font-family: var(--display); font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance;
}
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 680px; }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-family: var(--display);
  font-weight: 700; font-size: 14px; letter-spacing: 0.04em; padding: 16px 26px; border-radius: 4px;
}
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--on-dark-2); color: var(--navy); }
.btn-ghost { color: var(--white); border: 1px solid var(--line-dark-2); padding: 15px 26px; }
.btn-ghost:hover { color: var(--white); border-color: var(--on-dark-3); }
.btn-star { background: var(--star); color: var(--ink); }
.btn-star:hover { background: #4ADE80; color: var(--ink); }

/* ---------- Header ---------- */
.site-header { background: var(--navy); border-bottom: 1px solid var(--line-dark-3); }
.site-header .wrap {
  padding-top: 14px; padding-bottom: 14px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; padding: 4px 0; }
.brand img { height: 60px; width: auto; display: block; }
.primary-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; }
.primary-nav a {
  color: var(--on-dark-2); text-decoration: none; font-family: var(--display);
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; padding: 14px 0;
}
.primary-nav a:hover { color: var(--white); }
.primary-nav a.nav-cta {
  background: var(--star); color: var(--ink); font-weight: 800; letter-spacing: 0.14em;
  padding: 14px 20px; border-radius: 4px;
}
.primary-nav a.nav-cta:hover { background: #4ADE80; color: var(--ink); }

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: var(--white); }
.hero-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(520px, 100%), 1fr)); min-height: 660px;
}
.hero-copy {
  padding: 96px 56px 72px max(24px, calc((100vw - var(--wrap)) / 2 + 24px));
  display: flex; flex-direction: column; justify-content: center; gap: 28px; min-width: 0;
}
.hero-copy .eyebrow { color: var(--on-dark-4); }
.hero h1 {
  margin: 0; font-family: var(--display); font-size: clamp(38px, 5vw, 64px); line-height: 1.06;
  font-weight: 800; letter-spacing: -0.025em; max-width: 620px; text-wrap: balance;
}
.hero-lede { margin: 0; font-size: 19px; line-height: 1.6; color: var(--on-dark); max-width: 540px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { display: flex; flex-wrap: wrap; margin-top: 24px; border-top: 1px solid var(--line-dark); }
.hero-stats > div { flex: 1 1 120px; padding: 24px 24px 0 0; display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-family: var(--display); font-size: 40px; font-weight: 800; letter-spacing: -0.02em; }
.stat-label { font-size: 14px; color: var(--on-dark-3); }
.hero-media { position: relative; min-height: 420px; background: var(--navy-mid); overflow: hidden; }
.hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; display: block;
}
.hero-caption {
  position: absolute; left: 24px; bottom: 24px; background: var(--navy); color: var(--white);
  padding: 10px 14px; border-radius: 4px; font-size: 13px; font-weight: 500;
}

/* ---------- Approach ---------- */
.approach { background: var(--white); }
.approach .wrap { padding-top: 112px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 56px; }
.approach-top {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 40px 64px; align-items: center;
}
.approach-intro { display: flex; flex-direction: column; gap: 20px; max-width: 560px; }
.approach-intro p { margin: 0; font-size: 18px; line-height: 1.65; color: var(--muted); max-width: 460px; }
.orbit { display: flex; justify-content: center; }
.orbit svg { width: 100%; max-width: 680px; height: auto; display: block; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 32px 48px; }
.pillar { border-top: 2px solid var(--navy); padding-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.pillar-num { font-family: var(--display); font-size: 13px; font-weight: 800; letter-spacing: 0.14em; color: var(--muted); }
.pillar h3 { margin: 0; font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.pillar p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--muted); }

/* ---------- Story band ---------- */
.story { background: url(../img/story-band.jpg) center / cover no-repeat; }
.story-overlay { background: rgba(18, 29, 43, 0.86); color: var(--white); }
.story .wrap { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 48px; }
.story h2 {
  margin: 0; font-family: var(--display); font-size: clamp(26px, 3vw, 36px); line-height: 1.15;
  font-weight: 800; letter-spacing: -0.02em; max-width: 720px; text-wrap: balance;
}
.timeline {
  margin: 0; padding: 0; list-style: none; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 32px;
}
.timeline li { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line-dark-2); }
.timeline-label {
  font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--star);
}
.timeline p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--on-dark-2); }

/* ---------- Services ---------- */
.services { background: var(--bg); }
.services .wrap { padding-top: 112px; padding-bottom: 112px; display: flex; flex-direction: column; gap: 56px; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 24px; }
.service-card { background: var(--white); border-radius: 6px; padding: 36px 32px; display: flex; flex-direction: column; gap: 24px; }
.service-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  border-bottom: 1px solid var(--rule); padding-bottom: 20px;
}
.service-head h3 { margin: 0; font-family: var(--display); font-size: 24px; font-weight: 800; letter-spacing: -0.01em; }
.service-head span { font-size: 14px; color: var(--muted-2); }
.service-list { display: flex; flex-direction: column; gap: 20px; }
.service-item { display: flex; flex-direction: column; gap: 4px; }
.service-item h4 { margin: 0; font-size: 17px; font-weight: 600; }
.service-item p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }

/* ---------- Markets ---------- */
.markets { background: var(--white); }
.markets .wrap { padding-top: 112px; padding-bottom: 112px; display: flex; flex-direction: column; gap: 48px; }
.market-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: 24px; }
.market-card { background: var(--navy); color: var(--white); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.market-card img { width: 100%; height: auto; aspect-ratio: 1800 / 779; object-fit: cover; display: block; }
.market-body { padding: 32px; display: flex; flex-direction: column; gap: 16px; flex-grow: 1; }
.market-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.market-title h3 { margin: 0; font-family: var(--display); font-size: 28px; font-weight: 800; letter-spacing: -0.01em; }
.market-tag { font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-dark-4); }
.market-tag.is-growth { color: var(--star); }
.market-body p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--on-dark); }
.market-stats { display: flex; flex-wrap: wrap; gap: 16px 40px; border-top: 1px solid var(--line-dark); padding-top: 20px; margin-top: auto; }
.market-stats > div { display: flex; flex-direction: column; gap: 2px; }
.market-stats .stat-num { font-size: 30px; letter-spacing: 0; }

/* ---------- Locations ---------- */
.locations { background: var(--bg); }
.locations .wrap { padding-top: 112px; padding-bottom: 112px; display: flex; flex-direction: column; gap: 32px; }
.locations-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.locations-head .section-head { max-width: 640px; }
.loc-count { font-size: 14px; color: var(--muted-2); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
  min-height: 44px; padding: 0 18px; border-radius: 4px; font-family: var(--body); font-size: 15px; font-weight: 600;
  cursor: pointer; background: var(--white); color: var(--navy); border: 1px solid var(--field);
}
.filters button:hover { border-color: var(--navy); }
.filters button[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.loc-table { background: var(--white); border-radius: 6px; overflow: hidden; }
.loc-row {
  display: grid; grid-template-columns: 2fr 1.6fr 1fr; gap: 16px; align-items: center;
  padding: 18px 28px; border-bottom: 1px solid var(--rule-2);
}
.loc-row.loc-header {
  padding-top: 14px; padding-bottom: 14px; border-bottom-color: var(--rule);
  font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-2);
}
.loc-list { margin: 0; padding: 0; list-style: none; }
.loc-name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.loc-name strong { font-size: 17px; font-weight: 600; }
.loc-name span { font-size: 14px; color: var(--muted-2); }
.loc-city { font-size: 15px; color: var(--ink-2); }
.badge { display: inline-block; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 4px; white-space: nowrap; }
.badge-op { background: #DDF4E6; color: #145C33; }
.badge-dev { background: #FCEFD6; color: #774A0C; }
.badge-div { background: #E7EAEE; color: #465260; }

@media (max-width: 640px) {
  .loc-row.loc-header { display: none; }
  .loc-row { grid-template-columns: 1fr auto; gap: 6px 12px; padding: 16px 20px; }
  .loc-name { grid-column: 1; grid-row: 1; }
  .loc-city { grid-column: 1; grid-row: 2; font-size: 14px; }
  .loc-status { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
}

/* ---------- Portal ---------- */
.portal { background: var(--navy); color: var(--white); }
.portal .wrap { padding-top: 104px; padding-bottom: 104px; display: flex; flex-wrap: wrap; align-items: center; gap: 48px 72px; }
.portal-copy { flex: 1.4 1 min(480px, 100%); display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.portal-copy p { margin: 0; font-size: 18px; line-height: 1.65; color: var(--on-dark); max-width: 580px; }
.doc-chips { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.doc-chips li { font-size: 14px; padding: 8px 14px; border: 1px solid var(--line-dark-2); border-radius: 4px; color: var(--on-dark-2); }
.portal-card {
  flex: 1 1 min(320px, 100%); display: flex; flex-direction: column; gap: 16px; padding: 36px;
  border: 1px solid var(--line-dark); border-radius: 6px; min-width: 0;
}
.portal-card svg { width: 32px; height: 32px; }
.portal-card .btn-star {
  display: block; text-align: center; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 18px 24px;
}
.portal-card p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--on-dark-3); }
.portal-card p a { color: var(--white); }

/* ---------- Contact ---------- */
.contact { background: var(--white); }
.contact .wrap { padding-top: 112px; padding-bottom: 112px; display: flex; flex-wrap: wrap; gap: 56px 80px; }
.contact-info { flex: 1 1 min(340px, 100%); display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.contact-info .section-head p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--muted); }
.contact-dl { margin: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-dl dt { font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-2); }
.contact-dl dd { margin: 4px 0 0; font-size: 18px; overflow-wrap: anywhere; }
.relationship-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--white); border: 1px solid #C9D2DC; border-radius: 6px; }
.relationship-card h3 { margin: 0; font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: -0.01em; color: var(--navy); }
.relationship-card p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.relationship-card a.outreach { align-self: flex-start; font-family: var(--display); font-size: 15px; font-weight: 700; }
.relationship-card .fine { margin-top: 4px; font-size: 13px; line-height: 1.5; color: var(--muted-2); }

.contact-form { flex: 1.3 1 min(440px, 100%); display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid var(--field); border-radius: 4px;
  font-size: 16px; font-family: inherit; background: var(--white); color: var(--ink);
}
.field select { padding: 0 12px; }
.field textarea { padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: 2px solid var(--star); outline-offset: 0; }
/* Spam trap: off-screen, not display:none, so naive bots still fill it */
.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.submit-btn {
  align-self: flex-start; min-height: 52px; padding: 0 32px; background: var(--navy); color: var(--white);
  border: none; border-radius: 4px; font-family: var(--display); font-size: 14px; font-weight: 700; letter-spacing: 0.06em; cursor: pointer;
}
.submit-btn:hover { background: var(--navy-deep); }
.submit-btn[disabled] { opacity: 0.6; cursor: progress; }
.form-status { margin: 0; font-size: 15px; line-height: 1.5; min-height: 1.5em; }
.form-status.is-ok { color: #145C33; }
.form-status.is-error { color: #A12A1E; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-dark-3); }
.site-footer .wrap { padding-top: 72px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 48px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 40px 64px; justify-content: space-between; align-items: flex-start; }
.footer-top img { width: min(360px, 100%); height: auto; display: block; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.footer-nav a { color: var(--on-dark-2); text-decoration: none; font-size: 15px; padding: 8px 0; }
.footer-nav a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--line-dark-3); padding-top: 24px; display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 12px; font-size: 13px;
}
.footer-bottom .legal-links { display: flex; gap: 16px; }
.footer-bottom a { color: var(--on-dark-3); }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Simple pages (legal, 404) ---------- */
.page-main { background: var(--white); }
.page-main .wrap { max-width: 820px; padding-top: 80px; padding-bottom: 96px; }
.page-main h1 { margin: 0 0 12px; font-family: var(--display); font-size: clamp(32px, 4vw, 44px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.page-main h2 { margin: 40px 0 12px; font-family: var(--display); font-size: 22px; font-weight: 700; }
.page-main p, .page-main li { font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.page-main .meta { color: var(--muted-2); font-size: 14px; margin: 0 0 32px; }
.draft-banner {
  margin: 0 0 32px; padding: 16px 20px; border-radius: 6px; background: #FCEFD6; color: #5C3908;
  border: 1px solid #E9C98B; font-size: 15px; line-height: 1.55;
}
.draft-banner strong { display: block; font-family: var(--display); letter-spacing: 0.08em; text-transform: uppercase; font-size: 13px; margin-bottom: 4px; }
.notfound { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.notfound p { margin: 0; }
.notfound h1 { margin: 0; }
.btn-outline { border: 1px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* ---------- Phone tuning ---------- */
@media (max-width: 600px) {
  .brand img { height: 44px; }
  .primary-nav { gap: 0 20px; }
  .hero-grid { min-height: 0; }
  .hero-copy { padding: 64px 24px 56px; }
  .hero-lede { font-size: 17px; }
  .hero-media { min-height: 300px; }
  .approach .wrap, .services .wrap, .markets .wrap, .locations .wrap, .contact .wrap { padding-top: 72px; padding-bottom: 72px; }
  .story .wrap, .portal .wrap { padding-top: 64px; padding-bottom: 64px; }
  .service-card { padding: 28px 22px; }
  .market-body { padding: 24px 22px; }
  .market-stats { gap: 16px 28px; }
  .portal-card { padding: 28px 22px; }
  .stat-num { font-size: 34px; }
}
