@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/SourceSans3-latin-wght.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #00214e;
  --navy-deep: #001536;
  --navy-mid: #0a3368;
  --teal: #1c6e78;
  --teal-dark: #15565e;
  --teal-soft: #e6f2f3;
  --ink: #1c2633;
  --slate: #4a5563;
  --muted: #6b7580;
  --line: #d8dee6;
  --paper: #f4f6f8;
  --white: #ffffff;
  --shadow: 0 1px 2px rgba(0, 33, 78, 0.06), 0 8px 24px rgba(0, 33, 78, 0.06);
  --radius: 12px;
  --max: 1080px;
  --font: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: var(--white);
  color: var(--navy);
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  font-weight: 600;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 4.25rem;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--navy);
  text-decoration: none;
  min-width: 0;
}

.wordmark:hover {
  color: var(--navy);
}

.wordmark-logo, .wordmark svg {
  width: auto;
  height: 40px;
  flex-shrink: 0;
}

.wordmark-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.wordmark-name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--navy);
}

.wordmark-sub {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: 0.15rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.15rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

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

.nav .btn {
  margin-left: 0.35rem;
  color: var(--white);
}

.nav .btn:hover {
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--navy);
  line-height: 1.2;
}

.btn:hover {
  background: var(--navy-mid);
  color: var(--white);
  border-color: var(--navy-mid);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-light:hover {
  background: var(--teal-soft);
  color: var(--navy);
  border-color: var(--teal-soft);
}

/* Hero */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.hero .wrap {
  padding: 4.5rem 0 5.25rem;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9ed4d8;
  margin: 0 0 1rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.6vw, 3.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 18ch;
}

.hero .lede {
  margin: 0 0 1.75rem;
  max-width: 38rem;
  font-size: 1.2rem;
  line-height: 1.55;
  color: #d7e0ea;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 56px;
  color: var(--white);
  pointer-events: none;
}

/* Shared sections */
.section {
  padding: 4.25rem 0;
}

.section h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.2;
}

.section-intro {
  margin: 0 0 2.25rem;
  max-width: 38rem;
  color: var(--slate);
}

/* Services */
.services {
  background: var(--paper);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.4rem;
  box-shadow: var(--shadow);
}

.card-icon {
  width: 36px;
  height: 36px;
  color: var(--teal);
  margin-bottom: 0.85rem;
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.12rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  color: var(--slate);
  font-size: 0.98rem;
}

/* Who we serve */
.audience-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.audience-list li {
  background: var(--teal-soft);
  color: var(--navy);
  border-radius: var(--radius);
  padding: 1.15rem 1rem;
  font-weight: 600;
  text-align: center;
  border: 1px solid #d3e6e8;
}

/* About */
.about {
  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.about p {
  margin: 0 0 1rem;
  color: var(--slate);
}

.about p:last-child {
  margin-bottom: 0;
}

.about-aside {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
}

.about-aside .label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9ed4d8;
  margin: 0 0 0.4rem;
}

.about-aside .place {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.about-aside .note {
  margin: 0.55rem 0 0;
  color: #d7e0ea;
  font-size: 0.98rem;
}

/* Contact */
.contact-box {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem 2rem;
  box-shadow: var(--shadow);
}

.contact a.email {
  display: inline-block;
  margin: 0.35rem 0 0.85rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}

.contact a.email:hover {
  color: var(--teal);
}

.contact .place {
  margin: 0;
  color: var(--slate);
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: #c5ced8;
  padding: 1.6rem 0;
  font-size: 0.92rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

.site-footer p {
  margin: 0;
}

/* Breakpoints */
@media (max-width: 900px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .audience-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .audience-list li:last-child {
    grid-column: 1 / -1;
  }
  .about-grid,
  .contact-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(var(--max), calc(100% - 1.75rem));
  }
  .site-header .wrap {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0.75rem 0 0.85rem;
    min-height: 0;
    gap: 0.65rem;
  }
  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 0.65rem 0.9rem;
  }
  .nav .btn {
    margin-left: 0;
  }
  .hero .wrap {
    padding: 3rem 0 4rem;
  }
  .hero h1 {
    max-width: none;
  }
  .section {
    padding: 3.25rem 0;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .audience-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .audience-list li:last-child {
    grid-column: 1 / -1;
  }
  .contact-box {
    padding: 1.4rem 1.2rem;
  }
  .contact a.email.phone { display: block; margin-top: 0; }

.contact a.email {
    font-size: 1.15rem;
    overflow-wrap: anywhere;
  }
}

.contact a.email { display: block; width: fit-content; }
.contact a.email + a.email.phone { margin-top: -0.5rem; }
.about-aside .place { color: #fff; }

.about-side { display: flex; flex-direction: column; gap: 1.25rem; }
.owner-photo { margin: 0; }
.owner-photo img { display: block; width: 100%; max-width: 320px; height: auto; border-radius: 12px; box-shadow: 0 6px 20px rgba(0,33,78,0.15); }
.owner-photo figcaption { margin-top: 0.5rem; font-weight: 600; color: var(--navy); }
