/*
Theme Name: Kilometre Zero Astra
Template: astra
Version: 2.0.18
Text Domain: kilometre-zero-astra
*/

:root {
  --night: #14110d;
  --river: #1c2a2a;
  --gold: #d8a441;
  --gold-soft: #ffcc4d;
  --bronze: #a27a0a;
  --olive: #b29531;
  --champagne: #e7dbae;
  --paper: #f6efe3;
  --cream: #fff9ec;
  --copper: #865824;
  --muted: #756a5a;
  --line: rgba(20, 17, 13, 0.16);
  --white: #ffffff;
  --display-font: Marcellus, Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--night);
  font-family: var(--display-font);
  line-height: 1.55;
}

body::selection {
  background: var(--gold);
  color: var(--night);
}

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

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

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

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

h1 {
  max-width: 980px;
  margin-bottom: 14px;
  font-size: clamp(58px, 9vw, 138px);
  line-height: 0.9;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(36px, 6vw, 82px);
  line-height: 0.96;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 64px);
  color: var(--cream);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(246, 239, 227, 0.92);
  border-bottom: 1px solid var(--line);
  color: var(--night);
  backdrop-filter: blur(18px);
}

.brand-block {
  display: grid;
  gap: 4px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand-socials {
  display: flex;
  gap: 12px;
  padding-left: 58px;
  color: var(--gold-soft);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.brand-socials a:hover {
  color: var(--cream);
}

.site-header.is-scrolled .brand-socials,
.site-header.is-open .brand-socials {
  color: var(--copper);
}

.site-header.is-scrolled .brand-socials a:hover,
.site-header.is-open .brand-socials a:hover {
  color: var(--bronze);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav a:hover {
  background: rgba(255, 249, 236, 0.16);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-open .site-nav a:hover {
  background: rgba(20, 17, 13, 0.08);
}

.nav-cta {
  border: 1px solid currentColor;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 6px;
  background: transparent;
  color: inherit;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  padding: 130px clamp(18px, 6vw, 90px) 78px;
  overflow: hidden;
  color: var(--cream);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(20, 17, 13, 0.72), rgba(20, 17, 13, 0.42) 22%, rgba(20, 17, 13, 0) 48%),
    radial-gradient(circle at 72% 20%, rgba(216, 164, 65, 0.2), transparent 30%),
    linear-gradient(90deg, rgba(20, 17, 13, 0.88), rgba(20, 17, 13, 0.55) 48%, rgba(20, 17, 13, 0.18)),
    linear-gradient(0deg, rgba(20, 17, 13, 0.76), rgba(20, 17, 13, 0.08) 52%);
}

.hero::before {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  height: 360px;
  content: "";
  background: linear-gradient(180deg, rgba(20, 17, 13, 0.8), rgba(20, 17, 13, 0.62) 34%, rgba(20, 17, 13, 0.28) 72%, rgba(20, 17, 13, 0));
  pointer-events: none;
}

.hero-stamps {
  position: absolute;
  top: 48%;
  right: -8vw;
  z-index: 1;
  width: clamp(780px, 81vw, 1320px);
  max-height: 96vh;
  object-fit: contain;
  opacity: 0.92;
  pointer-events: none;
  transform: translateY(-50%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(860px, calc(100% - 430px));
}

.kicker {
  margin-bottom: 18px;
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.kicker.dark {
  color: var(--copper);
}

.hero-event {
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  margin-bottom: 26px;
  border-top: 1px solid rgba(255, 204, 77, 0.72);
  border-bottom: 1px solid rgba(255, 204, 77, 0.72);
  color: var(--cream);
}

.hero-event span,
.hero-event strong {
  padding: 11px 18px;
  line-height: 1.15;
}

.hero-event span {
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-event strong {
  border-right: 1px solid rgba(255, 204, 77, 0.38);
  border-left: 1px solid rgba(255, 204, 77, 0.38);
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 400;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 249, 236, 0.84);
  font-size: clamp(17px, 1.6vw, 21px);
}

.hero-deck {
  max-width: 920px;
  margin-bottom: 22px;
  color: var(--gold-soft);
  font-size: clamp(25px, 3vw, 44px);
  line-height: 1.08;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.button.primary {
  background: var(--gold);
  color: var(--night);
}

.button.primary.light {
  background: var(--cream);
}

.button.ghost {
  border-color: rgba(255, 249, 236, 0.52);
  color: var(--cream);
}

.wp-block-button.primary .wp-block-button__link {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0 20px;
  background: var(--gold);
  color: var(--night);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.wp-block-button.primary.light .wp-block-button__link {
  background: var(--cream);
}

.kilometre-zero-site main > .wp-block-group,
.kilometre-zero-site main > .wp-block-html,
.kilometre-zero-site figure {
  margin-block: 0;
}

.hero > .hero-media,
.hero > .hero-stamps {
  margin: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
}

.hero-stamps img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.event-panel {
  position: absolute;
  right: clamp(18px, 4vw, 64px);
  bottom: 70px;
  z-index: 2;
  width: min(330px, calc(100% - 36px));
  padding: 22px;
  border: 1px solid rgba(255, 249, 236, 0.28);
  border-radius: 8px;
  background: rgba(20, 17, 13, 0.54);
  backdrop-filter: blur(18px);
}

.event-panel span {
  display: block;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.event-panel strong {
  display: block;
  margin: 8px 0;
  font-family: var(--display-font);
  font-size: 34px;
  font-weight: 400;
}

.event-panel p {
  margin: 0;
  color: rgba(255, 249, 236, 0.74);
}

.countdown-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--night);
  color: var(--cream);
}

.count-item {
  padding: 30px clamp(18px, 4vw, 60px);
  border-right: 1px solid rgba(255, 249, 236, 0.16);
}

.count-item:last-child {
  border-right: 0;
}

.count-item strong {
  display: block;
  color: var(--gold-soft);
  font-family: var(--display-font);
  font-size: clamp(44px, 6vw, 88px);
  font-weight: 400;
  line-height: 0.9;
}

.count-item span {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.section {
  padding: clamp(72px, 10vw, 140px) clamp(18px, 6vw, 90px);
}

.destination-intro {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(34px, 8vw, 110px);
  background: var(--paper);
}

.destination-copy {
  display: grid;
  gap: 22px;
  align-content: center;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 21px);
}

.destination-copy p {
  margin: 0;
}

.destination-copy .destination-lead {
  color: var(--copper);
  font-size: clamp(20px, 2.2vw, 29px);
  line-height: 1.35;
}

.passport-section {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
  background: var(--cream);
}

.passport-copy p {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
}

.passport-copy .passport-offer {
  color: var(--copper);
  font-size: 20px;
  font-weight: 600;
}

.passport-title {
  font-size: clamp(30px, 4.2vw, 64px);
}

.passport-title span {
  display: block;
  white-space: nowrap;
}

.passport-copy .button {
  margin-top: 18px;
}

.passport-visual {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(20, 17, 13, 0.24);
}

.passport-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.manifesto {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: clamp(34px, 7vw, 90px);
  background: var(--paper);
}

.manifesto-text {
  display: grid;
  gap: 18px;
  align-content: center;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.manifesto-text p {
  margin-bottom: 0;
}

.venues {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(72px, 10vw, 140px) clamp(18px, 6vw, 90px);
  background:
    linear-gradient(180deg, rgba(231, 219, 174, 0.8), rgba(246, 239, 227, 0.96)),
    var(--champagne);
}

.venues-heading {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(220px, 0.44fr) 1fr;
  gap: clamp(24px, 5vw, 70px);
  margin-bottom: 28px;
}

.venues-heading h2 {
  max-width: 980px;
}

.venue-card {
  position: relative;
  display: grid;
  grid-template-rows: 250px minmax(0, 1fr);
  min-height: 460px;
  overflow: hidden;
  border: 1px solid rgba(134, 88, 36, 0.22);
  border-radius: 8px;
  background: var(--cream);
  color: var(--night);
  box-shadow: 0 22px 58px rgba(134, 88, 36, 0.13);
}

.venue-card {
  grid-column: span 1;
}

.venue-title-logo {
  display: flex;
  grid-row: 2;
  align-self: start;
  width: 100%;
  height: 76px;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 12px 16px;
  border: 1px solid rgba(134, 88, 36, 0.16);
  background: var(--white);
}

.venue-title-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 42px;
  object-fit: contain;
  object-position: center;
  filter: none;
  transform: none;
}

.venue-title-text {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 0;
  color: var(--night);
  font-size: 20px;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.venue-card::after {
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  content: "";
  background: var(--gold-soft);
}

.venue-card:nth-of-type(3n + 2)::after {
  background: var(--gold);
}

.venue-card:nth-of-type(3n + 3)::after {
  background: var(--olive);
}

.venue-card:nth-of-type(3n + 4)::after {
  background: var(--copper);
}

.venue-card:nth-of-type(5)::after {
  background: var(--bronze);
}

.venue-card > img {
  grid-row: 1;
  align-self: start;
  width: 100%;
  height: 250px;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04);
  transition: transform 600ms ease, filter 600ms ease;
}

.venue-card > .venue-card-media {
  grid-row: 1;
  align-self: start;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.venue-card > .venue-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04);
  transition: transform 600ms ease, filter 600ms ease;
}

.venue-card:hover > img {
  filter: saturate(1) contrast(1.05);
  transform: scale(1.035);
}

.venue-card:hover > .venue-card-media img {
  filter: saturate(1) contrast(1.05);
  transform: scale(1.035);
}

.venue-copy {
  grid-row: 2;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 48px 76px minmax(170px, 1fr) auto;
  gap: 12px;
  align-content: stretch;
  height: 100%;
  padding: 24px 20px 32px;
  background: var(--cream);
}

.venue-card span {
  grid-row: 1;
  align-self: start;
  margin: 0 !important;
  color: var(--bronze);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.venue-card .venue-theme {
  grid-row: 1;
  align-self: start;
  margin: 0 !important;
  color: var(--bronze);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.venue-card h3 {
  color: var(--copper);
}

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

.venue-agenda {
  display: grid;
  gap: 7px;
  align-self: end;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(134, 88, 36, 0.2);
  list-style: none;
}

.venue-agenda li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 8px;
  align-items: baseline;
}

.venue-agenda time {
  color: var(--bronze);
  font-size: 12px;
  font-weight: 800;
}

.venue-agenda strong {
  color: var(--night);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.25;
}

.quai-agenda {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(180px, 0.44fr) 1fr;
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  margin-top: 18px;
  padding: 28px;
  border: 1px solid rgba(134, 88, 36, 0.25);
  border-radius: 8px;
  background: rgba(255, 249, 236, 0.58);
}

.quai-agenda .kicker {
  margin: 0;
}

.quai-agenda h3 {
  margin-bottom: 6px;
  color: var(--copper);
}

.quai-agenda p:last-child {
  margin: 0;
  color: var(--muted);
}

.text-only {
  background:
    radial-gradient(circle at 80% 16%, rgba(255, 204, 77, 0.46), transparent 28%),
    linear-gradient(145deg, var(--champagne), var(--gold) 68%, var(--olive));
}

.text-only .venue-copy {
  min-height: 100%;
  padding-top: 138px;
  background: transparent;
}

.text-only span,
.text-only h3,
.text-only p {
  color: var(--night);
}

.program {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(34px, 8vw, 110px);
  background: var(--cream);
}

.program-list {
  display: grid;
  gap: 12px;
}

.program-list div {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(246, 239, 227, 0.58);
}

.program-list time {
  color: var(--bronze);
  font-size: 14px;
  font-weight: 800;
}

.program-list p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 600;
}

.river-access {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: clamp(34px, 8vw, 110px);
  align-items: end;
  padding: clamp(72px, 8vw, 110px) clamp(18px, 6vw, 90px);
  background: var(--river);
  color: var(--cream);
}

.river-access h2 {
  margin-bottom: 0;
}

.river-access-logo {
  width: min(240px, 70%);
  margin-bottom: 24px;
  filter: brightness(0) invert(1);
}

.river-access-logo img {
  width: 100%;
  height: auto;
}

.river-access > p {
  margin: 0;
  color: rgba(255, 249, 236, 0.76);
  font-size: clamp(18px, 2vw, 24px);
}

.reservation {
  display: grid;
  grid-template-columns: 1fr 0.84fr;
  gap: clamp(34px, 7vw, 90px);
  align-items: center;
  padding: clamp(72px, 10vw, 140px) clamp(18px, 6vw, 90px);
  background: var(--copper);
  color: var(--cream);
}

.reservation p {
  max-width: 620px;
  color: rgba(255, 249, 236, 0.78);
  font-size: 18px;
}

.reservation .passport-personal-note {
  display: block;
  margin-top: 18px;
  color: rgba(255, 249, 236, 0.9);
}

.signup-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 249, 236, 0.3);
  border-radius: 8px;
  background: rgba(20, 17, 13, 0.18);
}

.tally-embed {
  min-height: 350px;
  overflow: hidden;
  border: 1px solid rgba(255, 249, 236, 0.3);
  border-radius: 8px;
  background: rgba(255, 249, 236, 0.94);
}

.tally-embed iframe {
  display: block;
  width: 100%;
  border: 0;
}

label {
  display: grid;
  gap: 8px;
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

input {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(255, 249, 236, 0.4);
  border-radius: 6px;
  padding: 0 16px;
  background: rgba(255, 249, 236, 0.92);
  color: var(--night);
  font: inherit;
}

input:focus {
  outline: 3px solid rgba(255, 204, 77, 0.28);
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--gold-soft);
  font-weight: 800;
}

.partners {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) 1fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
  padding: clamp(68px, 8vw, 110px) clamp(18px, 6vw, 90px);
  border-top: 1px solid rgba(134, 88, 36, 0.16);
  background: #f3f2ed;
}

.partners-heading h2 {
  margin-bottom: 0;
  font-size: clamp(40px, 5vw, 72px);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.partners-grid li {
  display: grid;
  min-height: 130px;
  place-items: center;
  border-right: 1px solid rgba(134, 88, 36, 0.14);
  border-bottom: 1px solid rgba(134, 88, 36, 0.14);
}

.partners-grid > .partner-logo-item {
  display: grid;
  min-height: 130px;
  place-items: center;
  border-right: 1px solid rgba(134, 88, 36, 0.14);
  border-bottom: 1px solid rgba(134, 88, 36, 0.14);
}

.partners-grid a {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  padding: 22px;
}

.partners-grid > .partner-logo-item a {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  padding: 22px;
}

.partners-grid > .partner-logo-item img {
  width: 100%;
  max-width: 190px;
  max-height: 70px;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 180ms ease, opacity 180ms ease;
}

.partners-grid > .partner-logo-item.tall img {
  max-width: 112px;
  max-height: 94px;
}

.partners-grid > .partner-logo-item.partner-invert img {
  filter: brightness(0);
}

.partners-grid > .partner-logo-item.paname-logo img {
  max-width: 158px;
  max-height: 66px;
}

.partners-grid > .partner-logo-item.artistik-logo img {
  max-width: 220px;
  max-height: 88px;
}

.partners-grid > .partner-logo-item:hover img {
  opacity: 0.72;
  transform: scale(1.035);
}

.partners-grid a.partner-link-wide {
  padding: 14px 10px;
}

.partner-logo {
  width: 100%;
  max-width: 190px;
  max-height: 70px;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 180ms ease, opacity 180ms ease;
}

.partner-logo.tall {
  max-width: 112px;
  max-height: 94px;
}

.partner-logo.partner-invert {
  filter: brightness(0);
}

.partner-logo.paname-logo {
  max-width: 158px;
  max-height: 66px;
}

.partner-logo.artistik-logo {
  max-width: 220px;
  max-height: 88px;
}

.partners-grid a:hover .partner-logo {
  opacity: 0.72;
  transform: scale(1.035);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(280px, 0.62fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: stretch;
  padding: 28px clamp(18px, 6vw, 90px);
  background: var(--night);
  color: rgba(255, 249, 236, 0.72);
}

.site-footer p {
  margin: 0;
  color: var(--cream);
  font-weight: 800;
}

.site-footer address {
  margin-top: 8px;
  color: rgba(255, 249, 236, 0.72);
  font-style: normal;
}

.footer-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 28px;
}

.footer-details span {
  display: block;
  margin-bottom: 5px;
  color: var(--gold-soft);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-details p {
  margin: 0;
  color: rgba(255, 249, 236, 0.72);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

.footer-details p + p {
  margin-top: 4px;
}

.footer-details a {
  color: var(--cream);
  text-decoration: underline;
  text-decoration-color: rgba(255, 204, 77, 0.56);
  text-underline-offset: 3px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--gold-soft);
  font-weight: 800;
}

.footer-map {
  min-height: 210px;
  overflow: hidden;
  border: 1px solid rgba(255, 249, 236, 0.18);
  border-radius: 8px;
  background: rgba(255, 249, 236, 0.08);
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  min-height: 210px;
  border: 0;
  filter: sepia(0.24) saturate(0.72) contrast(0.94);
}

@media (max-width: 980px) {
  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 82px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    color: var(--night);
  }

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

  .event-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 34px;
  }

  .hero-inner {
    width: 100%;
  }

  .hero-stamps {
    top: 43%;
    right: -48vw;
    width: min(900px, 150vw);
    max-height: 88vh;
    opacity: 0.42;
  }

  .passport-section,
  .destination-intro,
  .manifesto,
  .program,
  .river-access,
  .partners,
  .reservation {
    grid-template-columns: 1fr;
  }

  .venues,
  .venues-heading,
  .quai-agenda {
    grid-template-columns: 1fr;
  }

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

  .venue-card {
    grid-column: 1;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 54px;
  }

  .hero-event {
    display: grid;
    grid-template-columns: 1fr auto;
    width: 100%;
  }

  .hero-event strong {
    grid-column: 1 / -1;
    grid-row: 2;
    border: 0;
    border-top: 1px solid rgba(255, 204, 77, 0.38);
    text-align: left;
  }

  .hero-event span,
  .hero-event strong {
    padding: 9px 10px;
  }

  .hero-event span:last-child {
    text-align: right;
  }

  .hero {
    min-height: auto;
    padding-top: 118px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

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

  .count-item {
    min-width: 0;
    padding: 20px 4px;
    border-right: 1px solid rgba(255, 249, 236, 0.16);
    border-bottom: 0;
    text-align: center;
  }

  .count-item strong {
    font-size: 36px;
  }

  .count-item span {
    font-size: 9px;
  }

  .venue-card {
    grid-template-rows: 280px minmax(0, 1fr);
    min-height: 0;
  }

  .venue-card > img {
    height: 280px;
  }

  .venue-card > .venue-card-media {
    height: 280px;
  }

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

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

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