/* US Health Innovation Fund — static one-page site */
:root {
  --bg: #F7F6F9;
  --white: #ffffff;
  --text: #626263;
  --dark: #090116;
  --navy: #000E44;
  --teal: #417284;
  --teal-link: #4C7082;
  --mint: #00E5CC;
  --border: #DEDDE0;
  --radius: 15px;
  --head: "halyard-display", "DM Sans", sans-serif;
  --body: "DM Sans", sans-serif;
  --pad-x: 70px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
h1, h2, h3 { font-family: var(--head); font-weight: 500; color: var(--dark); margin: 0 0 .6em; line-height: 1.05; }
p { margin: 0 0 1.1em; }
.wrap { max-width: 1290px; margin: 0 auto; padding: 0 30px; }
.two-col > *, .intro > *, .intro-cards > *, .contact-inner > *, .hero-inner > * { min-width: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.rounded { border-radius: var(--radius); width: 100%; object-fit: cover; }
.shadow { box-shadow: 0 12px 45px rgba(0, 0, 0, .05); }
.accent { color: var(--teal); }
.navy { color: var(--navy); }
.section-title { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Header */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 10; padding: 23px var(--pad-x); }
.site-header .logo img { width: 88px; height: 88px; }
.sticky-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20; padding: 10px var(--pad-x);
  background: rgba(255, 255, 255, .95); box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
  transform: translateY(-110%); transition: transform .35s ease;
}
.sticky-bar.show { transform: none; }
.sticky-bar img { width: 52px; height: 52px; }

/* Hero */
.hero {
  position: relative; background: #f9f9f9 url("assets/deco-back-1.webp") no-repeat left top / 100% auto;
  min-height: min(100vh, 980px); display: flex; align-items: center; overflow: hidden;
}
.hero-inner {
  width: 100%; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px;
  padding: 150px var(--pad-x) 80px;
}
.hero-title { font-size: clamp(3.4rem, 7.4vw, 6.25rem); line-height: .98; letter-spacing: -.5px; margin-bottom: .45em; }
.hero-sub { font-family: var(--head); font-weight: 500; color: var(--dark); font-size: clamp(1.15rem, 2vw, 1.9rem); line-height: 1.2; margin-bottom: 1.6em; }
.hero-media img { width: 100%; max-width: 620px; margin-left: auto; }
.scroll-down {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--border); background: var(--white);
  transition: transform .3s ease, box-shadow .3s ease;
}
.scroll-down:hover { transform: translateY(4px); box-shadow: 0 8px 24px rgba(0, 0, 0, .08); }
.scroll-down.small { width: 56px; height: 56px; margin-top: 40px; }

/* Intro */
.intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  padding: 120px var(--pad-x) 100px; position: relative; z-index: 2;
}
.intro-left { padding-right: 24px; }
.intro-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.teal-card {
  background: var(--teal); color: var(--white); border-radius: var(--radius);
  padding: 11% 9%; display: flex; flex-direction: column; justify-content: space-between; min-height: 24vw;
}
.eyebrow { font-family: var(--head); font-size: 1.05rem; letter-spacing: .3px; color: rgba(255, 255, 255, .85); margin: 0 0 2em; }
.card-title { color: var(--white); font-size: clamp(1.6rem, 2.3vw, 2.2rem); line-height: 1.08; margin: 0; }
.dna-card { display: flex; align-items: center; justify-content: center; }
.dna-card img { width: 100%; max-width: 360px; }
.video-card { margin-top: 24px; border-radius: var(--radius); overflow: hidden; height: 25vw; min-height: 260px; background: #0b1a2a; }
.video-card video { width: 100%; height: 100%; object-fit: cover; }
.intro-right { padding-left: 15.5%; line-height: 1.8; font-size: 1.06rem; }

/* How we help */
.help { background: var(--white); padding: 100px 0; }
.help-main .section-title { margin-bottom: .55em; }
.support-table { width: 100%; border-collapse: collapse; margin-top: 20px; font-family: Arial, sans-serif; }
.support-table th, .support-table td { border: 1px solid #ddd; padding: 12px 15px; text-align: left; }
.support-table th { background: var(--teal); color: #fff; font-size: 18px; font-weight: 600; }
.support-table td { background: #f9f9f9; font-size: 16px; }
.support-table tr:nth-child(even) td { background: #f1f1f1; }
.support-table td:first-child { font-weight: bold; color: var(--dark); }
.help-media { padding-top: 5px; position: sticky; top: 90px; }

/* Next steps */
.next { padding: 90px 0 100px; }
.next-main { padding-top: 8vw; }
.chiefs-link { color: var(--teal-link); text-decoration: underline; }
.next-main a[href^="tel"] { color: inherit; text-decoration: none; }
.next-img2 { margin-top: 4.6vw; }

/* About */
.about { background: var(--bg); padding: 100px 0; border-top: 1px solid rgba(0, 0, 0, .04); }
.about-main { position: sticky; top: 100px; }
.lead { font-size: 1.15rem; max-width: 30em; }
.about-cards { display: grid; gap: 30px; }
.mv-card {
  display: grid; grid-template-columns: 64px 1fr; gap: 24px; align-items: start;
  background: var(--white); border-radius: var(--radius); padding: 36px 38px;
  box-shadow: 0 12px 45px rgba(0, 0, 0, .04); transition: transform .3s ease, box-shadow .3s ease;
}
.mv-card:hover { transform: translateY(-4px); box-shadow: 0 18px 50px rgba(0, 0, 0, .07); }
.mv-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; }
.mv-card h3 { font-size: 1.7rem; margin-bottom: .45em; }
.mv-card p { margin: 0; }

/* Contact */
.contact {
  background-color: var(--bg);
  background-image: url("assets/deco-back-4.webp"), url("assets/deco-back-3.webp");
  background-repeat: no-repeat, no-repeat;
  background-position: bottom center, top right;
  background-size: 100% auto, 100% auto;
  padding: 140px 0 160px;
}
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.contact-media { margin: 0 7% 7% 9%; }
.molecule { width: 100%; transition: transform .2s ease-out; will-change: transform; }
.contact-main { margin: 0 11% 0 5%; }
.teal-word { display: block; color: var(--mint); }
.contact-form { margin-top: 34px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: block; margin-bottom: 20px; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--text); background: transparent;
  border: 1px solid var(--border); border-radius: 10px; padding: 14px 18px;
  transition: border-color .2s ease, background .2s ease;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: rgba(255, 255, 255, .6); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.consent { font-size: .95rem; display: flex; align-items: center; gap: 10px; }
.consent input { width: 18px; height: 18px; accent-color: var(--teal); }
.btn {
  font-family: var(--head); font-weight: 500; font-size: 14px; line-height: 21px; letter-spacing: 1.5px; text-transform: uppercase;
  background: var(--dark); color: #fff; border: 0; border-radius: 50px; padding: 18px 38px; cursor: pointer;
  transition: background .25s ease;
}
.btn:hover, .btn:focus-visible { background: var(--teal); }
.btn:disabled { opacity: .7; cursor: wait; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 24px; padding: 14px 18px; border-radius: 10px; font-weight: 500; }
.form-status.ok { background: #e6f6f1; color: #135c47; }
.form-status.err { background: #fdecec; color: #8a1f1f; }

/* Footer */
.site-footer { background: var(--dark); color: #BDBAC2; padding-top: 70px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding-bottom: 50px; }
.footer-brand img { width: 64px; height: 64px; background: #fff; border-radius: 50%; padding: 4px; }
.footer-contact p { margin: 0 0 .35em; }
.footer-label { font-family: var(--head); color: #fff; font-size: 1.2rem; margin-bottom: .6em !important; }
.footer-name { color: #fff; font-weight: 500; }
.footer-role { color: #878192; }
.site-footer a { color: #BDBAC2; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1C1D3C; text-align: center; padding: 22px 30px; font-size: .9rem; }
.footer-bottom p { margin: 0; }

/* Privacy page */
.page-plain { max-width: 820px; margin: 0 auto; padding: 160px 30px 100px; }
.page-plain h1 { font-size: clamp(2.2rem, 4vw, 3rem); }
.page-plain h2 { font-size: 1.6rem; margin-top: 1.6em; }

/* Tablet */
@media (max-width: 1279px) {
  :root { --pad-x: 30px; }
  .intro { padding-top: 100px; }
  .intro-right { padding-left: 30px; }
  .teal-card { min-height: 230px; }
  .video-card { height: auto; aspect-ratio: 16 / 9; }
  .contact-media { margin: 0 0 0 30px; }
  .contact-main { margin: 0 30px 0 15px; }
}
@media (max-width: 960px) {
  .two-col, .intro, .contact-inner, .hero-inner { grid-template-columns: 1fr; }
  .hero-inner { padding-top: 140px; }
  .hero-media img { max-width: 420px; margin: 0 auto; }
  .intro-left { padding-right: 0; }
  .intro-right { padding-left: 0; margin-top: 40px; }
  .help-media, .about-main { position: static; }
  .next-main { padding-top: 0; }
  .contact-media { max-width: 420px; margin: 0 auto 30px; }
  .contact-main { margin: 0 30px; }
}

/* Mobile */
@media (max-width: 768px) {
  body { font-size: 16px; }
  .site-header { padding: 14px 5%; }
  .site-header .logo img { width: 64px; height: 64px; }
  .sticky-bar { padding: 8px 5%; }
  .wrap { padding: 0 5%; }
  .intro { padding: 70px 5% 60px; }
  .intro-cards { grid-template-columns: 1fr; }
  .dna-card { order: -1; }
  .dna-card img { max-width: 260px; }
  .video-card { min-height: 0; width: 100%; }
  .help, .about { padding: 60px 0; }
  .next { padding: 50px 0 60px; }
  .contact { padding: 70px 0 90px; }
  .contact-main { margin: 0 5%; }
  .contact-media { padding: 0 8%; }
  .contact { overflow: hidden; }
  .contact-form .row { grid-template-columns: 1fr; gap: 0; }
  .mv-card { grid-template-columns: 1fr; padding: 28px; }
  .footer-inner { flex-direction: column; }
  /* stacked table */
  .support-table thead { display: none; }
  .support-table, .support-table tbody, .support-table tr, .support-table td { display: block; width: 100%; }
  .support-table tr { margin-bottom: 15px; }
  .support-table td { text-align: right; padding-left: 50%; position: relative; }
  .support-table td::before {
    content: attr(data-label); position: absolute; left: 15px; width: 45%; padding-left: 10px;
    font-weight: bold; text-align: left; color: #555;
  }
  .support-table td:first-child::before { color: var(--dark); }
}
