/* Natural scrolling and a quieter, complete information architecture. */
.brand {
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  width: 53px;
  height: 53px;
  object-fit: contain;
  mix-blend-mode: screen;
}
.brand-type {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-size: 34px;
}
.brand-sub {
  font-size: 8px;
  letter-spacing: 1.5px;
}
.nav.scrolled .brand-logo,
.inner-page .nav .brand-logo {
  filter: invert(1);
  mix-blend-mode: multiply;
}
.nav-contact {
  cursor: pointer;
}
.question-scene {
  height: auto;
  min-height: 0;
}
.question-sticky {
  position: relative;
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 105px 6.2% 90px;
  overflow: hidden;
}
.question-title h2 {
  font-size: clamp(49px, 5.8vw, 88px);
}
.question-field {
  margin-top: 70px;
  margin-bottom: 50px;
  padding: 0 20px;
  gap: 20px;
}
.floating-question {
  display: block;
  transition:
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.25s,
    box-shadow 0.25s;
}
.question-scene.settled {
  --settle: 1;
}
.question-resolution {
  transition:
    opacity 0.7s 0.15s,
    transform 0.7s 0.15s;
}
.floating-question:hover i {
  transform: translate(2px, -2px);
}
.floating-question i {
  font-size: 17px;
  transition: transform 0.25s;
}
.journey-natural {
  height: auto;
  min-height: 0;
}
.journey-natural .journey-sticky {
  position: relative;
  height: auto;
  min-height: 740px;
  max-height: none;
  padding-top: 100px;
  padding-bottom: 95px;
}
.journey-natural .journey-scroll-note {
  font-size: 10px;
}
.journey-natural .journey-stage {
  min-height: 490px;
}
.story-more {
  display: inline-block;
  color: var(--ivory);
  border-bottom: 1px solid #fcfbf750;
  margin-top: 20px;
  padding-bottom: 8px;
  font-size: 14px;
}
.trust-note .text-button {
  display: inline-block;
}
.pathway-card {
  min-height: 555px;
}
.pathway-card h3 {
  font-size: clamp(32px, 3vw, 48px);
}
.subjects-visual {
  font-size: 9px;
}
.contact-refined {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 9%;
  align-items: center;
  padding-top: 110px;
  padding-bottom: 110px;
}
.contact-refined h2 {
  font-size: clamp(55px, 6.4vw, 94px);
  line-height: 1.05;
}
.contact-refined h2 em {
  padding-left: 0;
  color: var(--sage);
  font-size: 1.08em;
}
.contact-invitation {
  font-size: 18px;
  line-height: 1.7;
  color: #fcfbf7c0;
  margin-top: 36px;
}
.contact-process {
  display: flex;
  flex-direction: column;
  gap: 13px;
  border-top: 1px solid #fcfbf730;
  padding-top: 26px;
  margin-top: 35px;
  font-size: 12px;
  color: var(--sage);
}
.conversation-form {
  background: var(--ivory);
  color: var(--ink);
  padding: 42px;
  border-radius: 8px;
  position: relative;
}
.conversation-form > .eyebrow {
  font-size: 11px;
  color: var(--forest);
  margin-bottom: 24px;
}
.conversation-form fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
.conversation-form legend,
.form-label {
  font-size: 13px;
  color: var(--muted);
}
.form-label {
  display: block;
  margin: 23px 0 9px;
}
.conversation-form .contact-choice {
  margin: 12px 0 0;
  gap: 8px;
}
.contact-choice label {
  position: relative;
  cursor: pointer;
}
.contact-choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.contact-choice label span {
  display: block;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 50px;
  font-size: 12px;
  transition:
    background 0.25s,
    color 0.25s;
}
.contact-choice input:checked + span {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
}
.contact-choice input:focus-visible + span {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}
.conversation-form select,
.conversation-form textarea {
  width: 100%;
  padding: 13px 14px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  font:
    400 15px/1.5 Manrope,
    Arial,
    sans-serif;
}
.conversation-form textarea {
  resize: vertical;
  min-height: 106px;
}
.conversation-form select:focus-visible,
.conversation-form textarea:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 2px;
}
.conversation-form .solid-button {
  width: 100%;
  margin-top: 20px;
  font-size: 14px;
  padding: 15px 20px;
  transition: background 0.25s;
}
.conversation-form .solid-button:hover {
  background: #1b5b5d;
}
.conversation-form .contact-preview-note {
  font-size: 11px;
  line-height: 1.7;
}
.conversation-result > p {
  margin: 8px 0;
  overflow-wrap: anywhere;
}
.refined-footer {
  grid-template-columns: 1.35fr 0.75fr 1fr 1.1fr;
  column-gap: 55px;
  padding-top: 72px;
  padding-bottom: 27px;
}
.refined-footer .footer-identity {
  align-items: start !important;
  justify-content: start !important;
  gap: 0 !important;
}
.refined-footer .brand-logo {
  width: 62px;
  height: 62px;
}
.refined-footer .brand-name {
  font-size: 38px;
}
.footer-identity > p {
  margin-top: 28px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--sage);
}
.refined-footer .footer-column {
  align-items: start !important;
  justify-content: start !important;
  gap: 13px !important;
  font-size: 13px !important;
}
.footer-heading {
  font-size: 10px;
  letter-spacing: 1.7px;
  color: var(--sage);
  margin-bottom: 13px;
}
.footer-column a {
  position: relative;
  width: fit-content;
  color: #fcfbf7cc;
  transition: color 0.25s;
}
.footer-column a:hover {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.refined-footer .footer-note {
  align-items: start !important;
  justify-content: start !important;
}
.footer-note .serif {
  font-size: 31px;
  line-height: 1.1;
  color: var(--cream);
}
.footer-note p {
  font-size: 13px;
  color: var(--sage);
  line-height: 1.7;
  margin: 15px 0 14px;
}
.footer-conversation {
  font-size: 12px;
  padding-bottom: 7px;
  border-bottom: 1px solid #fcfbf750;
}
.refined-footer .footer-bottom {
  margin-top: 32px;
  padding-top: 25px;
  letter-spacing: 1px;
  font-size: 9px;
}
.inner-page .nav {
  color: var(--ink);
  background: var(--ivory);
  position: sticky;
  top: 0;
  height: 82px;
  border-bottom: 1px solid var(--line);
}
.inner-page .nav.scrolled {
  position: sticky;
  height: 82px;
  animation: none;
}
.inner-page .nav-contact {
  border-color: var(--line);
}
.inner-page .nav-contact:hover {
  background: var(--forest);
  color: var(--cream);
}
.inner-page h1 {
  font-size: clamp(62px, 7.4vw, 118px);
}
.inner-page h1 em {
  color: var(--forest);
  font-size: 1.12em;
}
.inner-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr;
  gap: 8%;
  align-items: center;
  padding-top: 95px;
  padding-bottom: 95px;
}
.inner-hero-copy > p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 550px;
  margin-top: 35px;
  margin-bottom: 30px;
}
.inner-hero-photo {
  position: relative;
  aspect-ratio: 0.82;
  overflow: hidden;
  border-radius: 120px 120px 5px 5px;
}
.inner-hero-photo img {
  object-position: 51% center;
}
.inner-hero-photo > span {
  position: absolute;
  bottom: 25px;
  left: 25px;
  right: 20px;
  color: var(--cream);
  font-size: 10px;
  letter-spacing: 1.5px;
  background: #155153d9;
  padding: 13px;
}
.tutoring-intro {
  background: var(--sand);
}
.tutoring-intro h2 {
  font-size: clamp(47px, 5.9vw, 90px);
}
.editorial-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  margin-top: 50px;
}
.editorial-columns p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 540px;
}
.editorial-columns h3 {
  font-size: 39px;
  line-height: 1.2;
  margin-bottom: 24px;
}
.tutoring-levels .level-row {
  display: grid;
  grid-template-columns: 55px 0.85fr 1fr;
  gap: 35px;
  border-top: 1px solid var(--line);
  padding: 45px 0;
  align-items: center;
}
.level-row > span {
  font-size: 12px;
  color: var(--muted);
}
.level-row h2 {
  font-size: 67px;
  font-family: "DM Serif Display", Georgia, serif;
  color: var(--forest);
}
.level-row p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 460px;
}
.level-row:last-child {
  border-bottom: 1px solid var(--line);
}
.tutor-perspectives {
  background: var(--forest);
  color: var(--ivory);
}
.tutor-perspectives .eyebrow {
  color: var(--sage);
}
.tutor-perspectives h2 {
  font-size: clamp(49px, 5.3vw, 80px);
}
.tutor-perspectives .editorial-columns p {
  color: #fcfbf7ba;
  font-size: 17px;
}
.tutor-perspectives .editorial-columns h3 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 46px;
}
.page-end h2,
.why-shared h2 {
  font-size: clamp(49px, 5.8vw, 85px);
}
.page-end h2 em {
  color: var(--forest);
}
.page-end > p {
  max-width: 630px;
  color: var(--muted);
  font-size: 18px;
  margin: 35px 0;
}
.page-end .solid-button {
  display: inline-block;
  margin-top: 30px;
}
.page-secondary {
  font-size: 14px;
  margin-left: 25px;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.why-hero {
  padding-top: 105px;
  padding-bottom: 90px;
}
.why-hero h1 {
  max-width: 1300px;
}
.why-opening {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  margin-top: 65px;
  padding-top: 35px;
  border-top: 1px solid var(--line);
}
.why-opening .serif {
  font-size: 44px;
  line-height: 1.2;
  color: var(--forest);
  font-style: italic;
}
.why-opening p {
  max-width: 480px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--muted);
}
.why-chapter {
  background: var(--sand);
}
.why-chapter-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 10%;
  align-items: center;
}
.why-chapter h2 {
  font-size: clamp(49px, 5.5vw, 80px);
}
.why-chapter h2 em {
  color: var(--forest);
}
.why-chapter-copy p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 25px;
  color: var(--muted);
}
.why-parent {
  background: var(--forest);
  color: var(--cream);
}
.why-parent .eyebrow,
.why-parent h2 em {
  color: var(--sage);
}
.why-parent .why-chapter-copy p {
  color: #fcfbf7c0;
}
.why-thread {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 38px;
  margin-top: 70px;
}
.why-thread > div {
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.why-thread > div > span {
  font-size: 12px;
  color: var(--muted);
}
.why-thread h3 {
  font-size: 32px;
  margin: 25px 0 20px;
  line-height: 1.15;
}
.why-thread p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 25px;
}
.why-thread a {
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 5px;
  color: var(--forest);
}
.why-shared {
  background: var(--ink);
  color: var(--cream);
}
.why-shared .eyebrow,
.why-shared h2 em {
  color: var(--sage);
}
.why-shared p {
  max-width: 650px;
  margin: 35px 0;
  font-size: 18px;
  line-height: 1.8;
  color: #fcfbf7c0;
}
.why-shared .solid-button {
  display: inline-block;
  background: var(--ivory);
  color: var(--forest);
}
.services-hero {
  padding-top: 100px;
  padding-bottom: 80px;
}
.services-hero h1 {
  font-size: clamp(55px, 6.4vw, 100px);
}
.services-hero > p {
  max-width: 600px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 35px;
}
.service-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}
.service-jump a {
  font-size: 13px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 50px;
  transition:
    background 0.25s,
    color 0.25s;
}
.service-jump a:hover {
  background: var(--forest);
  color: var(--cream);
}
.service-editorial {
  border-top: 1px solid var(--line);
}
.service-editorial:nth-child(even) {
  background: var(--sand);
}
.service-editorial-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 10%;
}
.service-editorial h2 {
  font-size: clamp(49px, 5.4vw, 80px);
}
.service-editorial h2 em {
  color: var(--forest);
}
.service-editorial-grid p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--muted);
}
.service-editorial-grid .service-consider {
  font-size: 15px;
  margin-top: 25px;
}
.destination-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0;
}
.destination-list span {
  font-size: 12px;
  border: 1px solid var(--line);
  padding: 8px 13px;
  border-radius: 50px;
}
.service-editorial.future-editorial {
  background: var(--forest);
  color: var(--cream);
}
.future-editorial .eyebrow,
.future-editorial h2 em {
  color: var(--sage);
}
.future-editorial .service-editorial-grid p {
  color: #fcfbf7c0;
}
.future-editorial .destination-list span {
  border-color: #fcfbf750;
}
.future-editorial .text-button {
  color: var(--cream);
  border-color: #fcfbf750;
}
.service-editorial-grid .text-button {
  display: inline-block;
}
@media (max-width: 1100px) {
  .refined-footer {
    gap: 30px;
    grid-template-columns: 1fr 0.8fr 1fr;
  }
  .refined-footer .footer-note {
    display: none !important;
  }
  .contact-refined {
    gap: 6%;
  }
  .conversation-form {
    padding: 30px;
  }
  .contact-refined h2 {
    font-size: 65px;
  }
  .why-thread {
    grid-template-columns: 1fr 1fr;
  }
  .inner-hero h1 {
    font-size: 78px;
  }
  .pathway-card {
    min-height: 540px;
  }
}
@media (max-width: 800px) {
  .question-sticky {
    padding: 75px 6%;
  }
  .question-field {
    padding: 0;
    margin-top: 40px;
    margin-bottom: 30px;
  }
  .floating-question {
    transform: none !important;
  }
  .question-resolution {
    opacity: 1;
  }
  .journey-natural .journey-sticky {
    padding: 80px 6%;
    min-height: 650px;
  }
  .contact-refined {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .contact-refined h2 {
    font-size: 76px;
  }
  .contact-process {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 22px;
  }
  .conversation-form {
    max-width: 650px;
    width: 100%;
  }
  .contact-invitation {
    font-size: 17px;
  }
  .refined-footer {
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 30px;
  }
  .refined-footer .footer-identity {
    grid-column: 1/-1 !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .footer-identity > p {
    margin: 0;
    text-align: right;
  }
  .refined-footer .footer-note {
    display: flex !important;
  }
  .refined-footer .footer-bottom {
    grid-column: 1/-1;
  }
  .inner-hero {
    grid-template-columns: 1fr 1fr;
    gap: 6%;
    padding-top: 65px;
  }
  .inner-hero h1 {
    font-size: 63px;
  }
  .inner-hero-copy > p {
    font-size: 16px;
  }
  .inner-hero-photo {
    aspect-ratio: 0.65;
  }
  .inner-page .eyebrow {
    font-size: 10px;
  }
  .editorial-columns p {
    font-size: 17px;
  }
  .editorial-columns h3 {
    font-size: 32px;
  }
  .tutoring-levels .level-row {
    grid-template-columns: 30px 0.7fr 1fr;
    gap: 20px;
  }
  .level-row h2 {
    font-size: 54px;
  }
  .level-row p {
    font-size: 16px;
  }
  .why-chapter-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .why-chapter h2 {
    font-size: 70px;
  }
  .service-editorial-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .service-editorial h2 {
    font-size: 67px;
  }
}
@media (max-width: 540px) {
  .brand-logo {
    width: 42px;
    height: 42px;
  }
  .brand {
    gap: 10px;
  }
  .brand-name {
    font-size: 30px;
  }
  .brand-sub {
    font-size: 7px;
    letter-spacing: 1.3px;
  }
  .question-sticky {
    padding: 65px 6%;
  }
  .question-field {
    margin-top: 35px;
  }
  .journey-natural .journey-sticky {
    padding: 65px 6%;
    min-height: 0;
  }
  .journey-natural .journey-stage {
    min-height: 465px;
  }
  .journey-natural .journey-scroll-note {
    display: block;
    font-size: 9px;
    line-height: 1.5;
    margin-top: 18px;
  }
  .pathway-card {
    min-height: 510px;
  }
  .pathway-card h3 {
    font-size: 36px;
  }
  .contact-refined h2 {
    font-size: 57px;
  }
  .contact-invitation {
    font-size: 16px;
    margin-top: 28px;
  }
  .contact-process {
    flex-direction: column;
    font-size: 11px;
  }
  .conversation-form {
    padding: 27px 22px;
  }
  .conversation-form .contact-choice {
    gap: 6px;
  }
  .contact-choice label span {
    padding: 9px 11px;
    font-size: 11px;
  }
  .conversation-form select,
  .conversation-form textarea {
    font-size: 16px;
  }
  .contact-refined {
    gap: 35px;
  }
  .refined-footer {
    grid-template-columns: 1fr 1fr;
    gap: 35px 25px;
    padding-top: 45px;
  }
  .refined-footer .footer-identity {
    flex-direction: column !important;
    align-items: start !important;
    gap: 18px !important;
  }
  .footer-identity > p {
    text-align: left;
    font-size: 13px;
  }
  .refined-footer .brand-logo {
    width: 55px;
    height: 55px;
  }
  .refined-footer .brand-name {
    font-size: 36px;
  }
  .refined-footer .footer-column {
    font-size: 12px !important;
    gap: 12px !important;
  }
  .refined-footer .footer-note {
    grid-column: 1/-1;
    border-top: 1px solid #fcfbf725;
    padding-top: 30px;
  }
  .footer-note .serif {
    font-size: 32px;
  }
  .refined-footer .footer-bottom {
    flex-wrap: wrap;
    margin-top: 5px;
    font-size: 8px;
    gap: 15px;
  }
  .refined-footer .footer-bottom > span:last-child {
    display: none;
  }
  .inner-hero {
    grid-template-columns: 1fr;
    padding-top: 55px;
    gap: 40px;
  }
  .inner-hero h1 {
    font-size: 64px;
  }
  .inner-hero-photo {
    aspect-ratio: 1.15;
    border-radius: 75px 75px 4px 4px;
  }
  .inner-hero-copy > p {
    font-size: 17px;
    margin-top: 28px;
  }
  .inner-hero-photo > span {
    left: 20px;
    bottom: 20px;
    font-size: 9px;
  }
  .editorial-columns {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 35px;
  }
  .editorial-columns p {
    font-size: 16px;
  }
  .tutoring-intro h2 {
    font-size: 46px;
  }
  .tutoring-levels .level-row {
    grid-template-columns: 25px 1fr;
    gap: 15px;
    padding: 30px 0;
  }
  .level-row p {
    grid-column: 2;
    font-size: 16px;
  }
  .level-row h2 {
    font-size: 52px;
  }
  .tutor-perspectives h2 {
    font-size: 46px;
  }
  .tutor-perspectives .editorial-columns h3 {
    font-size: 39px;
  }
  .tutor-perspectives .editorial-columns p {
    font-size: 16px;
  }
  .page-end h2,
  .why-shared h2 {
    font-size: 46px;
  }
  .page-end > p {
    font-size: 16px;
    margin-top: 25px;
  }
  .page-secondary {
    display: block;
    margin: 25px 0 0;
  }
  .why-hero {
    padding-top: 55px;
  }
  .inner-page .why-hero h1 {
    font-size: 61px;
  }
  .why-opening {
    grid-template-columns: 1fr;
    margin-top: 40px;
    gap: 25px;
  }
  .why-opening .serif {
    font-size: 38px;
  }
  .why-opening p {
    font-size: 17px;
  }
  .why-chapter h2 {
    font-size: 48px;
  }
  .why-chapter-copy p {
    font-size: 16px;
  }
  .why-thread {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 40px;
  }
  .why-thread h3 {
    font-size: 31px;
    margin: 15px 0;
  }
  .why-thread p {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .why-shared p {
    font-size: 16px;
  }
  .inner-page .services-hero h1 {
    font-size: 53px;
  }
  .services-hero {
    padding-top: 55px;
  }
  .services-hero > p {
    font-size: 17px;
  }
  .service-jump {
    gap: 9px;
    margin-top: 28px;
  }
  .service-jump a {
    font-size: 12px;
    padding: 9px 12px;
  }
  .service-editorial h2 {
    font-size: 48px;
  }
  .service-editorial-grid p {
    font-size: 17px;
  }
  .destination-list span {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .question-scene {
    --settle: 1;
  }
  .question-resolution {
    opacity: 1;
  }
  .floating-question {
    transform: none !important;
  }
}
/* Amicus brand palette and additions within the existing editorial layout. */
:root {
  --forest: #155153;
  --sage: #a6bfba;
  --ink: #102e2d;
  --muted: #4b6462;
  --line: rgba(21, 81, 83, 0.2);
}
.journey,
.footer,
.contact,
.pathway-card.dark,
.mobile-menu {
  background-color: #155153;
  background-image: linear-gradient(135deg, #1b5b5d 0%, #124b4d 50%, #0d403c 100%);
}
.hero-shade {
  background: linear-gradient(
    135deg,
    rgba(27, 91, 93, 0.5),
    rgba(18, 75, 77, 0.35) 50%,
    rgba(13, 64, 60, 0.75)
  );
}
.hero-photo .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  transform: none;
  animation: none;
}
.hero-photo .hero-slide.active {
  opacity: 1;
}
.hero-carousel-controls {
  position: absolute;
  right: 6.2%;
  bottom: 26px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--cream);
  font-size: 11px;
  letter-spacing: 1px;
}
.pathway-card h3 {
  font-size: clamp(29px, 2.6vw, 41px);
  overflow-wrap: break-word;
}
.pathway-card.dark .pathway-label {
  color: var(--cream);
}
.testimonials {
  background: var(--sand);
}
.testimonials h2 em {
  color: var(--forest);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 55px;
}
.testimonial-card {
  border-top: 1px solid var(--forest);
  padding: 26px 0;
}
.testimonial-card .eyebrow {
  font-size: 10px;
  margin-bottom: 30px;
}
.testimonial-card .serif {
  font-size: 30px;
  line-height: 1.2;
  display: block;
  color: var(--forest);
}
.testimonial-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 24px 0;
}
.testimonial-attribution {
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--muted);
}
@media (max-width: 800px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-carousel-controls {
    bottom: 22px;
  }
  .hero-scroll {
    display: none;
  }
}
@media (max-width: 540px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .hero-carousel-controls {
    left: 6%;
    right: 6%;
    justify-content: space-between;
  }
  .pathway-card h3 {
    font-size: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo .hero-slide {
    transition: none;
  }
}
.review-quote {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 23px;
  line-height: 1.45;
  display: block;
  color: var(--forest);
}
.testimonial-card p {
  margin-bottom: 12px;
}
.pathway-card > p {
  line-height: 1.7;
}
/* Native scrolling supports trackpads, wheels, touch, keyboard and controls. */
.pathway-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  touch-action: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--forest) transparent;
  padding-bottom: 20px;
  overscroll-behavior-x: contain;
}
.pathway-rail {
  transform: none !important;
  transition: none;
  will-change: auto;
  width: 100%;
  position: relative;
}
.pathway-viewport.dragging {
  cursor: grabbing;
  user-select: none;
}
.pathway-viewport.dragging a {
  pointer-events: none;
}
.pathway-viewport::-webkit-scrollbar {
  height: 5px;
}
.pathway-viewport::-webkit-scrollbar-thumb {
  background: var(--forest);
  border-radius: 10px;
}
@media (max-width: 800px) {
  .mobile-menu {
    inset: auto 6% auto auto;
    width: min(340px, 88%);
    padding: 14px;
    border-radius: 20px;
    border: 1px solid #ffffff26;
    box-shadow: 0 20px 55px #0d403c40;
    max-height: calc(100dvh - 110px);
    overflow-y: auto;
    animation: menu-drop 0.2s ease-out;
  }
  .mobile-menu[hidden] {
    display: none;
  }
  .mobile-menu a,
  .mobile-menu button {
    font:
      500 15px/1.4 Manrope,
      Arial,
      sans-serif;
    margin: 0;
    padding: 14px 16px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .mobile-menu a:after { content: none; }
  .mobile-menu a:hover,
  .mobile-menu a:focus-visible {
    background: #ffffff12;
  }
  .mobile-menu a:last-child {
    background: var(--cream);
    color: var(--forest);
    margin-top: 10px;
  }
  .menu-toggle {
    border: 1px solid #a6bfba55;
    border-radius: 50%;
    flex-shrink: 0;
  }
  .menu-toggle span {
    transition: transform 0.2s;
    width: 22px;
    margin: 6px 0;
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }
}
@keyframes menu-drop {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* Keep the white logo mark on the Amicus gradient across light and dark headers. */
.brand-logo-background {
  display: block;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background-color: #155153;
  background-image: linear-gradient(135deg, #1b5b5d 0%, #124b4d 50%, #0d403c 100%);
}
.brand-logo,
.nav.scrolled .brand-logo,
.inner-page .nav .brand-logo {
  filter: none;
  mix-blend-mode: screen;
}
.brand-sub {
  letter-spacing: 1px;
}
@media (max-width: 540px) {
  .brand-sub {
    font-size: 6.5px;
    letter-spacing: 0.7px;
  }
  .brand-logo-background {
    border-radius: 10px;
  }
}
/* Why Amicus follows the page's editorial rhythm and brand palette. */
.why-amicus-home {
  background: var(--sand);
  border-top: 1px solid var(--line);
}
.why-amicus-home h2 {
  font-size: clamp(44px, 5.5vw, 84px);
  max-width: 1120px;
}
.why-amicus-home h2 em {
  color: var(--forest);
}
.why-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: 65px;
}
.why-benefit {
  border-top: 1px solid var(--forest);
  padding-top: 24px;
}
.why-benefit-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--forest);
}
.why-benefit h3 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--forest);
  margin: 30px 0 20px;
}
.why-benefit p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}
@media (max-width: 1000px) {
  .why-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 32px;
  }
}
@media (max-width: 540px) {
  .why-amicus-home h2 {
    font-size: 43px;
  }
  .why-amicus-home h2 br {
    display: none;
  }
  .why-benefits {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
  }
  .why-benefit h3 {
    font-size: 29px;
    margin: 22px 0 15px;
  }
  .why-benefit p {
    font-size: 15px;
  }
}
/* Headings sized for their role, with room for natural wrapping. */
.hero {
  min-height: 720px;
}
.hero-main {
  position: absolute;
  z-index: 2;
  top: 31%;
  left: 6.2%;
  right: 6.2%;
  max-width: 1100px;
}
.hero .hero-main h1 {
  position: static;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(60px, 6.2vw, 96px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.035em;
  max-width: none;
  color: var(--cream);
  text-wrap: initial;
}
.hero-description {
  font-size: 18px;
  line-height: 1.7;
  color: #fcfbf7dd;
  margin-top: 28px;
  max-width: 600px;
}
.hero-shade {
  background:
    linear-gradient(90deg, rgba(13, 64, 60, 0.78), rgba(18, 75, 77, 0.28) 75%),
    linear-gradient(0deg, rgba(13, 64, 60, 0.85), transparent 55%);
}
.pathways-heading h2 {
  font:
    400 clamp(38px, 3.5vw, 52px) / 1.15 "DM Serif Display",
    Georgia,
    serif;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: none;
}
.why-amicus-home h2 {
  font:
    400 clamp(36px, 3.6vw, 54px) / 1.2 "DM Serif Display",
    Georgia,
    serif;
  letter-spacing: -0.025em;
  max-width: 1000px;
  color: var(--ink);
  text-wrap: initial;
}
.intro-title {
  font:
    400 clamp(36px, 3.5vw, 52px) / 1.2 "DM Serif Display",
    Georgia,
    serif;
  letter-spacing: -0.025em;
  max-width: 900px;
  margin-bottom: 45px;
  color: var(--ink);
}
.journey-left h2 {
  font:
    400 clamp(36px, 3.5vw, 52px) / 1.15 "DM Serif Display",
    Georgia,
    serif;
  letter-spacing: -0.025em;
  max-width: 480px;
  color: var(--cream);
}
.testimonials h2 {
  font:
    400 clamp(32px, 3vw, 44px) / 1.2 "DM Serif Display",
    Georgia,
    serif;
  letter-spacing: -0.02em;
  max-width: none;
  color: var(--ink);
}
.pathway-card h3 {
  font:
    400 clamp(27px, 2.3vw, 35px) / 1.18 "DM Serif Display",
    Georgia,
    serif;
  letter-spacing: -0.02em;
}
.program-subtitle {
  display: block;
  font:
    500 12px/1.6 Manrope,
    Arial,
    sans-serif;
  letter-spacing: 0.02em;
  margin-top: 16px;
  color: inherit;
}
.journey-stage h3 {
  font:
    400 clamp(34px, 3.5vw, 50px) / 1.15 "DM Serif Display",
    Georgia,
    serif;
  letter-spacing: -0.025em;
  max-width: 420px;
}
@media (max-width: 800px) {
  .hero-main {
    top: 29%;
  }
  .hero .hero-main h1 {
    font-size: clamp(52px, 7.8vw, 68px);
  }
  .hero-description {
    font-size: 16px;
    max-width: 480px;
  }
  .journey-left h2 {
    font-size: 40px;
  }
  .journey-stage h3 {
    font-size: 38px;
  }
}
@media (max-width: 540px) {
  .hero {
    min-height: 720px;
  }
  .hero-main {
    top: 27%;
  }
  .hero .hero-main h1 {
    font-size: clamp(44px, 11.5vw, 60px);
    line-height: 1.12;
    letter-spacing: -0.025em;
    max-width: 100%;
  }
  .hero-description {
    font-size: 15px;
    margin-top: 22px;
    line-height: 1.7;
    max-width: 330px;
  }
  .hero-description br {
    display: none;
  }
  .pathways-heading h2 {
    font-size: 36px;
  }
  .why-amicus-home h2 {
    font-size: 34px;
  }
  .intro-title {
    font-size: 34px;
  }
  .journey-left h2 {
    font-size: 38px;
  }
  .testimonials h2 {
    font-size: 32px;
  }
  .pathway-card h3 {
    font-size: 29px;
  }
  .journey-stage h3 {
    font-size: 36px;
  }
}
/* Why Amicus container preview: one shared panel with a compact benefit grid. */
.why-amicus-home {
  background: var(--ivory);
  border: 0;
  padding-top: 20px;
  padding-bottom: 80px;
}
.why-panel {
  background: linear-gradient(135deg, #1b5b5d 0%, #124b4d 50%, #0d403c 100%);
  border-radius: 24px;
  padding: 60px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  color: var(--cream);
}
.why-panel-intro h2 {
  font-size: 44px;
  color: var(--cream);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.why-panel-summary {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 28px;
  line-height: 1.3;
  margin-top: 26px;
  max-width: 340px;
}
.why-panel-description {
  font-size: 15px;
  line-height: 1.8;
  color: #fcfbf7bb;
  margin-top: 22px;
  max-width: 335px;
}
.why-panel .why-benefits {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 32px;
  margin: 0;
}
.why-panel .why-benefit {
  border-top: 1px solid #fcfbf738;
  padding-top: 22px;
}
.why-panel .why-benefit h3 {
  font-family: Manrope, Arial, sans-serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--cream);
}
.why-panel .why-benefit p {
  font-size: 14px;
  line-height: 1.8;
  color: #fcfbf7bb;
}
.pathway-card h3 {
  margin-top: 8px;
}
@media (max-width: 1000px) {
  .why-panel {
    padding: 42px;
    gap: 40px;
    grid-template-columns: 1fr;
  }
  .why-panel-intro {
    max-width: 650px;
  }
  .why-panel-summary,
  .why-panel-description {
    max-width: none;
  }
  .why-panel .why-benefits {
    gap: 30px;
  }
}
@media (max-width: 540px) {
  .why-amicus-home {
    padding-top: 10px;
    padding-bottom: 55px;
  }
  .why-panel {
    border-radius: 18px;
    padding: 30px 25px;
    gap: 30px;
  }
  .why-panel-intro h2 {
    font-size: 34px;
  }
  .why-panel-summary {
    font-size: 24px;
    margin-top: 18px;
  }
  .why-panel-description {
    font-size: 14px;
    margin-top: 16px;
  }
  .why-panel .why-benefits {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .why-panel .why-benefit h3 {
    font-size: 17px;
  }
  .why-panel .why-benefit p {
    font-size: 14px;
  }
}
/* A continuous partner band, with original brand artwork and quiet category marks. */
.partners {
  padding-top: 45px;
  padding-bottom: 95px;
  background: var(--ivory);
  overflow: hidden;
}
.partners-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}
.partners-heading h2 {
  font:
    400 clamp(32px, 3vw, 44px) / 1.2 "DM Serif Display",
    Georgia,
    serif;
  letter-spacing: -0.02em;
}
.partners-heading p {
  font-size: 15px;
  color: var(--muted);
  margin-top: 12px;
}

.partners-window {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.partners-track {
  display: flex;
  width: max-content;
  animation: partner-scroll 32s linear infinite;
}
.partners-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}
.partner-item {
  width: 260px;
  height: 165px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 36px;
  position: relative;
}
.partner-item:after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  height: 30px;
  width: 1px;
  background: var(--line);
  transform: translateY(-50%);
}
.partner-item img {
  width: 150px;
  height: 115px;
  object-fit: contain;
}
.partner-text-mark {
  gap: 14px;
  color: var(--forest);
  font:
    600 18px/1.3 Manrope,
    Arial,
    sans-serif;
  letter-spacing: -0.035em;
}
.partner-symbol {
  font-size: 38px;
  font-weight: 400;
  flex-shrink: 0;
  color: #547c78;
}
.partner-text-mark > span:last-child {
  max-width: 130px;
}

@keyframes partner-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (max-width: 540px) {
  .partners {
    padding-top: 20px;
    padding-bottom: 60px;
  }
  .partners-heading {
    margin-bottom: 25px;
  }
  .partners-heading h2 {
    font-size: 32px;
  }
  .partners-heading p {
    font-size: 13px;
  }
  .partner-item {
    width: 220px;
    height: 145px;
    padding: 18px 28px;
  }
  .partner-item img {
    height: 100px;
    width: 135px;
  }
  .partner-text-mark {
    font-size: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .partners-track {
    animation: none !important;
  }
  .partners-window {
    overflow-x: auto;
    mask-image: none;
  }
  .partners-group[aria-hidden="true"] {
    display: none;
  }
}
.partners-heading {
  justify-content: center;
  text-align: center;
}
/* Testimonials use a compact two-column layout and a clear quote-to-author hierarchy. */
.testimonials {
  background: var(--sand);
}
.reviews-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 42px;
}
.reviews-heading h2 {
  max-width: 620px;
}
.reviews-heading > p {
  font-size: 15px;
  color: var(--muted);
  max-width: 250px;
  line-height: 1.7;
}
.testimonial-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 0;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid rgba(21, 81, 83, 0.12);
  border-radius: 18px;
  padding: 32px 36px;
  box-shadow: 0 5px 18px rgba(13, 64, 60, 0.025);
}
.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.review-topic {
  color: var(--forest);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  background: rgba(21, 81, 83, 0.06);
  border-radius: 30px;
}
.review-symbol {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 66px;
  line-height: 0.7;
  height: 34px;
  color: var(--sage);
}
.testimonial-card blockquote {
  margin: 24px 0 28px;
}
.testimonial-card blockquote p {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
.review-person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--forest);
  color: var(--cream);
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}
.review-person h3 {
  font:
    600 14px/1.4 Manrope,
    Arial,
    sans-serif;
  letter-spacing: 0;
}
.review-person p {
  font-size: 12px;
  color: var(--muted);
  margin: 4px 0 0;
}
.reviews-sample-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 24px;
  text-align: center;
}
@media (max-width: 800px) {
  .reviews-heading {
    display: block;
  }
  .reviews-heading > p {
    margin-top: 16px;
    max-width: none;
  }
  .testimonial-card {
    padding: 28px;
  }
  .testimonial-card blockquote p {
    font-size: 22px;
  }
}
@media (max-width: 540px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .reviews-heading {
    margin-bottom: 28px;
  }
  .testimonial-card {
    padding: 26px 24px;
    border-radius: 14px;
  }
  .testimonial-card blockquote p {
    font-size: 22px;
  }
}
.why-panel .why-benefit:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

/* Homepage program navigation */
.program-dropdown { position: relative; }
.program-dropdown summary { list-style: none; cursor: pointer; }
.program-dropdown summary::-webkit-details-marker { display: none; }
.program-dropdown > summary { display: flex; align-items: center; gap: 9px; padding: 6px 0; font-size: 13px; }
.dropdown-chevron { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); flex-shrink: 0; transition: transform .2s; }
.program-dropdown[open] > summary .dropdown-chevron { transform: rotate(225deg); }
.program-panel { position: absolute; top: calc(100% + 18px); left: -180px; width: 340px; padding: 10px; background: var(--ivory); color: var(--forest); border: 1px solid #15515318; border-radius: 18px; box-shadow: 0 22px 65px #082f3440; }
.program-panel::before { content: ''; position: absolute; bottom: 100%; left: 0; width: 100%; height: 20px; }
.program-panel-heading { padding: 16px 14px 18px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.program-panel-heading > span { font-size: 9px; font-weight: 700; letter-spacing: 1.8px; color: var(--muted); }
.program-panel-heading p { font: 400 26px/1.2 'DM Serif Display', Georgia, serif; margin: 6px 0 0; }
.program-panel ul { list-style: none; padding: 0; margin: 0; }
.nav nav .program-panel a, .program-panel .program-submenu > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 14px; font: 600 13px/1.5 Manrope, sans-serif; border-radius: 9px; }
.nav nav .program-panel a::after { content: none; }
.program-panel small { display: block; margin-top: 3px; font-size: 11px; font-weight: 400; color: var(--muted); }
.program-arrow { color: #73938c; }
.program-panel a:hover, .program-panel summary:hover, .program-submenu[open] > summary { background: #1551530c; }
.program-dropdown summary:focus-visible, .program-panel a:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.program-submenu > summary .dropdown-chevron { transform: rotate(-45deg); }
.program-submenu[open] > summary .dropdown-chevron { transform: rotate(45deg); }
.test-panel { position: absolute; left: 100%; top: 0; width: 245px; padding: 10px; border: 1px solid #15515318; border-radius: 18px; background: var(--ivory); box-shadow: 0 22px 65px #082f3426; }
.nav nav .test-panel .test-overview { padding: 18px 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 12px; }
.nav nav .program-panel .program-view-all { margin-top: 8px; background: var(--forest); color: var(--cream); padding: 13px 14px; }
@media (max-width: 800px) {
  .mobile-program-dropdown > summary { font: 500 15px/1.4 Manrope, sans-serif; padding: 14px 16px; border-radius: 10px; justify-content: space-between; }
  .mobile-program-dropdown[open] > summary { background: #ffffff12; }
  .mobile-program-dropdown .program-panel { position: static; width: 100%; margin: 8px 0; padding: 8px; border-radius: 12px; box-shadow: none; }
  .mobile-program-dropdown .program-panel::before { display: none; }
  .mobile-program-dropdown .program-panel-heading { padding: 10px 8px 14px; }
  .mobile-program-dropdown .program-panel-heading p { font-size: 23px; }
  .mobile-menu .program-panel a, .mobile-menu .program-submenu > summary { font: 600 12px/1.5 Manrope, sans-serif; padding: 12px 10px; margin: 0; color: var(--forest); background: transparent; }
  .mobile-menu .program-panel a::after { content: none; }
  .mobile-menu .program-panel a:hover { background: #1551530c; }
  .mobile-program-dropdown .test-panel { position: static; width: auto; margin: 4px 0 8px 10px; padding: 4px 0 4px 8px; border: 0; border-left: 2px solid var(--amber); border-radius: 0; box-shadow: none; }
  .mobile-menu .test-panel .test-overview { font-size: 11px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .mobile-menu .program-panel .program-view-all { background: var(--forest); color: var(--cream); margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) { .dropdown-chevron { transition: none; } }

/* Keep the hero supporting copy in the former action's space. */
.hero-action-copy > p { display: block; margin-bottom: 0; }
@media (min-width: 801px) {
  .nav .program-submenu { position: relative; }
  .nav .program-submenu .test-panel { left: calc(100% + 10px); top: 0; }
  .nav .program-submenu .test-panel::before {
    content: ''; position: absolute; right: 100%; top: 0;
    width: 12px; height: 100%;
  }
}

/* Mentors page */
.inner-page .nav nav a[aria-current=page]:after{transform:scaleX(1)}
.inner-page .mobile-menu a[aria-current=page]{background:#ffffff12}
.mentors-hero{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,.55fr);gap:9%;align-items:end;background:linear-gradient(135deg,#1b5b5d 0%,#124b4d 52%,#0d403c 100%);color:var(--cream);padding-top:105px;padding-bottom:105px}
.mentors-hero .eyebrow{color:var(--sage);margin-bottom:25px}
.inner-page .mentors-hero h1{font:400 clamp(55px,6.2vw,94px)/1.02 'DM Serif Display',Georgia,serif;letter-spacing:-.04em;max-width:1050px}
.inner-page .mentors-hero h1 em{color:var(--sage)}
.mentors-hero-copy>p{max-width:720px;margin-top:34px;color:#fcfbf7c7;font-size:18px;line-height:1.8}
.mentor-promise{padding-left:32px;border-left:1px solid #fcfbf73b;margin-bottom:8px}
.mentor-promise>span{font-size:10px;font-weight:600;letter-spacing:1.7px;color:var(--sage)}
.mentor-promise>p{font:400 27px/1.35 'DM Serif Display',Georgia,serif;margin-top:20px}
.mentor-promise ul{display:flex;flex-wrap:wrap;gap:9px;list-style:none;margin:27px 0 0;padding:0}
.mentor-promise li{border:1px solid #fcfbf738;border-radius:50px;padding:7px 11px;color:#fcfbf7bd;font-size:10px;letter-spacing:.6px;text-transform:uppercase}
.mentor-directory{background:var(--ivory)}
.mentors-heading{display:grid;grid-template-columns:1.15fr .65fr;gap:10%;align-items:end}
.mentors-heading .eyebrow{margin-bottom:24px;color:var(--forest)}
.mentors-page .mentors-heading h1{font:400 clamp(44px,4.7vw,70px)/1.08 'DM Serif Display',Georgia,serif;letter-spacing:-.035em;max-width:760px}
.mentors-heading>p{font-size:17px;line-height:1.8;color:var(--muted);max-width:520px}
.mentor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:65px}
.mentor-card{min-width:0;display:grid;grid-template-columns:176px minmax(0,1fr);gap:29px;align-items:center;padding:27px;background:var(--cream);border:1px solid var(--line);border-radius:8px;transition:transform .45s var(--ease),box-shadow .35s,border-color .35s}
.mentor-card:hover{transform:translateY(-5px);border-color:#15515345;box-shadow:0 18px 44px rgba(13,64,60,.09)}
.mentor-portrait{width:100%;aspect-ratio:1;margin:0;border-radius:6px;background-color:var(--sand);background-repeat:no-repeat;background-size:200% 200%;box-shadow:inset 0 0 0 1px #171c1a0d}
.mentor-portrait-priya{background-position:0 0}
.mentor-portrait-ghazi{background-position:100% 0}
.mentor-portrait-mei{background-position:0 100%}
.mentor-portrait-karim{background-position:100% 100%}
.mentor-copy{display:flex;min-width:0;flex-direction:column;justify-content:center}
.mentor-kicker{font-size:9px;font-weight:600;letter-spacing:1.4px;color:var(--muted)}
.mentor-card h3{font:400 clamp(29px,2.4vw,38px)/1.12 'DM Serif Display',Georgia,serif;letter-spacing:-.025em;margin-top:13px}
.mentor-role{margin-top:7px;color:var(--forest);font-size:14px;font-weight:600;line-height:1.45}
.mentor-bio{margin-top:17px;color:var(--muted);font-size:14px;line-height:1.75}
.mentor-credentials{margin-top:17px;padding-top:14px;border-top:1px solid var(--line);color:var(--muted);font-size:10px;line-height:1.6;letter-spacing:.06em;text-transform:uppercase}
.mentors-cta-section{padding-top:15px;background:var(--ivory)}
.mentors-cta{padding:72px 6%;border-radius:24px;background:#dce5dc;color:var(--forest);text-align:center}
.mentors-cta .eyebrow{color:var(--forest);margin-bottom:23px}
.mentors-cta h2{font:400 clamp(40px,4.3vw,62px)/1.13 'DM Serif Display',Georgia,serif;letter-spacing:-.03em;max-width:880px;margin:0 auto}
.mentors-cta>p{max-width:580px;margin:24px auto 0;color:var(--muted);font-size:16px;line-height:1.75}
.mentors-cta .solid-button{display:inline-flex;align-items:center;gap:17px;margin-top:32px;background:var(--forest);color:var(--cream);transition:background .25s,transform .25s}
.mentors-cta .solid-button:hover{background:#0d403c;transform:translateY(-2px)}
@media(max-width:1100px){.mentors-hero{gap:6%}.mentor-grid{grid-template-columns:1fr}.mentor-card{grid-template-columns:190px minmax(0,1fr)}.mentor-bio{font-size:15px}}
@media(max-width:800px){.mentors-hero{grid-template-columns:1fr;gap:48px;padding-top:76px;padding-bottom:80px}.mentor-promise{max-width:650px;padding:28px 0 0;border-left:0;border-top:1px solid #fcfbf73b}.mentor-promise>p{font-size:25px;max-width:520px}.mentors-heading{grid-template-columns:1fr;gap:28px}.mentors-heading>p{font-size:16px}.mentor-card{grid-template-columns:165px minmax(0,1fr);padding:24px}.mentors-cta{padding:58px 8%}}
@media(max-width:540px){.mentors-hero{padding-top:57px;padding-bottom:64px;gap:37px}.inner-page .mentors-hero h1{font-size:46px}.mentors-hero-copy>p{font-size:16px;margin-top:24px}.mentor-promise>p{font-size:23px}.mentor-directory{padding-top:68px}.mentors-heading h2{font-size:43px}.mentor-grid{gap:16px;margin-top:42px}.mentor-card{grid-template-columns:1fr;gap:22px;padding:19px}.mentor-card h3{font-size:32px}.mentor-bio{font-size:15px;margin-top:14px}.mentor-credentials{margin-top:15px}.mentors-cta-section{padding-top:0}.mentors-cta{padding:44px 24px;border-radius:18px}.mentors-cta h2{font-size:36px}.mentors-cta>p{font-size:15px}}
@media(prefers-reduced-motion:reduce){.mentor-card,.mentors-cta .solid-button{transition:none}.mentor-card:hover,.mentors-cta .solid-button:hover{transform:none}}

/* Mentors navigation uses the former hero gradient, including while sticky. */
.mentors-page .mentor-directory{padding-top:40px}
.mentors-page .mentors-heading{grid-template-columns:1fr;gap:0}
@media(max-width:540px){.mentors-page .mentors-heading h1{font-size:43px}}
.contact-page-hero{background:var(--ivory);color:var(--ink);padding-top:65px;padding-bottom:24px}
.contact-page-hero .eyebrow{color:var(--forest);display:block;margin-bottom:24px}
.contact-page .contact-page-hero h1{font:400 clamp(32px,4vw,56px)/1.1 'DM Serif Display',Georgia,serif;letter-spacing:-.035em}
.contact-page .contact-page-hero h1 em{color:var(--forest)}
.contact-hero-sub{max-width:680px;margin-top:22px;color:var(--muted);font-size:15px;line-height:1.8}
.contact-page-grid{padding-top:16px;padding-bottom:24px;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:36px;align-items:start}
.cpg-left,.cpg-right{min-width:0}
.contact-form-card,.contact-info-card,.contact-next-card{background:var(--cream);padding:36px;border:1px solid var(--line);border-radius:12px}
.cp-field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.cp-field{min-width:0;margin-bottom:22px}
.cp-label{display:block;margin-bottom:9px;font-size:13px;font-weight:600}
.cp-required{color:var(--forest)}
.cp-input,.cp-select,.cp-textarea{display:block;width:100%;min-width:0;padding:13px 14px;border:1px solid var(--line);border-radius:6px;background:var(--ivory);color:var(--ink);font:inherit;font-size:14px;line-height:1.5}
.cp-textarea{resize:vertical;min-height:130px}
.cp-input:focus,.cp-select:focus,.cp-textarea:focus{outline:2px solid var(--forest);outline-offset:2px}
.cp-input[aria-invalid=true],.cp-select[aria-invalid=true],.cp-textarea[aria-invalid=true]{border-color:#ad3434}
.cp-error{display:block;color:#ad3434;font-size:12px;margin-top:6px}
.cp-error:empty{display:none}
.contact-page .cp-submit{width:100%;background:var(--forest);color:var(--cream);border:0}
.cp-submit:disabled{opacity:.65;cursor:wait}
.cp-alert{display:flex;align-items:start;gap:10px;margin-top:20px;padding:14px;border-radius:6px;font-size:14px}
.cp-alert[hidden]{display:none}
.cp-alert svg{flex-shrink:0;margin-top:2px}
.cp-alert--success{background:#e3eee5;color:#235532}
.cp-alert--error{background:#f6e4e4;color:#8f2727}
.contact-info-heading,.contact-next-heading{font:400 32px/1.2 'DM Serif Display',Georgia,serif;color:var(--forest);margin:0 0 26px}
.contact-info-list{list-style:none;padding:0;margin:0}
.contact-info-item{display:flex;align-items:center;gap:16px;margin-bottom:24px;overflow-wrap:anywhere}
.contact-info-item--top{align-items:start}
.contact-icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;flex-shrink:0;background:var(--ivory);border-radius:50%;color:var(--forest)}
.contact-info-link:hover,.contact-map-open:hover{text-decoration:underline}
.contact-info-address{font-style:normal;font-size:14px;line-height:1.8}
.contact-map-wrap{overflow:hidden;border:1px solid var(--line);border-radius:8px;margin-top:28px}
.contact-map-wrap iframe{display:block;width:100%}
.contact-map-open{display:flex;justify-content:space-between;padding:12px 16px;color:var(--forest);font-size:13px}
.contact-next-card{margin-top:24px;background:var(--sand)}
.contact-next-heading{font-size:27px;margin-bottom:18px}
.contact-next-list{margin:0;padding-left:22px;color:var(--muted);font-size:14px}
.contact-next-list li+li{margin-top:12px}
@media(max-width:1000px){.contact-page-grid{gap:24px}.contact-form-card,.contact-info-card,.contact-next-card{padding:26px}.cp-field-row{grid-template-columns:1fr;gap:0}}
@media(max-width:800px){.contact-page-grid{grid-template-columns:1fr}.cp-field-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.contact-page-hero{padding-top:48px;padding-bottom:20px}}
@media(max-width:540px){.cp-field-row{grid-template-columns:1fr;gap:0}.contact-form-card,.contact-info-card,.contact-next-card{padding:22px}.contact-page .contact-page-hero h1{font-size:30px}.contact-hero-sub{font-size:15px}}

/* Compact closing section on the contact page. */
.contact-page .page-end{padding-top:24px;padding-bottom:60px}
.contact-page .page-end h2{font-size:clamp(28px,3.2vw,44px);line-height:1.12}
@media(max-width:800px){.contact-page .page-end{padding-top:20px;padding-bottom:48px}}
@media(max-width:540px){.contact-page .page-end h2{font-size:26px}}

/* Navbar and hero typography refinements. */
@font-face {
  font-family: 'Gotham';
  src: local('Gotham Book'), local('Gotham-Book'), local('Gotham');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  src: local('Gotham Bold'), local('Gotham-Bold');
  font-weight: 600 900;
  font-style: normal;
  font-display: swap;
}
:root { --font-gotham: 'Gotham', 'Manrope', Arial, sans-serif; }
.nav, .nav a, .nav summary, .nav .brand-name, .nav .program-panel a,
.nav .program-panel summary, .mobile-menu a, .mobile-menu summary {
  font-family: var(--font-gotham);
}
.nav .brand-logo-background, .brand-logo-background {
  border-radius: 50%;
  background: #000;
}
.nav .brand-logo { display: block; border-radius: 50%; }
.nav nav { gap: clamp(16px, 2.4vw, 38px); }
.nav nav > a, .nav .program-dropdown > summary {
  padding: 12px 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .025em;
  white-space: nowrap;
}
.nav .nav-contact { font-size: 15px; padding: 13px 25px; }
.hero, .hero p, .hero button,
.inner-page main [class*='hero'] p,
.inner-page main [class*='hero'] .eyebrow {
  font-family: var(--font-gotham) !important;
}
.hero .hero-main h1 { font-weight: 600; font-size: clamp(48px, 5.5vw, 85px); }
.dropdown-chevron { width: 7px; height: 7px; border-width: 2.5px; }
.program-arrow, .program-panel a > span[aria-hidden='true'],
.pathway-bottom > span, .card-arrow, .program-card a > span[aria-hidden='true'] {
  font-family: inherit;
  font-size: inherit;
  font-weight: 900;
  line-height: 1;
  flex-shrink: 0;
}
.program-arrow { color: var(--forest); }
.pathway-bottom > span { font-size: 28px; }
@media (min-width: 801px) and (max-width: 1100px) {
  .nav { gap: 16px; padding-left: 3%; padding-right: 3%; }
  .nav nav { gap: 12px; }
  .nav nav > a, .nav .program-dropdown > summary { padding-inline: 4px; font-size: 14px; }
  .nav .nav-contact { padding-inline: 18px; }
}
@media (max-width: 540px) {
  .hero .hero-main h1 { font-size: clamp(38px, 10vw, 54px); line-height: 1.12; }
  .nav .brand-name { font-size: 28px; }
}

/* Let the homepage hero image continue behind the navbar. */
body:not(.inner-page) .nav:not(.scrolled) {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

/* Make the service descriptor easier to read beneath the navbar wordmark. */
.nav .brand-sub {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .8px;
}
@media (max-width: 540px) {
  .nav .brand-sub {
    font-size: 9px;
    letter-spacing: .5px;
  }
}

/* Thicken arrow glyphs without changing their compact dimensions. */
.program-arrow,
.program-panel a > span[aria-hidden='true'],
.pathway-bottom > span,
.card-arrow,
.program-card a > span[aria-hidden='true'] {
  font-weight: 900;
  -webkit-text-stroke: .7px currentColor;
}


/* Serif fonts define heading levels; navigation and body copy stay sans serif. */
h1, main h1, .hero .hero-main h1 {
  font-family: var(--font-gotham) !important;
  font-weight: 400 !important;
}
h2 {
  font-family: var(--font-gotham) !important;
  font-weight: 400;
}
h3, h4, h5, h6 {
  font-family: var(--font-gotham) !important;
  font-weight: 600;
}

/* Persistent inquiry shortcut on every page. */
.whatsapp-inquiry {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 13px 20px;
  border-radius: 999px;
  background: #128c4a;
  color: #fff;
  box-shadow: 0 5px 22px #0003;
  font: 600 14px/1.4 'Manrope', Arial, sans-serif;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.whatsapp-inquiry svg { flex-shrink: 0; }
.whatsapp-inquiry:hover { background: #0d703b; transform: translateY(-2px); }
.whatsapp-inquiry:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }
@media (max-width: 540px) {
  .whatsapp-inquiry {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    width: 56px;
    padding: 0;
  }
  .whatsapp-inquiry span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-inquiry { transition: none; }
}

/* Icon launcher with a welcoming inquiry dialog. */
.whatsapp-inquiry { width: 56px; padding: 0; border: 0; cursor: pointer; }
.whatsapp-dialog {
  position: fixed;
  inset: auto 24px 96px auto;
  width: min(380px, calc(100vw - 32px));
  max-height: calc(100dvh - 128px);
  overflow-y: auto;
  margin: 0;
  padding: 30px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--ivory);
  color: var(--ink);
  box-shadow: 0 12px 45px #0003;
}
.whatsapp-dialog::backdrop { background: #0002; }
.whatsapp-dialog h2 { font-size: 28px; line-height: 1.2; margin: 12px 0 16px; }
.whatsapp-dialog p { font: 400 14px/1.8 'Manrope', Arial, sans-serif; margin: 0 0 22px; }
.whatsapp-close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: 400 28px/1 Arial, sans-serif;
}
.whatsapp-close:hover { background: var(--sand); }
.whatsapp-start {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 999px;
  background: #128c4a;
  color: white;
  font: 600 14px/1.4 'Manrope', Arial, sans-serif;
}
.whatsapp-start:hover { background: #0d703b; }
.whatsapp-start:focus-visible, .whatsapp-close:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
@media (max-width: 540px) { .whatsapp-dialog { right: 16px; bottom: 84px; } }

/* Highlight cards without shifting their position on hover. */
.pathway-card, .mentor-card, .test-card {
  transition: box-shadow .25s ease, border-color .25s ease;
}
.pathway-card:hover, .pathway-card:focus-visible,
.mentor-card:hover, .mentor-card:focus-within,
.test-card:hover, .test-card:focus-within {
  transform: none;
  box-shadow: 0 10px 30px rgba(13, 64, 60, .18);
}
.pathway-card:hover .pathway-bottom > span { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .pathway-card, .mentor-card, .test-card { transition: none; }
}

/* Stable card highlight: no animated shadow or transform repaint. */
.pathway-card, .mentor-card, .test-card { transition: none; }
.pathway-card:hover, .pathway-card:focus-visible,
.mentor-card:hover, .mentor-card:focus-within,
.test-card:hover, .test-card:focus-within {
  transform: none;
  box-shadow: inset 0 0 0 2px #15515355, inset 0 0 22px #15515310;
}
/* Keep narrow screens usable without squeezing navigation or content. */
@media (max-width: 540px) {
  .nav { gap: 10px; padding-inline: 16px; }
  .nav .brand { gap: 8px; }
  .nav .brand-sub { font-size: 8px; letter-spacing: .3px; }
  .nav .nav-contact { display: none; }
  .pathway-card { min-width: 0; flex-basis: 88%; padding: 24px; }
  .hero-description br { display: none; }
  .test-grid { grid-template-columns: minmax(0, 1fr); }
}
img { max-width: 100%; }

/* One horizontal testimonial row with touch scrolling and pagination. */
.testimonial-grid {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.testimonial-grid::-webkit-scrollbar { display: none; }
.testimonial-card {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
  box-sizing: border-box;
}
.testimonial-card blockquote p {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0;
  max-width: 800px;
}
.testimonial-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 22px; }
.testimonial-dots { display: flex; gap: 2px; }
.testimonial-controls button {
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%;
  background: transparent; color: var(--forest); cursor: pointer; font-size: 22px;
}
.testimonial-dots button { position: relative; width: 28px; border: 0; }
.testimonial-dots button::before {
  content: ''; position: absolute; width: 7px; height: 7px; border-radius: 50%;
  background: #15515340; top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.testimonial-dots button[aria-current='true']::before { background: var(--forest); width: 9px; height: 9px; }
.testimonial-controls button:disabled { opacity: .3; cursor: default; }
.testimonial-controls button:focus-visible, .testimonial-grid:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
@media (max-width: 540px) { .testimonial-card blockquote p { font-size: 16px; } }

/* Emphasize the navbar wordmark. */
.nav .brand-name {
  text-transform: uppercase;
  font-weight: 700;
}

/* Slightly larger navigation labels. */
.nav nav > a, .nav .program-dropdown > summary,
.nav .nav-contact { font-size: 16px; }
.nav nav .program-panel a,
.nav .program-panel .program-submenu > summary { font-size: 14px; }
.program-panel small { font-size: 12px; }
.mobile-menu > a, .mobile-program-dropdown > summary { font-size: 16px; }
@media (min-width: 801px) and (max-width: 1100px) {
  .nav nav > a, .nav .program-dropdown > summary,
  .nav .nav-contact { font-size: 15px; }
}

/* Direct contact remains usable without JavaScript or third-party form services. */
.contact-direct h2 { font-size: 32px; margin-bottom: 20px; }
.contact-direct p { line-height: 1.8; margin-bottom: 24px; }
.contact-direct .solid-button { display: inline-flex; gap: 18px; align-items: center; }
.contact-alternative a { color: var(--forest); text-decoration: underline; }
.contact-direct .contact-privacy { font-size: 13px; color: var(--muted); margin-bottom: 0; }
.map-location-label { padding: 20px; margin: 0; font-size: 14px; }
.mentor-grid .mentor-card { grid-template-columns: 1fr; }
.review-description { margin: 24px 0 28px; }
.review-description p { font: 400 18px/1.8 'Manrope', Arial, sans-serif; }
.footer-policy { grid-column: 1 / -1; font-size: 12px; margin: 0; padding-top: 16px; }
.footer-policy a { text-decoration: underline; }
@media(max-width:540px) { .review-description p { font-size:16px; } }
.privacy-page { max-width: 1050px; margin-inline: auto; }
.privacy-page h1 { font-size: clamp(36px, 6vw, 64px); margin-bottom: 32px; }
.privacy-page h2 { font-size: 28px; margin: 32px 0 16px; }
.privacy-page p, .photo-credit-list { font-size: 16px; line-height: 1.8; }
.privacy-page a { text-decoration: underline; overflow-wrap: anywhere; }
.photo-credit-list { padding-left: 24px; }
.photo-credit-list li { margin-bottom: 18px; }
.contact-submit-help { margin-top: 24px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--cream); }
.contact-submit-help p { margin-bottom: 16px; line-height: 1.7; }
.contact-submit-help .solid-button { display: inline-block; }
.contact-privacy { font-size: 13px; line-height: 1.7; margin-bottom: 20px; color: var(--muted); }

/* Search guidance uses the existing palette and readable, responsive spacing. */
.seo-guidance { background: var(--cream); color: var(--forest); }
.seo-guidance > p, .seo-faqs { max-width: 900px; }
.seo-guidance h2 { font: 400 clamp(28px, 4vw, 46px)/1.2 'DM Serif Display', Georgia, serif; max-width: 960px; margin: 20px 0 24px; }
.seo-guidance > p { font-size: 16px; line-height: 1.8; margin-bottom: 20px; }
.seo-guidance a { text-decoration: underline; text-underline-offset: 3px; }
.seo-faqs details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.seo-faqs summary { cursor: pointer; font-weight: 600; line-height: 1.6; }
.seo-faqs details p { margin: 16px 0 0; font-size: 16px; line-height: 1.8; }
.mentors-heading p { max-width: 750px; font-size: 16px; line-height: 1.8; margin-top: 24px; }

/* Center the navbar wordmark over its service descriptor. */
.nav .brand-type { align-items: center; text-align: center; }

/* Preserve the remaining hero copy at the right edge. */
.hero-bottom { justify-content: flex-end; }

/* Anchor the program stages above the footer consistently across every card. */
.pathway-card .pathway-visual {
  flex-shrink: 0;
  margin-top: auto;
}
.pathway-card .pathway-bottom {
  flex-shrink: 0;
  margin-top: 0;
}

/* A strong, clean wordmark using the locally served brand font. */
.nav .brand-name {
  font-family: 'Manrope', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
}

/* Portrait-led mentor directory. */
.mentor-grid.mentor-portraits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 780px; margin-inline: auto; }
.mentor-portraits .mentor-card { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden; border-radius: 14px; background: var(--cream); }
.mentor-portrait { aspect-ratio: 1 / 1; overflow: hidden; background: var(--sage); }
.mentor-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.mentor-portrait-semab img { object-position: center 40%; }
.mentor-portraits .mentor-copy { padding: 25px 24px 30px; border-top: 3px solid var(--forest); }
.mentor-portraits .mentor-kicker { font: 600 10px/1.5 Manrope, Arial, sans-serif; letter-spacing: .16em; color: var(--muted); }
.mentor-portraits .mentor-card h3 { margin: 10px 0 0; font-size: clamp(27px, 2.4vw, 36px); color: var(--forest); }
@media (max-width: 850px) { .mentor-grid.mentor-portraits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .mentor-grid.mentor-portraits { grid-template-columns: 1fr; gap: 26px; } }

/* Keep Ghazi Alam's full head visible within the square portrait. */
.mentor-portrait img[src$="sir-ghazi-alam.jpeg"] { object-position: center top; }

.mentor-portraits .mentor-role { margin-top: 12px; font: 700 12px/1.5 Manrope, Arial, sans-serif; color: var(--forest); }
.mentor-portraits .mentor-bio { margin-top: 14px; font: 400 14px/1.8 Manrope, Arial, sans-serif; color: var(--muted); }

/* Slightly closer framing for Semab and Dr. Bahauddin. */
.mentor-portrait img[src$="semab-tabassum.jpeg"],
.mentor-portrait img[src$="dr-bahauddin.jpeg"] {
  transform: scale(1.1);
  transform-origin: center;
}

.mentor-portrait img[src$="semab-tabassum.jpeg"] { transform: translateY(-10%) scale(1.22); }

.mentor-portrait-placeholder { display: grid; place-items: center; background: var(--forest); color: var(--cream); }
.mentor-portrait-placeholder span { font: 400 clamp(64px, 8vw, 100px)/1 'DM Serif Display', Georgia, serif; opacity: .7; }

/* Frame supplied partner logos consistently; show only the Exage logo area. */
.partner-indoxus img { width: 108px; height: 108px; filter: brightness(0); }
.partner-exage img { width: 188px; height: 65px; object-fit: contain; object-position: center; }

.partner-indoxus { flex-direction: column; gap: 8px; }
.partner-indoxus img { width: 88px; height: 88px; }
.partner-indoxus .partner-name { font: 600 11px/1.4 Manrope, Arial, sans-serif; color: var(--forest); text-align: center; white-space: nowrap; }

.mentor-portraits .mentor-university {
  margin-top: 7px;
  font: 500 12px/1.6 Manrope, Arial, sans-serif;
  color: var(--muted);
}

/* Student portraits sit below each quote, to the left of the name. */
.testimonial-card .review-avatar {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.review-avatar--zoya-khan { object-position: 50% 45%; }
.review-avatar--mustafa-hassan { object-position: 50% 46%; }
.footer-identity .footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 20px;
}
.footer-socials a {
  color: inherit;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-socials a:hover { opacity: .75; }
.footer-socials a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }

/* Accessible social icon links. */
.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  text-decoration: none;
}
.footer-socials svg { display: block; flex-shrink: 0; }

/* Brand-colored social buttons and stronger testimonial names. */
.footer-socials a[aria-label^="Facebook"] {
  background: #1877f2;
  border-color: #1877f2;
  color: #fff;
}
.footer-socials a[aria-label^="Instagram"] {
  background: linear-gradient(35deg, #feda75 0%, #fa7e1e 20%, #d62976 50%, #962fbf 75%, #4f5bd5 100%);
  border-color: transparent;
  color: #fff;
}
.testimonial-card .review-person h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

/* Clear social buttons and a focused, centered testimonial carousel. */
.footer-socials a[aria-label^="Facebook"],
.footer-socials a[aria-label^="Instagram"] {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}
#testimonial-track {
  width: 100%;
  max-width: 780px;
  margin-inline: auto;
}
#testimonial-track .testimonial-card blockquote p {
  font-size: 21px;
  line-height: 1.75;
}
#testimonial-track .review-person h3 {
  font-size: 24px;
  font-weight: 700;
}
@media (max-width: 540px) {
  #testimonial-track .testimonial-card blockquote p {
    font-size: 18px;
    line-height: 1.7;
  }
  #testimonial-track .review-person h3 { font-size: 22px; }
}

/* Two student stories together, with simple social marks. */
#testimonial-track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  max-width: 1120px;
  gap: 24px;
  overflow: visible;
  scroll-snap-type: none;
}
#testimonial-track .testimonial-card { padding: 30px; }
.footer-identity .footer-socials { gap: 20px; }
.footer-socials a {
  border: 0;
  border-radius: 0;
  background: transparent;
}
.footer-socials svg { width: 30px; height: 30px; }
@media (max-width: 760px) {
  #testimonial-track { grid-template-columns: 1fr; max-width: 620px; }
  #testimonial-track .testimonial-card { padding: 26px; }
}

/* Center the social row directly beneath the footer brand. */
.refined-footer .footer-identity {
  width: fit-content;
  max-width: 100%;
}
.footer-identity .footer-socials {
  width: 100%;
  justify-content: center;
  align-self: stretch;
}

/* Two cards per desktop slide; one per mobile slide. */
#testimonial-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 24px;
}
#testimonial-track .testimonial-card {
  flex: 0 0 calc((100% - 24px) / 2);
  scroll-snap-align: start;
}
@media (min-width: 761px) {
  .testimonial-dots button:last-child { display: none; }
}
@media (max-width: 760px) {
  #testimonial-track .testimonial-card { flex-basis: 100%; }
}

/* Compact, bold arrows on homepage program cards. */
.pathway-card .pathway-bottom > span {
  font-size: 20px;
  font-weight: 900;
  -webkit-text-stroke: 1px currentColor;
}

/* Consistent arrows across mobile and desktop, without emoji rendering. */
.pathway-card .pathway-bottom > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-text-stroke: 0;
}
.pathway-card .pathway-bottom svg { display: block; width: 20px; height: 20px; }

/* Match dropdown arrows across devices without platform-specific glyphs. */
.program-panel .program-arrow,
.program-panel a > span[aria-hidden='true'] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-text-stroke: 0;
}
.program-panel a > span > svg {
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* One vector arrow style for links and controls on every screen. */
.site-arrow {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
  -webkit-text-stroke: 0;
}
.program-panel .site-arrow { width: 16px; height: 16px; }
.circle-control, .testimonial-prev, .testimonial-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Bundled Gotham family used throughout the site. */
@font-face { font-family: 'Amicus Gotham'; src: url('assets/fonts/gotham-book.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Amicus Gotham'; src: url('assets/fonts/gotham-book-italic.otf') format('opentype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Amicus Gotham'; src: url('assets/fonts/gotham-medium.ttf') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Amicus Gotham'; src: url('assets/fonts/gotham-bold.ttf') format('truetype'); font-weight: 600 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Amicus Gotham'; src: url('assets/fonts/gotham-black.ttf') format('truetype'); font-weight: 900; font-style: normal; font-display: swap; }

:root { --font-gotham: 'Amicus Gotham', Arial, sans-serif; }
html body, html body * { font-family: var(--font-gotham) !important; }
.nav .brand-type { align-items: center; text-align: center; }

/* Gotham Medium for page headings; preserve navbar weights. */
main h1, main h2, main h3, main h4, main h5, main h6,
main .serif, .footer-note .serif,
.whatsapp-dialog h2 {
  font-family: var(--font-gotham) !important;
  font-weight: 500 !important;
}

/* Keep the footer wordmark and descriptor consistent with the navbar. */
.refined-footer .brand-type {
  align-items: flex-start;
  text-align: left;
}
.refined-footer .brand-name {
  font-family: var(--font-gotham);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  text-transform: uppercase;
}
.refined-footer .brand-sub {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .8px;
}
@media (min-width: 801px) and (max-width: 1100px) {
  .refined-footer .brand-name { font-size: 28px; }
}
@media (max-width: 800px) {
  .refined-footer .brand-name { font-size: 30px; }
}
@media (max-width: 540px) {
  .refined-footer .brand-sub { font-size: 8px; letter-spacing: .3px; }
}

/* Align both dropdown heading lines to the same left edge. */
.program-panel .program-panel-heading {
  text-align: left;
  align-items: flex-start;
}
.program-panel .program-panel-heading p {
  text-align: left;
  margin: 6px 0 0;
  padding: 0;
  width: 100%;
  max-width: none;
}

/* Three testimonials, with university names beneath each student. */
#testimonial-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1200px;
  overflow: visible;
  scroll-snap-type: none;
}
#testimonial-track .testimonial-card { padding: 28px; }
#testimonial-track .review-university {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  margin: 5px 0 0;
}
@media (max-width: 1000px) {
  #testimonial-track { grid-template-columns: 1fr; max-width: 620px; }
}
