@font-face {
  font-family: "DM Sans";
  src: url("assets/sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrumentserif-InstrumentSerif-Regular.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrumentserif-InstrumentSerif-Italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}
:root {
  --navy: #0e2338;
  --red: #a32d30;
  --cream: #fcf9f2;
  --gold: #f1cf92;
  --ink: #172d3e;
  --muted: #495b67;
  --line: #deded6;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  scroll-padding-top: 6.5rem;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font: 1rem/1.55 var(--sans);
  color: var(--ink);
  background: white;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
}
h1 {
  font-size: clamp(3.1rem, 6.1vw, 5.9rem);
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(2.6rem, 4.1vw, 3.85rem);
  letter-spacing: -0.025em;
}
h3 {
  font-size: 2rem;
}
a {
  color: inherit;
  text-underline-offset: 0.2em;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
summary {
  cursor: pointer;
}
button,
select,
input,
textarea {
  max-width: 100%;
}
:focus-visible {
  outline: 3px solid #c47818;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(90%, 1200px);
  margin-inline: auto;
}
.section {
  padding-block: clamp(3rem, 6vw, 5.3rem);
}
.tint {
  background: var(--cream);
  border-block: 1px solid var(--line);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--red);
  font-size: 0.79rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 1.8rem;
  height: 2px;
  background: currentColor;
}
.intro,
.note,
.program-copy p,
.steps p,
.questions p {
  color: var(--muted);
}
.intro {
  margin-top: 1rem;
  max-width: 60ch;
}
.note {
  margin-top: 1rem;
  font-size: 0.91rem;
}
.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.skip,
.sr,
.trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip:focus {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  clip-path: none;
  width: auto;
  height: auto;
  background: white;
  padding: 0.7rem;
  z-index: 20;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.71rem 1.16rem;
  border: 1px solid transparent;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 650;
  line-height: 1.4;
}
.primary {
  background: var(--red);
  color: white;
}
.primary:hover {
  background: #842326;
}
.secondary {
  background: white;
  border-color: #9aa2a4;
  color: var(--navy);
}
.secondary:hover {
  background: #eeeae3;
}
.gold {
  background: var(--gold);
  color: var(--navy);
}
.gold:hover {
  background: #ffe2af;
}

/* Navigation and campaign opening */
.banner {
  position: sticky;
  top: 0;
  z-index: 8;
  color: white;
  background: var(--navy);
}
.banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.1rem 0.9rem;
  padding-block: 0.4rem;
  font-size: 0.8rem;
  text-align: center;
}
.banner-inner > span:first-child {
  flex-basis: 100%;
}
.banner a,
.compact {
  color: var(--gold);
  font-weight: 650;
}
.compact {
  font-variant-numeric: tabular-nums;
  min-width: 8.8em;
}
header {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid var(--line);
  background: white;
}
.header-row,
.brand,
#navigation {
  display: flex;
  align-items: center;
}
.header-row {
  min-height: 70px;
  gap: 0.8rem;
}
.brand {
  width: fit-content;
  gap: 0.55rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}
.brand b {
  display: block;
  font:
    600 1.75rem/0.95 Georgia,
    serif;
  letter-spacing: -0.055em;
}
.brand small {
  display: block;
  margin-top: 0.26rem;
  text-transform: uppercase;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.menu-toggle {
  order: 3;
  margin-left: auto;
  border: 0;
  background: white;
  width: 44px;
  height: 44px;
}
.header-cta {
  display: none;
}
#navigation {
  display: none;
  position: absolute;
  inset: 100% 0 auto;
  padding: 0.6rem 5%;
  background: white;
  box-shadow: 0 7px 12px #0e233814;
}
#navigation.open {
  display: grid;
}
#navigation a {
  display: block;
  padding: 0.65rem 0.2rem;
  text-decoration: none;
  font-weight: 550;
}
#navigation a:hover {
  color: var(--red);
  text-decoration: underline;
}
.hero {
  isolation: isolate;
  position: relative;
  background: var(--cream);
}
.hero-inner {
  padding-block: 2.5rem 12.5rem;
}
.hero-photo {
  position: absolute;
  inset: auto 0 0;
  z-index: -2;
  width: 100%;
  height: 15rem;
  object-fit: cover;
  object-position: 64% 40%;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to bottom,
    var(--cream) calc(100% - 15rem),
    #fcf9f2bd calc(100% - 11rem),
    transparent calc(100% - 7rem)
  );
}
.hero-copy {
  max-width: 670px;
}
.hero h1 em {
  display: block;
  color: var(--red);
}
.lead {
  margin-block: 1.15rem 1.45rem;
  max-width: 49ch;
  line-height: 1.7;
  color: var(--muted);
}
.proof {
  background: #f8f3e9;
  border-block: 1px solid #e7dcc8;
}
.proof-inner {
  padding-block: 1rem;
  text-align: center;
}
.proof-inner p {
  font-size: clamp(0.92rem, 1.6vw, 1.18rem);
}
.proof-inner > span {
  font-size: 0.86rem;
  color: var(--muted);
}
.clock-section {
  margin-block: 2rem 0;
}
.clock-card {
  --clock-ink: var(--gold);
  padding: clamp(1.35rem, 3vw, 2.5rem) 1rem;
  color: white;
  background: var(--navy);
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 7px 18px #0e233817;
}
.clock-card h2 {
  font-size: clamp(1.5rem, 3.1vw, 2.6rem);
  letter-spacing: 0;
}
.clock {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.32rem, 1vw, 0.85rem);
  width: min(100%, 29rem);
  margin: 1.2rem auto 0;
}
.unit {
  display: grid;
  justify-items: center;
  gap: 0.1rem;
  padding: 0.65rem 0.05rem;
  border: 1px solid #ffffff32;
  background: #ffffff0a;
  border-radius: 0.5rem;
}
.unit b {
  font-size: clamp(1.65rem, 4vw, 3.35rem);
  line-height: 1.08;
  font-variant-numeric: tabular-nums;
  color: var(--clock-ink);
}
.unit span {
  font-size: clamp(0.65rem, 1.4vw, 0.8rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.urgency {
  min-height: 1.55rem;
  color: var(--clock-ink);
  font-weight: 600;
  margin-block: 0.15rem 0.3rem;
}
.clock-closed {
  min-height: 9.4rem;
  display: grid;
  gap: 0.9rem;
  justify-items: center;
  align-content: center;
}
[data-urgency="soon"] {
  --clock-ink: #ffb96f;
}
[data-urgency="last"] {
  --clock-ink: #ff9a99;
}
body.soon .compact {
  color: #ffb96f;
}
body.last .compact {
  color: #ff9a99;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
  .clock-card[data-urgency="last"] .urgency {
    animation: breathe 2.6s ease-in-out infinite;
  }
  @keyframes breathe {
    50% {
      opacity: 0.75;
    }
  }
}

/* Programs, coverage and student results */
.program-grid,
.story-grid,
.split {
  display: grid;
  gap: 1.4rem;
}
.program-grid {
  margin-top: 1.7rem;
}
.program-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.program-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 2.65;
  height: auto;
  object-fit: cover;
}
.program-copy {
  padding: 1.4rem;
}
.program-copy h3 {
  font-size: 2.2rem;
}
.program-copy p {
  margin-top: 0.45rem;
}
.stipend b {
  color: var(--navy);
}
.program-copy .button {
  margin-top: 1.2rem;
}
.benefits,
.checklist ul {
  list-style: none;
  padding: 0;
}
.benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.6rem;
  margin: 1.5rem 0 2rem;
}
.benefits li,
.checklist li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.benefits .icon,
.checklist .icon {
  color: var(--red);
}
table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: white;
}
caption {
  text-align: left;
  font: 1.65rem var(--serif);
  margin-bottom: 0.65rem;
}
td,
th {
  padding: 0.75rem 0.45rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
  font-size: clamp(0.88rem, 1.7vw, 1rem);
}
thead {
  color: white;
  background: var(--navy);
}
tbody th {
  font-weight: 600;
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  border-block: 1px solid var(--line);
  padding-block: 1.35rem;
  margin-block: 1.65rem 1rem;
}
.results-grid > div {
  display: grid;
  gap: 0.25rem;
  text-align: center;
}
.results-grid > div + div {
  border-left: 1px solid var(--line);
}
.results-grid b {
  font-size: clamp(1.95rem, 5vw, 3.7rem);
  color: var(--red);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.results-grid span,
.breakdown {
  font-size: 0.91rem;
}
.breakdown {
  text-align: center;
}
.breakdown > span {
  padding-inline: 0.35rem;
}
.story-grid {
  margin-top: 1.8rem;
}
.empty-story {
  padding: 1.2rem;
  background: var(--cream);
  border-left: 3px solid #bb914a;
}
.story-card {
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.story-card img {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  object-fit: cover;
}
.story-card h3 {
  margin-top: 0.5rem;
}
.story-card blockquote {
  margin: 0.7rem 0 0;
}
.steps {
  padding-left: 1.65rem;
  margin-bottom: 0;
}
.steps li {
  padding: 0.65rem 0 0.65rem 0.45rem;
}
.steps li::marker {
  color: var(--red);
  font-weight: 700;
}
.steps h3 {
  font: 650 1.08rem var(--sans);
  margin-bottom: 0.3rem;
}
.checklist {
  background: white;
  padding: clamp(1.3rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.checklist h2 {
  font-size: 2.1rem;
}
.checklist li {
  align-items: flex-start;
  margin-block: 0.85rem;
}
.checklist .icon {
  margin-top: 0.17rem;
}
details {
  border-bottom: 1px solid var(--line);
}
summary {
  padding: 0.95rem 1.8rem 0.95rem 0;
  position: relative;
  font-weight: 650;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  color: var(--red);
  position: absolute;
  right: 0.3rem;
}
details[open] summary::after {
  content: "−";
}
details p {
  padding: 0 0 1rem;
}

/* Enquiry and footer */
.contact {
  background: #f6f3eb;
}
.contact-email {
  display: inline-block;
  margin-top: 1.25rem;
  overflow-wrap: anywhere;
}
form {
  background: white;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 10px;
  min-width: 0;
}
.form-hint,
label small,
.feedback {
  font-size: 0.86rem;
  color: var(--muted);
}
.fields {
  display: grid;
  gap: 0.9rem;
  margin-block: 1rem 1.3rem;
}
.fields label {
  display: grid;
  gap: 0.28rem;
  align-content: start;
  font-size: 0.91rem;
  font-weight: 650;
  min-width: 0;
}
.fields input,
.fields select,
.fields textarea {
  background-color: white;
  padding: 0.65rem 0.7rem;
  border: 1px solid #929da3;
  border-radius: 4px;
  width: 100%;
  font-size: 1rem;
  font-weight: 400;
}
.fields textarea {
  resize: vertical;
}
.fields label small {
  font-weight: 400;
}
.feedback {
  min-height: 4.2em;
  padding-top: 0.65rem;
}
.feedback.error {
  color: #882628;
}
.feedback.success {
  color: #215c41;
}
#send {
  min-width: 9.6rem;
}
#send:disabled {
  opacity: 0.75;
  cursor: wait;
}
footer {
  background: var(--navy);
  border-top: 4px solid var(--gold);
  color: #f5f1e9;
}
.footer-cta,
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-block: 1.6rem;
}
.footer-cta {
  border-bottom: 1px solid #ffffff38;
}
.footer-cta h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}
footer .secondary {
  color: white;
  background: transparent;
  border-color: #b2c0ca;
}
footer .secondary:hover {
  background: #ffffff15;
}
.footer-columns {
  padding-block: 2.4rem;
  display: grid;
  gap: 1.7rem;
}
.footer-columns > div {
  min-width: 0;
}
footer .brand img {
  background: var(--cream);
  border-radius: 5px;
}
footer p {
  color: #d9dfe1;
  margin-top: 1rem;
}
footer h3 {
  font-size: 1.65rem;
  margin-bottom: 0.8rem;
}
.footer-columns nav,
address {
  display: grid;
  gap: 0.35rem;
  font-style: normal;
}
.footer-columns nav a {
  width: fit-content;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
.socials {
  display: flex;
  margin-top: 0.75rem;
}
.socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
}
address {
  margin-bottom: 0.7rem;
}
address p,
address a {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0;
  overflow-wrap: anywhere;
}
address .icon {
  align-self: start;
  margin-top: 0.2rem;
}
iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
  border-radius: 8px;
  background: #20364a;
  margin-bottom: 0.45rem;
}
.footer-bottom {
  border-top: 1px solid #ffffff38;
  font-size: 0.85rem;
  color: #d9dfe1;
  padding-bottom: 4.5rem;
}
.floating-chat {
  position: fixed;
  right: 0.85rem;
  bottom: max(0.85rem, env(safe-area-inset-bottom));
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  height: 46px;
  min-width: 46px;
  padding: 0.65rem;
  background: #18593f;
  color: white;
  border: 1px solid #ffffff95;
  box-shadow: 0 3px 12px #13232a30;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 650;
}
.floating-chat span {
  display: none;
}

@media (min-width: 550px) {
  .fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .wide {
    grid-column: 1 / -1;
  }
  .header-cta {
    display: inline-flex;
    margin-left: auto;
  }
  .menu-toggle {
    margin-left: 0;
  }
  .program-grid,
  .story-grid:has(.story-card) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 720px) {
  :root {
    scroll-padding-top: 4rem;
  }
  .banner-inner {
    min-height: 36px;
  }
  .banner-inner > span:first-child {
    flex-basis: auto;
  }
  .hero-inner {
    padding-block: 4.1rem;
  }
  .hero-copy {
    width: 57%;
  }
  .hero-photo {
    inset: 0 0 0 auto;
    height: 100%;
    width: 67%;
    object-position: 73% 42%;
  }
  .hero::before {
    background: linear-gradient(
      90deg,
      var(--cream) 21%,
      #fcf9f2fa 35%,
      #fcf9f2d6 45%,
      #fcf9f23b 64%,
      transparent 79%
    );
  }
  .proof-inner,
  .footer-cta {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  .proof-inner {
    padding-block: 1.15rem;
    text-align: left;
  }
  .clock-section {
    margin-top: 2.4rem;
  }
  .split {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(2.5rem, 7vw, 7rem);
    align-items: start;
  }
  .program-copy {
    padding: 1.65rem;
  }
  td,
  th {
    padding: 0.85rem 1rem;
  }
  .floating-chat {
    padding-inline: 0.95rem;
  }
  .floating-chat span {
    display: inline;
  }
}
@media (min-width: 900px) {
  .wrap {
    width: min(88%, 1200px);
  }
  .menu-toggle {
    display: none;
  }
  .header-row {
    justify-content: space-between;
    min-height: 80px;
  }
  #navigation,
  #navigation.open {
    position: static;
    display: flex;
    gap: clamp(1rem, 2.6vw, 2.2rem);
    box-shadow: none;
    padding: 0;
  }
  .header-cta {
    margin-left: 0;
  }
  .hero-inner {
    padding-block: clamp(4rem, 6vw, 6rem);
  }
  .footer-columns {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.72fr) minmax(0, 1.15fr) minmax(0, 1.05fr);
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    padding-bottom: 3.8rem;
  }
}
@media (max-width: 380px) {
  .banner-inner {
    width: 96%;
    font-size: 0.76rem;
  }
  .actions .button {
    font-size: 0.9rem;
    padding-inline: 0.8rem;
  }
}
