:root {
  --navy: #0c2748;
  --navy-deep: #081c34;
  --teal: #1d6a62;
  --sage: #4f7d5c;
  --gold: #c4a46a;
  --tan: #d8cbb4;
  --cream: #f3eee4;
  --paper: #faf7f1;
  --ink: #1c2430;
  --muted: #5a6470;
  --line: rgba(12, 39, 72, 0.12);
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(8, 28, 52, 0.12);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--navy);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.15rem, 5.4vw, 4.1rem);
  margin: 0.2rem 0 1rem;
}

h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  margin: 0.2rem 0 0.8rem;
}

h3 {
  font-size: 1.35rem;
  margin: 0 0 0.45rem;
}

p {
  margin: 0 0 1rem;
}

ul,
ol,
address {
  margin: 0;
  padding: 0;
}

address {
  font-style: normal;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  padding: 0.6rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lead,
.section-lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 40rem;
}

.section-lead {
  margin-bottom: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.55rem 1.25rem;
  border-radius: 2px;
  border: 1px solid transparent;
  font: 600 0.95rem/1 var(--sans);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-deep);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-ghost:hover {
  background: var(--navy);
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 241, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(8, 28, 52, 0.06);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--navy);
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}

.brand-text span {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sage);
}

.nav-toggle {
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  background: var(--white);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.site-nav {
  display: none;
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 0.7rem;
  flex-direction: column;
  gap: 0.15rem;
  z-index: 20;
}

.site-nav.is-open {
  display: flex;
}

.site-nav a {
  color: var(--navy);
  text-decoration: none;
  padding: 0.7rem 0.8rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--cream);
}

.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  text-align: center;
  margin-top: 0.35rem;
}

.motto-bar {
  margin: 0;
  padding: 0.4rem 1rem 0.55rem;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  border-top: 1px solid var(--line);
  background: #efe8d8;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 2.2rem 0 3rem;
  background:
    linear-gradient(180deg, #efe8d8 0%, var(--paper) 72%);
}

.hero-pattern {
  position: absolute;
  inset: auto -8% -18% auto;
  width: 70%;
  height: 70%;
  background:
    radial-gradient(circle at 70% 40%, rgba(196, 164, 106, 0.18), transparent 55%),
    radial-gradient(circle at 30% 80%, rgba(29, 106, 98, 0.1), transparent 50%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-emblem {
  justify-self: center;
}

.hero-emblem img {
  width: min(280px, 72vw);
  height: auto;
  filter: drop-shadow(0 16px 30px rgba(8, 28, 52, 0.12));
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.4rem 0 1.5rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
}

.pill-row li {
  padding: 0.32rem 0.7rem;
  border: 1px solid var(--tan);
  background: rgba(255, 255, 255, 0.7);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
}

.stats {
  background: var(--navy);
  color: var(--white);
  padding: 1.8rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem 1rem;
}

.stats article {
  text-align: center;
}

.stat-num {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
}

.feature {
  padding: 2.5rem 0 0.5rem;
}

.feature-grid {
  display: grid;
  gap: 1.2rem;
}

.feature-photo img {
  width: 100%;
  height: min(52vw, 420px);
  object-fit: cover;
  border: 1px solid var(--tan);
}

.feature-quote {
  margin: 0;
  padding: 0.2rem 0 0;
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
}

.feature-quote p {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-style: italic;
  line-height: 1.35;
  color: var(--navy);
  margin: 0;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--cream);
}

.section-head {
  margin-bottom: 2rem;
  max-width: 40rem;
}

.split {
  display: grid;
  gap: 1.4rem;
}

.prose p {
  color: #3d4652;
}

.mission {
  margin-top: 1.3rem;
  padding: 1.1rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--tan);
  border-left: 3px solid var(--teal);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.4;
}

.work-grid {
  display: grid;
  gap: 1rem;
}

.work-card {
  background: var(--white);
  padding: 1.3rem 1.2rem 1.15rem;
  border: 1px solid rgba(12, 39, 72, 0.08);
  border-top: 3px solid var(--teal);
}

.work-icon {
  display: inline-flex;
  width: 2.2rem;
  height: 2.2rem;
  color: var(--navy);
  margin-bottom: 0.7rem;
}

.work-icon svg {
  width: 100%;
  height: 100%;
}

.work-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.banner {
  margin: 0;
  position: relative;
}

.banner img {
  width: 100%;
  height: min(62vw, 460px);
  object-fit: cover;
}

.banner figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.6rem 1.2rem 1rem;
  background: linear-gradient(transparent, rgba(8, 28, 52, 0.78));
  color: var(--white);
  font-size: 0.92rem;
}

.steps {
  list-style: none;
  display: grid;
  gap: 1.3rem;
  counter-reset: none;
}

.steps li {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.3rem 1.2rem 1.2rem;
}

.step-num {
  display: block;
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.55rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.chapter-grid {
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.chapter-grid li {
  background: var(--white);
  padding: 1.05rem 1.1rem;
  border-left: 3px solid var(--gold);
}

.chapter-grid h3 {
  margin-bottom: 0.2rem;
}

.chapter-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.voices {
  display: grid;
  gap: 1rem;
}

.voice {
  margin: 0;
  background: var(--cream);
  padding: 1.4rem 1.25rem 1.2rem;
}

.voice blockquote {
  margin: 0 0 1.1rem;
}

.voice blockquote p {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.4;
  margin: 0;
}

.voice figcaption {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.voice strong {
  display: block;
  color: var(--navy);
  font-size: 0.98rem;
}

.avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.avatar-teal {
  background: var(--teal);
}

.avatar-gold {
  background: #9a7a3d;
}

.contact-section {
  background:
    linear-gradient(180deg, var(--paper), #efe8d8);
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

.contact-details {
  list-style: none;
  display: grid;
  gap: 1.15rem;
  margin-top: 1.6rem;
}

.contact-details span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.2rem;
}

.contact-details a,
.contact-details address {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.contact-details a:hover {
  color: var(--teal);
}

.contact-details small {
  display: block;
  font-weight: 400;
  color: var(--muted);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--tan);
  padding: 1.3rem 1.15rem 1.2rem;
  display: grid;
  gap: 0.85rem;
}

.field {
  display: grid;
  gap: 0.32rem;
}

.field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.optional {
  font-weight: 400;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #d3c8b4;
  background: #fffcf7;
  color: var(--ink);
  font: 400 1rem/1.4 var(--sans);
  padding: 0.7rem 0.75rem;
  border-radius: 2px;
}

.field textarea {
  resize: vertical;
  min-height: 8rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
}

.form-note,
.form-success {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.form-success {
  color: var(--teal);
  font-weight: 600;
}

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 2.2rem 0 1.6rem;
}

.footer-inner {
  display: grid;
  gap: 1.2rem;
}

.footer-brand {
  align-items: flex-start;
  color: var(--white);
}

.footer-brand img {
  width: 72px;
  height: 72px;
  background: var(--white);
  border-radius: 50%;
}

.footer-brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.footer-tag {
  display: block;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 36rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1rem;
}

body.nav-open {
  overflow: hidden;
}

@media (min-width: 700px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .work-grid,
  .chapter-grid,
  .voices {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 2rem;
  }

  .feature-photo img {
    height: 340px;
  }

  .contact-form {
    padding: 1.6rem 1.5rem;
  }
}

@media (min-width: 900px) {
  .hero {
    padding: 3.2rem 0 4.2rem;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
  }

  .hero-emblem img {
    width: min(400px, 100%);
  }

  .split {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3rem;
    align-items: start;
  }

  .work-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .chapter-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .voices {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: start;
  }

  .banner img {
    height: 460px;
  }
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .site-nav a {
    padding: 0.45rem 0.7rem;
    font-size: 0.9rem;
  }

  .nav-cta {
    margin: 0 0 0 0.4rem;
    padding-inline: 0.95rem !important;
  }
}

@media (max-width: 379px) {
  .brand-text {
    display: none;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
