:root {
  color-scheme: light;
  --ink: #172026;
  --muted: #64717d;
  --line: #dce3e8;
  --paper: #f7f9fb;
  --white: #ffffff;
  --blue: #245a7c;
  --blue-dark: #173d56;
  --teal: #2f8f83;
  --amber: #c78b39;
  --shadow: 0 24px 70px rgba(22, 42, 55, 0.13);
  --soft-shadow: 0 14px 38px rgba(22, 42, 55, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(47, 143, 131, 0.32);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(23, 32, 38, 0.08);
  background: rgba(247, 249, 251, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(22, 42, 55, 0.04);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 14px;
}

nav a {
  border-radius: 999px;
  padding: 7px 10px;
  text-decoration: none;
}

nav a:hover {
  background: rgba(36, 90, 124, 0.08);
  color: var(--blue);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(28px, 6vw, 72px);
  min-height: calc(100vh - 75px);
  align-items: center;
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px) 42px;
  background:
    linear-gradient(90deg, rgba(23, 32, 38, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(23, 32, 38, 0.045) 1px, transparent 1px),
    linear-gradient(120deg, rgba(36, 90, 124, 0.12), transparent 36%),
    linear-gradient(0deg, rgba(255,255,255,0.72), rgba(255,255,255,0.72));
  background-size: 48px 48px, 48px 48px, auto, auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.hero-copy > p:not(.eyebrow),
.section-heading > p,
.contact-band p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.signal-row span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(36, 90, 124, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 750;
  box-shadow: 0 8px 24px rgba(22, 42, 55, 0.06);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button.primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(36, 90, 124, 0.22);
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(22, 42, 55, 0.12);
}

.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  min-height: 460px;
  padding: 18px;
  border: 1px solid rgba(23, 32, 38, 0.08);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-panel::before {
  position: absolute;
  inset: 18px 18px auto auto;
  width: 92px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  content: "";
}

.metric {
  min-height: 108px;
  padding: 18px;
  border-radius: 8px;
  background: #eef5f5;
}

.metric span {
  display: block;
  font-size: 34px;
  font-weight: 850;
  color: var(--blue);
}

.metric small {
  color: var(--muted);
}

.portal-card {
  position: absolute;
  right: 34px;
  bottom: 38px;
  z-index: 2;
  display: grid;
  gap: 7px;
  max-width: 320px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(12px);
}

.portal-card small,
.info-label {
  color: var(--teal);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.portal-card strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.portal-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.office-visual {
  position: absolute;
  inset: 144px 18px 18px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(47, 143, 131, 0.2), rgba(36, 90, 124, 0.38)),
    linear-gradient(180deg, #eaf1f4, #cad8df);
}

.window-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 34px;
}

.window-grid i {
  height: 82px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 0 0 1px rgba(36, 90, 124, 0.08);
}

.desk-line {
  position: absolute;
  right: 38px;
  bottom: 44px;
  left: 38px;
  height: 18px;
  border-radius: 20px;
  background: rgba(23, 32, 38, 0.24);
}

.section {
  padding: clamp(62px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.section-heading {
  margin-bottom: 32px;
}

.service-grid,
.team-grid,
.updates-grid,
.location-grid,
.disclosure-grid,
.client-info {
  display: grid;
  gap: 16px;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-grid article,
.updates-grid article,
.location-grid article,
.disclosure-grid article,
.client-info article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(22, 42, 55, 0.02);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.service-grid article:hover,
.updates-grid article:hover,
.location-grid article:hover,
.disclosure-grid article:hover,
.client-info article:hover,
.person-card:hover {
  border-color: rgba(36, 90, 124, 0.2);
  box-shadow: var(--soft-shadow);
  transform: translateY(-2px);
}

.service-grid p,
.updates-grid p,
.location-grid p,
.disclosure-grid p,
.client-info p {
  color: var(--muted);
  line-height: 1.6;
}

.service-grid small {
  display: block;
  margin-top: 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 750;
}

.service-icon {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 8px;
  background: rgba(47, 143, 131, 0.12);
  color: var(--teal);
  font-weight: 850;
}

.team-section {
  background: #edf3f6;
}

.team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.person-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-height: 142px;
  padding: 20px;
  border: 1px solid rgba(23, 32, 38, 0.08);
  border-radius: 8px;
  background: var(--white);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.avatar {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-weight: 850;
}

.person-card p {
  margin-bottom: 10px;
  color: var(--muted);
}

.person-card a,
.contact-card a,
.location-grid a,
.disclosure-grid a,
.client-info a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.updates {
  display: grid;
  grid-template-columns: minmax(240px, 0.6fr) minmax(0, 1fr);
  gap: 28px;
}

.updates-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.disclosure-section {
  background: var(--white);
}

.disclosure-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.client-section {
  background: #edf3f6;
}

.client-info {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.client-info article {
  position: relative;
  overflow: hidden;
}

.client-info article::after {
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: 88px;
  height: 88px;
  border: 1px solid rgba(36, 90, 124, 0.12);
  border-radius: 999px;
  content: "";
}

time {
  display: block;
  margin-bottom: 16px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
}

.locations {
  background: var(--white);
}

.location-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

address {
  margin: 14px 0;
  color: var(--muted);
  font-style: normal;
  line-height: 1.6;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 24px;
  align-items: center;
  padding: clamp(52px, 7vw, 76px) clamp(20px, 5vw, 72px);
  background: var(--ink);
  color: var(--white);
}

.contact-band .eyebrow {
  color: #77d3c8;
}

.contact-band p {
  color: rgba(255, 255, 255, 0.66);
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.contact-card a {
  color: var(--white);
}

.contact-card span {
  color: rgba(255, 255, 255, 0.58);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(20px, 5vw, 72px);
  background: #10171c;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.training-note {
  color: rgba(255, 255, 255, 0.42);
}

.site-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-status.safe {
  border: 1px solid rgba(119, 211, 200, 0.22);
  background: rgba(119, 211, 200, 0.1);
  color: rgba(189, 244, 237, 0.86);
}

.training-note a {
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
}

.training-note a:hover {
  color: var(--white);
}

@media (max-width: 980px) {
  .hero,
  .updates,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .service-grid,
  .team-grid,
  .updates-grid,
  .disclosure-grid,
  .client-info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  h1 {
    font-size: 42px;
  }

  .hero-panel {
    grid-template-columns: 1fr;
    min-height: 640px;
  }

  .office-visual {
    top: 372px;
  }

  .portal-card {
    right: 18px;
    bottom: 26px;
    left: 18px;
    max-width: none;
  }

  .service-grid,
  .team-grid,
  .updates-grid,
  .location-grid,
  .disclosure-grid,
  .client-info {
    grid-template-columns: 1fr;
  }

  .person-card {
    flex-direction: column;
  }

  footer {
    flex-direction: column;
  }
}
