/* Self-hosted fonts (SIL Open Font License; see fonts/OFL-*.txt). No Google Fonts request. */
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/figtree-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/figtree-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Libre Baskerville"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/libre-baskerville-latin-700-normal.woff2") format("woff2"); }

/* Colors taken from the blue lettering on the office building sign */
:root {
  --navy: #1E54B0;
  --navy-dark: #0F2F63;
  --teal: #1A4E9F;
  --teal-light: #9DBDF0;
  --ink: #1F2D3D;
  --muted: #4A5B6C;
  --line: #D9E2E9;
  --wash: #EEF3F6;
  --white: #FFFFFF;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
}

a { color: var(--teal); }
a:hover { color: var(--navy); }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--navy); color: var(--white); padding: 8px 14px;
}
.skip-link:focus { left: 16px; top: 16px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px;
}
.wordmark { text-decoration: none; color: var(--navy); display: inline-block; }
/* Wordmark echoes the bold serif capitals on the building sign */
.wordmark .name {
  display: block; font-family: "Libre Baskerville", Georgia, serif; font-weight: 700;
  font-size: 20px; line-height: 1.15; text-transform: uppercase; letter-spacing: 0.5px;
}
.wordmark .place {
  display: block; font-weight: 600; font-size: 11px; letter-spacing: 4px;
  text-transform: uppercase; color: var(--muted); margin-top: 4px;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.site-nav a {
  display: inline-block; padding: 10px 14px; border-radius: 8px;
  text-decoration: none; font-weight: 600; color: var(--navy); min-height: 44px;
}
.site-nav a:hover { background: var(--wash); }
.site-nav a[aria-current="page"] { background: var(--navy); color: var(--white); }

/* Hero */
.hero { background: var(--navy-dark); color: var(--white); }
.hero .wrap {
  padding-top: 56px; padding-bottom: 56px;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center;
}
.hero-photo {
  margin: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; background: #0A2148;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-photo { aspect-ratio: 4 / 3; }
}
.office-photo { margin: 0 0 20px; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; }
.office-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; }
.hero h1 {
  margin: 0 0 16px; font-size: clamp(32px, 5vw, 52px); line-height: 1.08; letter-spacing: -0.8px; max-width: 760px;
}
.hero p { margin: 0 0 28px; font-size: 19px; max-width: 640px; color: #DCE7F0; }
.btn {
  display: inline-block; padding: 13px 22px; border-radius: 10px; font-weight: 700;
  text-decoration: none; min-height: 44px; border: 2px solid transparent; font-size: 16px;
  font-family: inherit; cursor: pointer;
}
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--wash); color: var(--navy); }
.btn-outline { border-color: var(--white); color: var(--white); margin-left: 10px; }
.btn-outline:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-dark); color: var(--white); }

/* Sections */
section.block { padding: 56px 0; }
section.block.alt { background: var(--wash); }
h2 { color: var(--navy); font-size: 30px; line-height: 1.2; margin: 0 0 16px; letter-spacing: -0.3px; }
h3 { color: var(--navy); font-size: 20px; margin: 28px 0 8px; }
.lede { font-size: 19px; color: var(--muted); max-width: 720px; margin-top: 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 820px) {
  .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); }
}

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 24px;
}
.card h3 { margin-top: 0; }
.card p { margin: 0; color: var(--muted); }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .label {
  display: block; font-size: 13px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--muted);
}

.notice {
  border: 1px solid #F0C9BD; background: #FFF6F3; border-radius: 12px; padding: 16px 20px; margin: 0 0 24px;
}
.notice strong { color: #8A3420; }

.btn:focus, a:focus { outline: 3px solid var(--teal-light); outline-offset: 2px; }

/* Policy text */
.policy { max-width: 820px; }
.policy h2 { margin-top: 0; }
.policy p, .policy li { color: var(--ink); }
.policy ul { padding-left: 22px; }
.policy .updated { color: var(--muted); font-size: 15px; }
.keyword {
  font-weight: 700; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  background: var(--wash); padding: 1px 6px; border-radius: 4px;
}

/* Footer */
.site-footer { background: var(--navy-dark); color: #C9D6E2; padding: 40px 0; font-size: 15px; }
.site-footer a { color: var(--white); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer .emergency { width: 100%; border-top: 1px solid #2A4A6B; padding-top: 18px; }

/* ---------- Getting here: map + directions ---------- */
.map-wrap {
  border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
  background: #DDE6EE; width: 100%; height: 420px;
}
@media (max-width: 820px) { .map-wrap { height: 320px; } }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.btn-secondary { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--wash); color: var(--navy); }
.btn .icon { width: 18px; height: 18px; vertical-align: -3px; margin-right: 8px; }
.address-link { color: var(--ink); text-decoration-color: #9FB1C1; }
.address-link:hover { color: var(--navy); }
.small-note { font-size: 14px; color: var(--muted); margin: 12px 0 0; }

/* ---------- Mobile call / directions bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 820px) {
  .mobile-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--white); border-top: 1px solid var(--line);
    box-shadow: 0 -4px 16px rgba(15, 47, 99, 0.12);
  }
  .mobile-bar a {
    flex: 1 1 0; display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; border-radius: 10px; font-weight: 700; text-decoration: none; font-size: 16px;
  }
  .mobile-bar .call { background: var(--navy); color: var(--white); }
  .mobile-bar .dir { background: var(--wash); color: var(--navy); border: 1px solid var(--line); }
  .mobile-bar svg { width: 18px; height: 18px; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  .btn-outline { margin-left: 0; }
  .hero .btn { margin: 0 8px 10px 0; }
}

/* ---------- Footer contact line ---------- */
.site-footer address { font-style: normal; line-height: 1.6; }

/* ---------- Placeholder box (pre-launch content the client must supply) ---------- */
.todo-box {
  border: 2px dashed #C4593F; background: #FFF6F3; border-radius: 12px; padding: 20px; color: #6B2A19;
}

/* ---------- Respect reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
html { scroll-behavior: smooth; }
:target { scroll-margin-top: 16px; }

/* ---------- Print: directions and policies print cleanly ---------- */
@media print {
  .site-nav, .mobile-bar, .skip-link, .hero-photo, .map-wrap, form, .notice, .btn-row { display: none !important; }
  body { padding: 0; font-size: 12pt; color: #000; }
  .hero, .site-footer { background: none; color: #000; }
  .hero h1, .hero p { color: #000; }
  section.block { padding: 12pt 0; }
  a[href^="tel:"]::after { content: ""; }
}
