/* =====================================================================
   FIND FORWARD — stylesheet
   Palette: Midnight Navy #0B2239 · Signal Coral #FF6B4A · Warm Ivory #F7F3EC
   Type:    DM Serif Display (short display headlines) · Inter (everything else)
   ===================================================================== */

:root {
  --navy: #0B2239;
  --coral: #FF6B4A;
  --coral-deep: #E85532;
  --ivory: #F7F3EC;
  --white: #FFFFFF;
  --ink-soft: #3C4C5E;      /* muted body text on light */
  --line: #E4DCCE;          /* hairline borders on ivory */
  --ivory-on-navy: #F7F3EC;
  --soft-on-navy: #C3CDD8;

  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --measure: 62ch;
  --radius: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

a { color: var(--navy); }
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  background: var(--navy);
  color: var(--ivory);
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ------------------------------------------------------------------ */
/* Header                                                              */
/* ------------------------------------------------------------------ */

.site-header {
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.brand img { display: block; height: 46px; width: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.6rem;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover { border-bottom-color: var(--coral); }

.site-nav a[aria-current="page"] {
  border-bottom-color: var(--coral);
  font-weight: 600;
}

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.72rem 1.5rem;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}

.btn-primary {
  background: var(--coral);
  color: var(--navy);
  border: 1.5px solid var(--coral);
}
.btn-primary:hover { background: var(--coral-deep); border-color: var(--coral-deep); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--ivory); }

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

.btn-small { padding: 0.5rem 1.1rem; font-size: 0.9rem; }

/* ------------------------------------------------------------------ */
/* Type                                                                */
/* ------------------------------------------------------------------ */

/* Section titles use the body font (per brand direction); the serif
   display face remains available via --font-display for accents. */
h1, h2 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 1rem;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

h3 {
  font-family: var(--font-body);
  font-weight: 650;
  font-size: 1.12rem;
  line-height: 1.35;
  margin: 0 0 0.5rem;
}

h4 {
  font-family: var(--font-body);
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.35;
  margin: 1.5rem 0 0.4rem;
}

p { margin: 0 0 1rem; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-deep);
  margin-bottom: 1.1rem;
}

.muted { color: var(--ink-soft); }

/* ------------------------------------------------------------------ */
/* Sections                                                            */
/* ------------------------------------------------------------------ */

section { padding: 4.5rem 0; }

.section-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.on-navy {
  background: var(--navy);
  color: var(--ivory-on-navy);
}
.on-navy h2 { color: var(--ivory-on-navy); }
.on-navy p { color: var(--soft-on-navy); }
.on-navy .lead { color: var(--ivory-on-navy); }
.on-navy .eyebrow { color: var(--coral); }

/* Anchored sections: keep headings clear of the sticky header */
section[id] { scroll-margin-top: 84px; }

/* Hero */
.hero { padding: 5.5rem 0 5rem; }
.hero .subheadline {
  font-size: 1.35rem;
  font-weight: 600;
  max-width: 56ch;
  margin-bottom: 0.9rem;
}
.offers-headline { margin-top: 3.6rem; font-size: 1.35rem; }
.hero .support {
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 56ch;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; align-items: center; margin-bottom: 1.6rem; }
.hero .credential { font-size: 0.92rem; color: var(--ink-soft); }
.hero-rule {
  width: 72px; height: 4px; background: var(--coral);
  border: none; margin: 0 0 1.6rem; border-radius: 2px;
}

@media (prefers-reduced-motion: no-preference) {
  .hero > .wrap > * {
    animation: rise 520ms ease-out both;
  }
  .hero > .wrap > *:nth-child(2) { animation-delay: 60ms; }
  .hero > .wrap > *:nth-child(3) { animation-delay: 120ms; }
  .hero > .wrap > *:nth-child(4) { animation-delay: 180ms; }
  .hero > .wrap > *:nth-child(5) { animation-delay: 240ms; }
  .hero > .wrap > *:nth-child(6) { animation-delay: 300ms; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
  }
}

/* Card grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
  margin-top: 1.6rem;
}
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.3rem;
  margin-top: 2.2rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
}

.card .num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--coral-deep);
  display: block;
  margin-bottom: 0.7rem;
}

.on-navy .card {
  background: rgba(247, 243, 236, 0.055);
  border-color: rgba(247, 243, 236, 0.16);
}
.on-navy .card h3 { color: var(--ivory-on-navy); }

/* Service blocks */
.service {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.3rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  max-width: 820px;
}
.service:last-of-type { border-bottom: 1px solid var(--line); }
.service .num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--coral-deep);
  line-height: 1;
  padding-top: 0.2rem;
}
.service .detail {
  font-size: 0.95rem;
  color: var(--ink-soft);
  border-left: 3px solid var(--coral);
  padding-left: 0.9rem;
  margin-top: 0.8rem;
}

.plain-list { list-style: none; padding: 0; margin: 1.4rem 0 0; max-width: 760px; }
.plain-list li {
  padding: 0.65rem 0 0.65rem 1.5rem;
  position: relative;
}
.plain-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.22rem;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--coral);
}

/* Stacked experience cards and sub-examples */
.stack { max-width: 860px; margin-top: 1.8rem; }
.stack .card { margin-bottom: 1.3rem; padding: 1.9rem 1.8rem; }
.sub-example {
  border-left: 3px solid var(--coral);
  padding-left: 1rem;
  margin-top: 1.2rem;
}
.sub-example p { font-size: 0.97rem; color: var(--ink-soft); }

/* Email shown next to the contact button */
.contact-email { margin-left: 1.1rem; font-size: 0.98rem; }
.on-navy .contact-email a { color: var(--ivory-on-navy); }

/* Draft placeholders */
.draft-card { border-style: dashed; border-color: #CBB9A0; background: #FDFBF7; }
.draft-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8A5A24;
  background: #F6E8D2;
  border-radius: 4px;
  padding: 0.2rem 0.55rem;
  margin-bottom: 0.8rem;
}

/* Facts list (About) */
.facts {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  max-width: 640px;
}
.facts li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}
.facts li:last-child { border-bottom: none; }

/* Two-column section (text + aside) */
.split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 760px) { .split { grid-template-columns: 1fr; gap: 1.6rem; } }

/* CTA band */
.cta-band { text-align: left; }
.cta-band .brand-line {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ivory-on-navy);
  margin-top: 2.6rem;
}
.cta-band .brand-line span { color: var(--coral); }

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */

.site-footer {
  background: var(--ivory);
  border-top: 1px solid var(--line);
  padding: 3rem 0 2.5rem;
  font-size: 0.93rem;
  color: var(--ink-soft);
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: flex-start;
}
.site-footer img { height: 58px; width: auto; display: block; margin-bottom: 0.4rem; }
.site-footer a { color: var(--navy); }
.footer-meta { text-align: right; }
@media (max-width: 640px) { .footer-meta { text-align: left; } }

/* ------------------------------------------------------------------ */
/* Small screens                                                       */
/* ------------------------------------------------------------------ */

@media (max-width: 640px) {
  section { padding: 3.2rem 0; }
  .hero { padding: 3.6rem 0; }
  .brand img { height: 38px; }
  .service { grid-template-columns: 1fr; gap: 0.4rem; }
}
