﻿:root {
  --home-space: clamp(76px, 9vw, 126px);
  --home-shadow: 0 24px 60px rgb(11 29 58 / 8%);
  --home-content-width: clamp(1200px, 82vw, 1760px);
}

html {
  font-size: clamp(16px, calc(14px + 0.16vw), 19px);
}

main {
  overflow: hidden;
}

.home-shell {
  width: min(calc(100% - 40px), var(--home-content-width));
  margin-inline: auto;
}

.home-section {
  padding-block: var(--home-space);
}

.home-eyebrow {
  margin: 0 0 17px;
  color: var(--color-emerald);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.home-section h2,
.home-cta h2 {
  margin-top: 0;
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-size: clamp(2.45rem, 4.5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.home-section h2 span,
.home-cta h2 span {
  color: var(--color-primary);
}

.home-section-heading {
  display: grid;
  margin-bottom: clamp(44px, 6vw, 72px);
  align-items: end;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.5fr);
  gap: clamp(40px, 8vw, 120px);
}

.home-section-heading h2 {
  max-width: 780px;
  margin-bottom: 0;
}

.home-section-heading > p {
  margin: 0 0 6px;
  font-size: 1.02rem;
  line-height: 1.75;
}

.home-button {
  display: inline-flex;
  min-height: 51px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease, color 220ms ease, background 220ms ease;
}

.home-button:hover,
.home-button:focus-visible {
  transform: translateY(-3px);
}

.home-button--primary {
  color: var(--color-white);
  background: var(--color-primary);
  box-shadow: 0 13px 27px rgb(13 79 145 / 19%);
}

.home-button--primary:hover,
.home-button--primary:focus-visible {
  box-shadow: 0 18px 34px rgb(13 79 145 / 28%);
}

.home-button--secondary {
  border-color: rgb(13 79 145 / 20%);
  color: var(--color-primary);
  background: rgb(255 255 255 / 75%);
}

.home-text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.home-text-link svg {
  width: 19px;
  transition: transform 200ms ease;
}

.home-text-link:hover svg,
.home-text-link:focus-visible svg {
  transform: translateX(4px);
}

.home-hero {
  position: relative;
  min-height: 720px;
  padding: clamp(76px, 9vw, 126px) 0 80px;
  background:
    linear-gradient(rgb(13 79 145 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(13 79 145 / 4%) 1px, transparent 1px),
    linear-gradient(135deg, #ffffff 0%, #f8fbfc 62%, #eef8f6 100%);
  background-size: 44px 44px, 44px 44px, 100% 100%;
}

.home-hero__grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.12fr) minmax(430px, 0.88fr);
  gap: clamp(56px, 8vw, 112px);
}

.home-hero h1 {
  max-width: 780px;
  margin: 0 0 28px;
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-size: clamp(3.15rem, 5.3vw, 5.45rem);
  line-height: 1;
  letter-spacing: -0.048em;
  text-wrap: balance;
}

.home-hero h1 span {
  display: block;
  color: var(--color-primary);
}

.home-hero__lead {
  max-width: 680px;
  margin: 0;
  font-size: clamp(1.05rem, 1.15vw, 1.3rem);
  line-height: 1.8;
}

.home-hero__actions {
  display: flex;
  margin-top: 34px;
  flex-wrap: wrap;
  gap: 12px;
}

.home-hero__contact {
  display: flex;
  margin-top: 30px;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.84rem;
}

.home-hero__contact > span:first-child {
  color: var(--color-emerald);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.home-hero__contact a {
  color: var(--color-text);
  font-weight: 600;
  text-decoration: none;
}

.home-hero__contact a:hover {
  color: var(--color-primary);
}

.home-hero__contact-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-gold);
}

.home-hero__visual {
  position: relative;
  display: grid;
  min-height: 510px;
  place-items: center;
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgb(13 79 145 / 16%);
  border-radius: 50%;
}

.hero-orbit--outer {
  width: 470px;
  height: 470px;
  animation: home-orbit 22s linear infinite;
}

.hero-orbit--inner {
  width: 390px;
  height: 390px;
  border-color: rgb(20 184 166 / 20%);
  border-style: dashed;
  animation: home-orbit 18s linear infinite reverse;
}

.strategy-panel {
  position: relative;
  z-index: 3;
  width: min(100%, 370px);
  padding: 25px;
  border: 1px solid rgb(13 79 145 / 11%);
  border-radius: 18px;
  background: rgb(255 255 255 / 95%);
  box-shadow: 0 30px 70px rgb(11 29 58 / 12%);
  animation: panel-float 6s ease-in-out infinite;
}

.strategy-panel::after {
  position: absolute;
  top: -30%;
  left: -55%;
  width: 28%;
  height: 165%;
  content: "";
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 80%), transparent);
  transform: rotate(16deg);
  animation: panel-shine 6.5s ease-in-out infinite;
  pointer-events: none;
}

.strategy-panel__header,
.strategy-panel__score,
.strategy-panel__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.strategy-panel__header {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--color-gray);
  color: var(--color-navy);
  font-size: 0.82rem;
  font-weight: 700;
}

.strategy-panel__status {
  padding: 6px 8px;
  border-radius: 5px;
  color: var(--color-emerald);
  background: rgb(5 150 105 / 9%);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.strategy-panel__score {
  padding: 22px 0;
}

.strategy-panel__score div {
  display: grid;
  gap: 6px;
}

.strategy-panel__score span {
  color: var(--color-text);
  font-size: 0.76rem;
}

.strategy-panel__score strong {
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-size: 1.45rem;
}

.strategy-panel__score svg {
  width: 72px;
}

.strategy-panel__steps {
  display: grid;
  padding: 18px;
  border-radius: 10px;
  background: #f7f9fb;
  gap: 15px;
}

.strategy-panel__steps div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text);
  font-size: 0.78rem;
  font-weight: 600;
}

.strategy-panel__steps div span {
  width: 8px;
  height: 8px;
  border: 2px solid rgb(72 86 99 / 26%);
  border-radius: 50%;
}

.strategy-panel__steps .is-complete span {
  border-color: var(--color-emerald);
  background: var(--color-emerald);
}

.strategy-panel__steps .is-active {
  color: var(--color-primary);
}

.strategy-panel__steps .is-active span {
  border-color: var(--color-teal);
  box-shadow: 0 0 0 5px rgb(20 184 166 / 10%);
  background: var(--color-white);
  animation: active-pulse 2.4s ease-in-out infinite;
}

.strategy-panel__footer {
  padding-top: 20px;
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.strategy-panel__footer svg {
  width: 19px;
}

.hero-symbol {
  position: absolute;
  z-index: 4;
  display: grid;
  width: 49px;
  height: 49px;
  place-items: center;
  border: 1px solid rgb(13 79 145 / 12%);
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: 0 12px 27px rgb(11 29 58 / 10%);
  animation: symbol-drift 5.5s ease-in-out infinite;
}

.hero-symbol svg {
  width: 24px;
}

.hero-symbol--cap {
  top: 6%;
  left: 13%;
  color: var(--color-primary);
}

.hero-symbol--medical {
  top: 18%;
  right: 1%;
  color: var(--color-teal);
  animation-delay: 800ms;
}

.hero-symbol--book {
  right: 9%;
  bottom: 5%;
  color: var(--color-emerald);
  animation-delay: 1.4s;
}

.home-hero__line {
  position: absolute;
  right: 20px;
  bottom: 28px;
  left: 20px;
  max-width: var(--content-width);
  height: 1px;
  margin-inline: auto;
  overflow: hidden;
  background: rgb(13 79 145 / 12%);
}

.home-hero__line span {
  display: block;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-teal));
  animation: home-line 7s ease-in-out infinite;
}

.trust-strip {
  border-bottom: 1px solid rgb(13 79 145 / 10%);
  background: var(--color-white);
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-strip__grid > div {
  display: flex;
  min-height: 112px;
  padding: 25px;
  align-items: center;
  gap: 14px;
  border-right: 1px solid rgb(13 79 145 / 10%);
}

.trust-strip__grid > div:first-child {
  border-left: 1px solid rgb(13 79 145 / 10%);
}

.trust-strip__icon {
  display: grid;
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgb(20 184 166 / 28%);
  border-radius: 50%;
  color: var(--color-teal);
}

.trust-strip__icon svg {
  width: 20px;
}

.trust-strip p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.trust-strip strong {
  display: block;
  color: var(--color-navy);
}

.why-home__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.why-card {
  position: relative;
  min-height: 275px;
  padding: 30px;
  border-top: 1px solid rgb(13 79 145 / 13%);
  border-right: 1px solid rgb(13 79 145 / 13%);
  transition: border-color 240ms ease, transform 240ms ease, box-shadow 240ms ease;
}

.why-card:nth-child(3n + 1) {
  border-left: 1px solid rgb(13 79 145 / 13%);
}

.why-card:nth-child(n + 4) {
  border-bottom: 1px solid rgb(13 79 145 / 13%);
}

.why-card:hover {
  z-index: 2;
  border-color: rgb(20 184 166 / 34%);
  box-shadow: var(--home-shadow);
  transform: translateY(-6px);
}

.why-card > span {
  color: var(--color-teal);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
}

.why-card svg {
  display: block;
  width: 32px;
  margin: 44px 0 20px;
  color: var(--color-primary);
}

.why-card h3 {
  margin: 0 0 10px;
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-size: 1.42rem;
}

.why-card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
}

.why-card--accent {
  color: rgb(255 255 255 / 75%);
  background: var(--color-primary);
}

.why-card--accent > span,
.why-card--accent svg {
  color: var(--color-gold);
}

.why-card--accent h3 {
  color: var(--color-white);
}

.services-home {
  color: rgb(255 255 255 / 70%);
  background: var(--color-navy);
}

.home-section-heading--light h2,
.home-section-heading--light h2 span {
  color: var(--color-white);
}

.home-section-heading--light h2 span {
  color: var(--color-teal);
}

.home-section-heading--light > p {
  color: rgb(255 255 255 / 65%);
}

.services-home__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.services-home__grid--combined {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.services-home__grid article {
  display: flex;
  min-height: 305px;
  padding: 30px;
  flex-direction: column;
  border: 1px solid rgb(255 255 255 / 10%);
  background: rgb(255 255 255 / 3%);
  transition: border-color 240ms ease, background 240ms ease, transform 240ms ease;
}

.services-home__grid article:hover {
  border-color: rgb(20 184 166 / 35%);
  background: rgb(20 184 166 / 6%);
  transform: translateY(-5px);
}

.services-home__grid article > span {
  color: var(--color-gold);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.services-home__grid h3 {
  margin: 54px 0 14px;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1.18;
}

.services-home__grid p {
  margin: 0 0 24px;
  font-size: 0.94rem;
  line-height: 1.65;
}

.services-home__grid a {
  display: inline-flex;
  margin-top: auto;
  align-self: flex-start;
  color: var(--color-teal);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.journey-home .home-shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(500px, 1.25fr);
  gap: clamp(65px, 10vw, 150px);
}

.journey-home__intro {
  position: sticky;
  top: 130px;
  align-self: start;
}

.journey-home__intro h2 {
  margin-bottom: 26px;
}

.journey-home__intro > p:not(.home-eyebrow) {
  margin-bottom: 28px;
  line-height: 1.75;
}

.journey-home__steps {
  position: relative;
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey-home__steps::before {
  position: absolute;
  top: 38px;
  bottom: 38px;
  left: 34px;
  width: 1px;
  content: "";
  background: linear-gradient(var(--color-primary), var(--color-teal), var(--color-emerald));
}

.journey-home__steps li {
  position: relative;
  display: grid;
  min-height: 132px;
  padding: 24px 24px 24px 106px;
  align-items: center;
  border-bottom: 1px solid rgb(13 79 145 / 10%);
}

.journey-home__steps li > span {
  position: absolute;
  z-index: 2;
  left: 4px;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 1px solid rgb(13 79 145 / 18%);
  border-radius: 50%;
  color: var(--color-primary);
  background: var(--color-white);
  box-shadow: 0 8px 20px rgb(11 29 58 / 8%);
  font-size: 1rem;
  font-weight: 700;
}

.journey-home__steps h3 {
  margin: 0 0 6px;
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-size: 1.42rem;
}

.journey-home__steps p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.55;
}

.calculator-home {
  background: var(--color-gray);
}

.calculator-home__grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.85fr) minmax(440px, 1.15fr);
  gap: clamp(70px, 10vw, 150px);
}

.calculator-home__content h2 {
  margin-bottom: 26px;
}

.calculator-home__content > p:not(.home-eyebrow) {
  line-height: 1.75;
}

.calculator-home__content ul {
  display: grid;
  margin: 28px 0 32px;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.calculator-home__content li {
  position: relative;
  padding-left: 20px;
  color: var(--color-navy);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
}

.calculator-home__content li::before {
  position: absolute;
  top: 6px;
  left: 0;
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: var(--color-teal);
}

.calculator-card {
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgb(13 79 145 / 10%);
  border-radius: 16px;
  background: var(--color-white);
  box-shadow: var(--home-shadow);
}

.calculator-card__header {
  display: flex;
  padding-bottom: 24px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--color-gray);
}

.calculator-card__header > div {
  display: grid;
  gap: 5px;
}

.calculator-card__header span {
  color: var(--color-text);
  font-size: 0.76rem;
}

.calculator-card__header strong {
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-size: 1.45rem;
}

.calculator-card__lock {
  display: inline-flex;
  padding: 7px 9px;
  align-items: center;
  gap: 6px;
  border-radius: 5px;
  color: var(--color-emerald) !important;
  background: rgb(5 150 105 / 8%);
  font-weight: 700;
}

.calculator-card__lock svg {
  width: 15px;
}

.calculator-card__form {
  display: grid;
  padding: 28px 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.calculator-card__form label {
  display: grid;
  padding: 13px;
  gap: 7px;
  border: 1px solid rgb(13 79 145 / 10%);
  border-radius: 7px;
  color: var(--color-primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.calculator-card__form label span {
  color: var(--color-text);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.calculator-card__result {
  padding: 22px;
  border-left: 3px solid var(--color-teal);
  background: #f4faf9;
}

.calculator-card__result span {
  color: var(--color-emerald);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calculator-card__result strong {
  display: block;
  margin: 9px 0 5px;
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

.calculator-card__result p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
}

.states-home__grid,
.colleges-home__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.states-home__grid article {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgb(13 79 145 / 11%);
  border-radius: 12px;
  background: var(--color-white);
  box-shadow: 0 13px 34px rgb(11 29 58 / 5%);
  transition: border-color 280ms ease, background 280ms ease, transform 280ms ease, box-shadow 280ms ease;
}

.states-home__grid article::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  content: "";
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms ease;
}

.states-home__grid .state-card--nursing::before {
  background: var(--color-teal);
}

.states-home__grid .state-card--management::before {
  background: var(--color-emerald);
}

.states-home__grid article:hover,
.states-home__grid article:focus-within {
  border-color: rgb(13 79 145 / 25%);
  background: linear-gradient(180deg, rgb(13 79 145 / 4%), var(--color-white) 34%);
  box-shadow: 0 28px 66px rgb(11 29 58 / 14%);
  transform: translateY(-9px);
}

.states-home__grid article:hover::before,
.states-home__grid article:focus-within::before {
  transform: scaleX(1);
}

.state-code {
  display: grid;
  width: 68px;
  height: 68px;
  margin-bottom: 58px;
  place-items: center;
  border: 1px solid rgb(13 79 145 / 18%);
  border-radius: 50%;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  transition: color 260ms ease, background 260ms ease, border-color 260ms ease, transform 260ms ease;
}

.states-home__grid article:hover .state-code,
.states-home__grid article:focus-within .state-code {
  color: var(--color-white);
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: rotate(-6deg) scale(1.08);
}

.states-home__grid .state-card--nursing:hover .state-code,
.states-home__grid .state-card--nursing:focus-within .state-code {
  background: var(--color-teal);
  border-color: var(--color-teal);
}

.states-home__grid .state-card--management:hover .state-code,
.states-home__grid .state-card--management:focus-within .state-code {
  background: var(--color-emerald);
  border-color: var(--color-emerald);
}

.states-home__grid article > p {
  margin: 0 0 6px;
  color: var(--color-teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.states-home__grid h3 {
  margin: 0 0 20px;
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-size: 1.72rem;
}

.states-home__grid ul {
  display: grid;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  gap: 9px;
}

.states-home__grid li {
  padding-left: 15px;
  position: relative;
  font-size: 0.9rem;
}

.states-home__grid li::before {
  position: absolute;
  top: 7px;
  left: 0;
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 50%;
  background: var(--color-gold);
}

.states-home__grid a,
.colleges-home__grid a {
  color: var(--color-primary);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.colleges-home {
  color: rgb(255 255 255 / 68%);
  background: var(--color-primary);
}

.colleges-home__grid article {
  min-height: 330px;
  padding: 34px;
  border: 1px solid rgb(255 255 255 / 14%);
  background: rgb(255 255 255 / 4%);
  transition: transform 240ms ease, background 240ms ease;
}

.colleges-home__grid article:hover {
  background: rgb(255 255 255 / 8%);
  transform: translateY(-5px);
}

.colleges-home__grid article > span {
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-size: 0.96rem;
}

.colleges-home__grid h3 {
  margin: 70px 0 16px;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.6rem;
}

.colleges-home__grid p {
  font-size: 0.93rem;
  line-height: 1.65;
}

.colleges-home__grid a {
  color: var(--color-teal);
}

.colleges-home__notice {
  margin: 26px 0 0;
  color: rgb(255 255 255 / 52%);
  font-size: 0.8rem;
  text-align: center;
}

.updates-home__grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(480px, 1.25fr);
  gap: clamp(70px, 10vw, 150px);
}

.updates-home__intro h2 {
  margin-bottom: 24px;
}

.updates-home__intro > p:not(.home-eyebrow) {
  margin-bottom: 28px;
  line-height: 1.75;
}

.updates-home__list {
  display: grid;
}

.updates-home__list article {
  display: grid;
  min-height: 155px;
  padding: 28px 0;
  border-bottom: 1px solid rgb(13 79 145 / 10%);
  grid-template-columns: 0.4fr 1fr;
  column-gap: 30px;
}

.updates-home__list article > span {
  color: var(--color-emerald);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.updates-home__list h3 {
  margin: 0 0 8px;
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-size: 1.4rem;
}

.updates-home__list p,
.updates-home__list small {
  grid-column: 2;
}

.updates-home__list p {
  margin: 0 0 8px;
  font-size: 0.91rem;
  line-height: 1.55;
}

.updates-home__list small {
  color: rgb(72 86 99 / 65%);
  font-size: 0.75rem;
}

.stories-home {
  padding-top: 0;
}

.stories-home__panel {
  display: grid;
  padding: clamp(38px, 6vw, 70px);
  align-items: center;
  border: 1px solid rgb(13 79 145 / 11%);
  background:
    linear-gradient(90deg, rgb(13 79 145 / 4%) 1px, transparent 1px),
    linear-gradient(rgb(13 79 145 / 4%) 1px, transparent 1px),
    var(--color-white);
  background-size: 40px 40px;
  box-shadow: var(--home-shadow);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: clamp(50px, 8vw, 120px);
}

.stories-home h2 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 3.8vw, 3.8rem);
}

.stories-home__panel p {
  line-height: 1.7;
}

.stories-home__placeholder {
  display: flex;
  min-height: 130px;
  padding: 24px;
  align-items: center;
  gap: 20px;
  border: 1px dashed rgb(13 79 145 / 24%);
  border-radius: 10px;
  background: rgb(241 243 246 / 70%);
}

.stories-home__placeholder svg {
  width: 38px;
  flex: 0 0 auto;
  color: var(--color-primary);
}

.stories-home__placeholder div {
  display: grid;
  gap: 6px;
}

.stories-home__placeholder strong {
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

.stories-home__placeholder span {
  font-size: 0.84rem;
  line-height: 1.5;
}

.about-home {
  background: var(--color-gray);
}

.about-home__grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(390px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(70px, 11vw, 160px);
}

.about-home__visual {
  position: relative;
  display: grid;
  min-height: 470px;
  place-items: center;
}

.about-home__logo {
  position: relative;
  z-index: 3;
  width: 170px;
  height: 170px;
  overflow: hidden;
  border-radius: 36px;
  background: var(--color-white);
  box-shadow: var(--home-shadow);
  animation: about-logo-breathe 4.5s ease-in-out infinite;
}

.about-home__logo::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 30px;
  content: "";
  background: var(--color-white);
}

.about-home__logo img {
  position: absolute;
  top: -18px;
  left: -33px;
  width: 235px;
  max-width: none;
  height: 235px;
}

.about-home__ring {
  position: absolute;
  /* Previously 1px at 16-20% opacity, which was invisible against the light
     grey section background. Darkened and thickened so the orbit reads. */
  border: 2px solid rgb(13 79 145 / 45%);
  border-radius: 50%;
}

.about-home__ring--one {
  width: 340px;
  height: 340px;
  animation: home-orbit 20s linear infinite;
}

.about-home__ring--two {
  width: 430px;
  height: 430px;
  border-color: rgb(15 118 110 / 52%);
  border-style: dashed;
  animation: home-orbit 25s linear infinite reverse;
}

.about-home__visual > span {
  position: absolute;
  z-index: 4;
  padding: 9px 13px;
  border: 1px solid rgb(13 79 145 / 10%);
  border-radius: 6px;
  color: var(--color-navy);
  background: var(--color-white);
  box-shadow: 0 9px 22px rgb(11 29 58 / 8%);
  font-size: 0.8rem;
  font-weight: 700;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

/* Four stages of the student journey, placed around the orbit.
   Each carries its own colour, chosen for what the stage means rather than for
   decoration: blue for aspiration and trust, teal for calm support, green for
   growth and achievement, gold for attainment. All four use the text-safe
   variants so they pass WCAG AA on the white pill background. */

.about-home__visual > span:nth-of-type(1) {
  top: 10%;
  left: 3%;
  animation: about-label-float 5s ease-in-out infinite;
}

.about-home__visual > span:nth-of-type(2) {
  top: 19%;
  right: 0;
  animation: about-label-float 5s 1.4s ease-in-out infinite;
}

.about-home__visual > span:nth-of-type(3) {
  right: 11%;
  bottom: 8%;
  animation: about-label-float 5s 2.8s ease-in-out infinite;
}

.about-home__visual > span:nth-of-type(4) {
  bottom: 14%;
  left: 1%;
  animation: about-label-float 5s 4.2s ease-in-out infinite;
}

.about-home__label--dream {
  color: var(--color-primary);
}

.about-home__label--guidance {
  color: var(--color-teal-text);
}

.about-home__label--success {
  color: var(--color-emerald-text);
}

.about-home__label--career {
  color: var(--color-gold-text);
}

.about-home__visual:hover .about-home__label--dream {
  color: var(--color-white);
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 14px 30px rgb(13 79 145 / 22%);
}

.about-home__visual:hover .about-home__label--guidance {
  color: var(--color-white);
  background: var(--color-teal-text);
  border-color: var(--color-teal-text);
  box-shadow: 0 14px 30px rgb(15 118 110 / 26%);
}

.about-home__visual:hover .about-home__label--success {
  color: var(--color-white);
  background: var(--color-emerald-text);
  border-color: var(--color-emerald-text);
  box-shadow: 0 14px 30px rgb(4 120 87 / 26%);
}

.about-home__visual:hover .about-home__label--career {
  color: var(--color-navy);
  background: var(--color-gold);
  border-color: var(--color-gold);
  box-shadow: 0 14px 30px rgb(212 175 55 / 26%);
}

.about-home__content h2 {
  margin-bottom: 27px;
}

.about-home__content > p:not(.home-eyebrow) {
  line-height: 1.75;
}

.about-home__content .home-text-link {
  margin-top: 20px;
}

.faq-home__grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(500px, 1.3fr);
  gap: clamp(70px, 10vw, 150px);
}

.faq-home__intro {
  align-self: start;
}

.faq-home__intro h2 {
  margin-bottom: 24px;
}

.faq-home__intro > p:not(.home-eyebrow) {
  line-height: 1.7;
}

.faq-home__intro > a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 700;
}

.faq-list {
  border-top: 1px solid rgb(13 79 145 / 12%);
}

.faq-item {
  border-bottom: 1px solid rgb(13 79 145 / 12%);
}

.faq-item button {
  display: flex;
  width: 100%;
  min-height: 84px;
  padding: 20px 0;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 0;
  color: var(--color-navy);
  background: transparent;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: left;
}

.faq-item button svg {
  width: 21px;
  flex: 0 0 auto;
  color: var(--color-teal);
  transition: transform 220ms ease;
}

.faq-item.is-open button svg {
  transform: rotate(45deg);
}

.faq-item__answer {
  display: grid;
  grid-template-rows: 0fr;
  /* visibility keeps a collapsed answer out of the accessibility tree, so a
     screen reader does not read all five answers regardless of state. It is
     delayed until the row transition finishes so the close animation is seen. */
  visibility: hidden;
  transition: grid-template-rows 260ms ease, visibility 0s linear 260ms;
}

.faq-item__answer p {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.is-open .faq-item__answer {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 260ms ease, visibility 0s;
}

.faq-item.is-open .faq-item__answer p {
  padding-bottom: 24px;
}

.home-cta {
  position: relative;
  padding-block: clamp(92px, 12vw, 160px);
  overflow: hidden;
  color: rgb(255 255 255 / 72%);
  background: var(--color-primary);
}

.home-cta__content {
  position: relative;
  z-index: 2;
  max-width: 910px;
  text-align: center;
}

.home-cta .home-eyebrow {
  color: var(--color-gold);
}

.home-cta h2 {
  margin-bottom: 24px;
  color: var(--color-white);
  font-size: clamp(2.6rem, 5.2vw, 5.2rem);
}

.home-cta h2 span {
  color: var(--color-teal);
}

.home-cta__content > p:not(.home-eyebrow) {
  max-width: 660px;
  margin: 0 auto 34px;
  line-height: 1.7;
}

.home-cta__content > div {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
}

.home-button--light {
  color: var(--color-primary);
  background: var(--color-white);
  box-shadow: 0 14px 28px rgb(11 29 58 / 18%);
}

.home-cta__phone {
  color: var(--color-white);
  font-size: 0.92rem;
  font-weight: 700;
}

.home-cta__orbit {
  position: absolute;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 50%;
}

.home-cta__orbit--one {
  top: -280px;
  left: -160px;
  width: 620px;
  height: 620px;
  animation: cta-drift 10s ease-in-out infinite;
}

.home-cta__orbit--two {
  right: -200px;
  bottom: -330px;
  width: 720px;
  height: 720px;
  animation: cta-drift 12s ease-in-out infinite reverse;
}

[data-home-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

[data-home-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes home-orbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes panel-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes panel-shine {
  0%,
  70% {
    left: -55%;
  }
  90%,
  100% {
    left: 130%;
  }
}

@keyframes active-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgb(20 184 166 / 8%);
  }
  50% {
    box-shadow: 0 0 0 7px rgb(20 184 166 / 16%);
  }
}

@keyframes symbol-drift {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-7px) rotate(3deg);
  }
}

@keyframes home-line {
  0%,
  100% {
    transform: translateX(-20%);
  }
  50% {
    transform: translateX(260%);
  }
}

@keyframes cta-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(18px, -12px, 0);
  }
}

@keyframes about-logo-breathe {
  0%,
  100% {
    box-shadow: 0 24px 60px rgb(11 29 58 / 8%);
    transform: translateY(0) scale(1);
  }
  50% {
    box-shadow: 0 30px 76px rgb(13 79 145 / 18%);
    transform: translateY(-7px) scale(1.025);
  }
}

@keyframes about-label-float {
  0%,
  100% {
    margin-top: 0;
  }
  50% {
    margin-top: -10px;
  }
}

@media (max-width: 1060px) {
  .home-hero__grid,
  .calculator-home__grid,
  .about-home__grid {
    grid-template-columns: 1fr;
  }

  .home-hero__visual {
    width: min(100%, 600px);
    margin-inline: auto;
  }

  .trust-strip__grid,
  .services-home__grid--combined {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip__grid > div:nth-child(3) {
    border-left: 1px solid rgb(13 79 145 / 10%);
    border-top: 1px solid rgb(13 79 145 / 10%);
  }

  .trust-strip__grid > div:nth-child(4) {
    border-top: 1px solid rgb(13 79 145 / 10%);
  }

  .journey-home .home-shell,
  .updates-home__grid,
  .faq-home__grid {
    grid-template-columns: 1fr;
  }

  .journey-home__intro {
    position: static;
  }

  .journey-home__steps {
    max-width: 760px;
  }

  .calculator-card {
    width: min(100%, 720px);
  }

  .about-home__visual {
    width: min(100%, 560px);
    margin-inline: auto;
  }

  .faq-home__intro {
    max-width: 650px;
  }
}

@media (max-width: 820px) {
  .home-section-heading,
  .stories-home__panel {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .why-home__grid,
  .services-home__grid,
  .states-home__grid,
  .colleges-home__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-card:nth-child(odd) {
    border-left: 1px solid rgb(13 79 145 / 13%);
  }

  .why-card:nth-child(n + 3) {
    border-bottom: 1px solid rgb(13 79 145 / 13%);
  }

  .colleges-home__grid article:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .home-shell {
    width: min(calc(100% - 28px), var(--content-width));
  }

  .home-eyebrow {
    font-size: 0.82rem;
  }

  .home-hero {
    min-height: auto;
    padding-top: 68px;
  }

  .home-hero h1 {
    font-size: clamp(2.55rem, 11.5vw, 3.5rem);
    line-height: 1.03;
  }

  .home-hero__actions {
    flex-direction: column;
  }

  .home-hero__contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-hero__contact-dot {
    display: none;
  }

  .home-hero__visual {
    min-height: 470px;
  }

  .hero-orbit--outer {
    width: 330px;
    height: 330px;
  }

  .hero-orbit--inner {
    width: 285px;
    height: 285px;
  }

  .strategy-panel {
    width: min(100%, 330px);
    padding: 20px;
  }

  .hero-symbol {
    width: 42px;
    height: 42px;
  }

  .hero-symbol--cap {
    left: 0;
  }

  .trust-strip__grid,
  .why-home__grid,
  .services-home__grid,
  .states-home__grid,
  .colleges-home__grid {
    grid-template-columns: 1fr;
  }

  .trust-strip__grid > div {
    min-height: 92px;
    border-top: 1px solid rgb(13 79 145 / 10%);
    border-left: 1px solid rgb(13 79 145 / 10%);
  }

  .why-card {
    min-height: auto;
    border-right: 1px solid rgb(13 79 145 / 13%);
    border-bottom: 1px solid rgb(13 79 145 / 13%);
    border-left: 1px solid rgb(13 79 145 / 13%);
  }

  .why-card svg {
    margin-top: 32px;
  }

  .services-home__grid article,
  .states-home__grid article,
  .colleges-home__grid article {
    min-height: auto;
  }

  .services-home__grid h3,
  .colleges-home__grid h3 {
    margin-top: 44px;
  }

  .journey-home .home-shell,
  .calculator-home__grid,
  .updates-home__grid,
  .about-home__grid,
  .faq-home__grid {
    grid-template-columns: 1fr;
  }

  .journey-home__steps li {
    padding-left: 78px;
    padding-right: 10px;
  }

  .journey-home__steps::before {
    left: 27px;
  }

  .journey-home__steps li > span {
    width: 52px;
    height: 52px;
  }

  .calculator-home__content ul,
  .calculator-card__form {
    grid-template-columns: 1fr;
  }

  .colleges-home__grid article:last-child {
    grid-column: auto;
  }

  .updates-home__list article {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .updates-home__list p,
  .updates-home__list small {
    grid-column: auto;
  }

  .stories-home__placeholder {
    align-items: flex-start;
  }

  .about-home__visual {
    min-height: 390px;
  }

  .about-home__logo {
    width: 145px;
    height: 145px;
  }

  .about-home__logo img {
    top: -16px;
    left: -28px;
    width: 202px;
    height: 202px;
  }

  .about-home__ring--one {
    width: 280px;
    height: 280px;
  }

  .about-home__ring--two {
    width: 345px;
    height: 345px;
  }

  .about-home__visual > span:nth-of-type(1) {
    left: 0;
  }

  .about-home__visual > span:nth-of-type(2) {
    right: 0;
  }

  .home-cta__content > div {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-orbit,
  .strategy-panel,
  .strategy-panel::after,
  .strategy-panel__steps .is-active span,
  .hero-symbol,
  .home-hero__line span,
  .about-home__ring,
  .about-home__logo,
  .about-home__label,
  .home-cta__orbit {
    animation: none;
  }

  [data-home-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .home-button,
  .why-card,
  .services-home__grid article,
  .states-home__grid article,
  .state-code,
  .colleges-home__grid article,
  .faq-item button svg,
  .faq-item__answer,
  .faq-item.is-open .faq-item__answer {
    transition: none;
  }
}
