:root {
  --navy: #00234f;
  --blue: #00589f;
  --sky: #e8f0f8;
  --ink: #16213a;
  --muted: #5b6577;
  --paper: #fbfcfe;
  --white: #ffffff;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 0.5em; color: var(--navy); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 400; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }
.eyebrow {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1rem;
}
.section-dark .eyebrow { color: #8fc1ee; }

/* Top bar */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px; background: var(--white);
  border-bottom: 1px solid #e6ebf2; position: sticky; top: 0; z-index: 10;
}
.brand img { width: 160px; height: auto; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: var(--blue); }
.nav-cta {
  padding: 9px 18px; border-radius: 999px; background: var(--navy); color: var(--white) !important;
}
.nav-cta:hover { background: var(--blue); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--white) 0%, var(--sky) 100%);
  padding: clamp(80px, 12vw, 160px) 24px clamp(120px, 16vw, 220px);
}
.hero-inner { max-width: 820px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 640px; margin: 0 auto 2rem; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.button {
  display: inline-block; padding: 14px 28px; border-radius: 999px; text-decoration: none;
  background: var(--navy); color: var(--white); font-weight: 600; font-size: 0.95rem;
  transition: background 0.2s, transform 0.2s;
}
.button:hover { background: var(--blue); transform: translateY(-1px); }
.button-ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.button-ghost:hover { background: var(--navy); color: var(--white); }

/* Layered wave silhouettes along the bottom of the hero, echoing the logo. */
.hero-waves {
  position: absolute; left: 0; right: 0; bottom: -2px; height: clamp(90px, 14vw, 200px);
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200' preserveAspectRatio='none'><path fill='%2300589f' fill-opacity='0.18' d='M0 120 C 240 40, 480 200, 720 120 S 1200 40, 1440 120 L1440 200 L0 200Z'/></svg>") bottom / 100% 100% no-repeat,
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200' preserveAspectRatio='none'><path fill='%2300234f' fill-opacity='0.12' d='M0 150 C 360 90, 600 210, 900 140 S 1300 90, 1440 150 L1440 200 L0 200Z'/></svg>") bottom / 100% 100% no-repeat,
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200' preserveAspectRatio='none'><path fill='%23fbfcfe' d='M0 175 C 300 140, 700 200, 1000 165 S 1350 140, 1440 175 L1440 200 L0 200Z'/></svg>") bottom / 100% 100% no-repeat;
}

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tint { background: var(--sky); }
.section-dark { background: var(--navy); color: #dbe6f3; }
.section-dark h2 { color: var(--white); }
.section-dark a { color: var(--white); }
.two-col { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.prose p { font-size: 1.08rem; }
.contact-line { font-family: var(--serif); font-size: 1.6rem; }
.contact-line a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.4); }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 2.5rem; }
.card {
  background: var(--white); border-radius: 12px; padding: 28px 24px;
  border: 1px solid #dfe7f1; box-shadow: 0 1px 2px rgba(0,35,79,0.04);
}
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }

details { border-top: 1px solid #dfe7f1; padding: 18px 0; }
details:last-of-type { border-bottom: 1px solid #dfe7f1; }
summary { cursor: pointer; font-weight: 600; color: var(--navy); font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--blue); font-weight: 400; font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "\2212"; }
details p { margin: 12px 0 0; color: var(--muted); }

/* Footer */
.footer { background: var(--white); border-top: 1px solid #e6ebf2; padding: 32px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer p { margin: 0; color: var(--muted); font-size: 0.9rem; }

@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .topbar { padding: 12px 16px; }
  .brand img { width: 120px; }
  .nav { gap: 16px; }
  .nav a:not(.nav-cta) { display: none; }
  .cards { grid-template-columns: 1fr; }
}
