:root {
  --navy: #062846;
  --navy-soft: #0a3558;
  --cream: #f9f6f1;
  --cream-deep: #f1ebe3;
  --ink: #062846;
  --body: #4a5d6e;
  --muted: #7a8a99;
  --hairline: rgba(6, 40, 70, 0.12);
  --border: rgba(6, 40, 70, 0.14);
  --on-navy: #f9f6f1;
  --max: 1120px;
  --radius: 6px;
  --font-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* subtle paper grain */
body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}
a:hover { opacity: 0.72; }

.wrap {
  width: min(100% - 64px, var(--max));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--hairline);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(249, 246, 241, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  text-decoration: none;
}
.brand:hover { opacity: 1; color: var(--navy); }

.brand-mark {
  width: 40px;
  height: 40px;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
}

.brand-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-motto {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav a {
  color: var(--navy);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.nav a:hover { opacity: 0.65; }

.btn-nav {
  flex-shrink: 0;
  text-decoration: none !important;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none !important;
  border-radius: var(--radius);
  padding: 12px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { opacity: 0.88; }

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

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}

/* —— Hero —— */
.hero-band {
  background: var(--cream);
  color: var(--ink);
  padding: 72px 0 88px;
  border-bottom: 1px solid var(--hairline);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-copy { min-width: 0; }

.eyebrow {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-band h1 {
  margin: 0 0 20px;
  font-size: clamp(32px, 4.6vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--navy);
}

.lede {
  margin: 0;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--body);
  max-width: 36rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 280px;
  padding: 32px;
  background: var(--cream-deep);
  border: 1px solid var(--hairline);
  border-radius: 12px;
}

.hero-mark {
  width: min(100%, 280px);
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(6, 40, 70, 0.08));
}

.hero-tagline {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

/* —— Content bands —— */
.band {
  padding: 80px 0;
  background: var(--cream);
  color: var(--ink);
}

.band-tight-top { padding-top: 16px; }

.band-border-top {
  border-top: 1px solid var(--hairline);
}

.band h2 {
  margin: 0 0 16px;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.prose {
  max-width: 42rem;
  color: var(--body);
  font-size: 16px;
  line-height: 1.6;
}
.prose p { margin: 0 0 16px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong {
  color: var(--navy);
  font-weight: 600;
}

.lede-light {
  margin: 0 0 32px;
  max-width: 42rem;
  font-size: 17px;
  line-height: 1.55;
  color: var(--body);
}

/* —— Cards —— */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.card {
  background: #fffefb;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.card-label {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--navy);
}

.card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--body);
}

.callout {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--cream-deep);
}
.callout .card-label { color: var(--navy); }
.callout p:last-child {
  margin: 0;
  color: var(--body);
  font-size: 15px;
  line-height: 1.55;
  max-width: 48rem;
}

/* —— Contact —— */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 16px;
}

.contact-list { margin: 0; }

.contact-item {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
}
.contact-item:first-child { padding-top: 0; }
.contact-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-item dt {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-item dd {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
}

.contact-item a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.contact-item a:hover { opacity: 0.7; }

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-aside > p {
  margin: 0;
  color: var(--body);
  font-size: 15px;
  line-height: 1.55;
}
.fine-print {
  color: var(--muted) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}
.contact-aside .cta-row {
  margin-top: auto;
  padding-top: 8px;
}

/* —— Footer —— */
.site-footer {
  background: var(--cream-deep);
  border-top: 1px solid var(--hairline);
  padding: 40px 0 48px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
}
.footer-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.footer-name {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--navy);
}
.footer-motto {
  margin: 2px 0 0;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  text-align: right;
}
.footer-meta p { margin: 0; }

/* —— Responsive —— */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-visual { order: -1; min-height: 200px; padding: 28px; }
  .hero-mark { width: min(100%, 200px); }
  .cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-meta { text-align: left; }
}

@media (max-width: 767px) {
  .wrap { width: min(100% - 32px, var(--max)); }
  .hero-band { padding: 48px 0 56px; }
  .band { padding: 56px 0; }
  .band-tight-top { padding-top: 8px; }
  .nav { display: none; }
  .brand-motto { display: none; }
  .btn { min-height: 44px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }
}

@media (max-width: 479px) {
  .wrap { width: min(100% - 24px, var(--max)); }
  .hero-band h1 { font-size: 28px; }
}
