/* Original light/dark design, with a direct substitution of the brand accent. */
:root {
  --teal: #00585A;
  --teal-rgb: 0 88 90;
  --experience-card-teal: #00484A;
  --black: #000000;
  --charcoal: #252525;
  --ice: #F7F8FA;
  --gray: #C5C9CE;
  --white: #FFFFFF;
}

/* Preserve the current form integration and responsive wrapper. */
.contact-form { color: var(--white); background: transparent; }
.contact-form-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.contact-form-heading h3 { margin: 0; font-size: 1.25rem; font-weight: 900; text-transform: uppercase; }
.contact-form .form-direct-link { color: var(--gray); text-decoration: underline; text-underline-offset: 4px; font-size: .875rem; }
.contact-form .form-direct-link:hover { color: var(--white); text-decoration-color: var(--teal); }
.contact-form .hs-form-frame { display: block; width: 100%; min-width: 0; min-height: 320px; overflow: visible; }
.contact-form .hs-form-frame iframe { display: block; width: 100%; max-width: 100%; border: 0; }

/* Give Varsity Hockey and Additional Playing Experience clear card contrast. */
.experience-highlights > .exp-group:first-child,
.experience-more .experience-groups > .exp-group:first-child {
  background: var(--experience-card-teal);
  color: var(--white);
}
.experience-highlights > .exp-group:first-child .label,
.experience-more .experience-groups > .exp-group:first-child .label {
  opacity: 1;
  color: var(--white);
}
.experience-highlights > .exp-group:first-child .exp-row,
.experience-more .experience-groups > .exp-group:first-child .exp-row {
  border-color: rgba(255,255,255,.3);
}
.experience-highlights > .exp-group:first-child .exp-row small,
.experience-more .experience-groups > .exp-group:first-child .exp-row small {
  opacity: 1;
  color: #DCEEEE;
}

/* Keep the current heading scale and balanced wrapping. */
.section-title { text-wrap: balance; }
.section-head > *, .film-info, .about-copy { min-width: 0; }
.section-title span { white-space: nowrap; }
.film-info h3, .quick strong, .academic-panel h3, .about .quote { text-wrap: balance; }
main p, footer p { text-wrap: pretty; }

/* White lettering remains readable over the substituted teal feature section. */
.about .section-title span { color: var(--white); }

/* Exact teal accents retain a pale edge on original dark section headings. */
.game-video .section-title span, .season-stats .section-title span,
.footer-top .section-title span { -webkit-text-stroke: .65px #DCEEEE; }
.game-video .film-eyebrow, .game-video .film-category, .season-stats .kicker,
.experience-photo .focus-player, .achievement time { color: var(--white); }
.stats-card a:hover { color: var(--white); border-bottom-color: var(--teal); }

/* These display rules are unchanged from the currently published Muskies hero. */
.hero-action-frame .hero-action {
  object-position: 90% 50%;
  transform: scale(1.15);
  transform-origin: 80% 50%;
  filter: none;
}
@media (max-width: 900px) {
  .hero-action-frame .hero-action { object-position: 90% 50%; transform: scale(1.28); transform-origin: 80% 50%; }
}
@media (max-width: 600px) {
  .hero-action-frame .hero-action { object-position: 90% 50%; transform: scale(1.3); transform-origin: 80% 50%; }
  .section-title span { white-space: normal; }
  .section-head .section-title, .profile .section-head .section-title,
  .footer-top .section-title, .game-video .section-title, .about .section-title {
    font-size: clamp(34px, 10vw, 44px);
  }
}

/* Mobile reading scale, shared across every section. */
@media (max-width: 700px) {
  body { font-size: 18px; line-height: 1.55; }
  .label, .glance-item .label, .profile .glance-item .label,
  .program-card .label, .kicker, .film-eyebrow, .film-category {
    font-size: .9rem; line-height: 1.45; letter-spacing: .1em;
  }
  .profile .glance-item { padding: 1.1rem 1.2rem; }
  .profile .glance-item strong { font-size: 1.5rem; line-height: 1.3; overflow-wrap: normal; word-break: normal; text-wrap: pretty; }
  .profile .glance-grid { grid-template-columns: 1fr; }
  .section-head p, .quick p, .team-quick p, .hero-playing-style,
  .hero-details, .program-card p, .competition-level, .milestone p,
  .stats-card p, .academic-panel > p, .film-intro,
  .film-highlight-notice p, .about-copy p { font-size: 1.125rem; line-height: 1.65; }
  .hero-copy .eyebrow { font-size: .9rem; line-height: 1.5; }
  .hero .actions { display: flex; flex-wrap: wrap; }
  .actions .btn, .btn, .schedule-filter, .schedule-toggle,
  .footer-instagram, .contact-grid .email-btn { font-size: 1rem; min-height: 48px; line-height: 1.35; letter-spacing: .04em; }
  .hero .actions .btn { flex: 1 1 145px; justify-content: center; padding: .85rem 1rem; }
  .quick strong, .team-quick strong { font-size: 1.45rem; line-height: 1.25; }
  .hero .quick-grid { position: relative; left: auto; right: auto; bottom: auto; margin-top: 2rem; }
  .hero { padding-bottom: 2rem; }
  .program-card { grid-template-columns: 80px minmax(0,1fr); }
  .program-card h3 { font-size: 1.5rem; line-height: 1.25; }
  .program-logo { height: 90px; }
  .team-link, .year-badge, .logo-card span, .exp-row small,
  .achievement time, .season-breakdown, .season-breakdown summary,
  .record-source a, .stats-card .stats-note, .stats-sources,
  .stats-card a, .coursework-label, .coursework-tags span, .interests span,
  .experience-photo .focus-note, .academic-fact small,
  .film-date, .film-source, .film-dialogbar, .film-dialog-actions a,
  .footer-meta, .footer-copyright, .contact-form .form-direct-link { font-size: 1rem; line-height: 1.55; }
  .exp-row { grid-template-columns: 1fr; gap: .35rem; }
  .exp-row strong, .achievement span { font-size: 1.125rem; line-height: 1.5; }
  .academic-facts { grid-template-columns: 1fr; }
  .academic-fact strong { font-size: 1.6rem; line-height: 1.25; }
  .player-totals dt { font-size: .95rem; letter-spacing: .02em; }
  .player-totals dd { font-size: 2.25rem; line-height: 1.2; }
  .film-info h3 { font-size: 1.5rem; line-height: 1.3; }
  .film-info { padding: 1.25rem; }
  .stats-archive > summary, .experience-more > summary,
  .past-results > summary { font-size: 1.125rem; line-height: 1.5; }
  .schedule .game { grid-template-columns: 82px minmax(0,1fr); gap: .6rem 1rem; padding: 1.2rem .5rem; }
  .schedule .past-results .game { padding: 1.2rem 1rem; }
  .game .date { font-size: 1.65rem; line-height: 1.2; }
  .game strong { font-size: 1.125rem; line-height: 1.4; }
  .game small, .game .game-team { font-size: 1rem; line-height: 1.5; }
  .schedule .game .tag { grid-column: 2; text-align: left; white-space: normal; font-size: 1rem; line-height: 1.4; padding: .25rem 0; }
  .schedule .game .tag::before { font-size: 1.4rem; }
  .schedule .game .tag.final::before { font-size: 1.8rem; }
  .footer-meta { letter-spacing: .03em; }
  .footer-meta a, .film-source { display: inline-block; padding-block: .4rem; }
  .contact-grid address, .contact-form-heading { min-width: 0; }
  input, select, textarea { font-size: 1rem; }
}
