/* Formosa lower page: Staff. Shared header/footer styles are loaded separately. */
.fm-staff-page {
  --sp-blue: #0868f5;
  --sp-green: #08a94f;
  --sp-orange: #ff6a19;
  --sp-purple: #7550ca;
  --sp-ink: #050a18;
  --sp-text: #172033;
  --sp-muted: #64748b;
  --sp-line: #dce7f2;
  width: min(100%, 1717px);
  color: var(--sp-text);
  background: #fff;
  font-family: var(--fm-font);
}

.fm-staff-page *,
.fm-staff-page *::before,
.fm-staff-page *::after {
  box-sizing: border-box;
}

.fm-staff-page :where(h1, h2, h3, p, figure, ol, ul, small) {
  margin: 0;
}

.fm-staff-page :where(ol, ul) {
  padding: 0;
}

.fm-staff-page img {
  display: block;
  max-width: 100%;
}

.sp-shell {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 160px), 1280px);
  margin-inline: auto;
}

.sp-section {
  position: relative;
  padding-block: 82px;
  overflow: clip;
}

.sp-eyebrow {
  color: var(--sp-blue);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .16em;
}

.sp-heading h2 {
  margin-top: 10px;
  color: var(--sp-ink);
  font-size: clamp(34px, 3.1vw, 50px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: .02em;
}

.sp-heading__lead {
  max-width: 760px;
  margin-top: 12px !important;
  color: #46556b;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.9;
}

.sp-breadcrumb {
  width: min(calc(100% - 160px), 1280px);
  margin: 22px auto 0;
  color: #526177;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}

.sp-breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
}

.sp-breadcrumb li + li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sp-breadcrumb li + li::before {
  color: #b3bfce;
  content: "/";
}

.sp-breadcrumb a:hover,
.sp-breadcrumb a:focus-visible {
  color: var(--sp-blue);
}

.sp-hero {
  min-height: 520px;
  padding: 44px 0 80px;
  overflow: clip;
  background: #f8fbff;
  border-bottom: 1px solid #eaf1f8;
}

.sp-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: 50px;
}

.sp-hero__copy {
  min-width: 0;
  padding-left: 8px;
}

.sp-hero h1 {
  margin-top: 22px;
  color: var(--sp-ink);
  font-size: clamp(48px, 4.4vw, 68px);
  font-weight: 950;
  line-height: 1.22;
  letter-spacing: .025em;
}

.sp-hero__lead {
  max-width: 520px;
  margin-top: 26px !important;
  color: #37465d;
  font-size: 15px;
  font-weight: 650;
  line-height: 2;
}

.sp-hero__visual {
  display: block;
  height: 410px;
  min-width: 0;
  padding: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfeaf4;
  border-radius: 160px 22px 72px 160px;
  box-shadow: 0 24px 64px rgba(25, 84, 132, .14);
}

.sp-hero__visual img {
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: cover;
  object-position: center;
  border-radius: 148px 14px 62px 148px;
}

.sp-profiles {
  background: #fff;
}

.sp-profile {
  --sp-accent: var(--sp-blue);
  padding-block: 76px;
  overflow: clip;
  background: #fff;
  border-bottom: 1px solid #edf2f7;
}

.sp-profile--support {
  --sp-accent: var(--sp-green);
  background: #f7fbff;
}

.sp-profile--life {
  --sp-accent: var(--sp-orange);
}

.sp-profile--instructor-alt {
  --sp-accent: var(--sp-purple);
  background: #faf8ff;
}

.sp-profile__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
}

.sp-profile__visual,
.sp-profile__copy {
  min-width: 0;
}

.sp-profile__visual {
  aspect-ratio: 3 / 2;
  padding: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2ebf4;
  border-radius: 58px 18px 58px 18px;
  box-shadow: 0 18px 48px rgba(31, 82, 126, .13);
}

.sp-profile__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 48px 12px 48px 12px;
}

.sp-profile--reverse .sp-profile__visual {
  grid-column: 2;
  grid-row: 1;
}

.sp-profile--reverse .sp-profile__copy {
  grid-column: 1;
  grid-row: 1;
}

.sp-profile__role {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--sp-accent);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: .04em;
}

.sp-profile__role img {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  object-fit: contain;
}

.sp-profile h2 {
  margin-top: 14px;
  color: var(--sp-ink);
  font-size: clamp(36px, 3.25vw, 50px);
  font-weight: 950;
  line-height: 1.3;
  letter-spacing: .04em;
}

.sp-profile__summary {
  max-width: 560px;
  margin-top: 24px !important;
  color: #394960;
  font-size: 15px;
  font-weight: 620;
  line-height: 2;
}

.sp-profile__support {
  display: grid;
  gap: 10px;
  margin-top: 25px;
  padding: 22px 24px 22px 2.7em !important;
  color: #36465d;
  background: #fff;
  border: 1px solid var(--sp-line);
  border-left: 4px solid var(--sp-accent);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.sp-profile__support li::marker {
  color: var(--sp-accent);
}

.sp-consultations {
  background: #fbfdff;
}

.sp-consultation-guide {
  background: #fff;
  border-bottom: 1px solid #edf2f7;
}

.sp-consultation-guide .sp-heading h2 {
  text-wrap: balance;
}

.sp-consultation-guide__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(42px, 6vw, 82px);
}

.sp-consultation-guide__visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--sp-line);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(31, 82, 126, .11);
}

@media (min-width: 960px) {
  .sp-consultation-guide .sp-heading h2 {
    font-size: clamp(34px, 3vw, 48px);
  }
}

.sp-consultation-guide__visual img {
  width: 100%;
  aspect-ratio: 1672 / 941;
  object-fit: cover;
}

.sp-consultation-guide__visual figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 10px;
  color: #4b5b70;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(220, 231, 242, .88);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
}

.sp-consultations__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
  list-style: none;
}

.sp-consultations__grid > li {
  min-width: 0;
}

.sp-consult-card {
  --sp-card-accent: var(--sp-blue);
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-content: start;
  height: 100%;
  min-width: 0;
  padding: 28px 26px 26px;
  background: #fff;
  border: 1px solid var(--sp-line);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(31, 82, 126, .07);
}

.sp-consult-card--support {
  --sp-card-accent: var(--sp-green);
}

.sp-consult-card--instructor {
  --sp-card-accent: var(--sp-orange);
}

.sp-consult-card__icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.sp-consult-card h3 {
  align-self: center;
  min-width: 0;
  color: var(--sp-ink);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.sp-consult-card ul {
  grid-column: 1 / -1;
  display: grid;
  gap: 9px;
  margin-top: 22px;
  padding-left: 1.2em;
  color: #46556b;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.7;
}

.sp-consult-card li::marker {
  color: var(--sp-card-accent);
}

.sp-contact {
  position: relative;
  min-height: 420px;
  padding: 82px 0 72px;
  overflow: hidden;
  color: var(--sp-ink);
  background: #fcfdff;
  border-top: 1px solid rgba(219, 232, 244, .72);
  isolation: isolate;
}

.sp-contact__wave {
  position: absolute;
  right: auto;
  bottom: -202px;
  left: 50%;
  z-index: 0;
  width: min(1500px, 100vw);
  max-width: none !important;
  height: auto;
  opacity: .34;
  filter: saturate(.84);
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
}

.sp-contact__paper-route {
  position: absolute;
  top: -4px;
  right: -10px;
  z-index: 0;
  width: 260px;
  max-width: none !important;
  height: auto;
  opacity: .22;
  pointer-events: none;
  user-select: none;
}

.sp-contact__inner {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  text-align: center;
}

.sp-contact__eyebrow {
  color: #0868f5;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .18em;
}

.sp-contact h2 {
  margin-top: 8px;
  color: var(--sp-ink);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 950;
  line-height: 1.35;
  letter-spacing: .03em;
}

.sp-contact__inner > div:first-child > p:last-child {
  margin-top: 8px;
  color: #46556b;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
}

.sp-contact__actions {
  display: flex;
  gap: 16px;
  margin-top: 30px;
}

.sp-contact__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 280px;
  min-height: 64px;
  padding: 0 30px;
  border: 2px solid #0868f5;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.3;
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease;
}

.sp-contact__button img {
  width: 18px;
  height: 22px;
  object-fit: contain;
}

.sp-contact__button--primary {
  color: #fff;
  background: #0868f5;
  box-shadow: 0 12px 30px rgba(8, 104, 245, .2);
}

.sp-contact__button--secondary {
  color: #0868f5;
  background: rgba(255, 255, 255, .92);
}

.sp-contact__button:hover,
.sp-contact__button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(8, 104, 245, .2);
}

.sp-contact__phone {
  display: grid;
  justify-items: center;
  margin-top: 24px !important;
  color: #46556b;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.sp-contact__phone a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  color: #0868f5;
  font-size: 28px;
  font-weight: 950;
  line-height: 1.2;
}

.sp-contact__phone a img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.sp-contact__phone small {
  margin-top: 4px;
  color: #5f6d80;
  font-size: 11px;
  font-weight: 700;
}

.sp-breadcrumb a:focus-visible,
.sp-contact__button:focus-visible,
.sp-contact__phone a:focus-visible {
  outline: 3px solid #ffcf45;
  outline-offset: 4px;
}

.fm-motion .fm-staff-page [data-reveal] {
  opacity: 0;
  translate: 0 26px;
  transition: opacity .65s ease, translate .65s ease;
  transition-delay: var(--fm-delay, 0ms);
}

.fm-motion .fm-staff-page [data-reveal].is-visible {
  opacity: 1;
  translate: 0 0;
}

@media (max-width: 1199px) {
  .sp-shell,
  .sp-breadcrumb {
    width: min(calc(100% - 80px), 1120px);
  }

  .sp-hero__inner {
    gap: 36px;
  }

  .sp-hero__visual {
    height: 370px;
  }

  .sp-profile__inner {
    gap: 54px;
  }

  .sp-consultation-guide__inner {
    gap: 38px;
  }

  .sp-consult-card {
    grid-template-columns: 50px minmax(0, 1fr);
    padding-inline: 22px;
  }

  .sp-consult-card__icon {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 959px) {
  .sp-hero h1 {
    font-size: 48px;
  }

  .sp-hero__lead {
    font-size: 14px;
  }

  .sp-hero__visual {
    height: 330px;
    border-radius: 120px 20px 60px 120px;
  }

  .sp-profile__inner {
    gap: 36px;
  }

  .sp-profile h2 {
    font-size: 38px;
  }

  .sp-profile__summary {
    font-size: 14px;
  }

  .sp-profile__support {
    padding: 18px 18px 18px 2.5em !important;
    font-size: 13px;
  }

  .sp-consultations__grid {
    gap: 16px;
  }

  .sp-consultation-guide__inner {
    grid-template-columns: 1fr;
  }

  .sp-consultation-guide__visual {
    max-width: 760px;
  }

  .sp-consult-card {
    grid-template-columns: 1fr;
  }

  .sp-consult-card h3,
  .sp-consult-card ul {
    grid-column: 1;
  }

  .sp-consult-card h3 {
    margin-top: 14px;
  }
}

@media (max-width: 820px) {
  .sp-hero h1 {
    font-size: 42px;
  }
}

@media (max-width: 767px) {
  .fm-staff-page {
    width: 100%;
  }

  .sp-shell,
  .sp-breadcrumb {
    width: min(calc(100% - 40px), 560px);
  }

  .sp-section {
    padding-block: 60px;
  }

  .sp-breadcrumb {
    margin-top: 12px;
    font-size: 11px;
  }

  .sp-eyebrow {
    font-size: 12px;
  }

  .sp-heading h2 {
    margin-top: 8px;
    font-size: 32px;
  }

  .sp-heading__lead {
    margin-top: 10px !important;
    font-size: 14px;
    line-height: 1.85;
  }

  .sp-hero {
    min-height: 0;
    padding: 34px 0 60px;
  }

  .sp-hero__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .sp-hero__copy {
    padding-left: 0;
  }

  .sp-hero h1 {
    margin-top: 14px;
    font-size: 42px;
  }

  .sp-hero__lead {
    margin-top: 18px !important;
    font-size: 14px;
    line-height: 1.9;
  }

  .sp-hero__visual {
    height: 232px;
    padding: 6px;
    border-radius: 22px 22px 62px 22px;
  }

  .sp-hero__visual img {
    border-radius: 16px 16px 52px 16px;
  }

  .sp-profile {
    padding-block: 60px;
  }

  .sp-profile__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .sp-profile--reverse .sp-profile__visual,
  .sp-profile--reverse .sp-profile__copy {
    grid-column: auto;
    grid-row: auto;
  }

  .sp-profile__visual {
    padding: 6px;
    border-radius: 30px 12px 30px 12px;
  }

  .sp-profile__visual img {
    border-radius: 24px 8px 24px 8px;
  }

  .sp-profile__role {
    gap: 12px;
    font-size: 13px;
  }

  .sp-profile__role img {
    width: 48px;
    height: 48px;
  }

  .sp-profile h2 {
    margin-top: 12px;
    font-size: 34px;
  }

  .sp-profile__summary {
    margin-top: 18px !important;
    font-size: 14px;
    line-height: 1.9;
  }

  .sp-profile__support {
    gap: 8px;
    margin-top: 20px;
  }

  .sp-consultation-guide__inner {
    gap: 26px;
  }

  .sp-consultation-guide__visual {
    border-radius: 14px;
  }

  .sp-consultation-guide__visual figcaption {
    right: 8px;
    bottom: 8px;
  }

  .sp-consultations__grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 28px;
  }

  .sp-consult-card {
    grid-template-columns: 50px minmax(0, 1fr);
    padding: 24px 22px;
  }

  .sp-consult-card h3 {
    grid-column: 2;
    margin-top: 0;
    font-size: 16px;
  }

  .sp-consult-card ul {
    grid-column: 1 / -1;
    margin-top: 18px;
    font-size: 12px;
  }

  .sp-contact {
    min-height: 0;
    padding: 60px 0 52px;
  }

  .sp-contact__wave {
    right: auto;
    bottom: -116px;
    left: 50%;
    width: 210vw;
    height: auto;
    opacity: .26;
    transform: translateX(-50%);
  }

  .sp-contact__paper-route {
    top: 4px;
    right: -4px;
    width: 150px;
    opacity: .16;
  }

  .sp-contact h2 {
    font-size: 34px;
    line-height: 1.4;
  }

  .sp-contact__inner > div:first-child > p:last-child {
    font-size: 13px;
  }

  .sp-contact__actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-top: 24px;
  }

  .sp-contact__button {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    padding-inline: 20px;
    font-size: 14px;
  }

  .sp-contact__phone a {
    font-size: 26px;
  }
}

@media (max-width: 430px) {
  .sp-shell,
  .sp-breadcrumb {
    width: calc(100% - 32px);
  }

  .sp-hero h1 {
    font-size: 40px;
  }

  #sp-consultations-title {
    font-size: clamp(24px, 7vw, 28px);
    white-space: nowrap;
  }

  .sp-hero__visual {
    height: 214px;
  }

  .sp-profile__support {
    padding-right: 14px !important;
  }

  .sp-contact h2 {
    font-size: 31px;
  }
}

@media (max-width: 340px) {
  .fm-header__nav-list {
    column-gap: 8px;
    font-size: 11px;
    letter-spacing: -.03em;
  }

  #sp-consultations-title {
    font-size: 22px;
  }

  .sp-consultation-guide .sp-heading h2 {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fm-motion .fm-staff-page [data-reveal] {
    opacity: 1;
    translate: none;
    transition: none;
  }

  .sp-contact__button {
    transition: none;
  }
}
