/* BecomeAnRMT.ca landing pages.
   One shared system; each college page swaps --accent / --accent-ink / --accent-soft. */

:root {
  --ink: #15324a;
  --ink-deep: #0f2537;
  --text: #24394a;
  --muted: #55697a;
  --teal: #1d7f78;
  --teal-ink: #14605a;
  --sun: #f4b740;
  --sun-strong: #e5a21c;
  --mist: #edf3f4;
  --line: #d3dfe2;
  --white: #ffffff;
  --error: #b3261e;
  --error-soft: #fcebea;

  --accent: var(--teal);
  --accent-ink: var(--teal-ink);
  --accent-soft: #e3f1ef;

  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.3125rem;
  --step-3: clamp(1.5rem, 1.2rem + 1vw, 1.75rem);
  --step-4: clamp(1.875rem, 1.4rem + 1.8vw, 2.625rem);
  --step-5: clamp(2.375rem, 1.6rem + 3.4vw, 4rem);

  --gutter: clamp(1rem, 0.5rem + 2.2vw, 2rem);
  --wrap: 72rem;
  --section: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  --radius: 10px;
  --radius-lg: 16px;
  --focus: 0 0 0 3px var(--white), 0 0 0 6px var(--teal);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--step-1);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 { font-size: var(--step-5); line-height: 1.04; }
h2 { font-size: var(--step-4); line-height: 1.12; }
h3 { font-size: var(--step-2); line-height: 1.3; letter-spacing: -0.01em; }

p,
ul,
ol,
dl {
  margin: 0;
}

p + p { margin-top: 1em; }

a {
  color: var(--accent-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
}

.skip-link:focus { top: 1rem; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.lede {
  font-size: var(--step-2);
  line-height: 1.5;
  color: var(--muted);
  max-width: 38em;
}

.prose { max-width: 40em; }
.prose ul { padding-left: 1.2em; margin-top: 0.75em; }
.prose li + li { margin-top: 0.35em; }

/* ------------------------------------------------------------ buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.8rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: var(--step-1);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.button-primary {
  background: var(--sun);
  color: var(--ink-deep);
}

.button-primary:hover { background: var(--sun-strong); }

.button-outline {
  border-color: currentColor;
  background: transparent;
  color: var(--ink);
}

.button-outline:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }

.on-dark .button-outline { color: var(--white); }
.on-dark .button-outline:hover { background: var(--white); border-color: var(--white); color: var(--ink); }

.button-small {
  min-height: 2.75rem;
  padding: 0.45rem 1.1rem;
  font-size: var(--step-0);
}

.button-block { width: 100%; }

/* ------------------------------------------------------------- header */

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

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand svg { width: 2.1rem; height: 2.1rem; flex: none; }
.brand span { white-space: nowrap; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.header-phone svg { width: 1.15rem; height: 1.15rem; color: var(--accent); }

/* --------------------------------------------------------------- hero */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #d9e6ec;
  isolation: isolate;
}

.hero-fibres {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  color: var(--accent);
  opacity: 0.3;
  pointer-events: none;
}

.hero-fibres path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-dasharray: 2400;
  stroke-dashoffset: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-fibres path { animation: fibre-draw 2.4s cubic-bezier(0.3, 0.6, 0.2, 1) both; }
  .hero-fibres path:nth-child(2n) { animation-delay: 0.12s; }
  .hero-fibres path:nth-child(3n) { animation-delay: 0.24s; }
}

@keyframes fibre-draw {
  from { stroke-dashoffset: 2400; }
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem);
}

.hero h1 { color: var(--white); max-width: 11em; }

.hero-school {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  color: var(--white);
  font-weight: 700;
}

.hero-school img {
  width: auto;
  height: 4.25rem;
  padding: 0.5rem 0.75rem;
  background: var(--white);
  border-radius: 10px;
}

.hero-lede {
  margin-top: 1.25rem;
  font-size: var(--step-2);
  line-height: 1.5;
  max-width: 32em;
}

.hero-facts {
  display: grid;
  gap: 0.9rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  max-width: 34em;
}

.hero-facts li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 0.75rem;
  align-items: start;
}

.hero-facts svg { width: 1.5rem; height: 1.5rem; margin-top: 0.1rem; color: var(--sun); }
.hero-facts strong { color: var(--white); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

@media (min-width: 60rem) {
  .hero .wrap {
    grid-template-columns: minmax(0, 1fr) 27rem;
    gap: 4rem;
    align-items: start;
  }

  .hero-actions .jump-to-form { display: none; }
}

/* ------------------------------------------------------- inquiry form */

.inquiry {
  position: relative;
  padding: clamp(1.25rem, 1rem + 1vw, 1.875rem);   /* capped so the intro line breaks the same on every desktop */
  background: var(--white);
  color: var(--text);
  border-top: 6px solid var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -30px rgba(6, 20, 32, 0.6);
  scroll-margin-top: 5.5rem;
}

.inquiry h2 { font-size: var(--step-3); }
.inquiry-intro { margin-top: 0.35rem; color: var(--muted); font-size: var(--step-0); }

.form-alert {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  background: var(--error-soft);
  border-left: 4px solid var(--error);
  border-radius: 6px;
  color: var(--error);
  font-size: var(--step-0);
  font-weight: 600;
}

.form-alert ul { margin-top: 0.35rem; padding-left: 1.1em; font-weight: 500; }
.form-alert a { color: inherit; }

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 0.85rem;
  margin-top: 1.25rem;
}

.field { display: grid; gap: 0.35rem; grid-column: 1 / -1; }
.field-half { grid-column: span 1; }

@media (max-width: 23rem) {
  .field-half { grid-column: 1 / -1; }
}

.field label,
.field legend {
  color: var(--ink);
  font-size: var(--step-0);
  font-weight: 700;
}

.field .optional { color: var(--muted); font-weight: 500; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.85rem;
  background: var(--white);
  border: 1.5px solid #a9bcc3;
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.15s ease;
}

.field textarea { min-height: 5.5rem; resize: vertical; }

.field select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2315324a'%3E%3Cpath d='M5.3 7.3a1 1 0 0 1 1.4 0L10 10.6l3.3-3.3a1 1 0 1 1 1.4 1.4l-4 4a1 1 0 0 1-1.4 0l-4-4a1 1 0 0 1 0-1.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 1.1rem;
}

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--ink); }

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  border-color: var(--teal);
  border-radius: 8px;
}

.field [aria-invalid="true"] { border-color: var(--error); background: #fffafa; }

.field-error {
  display: flex;
  gap: 0.35rem;
  align-items: flex-start;
  color: var(--error);
  font-size: var(--step--1);
  font-weight: 600;
  line-height: 1.35;
}

.field-error[hidden] { display: none; }

.field-note { color: var(--muted); font-size: var(--step--1); line-height: 1.4; }

.choice-field { margin: 0; padding: 0; border: 0; min-width: 0; }
.choice-field legend { padding: 0; margin-bottom: 0.35rem; }

.choices { display: grid; gap: 0.5rem; }

.choice {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.65rem;
  align-items: center;
  min-height: 3rem;
  padding: 0.6rem 0.85rem;
  border: 1.5px solid #a9bcc3;
  border-radius: 8px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.35;
  cursor: pointer;
}

.choice:hover { border-color: var(--ink); }
.choice input { width: 1.2rem; height: 1.2rem; min-height: 0; margin: 0; accent-color: var(--teal); }
.choice:has(input:checked) { border-color: var(--teal); background: #f2f9f8; box-shadow: inset 0 0 0 1px var(--teal); }
.choice:has(input:focus-visible) { box-shadow: var(--focus); }
.choice:has(input:disabled) { opacity: 0.5; cursor: not-allowed; }
.choice-field[data-invalid="true"] .choice { border-color: var(--error); }

.field-hint {
  color: var(--muted);
  font-size: var(--step--1);
  text-align: right;
}

.consent {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.9rem;
  background: var(--mist);
  border-radius: 8px;
  font-size: var(--step--1);
  line-height: 1.45;
}

.consent input {
  width: 1.4rem;
  height: 1.4rem;
  min-height: 0;
  margin: 0.05rem 0 0;
  accent-color: var(--teal);
}

.consent label { font-weight: 500; color: var(--text); font-size: var(--step--1); }
.consent strong { display: block; margin-top: 0.3rem; color: var(--ink); font-size: var(--step-0); }

.inquiry .button-primary { margin-top: 0.25rem; }

.form-footnote {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: var(--step--1);
  text-align: center;
}

.form-footnote a { color: inherit; }

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ----------------------------------------------------------- sections */

.section { padding-block: var(--section); }
.section-mist { background: var(--mist); }
.section-ink { background: var(--ink); color: #d9e6ec; }
.section-ink h2,
.section-ink h3 { color: var(--white); }

.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.section-head .lede { margin-top: 1rem; }
.section-ink .lede { color: #c3d4dc; }

.split {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 56rem) {
  .split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 4rem; align-items: start; }
}

/* RMT work settings: a quiet two-column list, not cards. */
.settings {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: 2rem;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--ink);
}

.settings li {
  padding: 1rem 0.25rem 1rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 36rem) {
  .settings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 60rem) {
  .settings { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.settings strong { display: block; color: var(--ink); }
.settings span { color: var(--muted); font-size: var(--step-0); }

.photo {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--mist);
}

.photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

/* ------------------------------------------------------ 18-month path */

.path {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: path;
}

.path-step {
  position: relative;
  padding: 0 0 2rem 3.75rem;
  counter-increment: path;
}

.path-step::before {
  content: counter(path);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  background: var(--white);
  border: 3px solid var(--accent);
  border-radius: 50%;
  color: var(--ink);
  font-weight: 800;
}

.path-step::after {
  content: "";
  position: absolute;
  left: calc(1.3rem - 1.5px);
  top: 2.6rem;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  opacity: 0.35;
}

.path-step:last-child { padding-bottom: 0; }
.path-step:last-child::after { display: none; }
.path-step:last-child::before { background: var(--accent); color: var(--white); }

.path-when {
  display: block;
  color: var(--accent-ink);
  font-size: var(--step-0);
  font-weight: 700;
}

.path-step h3 { margin-top: 0.15rem; }
.path-step p { margin-top: 0.4rem; color: var(--muted); font-size: var(--step-0); max-width: 30em; }

.section-ink .path-step::before { background: var(--ink); color: var(--white); border-color: var(--sun); }
.section-ink .path-step::after { background: var(--sun); }
.section-ink .path-step:last-child::before { background: var(--sun); color: var(--ink-deep); }
.section-ink .path-when { color: var(--sun); }
.section-ink .path-step p { color: #c3d4dc; }

@media (min-width: 60rem) {
  .path {
    grid-template-columns: repeat(var(--steps, 5), minmax(0, 1fr));
    gap: 1.5rem;
  }

  .path-step { padding: 3.75rem 0 0; }
  .path-step::after {
    left: 2.6rem;
    right: -1.5rem;
    top: calc(1.3rem - 1.5px);
    bottom: auto;
    width: auto;
    height: 3px;
  }
}

/* ------------------------------------------------- choose your school */

.schools {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 60rem) {
  .schools { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.school-panel {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 8px solid var(--school);
  border-radius: var(--radius);
}

.school-panel-logo { height: 4rem; width: auto; align-self: flex-start; }

.school-panel h3 { margin-top: 1.25rem; }

.school-panel-region {
  margin-top: 0.25rem;
  color: var(--school-ink);
  font-weight: 700;
  font-size: var(--step-0);
}

.school-panel ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.school-panel li {
  padding: 0.2rem 0.65rem;
  background: var(--mist);
  border-radius: 999px;
  color: var(--ink);
  font-size: var(--step--1);
  font-weight: 600;
}

.school-panel p { margin-top: 1rem; color: var(--muted); font-size: var(--step-0); }

.school-panel-actions {
  display: grid;
  gap: 0.25rem;
  margin-top: auto;
  padding-top: 1.5rem;
}

.school-panel-actions a:not(.button) {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  font-weight: 700;
}

@media (min-width: 40rem) and (max-width: 59.99rem) {
  .school-panel-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; }
}

.school-panel .button-outline { color: var(--ink); }

/* ------------------------------------------------------- open house */

.open-house {
  background: var(--accent-ink);
  color: var(--white);
}

.open-house .wrap {
  display: grid;
  gap: 1.5rem;
  padding-block: clamp(2.25rem, 1.75rem + 2vw, 3.5rem);
}

@media (min-width: 40rem) {
  .open-house .wrap { grid-template-columns: auto minmax(0, 1fr); column-gap: 2rem; align-items: start; }
  .open-house .button { grid-column: 2; justify-self: start; }
}

@media (min-width: 52rem) {
  .open-house .wrap { grid-template-columns: auto minmax(0, 1fr) auto; gap: 2.5rem; align-items: center; }
  .open-house .button { grid-column: auto; }
}

.open-house-date {
  display: grid;
  place-items: center;
  width: 6.5rem;
  height: 6.5rem;
  padding: 0.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  color: var(--ink);
  line-height: 1;
  text-align: center;
}

.open-house-date svg { width: 3.25rem; height: 3.25rem; }

.open-house h2 { color: var(--white); font-size: var(--step-3); }
.open-house p { margin-top: 0.4rem; color: rgba(255, 255, 255, 0.9); }

/* ------------------------------------------------- campuses & schedule */

.campus-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--ink);
}

.campus {
  display: grid;
  gap: 0.35rem 2rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 48rem) {
  .campus { grid-template-columns: 14rem minmax(0, 1fr) auto; align-items: baseline; }
}

.campus h3 { font-size: var(--step-1); }
.campus address { font-style: normal; color: var(--text); font-size: var(--step-0); }
.campus-note { margin-top: 0.2rem; color: var(--muted); font-size: var(--step--1); }

.campuses-split { display: grid; gap: 2.5rem; }
.campuses-split .photo { margin: 0; }

@media (min-width: 60rem) {
  .campuses-split { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 4rem; align-items: start; }
  .campuses-split .campus { grid-template-columns: 11rem minmax(0, 1fr) auto; }
}

figure.photo { margin: 0; }
.campus-links { display: flex; flex-wrap: wrap; gap: 0 1.25rem; font-size: var(--step-0); font-weight: 600; }
.campus-links a { display: inline-flex; align-items: center; min-height: 2.75rem; min-width: 2.75rem; }

.schedule {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--step-0);
}

.schedule caption { text-align: left; color: var(--muted); padding-bottom: 0.75rem; caption-side: bottom; padding-top: 0.75rem; }
.schedule th,
.schedule td { padding: 0.85rem 1rem 0.85rem 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.schedule td { min-width: 7.5rem; }
.schedule tbody th { min-width: 11rem; }
.schedule thead th { color: var(--ink); border-bottom: 2px solid var(--ink); font-size: var(--step--1); }
.schedule tbody th { color: var(--ink); font-weight: 700; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Small screens: each program becomes a labelled block instead of a sideways-scrolling row. */
@media (max-width: 47.99rem) {
  .schedule thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .schedule tr { display: block; padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .schedule tbody tr:first-child { border-top: 2px solid var(--ink); }
  .schedule th,
  .schedule td { display: block; min-width: 0; padding: 0.2rem 0; border: 0; }
  .schedule tbody th { margin-bottom: 0.35rem; font-size: var(--step-1); }
  .schedule td::before { content: attr(data-label) ": "; color: var(--ink); font-weight: 700; }
}

/* ------------------------------------------------------------ funding */

.funding {
  display: grid;
  gap: 1.75rem 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 48rem) {
  .funding { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.funding li { padding-left: 1.1rem; border-left: 3px solid var(--accent); }
.funding p { margin-top: 0.35rem; color: var(--muted); font-size: var(--step-0); }

/* ------------------------------------------------------- credentials */

.credentials {
  display: grid;
  gap: 1rem;
}

@media (min-width: 52rem) {
  .credentials { grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
}

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

.credential p { margin-top: 0.4rem; font-size: var(--step-0); color: var(--muted); }
.credential a { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: 0.25rem; font-size: var(--step-0); font-weight: 700; }

.credential-statement {
  grid-column: 1 / -1;
  border-left: 6px solid var(--accent);
}

.credential-statement blockquote { margin: 0.6rem 0 0; }

.credential-statement blockquote p {
  margin: 0;
  max-width: 44em;
  color: var(--ink);
  font-size: var(--step-1);
  font-weight: 600;
}

/* ------------------------------------------------ schedule details */

.schedule-details {
  display: grid;
  gap: 2rem 3rem;
  margin-top: 2.5rem;
}

@media (min-width: 52rem) {
  .schedule-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.schedule-details h3 { margin-bottom: 0.75rem; }
.schedule-details p { color: var(--muted); font-size: var(--step-0); }

.start-dates {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  padding: 0;
  list-style: none;
}

.start-dates li {
  padding: 0.75rem 1rem;
  background: var(--white);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  font-size: var(--step-0);
}

.start-dates strong { color: var(--ink); margin-right: 0.35rem; }

.schedule-notes { padding-left: 1.1em; color: var(--muted); font-size: var(--step-0); }
.schedule-notes li + li { margin-top: 0.4rem; }

.path-note { margin-top: 2rem; max-width: 44em; color: var(--muted); font-size: var(--step-0); }
.section-ink .path-note { color: #c3d4dc; }

.settings-title { margin: clamp(2.5rem, 2rem + 2vw, 4rem) 0 1rem; }

.open-house-alt { margin-top: 0.5rem; font-size: var(--step-0); line-height: 2; }
.open-house-alt a { color: var(--white); font-weight: 600; }

/* ---------------------------------------------------------------- FAQ */

.faq { max-width: 48rem; border-top: 2px solid var(--ink); }

.faq details { border-bottom: 1px solid var(--line); }

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  color: var(--ink);
  font-size: var(--step-1);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border: 2px solid var(--accent);
  border-radius: 50%;
  color: var(--accent-ink);
  font-weight: 800;
  line-height: 1;
}

.faq details[open] summary::after { content: "\2212"; }

.faq-answer { padding: 0 2.75rem 1.25rem 0; color: var(--muted); font-size: var(--step-0); }

/* ---------------------------------------------------------- final CTA */

.final-cta { text-align: left; }

.final-cta .wrap {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 52rem) {
  .final-cta .wrap { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 3rem; }
}

.final-cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* -------------------------------------------------------- thank you */

.thanks {
  padding-block: clamp(3rem, 2rem + 5vw, 6rem);
}

.thanks-mark {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.5rem;
  background: var(--accent);
  border-radius: 50%;
  color: var(--white);
}

.thanks-mark svg { width: 2rem; height: 2rem; }

.thanks .lede { margin-top: 1rem; }

.next-steps {
  margin-top: 3rem;
  max-width: 44rem;
}

.next-steps .path { --steps: 3; }

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 3rem;
}

.thanks-actions-first { margin-top: 2rem; }

.thanks-actions .button { white-space: normal; }

.button-large {
  min-height: 3.75rem;
  padding-inline: 2rem;
  font-size: var(--step-2);
}

@media (max-width: 30rem) {
  .button-large { width: 100%; white-space: normal; }
}

/* ------------------------------------------------ intent switch */

.intent-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
  margin: 0 0 1.25rem;
  padding: 0.25rem;
  border: 0;
  background: var(--mist);
  border-radius: 999px;
}

.intent-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.intent-switch label {
  display: grid;
  place-items: center;
  min-height: 2.75rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: var(--step-0);
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.intent-switch label:hover { color: var(--ink); }

.intent-switch input:checked + label {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(15, 37, 55, 0.18), 0 0 0 1px var(--line);
}

.intent-switch input:focus-visible + label { box-shadow: var(--focus); }

/* ------------------------------------------------------------- footer */

.site-footer {
  padding-block: 3rem 2rem;
  background: var(--ink-deep);
  color: #aebfc9;
  font-size: var(--step-0);
}

.site-footer a { color: var(--white); }

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 40rem) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (min-width: 52rem) {
  .footer-grid { grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: auto; }
}

.footer-brand .brand { color: var(--white); }
.footer-brand p { margin-top: 1rem; max-width: 24rem; }

.footer-college h3 { color: var(--white); font-size: var(--step-0); }
.footer-college ul { margin-top: 0.6rem; padding: 0; list-style: none; }
.footer-college a,
.footer-legal a { display: inline-block; min-height: 2.75rem; padding-block: 0.7rem; line-height: 1.4; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: var(--step--1);
}

.footer-legal ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; padding: 0; list-style: none; }

/* --------------------------------------------- mobile sticky CTA bar */

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  padding: 0.65rem var(--gutter) calc(0.65rem + env(safe-area-inset-bottom));
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px -20px rgba(15, 37, 55, 0.6);
  transform: translateY(0);
  transition: transform 0.2s ease;
}

.mobile-cta[data-hidden="true"] { transform: translateY(110%); }

.mobile-cta .button { min-height: 3rem; }

@media (min-width: 60rem) {
  .mobile-cta { display: none; }
}

@media (max-width: 59.99rem) {
  .site-footer { padding-bottom: 6rem; }
}

@media (max-width: 40rem) {
  .header-phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .header-phone {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 2px solid var(--line);
    border-radius: 50%;
  }
  .brand { gap: 0.45rem; font-size: 1rem; }
  .brand svg { width: 1.6rem; height: 1.6rem; }
  .header-actions { gap: 0.5rem; }
  .site-header .button-small { padding-inline: 0.85rem; gap: 0.3rem; }
}

/* Phones: the sticky bottom bar already has "Call", so the header keeps just the logo and Apply Now!. */
@media (max-width: 29.99rem) {
  .header-phone { display: none; }
}

@media (max-width: 21rem) {
  .brand { font-size: 0.95rem; }
  .site-header .button-small { padding-inline: 0.75rem; }
}

/* Phones held sideways: a sticky header would eat a third of the screen. */
@media (max-height: 30rem) and (orientation: landscape) {
  .site-header { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
