:root {
  --navy: #1D3050;
  --red: #C43040;
  --white: #FFFFFF;
  --light-gray: #F7F8FA;
  --border: #E0E2E6;
  --text-primary: #1D3050;
  --text-body: #444444;
  --text-muted: #888888;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 8px 16px;
  z-index: 1000;
}
.skip-link:focus { left: 8px; top: 8px; }

.overline {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--red);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 13px;
}

h2 {
  font-size: 32px;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 13px;
  line-height: 1.25;
}

.section-intro {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0 0 38px;
  max-width: 640px;
}

section { padding: 64px 0; }

/* NAV */
.nav {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition: border-color 0.2s;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 13px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 40px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--navy);
  font-size: 15px;
  font-weight: 400;
}
.nav-links a:hover { text-decoration: underline; }
.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 4px;
}
.nav-cta:hover { text-decoration: none; opacity: 0.92; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
}

/* HERO */
.hero { background: var(--light-gray); }

.hero-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: flex-start;
  margin-bottom: 38px;
}
.hero-text { max-width: 560px; }
.hero h1 {
  font-size: 38px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 19px;
}
.hero-body {
  font-size: 16px;
  color: var(--text-body);
  margin: 0;
}

.hero-cycler {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
}
.hero-cycler img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero-cycler img.is-active { opacity: 1; }

.hero-static-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.hero-static-row img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 8px;
}

/* BENEFITS */
.benefits { background: var(--white); }
.benefits-lede {
  font-size: 18px;
  color: var(--text-body);
  max-width: 820px;
  margin: 0 0 38px;
  line-height: 1.55;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.benefit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}
.benefit-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 8px;
  line-height: 1.35;
}
.benefit-card p {
  font-size: 14px;
  color: var(--text-body);
  margin: 0;
  line-height: 1.55;
}

/* TESTIMONIALS */
.testimonials { background: var(--light-gray); }
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 13px;
}
.testimonial {
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  padding: 32px;
  background: var(--white);
}
.quote-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 56px;
  line-height: 1;
  color: var(--red);
  margin-bottom: 8px;
}
.testimonial-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.testimonial blockquote {
  margin: 0 0 24px;
  font-style: italic;
  color: var(--text-body);
  font-size: 16px;
}
.testimonial blockquote p { margin: 0 0 12px; }
.testimonial blockquote p:last-child { margin-bottom: 0; }
.testimonial-divider {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 24px 0;
}
.attribution { font-size: 15px; }
.attribution .name { font-weight: 500; color: var(--navy); }
.attribution .role { color: var(--text-muted); display: block; margin-top: 2px; }

/* PUBLICATIONS */
.publications { background: var(--white); }
.reference-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 38px;
}
.reference-card {
  background: var(--navy);
  color: var(--white);
  padding: 28px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 128px;
  text-decoration: none;
}
.reference-card:hover { text-decoration: none; opacity: 0.94; }
.reference-card .ref-title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.3;
}
.reference-card .ref-sub {
  font-size: 13px;
  color: #B8C2D1;
  line-height: 1.4;
}
.reference-card .ref-arrow {
  margin-top: 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
}
.study-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.study-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.study-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--light-gray);
  border-bottom: 1px solid var(--border);
}
.study-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.study-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.study-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 16px;
  line-height: 1.4;
  flex: 1;
}
.study-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--red);
}

/* CONTACT */
.contact { background: var(--light-gray); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info h3 {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 10px;
}
.contact-info p { margin: 0 0 19px; color: var(--text-body); }
.contact-info a { color: var(--red); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form label.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--white);
  color: var(--text-body);
  width: 100%;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--navy);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form button {
  align-self: flex-start;
  background: var(--navy);
  color: var(--white);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.contact-form button:hover { opacity: 0.92; }
.honeypot { position: absolute; left: -9999px; }

/* FOOTER */
.footer {
  background: var(--navy);
  color: #B8C2D1;
  padding: 26px 0;
  font-size: 13px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.footer-brand .brand-red { color: var(--red); }
.footer-brand .brand-white { color: var(--white); }

/* THANK YOU */
.thank-you {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px;
}
.thank-you h1 {
  font-size: 32px;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 13px;
}
.thank-you p { margin: 0 0 19px; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero h1 { font-size: 32px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .reference-row { grid-template-columns: repeat(3, 1fr); }
  .study-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 45px 0; }
  h2 { font-size: 26px; }
  .hero h1 { font-size: 26px; }
  .hero-body { font-size: 15px; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 14px 24px;
    width: 100%;
  }
  .nav-links .nav-cta { margin: 8px 24px; text-align: center; }
  .nav-toggle { display: block; }

  .hero-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-cycler { aspect-ratio: 4 / 5; max-width: 520px; margin: 0 auto; }
  .hero-static-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .benefits-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 20px; }
  .reference-row { grid-template-columns: 1fr; }
  .study-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { justify-content: center; text-align: center; }
}

/* FORM ERROR */
.form-error {
  color: #c0392b;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}
.contact-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
