:root {
  /* Brand — LRPA lime family */
  --primary: #b2dd4c;
  --primary-deep: #8fbf2a;
  --primary-soft: color-mix(in srgb, var(--primary) 22%, white);
  --primary-ink: #24300a;

  /* Surfaces */
  --bg: #f3f5ef;
  --bg-accent: #e8efd8;
  --surface: #ffffff;
  --inverse: #1a2214;
  --fg: #1a2214;
  --muted: #4a5548;
  --border: #d5dccb;
  --danger: #b42318;
  --focus: #1a2214;

  /* Type */
  --font-display: "Syne", "Raleway", system-ui, sans-serif;
  --font: "Raleway", system-ui, sans-serif;
  --fs-xs: 0.78rem;
  --fs-sm: 0.9rem;
  --fs-md: 1.05rem;
  --fs-lg: clamp(1.35rem, 2.4vw, 1.75rem);
  --fs-xl: clamp(1.75rem, 3.5vw, 2.5rem);
  --fs-hero: clamp(2.25rem, 5.5vw, 3.75rem);
  --lh-tight: 1.1;
  --lh-body: 1.65;
  --measure: 42rem;

  /* Space / chrome */
  --space-1: 0.35rem;
  --space-2: 0.75rem;
  --space-3: 1.25rem;
  --space-4: 2rem;
  --space-5: 3.5rem;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 14px 40px rgba(26, 34, 20, 0.08);
  --max: 72rem;
  --header-h: 5.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* Shared menu type — top links, summaries, flyouts, mobile drawer */
  --nav-font: var(--font);
  --nav-size: var(--fs-sm);
  --nav-weight: 600;
  --nav-tracking: 0;
  --nav-color: var(--muted);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: var(--fs-md);
  line-height: var(--lh-body);
  color: var(--fg);
  background:
    radial-gradient(1000px 520px at 8% -8%, rgba(178, 221, 76, 0.32), transparent 58%),
    radial-gradient(800px 420px at 100% 0%, rgba(26, 34, 20, 0.05), transparent 48%),
    linear-gradient(180deg, var(--bg-accent) 0%, var(--bg) 28rem, var(--bg) 100%);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--inverse); color: #fff; padding: 0.65rem 1rem;
  border-radius: var(--radius-sm); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* Motion — intentional page-load + scroll presence */
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes softPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(178, 221, 76, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(178, 221, 76, 0); }
}
.hero .eyebrow,
.hero h1,
.hero p,
.hero .cta-row {
  opacity: 0;
}
body.is-ready .hero .eyebrow { animation: rise 0.7s var(--ease) 0.08s both; }
body.is-ready .hero h1 { animation: rise 0.75s var(--ease) 0.16s both; }
body.is-ready .hero p { animation: rise 0.75s var(--ease) 0.26s both; }
body.is-ready .hero .cta-row { animation: rise 0.7s var(--ease) 0.38s both; }

.page-hero .wrap,
.section > .wrap,
.site-foot .wrap {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.65s var(--ease),
    transform 0.65s var(--ease);
}
.page-hero .wrap.is-in,
.section > .wrap.is-in,
.site-foot .wrap.is-in,
body.is-ready .page-hero .wrap,
body.is-ready .section > .wrap.is-in,
body.is-ready .site-foot .wrap.is-in {
  opacity: 1;
  transform: none;
}

.towns {
  display: flex; flex-wrap: wrap; gap: 0.45rem 0.85rem;
  margin: 1.15rem 0 0; padding: 0; list-style: none;
  font-size: var(--fs-sm); font-weight: 600; color: var(--muted);
  letter-spacing: 0.01em;
}
.towns li {
  position: relative; padding-left: 0.85rem;
}
.towns li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 0.35rem; height: 0.35rem; border-radius: 50%;
  background: var(--primary-deep);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero .eyebrow, .hero h1, .hero p, .hero .cta-row,
  .page-hero .wrap, .section > .wrap, .site-foot .wrap {
    opacity: 1 !important; transform: none !important;
  }
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px) saturate(1.1);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 85%, transparent);
  animation: fade-in 0.55s var(--ease) both;
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: var(--header-h); padding: 0.65rem 0;
}
.brand {
  display: inline-flex; align-items: center;
  text-decoration: none; flex-shrink: 0;
  max-width: min(22rem, 52vw);
  line-height: 0;
  /* Logo lockup is white-on-black — sit it on an intentional dark pill */
  background: #000;
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.55rem;
}
.brand-logo {
  display: block;
  width: auto;
  height: clamp(2.75rem, 5.2vw, 3.85rem);
  max-width: 100%;
  object-fit: contain;
}

.nav-toggle {
  display: none; border: 1px solid var(--border); background: var(--surface);
  border-radius: var(--radius-sm); width: 44px; height: 44px; cursor: pointer;
  flex-shrink: 0;
}
.nav-backdrop { display: none; }
.header-tools {
  display: flex; align-items: center; gap: 0.75rem; flex: 1; justify-content: flex-end;
  min-width: 0;
}
.nav {
  display: flex; flex-wrap: nowrap; gap: 0.1rem 0.7rem;
  align-items: center; justify-content: flex-end;
}
.nav,
.nav > a,
.nav summary,
.nav details .flyout a,
.nav details .flyout-label {
  font-family: var(--nav-font);
  font-size: var(--nav-size);
  font-weight: var(--nav-weight);
  letter-spacing: var(--nav-tracking);
  color: var(--nav-color);
}
.nav > a {
  text-decoration: none;
  padding: 0.45rem 0; border-bottom: 2px solid transparent; min-height: 44px;
  display: inline-flex; align-items: center; white-space: nowrap;
}
.nav > a:hover, .nav > a[aria-current="page"] {
  color: var(--fg); border-bottom-color: var(--primary);
}
.nav > a.nav-cta {
  margin-left: 0.35rem; padding: 0 0.95rem; border-bottom: 0;
  min-height: 40px; border-radius: 999px;
  background: var(--primary); color: var(--primary-ink);
  gap: 0.4rem;
  transition: background 0.15s var(--ease), transform 0.15s var(--ease);
}
.nav > a.nav-cta:hover,
.nav > a.nav-cta[aria-current="page"] {
  background: var(--primary-deep); color: var(--primary-ink);
  border-bottom-color: transparent; transform: translateY(-1px);
}
.nav > a.nav-cta .live-dot { width: 0.45rem; height: 0.45rem; }
.nav details { position: relative; z-index: 1; }
.nav details[open] { z-index: 40; }
.nav summary {
  list-style: none; cursor: pointer;
  min-height: 44px; display: inline-flex; align-items: center;
  padding: 0.45rem 0; white-space: nowrap;
}
.nav summary::-webkit-details-marker { display: none; }
.nav summary::after {
  content: ""; width: 0.35rem; height: 0.35rem; margin-left: 0.4rem;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); opacity: 0.7;
}
.nav details[open] summary,
.nav summary[data-current="true"] { color: var(--fg); }
html.nav-open { overflow: hidden; }
.nav details .flyout {
  position: absolute; right: 0; top: calc(100% + 0.45rem); z-index: 50;
  min-width: 15.5rem; width: max-content; max-width: min(22rem, calc(100vw - 2rem));
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0.45rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: stretch; gap: 0.1rem;
}
.nav details .flyout-label {
  margin: 0.35rem 0.75rem 0.05rem; padding: 0.35rem 0 0;
  /* Same type system as links; slightly softer only */
  color: color-mix(in srgb, var(--nav-color) 78%, transparent);
  text-transform: none; border-top: 1px solid var(--border);
}
.nav details .flyout a {
  display: block; width: 100%; box-sizing: border-box;
  text-decoration: none;
  padding: 0.65rem 0.75rem; border: 0; border-radius: var(--radius-sm);
  white-space: normal; line-height: 1.35;
}
.nav details .flyout a:hover,
.nav details .flyout a[aria-current="page"] {
  color: var(--fg); background: var(--primary-soft);
}

/* Hero — media-first, brand signal */
.hero {
  position: relative; overflow: hidden;
  min-height: min(78vh, 40rem);
  display: grid; align-items: end;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(26,34,20,0.2), rgba(26,34,20,0.86)),
    url("/wp-content/uploads/2015/11/slide1.jpg") center/cover no-repeat,
    var(--inverse);
}
.hero .wrap { padding: 4.75rem 0 3.5rem; }
.hero .eyebrow {
  display: inline-block; font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary);
  margin-bottom: 0.85rem; font-family: var(--font-display);
}
.hero h1 {
  margin: 0; font-family: var(--font-display);
  font-size: var(--fs-hero); letter-spacing: -0.045em; line-height: var(--lh-tight);
  max-width: 12ch; font-weight: 700;
}
.hero p {
  margin: 1.1rem 0 0; max-width: 34rem; font-size: 1.08rem; line-height: 1.55;
  color: color-mix(in srgb, #fff 88%, transparent);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  min-height: 48px; padding: 0 1.25rem; border-radius: 999px; border: 0;
  background: var(--primary); color: var(--primary-ink); font-weight: 700;
  text-decoration: none; cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.15s var(--ease);
}
.btn:hover { background: var(--primary-deep); transform: translateY(-1px); }
.btn.ghost {
  background: transparent; color: #fff;
  border: 1px solid color-mix(in srgb, #fff 50%, transparent);
}
.btn.ghost:hover { background: color-mix(in srgb, #fff 12%, transparent); }
.live-dot {
  width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #ff4d4d;
  animation: softPulse 1.8s ease infinite;
}

/* Sections */
.section { padding: var(--space-5) 0; }
.section h2 {
  margin: 0; font-family: var(--font-display);
  font-size: var(--fs-lg); letter-spacing: -0.03em; line-height: var(--lh-tight);
}
.section .lead {
  margin: 0.65rem 0 0; color: var(--muted); max-width: var(--measure); line-height: 1.55;
}
.prose {
  margin-top: 1.35rem; max-width: var(--measure);
  line-height: var(--lh-body); color: var(--fg);
}
.prose p { margin: 0 0 1.05rem; }
.prose p:last-child { margin-bottom: 0; }
.prose ul { padding-left: 1.2rem; }

.media-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.85rem;
}
.media-strip a {
  position: relative; display: block; min-height: 11.5rem; border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: #fff;
  background: var(--inverse) center/cover no-repeat;
  opacity: 0; transform: translateY(12px);
  transition:
    opacity 0.55s var(--ease),
    transform 0.55s var(--ease),
    box-shadow 0.2s var(--ease);
}
.media-strip.is-in a { opacity: 1; transform: none; }
.media-strip.is-in a:nth-child(2) { transition-delay: 0.08s; }
.media-strip.is-in a:nth-child(3) { transition-delay: 0.16s; }
.media-strip a:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.media-strip.is-in a:hover { transform: translateY(-3px); }
.media-strip a::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(26,34,20,0.88));
}
.media-strip span {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1;
  font-weight: 700; font-family: var(--font-display); letter-spacing: -0.02em;
}

.site-foot {
  background: var(--inverse); color: #fff;
  padding: 2.75rem 0 calc(2.25rem + env(safe-area-inset-bottom));
  margin-top: 2.5rem;
}
.site-foot .note { color: color-mix(in srgb, #fff 68%, transparent); font-size: var(--fs-sm); }
.site-foot a { color: var(--primary); font-weight: 700; text-decoration: none; }

.page-hero {
  padding: 2.75rem 0 1.4rem; border-bottom: 1px solid var(--border);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 28%, white), var(--bg-accent));
}
.page-hero h1 {
  margin: 0; font-family: var(--font-display);
  font-size: var(--fs-xl); letter-spacing: -0.035em; line-height: var(--lh-tight);
}
.page-hero .lead { margin: 0.65rem 0 0; max-width: var(--measure); color: var(--muted); }

.link-list { display: grid; gap: 0.55rem; margin-top: 1.35rem; }
.link-list a {
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  min-height: 48px; padding: 0.85rem 1rem; border: 1px solid var(--border);
  border-radius: var(--radius); background: var(--surface);
  text-decoration: none; font-weight: 600;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.link-list a:hover {
  border-color: var(--primary-deep);
  background: color-mix(in srgb, var(--primary) 10%, white);
}

/* Media / VOD */
.vod-toolbar {
  display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center;
  margin: 1.25rem 0 1rem;
}
.vod-toolbar input {
  flex: 1; min-width: 12rem; height: 48px; border-radius: 999px;
  border: 1px solid var(--border); padding: 0 1.1rem; background: var(--surface);
}
.vod-filters {
  display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center;
  margin: 0 0 1rem;
}
.vod-filters select {
  height: 44px; border-radius: 999px; border: 1px solid var(--border);
  padding: 0 1rem; background: var(--surface);
}
.vod-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1rem;
}
.vod-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: inherit; display: flex; flex-direction: column;
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.vod-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.vod-card .thumb {
  aspect-ratio: 16/9; background: #111 center/cover no-repeat; position: relative;
}
.vod-card .meta { padding: 0.9rem 1rem 1.05rem; }
.vod-card .meta strong {
  display: block; font-size: 0.98rem; letter-spacing: -0.01em;
  font-family: var(--font-display);
}
.vod-card .meta span {
  display: block; margin-top: 0.3rem; color: var(--muted); font-size: 0.82rem;
}

.player-shell {
  background: #000; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9;
  position: relative;
}
.player-shell video { width: 100%; height: 100%; display: block; background: #000; }

/* Watch page — YouTube-like: queue | player + description */
.watch-section { padding-top: var(--space-3); }
.watch-back {
  margin: 0 0 1rem; font-size: var(--fs-sm); font-weight: 600;
}
.watch-back a { color: var(--muted); text-decoration: none; }
.watch-back a:hover { color: var(--fg); }
.watch-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 22rem) minmax(0, 1fr);
  gap: 1.25rem 1.5rem;
  align-items: start;
}
.watch-queue {
  order: 1;
  position: sticky; top: calc(var(--header-h) + 0.75rem);
  max-height: calc(100dvh - var(--header-h) - 1.5rem);
  display: flex; flex-direction: column; min-height: 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0.75rem;
}
.watch-queue-heading {
  margin: 0 0 0.55rem; font-family: var(--font-display);
  font-size: 1rem; letter-spacing: -0.02em;
}
.watch-queue-list {
  overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 0.35rem;
  min-height: 0; flex: 1;
}
.watch-queue-item {
  display: grid; grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 0.65rem; align-items: center;
  text-decoration: none; color: inherit;
  padding: 0.35rem; border-radius: var(--radius-sm);
  border: 1px solid transparent;
}
.watch-queue-item:hover,
.watch-queue-item.is-active {
  background: var(--primary-soft); border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
}
.watch-queue-item .thumb {
  aspect-ratio: 16/9; border-radius: 6px;
  background: #111 center/cover no-repeat;
}
.watch-queue-item .body strong {
  display: block; font-size: 0.88rem; font-weight: 600;
  line-height: 1.3; font-family: var(--font);
}
.watch-queue-item .body span {
  display: block; margin-top: 0.2rem; color: var(--muted); font-size: 0.78rem;
}
.watch-main { order: 2; min-width: 0; }
.watch-info { margin-top: 1rem; }
.watch-info h1 {
  margin: 0; font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: -0.03em; line-height: var(--lh-tight);
}
.watch-meta {
  margin: 0.55rem 0 0; color: var(--muted);
  font-size: var(--fs-sm); font-weight: 600;
}
.watch-desc { margin-top: 0.85rem; max-width: 48rem; }
.watch-desc p { margin: 0 0 0.65rem; }

@media (max-width: 900px) {
  .watch-layout {
    grid-template-columns: 1fr;
  }
  .watch-main { order: 1; }
  .watch-queue {
    order: 2;
    position: static;
    max-height: min(28rem, 55dvh);
  }
}
.live-player-shell .unmute-btn {
  position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%);
  z-index: 2; min-height: 44px; padding: 0 1.15rem; border: 0; border-radius: 999px;
  background: var(--primary); color: var(--primary-ink); font-weight: 700; cursor: pointer;
  box-shadow: var(--shadow);
}
.live-player-shell .unmute-btn:hover { background: var(--primary-deep); }

.live-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem; margin-top: 1.25rem;
}
.live-card {
  border: 0; border-radius: var(--radius);
  overflow: hidden; background: var(--surface);
  /* Soft edge — avoid dark hairline borders */
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--border) 55%, transparent);
  cursor: pointer;
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.live-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--border) 40%, transparent),
    var(--shadow);
}
.live-card.is-active {
  box-shadow:
    0 0 0 3px var(--primary),
    0 0 0 7px color-mix(in srgb, var(--primary) 40%, transparent),
    0 0 22px color-mix(in srgb, var(--primary) 55%, transparent),
    0 10px 28px color-mix(in srgb, var(--primary-deep) 18%, transparent);
}
.live-card.is-offline { opacity: 0.72; cursor: not-allowed; }
.live-card .thumb {
  aspect-ratio: 16/9;
  border: 0; outline: 0; box-shadow: none;
  /* Soft fill (not #111) so missing thumbs don’t show a black edge */
  background-color: var(--bg-accent);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  /* Slight overscan hides 1px black frames baked into Castus thumbs */
  background-size: 102% 102%;
}
.live-card .body { padding: 0.95rem 1rem 1.15rem; position: relative; }
.live-card .body strong { display: block; font-family: var(--font-display); }
.live-card .body .detail { color: var(--muted); font-size: 0.85rem; }
.live-card .live-badge {
  display: inline-block; margin-top: 0.55rem; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--primary-ink);
  background: var(--primary); padding: 0.2rem 0.55rem; border-radius: 999px;
}
.live-card.is-active .live-badge { display: inline-block; }
.live-card:not(.is-active) .live-badge { display: none !important; }
.live-now { margin: 0 0 0.75rem; font-weight: 700; color: var(--fg); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.band { background: var(--primary); color: var(--primary-ink); }
.band .wrap {
  display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
  padding: 0.7rem 0; font-weight: 700;
}
.signout { color: var(--fg); text-decoration: none; font-size: 0.85rem; }
.gate-main { display: grid; place-items: center; min-height: 60vh; padding: 2rem 0; }
.gate {
  width: min(26rem, 100%); background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
}
.gate h1 { margin: 0 0 0.4rem; font-size: 1.35rem; font-family: var(--font-display); }
.gate .hint { color: var(--muted); margin: 0 0 1rem; line-height: 1.45; }
.gate label { display: block; font-size: 0.75rem; font-weight: 700; margin-bottom: 0.4rem; }
.gate input {
  width: 100%; height: 52px; border-radius: var(--radius-sm); border: 1px solid var(--border);
  text-align: center; letter-spacing: 0.3em; font-size: 1.25rem; font-weight: 700;
}
.gate .btn { width: 100%; margin-top: 0.85rem; border-radius: var(--radius-sm); }
.err { color: var(--danger); font-weight: 700; margin: 0.75rem 0 0; }
.status { color: var(--muted); margin: 0.5rem 0 1rem; }
.archive { padding: 1.5rem 0 3rem; }
dialog {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 0.75rem;
  width: min(72rem, calc(100vw - 1.5rem)); background: var(--surface);
}
dialog::backdrop { background: rgba(26, 34, 20, 0.55); }
dialog video {
  width: 100%; aspect-ratio: 16/9; background: #000; margin-top: 0.5rem;
  border-radius: var(--radius-sm);
}
.dlg-head { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.close { border: 0; background: transparent; font-size: 1.4rem; color: var(--muted); cursor: pointer; }

/* Shared contact / producer forms */
.lrpa-form {
  margin-top: 2rem;
  max-width: 36rem;
  display: grid;
  gap: 0.9rem;
  padding: 1.35rem 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.lrpa-form h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}
.lrpa-form .hint {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.lrpa-form label {
  display: grid;
  gap: 0.35rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.lrpa-form .req::after { content: " *"; color: var(--danger); }
.lrpa-form input,
.lrpa-form select,
.lrpa-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  background: var(--bg);
  color: var(--fg);
  min-height: 48px;
}
.lrpa-form textarea { min-height: 8.5rem; resize: vertical; }
.lrpa-form .hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.lrpa-form .form-actions {
  display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center;
}
#lrpa-form-status[data-kind="success"] { color: #2e7d32; font-weight: 700; }
#lrpa-form-status[data-kind="error"] { color: var(--danger); font-weight: 700; }
#lrpa-form-status[data-kind="pending"] { color: var(--muted); }

/* Keep one-row desktop nav from ~1024px up; drawer below */
@media (max-width: 1180px) {
  .brand { max-width: min(14.5rem, 40vw); }
  .brand-logo { height: clamp(2.35rem, 4.5vw, 3.1rem); }
  .nav { gap: 0.05rem 0.55rem; }
  .nav > a.nav-cta { padding: 0 0.8rem; }
}

@media (max-width: 1023px) {
  .nav-toggle {
    display: inline-grid; place-items: center; z-index: 60;
  }
  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    display: block; width: 1.1rem; height: 2px; background: var(--fg);
    border-radius: 1px; transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
  }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    content: ""; position: absolute; left: 0;
  }
  .nav-toggle-bars::before { top: -5px; }
  .nav-toggle-bars::after { top: 5px; }
  .site-header.open .nav-toggle-bars { background: transparent; }
  .site-header.open .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
  .site-header.open .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

  .nav-backdrop {
    position: fixed; inset: 0; z-index: 35;
    background: rgba(26, 34, 20, 0.35); opacity: 0; pointer-events: none;
    transition: opacity 0.25s var(--ease);
  }
  .nav-backdrop.is-visible {
    display: block; opacity: 1; pointer-events: auto;
  }

  .nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 0.15rem;
    position: fixed; top: 0; right: 0; z-index: 55;
    width: min(20.5rem, 88vw); height: 100dvh;
    margin: 0; padding: 5rem 1.15rem 1.5rem;
    background: var(--surface); border-left: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateX(104%);
    transition: transform 0.28s var(--ease);
    overflow-y: auto; overscroll-behavior: contain;
  }
  .site-header.open .nav { transform: none; }
  .nav > a { border-bottom: 0; padding: 0.75rem 0.35rem; }
  .nav > a.nav-cta {
    margin: 0.85rem 0 0; justify-content: center; min-height: 48px;
  }
  .nav summary { padding: 0.75rem 0.35rem; width: 100%; }
  .nav details .flyout {
    position: static; box-shadow: none; border: 0; padding: 0.15rem 0 0.4rem 0.7rem;
    width: 100%; max-width: none; min-width: 0;
    display: flex; flex-direction: column;
  }
  .media-strip { grid-template-columns: 1fr; }
  .hero { min-height: 70vh; }
  .hero .wrap { padding-top: 3.25rem; }
  .brand { max-width: min(12.5rem, 58vw); }
  .brand-logo { height: 2.55rem; }
  .lrpa-form { padding: 1.15rem 1rem 1.35rem; }
}
