/* Blue Crab Rodeo — site styles */
:root {
  --navy: #0C2340;
  --deep: #071527;
  --cream: #F7F0E1;
  --red: #C4212B;
  --blue: #1D57B8;
  --muted: #4A5468;
  --line: #DDD2BA;
  --soft: #C9D3E4;
  --display: 'Anton', 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', 'Helvetica Neue', Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--body); color: var(--navy); background: #fff; font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type */
.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: 0.95; letter-spacing: 0.01em; margin: 0; }
.h1 { font-size: clamp(44px, 7vw, 64px); }
.h2 { font-size: clamp(36px, 5vw, 52px); }
.h3 { font-size: clamp(26px, 3vw, 34px); }
.kicker { display: flex; align-items: center; gap: 10px; font-family: var(--cond); font-weight: 700; font-size: 15px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--red); margin: 0 0 14px; }
.kicker::before { content: ""; width: 12px; height: 12px; background: currentColor; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.kicker.light { color: var(--cream); }
.kicker.light::before { background: var(--red); }
.lead { font-size: 19px; color: var(--muted); max-width: 62ch; margin: 16px 0 0; }
.on-dark .lead, .on-dark p { color: #D5DEEE; }
.on-dark .display { color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 30px; font-family: var(--cond); font-weight: 700; font-size: 17px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-red { background: var(--red); border-color: var(--red); color: #fff; }
.btn-red:hover { background: #A81B24; border-color: #A81B24; color: #fff; }
.btn-navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--deep); color: #fff; }
.btn-light { background: transparent; border-color: #fff; color: #fff; }
.btn-light:hover { background: #fff; color: var(--navy); }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.text-link { font-family: var(--cond); font-weight: 700; font-size: 17px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; display: inline-block; padding: 10px 0; }

/* Photo placeholders — swap for <img> when you have photos */
.ph { background: repeating-linear-gradient(135deg, #12294A 0 16px, #0E2340 16px 32px); display: flex; align-items: center; justify-content: center; color: #8FA6C8; font-family: var(--cond); font-weight: 600; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; text-align: center; padding: 12px; }
.ph.light { background: repeating-linear-gradient(135deg, #E8DEC8 0 16px, #F1EAD9 16px 32px); color: #6B6350; }
.ph img { width: 100%; height: 100%; object-fit: cover; }

/* Countdown */
.countdown { background: var(--deep); color: var(--cream); border-bottom: 1px solid #16304F; }
.countdown .wrap { min-height: 76px; display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.countdown .label, .countdown .when { font-family: var(--cond); font-weight: 700; font-size: 14px; letter-spacing: 0.22em; text-transform: uppercase; }
.countdown .when { color: var(--red); }
.clock { display: flex; align-items: center; gap: 10px; }
.clock div { display: flex; flex-direction: column; align-items: center; min-width: 50px; }
.clock b { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1; color: #fff; }
.clock small { font-family: var(--cond); font-weight: 600; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: #8FA6C8; }
.clock i { font-style: normal; font-family: var(--display); color: var(--red); font-size: 22px; line-height: 1; }

/* Header */
.site-header { background: #fff; border-bottom: 4px solid var(--red); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1360px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--navy); }
.brand img { width: 84px; height: 84px; object-fit: contain; }
.brand span { font-family: var(--display); font-size: 21px; line-height: 0.95; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-family: var(--cond); font-weight: 700; font-size: 17px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--navy); padding: 12px 0; border-bottom: 3px solid transparent; }
.nav a[aria-current="page"] { border-bottom-color: var(--red); }
.nav a:hover { color: var(--red); }
.nav a.nav-cta { background: var(--red); color: #fff; padding: 0 26px; min-height: 50px; display: inline-flex; align-items: center; border: 0; }
.nav a.nav-cta:hover { background: #A81B24; color: #fff; }
.nav-toggle { display: none; background: none; border: 2px solid var(--navy); width: 50px; height: 50px; align-items: center; justify-content: center; cursor: pointer; color: var(--navy); }

/* Hero (home) */
.hero { background: repeating-linear-gradient(135deg, #12294A 0 18px, #0B1F3C 18px 36px); position: relative; min-height: 640px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 80px 0; overflow: hidden; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(7, 21, 39, 0.55); }
.hero .wrap { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.hero .display { color: #fff; font-size: clamp(56px, 9vw, 104px); max-width: 1040px; }
.hero p { color: #D5DEEE; font-size: 22px; margin: 18px 0 0; }
.hero .btn-row { justify-content: center; }
.hero-note { position: absolute; top: 20px; right: 24px; z-index: 1; font-family: var(--cond); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: #8FA6C8; }

/* Quick links */
.quick { background: var(--cream); border-bottom: 1px solid var(--line); }
.quick .wrap { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; max-width: 1440px; }
.quick a { display: flex; flex-direction: column; gap: 6px; padding: 26px 28px; background: #fff; color: var(--navy); text-decoration: none; border-right: 1px solid var(--line); }
.quick a:hover { background: var(--cream); }
.quick strong { font-family: var(--display); font-weight: 400; font-size: 26px; text-transform: uppercase; line-height: 1; }
.quick span { font-family: var(--cond); font-weight: 600; font-size: 16px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); }

/* Sections */
.section { padding: 84px 0; }
.section.cream { background: var(--cream); }
.section.navy { background: var(--navy); }
.section.red { background: var(--red); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tile { position: relative; min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; text-decoration: none; border-bottom: 6px solid var(--red); background: repeating-linear-gradient(135deg, #12294A 0 16px, #0E2340 16px 32px); overflow: hidden; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,21,39,.85), rgba(7,21,39,0) 60%); }
.tile > * { position: relative; z-index: 1; }
.tile .display { color: #fff; font-size: 34px; }
.tile p { color: var(--soft); margin: 8px 0 0; font-size: 16px; line-height: 1.5; }
.tile .ph-note { position: absolute; top: 18px; right: 20px; font-family: var(--cond); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: #8FA6C8; }

.split { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; }
.split.even { grid-template-columns: 1fr 1fr; }
.split.form-split { grid-template-columns: 5fr 7fr; align-items: start; }

.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.merch-item { text-decoration: none; color: var(--navy); display: flex; flex-direction: column; gap: 12px; }
.merch-item .ph { aspect-ratio: 1 / 1; }
.merch-item span { font-family: var(--cond); font-weight: 700; font-size: 19px; letter-spacing: 0.12em; text-transform: uppercase; }

.sponsors { text-align: center; padding: 52px 0; background: var(--cream); }
.sponsors h2 { font-family: var(--cond); font-weight: 700; font-size: 15px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin: 0 0 24px; }
.sponsors .grid5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.sponsors .ph { height: 88px; }

/* Signup band */
.signup .wrap { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.signup p { color: #fff; margin: 10px 0 0; }
.signup label { display: block; font-family: var(--cond); font-weight: 700; font-size: 15px; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; margin-bottom: 8px; }
.inline-form { display: flex; gap: 12px; flex-wrap: wrap; }
.inline-form input { width: 340px; max-width: 100%; height: 54px; padding: 0 16px; border: 2px solid #fff; font: inherit; color: var(--navy); }

/* Page banner */
.banner { background: repeating-linear-gradient(135deg, #12294A 0 16px, #0E2340 16px 32px); border-bottom: 4px solid var(--red); padding: 72px 0; position: relative; overflow: hidden; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.banner .wrap { position: relative; }
.banner .display { color: #fff; }
.banner p { color: var(--soft); font-size: 19px; max-width: 62ch; margin: 16px 0 0; }

/* Coming soon */
.coming { background: var(--cream); padding: 96px 0; text-align: center; }
.coming .stars { display: flex; justify-content: center; gap: 12px; margin-bottom: 24px; color: var(--red); font-size: 22px; }
.coming .display { font-size: clamp(56px, 9vw, 88px); }
.coming p { color: var(--muted); font-size: 20px; max-width: 640px; margin: 22px auto 0; }
.coming form { margin-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.coming label { font-family: var(--cond); font-weight: 700; font-size: 15px; letter-spacing: 0.16em; text-transform: uppercase; }
.coming .inline-form { justify-content: center; }
.coming .inline-form input { border-color: var(--navy); }

/* Cards */
.card { background: #fff; border: 2px solid var(--navy); border-top: 6px solid var(--red); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.card p { margin: 0; color: var(--muted); }
.card-head { display: flex; align-items: center; gap: 16px; }
.icon { width: 52px; height: 52px; background: var(--navy); color: var(--cream); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.stars-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.stars-list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.stars-list li::before { content: ""; flex: 0 0 12px; height: 12px; margin-top: 6px; background: var(--red); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.plain { background: #fff; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.plain p { margin: 0; color: var(--muted); }

/* Forms */
.form-box { background: #fff; border: 2px solid var(--navy); padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .form-box legend { font-family: var(--cond); font-weight: 700; font-size: 15px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy); }
.field input, .field textarea { min-height: 52px; padding: 12px 16px; border: 2px solid #8E97AA; font: inherit; color: var(--navy); background: #fff; }
.field input:focus, .field textarea:focus { border-color: var(--navy); }
.form-box fieldset { border: 0; margin: 0; padding: 0; }
.checks { display: grid; grid-template-columns: 1fr 1fr; }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.check input { width: 22px; height: 22px; accent-color: var(--red); }
.hidden { display: none; }

/* Visitor info */
.fact { background: #fff; border: 2px solid var(--navy); border-top: 6px solid var(--red); padding: 26px; display: flex; flex-direction: column; gap: 6px; }
.fact small { font-family: var(--cond); font-weight: 700; font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); }
.fact strong { font-family: var(--display); font-weight: 400; font-size: 26px; text-transform: uppercase; line-height: 1.05; }
.fact span { color: var(--muted); font-size: 16px; }
.map { min-height: 420px; }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }
.note-box { background: var(--cream); padding: 18px 22px; margin: 18px 0; }
.note-box b { display: block; font-family: var(--cond); letter-spacing: 0.16em; text-transform: uppercase; font-size: 15px; }
.faq { border-top: 3px solid var(--navy); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; min-height: 70px; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 16px 4px; font-family: var(--cond); font-weight: 700; font-size: 21px; letter-spacing: 0.04em; text-transform: uppercase; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); color: var(--red); font-size: 26px; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 4px 22px; color: var(--muted); font-size: 18px; max-width: 70ch; }
.faq-grid { display: grid; grid-template-columns: 4fr 8fr; gap: 56px; }

/* Tickets */
.tier { background: #fff; border: 2px solid var(--navy); border-top: 6px solid var(--red); padding: 32px 28px 26px; display: flex; flex-direction: column; gap: 16px; }
.tier .price { display: flex; align-items: baseline; gap: 8px; }
.tier .price b { font-family: var(--display); font-weight: 400; font-size: 44px; line-height: 1; }
.tier .price span { color: var(--muted); font-size: 15px; }
.tier p { margin: 0; color: var(--muted); font-size: 16px; }
.tier .stars-list { flex-grow: 1; }
.qty { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 16px; }
.qty > span { font-family: var(--cond); font-weight: 700; font-size: 15px; letter-spacing: 0.16em; text-transform: uppercase; }
.stepper { display: flex; align-items: center; gap: 6px; }
.stepper button { width: 44px; height: 44px; border: 2px solid var(--navy); background: #fff; color: var(--navy); font-size: 22px; font-weight: 700; cursor: pointer; }
.stepper button.plus { background: var(--navy); color: #fff; }
.stepper output { min-width: 36px; text-align: center; font-family: var(--display); font-size: 24px; }
.order-bar { background: var(--navy); color: #fff; padding: 26px 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 32px; }
.order-bar small { display: block; font-family: var(--cond); font-weight: 700; font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; color: #8FA6C8; }
.order-bar strong { font-family: var(--display); font-weight: 400; font-size: 34px; text-transform: uppercase; }
.order-bar span { color: var(--soft); }

/* About */
.values > div { border-top: 5px solid var(--red); padding-top: 20px; }
.values p { color: #D5DEEE; margin: 12px 0 0; }
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.photo-grid .wide { grid-column: span 2; min-height: 280px; }
.photo-grid .ph { min-height: 200px; }

/* Footer */
.site-footer { background: var(--deep); color: var(--cream); border-top: 4px solid var(--red); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 48px; }
.footer-logo { width: 104px; height: 104px; background: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.footer-logo img { width: 96px; height: 96px; object-fit: contain; }
.site-footer h2 { font-family: var(--cond); font-weight: 700; font-size: 15px; letter-spacing: 0.2em; text-transform: uppercase; color: #8FA6C8; margin: 0 0 12px; }
.site-footer p { color: var(--soft); font-size: 16px; margin: 0; max-width: 290px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.social { display: flex; gap: 10px; margin-bottom: 12px; }
.social a { width: 44px; height: 44px; border: 1.5px solid #2B4570; display: flex; align-items: center; justify-content: center; }
.footer-bottom { border-top: 1px solid #1B3557; margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: #8FA6C8; }

/* Responsive */
@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; border-bottom: 4px solid var(--red); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom: 1px solid var(--line); color: var(--red); }
  .nav a.nav-cta { justify-content: center; margin-top: 14px; }
  .site-header { position: sticky; }
  .site-header .wrap { position: relative; }
  .tiles, .grid4 { grid-template-columns: repeat(2, 1fr); }
  .quick .wrap { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .split, .split.even, .split.form-split, .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid3, .grid2 { grid-template-columns: 1fr; }
  .sponsors .grid5 { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 64px 0; }
  .hero { min-height: 520px; }
}
@media (max-width: 560px) {
  .tiles, .grid4, .quick .wrap, .footer-grid { grid-template-columns: 1fr; }
  .sponsors .grid5 { grid-template-columns: repeat(2, 1fr); }
  .countdown .label { display: none; }
  .brand img { width: 64px; height: 64px; }
  .site-header .wrap { min-height: 84px; }
  .checks { grid-template-columns: 1fr; }
  .form-box { padding: 24px; }
  .inline-form input, .inline-form .btn { width: 100%; }
}
