:root {
  color-scheme: light;
  --navy: #082a59;
  --blue: #0756a5;
  --light-blue: #a8dcff;
  --ink: #162941;
  --muted: #54677d;
  --paper: #f4f7fb;
  --line: #d9e4ef;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #0b77d1; outline-offset: 4px; }
[id] { scroll-margin-top: 115px; }
.wrap { width: min(100% - 56px, 1400px); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 10; background: #fff; border-top: 5px solid var(--blue); box-shadow: 0 5px 25px #0b315714; }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 13px; flex: none; text-decoration: none; color: var(--navy); }
.brand img { width: 62px; height: 62px; object-fit: contain; }
.brand-name { display: block; font-size: 20px; line-height: 1.05; font-weight: 900; letter-spacing: -.045em; text-transform: uppercase; }
.brand-name small { display: block; margin-top: 5px; font-size: 10px; font-weight: 800; letter-spacing: .1em; color: var(--blue); }
.nav { display: flex; align-items: center; gap: clamp(12px, 1.4vw, 24px); }
.nav a { white-space: nowrap; text-decoration: none; color: var(--navy); font-size: 13px; font-weight: 800; }
.nav a:hover { color: var(--blue); }
.nav .nav-accent { padding: 10px 15px; border-radius: 7px; color: #fff; background: var(--blue); }
.nav .nav-accent:hover { color: #fff; background: var(--navy); }
.menu-toggle { display: none; }

.intro { padding: 35px 0 24px; }
.intro-inner { display: block; }
.eyebrow { margin: 0 0 9px; color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.045em; }
h1 { max-width: 930px; margin-bottom: 0; color: var(--navy); font-size: clamp(32px, 3.6vw, 52px); line-height: 1.08; font-weight: 900; }
.intro h1 { max-width: none; white-space: nowrap; font-size: clamp(10px, 3.4vw, 52px); letter-spacing: -.055em; }
.intro-side { max-width: 650px; margin-top: 20px; padding: 10px 0 10px 19px; border-left: 3px solid var(--blue); text-align: left; }
.intro-side strong { display: block; color: var(--blue); font-size: 12px; letter-spacing: .13em; text-transform: uppercase; }
.intro-side span { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; }

.sports { padding: 0 0 70px; }
.sports-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.sport-card { position: relative; grid-column: span 2; min-height: 355px; display: flex; align-items: end; overflow: hidden; border-radius: 17px; color: #fff; background: var(--navy); text-decoration: none; isolation: isolate; box-shadow: 0 10px 25px #12385d17; transition: transform .2s ease, box-shadow .2s ease; }
.sport-card:nth-child(n+4) { grid-column: span 3; }
.sport-card:hover { transform: translateY(-4px); box-shadow: 0 19px 35px #12385d2c; }
.sport-photo { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.sport-card:hover .sport-photo { transform: scale(1.05); }
.sport-card::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, #071e3a05 0%, #071e3a55 32%, #082140bd 63%, #071b36f5 100%); }
.sport-content { width: 100%; padding: 26px 30px 29px; }
.sport-logo { width: auto; height: 85px; max-width: 135px; object-fit: contain; object-position: left bottom; margin-bottom: 13px; filter: drop-shadow(0 3px 6px #04162991); }
.sport-card h2 { margin: 0 0 3px; color: #fff; font-size: clamp(28px, 2.4vw, 39px); line-height: 1.04; font-weight: 900; }
.sport-card p { margin: 7px 0 17px; color: #e5effb; font-size: 15px; }
.sport-link { color: var(--light-blue); font-size: 13px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.sport-actions { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.sport-actions .sport-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; text-decoration: none; }
.sport-actions .sport-link:hover { text-decoration: underline; }
.sport-link span { display: inline-block; transition: transform .2s ease; }
.sport-card:hover .sport-link span { transform: translate(3px, -2px); }
.sport-card:nth-child(4) .sport-photo { object-position: center 38%; }
.sport-card:nth-child(5) .sport-photo { object-position: center 35%; }
.service-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.service-link { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 17px 20px; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--navy); text-decoration: none; font-size: 14px; font-weight: 850; }
.service-link:hover { border-color: #72ace3; background: #edf6ff; }
.service-link span:last-child { color: var(--blue); font-size: 19px; }

.section { padding: 74px 0; }
.section-white { background: #fff; }
.section-blue { background: #eaf2fb; }
.section-dark { color: #fff; background: var(--navy); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 25px; }
.section-head h2 { margin-bottom: 0; color: var(--navy); font-size: clamp(31px, 3.6vw, 48px); line-height: 1.1; font-weight: 900; }
.section-head > p { max-width: 510px; margin-bottom: 0; color: var(--muted); }
.section-dark .eyebrow { color: var(--light-blue); }
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-head > p { color: #cfdeee; }
.frame-shell { padding: 12px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: 0 12px 30px #0e355416; }
.frame-shell iframe { display: block; width: 100%; height: 790px; border: 0; border-radius: 7px; background: #fff; }
.yolawo-section .frame-shell iframe { height: 680px; }
.yolawo-section .frame-shell iframe.yolawo-widget { min-height: 680px; }
.embed-prompt { display: grid; justify-items: start; align-content: center; min-height: 250px; padding: 35px; border-radius: 8px; color: var(--ink); background: linear-gradient(135deg, #f0f7fe, #fff); }
.embed-prompt strong { color: var(--navy); font-size: 25px; letter-spacing: -.035em; }
.embed-prompt p { max-width: 600px; margin: 8px 0 15px; color: var(--muted); }
.embed-prompt a { color: var(--blue); font-weight: 750; }
.embed-prompt a.button { color: #fff; }
.embed-button { border: 0; cursor: pointer; font: inherit; }
.booking-dialog-open { overflow: hidden; }
.booking-dialog[open] { position: fixed; inset: 0; display: flex; flex-direction: column; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #fff; overscroll-behavior: contain; }
.booking-dialog::backdrop { background: #061b36c9; }
.booking-dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: 15px; flex: none; min-height: 65px; padding: 10px max(16px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left)); color: #fff; background: var(--navy); }
.booking-dialog-bar strong { font-size: 18px; }
.booking-dialog-bar button { flex: none; padding: 9px 11px; border: 1px solid #ffffff80; border-radius: 6px; color: #fff; background: transparent; font: 750 13px/1.2 system-ui, sans-serif; cursor: pointer; }
.booking-dialog iframe { display: block; flex: 1 1 auto; min-height: 0; width: 100%; border: 0; background: #fff; }
.booking-dialog-fallback { flex: none; padding: 9px 16px max(9px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); text-align: center; font-size: 13px; }
.booking-dialog-fallback a { color: var(--blue); font-weight: 750; }
.embed-close { margin: 0 0 10px 4px; border: 0; background: transparent; color: var(--blue); text-decoration: underline; cursor: pointer; font: 700 13px/1.4 system-ui, sans-serif; }
.below-frame { margin: 17px 0 0; font-size: 14px; color: var(--muted); }
.text-link { color: var(--blue); font-weight: 850; text-underline-offset: 3px; }
.text-link:hover { color: var(--navy); }
.section-dark .text-link { color: #b7e2ff; }
.section-dark .text-link:hover { color: #fff; }
.section-dark .below-frame { color: #cfdeee; }

.download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.download-group { padding: 27px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.download-group.wide { grid-column: 1 / -1; }
.download-group h3 { margin: 0 0 18px; color: var(--navy); font-size: 22px; }
.download-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.download-group:not(.wide) .download-items { grid-template-columns: 1fr; }
.download-item { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 52px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fbfdff; text-decoration: none; font-size: 14px; font-weight: 720; }
.download-item:hover { background: #eef7ff; border-color: #93c5ec; }
.download-item .file-type { flex: none; color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.download-note { margin: 13px 0 0; color: var(--muted); font-size: 12px; }

.history-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(250px, .8fr); gap: 32px; align-items: start; }
.history-copy { padding: 30px 34px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.history-copy p { margin-bottom: 18px; }
.history-copy p:last-child { margin-bottom: 0; }
.club-aside { display: grid; gap: 11px; position: sticky; top: 115px; padding: 26px; border-radius: 13px; color: #fff; background: var(--navy); }
.club-aside img { width: 114px; height: 114px; object-fit: contain; }
.club-aside h3 { margin: 2px 0 0; font-size: 24px; }
.club-aside p { margin: 0 0 5px; color: #d7e6f6; font-size: 14px; }
.club-aside .button { background: #fff; color: var(--navy); }
.club-aside .button.ghost { border: 1px solid #ffffff80; background: transparent; color: #fff; }
.board-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.board-person { min-height: 90px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.board-person.lead { border-top: 4px solid var(--blue); background: #eaf4fc; }
.board-person strong { display: block; color: var(--navy); font-size: 17px; }
.board-person span { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-panel { padding: 29px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.contact-panel h3 { margin-bottom: 14px; color: var(--navy); font-size: 23px; }
.contact-panel p:last-child { margin-bottom: 0; }
.contact-panel a { color: var(--blue); font-weight: 750; }
.contact-panel dl { margin: 0 0 20px; }
.contact-panel dl div { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.contact-panel dd { margin: 0; font-weight: 750; }
.contact-person { font-size: 14px; }
.department-contacts { grid-column: 1 / -1; }
.department-contacts a { overflow-wrap: anywhere; }
.sponsor-group + .sponsor-group { margin-top: 30px; }
.sponsor-group h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; color: var(--navy); font-size: 23px; }
.sponsor-group h3 span { display: inline-grid; place-items: center; min-width: 29px; height: 29px; padding: 0 6px; border-radius: 50%; background: #eaf3fb; color: var(--blue); font-size: 12px; letter-spacing: 0; }
.sponsor-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.sponsor { display: grid; place-items: center; min-height: 105px; padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
a.sponsor:hover { border-color: #91c7ef; background: #f5faff; }
.sponsor img { width: 100%; max-height: 76px; object-fit: contain; }
.sponsor img[src$="detter_logo_weiss.png"] { padding: 10px; border-radius: 6px; background: var(--navy); }
.button { display: inline-flex; justify-content: space-between; gap: 15px; padding: 13px 17px; border-radius: 7px; background: var(--blue); color: #fff; text-decoration: none; font-size: 14px; font-weight: 850; }
.button:hover { background: var(--navy); }
.button.ghost { color: var(--blue); background: #eaf3fc; }
.button.ghost:hover { background: #d8eaf9; }
.footer { padding: 45px 0 26px; color: #d8e7f4; background: #061b36; font-size: 14px; }
.footer-main { display: flex; justify-content: space-between; gap: 35px; flex-wrap: wrap; }
.footer strong { display: block; margin-bottom: 9px; color: #fff; }
.footer p { margin: 4px 0; }
.footer a { color: #d8e7f4; text-underline-offset: 3px; }
.footer a:hover { color: #fff; }
.footer-links { display: flex; gap: 22px; align-items: start; flex-wrap: wrap; }
.footer-bottom { margin-top: 30px; padding-top: 17px; border-top: 1px solid #ffffff26; color: #a8bbcf; font-size: 12px; }
.legal-main { min-height: 70vh; padding: 56px 0 80px; background: #fff; }
.legal-content { max-width: 850px; }
.legal-content h1 { margin-bottom: 28px; }
.legal-content h2 { margin: 34px 0 12px; color: var(--navy); font-size: 25px; }
.legal-content p, .legal-content li { color: var(--ink); }
.legal-content a { color: var(--blue); text-underline-offset: 3px; }
.legal-content ul { padding-left: 22px; }
.legal-nav { margin-left: auto; color: var(--blue); font-weight: 800; text-decoration: none; }

@media (max-width: 1100px) {
  .sponsor-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .header-inner { min-height: 76px; }
  .menu-toggle { display: grid; place-content: center; gap: 5px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }
  .menu-toggle span { display: block; width: 21px; height: 2px; border-radius: 3px; background: var(--navy); }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 15px max(28px, calc((100vw - 1400px) / 2)); border-top: 1px solid var(--line); box-shadow: 0 12px 25px #0b315722; background: #fff; }
  .nav.is-open { display: grid; gap: 4px; }
  .nav a, .nav .nav-accent { display: block; padding: 12px 10px; border-radius: 6px; font-size: 15px; }
  .sport-card { min-height: 320px; }
  .sport-content { padding: 23px; }
  .sponsor-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .intro-inner, .section-head { display: block; }
  .intro-side { max-width: none; margin-top: 17px; text-align: left; }
  .sports-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sport-card, .sport-card:nth-child(n+4) { grid-column: span 1; }
  .service-strip { grid-template-columns: 1fr; }
  .section-head > p { margin-top: 13px; }
  .history-grid { grid-template-columns: 1fr; gap: 16px; }
  .club-aside { position: static; }
  .board-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sponsor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .frame-shell iframe { height: 700px; }
}
@media (max-width: 680px) {
  .sports-grid { grid-template-columns: 1fr; }
  .sport-card, .sport-card:nth-child(n+4) { min-height: 290px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { width: min(100% - 32px, 1400px); }
  .site-header { position: sticky; }
  [id] { scroll-margin-top: 90px; }
  .brand img { width: 52px; height: 52px; }
  .brand-name { font-size: 17px; }
  .intro { padding: 26px 0 20px; }
  .legal-content h1 { font-size: clamp(29px, 8vw, 38px); }
  .intro-side { padding: 7px 0 7px 12px; }
  .sports { padding-bottom: 52px; }
  .sports-grid { grid-template-columns: 1fr; gap: 14px; }
  .sport-card, .sport-card:nth-child(n+4) { min-height: 275px; }
  .sport-content { padding: 22px; }
  .sport-logo { height: 62px; }
  .sport-card h2 { font-size: 29px; }
  .sport-card p { margin-bottom: 12px; }
  .section { padding: 52px 0; }
  .frame-shell { padding: 5px; }
  .frame-shell iframe { height: 650px; }
  .yolawo-section .frame-shell iframe { height: 670px; }
  .yolawo-section .frame-shell iframe.yolawo-widget { min-height: 670px; }
  .embed-prompt { min-height: 220px; padding: 23px 18px; }
  .embed-prompt strong { font-size: 22px; }
  .download-grid, .download-items { grid-template-columns: 1fr; }
  .download-group.wide { grid-column: auto; }
  .download-group { padding: 20px; }
  .history-copy { padding: 22px 19px; }
  .board-grid { grid-template-columns: 1fr; }
  .board-person { min-height: 78px; }
  .contact-panel { padding: 22px; }
  .sponsor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sponsor { min-height: 95px; padding: 12px; }
  .footer-links { gap: 13px 19px; }
  .legal-main { padding-top: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
