/* Sterling Road Apply — extracted from Webflow production CSS */

:root {
  --navy: #0c3547;
  --gold: #a76539;
  --light-gold: #ce9873;
  --white: white;
  --light-blue: #e6f1f5;
  --light-grey: #c9c9c9;
  --black: #333;
}

*, *::before, *::after { box-sizing: border-box; }

html { height: 100%; }

body {
  color: var(--navy);
  background-color: var(--white);
  font-family: Inter, sans-serif;
  font-size: 1rem;
  line-height: 1.7em;
  margin: 0;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
}

h1 {
  color: var(--navy);
  margin-top: 0px;
  margin-bottom: 1rem;
  font-family: aktiv-grotesk-extended, sans-serif;
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.2em;
}

h2 {
  color: var(--navy);
  letter-spacing: -1.5px;
  margin-top: 0px;
  margin-bottom: 1rem;
  font-family: aktiv-grotesk-extended, sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2em;
}

h3 {
  color: var(--navy);
  margin-top: 0px;
  margin-bottom: 1rem;
  font-family: aktiv-grotesk-extended, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3em;
}

h4 {
  color: var(--navy);
  margin-top: 0px;
  margin-bottom: 1rem;
  font-family: aktiv-grotesk, sans-serif;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.3em;
}

h5 {
  color: var(--gold);
  margin-top: 0px;
  margin-bottom: 1rem;
  font-family: "Roboto Mono", sans-serif;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.5rem;
}

p { margin-bottom: 1rem; line-height: 1.6em; }

a { color: var(--gold); text-decoration: underline; }
a:hover { color: var(--light-gold); }

ul, ol { margin-top: 0px; margin-bottom: 10px; padding-left: 40px; }

label {
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.4em;
  display: block;
}

img { vertical-align: middle; max-width: 100%; display: inline-block; }

/* ─── Layout ─── */

.container {
  width: 85%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.max-width-1080 { max-width: 1080px; }
.max-width-480 { max-width: 480px; }
.max-width-416 { max-width: 416px; }
.max-width-600 { max-width: 600px; margin-left: auto; margin-right: auto; }

/* ─── Navigation ─── */

.primary-nav {
  z-index: 99;
  background-color: rgba(0, 0, 0, 0);
  position: sticky;
  top: 0px;
}

.primary-nav.bg-white { background-color: var(--white); }

.style-nav-inner {
  color: var(--white);
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  display: flex;
}

.brand { text-decoration: none; }

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--white);
  letter-spacing: 0.5px;
  margin-right: 0px;
  padding: 24px 1rem;
  font-family: aktiv-grotesk, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4em;
  transition: color 0.4s;
  text-decoration: none;
}

.nav-link:hover { color: var(--light-gold); text-decoration: none; }

.nav-link.text-navy {
  color: var(--navy);
  margin-right: 0px;
  text-decoration: none;
  transition: color 0.4s;
}

.nav-link.text-navy:hover { color: var(--gold); }
.nav-link.text-navy.w--current { color: var(--gold); font-weight: 500; }
.nav-link.text-navy.mr-24 { margin-right: 24px; }

/* ─── Buttons ─── */

.button {
  border: 2px solid var(--gold);
  color: var(--navy);
  background-color: rgba(0, 0, 0, 0);
  border-radius: 0px;
  padding: 16px 32px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4em;
  transition: color 0.4s, background-color 0.4s;
  display: inline-block;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
}

.button:hover {
  background-color: var(--gold);
  color: var(--white);
  text-decoration: none;
}

.button.nav {
  padding-top: 20px;
  padding-bottom: 20px;
  transition: color 0.4s, background-color 0.4s;
}

.button.nav:hover { background-color: var(--gold); color: var(--white); }

.button.form-button { width: 100%; display: block; }

.button.grants-button,
.button.idea-stage-button {
  text-align: center;
  width: 100%;
}

.button.text-white { color: var(--white); }

/* ─── Hero ─── */

.internal-hero { padding-top: 104px; overflow: visible; }

.overline {
  color: var(--gold);
  letter-spacing: 0px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-family: "Roboto Mono", sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3em;
}

.overline.text-light-gold { color: var(--light-gold); }
.overline.mb-32 { margin-bottom: 2rem; }
.overline.mb-32.apply-now { font-size: 0.875rem; }

.heading-6 {
  font-family: aktiv-grotesk-extended, sans-serif;
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.2em;
}

.hero-underline-long {
  -webkit-text-fill-color: inherit;
  background-color: rgba(0, 0, 0, 0);
  background-clip: border-box;
  padding-bottom: 0px;
  font-size: 4.5rem;
  display: inline-block;
  position: relative;
}

.hero-underline-long::after {
  content: '';
  inset: -32px;
  background-image: url("https://cdn.prod.website-files.com/61d6f5bc25047b869ef79047/61e1d1220bdb6b844f5405d3_gold-underline-long.svg");
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

/* ─── Sections ─── */

.section { padding-top: 125px; }

.section.cta {
  background-color: var(--navy);
  color: var(--light-blue);
  margin-top: 176px;
  padding-bottom: 176px;
}

.section.cta.slide-up.margin-small { margin-top: 32px; }

.section.mb-104 { padding-top: 160px; }
.section.pt-104, .section.pt-104.load-3 { padding-top: 104px; }

/* ─── Two Column Flex ─── */

._2-col-flex {
  justify-content: space-between;
  align-items: center;
  display: flex;
  position: static;
}

._2-col-flex.alight-top {
  justify-content: center;
  align-items: flex-start;
  display: flex;
}

._2-col-flex.apply-now {
  gap: 4rem;
  justify-content: center;
}

.flex-expand { flex: 1 1 0%; }

.flex-expand.slide-up.info {
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 532px;
  display: flex;
}

.flex-expand.slide-up.info.max-width-480 {
  align-items: flex-start;
  height: auto;
}

.flex-spacer {
  flex: 0 0 auto;
  width: 104px;
  max-width: 6vw;
  height: 48px;
}

.content-center {
  text-align: center;
  flex-direction: column;
  align-items: center;
  display: flex;
}

.flex-space-between {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

/* ─── Lists ─── */

.list-dividers {
  text-align: left;
  width: 100%;
  margin-bottom: 20px;
  padding-left: 0px;
  list-style-type: none;
}

.list-item-divider {
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 16px;
  padding-bottom: 16px;
}

.list {
  padding-left: 20px;
  list-style-type: disc;
}

.list-item { margin-bottom: 16px; }

/* ─── Forms ─── */

.form-block {
  text-align: left;
  max-width: 540px;
}

.form-block.newsletter-block {
  color: var(--light-blue);
  background-color: rgba(0, 0, 0, 0);
  min-width: 480px;
  max-width: 100%;
}

.field-label {
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.4em;
  display: block;
}

.input {
  border: 1px solid var(--light-grey);
  background-color: var(--light-blue);
  border-radius: 4px;
  height: auto;
  margin-bottom: 1.5rem;
  padding: 8px 16px;
  font-size: 1rem;
  font-family: inherit;
  width: 100%;
  color: var(--navy);
}

.input::placeholder { color: rgba(51, 51, 51, 0.5); text-decoration: none; }
.input:focus { outline: none; border-color: var(--gold); }

.input.message-input { max-width: 100%; min-height: 16ch; resize: vertical; }
.input.newsletter { margin-bottom: 0px; }

.newsletter-form-wrapper { gap: 16px; flex-flow: column; display: flex; }

.form-sucess { background-color: rgba(0, 0, 0, 0); padding: 24px; }
.form-error {
  background-color: var(--black);
  color: var(--white);
  margin-top: 12px;
  padding: 8px 24px;
}

.form-flex-expand { flex: 1 1 0%; }

/* ─── Video ─── */

.video-container { width: 90%; }
.w-video { position: relative; padding-top: 56.27%; }
.w-video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* ─── Grants Grid (4-col cards) ─── */

._4-col-cards {
  gap: 32px;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  margin-top: 40px;
  display: grid;
}

.grant-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.grant-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 0px;
  margin-bottom: 12px;
}

.grant-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
  font-family: aktiv-grotesk, sans-serif;
}

.grant-card .learn-more {
  font-size: 0.875rem;
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
}

/* ─── Testimonials / References ─── */

._3-col-grid {
  gap: 64px;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  place-content: stretch;
  place-items: stretch;
  min-height: 0px;
  display: grid;
}

.testimony-card {
  background-color: var(--light-blue);
  text-align: left;
  padding: 64px 32px 48px;
  position: relative;
}

.reference-quote {
  font-size: 0.9375rem;
  line-height: 1.6em;
  margin-bottom: 16px;
  font-style: italic;
}

.reference-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}

.reference-title {
  font-size: 0.75rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: "Roboto Mono", sans-serif;
  font-weight: 400;
}

.reference-attribution {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reference-headshot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* ─── Footer ─── */

.footer {
  background-color: var(--light-blue);
  padding-top: 104px;
  padding-bottom: 16px;
}

.footer-nav-wrapper {
  display: flex;
  align-items: center;
  gap: 0;
}

.footer-nav-wrapper .nav-link {
  padding: 8px 1rem;
}

.text-block { text-decoration: none; }

.divider {
  background-color: var(--gold);
  opacity: 0.12;
  height: 1px;
  margin-bottom: 32px;
}

.footer-meta {
  font-family: "Roboto Mono", sans-serif;
  font-weight: 400;
}

.social-link-wrapper { align-items: center; display: flex; }

.social-link {
  color: var(--navy);
  flex: 0 0 auto;
  justify-content: center;
  align-items: center;
  padding: 8px;
  text-decoration: none;
}

.social-icon {
  flex: 0 0 auto;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  display: flex;
}

.home-link { text-decoration: none; }

/* ─── Spacing helpers ─── */

.mb-4 { margin-bottom: 4px; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 2rem; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; display: block; }
.mb-80 { margin-bottom: 80px; }
.mb-104 { margin-bottom: 104px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mt-104 { margin-top: 104px; }
.mr-16 { margin-right: 16px; }
.mr-24 { margin-right: 24px; }

.text-white { color: var(--light-blue); }
.text-navy { color: var(--navy); }
.display-none { display: none; }

/* ─── Arrow / Links ─── */

.arrow-wrapper { color: var(--navy); }

.standard-link {
  color: var(--navy);
  margin-bottom: 2px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4em;
  text-decoration: none;
  transition: color 0.2s;
  display: inline-block;
}

.standard-link:hover { color: var(--navy); }

/* ─── Mobile nav button ─── */

.menu-button-internal { display: none; }

/* ─── Thank You / Error ─── */

.thank-you-section {
  padding: 120px 0;
  text-align: center;
}

.error-section {
  padding: 120px 0;
  text-align: center;
}

/* ─── reCAPTCHA ─── */

.w-form-formrecaptcha { margin-bottom: 8px; }
.recaptcha-wrapper { margin: 16px 0; }

/* ─── Responsive: tablet ─── */

@media screen and (max-width: 991px) {
  .primary-nav.bg-white { padding-bottom: 18px; }
  .nav-link, .nav-link.text-navy { text-align: center; }
  .nav-link.text-navy.mr-24 { justify-content: center; margin-bottom: 32px; margin-right: 0px; }
  ._2-col-flex { flex-direction: column-reverse; }
  ._2-col-flex.alight-top { flex-direction: column; align-items: stretch; }
  .flex-expand.slide-up.info.max-width-480 { justify-content: space-between; width: 100%; }
  .form-block { width: 100%; max-width: 100%; }
  ._3-col-grid { row-gap: 104px; grid-template-columns: 1fr; }
  ._4-col-cards { grid-template-columns: 1fr 1fr; }
  .flex-space-between.mb-32 { flex-direction: column; }
  .footer-meta { margin-bottom: 32px; }
  .list-dividers { height: auto; }
  .video-container { width: 100%; }
  .menu-button-internal { display: block; color: var(--navy); cursor: pointer; }
  .nav-menu {
    z-index: 1;
    text-align: center;
    background-color: rgb(247, 251, 252);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    padding-top: 104px;
    display: none;
    position: fixed;
    inset: 0% 0% auto;
  }
  .nav-menu.open { display: flex; }
  .home-link, .home-link.w--current { margin-bottom: 32px; }
}

/* ─── Responsive: mobile landscape ─── */

@media screen and (max-width: 767px) {
  h1 { font-size: 3rem; }
  .container { width: 100%; padding-left: 24px; padding-right: 24px; }
  .section { padding-top: 88px; }
  .section.cta.mt-64 { padding-top: 104px; padding-bottom: 104px; }
  .form-block.newsletter-block { min-width: 0px; }
  ._4-col-cards { grid-template-columns: 1fr; }
  .footer, .internal-hero { padding-top: 88px; }
  .form-flex-expand { width: 100%; }
}

/* ─── Responsive: mobile portrait ─── */

@media screen and (max-width: 479px) {
  .section.pt-104 { padding-top: 72px; }
  .section.pt-104.load-3 { padding-top: 64px; }
  ._2-col-flex.alight-top.mobile { margin-left: 0px; margin-right: 0px; }
  .flex-expand.slide-up.info.max-width-480 { justify-content: space-between; align-items: flex-start; }
  .heading-6 { font-size: 2.2rem; }
  .hero-underline-long { font-size: 2.2rem; }
  .internal-hero { padding-top: 64px; }
  .footer-nav-wrapper { flex-direction: column; align-items: center; display: flex; }
  .list-dividers { margin-bottom: 16px; }
  ._3-col-grid { gap: 104px 32px; grid-template-columns: 1fr; }
  .brand { width: 168px; }
}

/* ─── Tablet-specific helper ─── */

.tablet__max-none { max-width: none; }

/* ─── aktiv-grotesk (self-hosted from Typekit CDN files) ─── */

@font-face {
  font-family: 'aktiv-grotesk';
  src: url('/fonts/aktiv-grotesk-n5.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'aktiv-grotesk-extended';
  src: url('/fonts/aktiv-grotesk-extended-n7.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
