/* Hook N Ladder Fishing — brand: firehouse pride meets saltwater charter. */

:root {
  --navy-900: #050F1D;
  --navy-800: #081A32;
  --navy-700: #0B2545;
  --navy-600: #153152;
  --navy-500: #1D4272;
  --navy-400: #3A6699;
  --navy-300: #6690BE;
  --navy-100: #CBDAEC;
  --navy-50: #EAF0F8;

  --engine-700: #7A1010;
  --engine-600: #A11616;
  --engine-500: #C81E1E;
  --engine-400: #DB3E3E;

  --brass-700: #5E4517;
  --brass-600: #836020;
  --brass-500: #A87C2A;
  --brass-400: #C89B3C;
  --brass-300: #DDB65D;
  --brass-200: #E9CD8E;
  --brass-100: #F3E3BE;

  --cream: #F5EFE3;
  --foam: #EEF3F3;
  --charcoal: #171A1C;
  --ink: #1B222B;

  --font-display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;

  --radius: 14px;
  --shadow-badge: 0 12px 30px -10px rgba(5, 15, 29, 0.45);
  --shadow-soft: 0 4px 18px -6px rgba(5, 15, 29, 0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}
h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--navy-700);
  line-height: 1.1;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
a { color: inherit; }
img, svg { max-width: 100%; display: block; }
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 72px 0; }
.section-tight { padding: 40px 0; }
.bg-navy { background: var(--navy-700); color: var(--cream); }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: var(--cream); }
.bg-cream { background: var(--cream); }
.bg-foam { background: var(--foam); }
.bg-charcoal { background: var(--charcoal); color: var(--cream); }
.text-center { text-align: center; }
.muted { color: #5B6672; }
.bg-navy .muted { color: var(--navy-100); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--engine-500);
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--brass-400);
  display: inline-block;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-engine { background: var(--engine-500); color: #fff; box-shadow: var(--shadow-badge); }
.btn-engine:hover { background: var(--engine-600); }
.btn-brass { background: var(--brass-400); color: var(--navy-900); box-shadow: var(--shadow-badge); }
.btn-brass:hover { background: var(--brass-500); }
.btn-outline { background: transparent; border-color: currentColor; color: inherit; }
.btn-outline:hover { background: rgba(255,255,255,0.08); }
.btn-navy { background: var(--navy-700); color: var(--cream); }
.btn-navy:hover { background: var(--navy-600); }
.btn-sm { padding: 9px 18px; font-size: 0.8rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-danger { background: var(--engine-700); color: #fff; }

/* --- Nav --- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy-700);
  border-bottom: 3px solid var(--brass-400);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px;
  max-width: 1180px; margin: 0 auto;
  position: relative;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream); }
.brand img { display: block; }
.brand-wordmark {
  height: 58px;
  width: auto;
  max-width: min(280px, 52vw);
  object-fit: contain;
}
.brand-wordmark-footer {
  height: 72px;
  max-width: 240px;
}
.brand-badge {
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-badge img { width: 48px; height: auto; display: block; }
.brand-badge-lg img { width: 56px; }
.brand-text { font-family: var(--font-display); line-height: 1.05; }
.brand-text .name { font-size: 1.15rem; letter-spacing: 0.05em; display: block; }
.brand-text .tag { font-size: 0.62rem; letter-spacing: 0.18em; color: var(--brass-300); display: block; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-block; padding: 10px 14px; text-decoration: none; color: var(--navy-100);
  font-family: var(--font-display); letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.85rem;
  border-radius: 8px; transition: background 0.15s, color 0.15s;
}
.nav-links a:hover, .nav-links a.active { background: rgba(255,255,255,0.08); color: #fff; }
.nav-cta { margin-left: 6px; }
.nav-toggle { display: none; background: none; border: none; color: var(--cream); font-size: 1.6rem; cursor: pointer; }
@media (max-width: 880px) {
  .nav-toggle { display: block; margin-left: auto; }
  .brand-wordmark {
    height: 46px;
    max-width: min(200px, 48vw);
  }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--navy-700); border-bottom: 3px solid var(--brass-400); padding: 8px 16px 16px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 8px; }
  .nav-cta { margin-left: 0; }
}

/* --- Hero --- */
.hero {
  position: relative; color: var(--cream); overflow: hidden;
  min-height: min(88vh, 820px); display: flex; align-items: flex-end;
  padding: 0 0 clamp(48px, 8vh, 88px);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg svg, .hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 35%;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(105deg, rgba(4, 12, 24, 0.88) 0%, rgba(4, 12, 24, 0.55) 48%, rgba(4, 12, 24, 0.28) 100%),
    linear-gradient(180deg, rgba(4, 12, 24, 0.2) 0%, rgba(4, 12, 24, 0.82) 100%);
}
.hero-mark {
  position: absolute;
  top: 12%;
  left: -1.5%;
  height: 55%;
  width: auto;
  opacity: 0.2;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}
@media (max-width: 880px) {
  .hero-mark {
    top: 10%;
    left: auto;
    right: 4%;
    bottom: auto;
    height: 22%;
    opacity: 0.2;
  }
}
@media (max-width: 480px) {
  .hero-mark {
    top: 9%;
    right: 3%;
    height: 18%;
    opacity: 0.18;
  }
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-top: 96px;
}
.hero-brand {
  margin: 0 0 14px;
  animation: heroRise 0.85s ease-out both;
}
.hero-brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7.5vw, 5.25rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--cream);
  text-shadow: 0 2px 28px rgba(4, 12, 24, 0.45);
}
.hero-brand-trail {
  display: block;
  margin-top: 0.15em;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass-300);
}
.hero-headline {
  color: var(--cream);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 14px;
  max-width: 18ch;
  line-height: 1.15;
  animation: heroRise 0.85s ease-out 0.12s both;
}
.hero-content .lede {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--navy-100);
  max-width: 34rem;
  margin: 0 0 22px;
  line-height: 1.55;
  animation: heroRise 0.85s ease-out 0.22s both;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap; margin-top: 4px;
  animation: heroRise 0.85s ease-out 0.32s both;
}
@keyframes heroRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-brand, .hero-headline, .hero-content .lede, .hero-actions {
    animation: none;
  }
}
.badge-strip {
  display: flex; gap: 22px; flex-wrap: wrap; margin-top: 34px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.badge-strip .item { font-family: var(--font-display); font-size: 0.82rem; letter-spacing: 0.05em; color: var(--brass-200); text-transform: uppercase; }

/* --- Cards / grid --- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-soft); display: flex; flex-direction: column;
  border: 1px solid rgba(11,37,69,0.06);
}
.card .thumb { aspect-ratio: 4/3; background: var(--navy-700); overflow: hidden; }
.card .thumb img, .card .thumb svg { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card .price-row { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding-top: 10px; }
.card .price { font-family: var(--font-display); font-size: 1.4rem; color: var(--engine-500); }
.card .price small { font-size: 0.7rem; color: #7a8390; text-transform: none; letter-spacing: 0; font-family: var(--font-body); }
.trip-guest-note {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--navy-700);
  font-weight: 600;
}
.pill {
  display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em;
  padding: 4px 10px; border-radius: 999px; background: var(--navy-50); color: var(--navy-600);
  text-transform: uppercase; font-family: var(--font-display);
}
.pill-brass { background: var(--brass-100); color: var(--brass-700); }

/* Placeholder-photo notice ribbon (shown to admins/visitors until real photos are added) */
.placeholder-tag {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  background: rgba(5,15,29,0.75); color: var(--brass-200); font-size: 0.65rem;
  padding: 3px 8px; border-radius: 6px; letter-spacing: 0.04em; text-transform: uppercase;
  font-family: var(--font-display);
}
.thumb-wrap { position: relative; }

/* --- Sponsorship progress --- */
.progress-track {
  background: rgba(255,255,255,0.15); border-radius: 999px; height: 18px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.25);
}
.bg-cream .progress-track, .bg-foam .progress-track { background: var(--navy-50); border-color: var(--navy-100); }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--brass-400), var(--brass-500)); }
.stat-row { display: flex; gap: 40px; flex-wrap: wrap; }
.stat { font-family: var(--font-display); }
.stat .num { font-size: 2.4rem; color: var(--engine-500); display: block; }
.stat .label { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy-500); }

/* --- Gallery --- */
.masonry { columns: 3 220px; column-gap: 18px; }
.masonry .gitem { break-inside: avoid; margin-bottom: 18px; border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow-soft); }
.masonry .gitem img, .masonry .gitem svg { width: 100%; display: block; }
.gcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px; background: linear-gradient(180deg, transparent, rgba(5,15,29,0.85)); color: #fff; font-size: 0.82rem; }

/* --- FAQ --- */
.faq-item { border-bottom: 1px solid var(--navy-100); padding: 18px 0; }
.faq-item summary { cursor: pointer; font-family: var(--font-display); font-size: 1.05rem; color: var(--navy-700); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--engine-500); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .a { padding-top: 10px; color: #444d58; }

/* --- Forms --- */
.field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
label { font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--navy-600); }
input, select, textarea {
  font-family: var(--font-body); font-size: 1rem; padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid #D9D2C2; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brass-400); border-color: var(--brass-400); }
.form-row { display: flex; gap: 16px; flex-wrap: wrap; }
.form-row .field { flex: 1; min-width: 180px; }
.help-text { font-size: 0.8rem; color: #7a8390; }
.error-text { font-size: 0.85rem; color: var(--engine-600); font-weight: 600; }
.notice { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-size: 0.92rem; }
.notice-info { background: var(--navy-50); color: var(--navy-700); border: 1px solid var(--navy-100); }
.notice-warn { background: var(--brass-100); color: var(--brass-700); border: 1px solid var(--brass-300); }
.notice-error { background: #FDECEC; color: var(--engine-700); border: 1px solid #F2A0A0; }
.notice-success { background: #E8F6EE; color: #1E6B3E; border: 1px solid #A9DEBF; }

/* --- Booking policy modal --- */
.policy-modal[hidden] { display: none !important; }
.policy-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.policy-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(5,15,29,0.65);
}
.policy-modal-card {
  position: relative; z-index: 1;
  width: 100%; max-width: 560px; max-height: min(88vh, 720px);
  overflow: auto;
  background: #fff; border-radius: var(--radius);
  padding: 28px 28px 22px;
  box-shadow: var(--shadow-badge);
}
.policy-modal-body {
  border: 1px solid var(--navy-100);
  border-radius: 10px;
  background: var(--foam);
  padding: 16px 18px;
  margin: 14px 0 18px;
}
.policy-modal-body h3 {
  font-size: 0.95rem;
  margin: 14px 0 6px;
  color: var(--navy-700);
}
.policy-modal-body h3:first-child { margin-top: 0; }
.policy-modal-body p {
  margin: 0 0 4px;
  font-size: 0.92rem;
  color: #3a4450;
  line-height: 1.45;
}
.policy-agree {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.92rem; color: var(--navy-700); cursor: pointer;
}
.policy-agree input { width: auto; margin-top: 3px; flex-shrink: 0; }
.policy-modal-actions {
  display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap;
  margin-top: 18px;
}

/* --- Calendar --- */
.calendar { max-width: 420px; }
.cal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.cal-header button { background: var(--navy-700); color: #fff; border: none; width: 34px; height: 34px; border-radius: 8px; cursor: pointer; font-size: 1.1rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-grid .dow { font-size: 0.68rem; color: #7a8390; font-family: var(--font-display); padding-bottom: 4px; }
.cal-day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 8px;
  font-size: 0.85rem; cursor: pointer; border: 1.5px solid transparent; background: var(--foam);
}
.cal-day.empty { background: transparent; cursor: default; }
.cal-day.past { color: #c3c9cf; background: transparent; cursor: not-allowed; }
.cal-day.booked { background: #FDECEC; color: #c3c9cf; text-decoration: line-through; cursor: not-allowed; }
.cal-day.blocked { background: #EFEFEF; color: #c3c9cf; cursor: not-allowed; }
.cal-day.lead,
.cal-day.horizon { background: #F5F1E6; color: #a89878; cursor: not-allowed; }
.cal-day.unavailable { background: #F5F1E6; color: #cbbfa0; cursor: not-allowed; }
.cal-day.open.partial { background: #E8F4EC; }
.cal-day.open:hover { border-color: var(--brass-400); }
.cal-day.selected { background: var(--brass-400); color: var(--navy-900); font-weight: 700; }
.cal-day.has-left {
  flex-direction: column;
  gap: 1px;
  line-height: 1.05;
  padding: 2px 1px;
}
.cal-day .cal-left {
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0;
  color: #1E6B3E;
  text-decoration: none;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cal-day.selected .cal-left { color: inherit; }
.cal-legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 14px; font-size: 0.78rem; color: #5B6672; }
.cal-legend .sw { width: 12px; height: 12px; border-radius: 3px; display: inline-block; margin-right: 5px; vertical-align: -1px; }

.coupon-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.coupon-row input { flex: 1; min-width: 0; }
.coupon-row .btn { flex-shrink: 0; white-space: nowrap; }
.booking-total-box .flex-between { margin-bottom: 4px; }
.booking-total-box .flex-between:last-of-type { margin-bottom: 0; }

/* --- Footer --- */
.site-footer { position: relative; overflow: hidden; background: var(--navy-900); color: var(--navy-100); padding: 56px 0 28px; }
.site-footer h4 { color: var(--cream); font-size: 0.95rem; }
.site-footer a { color: var(--navy-100); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-bottom { position: relative; z-index: 1; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.8rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* --- Admin shell --- */
.admin-shell { display: flex; min-height: 100vh; background: var(--foam); }
.admin-sidebar { width: 230px; background: var(--navy-800); color: var(--cream); flex-shrink: 0; padding: 22px 0; }
.admin-sidebar .brand { padding: 0 20px 20px; }
.admin-sidebar nav a {
  display: block; padding: 11px 20px; color: var(--navy-100); text-decoration: none; font-size: 0.92rem;
  border-left: 3px solid transparent;
}
.admin-sidebar nav a:hover { background: rgba(255,255,255,0.06); }
.admin-sidebar nav a.active { background: rgba(255,255,255,0.08); border-left-color: var(--brass-400); color: #fff; font-weight: 600; }
.admin-main { flex: 1; padding: 32px 40px; max-width: 1100px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.admin-card { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-soft); margin-bottom: 24px; }
table.admin-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
table.admin-table th { text-align: left; font-family: var(--font-display); letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.72rem; color: #7a8390; padding: 8px 10px; border-bottom: 2px solid var(--foam); }
table.admin-table td { padding: 10px; border-bottom: 1px solid var(--foam); vertical-align: middle; }
.status-tag { padding: 3px 9px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; }
.status-confirmed { background: #E8F6EE; color: #1E6B3E; }
.status-pending_payment { background: var(--brass-100); color: var(--brass-700); }
.status-pending_admin { background: #E8EEF8; color: #1D4272; }
.status-cancelled { background: #F0F0F0; color: #5C6670; }
.status-cancelled { background: #F1F1F1; color: #8a8f96; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-bottom: 28px; }
@media (max-width: 900px) { .admin-stat-grid { grid-template-columns: repeat(2,1fr); } .admin-main { padding: 24px 18px; } .admin-shell { flex-direction: column; } .admin-sidebar { width: 100%; } }
.admin-stat { background: #fff; border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-soft); }
.admin-stat .num { font-family: var(--font-display); font-size: 1.8rem; color: var(--navy-700); }
.admin-stat .label { font-size: 0.78rem; color: #7a8390; text-transform: uppercase; letter-spacing: 0.04em; }
.thumb-sm { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; background: var(--navy-700); }
.upload-drop {
  border: 2px dashed var(--navy-100); border-radius: var(--radius); padding: 30px; text-align: center; color: #7a8390; cursor: pointer;
}
.upload-drop.drag { border-color: var(--brass-400); background: var(--brass-100); }
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--navy-700); }
.login-card { background: #fff; border-radius: var(--radius); padding: 40px; width: 100%; max-width: 380px; box-shadow: var(--shadow-badge); }
.icon-btn { background: none; border: 1px solid var(--navy-100); border-radius: 8px; padding: 6px 12px; cursor: pointer; font-size: 0.85rem; }
.icon-btn:hover { background: var(--foam); }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.day-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.day-chip {
  display: flex; align-items: center; gap: 5px; font-size: 0.78rem; font-family: var(--font-body);
  text-transform: none; letter-spacing: 0; color: var(--navy-700); background: var(--foam);
  border: 1px solid var(--navy-100); border-radius: 999px; padding: 5px 12px 5px 8px; cursor: pointer;
}
.day-chip input { width: auto; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }

/* --- Admin availability page --- */
.avail-trip-list { display: flex; flex-direction: column; gap: 14px; margin: 18px 0; }
.avail-trip-row {
  border: 1px solid var(--navy-100);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: var(--foam);
}
.avail-trip-row.is-off { opacity: 0.55; }
.avail-trip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.avail-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  margin: 0;
  font-weight: 600;
  color: var(--navy-800);
}
.avail-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.avail-switch-ui {
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #c3c9cf;
  position: relative;
  flex-shrink: 0;
  transition: background 0.15s ease;
}
.avail-switch-ui::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  transition: transform 0.15s ease;
}
.avail-switch input:checked + .avail-switch-ui { background: #2e7d32; }
.avail-switch input:checked + .avail-switch-ui::after { transform: translateX(18px); }
.avail-trip-name { font-family: var(--font-display); letter-spacing: 0.02em; font-size: 1.05rem; }
.avail-trip-meta { font-size: 0.78rem; }
.avail-trip-days { display: flex; flex-wrap: wrap; gap: 6px; }
button.avail-day-chip {
  border: 1px solid var(--navy-100);
  background: #fff;
  color: #7a8390;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.78rem;
  cursor: pointer;
  font-family: var(--font-body);
  position: relative;
  z-index: 1;
  min-width: 2.4rem;
  touch-action: manipulation;
}
button.avail-day-chip:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button.avail-day-chip.is-on {
  background: var(--navy-700);
  border-color: var(--navy-700);
  color: #fff;
  font-weight: 600;
}
button.avail-day-chip:hover:not(:disabled) { border-color: var(--brass-400); }
.avail-cal-layout {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 800px) {
  .avail-cal-layout { grid-template-columns: 1fr; }
}
.avail-day-panel {
  background: var(--foam);
  border-radius: var(--radius);
  padding: 18px;
  min-height: 120px;
}
.avail-month-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}
.day-trip-editor {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--navy-100);
}
.day-trip-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.avail-trip-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 0.9rem;
  cursor: pointer;
}
.avail-trip-check input { width: auto; margin: 0; }
.admin-cal-day.is-toggleable {
  cursor: pointer !important;
  text-decoration: none;
}
.admin-cal-day.open.is-toggleable {
  background: #E8F5E9;
  border-color: #A5D6A7;
  color: var(--navy-800);
}
.admin-cal-day.partial {
  background: #E8F4EC;
  border-color: #8FBF9A;
  cursor: pointer !important;
  text-decoration: none;
}
.admin-cal-day.blocked.is-toggleable,
.admin-cal-day.unavailable.is-toggleable {
  background: #EFEFEF;
  color: #7a8390;
  cursor: pointer !important;
}
.admin-cal-day.lead,
.admin-cal-day.horizon {
  background: #F5F1E6;
  color: #a89878;
  cursor: pointer !important;
}
.admin-cal-day.is-busy { opacity: 0.5; pointer-events: none; }
.admin-cal-day.booked { cursor: pointer !important; text-decoration: none; }
.admin-cal-day.is-selected {
  outline: 2px solid var(--brass-400);
  outline-offset: 1px;
  z-index: 1;
}
#adminCalendar.is-loading {
  opacity: 0.65;
  pointer-events: none;
}
#adminCalendar .cal-header button:disabled {
  opacity: 0.4;
}

/* --- Sponsors (logo wall — never let one upload fill the page) --- */
.sponsors-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-800);
  color: var(--cream);
  padding: 56px 0 48px;
  text-align: center;
}
.sponsors-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(168, 124, 42, 0.28), transparent 55%),
    linear-gradient(160deg, var(--navy-700) 0%, var(--navy-900) 100%);
  pointer-events: none;
}
.sponsors-hero-inner { position: relative; z-index: 1; max-width: 640px; }
.sponsors-brand {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--brass-300);
  margin: 0 0 10px;
}
.sponsors-hero h1 {
  color: var(--cream);
  margin-bottom: 12px;
}
.sponsors-lede {
  margin: 0 auto;
  max-width: 420px;
  color: var(--navy-100);
  font-size: 1.05rem;
}
.sponsors-section {
  background:
    linear-gradient(180deg, #E8EEF4 0%, var(--cream) 42%, var(--cream) 100%);
}
.sponsor-wall {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 20px 24px;
  max-width: 920px;
  margin: 0 auto;
}
.sponsor-wall.is-single {
  max-width: 320px;
}
.sponsor-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(100%, 260px);
  height: 150px;
  padding: 22px 24px 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(11, 37, 69, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.sponsor-mark:hover {
  transform: translateY(-2px);
  border-color: rgba(168, 124, 42, 0.45);
  background: #fff;
}
.sponsor-mark img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
  object-position: center;
}
.sponsor-wall.is-single .sponsor-mark img {
  max-height: 80px;
}
.sponsor-mark-name {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  color: var(--navy-500);
}
.sponsor-fallback {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.1rem;
  color: var(--navy-700);
  text-align: center;
}
.sponsors-empty {
  text-align: center;
  max-width: 420px;
  margin: 0 auto;
}
.sponsors-empty a { color: var(--engine-500); text-decoration: underline; }
.sponsors-cta {
  text-align: center;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(11, 37, 69, 0.1);
}
.sponsors-cta p {
  margin: 0 0 16px;
  color: #5B6672;
}

.sponsor-logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 22px;
}
.sponsor-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 170px;
  height: 100px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(11, 37, 69, 0.08);
  text-decoration: none;
  color: inherit;
}
.sponsor-logo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 52px;
  object-fit: contain;
}
.sponsor-logo .sponsor-name,
.sponsor-logo .sponsor-fallback {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.7rem;
  color: var(--navy-500);
  text-align: center;
}

/* --- Mobile polish --- */
.booking-layout { align-items: flex-start; }
.booking-lede { max-width: 36rem; margin-left: auto; margin-right: auto; }
.calendar { width: 100%; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll .admin-table { min-width: 720px; }

@media (max-width: 720px) {
  .section { padding: 48px 0; }
  .section-tight { padding: 28px 0; }
  .container { padding: 0 16px; }
  h1 { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .hero { min-height: min(78vh, 680px); align-items: flex-end; padding-bottom: 40px; }
  .hero-content { padding: 72px 0 0; }
  .hero-brand-name { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .hero-headline { max-width: none; }
  .hero-content .lede { font-size: 1.02rem; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1 1 auto; text-align: center; justify-content: center; }
  .form-row { flex-direction: column; gap: 0; }
  .form-row .field { min-width: 0; width: 100%; }
  .booking-cal-card,
  .booking-form-card,
  .admin-card { padding: 16px; }
  .booking-section .grid { gap: 16px; }
  .cal-day { font-size: 0.8rem; border-radius: 7px; }
  .cal-header button { width: 40px; height: 40px; }
  .cal-legend { gap: 10px 14px; font-size: 0.72rem; }
  .policy-modal { padding: 12px; align-items: flex-end; }
  .policy-modal-card {
    padding: 18px 16px 16px;
    max-height: min(92vh, 720px);
    border-radius: 14px 14px 10px 10px;
  }
  .policy-modal-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .policy-modal-actions .btn { width: 100%; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .admin-main { padding: 18px 14px; }
  .admin-stat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .admin-topbar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .avail-month-actions .btn { flex: 1 1 auto; }
  .badge-strip { gap: 12px 18px; margin-top: 22px; padding-top: 16px; }
  .stat-row { gap: 20px; }
  .stat .num { font-size: 1.8rem; }
  .sponsor-wall { gap: 16px; }
  .sponsor-mark { width: min(100%, 240px); height: 130px; padding: 18px 20px; }
  .sponsor-logo-row { gap: 14px; }
  .sponsor-logo { width: 150px; height: 88px; padding: 12px 14px; }
}

@media (max-width: 420px) {
  .nav-wrap { padding: 10px 14px; }
  .brand-wordmark { height: 40px; max-width: min(160px, 46vw); }
  .cal-grid { gap: 3px; }
  .btn { padding: 12px 16px; }
}

