:root {
  --brand-gold: #fccd0b;
  --brand-blue: #2d61c8;
  --brand-ink: #1d2d3d;
  --border: #d9e2ed;
  --surface-deep: #142032;
  --shadow-soft: 0 24px 60px rgba(20, 32, 50, 0.12);
  --shadow-card: 0 18px 40px rgba(20, 32, 50, 0.14);
}

html {
  scroll-behavior: smooth;
}

body.home-page {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #45586b;
  background: #ffffff;
}

.home-page img {
  max-width: 100%;
}

.home-page .container,
.home-page .container-lg,
.home-page .container-md,
.home-page .container-sm,
.home-page .container-xl {
  max-width: 1080px;
}

.landing-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 1000;
  transition: background-color 180ms ease, box-shadow 180ms ease, backdrop-filter 180ms ease;
}

.landing-header.is-sticky {
  position: fixed;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 35px rgba(17, 25, 38, 0.12);
}

.page-nav {
  min-height: 78px;
  padding: 0.9rem 0;
}

.page-nav__inner {
  padding-inline: clamp(1rem, 3vw, 2rem);
}

.navbar-brand img {
  height: 46px;
}

.page-nav .nav-link {
  color: rgba(0, 0, 0, 0.6);
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.page-nav .nav-link:hover,
.page-nav .nav-link:focus,
.page-nav .dropdown-item:hover,
.page-nav .dropdown-item:focus {
  color: rgba(0, 0, 0, 0.9);
}

.page-nav .dropdown-menu {
  border: 1px solid rgba(29, 45, 61, 0.08);
  border-radius: 1rem;
  box-shadow: 0 18px 45px rgba(17, 25, 38, 0.14);
  padding: 0.6rem;
}

.page-nav .dropdown-item {
  border-radius: 0.7rem;
  color: rgba(0, 0, 0, 0.6);
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 400;
  padding: 0.65rem 0.9rem;
  text-transform: uppercase;
}

.page-nav .nav-link.is-active,
.page-nav .dropdown-item.is-active {
  color: rgba(0, 0, 0, 0.9);
}

.nav-link--button,
.cta-chip,
.cta-outline,
.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

.nav-link--button,
.cta-chip,
.contact-submit {
  background: linear-gradient(101deg, var(--brand-gold) 3%, #ffd760 48%, var(--brand-gold) 100%);
  color: #10151a !important;
  box-shadow: 0 12px 30px rgba(252, 205, 11, 0.28);
}

.nav-link--button {
  padding: 0.8rem 1.25rem;
}

.cta-chip {
  padding: 0.85rem 1.6rem;
  min-width: 152px;
}

.cta-chip--mirror {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(220px, 34vw, 300px);
  padding: 1rem 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.28)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.32), rgba(182, 207, 255, 0.14));
  color: #0d1520;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -10px 24px rgba(145, 177, 236, 0.12),
    0 18px 44px rgba(24, 43, 73, 0.16);
  backdrop-filter: blur(18px) saturate(155%);
  -webkit-backdrop-filter: blur(18px) saturate(155%);
}

.cta-chip--mirror::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 12%;
  width: 76%;
  height: 48%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.cta-chip--mirror:hover {
  color: #08111d !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -10px 24px rgba(145, 177, 236, 0.16),
    0 24px 50px rgba(24, 43, 73, 0.2);
}

.cta-outline {
  border: 2px solid var(--brand-blue);
  color: var(--brand-blue);
  padding: 0.85rem 1.5rem;
  width: fit-content;
}

.contact-submit {
  border: 0;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
}

.nav-link--button:hover,
.cta-chip:hover,
.cta-outline:hover,
.contact-submit:hover {
  transform: translateY(-2px);
}

.cta-outline:hover {
  background: var(--brand-blue);
  color: #ffffff;
  box-shadow: 0 12px 25px rgba(45, 97, 200, 0.22);
}

.hero-carousel {
  margin-top: 78px;
}

.hero-carousel--flush {
  margin-top: 0;
}

.hero-slide {
  min-height: clamp(230px, 76vh, 760px);
  background-image: linear-gradient(180deg, rgba(20, 32, 50, 0.06), rgba(20, 32, 50, 0.12)), var(--hero-image);
  background-position: var(--hero-position);
  background-repeat: no-repeat;
  background-size: cover;
}

.section-texture {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.7)), var(--section-texture);
  background-size: cover;
  background-position: center;
}

.intro-section,
.story-section,
.feature-section,
.testimonial-section,
.partners-section,
.contact-section {
  position: relative;
  overflow: hidden;
}

.intro-section {
  padding: 2rem 0 4.5rem;
}

.intro-login-row {
  margin-bottom: 1.75rem;
}

.intro-login-row--centered {
  display: flex;
  justify-content: center;
}

.eyebrow {
  font-family: "Poppins", sans-serif;
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1.5;
  color: var(--brand-ink);
}

.eyebrow--serif {
  font-size: 1.45rem;
}

.intro-media__image {
  border: 1px solid rgba(29, 45, 61, 0.12);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.content-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  padding: clamp(1.5rem, 4vw, 2.4rem);
}

.content-card--floating {
  margin-right: clamp(1rem, 5vw, 4rem);
}

.bullet-list {
  margin: 0;
  padding-left: 1.2rem;
}

.bullet-list li + li {
  margin-top: 0.4rem;
}

.story-section {
  padding: 2rem 0 4.8rem;
}

.story-shell {
  max-width: 1320px;
}

.story-shell__media {
  text-align: center;
}

.story-shell__image {
  width: min(100%, 640px);
}

.feature-section {
  padding: 1rem 0 5rem;
}

.section-heading {
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  color: var(--brand-ink);
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  margin: 0;
}

.feature-stack {
  display: grid;
  gap: 1rem;
}

.feature-stack--left .feature-card {
  justify-items: end;
  text-align: right;
}

.feature-card {
  display: grid;
  gap: 0.75rem;
  align-items: start;
  background: linear-gradient(180deg, rgba(244, 247, 251, 0.9), rgba(255, 255, 255, 0.95));
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  padding: 1.35rem 1.4rem;
}

.feature-card__icon {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.feature-card h3 {
  color: var(--brand-ink);
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.feature-card p {
  margin: 0;
}

.phone-frame {
  position: relative;
  padding: 1rem 0;
  border-top: 4px solid #adb6bf;
  border-bottom: 4px solid #adb6bf;
}

.phone-frame img {
  max-height: 460px;
  transform: rotate(0deg);
  transition: transform 700ms ease;
}

.phone-frame.is-visible img {
  transform: rotate(360deg);
}

.testimonial-section {
  background: linear-gradient(180deg, #ffffff, #f6f9fc);
  padding: 4.5rem 0;
}

.testimonial-card {
  height: 100%;
  background: var(--surface-deep);
  border-radius: 28px;
  color: #ffffff;
  padding: 2rem 2rem 1.8rem;
  box-shadow: var(--shadow-card);
}

.testimonial-card__quote {
  color: var(--brand-gold);
  font-size: 4rem;
  line-height: 1;
}

.testimonial-card__body {
  font-size: 1rem;
  margin: 0.5rem 0 1.25rem;
}

.testimonial-card__author {
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.testimonial-card__author span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
}

.testimonial-card--single {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.partners-section {
  padding: 4.5rem 0;
}

.baseball-intro-actions {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
}

.baseball-intro-cta {
  min-width: clamp(220px, 28vw, 280px);
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(20, 32, 50, 0.1);
}

.baseball-secondary-link {
  color: var(--brand-blue);
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.baseball-secondary-link:hover {
  text-decoration: underline;
}

.baseball-intro-summary {
  max-width: 760px;
  margin: 0 auto 1.75rem;
  color: #5a6673;
  font-size: 0.95rem;
  line-height: 1.8;
  text-align: center;
}

.baseball-benefits {
  padding: 0.5rem 0 4rem;
}

.baseball-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.baseball-benefit {
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  text-align: center;
}

.baseball-benefit .material-icons-outlined {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(29, 45, 61, 0.18);
  border-radius: 50%;
  color: var(--brand-ink);
  font-size: 1.65rem;
}

.baseball-benefit p {
  margin: 0;
  color: var(--brand-ink);
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
}

.home-page--baseball-classic .hero-slide {
  min-height: 0;
  aspect-ratio: 1920 / 722;
  background-size: cover;
}

.home-page--baseball-classic main {
  width: min(100%, 1280px);
  margin: 0 auto;
}

.home-page--baseball-classic .hero-section,
.home-page--baseball-classic .intro-section,
.home-page--baseball-classic .story-section,
.home-page--baseball-classic .baseball-benefits,
.home-page--baseball-classic .testimonial-section,
.home-page--baseball-classic .contact-section {
  padding-inline: clamp(0.75rem, 2vw, 1.5rem);
}

.home-page--baseball-classic .story-shell {
  max-width: 1140px;
  margin: 0 auto;
}

.home-page--baseball-classic .baseball-benefits__grid {
  max-width: 880px;
  margin: 0 auto;
}

.home-page--baseball-classic .intro-section {
  padding-top: 1.25rem;
}

.home-page--baseball-classic .intro-media__image,
.home-page--baseball-classic .story-shell__image {
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(20, 32, 50, 0.12);
}

.home-page--baseball-classic .content-card {
  border-radius: 12px;
}

.home-page--baseball-classic .testimonial-section {
  background: #ffffff;
  padding-top: 1.25rem;
}

.home-page--baseball-classic .section-heading h2 {
  font-size: clamp(1.4rem, 2.3vw, 1.95rem);
  font-style: italic;
}

@media (min-width: 1400px) {
  .home-page--baseball-classic main {
    width: min(100%, 1240px);
  }

  .home-page--baseball-classic .baseball-intro-summary {
    max-width: 700px;
  }
}

.partners-grid__logo {
  max-width: 130px;
  max-height: 84px;
  width: auto;
}

.contact-section {
  background-image: linear-gradient(180deg, rgba(15, 23, 36, 0.24), rgba(15, 23, 36, 0.5)), var(--contact-background);
  background-position: center;
  background-size: cover;
  padding: 5rem 0;
}

.contact-copy {
  color: #ffffff;
}

.contact-copy h2 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.contact-details {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.contact-details li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.9rem;
  align-items: start;
}

.contact-details .material-icons-outlined {
  color: var(--brand-gold);
  font-size: 1.4rem;
}

.contact-card {
  position: relative;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 30px;
  box-shadow: 0 24px 70px rgba(12, 19, 31, 0.3);
  padding: clamp(1.35rem, 3vw, 2rem);
}

.contact-card .form-control {
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: none;
  font-size: 0.98rem;
  min-height: 52px;
  padding: 0.85rem 1rem;
}

.contact-card textarea.form-control {
  min-height: 150px;
}

.form-feedback {
  margin-top: 0.75rem;
}

.contact-captcha {
  min-height: 1px;
}

.btndiv {
  display: grid;
  gap: 0.75rem;
}

.contact-slider {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 64px;
  padding: 6px;
  border: 1px solid rgba(17, 25, 38, 0.12);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(239, 244, 252, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 20px 45px rgba(17, 25, 38, 0.12);
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
}

.contact-slider.is-loading,
.contact-slider.is-complete {
  pointer-events: none;
}

.contact-slider__progress {
  position: absolute;
  inset: 6px auto 6px 6px;
  width: 52px;
  border-radius: 999px;
  background: linear-gradient(101deg, rgba(252, 205, 11, 0.96) 3%, rgba(255, 215, 96, 0.98) 48%, rgba(252, 205, 11, 0.96) 100%);
  box-shadow: 0 10px 22px rgba(252, 205, 11, 0.28);
  transition: width 160ms ease;
}

.contact-slider__label {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 5rem 0 4.75rem;
  color: #28425f;
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
}

.contact-slider__thumb {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(145deg, #1f3f66, #2f6cc8);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(31, 63, 102, 0.28);
  cursor: grab;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.contact-slider__thumb:active {
  cursor: grabbing;
}

.contact-slider__thumb:focus-visible {
  outline: 3px solid rgba(47, 108, 200, 0.32);
  outline-offset: 2px;
}

.contact-slider.is-dragging .contact-slider__thumb {
  transform: scale(1.04);
  box-shadow: 0 18px 32px rgba(31, 63, 102, 0.34);
}

.contact-slider.is-loading .contact-slider__label,
.contact-slider.is-complete .contact-slider__label {
  color: #10253e;
}

.contact-slider.is-loading .contact-slider__thumb,
.contact-slider.is-complete .contact-slider__thumb {
  background: linear-gradient(145deg, #2f6cc8, #1f8d7a);
}

.contact-submit--fallback {
  display: none;
}

.loader {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.76);
  border-radius: 30px;
  z-index: 5;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 8px solid #eef3f9;
  border-top-color: var(--brand-blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.site-footer {
  padding: 3rem 1rem 2.4rem;
  color: var(--brand-ink);
}

.social-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  margin: 0 0 1.4rem;
  padding: 0;
}

.social-links img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.site-footer__contact,
.site-footer__legal {
  margin-bottom: 0;
}

.site-footer__legal {
  margin-top: 1rem;
}

.inner-page-main {
  padding-top: 6.5rem;
}

.inner-page-section {
  padding: 2rem 0 4rem;
}

.inner-page-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  padding: clamp(1.5rem, 4vw, 2.4rem);
}

.inner-page-image {
  display: block;
  max-width: 100%;
  margin: 0 auto 1.5rem;
}

.inner-page-copy {
  color: #45586b;
}

.inner-page-copy p,
.inner-page-copy ul {
  margin-bottom: 1.1rem;
}

.inner-page-copy ul {
  padding-left: 1.35rem;
}

.career-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.4rem 0;
}

.career-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  background: linear-gradient(101deg, var(--brand-gold) 3%, #ffd760 48%, var(--brand-gold) 100%);
  color: #10151a;
  font-family: "Roboto", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(252, 205, 11, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.career-action:hover {
  transform: translateY(-2px);
}

.quote-block {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: 1.5rem;
  align-items: center;
}

#scrollToTopBtn {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  display: none;
  z-index: 1000;
  border-radius: 999px;
  border: 1px solid rgba(29, 45, 61, 0.12);
  box-shadow: 0 10px 30px rgba(17, 25, 38, 0.14);
}

@media (max-width: 991.98px) {
  .landing-header {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 24px rgba(17, 25, 38, 0.08);
  }

  .page-nav .navbar-collapse {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(17, 25, 38, 0.12);
    margin-top: 1rem;
    padding: 1rem;
  }

  .content-card--floating {
    margin-right: 0;
  }
}

@media (max-width: 767.98px) {
  body.home-page {
    font-size: 16px;
  }

  .navbar-brand img {
    height: 38px;
  }

  .hero-slide {
    min-height: 31vh;
    background-position: var(--hero-mobile-position);
  }

  .home-page--baseball-classic .hero-slide {
    min-height: 220px;
    aspect-ratio: 16 / 9;
  }

  .intro-section,
  .story-section,
  .feature-section,
  .testimonial-section,
  .partners-section,
  .contact-section {
    padding-block: 3.5rem;
  }

  .inner-page-main {
    padding-top: 5.75rem;
  }

  .inner-page-section {
    padding-block: 1.5rem 3rem;
  }

  .intro-login-row,
  .intro-media,
  .content-card,
  .feature-card,
  .contact-copy {
    text-align: center;
  }

  .bullet-list {
    text-align: left;
  }

  .feature-stack--left .feature-card,
  .feature-card {
    justify-items: center;
    text-align: center;
  }

  .phone-frame {
    max-width: 290px;
    margin: 0 auto;
  }

  .baseball-benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page--baseball-classic .story-shell {
    padding-inline: 0;
  }

  .contact-details li {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .career-actions {
    justify-content: center;
  }

  .quote-block {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .cta-chip,
  .cta-outline,
  .contact-submit,
  .nav-link--button {
    width: 100%;
  }

  .partners-grid__logo {
    max-width: 110px;
  }

  .contact-slider__label {
    padding-inline: 4.25rem;
    font-size: 0.88rem;
  }

  .baseball-benefits__grid {
    grid-template-columns: 1fr;
  }

  #scrollToTopBtn {
    right: 1rem;
    bottom: 1rem;
  }
}
