@font-face {
  font-family: "Futura BAF";
  src: url("assets/fonts/Futura-Book.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Futura BAF";
  src: url("assets/fonts/Futura-Medium.otf") format("opentype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Futura BAF";
  src: url("assets/fonts/Futura-Demi.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --navy: #242b5a;
  --navy-soft: #242b5a;
  --yellow: #ffd400;
  --cream: #f2efe8;
  --white: #fffefa;
  --ink: #242b5a;
  --line: rgba(36, 43, 90, 0.16);
  --max-width: 1240px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Futura BAF", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

h1,
h2,
h3,
strong,
.eyebrow,
.button,
.main-nav {
  font-weight: 700;
}

h2 {
  margin-bottom: 1.75rem;
  font-size: clamp(2.5rem, 5vw, 5.15rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.15;
}

.container {
  width: min(100% - (2 * var(--gutter)), var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 1rem;
  padding: 0.8rem 1rem;
  background: var(--yellow);
  color: var(--navy);
  transform: translateY(-120%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(255, 254, 250, 0.96);
  border-top: 9px solid var(--navy);
  box-shadow: 0 1px 0 rgba(36, 43, 90, 0.08);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2.25rem);
  color: var(--navy);
  font-size: 0.86rem;
}

.main-nav a {
  position: relative;
  text-decoration: none;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.4rem;
  left: 0;
  height: 2px;
  background: var(--yellow);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-socials {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.header-social-link {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color 180ms ease, transform 180ms ease;
}

.header-social-link:hover,
.header-social-link:focus-visible {
  border-color: var(--yellow);
  transform: translateY(-2px);
}

.header-social-link img {
  width: 18px;
  height: 18px;
}

.main-nav .header-social-link::after {
  display: none;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px 9px;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  display: flex;
  min-height: min(860px, calc(100vh - 90px));
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(36, 43, 90, 0.92) 0%, rgba(36, 43, 90, 0.52) 50%, rgba(36, 43, 90, 0.14) 100%);
  content: "";
}

.hero-media {
  position: absolute;
  inset: 0;
  background: url("assets/images/hero-baf-clean.jpg") center / cover no-repeat;
  filter: saturate(0.6) contrast(1.05);
  transform: scale(1.01);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 8rem;
  padding-bottom: 10.5rem;
}

.hero h1 {
  max-width: 960px;
  margin-bottom: 1.8rem;
  font-size: clamp(4rem, 10.5vw, 9.2rem);
  line-height: 0.78;
  letter-spacing: -0.065em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-mobile-break {
  display: none;
}

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

.hero-lead {
  max-width: 630px;
  margin-bottom: 2.25rem;
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
}

.eyebrow {
  margin-bottom: 1.15rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-yellow {
  color: var(--yellow);
}

.section .eyebrow {
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.25;
  letter-spacing: 0.1em;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  padding: 0.95rem 1.35rem;
  border: 2px solid transparent;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
}

.button-yellow {
  background: var(--yellow);
  color: var(--navy);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.62);
  color: var(--white);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: var(--white);
  background: var(--white);
  color: var(--navy);
}

.button-navy {
  background: var(--navy);
  color: var(--white);
}

.hero-stats {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  border-top: 1px solid var(--line);
  color: var(--navy);
}

.hero-stats > div {
  display: grid;
  padding: 1.7rem var(--gutter);
  border-right: 1px solid var(--line);
}

.hero-stats strong {
  color: var(--navy);
  font-size: 2rem;
  line-height: 1;
}

.hero-stats span {
  margin-top: 0.4rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding-block: clamp(5.5rem, 10vw, 9rem);
}

.section-cream {
  background: var(--cream);
}

.section-white {
  background: var(--white);
}

.two-columns,
.booking-heading,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.large-copy {
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
}

.prose p + p {
  margin-top: 1.35rem;
}

.timeline {
  display: grid;
  margin-top: clamp(4rem, 8vw, 7rem);
  grid-template-columns: repeat(5, 1fr);
  border-top: 2px solid var(--navy);
}

.timeline article {
  position: relative;
  min-height: 160px;
  padding: 2.3rem 1rem 1rem 0;
  border-right: 1px solid var(--line);
}

.timeline article:not(:first-child) {
  padding-left: 1rem;
}

.timeline article::before {
  position: absolute;
  top: -8px;
  left: 0;
  width: 14px;
  height: 14px;
  background: var(--yellow);
  border: 3px solid var(--navy);
  border-radius: 50%;
  content: "";
}

.timeline article:not(:first-child)::before {
  left: 1rem;
}

.timeline-date {
  display: block;
  margin-bottom: 1.5rem;
  color: var(--navy);
  font-size: 1.65rem;
  font-weight: 700;
}

.timeline h3 {
  margin-bottom: 0;
  font-size: clamp(0.78rem, 1.3vw, 1.25rem);
  white-space: nowrap;
}

.membership {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--navy);
  color: var(--white);
}

.membership-image {
  display: flex;
  min-height: 780px;
  align-items: center;
  justify-content: center;
  padding: clamp(1.75rem, 5vw, 5rem);
  overflow: hidden;
  background: #e9e6df;
}

.membership-image img {
  width: 100%;
  height: auto;
  border: 8px solid var(--white);
  border-radius: 4px;
  box-shadow: 0 24px 55px rgba(36, 43, 90, 0.24), 0 0 0 1px rgba(36, 43, 90, 0.12);
  object-fit: contain;
}

.membership-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4rem, 8vw, 8rem) clamp(2rem, 6vw, 7rem);
}

.membership-content h2 {
  max-width: 750px;
}

.benefits {
  margin: 1rem 0 2rem;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  list-style: none;
}

.benefits li {
  display: block;
  padding-block: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.benefits strong,
.benefits div span {
  display: block;
}

.benefits strong {
  margin-bottom: 0.25rem;
  font-size: 1.12rem;
}

.benefits div span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.membership-offer {
  padding: 1.4rem;
  background: var(--yellow);
  color: var(--navy);
}

.membership-offer strong {
  font-size: 1.25rem;
}

.membership-offer p {
  margin: 0.45rem 0 0;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid var(--yellow);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.text-link-light {
  margin-top: 1.7rem;
  color: var(--white);
}

.programme-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.programme-copy h2 {
  max-width: 720px;
}

.programme-copy .large-copy {
  max-width: 680px;
  margin-bottom: 1rem;
}

.programme-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.25rem;
}

.programme-label img {
  width: 132px;
  height: auto;
  flex: 0 0 132px;
}

.programme-label figcaption {
  max-width: 210px;
  color: rgba(36, 43, 90, 0.68);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cines-palace-logo-link {
  display: block;
  width: 220px;
  margin-bottom: 1.25rem;
}

.cines-palace-logo-link img {
  display: block;
  width: 100%;
  height: auto;
}

.programme-card {
  padding: clamp(2rem, 4vw, 3.5rem);
  background: var(--yellow);
  box-shadow: 18px 18px 0 var(--navy);
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.1rem;
  border-bottom: 2px solid var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 11px;
  height: 11px;
  background: var(--navy);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(36, 43, 90, 0.12);
}

.programme-title {
  margin: 2rem 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
}

.programme-card dl {
  margin: 0 0 2rem;
}

.programme-card dl > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem;
  border-bottom: 1px solid rgba(36, 43, 90, 0.24);
}

.programme-card dt {
  opacity: 0.7;
}

.programme-card dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

.venue-address {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.82rem;
  font-weight: 400;
}

.booking {
  background: var(--navy);
  color: var(--white);
}

.booking-heading {
  align-items: end;
}

.booking-steps {
  display: grid;
  margin: clamp(4rem, 8vw, 7rem) 0 0;
  padding: 0;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  list-style: none;
}

.booking-steps li {
  min-height: 280px;
  padding: 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.booking-steps li:first-child {
  padding-left: 0;
}

.booking-steps li > span {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 3rem;
  place-items: center;
  background: var(--yellow);
  border-radius: 50%;
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 700;
}

.booking-steps p {
  color: rgba(255, 255, 255, 0.72);
}

.newsletter {
  background: var(--yellow);
}

.newsletter-inner {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.newsletter h2 {
  max-width: 800px;
}

.newsletter .large-copy {
  max-width: 650px;
  margin-bottom: 0;
}

.newsletter-actions {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 1.5rem;
}

.newsletter-button {
  gap: 0.75rem;
}

.newsletter-button-icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  background: var(--yellow);
  border-radius: 50%;
}

.newsletter-button-icon img {
  width: 17px;
  height: 17px;
}

.contact {
  background: var(--cream);
}

.contact-grid {
  align-items: end;
}

.contact-grid h2 {
  margin-bottom: 0;
}

.contact-links {
  display: grid;
  margin-top: clamp(3rem, 6vw, 5rem);
  grid-template-columns: 1fr 1fr;
  border-top: 2px solid var(--navy);
}

.contact-links a {
  position: relative;
  display: grid;
  min-height: 170px;
  align-content: center;
  padding: 2rem 4rem 2rem 0;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  column-gap: 1.25rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.contact-links a:first-child {
  border-right: 1px solid var(--line);
}

.contact-links a:last-child {
  padding-left: 3rem;
}

.contact-links span {
  margin-bottom: 0.7rem;
  grid-column: 1;
  grid-row: 1;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-links strong {
  grid-column: 1;
  grid-row: 2;
  font-size: clamp(1.25rem, 2.3vw, 2rem);
  overflow-wrap: anywhere;
}

.contact-address {
  display: block;
  margin-top: 0.45rem;
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  font-weight: 400;
  line-height: 1.35;
}

.contact-links b {
  display: flex;
  align-items: center;
  align-self: center;
  justify-content: center;
  grid-column: 2;
  grid-row: 2;
  color: var(--navy);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.contact-links a:hover b,
.contact-links a:focus-visible b {
  transform: translate(5px, -5px);
}

.contact-icon-mail img {
  width: 30px;
  height: 30px;
}

.contact-icon-emoji {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0;
  white-space: nowrap;
}

.site-footer {
  padding-top: clamp(4rem, 7vw, 7rem);
  background: var(--navy);
  color: var(--white);
}

.footer-grid {
  display: grid;
  padding-bottom: 2rem;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.footer-brand img {
  width: 150px;
  max-height: 110px;
  object-fit: contain;
  object-position: left center;
}

.footer-brand p {
  max-width: 340px;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.68);
}

.footer-grid nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer-navigation-area {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.footer-grid nav div {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-grid nav strong {
  margin-bottom: 0.65rem;
  color: var(--yellow);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-grid nav a,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.footer-grid nav a:hover,
.footer-bottom a:hover {
  color: var(--yellow);
}

.footer-legal-link {
  width: 100%;
  margin-top: 0.35rem;
  padding-top: 0.85rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  text-align: left;
  text-decoration: none;
}

.footer-legal-link:hover,
.footer-legal-link:focus-visible {
  color: var(--yellow);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.social-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-block: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}

.footer-heart {
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-variant-emoji: text;
}

.link-arrow {
  display: inline-block;
  font-family: Arial, Helvetica, sans-serif;
  font-style: normal;
  font-variant-emoji: text;
  line-height: 1;
}

.error-page {
  min-height: 100vh;
  background: var(--navy);
}

.legal-page {
  background: var(--white);
}

.legal-page .site-header {
  position: relative;
}

.legal-header-link {
  min-height: 46px;
  padding: 0.7rem 1.1rem;
}

.legal-main {
  background: var(--white);
}

.legal-hero {
  padding-block: clamp(4rem, 9vw, 8rem);
  background: var(--navy);
  color: var(--white);
}

.legal-hero h1 {
  max-width: 1000px;
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 7.5vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.legal-intro {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
}

.legal-content {
  display: grid;
  padding-block: clamp(4rem, 8vw, 7rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.legal-summary {
  align-self: start;
  padding: 1.5rem;
  background: var(--cream);
  border-top: 7px solid var(--yellow);
}

.legal-summary strong {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-summary nav {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 0.7rem;
}

.legal-summary a {
  text-decoration-color: rgba(36, 43, 90, 0.35);
  text-underline-offset: 0.25em;
}

.legal-sections {
  min-width: 0;
}

.legal-section {
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
}

.legal-section + .legal-section {
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.legal-section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-section h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.legal-section h3 {
  margin-top: 2rem;
  margin-bottom: 0.65rem;
  font-size: 1.2rem;
}

.legal-section p,
.legal-section li,
.legal-address {
  max-width: 780px;
  color: rgba(36, 43, 90, 0.86);
}

.legal-section ul {
  padding-left: 1.2rem;
}

.legal-section a {
  font-weight: 700;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 0.18em;
  text-underline-offset: 0.18em;
}

.legal-address {
  font-style: normal;
}

.legal-meta {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.55rem 0.8rem;
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.error-page .site-header {
  position: relative;
}

.error-header-link {
  min-height: 46px;
  padding: 0.7rem 1.1rem;
}

.error-main {
  position: relative;
  display: grid;
  min-height: calc(100vh - 97px);
  place-items: center;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.error-main::before,
.error-main::after {
  position: absolute;
  width: min(42vw, 620px);
  aspect-ratio: 1;
  border: clamp(24px, 4vw, 58px) solid rgba(255, 212, 0, 0.08);
  border-radius: 50%;
  content: "";
}

.error-main::before {
  top: -24%;
  right: -10%;
}

.error-main::after {
  bottom: -32%;
  left: -12%;
}

.error-content {
  position: relative;
  z-index: 1;
  max-width: 980px;
  padding-block: clamp(4.5rem, 9vw, 8rem);
  text-align: center;
}

.error-code {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 2rem;
  color: var(--yellow);
  font-size: clamp(7rem, 24vw, 17rem);
  font-weight: 700;
  letter-spacing: -0.1em;
  line-height: 0.72;
}

.error-reel {
  position: relative;
  display: inline-grid;
  width: 0.72em;
  margin-inline: 0.04em 0.12em;
  aspect-ratio: 1;
  place-items: center;
  border: 0.075em solid currentColor;
  border-radius: 50%;
}

.error-reel::before {
  width: 0.24em;
  aspect-ratio: 1;
  border: 0.055em solid currentColor;
  border-radius: 50%;
  content: "";
}

.error-content h1 {
  max-width: 900px;
  margin: 0 auto 1.5rem;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.error-message {
  max-width: 620px;
  margin: 0 auto 2.4rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

.error-actions {
  justify-content: center;
}

.error-footer {
  padding-top: 0;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

@media (max-width: 960px) {
  .site-header {
    border-top-width: 6px;
  }

  .header-inner {
    min-height: 76px;
  }

  .menu-toggle {
    z-index: 2;
    display: block;
    position: relative;
    flex: 0 0 46px;
    padding: 0;
  }

  .menu-toggle span {
    position: absolute;
    top: 50%;
    left: 9px;
    width: 28px;
    margin: 0;
    transform-origin: center;
  }

  .menu-toggle span:nth-child(1) {
    transform: translateY(-8px);
  }

  .menu-toggle span:nth-child(2) {
    transform: translateY(-1px);
  }

  .menu-toggle span:nth-child(3) {
    transform: translateY(6px);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(-1px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-1px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    inset: 0;
    display: flex;
    z-index: 1;
    visibility: hidden;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    width: 100vw;
    height: 100dvh;
    padding: 8rem 1.5rem 2rem;
    overflow-y: auto;
    background: var(--cream);
    font-size: clamp(1.5rem, 6vw, 2.6rem);
    opacity: 0;
    transform: translateY(-1rem);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }

  .main-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .header-socials {
    margin-top: 1rem;
    gap: 1rem;
  }

  .header-social-link {
    width: 48px;
    height: 48px;
  }

  .header-social-link img {
    width: 23px;
    height: 23px;
  }

  .site-header {
    backdrop-filter: none;
  }

  .brand {
    position: relative;
    z-index: 2;
  }

  .hero-content {
    padding-bottom: 13.5rem;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .two-columns,
  .booking-heading,
  .programme-grid,
  .newsletter-inner,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 0;
    border-top: 0;
  }

  .timeline article,
  .timeline article:not(:first-child) {
    border-top: 2px solid var(--navy);
  }

  .membership-image {
    min-height: 0;
  }

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

  .booking-steps li:nth-child(2) {
    border-right: 0;
  }

  .footer-grid {
    grid-template-columns: 0.75fr 1.25fr;
  }

  .legal-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .legal-summary {
    position: static;
  }
}

@media (max-width: 660px) {
  html {
    scroll-padding-top: 76px;
  }

  .brand img {
    width: 68px;
    height: 56px;
  }

  .hero {
    min-height: 780px;
  }

  .hero::after {
    background: linear-gradient(0deg, rgba(36, 43, 90, 0.96) 0%, rgba(36, 43, 90, 0.58) 58%, rgba(36, 43, 90, 0.2) 100%);
  }

  .hero-media {
    background-position: 64% center;
  }

  .hero h1 {
    font-size: clamp(3.55rem, 18vw, 5.8rem);
    line-height: 0.9;
    white-space: normal;
  }

  .hero h1 em {
    display: inline-block;
    padding-top: 0.1em;
  }

  .hero-mobile-break {
    display: block;
  }

  .hero-content {
    padding-bottom: 17rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stats > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 0.75rem var(--gutter);
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-stats strong {
    font-size: 1.45rem;
  }

  .timeline {
    display: none;
  }

  .newsletter-button {
    width: 100%;
    justify-content: flex-start;
    padding-inline: 1rem;
  }

  .newsletter-button .link-arrow {
    margin-left: auto;
  }

  .membership-image {
    min-height: 0;
  }

  .membership-content {
    padding-inline: var(--gutter);
  }

  .programme-card {
    box-shadow: 9px 9px 0 var(--navy);
  }

  .cines-palace-logo-link {
    width: 190px;
  }

  .booking-steps {
    margin-top: 2.25rem;
    grid-template-columns: 1fr;
  }

  .booking-steps li,
  .booking-steps li:first-child {
    display: grid;
    min-height: 0;
    padding: 1rem 0;
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 0.9rem;
    row-gap: 0.25rem;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .booking-steps li > span {
    width: 36px;
    height: 36px;
    margin: 0;
    grid-row: 1 / span 2;
    font-size: 1rem;
  }

  .booking-steps h3 {
    margin-bottom: 0;
    grid-column: 2;
    font-size: 1rem;
  }

  .booking-steps p {
    margin: 0;
    grid-column: 2;
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .booking {
    padding-block: 4rem;
  }

  .booking-heading {
    gap: 1.5rem;
  }

  .booking-heading h2 {
    font-size: clamp(2.25rem, 11vw, 3.25rem);
  }

  .booking-heading .large-copy {
    font-size: 1rem;
  }

  .contact-links,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .contact-links a,
  .contact-links a:last-child {
    min-height: 135px;
    padding: 1.5rem 3rem 1.5rem 0;
  }

  .contact-links a:first-child {
    border-right: 0;
  }

  .footer-bottom {
    align-items: center;
    flex-direction: row;
    gap: 0.5rem;
    font-size: clamp(0.62rem, 2.5vw, 0.76rem);
  }

  .footer-bottom > span {
    white-space: nowrap;
  }

  .legal-hero h1 {
    font-size: clamp(2.45rem, 12vw, 4.25rem);
  }

  .legal-header-link {
    min-height: 42px;
    padding: 0.55rem 0.8rem;
    font-size: 0.76rem;
  }

  .legal-section h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }
}

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

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