:root {
  --paper: #F7F8F6;
  --white: #FFFFFF;
  --ink: #101C2C;
  --muted: #44505F;
  --body: #2C3847;
  --line: #D5DBE2;
  --tint: #E8EDF3;
  --accent: #1B4D8C;
  --accent-dark: #10335F;
  --focus: #E0A526;
  --display: "Young Serif", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
a:focus-visible, input:focus-visible, textarea:focus-visible, button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; text-wrap: balance; }
p { margin: 0; }

.skip {
  position: absolute; left: 16px; top: -60px;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; z-index: 10;
}
.skip:focus { top: 12px; color: #fff; }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}

/* Header */
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; padding-bottom: 28px; }
.brand { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--ink); }
.brand-name { font-family: var(--display); font-size: 22px; line-height: 1.2; }
.brand-sub { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; flex-wrap: wrap; gap: 28px; font-size: 16px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 28px; border-radius: 6px; font-family: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 40px; padding-bottom: 72px; }
.hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: 56px; line-height: 1.08; }
.lede { font-size: 20px; color: var(--muted); max-width: 54ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.small { font-size: 15px; color: var(--muted); }
.hero-photo { flex: 1 1 380px; min-width: 0; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 35% 50%; border-radius: 8px; }

/* Credentials */
.creds { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.creds-inner { display: flex; flex-wrap: wrap; gap: 32px; padding-top: 32px; padding-bottom: 32px; }
.cred { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cred strong { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.25; }
.cred span { font-size: 15px; color: var(--muted); }

/* Sections */
.section { padding-top: 88px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 40px; }
.section h2 { font-size: 38px; line-height: 1.15; }
.section-intro { display: flex; flex-direction: column; gap: 12px; max-width: 62ch; }
.section-intro p { color: var(--muted); }

.cards { display: flex; flex-wrap: wrap; gap: 28px; }
.card { flex: 1 1 320px; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.card h3 { font-size: 26px; line-height: 1.2; }
.card p { color: var(--body); }
.card-meta { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--muted); }
.card-meta strong { color: var(--ink); }

.also { display: flex; flex-wrap: wrap; gap: 16px 56px; align-items: baseline; padding-top: 8px; }
.also .label { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.also .item { flex: 1 1 280px; min-width: 0; font-weight: 500; }

/* Photo strip */
.strip { display: flex; flex-wrap: wrap; gap: 28px; padding-bottom: 88px; }
.strip img { flex: 1 1 420px; min-width: 0; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.strip .group { object-position: 50% 35%; }

/* Testimonials */
.proof { background: var(--tint); }
.proof-inner { padding-top: 80px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 40px; }
.proof h2 { font-size: 38px; line-height: 1.15; }
.quotes { display: flex; flex-wrap: wrap; gap: 40px; }
.quotes figure { flex: 1 1 300px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.quotes blockquote { margin: 0; font-family: var(--display); font-size: 22px; line-height: 1.4; }
.quotes figcaption { font-size: 15px; color: var(--muted); }
.quotes figcaption strong { color: var(--ink); }

/* About */
.about { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 88px; padding-bottom: 88px; }
.about img { flex: 1 1 300px; min-width: 0; max-width: 420px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: 8px; }
.about-text { flex: 1 1 460px; min-width: 0; max-width: 62ch; display: flex; flex-direction: column; gap: 18px; }
.about-text h2 { font-size: 38px; line-height: 1.15; }

/* Contact */
.contact { background: var(--ink); color: var(--paper); }
.contact-inner { display: flex; flex-wrap: wrap; gap: 56px; padding-top: 88px; padding-bottom: 88px; }
.contact-copy { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.contact h2 { font-size: 38px; line-height: 1.15; }
.contact p, .contact .small { color: #C9D2DD; }
.contact a { color: #fff; }
form { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
label { font-size: 15px; font-weight: 500; }
input, textarea { border: 0; border-radius: 6px; padding: 0 14px; font-family: inherit; font-size: 16px; background: #fff; color: var(--ink); width: 100%; }
input { height: 48px; }
textarea { padding: 12px 14px; resize: vertical; min-height: 120px; }
.btn-light { background: #fff; color: var(--ink); border: 0; }
.btn-light:hover { background: var(--tint); color: var(--ink); }
.hp { position: absolute; left: -9999px; }

/* Footer */
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: var(--muted); }

/* Simple pages */
.simple { padding-top: 96px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; max-width: 62ch; }
.simple h1 { font-size: 44px; line-height: 1.1; }

@media (max-width: 640px) {
  .hero h1 { font-size: 40px; }
  .section h2, .proof h2, .about-text h2, .contact h2 { font-size: 32px; }
  .hero { gap: 36px; }
  .section { padding-top: 64px; }
  .about { padding-top: 64px; padding-bottom: 64px; }
  .contact-inner { padding-top: 64px; padding-bottom: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
