/* Logo-led visual layer. Layout and behaviour remain in site.css. */
:root {
  --silver: #bcbcc2;
  --alternate: #edf0f5;
  --muted: #505b70;
  --border: #cdd2df;
  --display: 'Arial Black', Impact, 'Franklin Gothic Heavy', sans-serif;
}
html { scroll-padding-top: 180px; }
h1, h2 { font-weight: 900; font-style: italic; letter-spacing: -.045em; line-height: 1.02; }
h1 { font-size: clamp(48px, 5.8vw, 82px); }
h2 { font-size: clamp(32px, 3.6vw, 48px); }
.topbar { background: var(--accent); font-weight: 850; }
.site-header { background: var(--primary); border-bottom: 5px solid var(--accent); box-shadow: 0 3px 0 white; }
.navigation { min-height: 160px; padding-block: 10px; gap: 36px; }
.brand { display: inline-flex; }
.brand img { width: 136px; height: 136px; object-fit: contain; background: var(--silver); border: 2px solid white; box-shadow: 6px 6px 0 var(--accent); }
.wordmark { color: white; font-weight: 900; font-style: italic; }
.wordmark small { color: white; }
.primary-nav { gap: 24px; }
.primary-nav > a { color: white; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .025em; padding-block: 10px; }
.primary-nav > a:hover { color: white; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 4px; }
.primary-nav > a[aria-current=page]:not(.button) { color: white; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 4px; text-underline-offset: 9px; }
.primary-nav > a[aria-current=page]:not(.button)::after { display: none; }
.menu-toggle { border: 2px solid white; padding: 10px 15px; min-height: 48px; text-transform: uppercase; font-weight: 850; }
.eyebrow { font-size: 11px; font-weight: 850; letter-spacing: .14em; }
.eyebrow::before { width: 30px; height: 6px; margin-right: 12px; transform: skew(-28deg); }
.button { min-height: 54px; min-width: 0; padding: 14px 25px; font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .025em; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); transition: background .15s, transform .15s; }
.button:hover { filter: none; transform: translateY(-2px); }
.button.small { min-height: 48px; padding: 12px 18px; gap: 15px; }
.button.outline { background: white; color: var(--primary); border-color: white; }
.button.outline:hover { background: #e7e9f3; border-color: #e7e9f3; color: var(--primary); }
.button:focus-visible { clip-path: none; }
.text-link { white-space: normal; text-decoration-thickness: 2px; }

/* The original square badge is never clipped, skewed, recoloured or redrawn. */
.hero { isolation: isolate; border-bottom: 5px solid white; }
.hero-backdrop { position: absolute; inset: 0; z-index: -3; }
.hero-backdrop img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #0d1a5af5 5%, #0d1a5ae8 46%, #071126d9); z-index: -2; }
.hero::after { content: ''; position: absolute; top: -10%; bottom: -10%; right: 13%; width: 210px; background: var(--accent); opacity: .28; transform: skew(-22deg); border-inline: 5px solid white; z-index: -1; }
.hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: 50px; min-height: 650px; padding-block: 62px; }
.hero-copy { padding: 0 10px 0 0; min-width: 0; }
.hero-copy .eyebrow { color: #f0f1f8; }
.hero-copy h1 { margin-bottom: 28px; text-shadow: 4px 4px 0 #071126; }
.hero-copy h1 em { display: inline-block; font-style: inherit; color: white; position: relative; isolation: isolate; padding-right: 10px; }
.hero-copy h1 em::before { content: ''; position: absolute; inset: 16% -8px -2px -12px; background: var(--accent); transform: skew(-12deg); z-index: -1; }
.hero-copy p:not(.eyebrow) { color: #eaedf6; font-size: 17px; max-width: 470px; }
.hero-brand { display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 0 12px 10px 0; }
.hero-logo-frame { width: min(100%, 460px); padding: 16px; border: 4px solid white; background: var(--silver); box-shadow: 12px 12px 0 var(--accent); position: relative; }
.hero-logo-frame::before { content: ''; position: absolute; width: 115px; height: 12px; top: -15px; left: -20px; background: var(--accent); transform: skew(-28deg); }
.hero-logo-frame::after { content: ''; position: absolute; width: 90px; height: 7px; right: -22px; bottom: -25px; background: white; transform: skew(-28deg); }
.hero-logo { width: 100%; aspect-ratio: 1; height: auto; object-fit: contain; }
.hero-caption { position: static; color: white; font-size: 10px; font-weight: 850; letter-spacing: .12em; margin: 30px 0 0; text-align: center; }
.hero-caption::before { display: none; }
.hero-stripe { height: 9px; width: 45%; transform: skew(-28deg); transform-origin: bottom left; }
.season-bar { background: var(--secondary); border-bottom: 5px solid var(--accent); color: white; }
.season-label { font-family: var(--display); font-size: 24px; font-weight: 900; font-style: italic; }
.season-bar p { color: #cdd3e8; }
.season-bar a { color: white; white-space: nowrap; }

/* Angular framing echoes the shield; the content and photos stay intact. */
.soft { border-block: 1px solid #dce0e9; }
.image-frame { padding: 0 12px 18px 0; }
.image-frame img { border: 4px solid white; box-shadow: 9px 9px 0 var(--primary); }
.image-frame::after { height: 8px; width: 55%; transform: skew(-25deg); }
.image-frame figcaption { margin-top: 18px; }
.tournament-poster { width: min(100%, 372px); justify-self: center; }
.tournament-poster > a { display: block; }
.tournament-poster img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
.value-strip { border-top: 5px solid var(--primary); padding-top: 28px; }
.team-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.team-card { background: var(--primary); color: white; border: 2px solid var(--primary); border-bottom: 8px solid var(--accent); position: relative; }
.team-card::after { content: ''; position: absolute; right: 14px; top: 14px; width: 22px; height: 5px; background: var(--accent); transform: skew(-25deg); }
.team-card:hover { color: white; background: var(--secondary); }
.team-card .division { font-family: var(--display); font-size: 53px; font-weight: 900; font-style: italic; letter-spacing: -.06em; }
.team-card small { color: #d4daeb; font-size: 10px; letter-spacing: .045em; }
.team-card .team-link { gap: 8px; font-size: 11px; }
.status { border-left: 4px solid var(--primary); font-weight: 850; }
.status.red { border-color: var(--accent); }
.feature-band { border-bottom: 8px solid var(--accent); }
.feature-band h2 { font-size: 40px; }
.feature-band .eyebrow, .dark .eyebrow { color: white; }
.coach-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.coach-grid.historical { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.coach-card, .resource-card, .info-panel, .contact-card, .empty-state { position: relative; border: 1px solid var(--border); border-top: 6px solid var(--primary); border-bottom: 3px solid var(--border); background: white; }
.coach-card::after, .resource-card::after { content: ''; position: absolute; top: 0; right: 0; width: 30px; height: 30px; background: var(--accent); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.coach-card .initials { display: inline-block; color: white; background: var(--primary); border-bottom: 5px solid var(--accent); padding: 8px 14px; font: italic 900 35px/1 var(--display); letter-spacing: -.05em; margin-bottom: 26px; }
.coach-card h3 { font-size: 25px; font-weight: 850; margin-bottom: 17px; }
.coach-card .role { font-size: 11px; font-weight: 850; letter-spacing: .1em; }
.coach-card p:not(.role) { color: var(--muted); font-size: 15px; line-height: 1.8; }
.resource-card { background: var(--alternate); }
.contact-card { border-top-color: var(--accent); }
.photo-grid img { border-bottom: 6px solid var(--accent); }
.notice { border-left-width: 6px; }
.faq { border-top: 3px solid var(--primary); }
.filters select { border-width: 2px; }
.event { grid-template-columns: 90px minmax(0, 1fr); border-top-width: 2px; }
.event time strong { font-weight: 900; font-style: italic; }
.section-cta { border-top: 6px solid var(--primary); position: relative; overflow: hidden; }
.section-cta::after { content: ''; position: absolute; right: -30px; top: 0; width: 160px; height: 100%; transform: skew(-25deg); background: #0d1a5a22; pointer-events: none; }
.section-cta .wrap { position: relative; z-index: 1; }
.section-cta h2 { font-size: 39px; }
.section-cta p { color: white; }
.page-heading { padding-block: 48px 57px; border-bottom: 7px solid var(--accent); }
.page-heading .wrap { position: relative; z-index: 1; }
.page-heading::after { right: 0; top: -20%; width: 19%; height: 150%; transform: skew(-24deg); background: var(--accent); border-inline: 5px solid white; opacity: .4; }
.page-heading h1 { font-size: clamp(40px, 4.7vw, 65px); max-width: 970px; }
.page-heading .eyebrow { color: white; }
.prose h2 { font-size: 32px; }
.site-footer { border-top: 10px solid var(--accent); }
.footer-brand img { width: 180px; height: 180px; box-shadow: 9px 9px 0 var(--accent); }
.footer-top .eyebrow { color: #dce1ef; }
.footer-email { font-family: var(--display); font-size: 37px; font-weight: 900; font-style: italic; letter-spacing: -.04em; }

@media (max-width: 1100px) {
  .navigation { gap: 25px; }
  .primary-nav { gap: 16px; }
  .primary-nav > a { font-size: 11px; }
  .hero-grid { gap: 35px; }
  .hero-copy h1 { font-size: 62px; }
  .team-card .division { font-size: 46px; }
  .feature-band h2 { font-size: 33px; }
}
@media (max-width: 1049px) {
  .navigation { min-height: 140px; }
  .brand img { width: 116px; height: 116px; }
  .has-js .primary-nav { gap: 4px; max-height: calc(100vh - 190px); max-height: calc(100dvh - 190px); overflow-y: auto; overscroll-behavior: contain; }
  .primary-nav > a { font-size: 14px; padding: 13px; }
  .hero-grid { min-height: 570px; padding-block: 50px; }
  .hero-copy h1 { font-size: clamp(44px, 6vw, 60px); }
  .hero-copy p:not(.eyebrow) { font-size: 15px; }
  .hero-logo-frame { padding: 10px; border-width: 3px; }
  .hero-caption { font-size: 9px; letter-spacing: .07em; }
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand img { width: 180px; height: 180px; }
}
@media (max-width: 700px) {
  .tournament-poster { width: min(100%, 332px); }
  html { scroll-padding-top: 140px; }
  .navigation { min-height: 122px; gap: 18px; padding-block: 12px; }
  .brand img { width: 96px; height: 96px; box-shadow: 5px 5px 0 var(--accent); }
  .menu-toggle { font-size: 12px; }
  h2 { font-size: 32px; }
  .eyebrow { font-size: 10px; letter-spacing: .09em; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; min-height: auto; padding-block: 35px 40px; }
  .hero-brand { order: -1; padding-right: 9px; }
  .hero-logo-frame { width: 260px; padding: 12px; border-width: 3px; box-shadow: 8px 8px 0 var(--accent); }
  .hero-logo-frame::before { width: 80px; height: 8px; top: -11px; left: -12px; }
  .hero-logo-frame::after { width: 65px; right: -15px; bottom: -18px; height: 5px; }
  .hero-caption { margin-top: 25px; font-size: 9px; }
  .hero-copy { padding: 0; }
  .hero-copy h1 { font-size: clamp(38px, 10.6vw, 58px); margin-bottom: 25px; }
  .hero-copy p:not(.eyebrow) { max-width: 100%; font-size: 15px; }
  .hero-copy .eyebrow { margin-bottom: 14px; }
  .hero .actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 25px; gap: 10px; }
  .hero .button { gap: 10px; padding: 12px 13px; font-size: 11px; }
  .hero::after { right: 5%; width: 110px; opacity: .23; }
  .hero-stripe { width: 55%; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .team-card .division { font-size: 44px; }
  .team-card .team-link { font-size: 10px; }
  .team-card::after { width: 17px; right: 10px; }
  .team-card small { font-size: 9px; }
  .feature-band h2 { font-size: 32px; }
  .coach-grid, .coach-grid.historical, .resource-grid { grid-template-columns: minmax(0, 1fr); }
  .coach-card h3 { font-size: 23px; }
  .page-heading { padding-block: 30px 40px; }
  .page-heading h1 { font-size: clamp(32px, 8.3vw, 49px); }
  .page-heading::after { width: 15%; opacity: .25; }
  .prose h2 { font-size: 29px; }
  .event { grid-template-columns: 65px minmax(0, 1fr); }
  .event time strong { font-size: 31px; }
  .section-cta h2 { font-size: 32px; }
  .footer-brand img { width: 160px; height: 160px; }
  .footer-email { font-size: 29px; }
}
@media (max-width: 380px) {
  .brand img { width: 96px; height: 96px; }
  .hero-logo-frame { width: 238px; }
  .hero-caption { font-size: 8px; }
  .team-card { padding: 22px 11px; }
  .team-card .division { font-size: 38px; }
  .footer-brand img { width: 160px; height: 160px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
