/* ==========================================================================
   Northern Nevada ODP
   Palette + type inherited from the GBYSL 2026 redesign system
   (charcoal base, ODP crimson accent, gold + blue secondaries).
   Mobile-first: base rules are the phone layout; media queries scale up.
   ========================================================================== */

:root {
  --bg-0:     #0B0E1A;
  --bg-1:     #10131F;
  --bg-2:     #181C2E;
  --bg-3:     #1E2438;
  --blue:     #2070E0;
  --gold:     #F0B800;
  --red:      #C41E3A;
  --red-2:    #9B1B30;
  --red-hi:   #EF4444;
  --white:    #FFFFFF;
  --text:     #DDE2F2;
  --muted:    #6E788F;
  --border:   rgba(255, 255, 255, 0.07);
  --border-2: rgba(255, 255, 255, 0.12);
  --shadow:   0 4px 24px rgba(0, 0, 0, 0.35);

  --font-h: 'Outfit', system-ui, sans-serif;
  --font-b: 'Inter', system-ui, sans-serif;

  --radius:    10px;
  --radius-lg: 16px;
  --pad: 20px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg-1);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }

a { color: var(--red-hi); text-decoration: none; }
a:hover { color: var(--gold); }

h1, h2, h3 { font-family: var(--font-h); margin: 0; line-height: 1.1; }

p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
  background: var(--gold);
  color: var(--bg-0);
  padding: 12px 20px;
  font-weight: 700;
}
.skip-link:focus { left: 0; top: 0; color: var(--bg-0); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.kicker {
  font-family: var(--font-b);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 8px;
  font-family: var(--font-b);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-hi); color: var(--white); }
.btn-ghost { border: 1px solid var(--border-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn-block { display: flex; width: 100%; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px var(--pad);
  background: rgba(11, 14, 26, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.brand { display: flex; align-items: center; gap: 10px; color: var(--white); }
.brand:hover { color: var(--white); }
.brand picture { display: flex; flex-shrink: 0; }
.brand img { width: 46px; flex-shrink: 0; }
.brand-name {
  display: block;
  font-family: var(--font-h);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.brand-sub {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.header-cta { flex-shrink: 0; }

/* Very narrow phones: drop the sub-label so the Register button still fits */
@media (max-width: 520px) {
  .brand-sub { display: none; }
  .brand-name { font-size: 15px; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  padding: 44px var(--pad) 40px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,14,26,0.80) 0%, rgba(11,14,26,0.90) 55%, rgba(11,14,26,0.97) 100%);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.hero h1 {
  font-size: clamp(38px, 11vw, 46px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--white);
}
.hero h1 em { font-style: normal; color: var(--red-hi); }

.hero-lede {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text);
  max-width: 40ch;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 4px;
}

.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.hero-note svg { flex-shrink: 0; margin-top: 3px; }
.hero-note strong { color: var(--text); font-weight: 600; }

/* ---------- Sections ---------- */

.section { padding: 48px var(--pad); }

/* Keep anchor jumps clear of the sticky header (67px mobile, 79px desktop) */
[id] { scroll-margin-top: 92px; }
.section-alt { background: var(--bg-0); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { margin-bottom: 26px; }
.section-head .kicker { display: block; margin-bottom: 10px; }
.section h2 {
  font-size: clamp(28px, 8vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}
.section h2 em { font-style: normal; color: var(--red-hi); }
.section-lede {
  margin-top: 12px;
  font-size: 15px;
  color: var(--muted);
  max-width: 62ch;
}

/* ---------- Tryout date cards ---------- */

.dates {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.date-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
}
.date-card.is-boys { border-top-color: var(--blue); }

.date-card > h3 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red-hi);
  margin-bottom: 16px;
}
.date-card.is-boys > h3 { color: #5AA0F5; }

.date-list { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.date-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-3);
  border-radius: 8px;
}
.date-day {
  font-family: var(--font-h);
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.date-rest { font-size: 13px; color: var(--muted); line-height: 1.45; }
.date-rest strong { display: block; color: var(--text); font-weight: 600; font-size: 13.5px; }

.date-venue {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.date-venue svg { flex-shrink: 0; margin-top: 3px; }
.date-venue strong { color: var(--text); font-weight: 600; }

/* ---------- Time blocks ---------- */

.times {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.time-block {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.time-clock {
  font-family: var(--font-h);
  font-size: 19px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.15;
  white-space: nowrap;
  flex-shrink: 0;
}
.time-who { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.time-who strong { display: block; color: var(--text); font-weight: 600; font-size: 14.5px; }

/* ---------- Bring list ---------- */

.bring {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  margin-bottom: 24px;
}
.bring h3 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  font-family: var(--font-b);
}
.bring ul {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}
.bring li { display: flex; align-items: flex-start; gap: 9px; }
.bring li::before {
  content: "";
  flex-shrink: 0;
  width: 6px; height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--red);
}

.callout {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(240, 184, 0, 0.08);
  border: 1px solid rgba(240, 184, 0, 0.3);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 24px;
}
.callout svg { flex-shrink: 0; margin-top: 2px; }

/* ---------- Schedule (post-tryout sessions) ---------- */

.tentative-flag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(240, 184, 0, 0.1);
  border: 1px solid rgba(240, 184, 0, 0.32);
  color: var(--gold);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.schedule { list-style: none; margin: 0; padding: 0; }
.schedule li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}
.schedule li:last-child { border-bottom: 1px solid var(--border); }
.sched-date {
  font-family: var(--font-h);
  font-size: 15px;
  font-weight: 800;
  color: var(--white);
  width: 74px;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}
.sched-what { display: block; font-size: 14.5px; color: var(--text); font-weight: 500; }
.sched-where { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* ---------- Far West Championships card ---------- */

.destination {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: 28px;
  padding: 24px 22px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius);
}
.destination img { width: 116px; flex-shrink: 0; }
.destination .kicker { display: block; margin-bottom: 8px; color: #5AA0F5; }
.destination h3 {
  font-size: 23px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.destination p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.destination p strong { color: var(--text); font-weight: 600; }
.destination-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
}

@media (min-width: 600px) {
  .destination { flex-direction: row; align-items: center; gap: 24px; padding: 28px; }
  .destination img { width: 128px; }
}
@media (min-width: 960px) {
  .destination { margin-top: 36px; padding: 32px 34px; gap: 32px; }
  .destination img { width: 150px; }
  .destination h3 { font-size: 27px; }
  .destination p { font-size: 15.5px; }
}

/* ---------- FAQ ---------- */

.faq { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--border); padding: 20px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item h3 {
  font-family: var(--font-b);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.4;
}
.faq-item p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ---------- Contact form ---------- */

.contact-direct { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* Capped so fields don't stretch to absurd widths on tablets and wide columns */
.contact-form { display: flex; flex-direction: column; gap: 16px; max-width: 620px; }

.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.field label .opt { font-weight: 500; letter-spacing: 0; text-transform: none; }
.field label span[aria-hidden] { color: var(--red-hi); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-b);
  font-size: 16px; /* 16px stops iOS zooming on focus */
  line-height: 1.4;
  transition: border-color 0.18s, background-color 0.18s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236E788F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 42px;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red-hi);
  background: var(--bg-3);
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.field-row { display: flex; flex-direction: column; gap: 16px; }

/* Honeypot — off-screen rather than display:none, which some bots skip */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.contact-form .cf-turnstile { min-height: 65px; }

.form-status {
  font-size: 14px;
  line-height: 1.55;
  padding: 0;
}
.form-status.is-success,
.form-status.is-error {
  padding: 13px 16px;
  border-radius: 8px;
  border: 1px solid;
}
.form-status.is-success {
  color: #7BE8A8;
  background: rgba(46, 204, 113, 0.09);
  border-color: rgba(46, 204, 113, 0.34);
}
.form-status.is-error {
  color: #FF9B9B;
  background: rgba(196, 30, 58, 0.10);
  border-color: rgba(196, 30, 58, 0.40);
}

/* ---------- CTA ---------- */

.cta {
  padding: 52px var(--pad);
  background: linear-gradient(135deg, var(--red-2) 0%, var(--red) 100%);
  text-align: center;
}
.cta h2 {
  font-size: clamp(28px, 8vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 12px;
}
.cta p { color: rgba(255, 255, 255, 0.9); font-size: 15px; margin-bottom: 24px; }
.cta .btn-primary { background: var(--white); color: var(--red-2); }
.cta .btn-primary:hover { background: var(--gold); color: var(--bg-0); }
.cta-mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 10px;
  color: rgba(255,255,255,0.92);
  font-size: 14px;
  font-weight: 500;
}
.cta-mail:hover { color: var(--white); }

/* ---------- Footer ---------- */

.site-footer {
  padding: 36px var(--pad) 32px;
  background: var(--bg-0);
  border-top: 1px solid var(--border);
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand picture { display: flex; flex-shrink: 0; }
.footer-brand img { width: 32px; }
.footer-brand span { font-family: var(--font-h); font-size: 15px; font-weight: 700; color: var(--white); }
.footer-blurb { font-size: 13.5px; color: var(--muted); max-width: 46ch; margin-bottom: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 2px 20px; font-size: 13.5px; margin-bottom: 18px; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
}
.footer-links a:hover { color: var(--gold); }
.footer-legal {
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.65;
}
.footer-legal a { color: var(--muted); text-decoration: underline; }
.footer-legal a:hover { color: var(--text); }

/* ==========================================================================
   600px and up
   ========================================================================== */

@media (min-width: 600px) {
  :root { --pad: 40px; }
  body { font-size: 16px; }

  .hero { padding: 76px var(--pad) 68px; }
  .hero-actions { flex-direction: row; width: auto; }
  .hero h1 { font-size: 56px; }
  .hero-lede { font-size: 17px; }

  .section { padding: 68px var(--pad); }
  .dates { flex-direction: row; }
  .date-card { flex: 1; padding: 26px 24px; }
  .times { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bring ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bring, .callout { padding: 24px 26px; }
  .sched-date { width: 92px; font-size: 16px; }
  .cta { padding: 72px var(--pad); }
  .site-footer { padding: 48px var(--pad) 36px; }
}

/* ==========================================================================
   960px and up
   ========================================================================== */

@media (min-width: 960px) {
  :root { --pad: 64px; }

  [id] { scroll-margin-top: 112px; }

  .site-header { padding: 14px var(--pad); }
  .brand img { width: 58px; }
  .brand-name { font-size: 18px; }
  .brand-sub { font-size: 10px; }


  .hero { padding: 112px var(--pad) 104px; }
  .hero-bg { object-position: center 28%; }
  .hero::after {
    background:
      linear-gradient(90deg, rgba(11,14,26,0.96) 0%, rgba(11,14,26,0.86) 46%, rgba(11,14,26,0.42) 100%),
      linear-gradient(0deg, rgba(11,14,26,0.92) 0%, transparent 46%);
  }
  .hero-inner { max-width: 1280px; margin: 0 auto; gap: 20px; }
  .hero h1 { font-size: clamp(56px, 6vw, 78px); }
  .hero-lede { font-size: 19px; max-width: 46ch; }

  .section, .cta { padding: 88px var(--pad); }
  .section-inner, .cta-inner, .site-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
  }
  .section h2 { font-size: 44px; }
  .section-head { margin-bottom: 36px; }
  .section-lede { font-size: 16.5px; }

  .dates { gap: 20px; margin-bottom: 28px; }
  .date-card { padding: 30px 28px; }
  .date-day { font-size: 30px; }
  .times { gap: 16px; margin-bottom: 28px; }
  .time-clock { font-size: 21px; }

  /* Bring + callout side by side */
  .tryout-extras {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 20px;
    align-items: start;
  }
  .tryout-extras .bring,
  .tryout-extras .callout { margin-bottom: 0; }
  .tryout-cta { margin-top: 28px; }
  .tryout-cta .btn-block { display: inline-flex; width: auto; min-width: 340px; min-height: 58px; font-size: 16px; }

  .schedule { display: grid; grid-auto-flow: column; grid-template-rows: repeat(4, auto); gap: 0 56px; }
  .schedule li:nth-child(5) { border-top: 1px solid var(--border); }
  .schedule li:nth-child(4), .schedule li:nth-child(8) { border-bottom: 1px solid var(--border); }
  .sched-date { width: 100px; }

  .contact-layout { display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: start; }
  .contact-layout .section-head { margin-bottom: 0; }
  .field-row { flex-direction: row; }
  .field-row .field { flex: 1; }
  .contact-form .btn-block { display: inline-flex; width: auto; min-width: 260px; }

  .faq-layout { display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: start; }
  .faq-layout .section-head { margin-bottom: 0; }
  .faq-item { padding: 24px 0; }
  .faq-item h3 { font-size: 16.5px; }
  .faq-item p { font-size: 15px; }

  .cta h2 { font-size: 44px; }
  .cta p { font-size: 17px; }

  .site-footer-inner { display: flex; justify-content: space-between; gap: 64px; align-items: flex-start; }
  .footer-blurb { margin-bottom: 0; }
  .footer-links { margin-bottom: 0; justify-content: flex-end; max-width: 420px; }
  .footer-legal { max-width: 1280px; margin: 24px auto 0; }
}
