@font-face {
  font-family: "New Astro Soft";
  src: url("../assets/fonts/fonnts.com-New_Astro_Soft_Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "New Astro Soft";
  src: url("../assets/fonts/fonnts.com-New_Astro_Soft_Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "New Astro Soft";
  src: url("../assets/fonts/fonnts.com-New_Astro_Soft_SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --steel-blue: #395162;
  --steel-blue-dark: #283b47;
  --warm-stone: #8f836c;
  --warm-stone-dark: #766c59;
  --accent-red: #c0392b;
  --bg: #ffffff;
  --bg-muted: #f5f3ee;
  --text: #22303a;
  --text-muted: #55636c;
  --border: rgba(57, 81, 98, 0.14);
  --font-heading: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Montserrat", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.wrap {
  width: min(1080px, calc(100% - 2.5rem));
  margin: 0 auto;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  color: var(--steel-blue);
  font-weight: 700;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: var(--steel-blue);
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0;
}

.logo {
  height: 88px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  gap: 1.75rem;
}

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

.site-nav a:hover {
  color: var(--steel-blue);
}

/* Hero */

.hero {
  padding: 4.5rem 0 3.5rem;
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  max-width: 32ch;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.2;
}

.lede {
  max-width: 56ch;
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.location-note {
  max-width: 56ch;
  margin-top: 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.eyebrow {
  color: var(--warm-stone-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero .eyebrow {
  margin-bottom: 0.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 2.85rem;
  margin-top: 1.75rem;
  padding: 0.65rem 1.1rem;
  background: var(--steel-blue);
  color: #fff;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  background: var(--steel-blue-dark);
}

/* Sections */

.section {
  padding: 3.5rem 0;
}

.section-muted {
  background: var(--bg-muted);
}

.section h2 {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.4rem;
  margin-bottom: 1.75rem;
}

.section-intro {
  max-width: 66ch;
  margin: -0.55rem 0 1.75rem;
  color: var(--text-muted);
}

.mark {
  width: 0.85rem;
  height: 0.85rem;
  background: var(--warm-stone);
  flex: none;
}

.services-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card {
  padding: 1rem 1.15rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--steel-blue);
  border-radius: 4px;
  color: var(--text);
}

.service-card h3,
.approach-grid h3 {
  margin: 0;
  color: var(--steel-blue);
  font-size: 1rem;
}

.service-card p,
.approach-grid p {
  margin-top: 0.45rem;
  color: var(--text-muted);
  font-size: 0.93rem;
}

.approach-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-copy {
  max-width: 68ch;
}

.about-copy p + p {
  margin-top: 1rem;
}

.about-copy h3 {
  margin-top: 1.75rem;
  font-size: 1.1rem;
}

.about-copy h3 + p {
  margin-top: 0.5rem;
}

.section-contact {
  border-top: 1px solid var(--border);
  background: var(--steel-blue-dark);
}

.section-contact h2 {
  color: #fff;
}

.section-contact .eyebrow {
  color: #d8d2c6;
}

.contact-layout {
  display: grid;
  align-items: center;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.5fr) minmax(15rem, 0.9fr);
}

.contact-copy,
.contact-actions p {
  margin-top: 1rem;
  color: #e8edf0;
}

.contact-actions {
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.contact-actions .button {
  width: 100%;
  justify-content: center;
  margin: 0;
  background: var(--warm-stone-dark);
}

.contact-actions .button:hover,
.contact-actions .button:focus-visible {
  background: #5f5747;
}

.contact-actions a:not(.button) {
  color: #fff;
}

address {
  font-style: normal;
  color: var(--text-muted);
}

/* Policy pages */

.policy {
  max-width: 72ch;
}

.policy h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.policy-updated {
  margin-top: 0.4rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.policy h2 {
  margin: 2.25rem 0 0.75rem;
  font-size: 1.3rem;
}

.policy h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.05rem;
}

.policy > p + p,
.policy-updated + p {
  margin-top: 1rem;
}

.policy ul {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
}

.policy li + li {
  margin-top: 0.4rem;
}

.policy ul + p {
  margin-top: 1rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
}

.site-footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.site-footer p + p {
  margin-top: 0.3rem;
}

.site-footer a {
  color: var(--steel-blue);
  font-weight: 600;
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .services-grid,
  .approach-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}
