.control-icon {
  display: block;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

.contact-methods a {
  color: var(--crimson-ink);
  width: fit-content;
}

.contact-methods a:hover {
  color: #fff;
}

.has-whatsapp footer {
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}

.whatsapp-float {
  position: fixed;
  z-index: 40;
  right: calc(24px + env(safe-area-inset-right, 0px));
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid #ffffff40;
  border-radius: 50%;
  background: #128c4a;
  box-shadow: 0 8px 24px #00000055;
  transition: transform 180ms ease, background-color 180ms ease;
}

.whatsapp-float img {
  display: block;
  width: 28px;
  height: 28px;
  filter: invert(1);
}

.whatsapp-float:hover {
  background: #0b6e39;
  transform: translateY(-3px);
}

.whatsapp-float:focus-visible {
  outline: 3px solid #f8f7f5;
  outline-offset: 4px;
}

.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  display: grid;
  gap: 4px;
  width: max-content;
  max-width: 200px;
  padding: 10px 12px;
  border: 1px solid #ffffff30;
  border-radius: 6px;
  background: #111214;
  color: #f8f7f5;
  font-size: 12px;
  line-height: 1.5;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.whatsapp-float:focus-visible .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
}

@media (hover: hover) and (pointer: fine) {
  .whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 600px) {
  .whatsapp-float {
    right: calc(16px + env(safe-area-inset-right, 0px));
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float:hover {
    transform: none;
  }
}

@media print {
  .whatsapp-float {
    display: none;
  }
}

.screen-reader-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.logo-slide .logo-crop {
  --logo-height: 72px;
  display: block;
  position: relative;
  width: min(190px, 100%, calc(var(--logo-height) * var(--logo-ratio)));
  aspect-ratio: var(--logo-ratio);
  overflow: hidden;
  flex: 0 0 auto;
}

.logo-slide .logo-crop img {
  position: absolute;
  left: var(--logo-left);
  top: var(--logo-top);
  width: var(--logo-width) !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  display: block;
}

.readiness-gallery {
  min-width: 0;
  margin: 0;
}

.gallery-stage {
  position: relative;
  isolation: isolate;
  touch-action: pan-y;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 550ms ease, visibility 550ms ease;
}

.gallery-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-footer {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gallery-caption {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  line-height: 1.6;
  color: #d6d7da;
  min-height: 24px;
}

.gallery-position {
  color: #ff934f;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.gallery-controls,
.gallery-dots {
  display: flex;
  align-items: center;
  gap: 4px;
}

.gallery-control,
.photo-zoom,
.lightbox-control {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #ffffff30;
  border-radius: 50%;
  color: #f8f7f5;
  background: #111214;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.gallery-control:hover,
.gallery-control:focus-visible,
.photo-zoom:hover,
.photo-zoom:focus-visible,
.lightbox-control:hover,
.lightbox-control:focus-visible {
  border-color: #ff934f;
  color: #ff934f;
  background: #202123;
}

.gallery-dot {
  width: 24px;
  height: 40px;
  padding: 0;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.gallery-dot::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #676a70;
}

.gallery-dot.is-active::after {
  width: 14px;
  border-radius: 3px;
  background: #ff934f;
}

.gallery-dot:focus-visible,
.gallery-control:focus-visible,
.photo-zoom:focus-visible,
.lightbox-control:focus-visible {
  outline: 2px solid #f2c27d;
  outline-offset: 3px;
}

.photo-interactive {
  position: relative;
  cursor: zoom-in;
}

.photo-zoom {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 18px;
  background: #090a0be6;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.photo-interactive:hover .photo-zoom,
.photo-interactive:focus-within .photo-zoom {
  opacity: 1;
  transform: translateY(0);
}

.photo-interactive:hover > img,
.photo-interactive:hover .gallery-slide.is-active img {
  transform: scale(1.025);
}

.image-hover-preview {
  position: fixed;
  z-index: 500;
  width: 440px;
  padding: 8px;
  border: 1px solid #ffffff40;
  border-radius: 6px;
  background: #111214;
  box-shadow: 0 24px 70px #00000080;
  pointer-events: none;
}

.image-hover-preview img {
  display: block;
  width: 100%;
  height: 285px;
  object-fit: contain;
  background: #090a0b;
}

.image-hover-preview p {
  font-size: 11px;
  line-height: 1.6;
  margin: 8px 4px 2px;
  color: #d6d7da;
}

.image-lightbox {
  width: min(1200px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 22px;
  margin: auto;
  border: 1px solid #ffffff30;
  border-radius: 6px;
  background: #101112;
  color: #f8f7f5;
  overflow: auto;
}

.image-lightbox::backdrop {
  background: #000000d9;
}

.image-lightbox figure {
  margin: 0;
}

.lightbox-toolbar {
  display: flex;
  justify-content: flex-end;
  padding-bottom: 14px;
}

.lightbox-photo {
  display: block;
  width: 100%;
  height: min(68vh, 740px);
  object-fit: contain;
}

.lightbox-footer {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 16px;
  align-items: center;
  padding-top: 18px;
}

.lightbox-caption {
  margin: 0;
  color: #d6d7da;
  text-align: center;
  font-size: 12px;
  line-height: 1.7;
}

.lightbox-control[hidden] {
  visibility: hidden;
  display: inline-flex;
}

@media (max-width: 600px) {
  .logo-slide .logo-crop {
    --logo-height: 60px;
    width: min(126px, 100%, calc(var(--logo-height) * var(--logo-ratio)));
  }

  .gallery-footer {
    padding-top: 18px;
  }

  .gallery-caption,
  .gallery-controls {
    width: 100%;
  }

  .gallery-controls {
    justify-content: space-between;
  }

  .image-lightbox {
    padding: 12px;
  }

  .lightbox-photo {
    height: 60vh;
  }

  .lightbox-footer {
    gap: 10px;
  }
}

@media (hover: none) {
  .photo-zoom {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-slide,
  .photo-zoom,
  .photo-interactive img {
    transition: none;
    transform: none !important;
  }
}

.motion-enabled .motion-item {
  --motion-x: 0px;
  --motion-y: 46px;
  opacity: 0;
  translate: var(--motion-x) var(--motion-y);
  transition: opacity 420ms ease, translate 650ms cubic-bezier(0.2, 0.65, 0.3, 1),
    transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease, background-color 220ms ease,
    scale 300ms ease, rotate 400ms ease;
}

.motion-enabled .motion-item[data-motion="left"] {
  --motion-x: -24px;
  --motion-y: 0px;
}

.motion-enabled .motion-item[data-motion="right"] {
  --motion-x: 24px;
  --motion-y: 0px;
}

.motion-enabled .motion-item[data-motion="fade"] {
  --motion-y: 0px;
}

.motion-enabled .motion-item.is-motion-visible {
  opacity: 1;
  translate: 0 0;
  transition-duration: 700ms, 900ms, 250ms, 250ms, 250ms, 220ms, 300ms, 400ms;
  transition-delay: var(--motion-delay, 0ms), var(--motion-delay, 0ms), 0ms, 0ms, 0ms, 0ms, 0ms, 0ms;
}

.motion-enabled .motion-item:focus-within {
  opacity: 1 !important;
  translate: 0 0 !important;
  transition-delay: 0ms;
  transition-duration: 0ms;
}

.motion-enabled .motion-image > img {
  scale: 1.18;
  translate: 0 var(--image-drift, 0px);
  clip-path: inset(0 100% 0 0);
  transition: scale 1400ms cubic-bezier(0.2, 0.6, 0.3, 1), translate 200ms linear,
    transform 700ms ease, clip-path 1000ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.motion-enabled .motion-image.is-image-visible > img {
  scale: var(--image-zoom, 1.12);
  clip-path: inset(0 0 0 0);
}

.motion-enabled .home-hero .motion-image > img {
  clip-path: none;
}

.scroll-scenes-enabled .home-hero .hero-visual {
  height: 100%;
  aspect-ratio: auto;
}

.scroll-scenes-enabled .site {
  overflow: clip;
}

.scroll-scenes-enabled .header {
  position: sticky;
  top: 0;
}

.page-scroll-progress {
  display: none;
  pointer-events: none;
}

.scroll-scenes-enabled .page-scroll-progress {
  display: block;
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  height: 3px;
  background: #ff934f;
  transform: scaleX(var(--page-progress, 0));
  transform-origin: left;
}

.scroll-scenes-enabled .home-hero .hero-copy {
  opacity: var(--hero-copy-opacity, 1);
  translate: 0 var(--hero-copy-shift, 0px);
  transition: opacity 160ms linear, translate 160ms linear;
}

.scroll-scenes-enabled .home-hero .hero-copy:focus-within {
  opacity: 1;
  translate: none;
}

.scroll-scenes-enabled .scroll-word {
  opacity: var(--word-opacity, 1);
  transition: opacity 180ms linear;
}

.scroll-scenes-enabled .motion-item:focus-within .scroll-word {
  opacity: 1;
}

.scroll-scenes-enabled .scroll-card {
  scale: var(--card-scale, 1);
  rotate: var(--card-rotate, 0deg);
  transform-origin: center 70%;
}

.scroll-scenes-enabled .scroll-card:focus-within {
  scale: 1;
  rotate: none;
}

.scroll-scenes-enabled .scroll-section {
  position: relative;
}

.section-scroll-line {
  display: none;
  pointer-events: none;
}

.scroll-scenes-enabled .section-scroll-line {
  display: block;
  position: absolute;
  inset: auto var(--section-x) 0;
  height: 1px;
  background: #ff934f66;
  transform: scaleX(var(--section-progress, 0));
  transform-origin: left;
}

.scroll-scenes-enabled .scroll-showcase.is-scroll-pinned {
  min-height: var(--showcase-height);
  align-items: start;
  overflow: visible;
}

.scroll-scenes-enabled .is-scroll-pinned > .programme-card {
  position: sticky;
  top: var(--pin-top);
}

.scroll-scenes-enabled .is-scroll-pinned > .programme-next {
  top: calc(var(--pin-top) + 44px);
}

@media (max-width: 900px) {
  .scroll-scenes-enabled .scroll-card {
    rotate: none;
  }
}

@media (max-width: 600px) {
  .motion-enabled .motion-item {
    --motion-y: 28px;
  }

  .motion-enabled .motion-item[data-motion="left"],
  .motion-enabled .motion-item[data-motion="right"] {
    --motion-x: 0px;
    --motion-y: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-item,
  .motion-image > img {
    opacity: 1 !important;
    translate: none !important;
    scale: none !important;
    clip-path: none !important;
    transition: none !important;
  }

  .scroll-word,
  .home-hero .hero-copy {
    opacity: 1 !important;
    translate: none !important;
  }

  .scroll-card {
    scale: none !important;
    rotate: none !important;
  }

  .scroll-showcase.is-scroll-pinned {
    min-height: 0 !important;
  }

  .is-scroll-pinned > .programme-card {
    position: static !important;
  }

  .page-scroll-progress,
  .section-scroll-line {
    display: none !important;
  }
}

@media print {
  .motion-enabled .motion-item,
  .motion-enabled .motion-image > img {
    opacity: 1 !important;
    translate: none !important;
    scale: none !important;
    clip-path: none !important;
    transition: none !important;
  }

  .scroll-scenes-enabled .scroll-word,
  .scroll-scenes-enabled .home-hero .hero-copy {
    opacity: 1 !important;
    translate: none !important;
    transition: none !important;
  }

  .scroll-scenes-enabled .scroll-card {
    scale: none !important;
    rotate: none !important;
  }

  .scroll-scenes-enabled .scroll-showcase.is-scroll-pinned {
    min-height: 0;
  }

  .scroll-scenes-enabled .is-scroll-pinned > .programme-card,
  .scroll-scenes-enabled .header {
    position: static;
  }

  .page-scroll-progress,
  .section-scroll-line {
    display: none !important;
  }
}
