/* ============================================================
   Above the Bell — Sponsors page
   Shares css/styles.css; only page-specific blocks live here.
   ============================================================ */

.sp-page {
  --sp-band: #EAF4FC;
  --sp-band-strong: #E3F1FB;
  --sp-section-y: 84px;
}

.btn--navy {
  background: var(--atb-deep-space);
  color: var(--atb-white);
  box-shadow: 0 10px 24px rgba(2, 33, 81, 0.28);
}
.btn--navy:hover {
  box-shadow: 0 16px 30px rgba(2, 33, 81, 0.38);
}

.sp-page .btn--outline {
  color: var(--atb-deep-space);
  border-color: var(--atb-deep-space);
}
.sp-page .btn--outline:hover {
  background: var(--atb-deep-space);
  color: var(--atb-white);
  box-shadow: 0 10px 24px rgba(2, 33, 81, 0.25);
}

/* ============================== HERO ============================== */
.sp-hero {
  padding: calc(var(--nav-h) + 56px) 0 var(--sp-section-y);
  background: linear-gradient(180deg, #F4F9FF 0%, var(--atb-white) 88%);
}
.sp-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.22fr);
  gap: clamp(24px, 3.5vw, 48px);
  align-items: stretch;
}
.sp-hero__copy {
  display: grid;
  grid-template-columns: min-content;
  justify-content: start;
  align-content: center;
  container-type: inline-size;
}
.sp-hero__title {
  display: flex;
  flex-direction: column;
  align-self: start;
  width: max-content;
  max-width: 100%;
  margin: 0 0 16px;
  font-size: clamp(1.7rem, 4.2vw, 3.25rem);
  font-size: clamp(1.7rem, 12.2cqi, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--atb-deep-space);
}
.sp-hero__title span {
  display: block;
  white-space: nowrap;
}
.sp-hero__title span:first-child {
  letter-spacing: -0.0076em;
}
.sp-hero__title em {
  font-style: normal;
  display: inline;
  padding-bottom: 0.18em;
  margin-bottom: -0.18em;
  background-image: linear-gradient(
    100deg,
    var(--atb-accent-blue) 0%,
    var(--atb-mission-blue) 26%,
    var(--atb-sky-blue) 48%,
    #6ecfff 60%,
    #2a6aad 78%,
    var(--atb-deep-space) 100%
  );
  background-size: 220% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--atb-deep-space);
  animation: sp-hero-accent-rise 9s var(--ease) infinite alternate;
}
@keyframes sp-hero-accent-rise {
  from { background-position: 0% 50%; }
  to   { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .sp-hero__title em { animation: none; background-position: 12% 50%; }
}
.sp-hero__lede,
.sp-hero__body,
.sp-hero__actions {
  min-width: 0;
}
.sp-hero__lede {
  color: var(--atb-accent-blue);
  font-size: var(--text-lede);
  font-weight: 500;
  line-height: 1.45;
  max-width: 42ch;
  margin: 0 0 16px;
}
.sp-hero__body {
  color: var(--atb-orbit-gray);
  font-size: var(--text-lede);
  line-height: 1.45;
  max-width: 46ch;
  margin: 0 0 28px;
}
.sp-hero__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: stretch;
  width: 100%;
}
.sp-hero__actions .btn {
  width: 100%;
  min-width: 0;
  justify-content: center;
  box-sizing: border-box;
}
.sp-hero__photo {
  position: relative;
  isolation: isolate;
  margin: 0;
  min-height: 420px;
  border-radius: var(--radius);
  box-shadow:
    0 16px 40px rgba(2, 33, 81, 0.14),
    0 0 44px rgba(55, 175, 245, 0.24);
}
.sp-hero__photo::before {
  content: "";
  position: absolute;
  inset: -7% -6% -10%;
  z-index: -1;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 80% 80% at 50% 45%, rgba(55, 175, 245, 0.32), transparent 70%),
    radial-gradient(ellipse 70% 45% at 50% 100%, rgba(2, 33, 81, 0.1), transparent 72%);
  filter: blur(26px);
  pointer-events: none;
}
.sp-hero__photo picture,
.sp-callout__photo picture {
  display: block;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
}
.sp-hero__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Same hairline as For Schools `.fs-divider` */
.sp-divider {
  border-top: 1px solid rgba(2, 33, 81, 0.08);
  background: var(--atb-white);
}

/* ============================== SECTION SHELL ============================== */
.sp-section {
  padding: var(--sp-section-y) 0;
}
.sp-section--tint {
  background: linear-gradient(180deg, #F7FBFE 0%, var(--atb-white) 100%);
}
.sp-section__head {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}
.sp-section__title {
  font-size: var(--text-h2);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.18;
  color: var(--atb-deep-space);
  margin: 0;
}
.sp-section__title span {
  display: block;
}
.sp-section__lede {
  color: var(--atb-orbit-gray);
  font-size: var(--text-lede);
  line-height: 1.5;
  margin: 14px 0 0;
}

/* ============================== THREE-UP ICON COLUMNS ============================== */
.sp-cols-wrap {
  position: relative;
}
.sp-cols-path {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}
.sp-cols-path__dash {
  --sp-dash-cycle: 12s;
  stroke-dasharray: 6 200;
  stroke-dashoffset: 8;
  filter: drop-shadow(0 0 3px rgba(55, 175, 245, 0.45));
  animation: sp-path-dash var(--sp-dash-cycle) linear infinite;
}
@keyframes sp-path-dash {
  0%     { stroke-dashoffset: 8; opacity: 0; }
  3%     { stroke-dashoffset: 4; opacity: 1; }
  75%    { stroke-dashoffset: -108; opacity: 1; }
  78%    { stroke-dashoffset: -112; opacity: 0; }
  100%   { stroke-dashoffset: -112; opacity: 0; }
}
.sp-cols {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 40px;
  text-align: center;
}
.sp-col {
  min-width: 0;
}
.sp-col__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  position: relative;
  background: radial-gradient(circle, #fff 52%, rgba(255, 255, 255, 0) 74%);
}
.sp-col__icon img {
  max-width: 56px;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.sp-col h3 {
  font-size: var(--text-card-h);
  font-weight: 700;
  color: var(--atb-deep-space);
  margin: 0 0 10px;
  line-height: 1.3;
  overflow-wrap: break-word;
  min-height: calc(1.3em * 2);
}
.sp-col h3 span {
  display: block;
}
.sp-col p {
  margin: 0;
  color: var(--atb-orbit-gray);
  font-size: var(--text-detail);
  line-height: 1.5;
  overflow-wrap: break-word;
}
.sp-section__cta {
  text-align: center;
  margin-top: 40px;
}

/* ============================== SCHOOL CALLOUT ============================== */
.sp-callout {
  padding: var(--sp-section-y) 0;
}
.sp-callout__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  grid-template-areas:
    "copy photo"
    "cta photo";
  column-gap: clamp(32px, 4.5vw, 64px);
  row-gap: 32px;
  align-items: stretch;
  background: var(--sp-band);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
}
.sp-callout__copy {
  grid-area: copy;
  min-width: 0;
  container-type: inline-size;
}
.sp-callout__cta {
  grid-area: cta;
  justify-self: start;
  align-self: start;
}
.sp-callout__title {
  font-size: clamp(0.72rem, calc(100cqi / 20.91), 3.25rem);
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.2;
  color: var(--atb-deep-space);
  margin: 0 0 16px;
  white-space: nowrap;
}
.sp-callout__body {
  color: var(--atb-orbit-gray);
  font-size: var(--text-lede);
  line-height: 1.65;
  margin: 0 0 26px;
}
.sp-callout__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.sp-callout__list li {
  position: relative;
  padding-left: 28px;
  color: var(--atb-deep-space);
  font-size: var(--text-body);
  line-height: 1.55;
  font-weight: 400;
}
.sp-callout__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--atb-deep-space);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 12.5l3.5 3.5L18 7.5' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}
.sp-callout__photo {
  grid-area: photo;
  margin: 0;
  align-self: stretch;
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(2, 33, 81, 0.1);
}
.sp-callout__photo img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ============================== INQUIRY ============================== */
.sp-inquire {
  padding: var(--sp-section-y) 0 0;
}
.sp-inquire__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.12fr);
  grid-template-rows: 1fr auto;
  column-gap: clamp(28px, 4vw, 56px);
  row-gap: 28px;
  align-items: stretch;
  background:
    radial-gradient(ellipse 80% 70% at 6% 0%, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0) 56%),
    radial-gradient(ellipse 55% 50% at 100% 100%, rgba(11, 119, 231, 0.1) 0%, transparent 60%),
    var(--sp-band-strong);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  overflow: hidden;
}
.sp-inquire__copy {
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
  padding-top: 8px;
}
.sp-inquire__title {
  font-size: var(--text-h2);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--atb-deep-space);
  margin: 0 0 16px;
}
.sp-inquire__lede {
  color: var(--atb-orbit-gray);
  font-size: var(--text-lede);
  line-height: 1.55;
  margin: 0 0 28px;
  max-width: 38ch;
}
.sp-inquire__points {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 18px;
  max-width: 38ch;
}
.sp-inquire__points li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: start;
}
.sp-inquire__point-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #D7ECFB;
  color: var(--atb-deep-space);
  display: grid;
  place-items: center;
}
.sp-inquire__point-icon svg {
  width: 20px;
  height: 20px;
}
.sp-inquire__points strong {
  display: block;
  color: var(--atb-deep-space);
  font-size: var(--text-body);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 2px;
}
.sp-inquire__points li span span {
  display: block;
  color: var(--atb-orbit-gray);
  font-size: var(--text-detail);
  line-height: 1.45;
}
.sp-inquire__next {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  padding: 14px 18px 16px;
  background: var(--atb-white);
  border-radius: 20px;
  box-shadow: 0 8px 22px rgba(2, 33, 81, 0.08);
  color: var(--atb-orbit-gray);
  font-size: var(--text-detail);
  line-height: 1.45;
}
.sp-inquire__next strong {
  display: block;
  color: var(--atb-deep-space);
  font-weight: 700;
  margin-bottom: 4px;
}
.sp-inquire .contact-form {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
  margin-inline: 0;
  max-width: none;
  padding: 28px 28px 24px;
  box-shadow: 0 18px 40px rgba(2, 33, 81, 0.1);
}
.sp-inquire .contact-form__field {
  margin-bottom: 16px;
}
.sp-inquire .contact-form__row .contact-form__field {
  margin-bottom: 16px;
}
.sp-inquire .contact-form__field.has-error,
.sp-inquire .contact-form__row .contact-form__field.has-error {
  margin-bottom: 48px;
}
.sp-inquire .contact-form__label {
  font-size: 0.82rem;
  margin-bottom: 6px;
}
.sp-inquire .contact-form__input,
.sp-inquire .contact-form__select,
.sp-inquire .contact-form__textarea {
  font-size: 0.95rem;
  padding: 10px 12px;
}
.sp-inquire .contact-form__textarea {
  min-height: 108px;
  padding-bottom: 28px;
}
.sp-inquire .contact-form__actions {
  margin-top: 8px;
}
.sp-req {
  color: var(--atb-mission-blue);
  font-weight: 700;
}
.sp-form__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 22px;
}
.sp-form__head-icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #D7ECFB;
  color: var(--atb-deep-space);
  display: grid;
  place-items: center;
}
.sp-form__head-icon svg {
  width: 20px;
  height: 20px;
}
.sp-form__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--atb-deep-space);
  line-height: 1.25;
}
.sp-form__note {
  margin: 4px 0 0;
  color: var(--atb-orbit-gray);
  font-size: 0.8rem;
  line-height: 1.4;
}
.sp-help {
  border: 0;
  margin: 0 0 18px;
  padding: 0;
  min-width: 0;
}
.sp-help legend {
  padding: 0;
}
.sp-help__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.sp-help__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-height: 100px;
  padding: 12px 8px 10px;
  border: 1.5px solid rgba(2, 33, 81, 0.12);
  border-radius: 12px;
  background: var(--atb-white);
  color: var(--atb-deep-space);
  text-align: center;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s var(--ease);
}
.sp-help__card input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.sp-help__icon {
  width: 36px;
  height: 36px;
  flex: none;
}
.sp-help__icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.sp-help__card:hover {
  border-color: rgba(11, 119, 231, 0.45);
}
.sp-help__card:has(input:focus-visible) {
  box-shadow: 0 0 0 3px rgba(11, 119, 231, 0.22);
}
.sp-help__card:has(input:checked) {
  border-color: var(--atb-mission-blue);
  color: var(--atb-mission-blue);
  box-shadow: 0 6px 16px rgba(11, 119, 231, 0.12);
}
.sp-form__message {
  position: relative;
}
.sp-form__count {
  position: absolute;
  right: 12px;
  bottom: 10px;
  font-size: 0.72rem;
  color: var(--atb-orbit-gray);
  pointer-events: none;
}
.sp-inquire .contact-form.is-busy .contact-form__submit,
.sp-inquire .contact-form.is-busy .contact-form__submit:hover,
.sp-inquire .contact-form.is-busy .contact-form__submit:disabled,
.sp-inquire .contact-form.is-busy .contact-form__submit.btn--blue:hover {
  background: #5aa3ef;
  color: rgba(255, 255, 255, 0.92);
}

.sp-touchdown {
  background: linear-gradient(180deg,
    var(--atb-white) 0%,
    #E2F2FD 38%,
    #EFF8FE 72%,
    #FBFEFF 100%);
}

/* ============================== RESPONSIVE ============================== */
@media (max-width: 980px) {
  .sp-page {
    --sp-section-y: 64px;
  }
  .sp-hero {
    padding: calc(var(--nav-h) + 36px) 0 var(--sp-section-y);
  }
  .sp-hero__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "eyebrow"
      "title"
      "lede"
      "photo"
      "body"
      "actions";
    gap: 16px;
    container-type: inline-size;
  }
  .sp-hero__copy {
    display: contents;
  }
  .sp-hero__copy .eyebrow {
    grid-area: eyebrow;
    margin-bottom: 0;
  }
  .sp-hero__title {
    grid-area: title;
    display: block;
    width: 100%;
    max-width: none;
    margin-bottom: 0;
    white-space: nowrap;
    letter-spacing: -0.025em;
    text-align: start;
    font-size: clamp(1.45rem, 5.5vw, 2.7rem);
    font-size: clamp(1.45rem, calc(100cqi / 17.4), 2.7rem);
  }
  .sp-hero__title span {
    display: inline;
    white-space: nowrap;
  }
  .sp-hero__title span + span::before {
    content: " ";
  }
  .sp-hero__lede {
    grid-area: lede;
    margin-bottom: 0;
  }
  .sp-hero__photo {
    grid-area: photo;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  .sp-hero__body {
    grid-area: body;
    margin-bottom: 0;
  }
  .sp-hero__actions {
    grid-area: actions;
  }
  .sp-hero__lede,
  .sp-hero__body,
  .sp-inquire__lede,
  .sp-inquire__points {
    max-width: none;
  }
  .sp-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 8px;
  }
  .sp-col__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
  }
  .sp-col__icon img {
    max-width: 42px;
    max-height: 42px;
  }
  .sp-col h3 {
    font-size: 0.82rem;
    min-height: calc(1.3em * 2);
  }
  .sp-col p {
    font-size: 0.75rem;
    line-height: 1.4;
  }
  .sp-cols-path {
    display: none;
  }
  .sp-callout__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "photo"
      "cta";
    row-gap: 22px;
    padding: 28px 22px;
  }
  .sp-callout__title {
    white-space: normal;
    font-size: var(--text-h2);
  }
  .sp-callout__cta {
    justify-self: center;
  }
  .sp-callout__photo img {
    height: auto;
  }
  .sp-inquire__inner {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    row-gap: 22px;
    padding: 28px 22px;
  }
  .sp-inquire__copy,
  .sp-inquire .contact-form,
  .sp-inquire__next {
    grid-column: auto;
    grid-row: auto;
  }
  .sp-inquire .contact-form {
    align-self: stretch;
  }
  .sp-help__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sp-inquire__next {
    border-radius: 16px;
  }
}

@media (max-width: 440px) {
  .sp-hero__title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    white-space: normal;
    letter-spacing: -0.02em;
    text-align: start;
    font-size: clamp(1.6rem, 7.6vw, 2.15rem);
    font-size: clamp(1.6rem, calc(100cqi / 9.8), 2.15rem);
  }
  .sp-hero__title span {
    display: block;
    width: auto;
    max-width: 100%;
    white-space: nowrap;
    text-align: start;
  }
  .sp-hero__title span + span::before {
    content: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sp-cols-path__dash {
    animation: none;
    opacity: 0;
  }
}
