
:root {
  --brand: "Saddle Up";
  --leather-black: #1a100c;
  --leather-dark: #2a1810;
  --leather: #3d2418;
  --leather-mid: #5c3a28;
  --saddle: #6b3e26;
  --tan: #c4a574;
  --tan-light: #d4b896;
  --gold: #c9a227;
  --gold-btn: #c4a06a;
  --gold-btn-hover: #d4b47a;
  --rust: #b84a2e;
  --rust-bright: #c1402c;
  --cream: #f5efe6;
  --cream-dark: #ebe3d6;
  --slate: #354e5b;
  --slate-dark: #2a3f4a;
  --turquoise: #2a6b6c;
  --white: #faf7f2;
  --muted: #869ab8;
  --text-muted: #6e635a;
  --text-light: #f0e6d8;
  --border-soft: rgba(196, 160, 106, 0.35);
  --card-shadow: 0 10px 28px rgba(26, 16, 12, 0.1);
  --card-shadow-hover: 0 16px 40px rgba(26, 16, 12, 0.18);
  --font-display: "Rye", "Rockwell", "Courier New", Georgia, serif;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Montserrat", "Segoe UI", system-ui, sans-serif;
  --radius: 12px;
  --shadow: 0 12px 40px rgba(26, 16, 12, 0.28);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--leather-black); background: #f7f5f1; line-height: 1.5; min-height: 100vh; }
a { color: var(--rust-bright); }
a:hover { color: var(--saddle); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
button, input, select { font: inherit; color: inherit; }

/* —— Header (EDCC-inspired: logo + CTA + search + white nav links) —— */
.topnav { background: var(--leather-black); color: var(--white); position: sticky; top: 0; z-index: 40; box-shadow: 0 2px 10px rgba(0,0,0,0.25); }
.topnav-row { max-width: 1140px; margin: 0 auto; padding: 0.85rem 1.25rem 0.55rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.nav-logo { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; color: var(--white); font-family: var(--font-display); font-size: 1.2rem; letter-spacing: 0.02em; flex-shrink: 0; }
.nav-logo-img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; display: block; flex-shrink: 0; box-shadow: 0 0 0 2px rgba(196,160,106,0.45); }
@media (max-width: 720px) {
  .nav-logo-img { width: 52px; height: 52px; }
  .nav-logo { font-size: 1.05rem; }
}
.nav-actions { display: flex; align-items: center; gap: 0.75rem; margin-left: auto; flex: 1; justify-content: flex-end; min-width: 220px; }
.btn-cta { background: var(--rust-bright); color: #fff !important; border: none; border-radius: 6px; padding: 0.55rem 1.1rem; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-cta:hover { background: #a83624; }
.nav-search { flex: 1; max-width: 280px; }
.nav-search input { width: 100%; border: none; border-radius: 6px; padding: 0.55rem 0.9rem; background: #fff; color: #333; font-size: 0.9rem; }
.nav-search input::placeholder { color: #888; }
.nav-toggle { display: none; background: var(--slate); border: none; color: #fff; border-radius: 6px; padding: 0.4rem 0.65rem; cursor: pointer; }
.nav-links-row { max-width: 1140px; margin: 0 auto; padding: 0 1.25rem 0.65rem; border-top: 1px solid rgba(196,160,106,0.15); }
.nav-links { display: flex; flex-wrap: wrap; gap: 0.15rem 1.25rem; list-style: none; margin: 0; padding: 0.55rem 0 0; }
.nav-links a { color: rgba(250,247,242,0.92); text-decoration: none; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.25rem 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; border-bottom-color: var(--gold); }

/* —— Breaking / alert banner (EDCC pattern) —— */
.alert-banner { display: flex; flex-wrap: wrap; align-items: stretch; min-height: 48px; }
.alert-label { background: #111; color: #fff; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.78rem; padding: 0.85rem 1.25rem; display: flex; align-items: center; white-space: nowrap; }
.alert-body { background: var(--rust-bright); color: #fff; flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 1.25rem; flex-wrap: wrap; }
.alert-body p { margin: 0; font-weight: 600; font-size: 0.95rem; }
.btn-outline-light { background: transparent; border: 1.5px solid #fff; color: #fff; border-radius: 4px; padding: 0.4rem 0.9rem; font-weight: 700; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; display: inline-flex; align-items: center; gap: 0.35rem; }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }

/* —— Page hero with overlay (EDCC blog hero) —— */
.page-hero {
  position: relative;
  min-height: 360px;
  background: #1a100c url("banner-hero.webp") center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,12,8,0.55) 0%, rgba(20,12,8,0.40) 45%, rgba(20,12,8,0.62) 100%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; text-align: center; padding: 2.75rem 1.25rem 3.25rem; }
.page-hero h1 { margin: 0; font-family: var(--font-body); font-size: clamp(2.4rem, 6vw, 3.6rem); font-weight: 700; color: #fff; letter-spacing: -0.01em; text-shadow: 0 2px 18px rgba(0,0,0,0.55); }
.page-hero p { margin: 0.5rem 0 0; color: rgba(250,247,242,0.92); font-size: 1.05rem; text-shadow: 0 1px 10px rgba(0,0,0,0.45); }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; z-index: 2; }
.hero-wave svg { width: 100%; height: 48px; display: block; }

.welcome-strip { background: var(--cream); border-bottom: 1px solid var(--cream-dark); padding: 0.75rem 1.25rem; }
.welcome-inner { max-width: 1140px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 0.85rem; flex-wrap: wrap; text-align: center; }
.welcome-inner .star { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }
.welcome-text { font-size: 1.35rem; color: var(--leather-mid); font-weight: 500; margin: 0; }
.welcome-text strong { font-family: var(--font-display); font-weight: 400; color: var(--leather-dark); }
.btn-gold { background: var(--gold-btn); color: var(--leather-black); border: none; border-radius: 999px; padding: 0.5rem 1.15rem; font-weight: 700; font-size: 0.88rem; cursor: pointer; text-decoration: none; display: inline-block; transition: background 0.15s, transform 0.1s; white-space: nowrap; }
.btn-gold:hover { background: var(--gold-btn-hover); color: var(--leather-black); }
.btn-gold:active { transform: scale(0.98); }

.page { max-width: 1140px; margin: 0 auto; padding: 1.5rem 1.25rem 3rem; }

/* —— Home split hero (USAA preference kept) —— */
.hero-banner { display: grid; grid-template-columns: 1.05fr 0.95fr; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 320px; margin-bottom: 1.75rem; border: 1px solid rgba(90, 50, 30, 0.25); }
.hero-left { background: radial-gradient(circle at 20% 80%, rgba(184,74,46,0.12), transparent 40%), linear-gradient(155deg, var(--leather-black) 0%, var(--leather-dark) 55%, #1f2e2e 100%); color: var(--white); padding: 2rem; position: relative; display: flex; flex-direction: column; justify-content: center; }
.hero-left > * { position: relative; }
.hero-kicker { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tan); margin: 0 0 0.55rem; }
.hero-title { font-family: var(--font-display); font-size: clamp(1.65rem, 3.2vw, 2.3rem); line-height: 1.15; margin: 0; color: var(--gold); font-weight: 400; }
.hero-rule { width: 48px; height: 3px; background: var(--rust); border: none; margin: 0.75rem 0 0.9rem; }
.hero-desc { margin: 0 0 1.25rem; font-size: 1rem; color: var(--text-light); max-width: 28rem; opacity: 0.92; }
.hero-controls { display: flex; flex-wrap: wrap; gap: 0.55rem; align-items: flex-end; }
.hero-field { display: flex; flex-direction: column; gap: 0.25rem; flex: 1; min-width: 130px; }
.hero-field label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.hero-field select { background: var(--white); color: var(--leather-black); border: none; border-radius: 8px; padding: 0.6rem 0.7rem; font-size: 0.92rem; min-height: 42px; }
.hero-controls .btn-gold { padding: 0.65rem 1.15rem; min-height: 42px; }
.hero-right { position: relative; overflow: hidden; min-height: 260px; background: #2a1810 center/cover no-repeat; }
.hero-right::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26,16,12,0.35), transparent 40%); pointer-events: none; }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: 0 0 1rem; flex-wrap: wrap; }
.section-head h2 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 400; color: var(--leather-dark); margin: 0; }
.section-head p { margin: 0; color: var(--leather-mid); font-size: 0.92rem; }

/* —— Popular photo tiles (USAA grid kept) —— */
.tiles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.tile { border-radius: var(--radius); padding: 1.25rem; color: var(--white); display: flex; flex-direction: column; box-shadow: var(--shadow); border: 1px solid rgba(196,160,106,0.18); min-height: 230px; transition: transform 0.15s, box-shadow 0.15s; background: linear-gradient(165deg, var(--leather-dark), var(--leather-black)); background-size: cover; background-position: center; position: relative; overflow: hidden; }
.tile.photo-tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,16,12,0.35) 0%, rgba(26,16,12,0.82) 55%, rgba(26,16,12,0.94) 100%); pointer-events: none; }
.tile > * { position: relative; z-index: 1; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(26,16,12,0.35); }
.tile-top { display: flex; align-items: flex-start; gap: 0.7rem; margin-bottom: 0.85rem; }
.tile-icon { width: 40px; height: 40px; flex-shrink: 0; color: var(--tan); background: rgba(196,160,106,0.18); border-radius: 10px; display: grid; place-items: center; padding: 6px; backdrop-filter: blur(4px); }
.tile-icon svg { width: 26px; height: 26px; }
.tile-title { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 700; line-height: 1.25; margin: 0; color: #fff; }
.tile-body { display: flex; gap: 0.75rem; flex: 1; margin-bottom: 1rem; }
.tile-accent { width: 3px; flex-shrink: 0; background: var(--rust); border-radius: 2px; align-self: stretch; min-height: 2.5rem; }
.tile-desc { margin: 0; font-size: 0.9rem; color: rgba(240,230,216,0.9); line-height: 1.45; }
.tile-desc .pending { display: inline-block; margin-top: 0.35rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--gold); background: rgba(201,162,39,0.18); padding: 0.15rem 0.45rem; border-radius: 4px; }
.tile .btn-gold { align-self: center; min-width: 8.5rem; text-align: center; }

/* —— Browse view —— */
.browse-view { display: none; }
.browse-view.active { display: block; }
.home-view.hidden { display: none; }
.back-home { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 700; color: var(--saddle); background: none; border: none; cursor: pointer; margin-bottom: 0.85rem; font-size: 0.95rem; }

/* Compact results filter row */
.filter-panel { background: #fff; border-radius: 10px; box-shadow: var(--card-shadow); padding: 0.45rem 0.65rem; margin-bottom: 0.75rem; border: 1px solid #e8e0d4; }
.filter-panel h2 { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.filter-row { display: flex; flex-wrap: nowrap; align-items: center; gap: 0.4rem; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; max-height: 52px; }
.filter-row .form-group { display: flex; flex-direction: row; align-items: center; gap: 0.3rem; flex: 0 0 auto; margin: 0; }
.filter-row .form-group label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: #666; white-space: nowrap; }
.filter-row .form-group input, .filter-row .form-group select { border: 1px solid #d0d0d0; border-radius: 6px; padding: 0.28rem 0.5rem; background: #fff; min-height: 32px; height: 32px; font-size: 0.82rem; max-width: 140px; }
.filter-row .form-group input[type="search"] { min-width: 140px; max-width: 200px; }
.filter-row .form-group input:focus, .filter-row .form-group select:focus { border-color: var(--slate); outline: none; box-shadow: 0 0 0 2px rgba(53,78,91,0.15); }
.filter-row .btn-search, .filter-row .btn-clear { flex: 0 0 auto; border: none; border-radius: 6px; padding: 0.28rem 0.7rem; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; min-height: 32px; height: 32px; }
.btn-search { background: var(--slate); color: #fff; }
.btn-search:hover { background: var(--slate-dark); }
.btn-clear { background: #e3e3e3; color: #222; }
.btn-clear:hover { background: #d5d5d5; }
.filter-extra { display: flex; flex-wrap: nowrap; gap: 0.35rem; align-items: center; margin-top: 0.35rem; padding-top: 0.35rem; border-top: 1px solid #f0ebe3; overflow-x: auto; -webkit-overflow-scrolling: touch; max-height: 36px; }
.chip { border: 1px solid #d4c4b0; background: #fff; border-radius: 999px; padding: 0.2rem 0.65rem; cursor: pointer; font-size: 0.75rem; color: var(--leather-mid); white-space: nowrap; flex: 0 0 auto; }
.chip.active { background: var(--saddle); border-color: var(--saddle); color: #fff; }
.results-meta { margin-left: auto; display: flex; align-items: center; gap: 0.5rem; flex: 0 0 auto; }
#resultCount { font-weight: 700; color: var(--leather-dark); font-size: 0.82rem; white-space: nowrap; }
.view-toggle { display: inline-flex; border: 1px solid #d4c4b0; border-radius: 999px; overflow: hidden; background: #fff; }
.view-toggle button { border: none; background: transparent; padding: 0.2rem 0.55rem; cursor: pointer; color: var(--leather-mid); font-size: 0.75rem; font-weight: 600; }
.view-toggle button[aria-pressed="true"] { background: var(--turquoise); color: #fff; }
#browseResults { scroll-margin-top: 72px; }
.filter-panel.compact { max-height: 96px; }

/* EDCC-style horizontal lift cards */
.card-list { display: flex; flex-direction: column; gap: 1.15rem; }
.card-row { background: #fff; border-radius: 10px; box-shadow: var(--card-shadow); border: 1px solid rgba(0,0,0,0.04); overflow: hidden; cursor: pointer; text-align: left; width: 100%; font: inherit; color: inherit; padding: 0; transition: transform 0.18s ease, box-shadow 0.18s ease; display: block; }
.card-row:hover, .card-row:focus-visible { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.card-row-body { padding: 1.25rem 1.35rem 0.85rem; }
.card-row-body h3 { margin: 0 0 0.4rem; font-family: var(--font-body); font-size: 1.35rem; font-weight: 700; color: var(--rust-bright); line-height: 1.25; }
.card-row-body .summary { margin: 0; color: var(--text-muted); font-size: 0.98rem; }
.card-row-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.55rem; }
.tag { display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.18rem 0.5rem; border-radius: 999px; background: #eef3f4; color: var(--slate); }
.tag.pending { background: #f8efd9; color: #8a6420; }
.card-meta { display: flex; align-items: center; justify-content: flex-end; padding: 0 1.35rem 0.95rem; gap: 0.75rem; }
.card-meta-divider { flex: 1; border: none; border-top: 1px solid #e8e8e8; margin: 0; }
.card-meta-date { margin: 0; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #869ab8; white-space: nowrap; }

.month-section { margin-bottom: 2rem; }
.month-heading { font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; color: var(--leather-dark); margin: 0 0 0.85rem; padding-bottom: 0.35rem; border-bottom: 2px solid var(--cream-dark); display: flex; align-items: baseline; gap: 0.5rem; }
.month-heading span { font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; color: #999; }

.cal-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.85rem; }
.cal-nav h2 { font-family: var(--font-display); font-size: 1.3rem; margin: 0; font-weight: 400; color: var(--leather-dark); }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; background: #d4c4b0; border: 1px solid #d4c4b0; border-radius: 12px; overflow: hidden; }
.cal-dow { background: var(--cream-dark); text-align: center; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--leather-mid); padding: 0.5rem 0.2rem; }
.cal-cell { background: #fff; min-height: 84px; padding: 0.3rem; }
.cal-cell.outside { background: #f0ebe3; opacity: 0.7; }
.cal-cell.today { box-shadow: inset 0 0 0 2px var(--turquoise); }
.cal-daynum { font-size: 0.75rem; font-weight: 700; color: #8a7a6a; margin-bottom: 0.2rem; }
.cal-pill { display: block; width: 100%; text-align: left; border: none; background: #e4f0f0; color: var(--turquoise); font-size: 0.65rem; font-weight: 700; padding: 0.18rem 0.3rem; border-radius: 5px; margin-bottom: 0.15rem; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: inherit; }
.cal-pill:hover { background: var(--turquoise); color: #fff; }
.cal-more { font-size: 0.65rem; color: #8a7a6a; font-weight: 700; border: none; background: none; cursor: pointer; padding: 0.1rem; font-family: inherit; }

.empty-state { text-align: center; padding: 3rem 1.25rem; background: #fff; border: 1px dashed #d4c4b0; border-radius: 12px; }
.empty-state h2 { font-family: var(--font-display); font-weight: 400; margin: 0 0 0.5rem; color: var(--saddle); }
.empty-state p { margin: 0 0 1rem; color: #6e635a; }
.tba-section { margin-top: 2.25rem; padding-top: 1.35rem; border-top: 2px solid var(--cream-dark); }
.tba-section h2 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; color: var(--leather-dark); margin: 0 0 0.3rem; }
.tba-section > p { color: #6e635a; margin: 0 0 0.9rem; font-size: 0.92rem; }

.site-footer { background: var(--leather-black); color: var(--tan-light); padding: 2rem 1.25rem; margin-top: 2rem; border-top: 3px solid var(--rust); }
.footer-inner { max-width: 1140px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 1.25rem; justify-content: space-between; align-items: flex-start; }
.footer-brand { font-family: var(--font-display); font-size: 1.25rem; color: var(--white); margin: 0 0 0.35rem; font-weight: 400; }
.footer-note { max-width: 36rem; font-size: 0.88rem; margin: 0; opacity: 0.85; }

.overlay { position: fixed; inset: 0; background: rgba(26,16,12,0.5); z-index: 100; opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0.2s; }
.overlay.open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--cream); z-index: 110; box-shadow: var(--shadow); transform: translateX(100%); transition: transform 0.25s ease; display: flex; flex-direction: column; outline: none; }
.drawer.open { transform: translateX(0); }
.drawer-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.25rem 0.75rem; border-bottom: 1px solid var(--cream-dark); background: var(--leather-dark); color: var(--white); }
.drawer-header h2 { font-family: var(--font-serif); font-size: 1.35rem; margin: 0; line-height: 1.2; color: var(--gold); }
.icon-btn { border: none; background: rgba(255,255,255,0.12); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; flex-shrink: 0; color: var(--white); }
.icon-btn:hover { background: rgba(255,255,255,0.22); }
.drawer-body { padding: 1.15rem 1.25rem; overflow-y: auto; flex: 1; }
.detail-row { margin-bottom: 0.85rem; }
.detail-row dt { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--leather-mid); margin: 0 0 0.15rem; }
.detail-row dd { margin: 0; font-size: 1rem; color: var(--leather-black); }
.drawer-actions { display: flex; flex-direction: column; gap: 0.5rem; padding: 1rem 1.25rem 1.4rem; border-top: 1px solid var(--cream-dark); }
.btn-primary { background: var(--saddle); color: var(--white); border: none; border-radius: 999px; padding: 0.75rem 1rem; font-weight: 700; cursor: pointer; text-align: center; text-decoration: none; }
.btn-primary:hover { background: var(--leather-dark); color: var(--white); }
.btn-secondary { background: #e4f0f0; color: var(--turquoise); border: 1px solid transparent; border-radius: 999px; padding: 0.75rem 1rem; font-weight: 700; cursor: pointer; text-align: center; text-decoration: none; }
.btn-secondary:hover { border-color: var(--turquoise); }

.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 1rem; opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0.2s; }
.modal.open { opacity: 1; visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(26,16,12,0.55); }
.modal-panel { position: relative; background: var(--cream); border-radius: var(--radius); width: min(480px, 100%); max-height: 90vh; overflow-y: auto; padding: 1.5rem; box-shadow: var(--shadow); border-top: 4px solid var(--rust); }
.modal-panel h2 { font-family: var(--font-display); font-weight: 400; margin: 0 0 0.35rem; font-size: 1.45rem; color: var(--leather-dark); }
.proto-note { background: #f8efd9; color: #8a6420; padding: 0.55rem 0.75rem; border-radius: 8px; font-size: 0.88rem; margin: 0 0 1rem; }
.form-field { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 0.8rem; }
.form-field label { font-weight: 700; font-size: 0.9rem; }
.form-field input, .form-field textarea, .form-field select { border: 1px solid #d4c4b0; border-radius: 8px; padding: 0.55rem 0.75rem; background: white; }
.form-field textarea { min-height: 72px; resize: vertical; }
.form-actions { display: flex; gap: 0.5rem; justify-content: flex-end; margin-top: 0.5rem; }
.btn-ghost { background: transparent; border: 1px solid #d4c4b0; border-radius: 999px; padding: 0.6rem 1rem; cursor: pointer; font-weight: 700; }

@media (max-width: 900px) {
  .hero-banner { grid-template-columns: 1fr; }
  .hero-right { min-height: 200px; max-height: 240px; }
  .tiles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .page-hero { min-height: 200px; }
  .page-hero-inner { padding: 1.5rem 1rem 2rem; }
  .tiles-grid { grid-template-columns: 1fr; }
  .hero-left { padding: 1.4rem 1.15rem; }
  .alert-label { width: 100%; justify-content: center; }
  .results-meta { margin-left: 0; }
  .filter-row .form-group input[type="search"] { min-width: 120px; max-width: 160px; }
  .nav-actions { width: 100%; justify-content: stretch; }
  .nav-search { max-width: none; }
  .cal-cell { min-height: 64px; }
}





/* —— Contact & Feedback forms —— */
.forms-wrap { max-width: 1100px; margin: 2.5rem auto 0; padding: 0 1rem; display: grid; gap: 1.5rem; }
.site-form-section { background: #fffdf8; border: 1px solid #e3d6bf; border-top: 4px solid #c4a06a; border-radius: 10px; padding: 1.5rem 1.6rem; box-shadow: 0 2px 10px rgba(60,40,20,0.06); scroll-margin-top: 120px; }
.site-form-section h2 { margin: 0 0 .25rem; color: #3b2a1a; font-size: 1.5rem; }
.site-form-section .form-intro { margin: 0 0 1.1rem; color: #6b5a45; }
.sf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.1rem; }
.sf-grid .full { grid-column: 1 / -1; }
.sf-field label, .sf-legend { display:block; font-weight: 600; font-size: .9rem; color: #3b2a1a; margin-bottom: .3rem; }
.sf-field input, .sf-field select, .sf-field textarea { width: 100%; box-sizing: border-box; padding: .6rem .7rem; border: 1px solid #cdbb9c; border-radius: 6px; font: inherit; background: #fff; }
.sf-field textarea { min-height: 110px; resize: vertical; }
.sf-field input:focus, .sf-field select:focus, .sf-field textarea:focus { outline: 2px solid #c4a06a; outline-offset: 1px; }
.sf-field.invalid input, .sf-field.invalid select, .sf-field.invalid textarea { border-color: #b3261e; background: #fff6f5; }
.sf-error { color: #b3261e; font-size: .82rem; margin-top: .25rem; min-height: 0; }
.sf-req { color: #b3261e; }
.sf-actions { display:flex; align-items:center; gap: 1rem; margin-top: 1.1rem; flex-wrap: wrap; }
.sf-note { font-size: .8rem; color: #8a7760; margin: 0; }
.sf-thanks { background: #f3ead8; border: 1px solid #c4a06a; border-radius: 8px; padding: 1rem 1.2rem; color: #3b2a1a; }
.sf-thanks h3 { margin: 0 0 .3rem; }
.rating { display:flex; flex-direction: row-reverse; justify-content: flex-end; gap: .25rem; border: 0; padding: 0; margin: 0; }
.rating input { position:absolute; opacity:0; width:1px; height:1px; }
.rating label { font-size: 1.9rem; line-height: 1; cursor: pointer; color: #d8ccb6; transition: color .15s; margin: 0; }
.rating input:checked ~ label, .rating label:hover, .rating label:hover ~ label { color: #c4a06a; }
.rating input:focus-visible + label { outline: 2px solid #c4a06a; outline-offset: 2px; }
.sf-check { display:flex; gap:.5rem; align-items:flex-start; font-size: .92rem; color:#3b2a1a; }
.footer-links { display:flex; gap: 1rem; flex-wrap: wrap; margin-top: .6rem; }
.footer-links a { color: #e8d3a8; }
@media (max-width: 640px) { .sf-grid { grid-template-columns: 1fr; } }

/* —— Standard menu (all pages) —— */
.nav-links a.nav-hl { color: #e8c98f; }
@media (min-width: 768px) { .topnav { } }
@media (max-width: 767px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; gap: 0; padding: 0.35rem 0 0.4rem; }
  .nav-links.open li a { display: block; padding: 0.7rem 0.25rem; border-bottom: 1px solid rgba(196,160,106,0.15); font-size: 0.9rem; }
  .nav-links.open li a[aria-current="page"] { color: #e8c98f; border-bottom-color: var(--gold); }
  .nav-toggle { display: inline-flex; margin-left: auto; font-size: 1.2rem; }
  .nav-logo-img { width: 46px; height: 46px; }
  .topnav-row { padding: 0.55rem 1rem 0.45rem; }
  .nav-actions { order: 3; width: 100%; }
}
.site-form-page { max-width: 900px; margin: 2rem auto 3rem; padding: 0 1rem; }
.page-hero.page-hero-sm { min-height: 0; }
.page-hero.page-hero-sm .page-hero-inner { padding: 2rem 1.25rem 2.5rem; }


/* Nov 5: hero title moved to top so it clears the roper */
.page-hero:not(.page-hero-sm) { min-height: 360px; align-items: flex-start; }
.page-hero:not(.page-hero-sm)::before { background: linear-gradient(180deg, rgba(20,12,8,0.70) 0%, rgba(20,12,8,0.25) 26%, rgba(20,12,8,0.10) 60%, rgba(20,12,8,0.35) 100%); }
.page-hero:not(.page-hero-sm) .page-hero-inner { padding: 0.7rem 1rem 0; }
.page-hero:not(.page-hero-sm) h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.1; }
.page-hero:not(.page-hero-sm) p { margin-top: 0.25rem; font-size: 0.95rem; }
/* Calendar fit fix */
.calendar-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); width: 100%; max-width: 100%; box-sizing: border-box; min-width: 0; }
.calendar-grid > * { min-width: 0; box-sizing: border-box; }
.cal-dow { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-cell { overflow: hidden; }
.cal-pill { max-width: 100%; min-width: 0; box-sizing: border-box; }
.cal-more { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 599px) {
  .calendar-grid { gap: 1px; }
  .cal-dow { font-size: 0; padding: 0.4rem 0; letter-spacing: 0; }
  .cal-dow::first-letter { font-size: 0.65rem; }
  .cal-cell { min-height: 56px; padding: 0.15rem; }
  .cal-daynum { font-size: 0.65rem; }
  .cal-pill { font-size: 0.55rem; padding: 0.12rem 0.15rem; border-radius: 3px; }
  .cal-more { font-size: 0.55rem; padding: 0; }
}

/* Distinct discipline label for every Coming Up item. */
.alert-body { min-width: 0; }
#alertText { display: flex; align-items: baseline; gap: .55rem; flex: 1 1 16rem; min-width: 0; max-width: 100%; }
.ticker-discipline { font-family: var(--font-display); font-weight: 800; font-variant: small-caps; text-transform: uppercase; letter-spacing: .055em; font-size: .9em; color: #fff; flex: 0 0 auto; max-width: 45%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticker-separator { color: rgba(255,255,255,.8); flex: 0 0 auto; }
.ticker-event { font-family: var(--font-body); font-weight: 600; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 499px) {
 #alertText { flex-basis: 100%; width: 100%; gap: .4rem; }
 .ticker-discipline { font-size: .82em; letter-spacing: .035em; }
}


.submission-thanks { padding: 1rem 1.25rem; margin: 0 0 1.25rem; border: 1px solid #c4a06a; border-left: 4px solid #c4a06a; border-radius: 8px; background: #fffdf8; color: #2a1810; font-weight: 600; }

/* Optimized image assets preserve the former CSS-background crop. */
.tile > img.tile-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.tile.photo-tile::before { z-index: 1; }
.tile > :not(.tile-photo) { z-index: 2; }
.hero-ranch-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.seo-intro { color: #6e635a; font-size: .95rem; line-height: 1.6; margin: 1.75rem 0 .5rem; }

/* honeypot: replace inline style=display:none */
.hp-field{display:none !important;}
