/* Gold Beach Youth Wrestling — 2026–27 site refresh
   Shared header/footer/interaction styles. Section layout and one-off
   values are set inline per page to match the design handoff. */

html { scroll-behavior: smooth; }
body { margin: 0; background: #0B2239; color: #F6F3EC; font-family: "Source Serif 4", Georgia, serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
* { box-sizing: border-box; }
a { color: #DDB74A; text-decoration: none; }
a:hover { color: #F0D080; }
h1, h2, h3, h4 { font-family: Oswald, "Arial Narrow", sans-serif; font-weight: 600; margin: 0; letter-spacing: 0.02em; }
p { text-wrap: pretty; }

@keyframes riseIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: #F6F3EC; border-bottom: 1px solid rgba(11,34,57,0.16); box-shadow: 0 6px 22px rgba(4,14,24,0.35); }
.site-header .header-inner { max-width: 1180px; margin: 0 auto; padding: 14px clamp(16px, 4vw, 28px); display: flex; align-items: center; gap: 16px; flex-wrap: nowrap; transition: padding 220ms ease; }
.site-header.is-scrolled .header-inner { padding: 8px clamp(16px, 4vw, 28px); }

.logo-link { display: flex; align-items: center; gap: 14px; flex: 1 1 auto; min-width: 0; }
.logo-link:hover { opacity: 0.85; }
.logo-link img { height: 72px; width: auto; flex: 0 0 auto; display: block; transition: height 220ms ease; }
.site-header.is-scrolled .logo-link img { height: 44px; }

.logo-text { display: grid; gap: 3px; min-width: 0; }
.logo-wordmark { display: block; font-family: Oswald, sans-serif; font-weight: 600; font-size: 17px; line-height: 1.1; letter-spacing: 0.09em; text-transform: uppercase; color: #0B2239; white-space: nowrap; }
.logo-tagline { display: block; font-family: Oswald, sans-serif; font-weight: 500; font-size: 11px; line-height: 1.1; letter-spacing: 0.2em; text-transform: uppercase; color: #96740C; white-space: nowrap; transition: font-size 220ms ease; }
.site-header.is-scrolled .logo-tagline { font-size: 9.5px; }

.nav-desktop { margin-left: auto; display: flex; align-items: center; gap: clamp(13px, 2vw, 22px); font-family: Oswald, sans-serif; font-size: 13.5px; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }
.nav-desktop a.nav-link { color: #0B2239; }
.nav-desktop a.nav-link:hover { color: #96740C; }
.nav-desktop a.nav-link.is-active { color: #96740C; border-bottom: 2px solid #C9A227; padding-bottom: 3px; }
.nav-register { background: #C9A227; color: #071726; padding: 12px 18px; font-weight: 600; letter-spacing: 0.1em; min-height: 44px; display: flex; align-items: center; }
.nav-register:hover { background: #E3BE5A; color: #071726; }

.nav-toggle { display: none; margin-left: auto; flex: 0 0 auto; align-items: center; gap: 9px; background: transparent; border: 1px solid rgba(11,34,57,0.35); color: #0B2239; padding: 0; width: 46px; height: 44px; justify-content: center; cursor: pointer; }
.nav-toggle-bars { display: grid; gap: 4px; }
.nav-toggle-bars span { display: block; width: 18px; height: 2px; background: #0B2239; }

.mobile-menu { display: none; border-top: 1px solid rgba(11,34,57,0.15); background: #EFEADF; padding: 8px clamp(16px, 4vw, 28px) 20px; grid-template-columns: 1fr; gap: 2px; font-family: Oswald, sans-serif; font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; }
.mobile-menu.is-open { display: grid; }
.mobile-menu a { color: #0B2239; padding: 15px 2px; border-bottom: 1px solid rgba(11,34,57,0.12); }
.mobile-menu a.is-active { color: #96740C; }
.mobile-menu a.mobile-register { margin-top: 14px; background: #C9A227; color: #071726; font-weight: 600; letter-spacing: 0.14em; text-align: center; padding: 16px 20px; border-bottom: none; }

@media (min-width: 1040px) {
  .nav-toggle, .mobile-menu { display: none !important; }
}
@media (max-width: 1039px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .logo-link img, .site-header.is-scrolled .logo-link img { height: 44px; }
  .logo-wordmark { font-size: 13px; letter-spacing: 0.05em; white-space: normal; }
  .logo-tagline, .site-header.is-scrolled .logo-tagline { font-size: 9px; letter-spacing: 0.13em; }
}

/* ---- Footer ---- */
.site-footer { background: #071726; border-top: 1px solid rgba(201,162,39,0.28); padding: clamp(34px, 5vw, 48px) clamp(18px, 5vw, 28px); }
.site-footer .footer-inner { max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 28px; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { height: 100px; width: auto; }
.footer-brand-text { font-family: Oswald, sans-serif; font-size: 12.5px; line-height: 1.7; letter-spacing: 0.14em; text-transform: uppercase; color: #8C97A6; }
.footer-brand-text span { color: #6F7A88; }
.footer-links { display: grid; gap: 8px; font-family: Oswald, sans-serif; font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-links a { color: #8C97A6; }
.footer-links a:hover { color: #C9A227; }

/* ---- Buttons ---- */
.btn { display: inline-block; font-family: Oswald, sans-serif; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; padding: 16px 30px; border: none; cursor: pointer; }
.btn-gold { background: #C9A227; color: #071726; }
.btn-gold:hover { background: #E3BE5A; color: #071726; }
.btn-outline { border: 1px solid rgba(246,243,236,0.35); color: #F6F3EC; background: transparent; }
.btn-outline:hover { border-color: #C9A227; color: #C9A227; }
.btn-outline-muted { border: 1px solid rgba(246,243,236,0.2); color: #A8B2C0; background: transparent; }
.btn-outline-muted:hover { border-color: #C9A227; color: #C9A227; }
.btn-cream-primary { background: #0B2239; color: #F6D77A; }
.btn-cream-primary:hover { background: #123553; color: #F6D77A; }
.btn-cream-outline { border: 1px solid rgba(11,34,57,0.3); color: #0B2239; background: transparent; }
.btn-cream-outline:hover { border-color: #96740C; color: #96740C; }
.link-underline { font-family: Oswald, sans-serif; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; border-bottom: 1px solid rgba(201,162,39,0.5); padding-bottom: 4px; }

.wrapup-banner { display: block; background: #0F2A44; border-bottom: 1px solid rgba(201,162,39,0.25); }
.wrapup-banner:hover { background: #143252; }

/* ---- Schedule: filter tabs, skeleton, event rows ---- */
.filter-tab { background: transparent; border: 1px solid rgba(246,243,236,0.3); color: #F6F3EC; font-family: Oswald, sans-serif; font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; padding: 11px 20px; cursor: pointer; }
.filter-tab:hover { border-color: #C9A227; color: #C9A227; }
.filter-tab.active-tab { background: #0B2239; border-color: #0B2239; color: #C9A227; }

@keyframes shimmer { 0% { background-position: -800px 0; } 100% { background-position: 800px 0; } }
.skeleton { background: linear-gradient(90deg, rgba(246,243,236,0.06) 25%, rgba(246,243,236,0.13) 50%, rgba(246,243,236,0.06) 75%); background-size: 800px 100%; animation: shimmer 1.4s infinite; }

.event-month { font-family: Oswald, sans-serif; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: #C9A227; border-bottom: 1px solid rgba(201,162,39,0.35); padding-bottom: 8px; margin: 34px 0 6px; }
.event-month:first-child { margin-top: 0; }
.event-row { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; padding: 18px 0; border-bottom: 1px solid rgba(246,243,236,0.09); }
.event-date { flex: 0 0 96px; font-family: Oswald, sans-serif; font-size: 15px; color: #A8B2C0; }
.event-date .event-time { display: block; font-size: 13px; color: #6F7A88; }
.event-title-wrap { flex: 1 1 220px; min-width: 0; }
.event-title { font-size: 17.5px; color: #F6F3EC; }
.event-title.is-canceled { text-decoration: line-through; color: #6F7A88; }
.event-canceled-badge { margin-left: 8px; font-family: Oswald, sans-serif; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #E3897A; }
.event-location { font-size: 15px; color: #8C97A6; }
.event-desc { font-size: 14px; color: #8C97A6; margin-top: 3px; }
.event-meta { flex: 0 1 auto; margin-left: auto; display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: flex-end; }
.event-type-badge { background: rgba(201,162,39,0.15); color: #DDB74A; font-family: Oswald, sans-serif; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; white-space: nowrap; }
.event-links a { font-family: Oswald, sans-serif; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; margin-left: 12px; }
.event-links a:first-child { margin-left: 0; }

/* ---- Forms (scholarship request) ---- */
[hidden] { display: none !important; }
.form-group { border: 0; margin: 0 0 30px; padding: 0; min-width: 0; }
.form-group legend { font-family: Oswald, sans-serif; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: #C9A227; padding: 0; margin-bottom: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 16px; }
.form-wide { grid-column: 1 / -1; }
.form-field label { display: block; font-family: Oswald, sans-serif; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: #C9CEDA; margin-bottom: 7px; }
.form-field input, .form-field select, .form-field textarea { width: 100%; background: #071726; color: #F6F3EC; border: 1px solid rgba(246,243,236,0.25); border-radius: 0; padding: 12px 14px; min-height: 46px; font-family: "Source Serif 4", Georgia, serif; font-size: 17px; line-height: 1.4; }
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 2px solid #C9A227; outline-offset: 1px; border-color: #C9A227; }
.form-field input:user-invalid, .form-field select:user-invalid { border-color: #E3897A; }
.form-field input[type="date"] { color-scheme: dark; }
.req { color: #E3897A; }
.form-hint { font-size: 15px; line-height: 1.55; color: #8C97A6; margin: 0 0 14px; }
.check-card { display: flex; gap: 14px; align-items: flex-start; background: #071726; border: 1px solid rgba(246,243,236,0.18); padding: 16px 18px; margin-bottom: 12px; cursor: pointer; }
.check-card:hover { border-color: #C9A227; }
.check-card:has(input:checked) { border-color: #C9A227; background: #0F2A44; }
.check-card input { flex: 0 0 22px; width: 22px; height: 22px; margin: 2px 0 0; accent-color: #C9A227; }
.check-card strong { display: block; font-family: Oswald, sans-serif; font-weight: 500; font-size: 17px; letter-spacing: 0.02em; color: #F6F3EC; }
.check-card small { display: block; margin-top: 4px; font-size: 15px; line-height: 1.5; color: #A8B2C0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 16px 18px; margin-bottom: 26px; font-size: 16px; line-height: 1.55; }
.form-status-error { border: 1px solid #E3897A; background: rgba(227,137,122,0.1); color: #F6D5CF; }
.form-status-success { border: 1px solid #C9A227; background: #0F2A44; padding: clamp(22px, 3vw, 30px); margin-bottom: 0; }
button.btn:disabled { opacity: 0.6; cursor: wait; }
.btn-small { font-size: 12.5px; padding: 12px 20px; margin-top: 16px; }
.wrestler-row { display: flex; gap: 10px; align-items: flex-end; }
.wrestler-row .form-field { flex: 1 1 auto; min-width: 0; }
.wrestler-remove { flex: 0 0 auto; min-height: 46px; padding: 0 16px; background: transparent; border: 1px solid rgba(246,243,236,0.25); color: #C9CEDA; font-family: Oswald, sans-serif; font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
.wrestler-remove:hover { border-color: #E3897A; color: #E3897A; }

/* Season sponsors by tier (index.html) */
.sponsor-tier { max-width: 760px; margin: clamp(32px, 4.5vw, 44px) auto 0; text-align: center; }
.sponsor-tier-label { font-family: Oswald, sans-serif; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: #96740C; margin-bottom: 18px; }
.logo-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(16px, 2.4vw, 22px); }
.logo-card { min-width: 0; overflow: hidden; flex: 0 1 220px; border: 1px solid rgba(11,34,57,0.14); background: #F6F3EC; padding: 22px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; justify-items: center; }
.logo-card img { height: 132px; width: 100%; max-width: 100%; min-width: 0; object-fit: contain; }
.logo-card-name { font-family: Oswald, sans-serif; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: #0B2239; text-align: center; }
.name-roll-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; font-family: Oswald, sans-serif; text-transform: uppercase; color: #0B2239; }
.logo-grid + .name-roll-list { margin-top: 26px; }
.name-roll-list li + li::before { content: "\2022"; color: #C9A227; margin: 0 0.6em; }
.name-roll-gold { flex-direction: column; align-items: center; font-size: clamp(24px, 4.4vw, 30px); letter-spacing: 0.08em; }
.name-roll-gold li + li::before { content: none; }
.name-roll-silver { font-size: clamp(19px, 3.4vw, 22px); letter-spacing: 0.08em; }
.name-roll-bronze { font-size: 16px; letter-spacing: 0.1em; }
@media (max-width: 600px) {
    .logo-card { flex: 0 1 calc(50% - 8px); min-width: 0; padding: 14px; gap: 12px; }
    .logo-card img { height: 96px; }
    .logo-card-name { font-size: 11.5px; letter-spacing: 0.08em; }
    .name-roll-silver { flex-direction: column; align-items: center; }
    .name-roll-silver li + li::before { content: none; }
}
