@import url("https://fonts.googleapis.com/css2?family=Anton&family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
  --bg: #101512;
  --bg-soft: #18201b;
  --panel: #f4f6f5;
  --panel-2: #e5eae7;
  --panel-dark: #1a251e;
  --ink: #f8faf8;
  --ink-dark: #111713;
  --muted: #aebbb2;
  --muted-dark: #53615a;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(17, 23, 19, 0.15);
  --green: #759879;
  --green-deep: #31583f;
  --green-wash: rgba(95, 139, 102, 0.16);
  --red: #c94f43;
  --gold: #d1a43c;
  --blue: #3b7186;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  --radius: 8px;
  --max: 1180px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: Anton, Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  letter-spacing: 0;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #c7d7a9;
  outline-offset: 3px;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  min-height: 100vh;
  overflow: clip;
  background: linear-gradient(180deg, #0d130f 0%, var(--bg) 42%, #141b17 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 15px max(20px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(13, 20, 16, 0.94);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(117, 152, 121, 0.5);
  border-radius: 7px;
  background: #f4f6f5;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong,
.brand-text {
  display: block;
}

.brand strong {
  font-size: 17px;
  line-height: 1.1;
}

.brand-text {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
}

.main-nav a {
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 10px 11px;
  color: #dde3d7;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  border-color: rgba(117, 152, 121, 0.36);
  background: rgba(117, 152, 121, 0.12);
  color: #f8faf8;
}

.menu-toggle {
  display: none;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
}

.icon-button.menu-toggle {
  display: none;
}

.icon,
.button svg,
.meta svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.page {
  min-height: 75vh;
}

.hero {
  position: relative;
  min-height: 620px;
  padding: 76px max(20px, calc((100vw - var(--max)) / 2)) 52px;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(10, 16, 12, 0.97), rgba(10, 16, 12, 0.78) 52%, rgba(10, 16, 12, 0.38)),
    linear-gradient(180deg, transparent 54%, rgba(16, 21, 18, 0.98) 100%),
    var(--hero-image, none) center right / cover no-repeat;
  opacity: 0.96;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-home {
  display: flex;
  min-height: 590px;
  align-items: flex-end;
}

.hero-home-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}

.hero-home-inner .lead {
  max-width: 650px;
}

.hero-layout {
  display: grid;
  max-width: var(--max);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 42px;
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow::before {
  display: block;
  width: 24px;
  height: 3px;
  background: currentColor;
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(52px, 7vw, 88px);
  line-height: 0.9;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 0.93;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

.lead {
  max-width: 720px;
  color: #d8dfd2;
  font-size: clamp(18px, 2.2vw, 25px);
  line-height: 1.55;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  border-color: rgba(117, 152, 121, 0.72);
  transform: translateY(-1px);
}

.button.primary {
  border-color: #416d4c;
  background: #416d4c;
  color: #ffffff;
}

.button.secondary {
  background: rgba(117, 152, 121, 0.1);
}

.button.red {
  border-color: rgba(201, 79, 67, 0.78);
  background: var(--red);
}

.light .button {
  border-color: rgba(17, 22, 15, 0.18);
  background: rgba(17, 22, 15, 0.07);
  color: var(--ink-dark);
}

.light .button.primary {
  border-color: #31583f;
  background: #31583f;
  color: #ffffff;
}

.light .button.secondary {
  background: #edf1ee;
}

.search-panel {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(14, 22, 16, 0.9);
  box-shadow: var(--shadow);
}

.search-panel h3 {
  font-size: 16px;
  text-transform: uppercase;
}

.search-form {
  display: flex;
  gap: 10px;
  margin: 16px 0 12px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  padding: 13px 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  outline: none;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(117, 152, 121, 0.82);
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill,
.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(117, 152, 121, 0.34);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(117, 152, 121, 0.1);
  color: #e4eadb;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
}

.light .event-card .pill,
.light .event-card .tag,
.light .profile-card .pill,
.light .profile-card .tag,
.light .team-card .pill,
.light .team-card .tag,
.light .row-card .pill,
.light .row-card .tag {
  border-color: #cbd5ce;
  background: #edf1ee;
  color: #243229;
  box-shadow: none;
}

.tag-featured,
.light .event-card .tag-featured,
.light .row-card .tag-featured {
  border-color: #a53e35;
  background: var(--red);
  color: #ffffff;
}

.section {
  padding: 76px max(20px, calc((100vw - var(--max)) / 2));
}

.section.light {
  background: var(--panel);
  color: var(--ink-dark);
}

.section.olive {
  background: #1a2420;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  max-width: var(--max);
  margin: 0 auto 28px;
}

.section-head p {
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.section-head.compact-head {
  align-items: center;
}

.compact-head .button {
  flex: 0 0 auto;
}

.light .section-head p {
  color: var(--muted-dark);
}

.stack {
  display: grid;
  gap: 18px;
  max-width: var(--max);
  margin: 0 auto;
}

.grid {
  display: grid;
  max-width: var(--max);
  margin: 0 auto;
  gap: 18px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.event-card,
.profile-card,
.team-card,
.media-card,
.faq-card,
.panel-card,
.form-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  overflow: hidden;
}

.light .event-card,
.light .profile-card,
.light .team-card,
.light .media-card,
.light .faq-card,
.light .panel-card,
.light .form-card {
  border-color: var(--line-dark);
  background: rgba(255, 255, 255, 0.55);
}

.event-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.event-media {
  position: relative;
  min-height: 168px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(59, 113, 134, 0.72), rgba(12, 18, 14, 0.98)),
    #1d281d;
}

.event-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 196px;
  object-fit: cover;
  opacity: 0.76;
}

.event-media-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  height: 196px;
  place-items: end start;
  padding: 18px;
  background: linear-gradient(145deg, rgba(59, 113, 134, 0.62), rgba(49, 88, 63, 0.9) 46%, rgba(8, 13, 10, 0.96));
}

.event-media-fallback span {
  color: rgba(247, 243, 232, 0.72);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.event-media-fallback strong {
  display: block;
  margin-top: 4px;
  color: #f8faf8;
  font-family: var(--display);
  font-size: 48px;
  font-weight: 400;
  line-height: 0.9;
  text-transform: uppercase;
}

.event-date {
  position: absolute;
  z-index: 3;
  left: 16px;
  top: 16px;
  display: grid;
  min-width: 74px;
  place-items: center;
  border-radius: 7px;
  padding: 10px;
  background: rgba(8, 13, 10, 0.9);
  color: var(--ink);
  text-align: center;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.24);
}

.event-date b {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.event-date span {
  display: block;
  margin-bottom: 5px;
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.event-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
}

.event-body h3 {
  margin: 0;
  font-size: 23px;
}

.event-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.light .event-body p,
.light .profile-card p,
.light .team-card p,
.light .media-card p,
.light .faq-card p,
.light .panel-card p {
  color: var(--muted-dark);
}

.meta-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.meta {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #d6dfd0;
  font-size: 13px;
  line-height: 1.35;
}

.light .meta {
  color: #334033;
}

.event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.event-actions .button {
  min-height: 42px;
  flex: 1 1 auto;
  padding: 10px 12px;
}

.filter-shell {
  display: grid;
  max-width: var(--max);
  margin: 0 auto 26px;
  gap: 12px;
}

.filter-primary {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(108px, 138px) minmax(108px, 138px) auto auto auto;
  gap: 10px;
  align-items: center;
}

.filter-primary input,
.filter-primary select,
.filter-advanced input,
.filter-advanced select {
  min-height: 46px;
}

.filter-toggle svg {
  width: 17px;
  height: 17px;
}

.location-button.is-active {
  border-color: rgba(209, 164, 60, 0.7);
  background: rgba(209, 164, 60, 0.16);
  color: #f3d88f;
}

.location-button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.filter-advanced {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 12px;
  background: rgba(255, 255, 255, 0.045);
}

.filter-advanced .button {
  justify-content: center;
}

.filter-advanced[hidden] {
  display: none;
}

.location-status {
  min-height: 18px;
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.location-status:empty {
  display: none;
}

.schedule-search {
  scroll-margin-top: 74px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px max(20px, calc((100vw - var(--max)) / 2)) 30px;
  background: #19251e;
}

.schedule-search-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.schedule-search-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.schedule-search-head h2 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 54px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  color: #d5ded8;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.text-link svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.schedule-search .filter-shell {
  margin-bottom: 0;
}

.schedule-section {
  padding-top: 38px;
}

.schedule-summary {
  display: flex;
  max-width: var(--max);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto 28px;
}

.schedule-summary strong,
.schedule-summary span {
  display: block;
}

.schedule-summary strong {
  font-size: 18px;
}

.schedule-summary span {
  margin-top: 5px;
  color: var(--muted-dark);
  font-size: 13px;
}

.schedule-month {
  max-width: var(--max);
  margin: 0 auto 34px;
}

.schedule-month-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 3px solid var(--ink-dark);
  padding: 0 2px 10px;
}

.schedule-month-head h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 400;
  text-transform: uppercase;
}

.schedule-month-head span {
  color: var(--muted-dark);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.schedule-list {
  overflow: hidden;
  border: 1px solid #ccd4cf;
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(20, 32, 24, 0.07);
}

.schedule-row {
  display: grid;
  min-height: 116px;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid #dce2de;
  padding: 16px 18px;
  color: var(--ink-dark);
}

.schedule-row:last-child {
  border-bottom: 0;
}

.schedule-row:hover {
  background: #f7f9f8;
}

.schedule-date {
  display: grid;
  width: 72px;
  height: 76px;
  align-content: center;
  border-top: 4px solid var(--green-deep);
  border-radius: 5px;
  background: #e9eeeb;
  text-align: center;
}

.schedule-row[data-code="15s"] .schedule-date {
  border-color: var(--blue);
}

.schedule-row[data-code="beach"] .schedule-date {
  border-color: var(--gold);
}

.schedule-row[data-code="touch"] .schedule-date,
.schedule-row[data-code="tag"] .schedule-date {
  border-color: var(--red);
}

.schedule-date span {
  color: var(--muted-dark);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.schedule-date strong {
  margin-top: 3px;
  font-size: 27px;
  line-height: 1;
}

.schedule-main {
  min-width: 0;
}

.schedule-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 7px;
}

.schedule-kicker .tag {
  border-color: #cbd5ce;
  padding: 5px 8px;
  background: #edf1ee;
  color: #243229;
  font-size: 10px;
}

.schedule-kicker .tag-featured {
  border-color: #a53e35;
  background: var(--red);
  color: #ffffff;
}

.schedule-kicker .schedule-distance {
  border-color: #bfd0d7;
  background: #e7f0f3;
  color: #265669;
}

.schedule-main h3 {
  margin: 0 0 7px;
  font-size: 19px;
}

.schedule-main h3 a:hover {
  color: var(--green-deep);
}

.schedule-main p {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 0;
  color: var(--muted-dark);
  font-size: 12px;
  line-height: 1.4;
}

.schedule-main p span:not(:last-child)::after {
  margin-left: 16px;
  color: #b3bdb7;
  content: "\2022";
}

.schedule-actions {
  display: flex;
  gap: 8px;
}

.schedule-actions .button {
  min-height: 40px;
  padding: 9px 11px;
  font-size: 11px;
}

.format-strip {
  padding: 64px max(20px, calc((100vw - var(--max)) / 2));
  background: #18201b;
}

.format-strip-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.format-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.format-links a {
  display: grid;
  min-height: 124px;
  grid-template-columns: 1fr auto;
  align-content: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px;
}

.format-links strong,
.format-links span {
  grid-column: 1;
}

.format-links strong {
  font-size: 22px;
}

.format-links span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.format-links svg {
  width: 18px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.format-links a:hover {
  background: rgba(255, 255, 255, 0.05);
}

.results-bar {
  max-width: var(--max);
  margin: 0 auto 16px;
  color: var(--muted);
  font-weight: 800;
}

.row-list {
  display: grid;
  max-width: var(--max);
  margin: 0 auto;
  gap: 12px;
}

.row-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.row-thumb {
  width: 96px;
  height: 72px;
  border-radius: 7px;
  object-fit: cover;
  background: var(--panel-dark);
}

.row-card h3 {
  margin-bottom: 5px;
}

.row-card p {
  margin: 0;
  color: var(--muted);
}

.row-actions {
  max-width: 300px;
  justify-content: flex-end;
  margin: 0;
}

.row-actions .button {
  min-height: 40px;
  padding: 9px 11px;
}

.row-thumb-fallback {
  display: grid;
  place-items: center;
  background: #243321;
  color: #eef2e8;
  font-weight: 950;
}

.profile-card,
.team-card,
.media-card,
.faq-card,
.panel-card {
  padding: 20px;
}

.profile-top,
.team-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.avatar {
  display: grid;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: var(--green-deep);
  color: #fff;
  font-weight: 950;
}

.detail-hero {
  padding: 58px max(20px, calc((100vw - var(--max)) / 2));
  background:
    linear-gradient(90deg, rgba(8, 13, 10, 0.98), rgba(8, 13, 10, 0.76)),
    var(--detail-image, none) center / cover no-repeat;
}

.detail-wrap {
  display: grid;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 26px;
}

.detail-main,
.detail-side {
  min-width: 0;
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.detail-main p {
  color: #d8dfd2;
  line-height: 1.65;
}

.fact-grid {
  display: grid;
  width: 100%;
  min-width: 0;
  margin: 16px 0 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.fact-card {
  min-width: 0;
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 10px 11px;
  background: rgba(255, 255, 255, 0.055);
}

.fact-card.is-wide {
  grid-column: span 2;
}

.fact-card span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.fact-card strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.3;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

.rich-description {
  margin: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
}

.rich-description p {
  max-width: 760px;
}

.detail-section {
  margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
}

.detail-section h3 {
  margin-bottom: 10px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: #d8dfd2;
  line-height: 1.55;
}

.check-list li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  content: "";
  transform: translateY(-50%);
}

.detail-side {
  align-self: start;
}

.detail-side .button {
  width: 100%;
  margin-top: 10px;
}

.detail-resources {
  display: grid;
  margin-top: 24px;
  gap: 14px;
}

.resource-list {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.resource-list h3 {
  margin: 0 0 3px;
  font-size: 15px;
  text-transform: uppercase;
}

.resource-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-radius: 6px;
  padding: 9px 10px;
  background: rgba(59, 113, 134, 0.14);
  color: #eef2e8;
  font-size: 13px;
  font-weight: 850;
}

.resource-list a svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.resource-list a:hover {
  background: rgba(59, 113, 134, 0.24);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.split {
  display: grid;
  max-width: var(--max);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
}

.form-card label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--ink-dark);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.form-grid {
  display: grid;
  gap: 0 12px;
}

.form-grid.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid .field-wide {
  grid-column: 1 / -1;
}

.check-field,
.form-card label.check-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted-dark);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  text-transform: none;
}

.check-field input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin: 1px 0 0;
  accent-color: var(--green-deep);
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-status {
  min-height: 20px;
  margin: 0 0 12px;
  color: var(--muted-dark);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
}

.form-status a {
  text-decoration: underline;
}

.form-card.has-error .form-status {
  color: #8a271f;
}

.form-card button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.business-split {
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
}

.conversion-card {
  position: sticky;
  top: 100px;
}

.conversion-card h3 {
  font-size: 25px;
}

.intent-links {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.intent-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line-dark);
  border-radius: 7px;
  padding: 12px;
  background: rgba(49, 76, 47, 0.08);
  color: var(--ink-dark);
  font-size: 13px;
  font-weight: 850;
}

.intent-links svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.selected-event {
  display: grid;
  gap: 4px;
  margin-bottom: 16px;
  border: 1px solid rgba(49, 76, 47, 0.24);
  border-radius: 7px;
  padding: 13px;
  background: #edf1ee;
  color: var(--ink-dark);
}

.selected-event span {
  color: var(--muted-dark);
  font-size: 13px;
  line-height: 1.4;
}

.form-card input,
.form-card select,
.form-card textarea {
  border-color: var(--line-dark);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-dark);
}

.success-box {
  display: none;
  margin-bottom: 14px;
  border: 1px solid rgba(49, 76, 47, 0.28);
  border-radius: 7px;
  padding: 12px;
  background: rgba(95, 139, 102, 0.16);
  color: var(--ink-dark);
  font-weight: 800;
}

.form-card.is-sent .success-box {
  display: block;
}

.media-card {
  min-height: 230px;
  background:
    linear-gradient(180deg, rgba(8, 13, 10, 0.1), rgba(8, 13, 10, 0.82)),
    var(--media-image, none) center / cover no-repeat;
}

.media-card h3,
.media-card p {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 34px max(20px, calc((100vw - var(--max)) / 2));
  background: #070a08;
}

.footer-inner {
  display: flex;
  max-width: var(--max);
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.empty-state {
  max-width: var(--max);
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 26px;
  background: rgba(255, 255, 255, 0.045);
}

@media (max-width: 1040px) {
  .main-nav {
    position: absolute;
    inset: 78px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px;
    background: rgba(8, 13, 10, 0.98);
  }

  .site-header.is-open .main-nav {
    display: flex;
  }

  .icon-button.menu-toggle {
    display: grid;
  }

  .hero-layout,
  .detail-wrap,
  .split {
    grid-template-columns: 1fr;
  }

  .search-panel {
    max-width: 620px;
  }

  .grid.three,
  .grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-primary {
    grid-template-columns: minmax(210px, 1fr) minmax(100px, 130px) minmax(100px, 130px) auto auto auto;
  }

  .filter-advanced {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .business-split {
    grid-template-columns: 1fr;
  }

  .conversion-card {
    position: static;
  }

  .schedule-row {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .schedule-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
}

@media (max-width: 860px) and (min-width: 681px) {
  .filter-primary {
    grid-template-columns: minmax(180px, 1fr) minmax(88px, 110px) minmax(88px, 110px) 46px 46px 46px;
  }

  .filter-primary .location-button,
  .filter-primary .button[type="submit"],
  .filter-primary .filter-toggle {
    width: 46px;
    min-width: 46px;
    padding: 0;
    font-size: 0;
  }

  .filter-primary .location-button span {
    display: none;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-text {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 56px 18px 38px;
    overflow-x: clip;
  }

  .hero .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .hero .hero-actions .button {
    width: 100%;
    min-width: 0;
    padding: 10px;
    font-size: 11px;
  }

  .hero .search-panel {
    padding: 10px;
  }

  .hero .search-panel h3,
  .hero .quick-links {
    display: none;
  }

  .hero .search-form {
    display: grid;
    margin: 0;
    grid-template-columns: minmax(0, 1fr) 46px;
  }

  .hero .search-form .button {
    width: 46px;
    padding: 0;
  }

  h1 {
    font-size: 50px;
  }

  .hero-home {
    min-height: 490px;
    align-items: end;
    padding-top: 84px;
  }

  .hero-home::before {
    background:
      linear-gradient(90deg, rgba(10, 16, 12, 0.92), rgba(10, 16, 12, 0.56)),
      linear-gradient(180deg, rgba(10, 16, 12, 0.08) 35%, rgba(16, 21, 18, 0.98) 100%),
      var(--hero-image, none) 58% center / cover no-repeat;
  }

  .detail-hero {
    overflow-x: clip;
    padding: 42px 20px;
  }

  .detail-hero h1 {
    max-width: 100%;
    font-size: 40px;
    line-height: 0.96;
    overflow-wrap: anywhere;
  }

  .detail-hero .lead {
    max-width: 100%;
    font-size: 18px;
    line-height: 1.45;
  }

  .detail-hero .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 100%;
  }

  .detail-hero .button {
    width: 100%;
  }

  .search-form,
  .section-head,
  .footer-inner,
  .row-card {
    display: grid;
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 18px;
    overflow-x: clip;
  }

  .detail-main,
  .detail-side {
    padding: 16px;
  }

  .detail-main h2 {
    font-size: 34px;
    line-height: 0.96;
    overflow-wrap: anywhere;
  }

  .grid.two,
  .grid.three,
  .grid.four {
    grid-template-columns: 1fr;
  }

  .filter-shell {
    overflow: visible;
  }

  .filter-primary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 46px 46px 46px;
    overflow: visible;
  }

  .filter-primary input {
    min-width: 0;
    order: 1;
  }

  .filter-primary select {
    display: none;
    min-width: 0;
    grid-column: 1 / -1;
    order: 5;
  }

  .filter-shell.is-expanded .filter-primary select {
    display: block;
  }

  .filter-primary .button {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .filter-primary .button[type="submit"] {
    width: 46px;
    min-width: 46px;
    order: 3;
    padding: 0;
    font-size: 0;
  }

  .filter-primary .button[type="submit"] svg {
    margin: 0;
  }

  .filter-toggle {
    width: 46px;
    min-width: 46px;
    order: 4;
    padding: 0;
    font-size: 0;
  }

  .location-button {
    width: 46px;
    min-width: 46px;
    order: 2;
    padding: 0;
    font-size: 0;
  }

  .location-button span {
    display: none;
  }

  .filter-advanced {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .fact-card {
    padding: 8px 9px;
  }

  .fact-card.is-wide {
    grid-column: 1 / -1;
  }

  .row-thumb {
    width: 100%;
    height: 170px;
  }

  .row-actions {
    max-width: none;
    justify-content: stretch;
  }

  .row-actions .button {
    flex: 1 1 120px;
  }

  .form-grid.two-column {
    grid-template-columns: 1fr;
  }

  .form-grid .field-wide {
    grid-column: auto;
  }

  .compact-head {
    align-items: start;
  }

  .schedule-search {
    padding: 34px 18px 24px;
  }

  .schedule-search-head {
    display: block;
    margin-bottom: 20px;
  }

  .schedule-search-head .text-link {
    margin-top: 12px;
  }

  .schedule-summary {
    align-items: start;
  }

  .schedule-summary .button {
    display: none;
  }

  .schedule-section {
    padding-top: 30px;
  }

  .schedule-month {
    margin-bottom: 28px;
  }

  .schedule-row {
    min-height: 0;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 12px;
  }

  .schedule-date {
    width: 58px;
    height: 64px;
  }

  .schedule-date strong {
    font-size: 23px;
  }

  .schedule-main h3 {
    font-size: 17px;
  }

  .schedule-main p {
    display: grid;
    gap: 2px;
  }

  .schedule-main p span:not(:last-child)::after {
    display: none;
  }

  .schedule-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
    gap: 6px;
  }

  .schedule-actions .button {
    min-width: 0;
    padding: 8px 5px;
    font-size: 10px;
  }

  .schedule-actions .button svg {
    display: none;
  }

  .format-strip {
    padding: 52px 18px;
  }

  .format-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .format-links a {
    min-height: 112px;
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
