:root {
  --navy: #00005b;
  --navy-deep: #000040;
  --red: #d8232a;
  --ink: #1b1f2a;
  --muted: #545b6b;
  --paper: #ffffff;
  --tint: #eef6fb;
  --rule: #d9dee8;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}

a { color: var(--navy); }
a:focus-visible { outline: 3px solid #f5b800; outline-offset: 2px; }

.wrap {
  width: 100%;
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  background: var(--navy);
  color: #fff;
}
.site-header .wrap {
  max-width: 62rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
  color: #fff;
  line-height: 1.2;
}
.brand-photo {
  flex: none;
  width: 4.5rem;
  height: auto;
  border-radius: 6px;
}
.wordmark {
  display: block;
  font-size: clamp(1.25rem, 5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #9db4ff;
}
.wordmark b { color: #ff5a5f; font-weight: 800; }
.tagline {
  display: block;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #d5dcf5;
}
.site-header nav a {
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  text-underline-offset: 3px;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding: 3rem 0 3.5rem;
}
.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9db4ff;
}
.hero h1 {
  margin: 0 0 1.25rem;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 6vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
}
.hero p { margin: 0 0 1.5rem; font-size: 1.125rem; color: #e4e8f7; }

.button {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.button:hover { background: #b81c22; }

/* Sections */
section { padding: 3rem 0; }
h2 {
  margin: 0 0 1.25rem;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 4.5vw, 1.875rem);
  line-height: 1.25;
  color: var(--navy);
}

.side-photo {
  display: block;
  width: 173px;
  max-width: 100%;
  height: auto;
  margin: 0 0 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 64, 0.2);
}
.principles { list-style: none; margin: 0; padding: 0; counter-reset: principle; }
.principles li {
  counter-increment: principle;
  position: relative;
  padding: 0 0 1.75rem 3.5rem;
}
.principles li:last-child { padding-bottom: 0; }
.principles li::before {
  content: counter(principle);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 2.25rem;
  text-align: center;
}
.principles h3 { margin: 0 0 0.5rem; font-size: 1.125rem; line-height: 1.4; }
.principles p { margin: 0; color: var(--muted); }

.callout { background: var(--tint); }
.callout blockquote {
  margin: 0;
  padding-left: 1.25rem;
  border-left: 4px solid var(--red);
  font-family: var(--serif);
  font-size: clamp(1.125rem, 3.5vw, 1.375rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--navy);
}

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

.testimonials { background: var(--navy); color: #fff; }
.testimonials h2 { color: #fff; }
.testimonials .wrap { max-width: 62rem; }
.quotes { display: grid; gap: 1.5rem; }
.quotes figure {
  margin: 0;
  padding: 1.5rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}
.quotes blockquote { margin: 0; font-style: italic; }
.quotes blockquote p { margin: 0 0 0.9rem; }
.quotes figcaption { font-size: 0.9375rem; font-weight: 700; color: #9db4ff; }

.cta { text-align: center; }
.cta p { margin: 0 0 1.5rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 2rem 0 2.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.site-footer p { margin: 0 0 0.75rem; }
.site-footer p:last-child { margin-bottom: 0; }

@media (min-width: 48rem) {
  .hero { padding: 4.5rem 0 5rem; }
  section { padding: 4rem 0; }
  .side-photo { float: right; margin: 0 0 1rem 1.5rem; }
  .quotes { grid-template-columns: 1fr 1.6fr; align-items: start; }
}
