:root {
  --ink: #082d37;
  --ink-deep: #05232c;
  --ink-soft: #47656b;
  --cream: #f6f3ea;
  --paper: #fffefa;
  --foam: #eef7f5;
  --aqua: #4dd6c4;
  --aqua-bright: #62e4cf;
  --coral: #ff8b70;
  --line: rgba(8, 45, 55, 0.14);
  --shadow: 0 22px 70px rgba(1, 29, 38, 0.12);
  --sans: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Manrope", var(--sans);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: 0.8rem 1rem;
  color: var(--ink-deep);
  background: var(--aqua-bright);
  border-radius: 0.5rem;
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  width: min(1240px, calc(100% - 48px));
  height: 92px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.brand > span > span {
  color: var(--aqua-bright);
}

.brand-mark {
  width: 38px;
  height: 38px;
  color: var(--aqua-bright);
  stroke-width: 2;
}

.brand-mark path:first-child {
  fill: currentColor;
  fill-opacity: 0.12;
}

.main-nav {
  display: flex;
  gap: 2.2rem;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: white;
}

.hero {
  position: relative;
  min-height: 735px;
  padding: 176px max(24px, calc((100vw - 1240px) / 2)) 100px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: 80px;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 80% 15%, rgba(77, 214, 196, 0.16), transparent 30%),
    radial-gradient(circle at 20% 95%, rgba(49, 123, 132, 0.3), transparent 38%),
    linear-gradient(135deg, #073440 0%, #05242d 52%, #031b22 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  inset: auto -12% -46% -8%;
  height: 62%;
  border: 1px solid rgba(98, 228, 207, 0.13);
  border-radius: 50% 48% 0 0;
  transform: rotate(-3deg);
  box-shadow: 0 -34px 0 rgba(98, 228, 207, 0.025), 0 -72px 0 rgba(98, 228, 207, 0.02);
}

.hero::after {
  inset: 0;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.10'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.hero-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  right: 4%;
  top: 20%;
  border-radius: 50%;
  background: rgba(38, 193, 180, 0.08);
  filter: blur(80px);
}

.hero-copy,
.source-compass {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--aqua-bright);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 28px;
  height: 1px;
  background: currentColor;
}

.eyebrow.dark {
  color: #158b83;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.2rem, 5.4vw, 5.8rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.hero h1 em {
  color: var(--aqua-bright);
  font-style: normal;
}

.hero-lede {
  max-width: 650px;
  margin: 1.65rem 0 2.2rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 1.08rem;
  line-height: 1.7;
}

.search-panel {
  max-width: 800px;
  display: grid;
  grid-template-columns: minmax(250px, 1.25fr) minmax(180px, 0.8fr) auto;
  align-items: end;
  gap: 0;
  padding: 0.5rem;
  color: var(--ink);
  background: var(--paper);
  border-radius: 14px;
  box-shadow: 0 20px 55px rgba(0, 14, 20, 0.28);
}

.search-field {
  min-width: 0;
  padding: 0.6rem 1rem;
}

.search-field-main {
  border-right: 1px solid var(--line);
}

.search-field label {
  display: block;
  margin: 0 0 0.16rem 2rem;
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.input-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.input-row svg {
  flex: 0 0 auto;
  width: 20px;
  color: #668187;
}

.input-row input {
  width: 100%;
  padding: 0.25rem 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 0.95rem;
}

.input-row input::placeholder {
  color: #8da0a4;
}

.search-button {
  min-height: 58px;
  padding: 0 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #052c34;
  background: var(--aqua-bright);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 160ms ease, transform 160ms ease;
}

.search-button:hover,
.search-button:focus-visible {
  background: #7cebd9;
  transform: translateY(-1px);
}

.search-button svg {
  width: 18px;
}

.quick-links {
  margin-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.8rem;
}

.quick-links button {
  padding: 0.25rem 0.65rem;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  cursor: pointer;
}

.quick-links button:hover,
.quick-links button:focus-visible {
  color: white;
  border-color: rgba(98, 228, 207, 0.5);
}

.quick-links button.active {
  color: var(--ink-deep);
  background: var(--aqua-bright);
  border-color: var(--aqua-bright);
}

.source-compass {
  min-height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.compass-orbit {
  position: absolute;
  border: 1px solid rgba(98, 228, 207, 0.16);
  border-radius: 50%;
}

.orbit-one {
  width: 365px;
  height: 365px;
}

.orbit-two {
  width: 265px;
  height: 265px;
}

.source-card {
  position: absolute;
  z-index: 3;
  min-width: 250px;
  padding: 0.85rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  background: rgba(255, 254, 250, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 13px;
  box-shadow: 0 18px 40px rgba(0, 10, 15, 0.25);
  backdrop-filter: blur(10px);
}

.primary-card {
  top: 32px;
  right: -5px;
  transform: rotate(2deg);
}

.resale-card {
  bottom: 24px;
  left: -16px;
  transform: rotate(-2deg);
}

.source-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #08756f;
  background: #e0f6f2;
  border-radius: 10px;
}

.source-icon svg {
  width: 21px;
}

.source-card strong,
.source-card small {
  display: block;
}

.source-card strong {
  font-size: 0.85rem;
}

.source-card small {
  margin-top: 0.12rem;
  color: #688086;
  font-size: 0.68rem;
}

.source-check {
  padding: 0.22rem 0.42rem;
  color: #08756f;
  background: #e0f6f2;
  border-radius: 99px;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.compass-center {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  color: var(--aqua-bright);
  background: rgba(98, 228, 207, 0.07);
  border: 1px solid rgba(98, 228, 207, 0.24);
  border-radius: 50%;
  box-shadow: 0 0 60px rgba(98, 228, 207, 0.12);
}

.compass-center svg {
  width: 56px;
}

.compass-center path {
  fill: currentColor;
  fill-opacity: 0.12;
}

.source-compass > p {
  position: absolute;
  bottom: 50px;
  right: 15px;
  margin: 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.72rem;
  line-height: 1.5;
  text-align: right;
}

.source-compass > p strong {
  color: rgba(255, 255, 255, 0.9);
}

.trust-strip {
  position: relative;
  z-index: 4;
  width: min(1120px, calc(100% - 48px));
  margin: -43px auto 0;
  padding: 1.35rem 1.7rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  background: var(--paper);
  border: 1px solid rgba(8, 45, 55, 0.08);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.trust-strip div {
  padding: 0.4rem 1rem;
  border-right: 1px solid var(--line);
}

.trust-strip div:last-child {
  border: 0;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  margin-bottom: 0.22rem;
  font-size: 0.82rem;
}

.trust-strip span {
  color: #71858a;
  font-size: 0.72rem;
  line-height: 1.45;
}

.events-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 120px 24px 110px;
  scroll-margin-top: 20px;
}

.section-heading {
  margin-bottom: 2.1rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.section-heading h2,
.how-intro h2,
.partner-section h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 3.4vw, 3.3rem);
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.source-filter {
  display: flex;
  gap: 0.3rem;
  padding: 0.3rem;
  background: rgba(8, 45, 55, 0.06);
  border-radius: 99px;
}

.source-filter button {
  padding: 0.6rem 0.9rem;
  color: #60777c;
  background: transparent;
  border: 0;
  border-radius: 99px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
}

.source-filter button.active {
  color: var(--ink);
  background: white;
  box-shadow: 0 3px 10px rgba(8, 45, 55, 0.09);
}

.catalog-notice {
  margin: -0.5rem 0 1.3rem;
  padding: 0.9rem 1rem;
  display: flex;
  gap: 0.6rem;
  color: #735b25;
  background: #fff5d9;
  border: 1px solid #efdca9;
  border-radius: 10px;
  font-size: 0.78rem;
}

.catalog-notice strong {
  white-space: nowrap;
}

.results-meta {
  min-height: 1.2rem;
  margin-bottom: 0.35rem;
  color: #71858a;
  font-size: 0.76rem;
}

.affiliate-disclosure {
  margin: 0 0 1rem;
  color: #647b80;
  font-size: 0.7rem;
  line-height: 1.5;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.event-card {
  min-width: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(8, 45, 55, 0.1);
  border-radius: 15px;
  box-shadow: 0 8px 22px rgba(8, 45, 55, 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(8, 45, 55, 0.1);
}

.event-art {
  position: relative;
  height: 155px;
  padding: 1.1rem;
  display: flex;
  align-items: end;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 78% 25%, rgba(255, 255, 255, 0.23), transparent 22%),
    linear-gradient(135deg, #216d77, #093843);
}

.event-art::before,
.event-art::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 80px;
  right: -45px;
  top: 60px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  transform: rotate(-14deg);
}

.event-art::after {
  top: 92px;
  right: -75px;
}

.accent-coral .event-art { background-color: #b85b4b; background-image: radial-gradient(circle at 78% 25%, rgba(255,255,255,.2), transparent 22%), linear-gradient(135deg, #cc6e58, #5b2930); }
.accent-gold .event-art { background-color: #a87836; background-image: radial-gradient(circle at 78% 25%, rgba(255,255,255,.2), transparent 22%), linear-gradient(135deg, #b98a44, #624524); }
.accent-mint .event-art { background-color: #2d8378; background-image: radial-gradient(circle at 78% 25%, rgba(255,255,255,.2), transparent 22%), linear-gradient(135deg, #48a594, #24585a); }
.accent-green .event-art { background-color: #3f7355; background-image: radial-gradient(circle at 78% 25%, rgba(255,255,255,.2), transparent 22%), linear-gradient(135deg, #5f8f5d, #274b42); }
.accent-violet .event-art { background-color: #695681; background-image: radial-gradient(circle at 78% 25%, rgba(255,255,255,.2), transparent 22%), linear-gradient(135deg, #826b99, #3f3a64); }

.event-monogram {
  position: absolute;
  left: 1rem;
  top: 0.6rem;
  color: rgba(255, 255, 255, 0.18);
  font-family: var(--display);
  font-size: 4.8rem;
  font-weight: 800;
  letter-spacing: -0.08em;
}

.event-category {
  position: relative;
  z-index: 2;
  padding: 0.28rem 0.55rem;
  background: rgba(2, 28, 34, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 99px;
  backdrop-filter: blur(5px);
  font-size: 0.67rem;
  font-weight: 600;
}

.event-date {
  position: absolute;
  z-index: 2;
  right: 1rem;
  top: 1rem;
  width: 51px;
  padding: 0.45rem 0.2rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 9px;
  text-align: center;
}

.event-date span,
.event-date strong {
  display: block;
}

.event-date span {
  color: #4d696e;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
}

.event-date strong {
  font-family: var(--display);
  font-size: 1.2rem;
  line-height: 1.15;
}

.event-body {
  padding: 1.25rem;
}

.event-body h3 {
  min-height: 2.6rem;
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: 1.08rem;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.event-title-link {
  color: inherit;
  text-decoration-color: #8abfb7;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.event-title-link:hover,
.event-title-link:focus-visible {
  color: #147a73;
  text-decoration-color: currentColor;
}

.event-place,
.event-artists,
.event-time {
  margin: 0.2rem 0;
  color: #667d82;
  font-size: 0.74rem;
  line-height: 1.4;
}

.event-artists {
  margin: 0.2rem 0;
  color: #71858a;
  font-size: 0.7rem;
  line-height: 1.4;
}

.event-place a,
.event-artists a {
  color: #167b74;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.event-place a:hover,
.event-place a:focus-visible,
.event-artists a:hover,
.event-artists a:focus-visible {
  color: #075d59;
}

.event-time {
  color: #8a9b9f;
}

.onsale-panel {
  margin-top: 0.9rem;
  padding: 0.65rem 0.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  background: #f5f8f6;
  border: 1px solid #e1e9e5;
  border-radius: 9px;
}

.onsale-status {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: #526a6f;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.35;
}

.onsale-status::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  background: #829397;
  border-radius: 50%;
}

.onsale-now {
  color: #126d56;
}

.onsale-now::before {
  background: #2bb486;
  box-shadow: 0 0 0 3px rgba(43, 180, 134, 0.13);
}

.onsale-soon {
  color: #8a641b;
}

.onsale-soon::before {
  background: #e5a82e;
  box-shadow: 0 0 0 3px rgba(229, 168, 46, 0.13);
}

.onsale-tbd {
  color: #6f5b8b;
}

.onsale-tbd::before {
  background: #8a70ac;
}

.reminder-button {
  flex: 0 0 auto;
  padding: 0.35rem 0.5rem;
  color: #775615;
  background: #fff5d9;
  border: 1px solid #ead7a4;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.62rem;
  font-weight: 700;
}

.reminder-button:hover,
.reminder-button:focus-visible {
  background: #ffedbd;
}

.presale-note {
  margin: 0.55rem 0 0;
  color: #7c8d91;
  font-size: 0.63rem;
  line-height: 1.45;
}

.ticket-sources {
  margin-top: 1rem;
  display: grid;
  gap: 0.45rem;
}

.source-group {
  display: grid;
  gap: 0.45rem;
}

.source-group-label {
  margin: 0;
  color: #788b8f;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resale-reveal {
  width: 100%;
  padding: 0.65rem 0.7rem;
  color: #536a6f;
  background: transparent;
  border: 1px dashed #cad7d4;
  border-radius: 9px;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 700;
  text-align: left;
}

.resale-reveal::after {
  content: "+";
  float: right;
  font-size: 0.9rem;
  line-height: 0.8;
}

.resale-reveal[aria-expanded="true"]::after {
  content: "−";
}

.resale-reveal:hover,
.resale-reveal:focus-visible {
  color: var(--ink);
  border-color: #91aaa5;
}

.resale-options {
  padding-top: 0.25rem;
}

.ticket-source {
  padding: 0.65rem 0.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
  background: #f1f7f5;
  border: 1px solid #dbe9e5;
  border-radius: 9px;
  text-decoration: none;
  transition: border-color 150ms ease, background 150ms ease;
}

.ticket-source:hover,
.ticket-source:focus-visible {
  background: #e6f5f1;
  border-color: #a7d6ce;
}

.ticket-source-resale {
  background: #f7f5f2;
  border-color: #e7e1d8;
}

.ticket-source-resale:hover,
.ticket-source-resale:focus-visible {
  background: #f2ede6;
  border-color: #d7c8b5;
}

.ticket-source strong,
.ticket-source small {
  display: block;
}

.ticket-source strong {
  font-size: 0.74rem;
}

.ticket-source small {
  margin-top: 0.08rem;
  color: #73878b;
  font-size: 0.63rem;
}

.source-arrow {
  color: #2e7f7a;
  font-size: 0.95rem;
}

.empty-state {
  padding: 4rem 1rem;
  background: rgba(255, 255, 255, 0.5);
  border: 1px dashed rgba(8, 45, 55, 0.2);
  border-radius: 14px;
  text-align: center;
}

.empty-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  color: #167f79;
  background: #e0f3ef;
  border-radius: 50%;
  font-size: 1.5rem;
}

.empty-state h3 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
}

.empty-state p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.empty-state button {
  padding: 0.65rem 1rem;
  color: white;
  background: var(--ink);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.how-section {
  padding: 110px max(24px, calc((100vw - 1240px) / 2));
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
  color: white;
  background: #07333d;
}

.how-intro h2 {
  max-width: 500px;
}

.how-intro > p:last-child {
  max-width: 490px;
  margin: 1.4rem 0 0;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.7;
}

.steps {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  list-style: none;
}

.steps li {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
}

.steps li > span {
  color: var(--aqua-bright);
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 700;
}

.steps h3 {
  margin: 2.5rem 0 0.6rem;
  font-family: var(--display);
  font-size: 1.05rem;
}

.steps p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  line-height: 1.6;
}

.partner-section {
  max-width: 1192px;
  margin: 0 auto;
  padding: 95px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.partner-section h2 {
  max-width: 720px;
}

.partner-section > a {
  flex: 0 0 auto;
  padding: 0.95rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: white;
  background: var(--ink);
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.partner-section > a svg {
  width: 19px;
}

.site-footer {
  padding: 52px max(24px, calc((100vw - 1192px) / 2)) 35px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 1.5rem;
  color: rgba(255, 255, 255, 0.62);
  background: var(--ink-deep);
}

.footer-brand {
  color: white;
}

.site-footer > p {
  margin: 0;
  font-size: 0.76rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  font-size: 0.74rem;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: white;
}

.site-footer small {
  grid-column: 1 / -1;
  padding-top: 1.5rem;
  color: rgba(255, 255, 255, 0.37);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.66rem;
  line-height: 1.6;
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  color: white;
  background: var(--ink-deep);
  text-align: center;
}

.error-page main {
  padding: 2rem;
}

.error-code {
  margin: 0;
  color: var(--aqua-bright);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.error-page h1 {
  margin: 0.7rem 0;
  font-family: var(--display);
  font-size: clamp(2.2rem, 6vw, 4rem);
  letter-spacing: -0.05em;
}

.error-page p:not(.error-code) {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr;
    padding-bottom: 145px;
  }

  .source-compass {
    display: none;
  }

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

  .how-section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 760px) {
  .site-header {
    width: calc(100% - 32px);
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 145px 18px 115px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.3rem);
  }

  .hero-lede {
    font-size: 0.96rem;
  }

  .search-panel {
    grid-template-columns: 1fr;
    padding: 0.4rem;
  }

  .search-field-main {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .search-button {
    margin-top: 0.2rem;
  }

  .trust-strip {
    margin-top: -40px;
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    padding: 0.55rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .catalog-notice {
    align-items: start;
    flex-direction: column;
  }

  .event-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .steps h3 {
    margin-top: 1.4rem;
  }

  .partner-section {
    align-items: start;
    flex-direction: column;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer small {
    grid-column: auto;
  }
}

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

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