/* Nebraska City Eagles — site styles */
:root {
  --navy: #13284B;
  --navy-deep: #0B1A33;
  --navy-line: #23396A;
  --navy-soft: #1A3260;
  --gold: #F2B632;
  --cream: #FFF6DE;
  --ink: #1B2333;
  --muted: #4A5468;
  --label: #8A5A00;
  --panel: #F3F5F9;
  --line: #DDE3EE;
  --line-strong: #9AA6BD;
  --on-navy: #DCE3F0;
  --on-navy-muted: #C9D3E6;
  --ok: #1E6B3A;
  --ok-bg: #E6F4EA;
  --err: #A1260F;
  --err-bg: #FDECE8;
  --radius: 10px;
  --display: "Oswald", "Arial Narrow", sans-serif;
  --body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: #fff;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:hover { color: var(--navy-deep); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section-sm { padding: 44px 0; }
.bg-panel { background: var(--panel); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy a:not(.btn) { color: #fff; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--display); text-transform: uppercase; margin: 0; line-height: 1.08; }
h1 { font-weight: 700; font-size: clamp(38px, 6vw, 60px); }
h2 { font-weight: 600; font-size: clamp(30px, 4vw, 40px); color: var(--navy); }
h3 { font-weight: 600; font-size: 26px; color: var(--navy); }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: #fff; }
p { margin: 0; }
.eyebrow {
  display: block;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--label);
  margin-bottom: 6px;
}
.bg-navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--gold); }
.lead { font-size: 19px; color: var(--muted); max-width: 640px; }
.bg-navy .lead, .hero .lead, .page-hero .lead { color: var(--on-navy); }
.page-hero a:not(.btn) { color: var(--gold); }
.bg-navy .card h3 { color: var(--navy); }
.bg-navy .card a:not(.btn) { color: var(--navy); }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 28px; }
.row-between { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: flex-end; justify-content: space-between; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 12px 22px;
  border-radius: 6px; border: 2px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #F6C55A; color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); color: #fff; }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-outline-navy { border-color: var(--navy); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-strong { font-weight: 700; }

/* Utility bar + header */
.utility { background: var(--navy-deep); color: var(--on-navy); font-size: 14px; }
.utility .wrap { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.utility a { color: #fff; font-weight: 600; }
.utility .left { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.announce { background: var(--gold); color: var(--navy); font-weight: 600; text-align: center; padding: 10px 16px; }
.announce a { color: var(--navy); font-weight: 700; }

.site-header { background: var(--navy); color: #fff; position: relative; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; gap: 14px; align-items: center; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand-mark {
  width: 52px; height: 52px; flex: none; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: 18px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: .02em; text-transform: uppercase; }
.brand-sub { font-size: 14px; color: var(--on-navy-muted); }

.nav-toggle {
  display: none; background: transparent; border: 2px solid rgba(255,255,255,.5); color: #fff;
  border-radius: 6px; min-height: 44px; padding: 8px 14px; font: inherit; font-weight: 700; cursor: pointer;
}
.main-nav { display: flex; flex-wrap: nowrap; align-items: center; gap: 4px 18px; font-weight: 600; font-size: 16px; white-space: nowrap; }
.main-nav a { color: #fff; text-decoration: none; padding: 10px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--gold); }
.main-nav a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }
.main-nav .btn { padding: 10px 18px; min-height: 44px; border-bottom: 0; }
.main-nav .btn:hover { color: var(--navy); }

@media (max-width: 1140px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--navy); border-top: 1px solid var(--navy-line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px;
    box-shadow: 0 12px 24px rgba(0,0,0,.2);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--navy-line); }
  .main-nav a[aria-current="page"] { border-bottom-color: var(--navy-line); }
  .main-nav .btn { margin-top: 14px; }
  .brand-name { font-size: 20px; }
  .brand-mark { width: 44px; height: 44px; font-size: 16px; }
}

/* Hero */
.hero { background: var(--navy); color: #fff; border-top: 1px solid var(--navy-line); }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero-side { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.hero-img { width: 100%; height: 300px; object-fit: cover; border-radius: var(--radius); }
.hero-placeholder {
  height: 280px; border-radius: var(--radius); background: var(--navy-soft);
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px;
  color: var(--on-navy-muted); font-family: var(--display); font-size: 30px; text-transform: uppercase; letter-spacing: .04em;
}
.page-hero { background: var(--navy); color: #fff; border-top: 1px solid var(--navy-line); }
.page-hero .wrap { padding-top: 48px; padding-bottom: 52px; display: flex; flex-direction: column; gap: 14px; }

.hours-card {
  background: #fff; color: var(--ink); border-radius: var(--radius); padding: 18px 20px;
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
}
.hours-card .icon-row { display: flex; gap: 12px; align-items: center; }
.hours-card strong { display: block; font-size: 17px; }
.hours-card span { font-size: 15px; color: var(--muted); }
.hours-card a { color: var(--navy) !important; font-weight: 700; font-size: 15px; }

/* Cards & grids */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-2 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.card-navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.card-navy h3 { color: #fff; }
.card-navy .card-meta { color: var(--gold); }
.card-navy p { color: var(--on-navy); }
.card-meta { font-size: 14px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.card .price { font-weight: 700; color: var(--navy); margin-top: auto; }
.card-navy .price { color: #fff; }
.card .card-cta { margin-top: auto; }
.card-img { width: calc(100% + 44px); margin: -22px -22px 6px; height: 160px; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.fact strong { font-family: var(--display); font-weight: 600; font-size: 30px; color: var(--navy); line-height: 1.15; }

.callout { background: var(--cream); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; align-self: flex-start; }
.split { display: flex; flex-wrap: wrap; gap: 40px; }
.split-main { flex: 999 1 560px; min-width: 0; }
.split-side { flex: 1 1 300px; min-width: 0; }

/* Event list */
.event-list { list-style: none; margin: 0; padding: 0; }
.event-row { display: flex; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.date-chip {
  width: 72px; flex: none; background: var(--navy); color: #fff; border-radius: 8px; padding: 8px 0;
  display: flex; flex-direction: column; align-items: center; line-height: 1.1;
}
.date-chip .mon { font-size: 13px; font-weight: 700; color: var(--gold); text-transform: uppercase; }
.date-chip .day { font-family: var(--display); font-size: 28px; font-weight: 600; }
.date-chip .dow { font-size: 12px; color: var(--on-navy-muted); }
.event-row strong { font-size: 19px; color: var(--navy); display: block; }
.event-row .meta { font-size: 15px; color: var(--muted); }
.tag { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 2px 8px; border-radius: 99px; background: var(--panel); color: var(--muted); margin-left: 6px; vertical-align: middle; }
.tag-members { background: #E7ECF7; color: var(--navy); }
.tag-private { background: #F1E7D2; color: var(--label); }

/* Month calendar */
.cal-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.cal-head h2 { font-size: 34px; }
.cal-nav { display: flex; gap: 8px; }
.cal-nav a { min-height: 44px; }
.calendar { width: 100%; border-collapse: collapse; table-layout: fixed; }
.calendar th { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 8px 6px; text-align: left; }
.calendar td { vertical-align: top; border: 1px solid var(--line); height: 112px; padding: 6px; font-size: 13px; }
.calendar td.out { background: #FAFBFC; color: #9AA3B5; }
.calendar td.today { background: var(--cream); }
.calendar .num { font-weight: 700; font-size: 14px; margin-bottom: 4px; display: block; }
.cal-item { display: block; border-radius: 4px; padding: 2px 6px; margin-bottom: 3px; line-height: 1.3; background: var(--panel); color: var(--ink); }
.cal-item.food { background: #FFF1CC; }
.cal-item.meeting { background: #E7ECF7; }
.cal-item.private { background: #F1E7D2; color: var(--label); }
.cal-item.closed { background: #EEE; color: var(--muted); text-decoration: line-through; }
.cal-item .t { font-weight: 700; }
.cal-mobile { display: none; }
@media (max-width: 760px) {
  .calendar { display: none; }
  .cal-mobile { display: block; }
}
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; color: var(--muted); margin-top: 14px; }
.legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; background: var(--panel); }
.legend .l-food::before { background: #FFF1CC; }
.legend .l-meeting::before { background: #E7ECF7; }
.legend .l-private::before { background: #F1E7D2; }

/* Menu */
.menu-block { border-top: 1px solid var(--line); padding: 32px 0; display: flex; flex-wrap: wrap; gap: 24px 40px; }
.menu-block:first-of-type { border-top: 0; }
.menu-head { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.menu-items { flex: 2 1 420px; min-width: 0; list-style: none; padding: 0; margin: 0; }
.menu-items li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.menu-items .name { font-weight: 700; }
.menu-items .desc { display: block; font-size: 15px; color: var(--muted); }
.menu-items .p { font-weight: 700; color: var(--navy); white-space: nowrap; }
.menu-img { width: 100%; height: 180px; object-fit: cover; border-radius: var(--radius); }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.form-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: 15px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=date],
.field input[type=time], .field input[type=number], .field select, .field textarea {
  font: inherit; padding: 11px 12px; border: 1px solid var(--line-strong); border-radius: 6px; background: #fff; width: 100%; min-height: 46px;
}
.field textarea { resize: vertical; }
.field fieldset { border: 0; padding: 0; margin: 0; }
.field fieldset > div { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 6px; }
.field fieldset > div label { font-weight: 400; display: flex; gap: 8px; align-items: center; min-height: 36px; cursor: pointer; }
.field fieldset input[type=radio] { width: 20px; height: 20px; margin: 0; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 400 !important; }
.check input { width: 20px; height: 20px; }
.errorlist { color: var(--err); font-size: 14px; margin: 0; padding: 0; list-style: none; }
.form-errors { background: var(--err-bg); color: var(--err); border-radius: 6px; padding: 12px 14px; font-weight: 600; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert-ok { background: var(--ok-bg); color: var(--ok); border-radius: 8px; padding: 14px 16px; font-weight: 600; }

/* Tables */
.hours-table { border-collapse: collapse; font-size: 16px; width: 100%; max-width: 380px; }
.hours-table td { padding: 7px 24px 7px 0; border-bottom: 1px solid var(--line); }
.hours-table td + td { font-weight: 600; padding-right: 0; }
.bg-navy .hours-table td { border-color: var(--navy-line); }

.officers { display: grid; gap: 0 32px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin: 0; }
.officers div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.officers dt { color: var(--muted); }
.officers dd { margin: 0; font-weight: 600; text-align: right; }
.rules { margin: 0; padding-left: 24px; display: flex; flex-direction: column; gap: 10px; }

/* Gallery */
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.gallery img { width: 100%; height: 220px; object-fit: cover; transition: transform .2s; }
.gallery a:hover img { transform: scale(1.03); }
.gallery figcaption { padding: 8px 10px; font-size: 14px; color: var(--muted); }
.gallery figure { margin: 0; }

.map { width: 100%; height: 320px; border: 0; border-radius: var(--radius); background: var(--panel); }

/* Footer */
.site-footer { background: var(--navy-deep); color: var(--on-navy-muted); font-size: 15px; }
.site-footer .wrap { padding-top: 40px; padding-bottom: 32px; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.site-footer h3 { font-size: 18px; color: #fff; margin-bottom: 10px; }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.footer-bottom { border-top: 1px solid var(--navy-line); }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 16px; padding-bottom: 20px; grid-template-columns: none; font-size: 14px; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 48px 0; }
  .hero .wrap { padding-top: 40px; padding-bottom: 48px; }
  .hero-img, .hero-placeholder { height: 220px; }
  .form-card { padding: 20px; }
  .utility .addr { display: none; }
}

.preview-ribbon { background: #2B2B2B; color: #fff; text-align: center; font-size: 14px; font-weight: 600; padding: 6px 12px; letter-spacing: .02em; }

/* Hall availability calendar */
.avail-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.avail-head h3 { font-size: 26px; }
.btn-cal { min-height: 44px; padding: 8px 14px; }
.avail-months { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.avail { display: flex; flex-direction: column; gap: 5px; }
.avail-title { font-family: var(--display); font-weight: 600; font-size: 22px; text-transform: uppercase; color: var(--navy); margin-bottom: 4px; }
.avail-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.avail-head { justify-content: flex-end; }
.dow-rest { }
@media (max-width: 1100px) { .dow-rest { display: none; } }
.avail-dow span { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); text-align: center; }
.avail-day { position: relative; min-height: 52px; border-radius: 8px; padding: 6px 8px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.avail-day .n { font-weight: 700; font-size: 15px; }
.avail-day .s { font-size: 13px; font-weight: 700; color: var(--ok); }
.avail-day.out { border: 0; background: transparent; }
.avail-day.past { background: #F6F7F9; color: #9AA3B5; border-color: #EEF0F4; }
.avail-day.open { background: var(--ok-bg); border-color: #BFE0C9; }
.avail-day.open:hover { border-color: var(--ok); box-shadow: 0 0 0 2px var(--ok) inset; color: var(--ink); }
.avail-day.booked { background: #FBEFE2; border-color: #F0D3B2; }
.avail-day.booked .n { color: var(--label); }
.avail-day .tags { display: flex; gap: 4px; flex-wrap: wrap; }
.t-up, .t-down { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 5px; font-style: normal; font-size: 12px; font-weight: 700; color: #fff; }
.t-up { background: var(--navy); }
.t-down { background: #9A5B0B; }
.avail-legend { margin-top: 4px; }
.avail-legend span::before { display: none; }
.avail-legend .lg-open::before { display: inline-block; content: ""; width: 14px; height: 14px; border-radius: 4px; background: var(--ok-bg); border: 1px solid #BFE0C9; margin-right: 6px; vertical-align: -2px; }
.avail-legend i { margin-right: 4px; vertical-align: -1px; }
@media (max-width: 600px) {
  .avail-row { gap: 4px; }
  .avail-day { min-height: 54px; padding: 4px 5px; }
  .avail-day .n { font-size: 14px; }
  .t-up, .t-down { width: 18px; height: 18px; font-size: 11px; }
}

/* Rental agreement */
.agreement { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.agreement-terms { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; max-height: 70vh; overflow-y: auto; }
.agreement-terms h2 { font-size: 26px; }
.agreement-terms p { margin: 0 0 12px; }
.agreement-terms ul { margin: 0 0 14px; padding-left: 22px; display: flex; flex-direction: column; gap: 7px; }
.sign-box { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 6px; }
.sig-input { font-family: "Brush Script MT", "Segoe Script", cursive !important; font-size: 26px !important; color: var(--navy); }
.agreement-cta { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 24px; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.agreement-cta h3 { color: #fff; font-size: 24px; }
.agreement-cta p { color: var(--on-navy); }
@media (max-width: 600px) { .agreement-terms { padding: 18px; max-height: 60vh; } }

/* Membership application */
.form-h { font-size: 26px; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 6px; }
.app-form .field.full:first-of-type .form-h { border-top: 0; padding-top: 0; }
.cert-box { background: var(--panel); border-radius: 8px; padding: 14px 16px; font-size: 15px; line-height: 1.55; }
