:root {
  --ether: #d5e0e7;
  --navy: #1b3158;
  --gold: #e9a13f;
  --sand: #ffcc6f;
  --gray: #41464c;
  --white: #ffffff;
  --page-pad: clamp(1.25rem, 4vw, 4.5rem);
  color-scheme: light;
  font-family: "DM Sans", "Avenir Next", Avenir, Helvetica, Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ether);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--navy);
  background: var(--ether);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
}

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

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: var(--ether);
  background: var(--navy);
  transform: translateY(-200%);
}

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

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 6rem;
  padding: clamp(0.75rem, 1.8vw, 1.1rem) var(--page-pad);
}

.header-logo-link {
  display: block;
  flex: 0 0 auto;
  border-radius: 50%;
  line-height: 0;
  text-decoration: none;
  transition: filter 160ms ease, transform 160ms ease;
}

.header-logo-link:hover,
.header-logo-link:focus-visible {
  filter: drop-shadow(0 0.4rem 0.75rem rgba(27, 49, 88, 0.18));
  transform: translateY(-2px);
}

.header-support-link {
  border-radius: 0.9rem;
}

.header-brand-logo,
.header-support-logo {
  display: block;
  height: auto;
}

.header-brand-logo {
  width: clamp(3.5rem, 6vw, 4.75rem);
}

.header-support-logo {
  width: clamp(5rem, 8.5vw, 6.75rem);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  overflow: hidden;
  padding: clamp(0.5rem, 2vw, 2rem) var(--page-pad) clamp(5rem, 9vw, 9rem);
}

.chair-watermark {
  position: absolute;
  z-index: -1;
  top: 43%;
  left: 50%;
  width: min(82rem, 108vw);
  max-width: none;
  opacity: 0.075;
  transform: translate(-50%, -50%);
  mix-blend-mode: multiply;
  pointer-events: none;
  user-select: none;
}

.ring-stage {
  --ring-size: min(50rem, calc(100vw - 2rem));
  --video-size: min(37.5rem, calc(75vw - 1.5rem));
  position: relative;
  width: var(--ring-size);
  height: var(--ring-size);
  display: grid;
  place-items: center;
}

.video-frame {
  position: absolute;
  z-index: 0;
  display: grid;
  place-items: center;
  width: var(--video-size);
  height: var(--video-size);
  overflow: hidden;
  border-radius: 50%;
  background: var(--ether);
}

.video-frame video {
  display: block;
  width: 70.7107%;
  height: 70.7107%;
  object-fit: contain;
}

.ring-art {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  -webkit-mask-image: radial-gradient(
    circle closest-side,
    transparent 0 74.2%,
    #000 74.5% 97.8%,
    transparent 98.7%
  );
  mask-image: radial-gradient(
    circle closest-side,
    transparent 0 74.2%,
    #000 74.5% 97.8%,
    transparent 98.7%
  );
}

.video-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: min(38rem, calc(100vw - 2rem));
  margin-top: clamp(0.75rem, 2vw, 1.25rem);
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(27, 49, 88, 0.18);
  border-radius: 999px;
  color: var(--ether);
  background: var(--navy);
  box-shadow: 0 0.45rem 1.3rem rgba(27, 49, 88, 0.14);
}

.transport-buttons,
.timeline {
  display: flex;
  align-items: center;
}

.transport-buttons {
  gap: 0.25rem;
}

.control-button {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.control-button:hover {
  border-color: rgba(213, 224, 231, 0.55);
  background: rgba(213, 224, 231, 0.1);
}

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

.control-button--primary:hover {
  border-color: var(--gold);
  background: var(--sand);
}

.control-icon {
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
}

.icon-pause,
.icon-volume {
  display: none;
}

.video-controls[data-playing="true"] .icon-play,
.video-controls[data-muted="false"] .icon-muted {
  display: none;
}

.video-controls[data-playing="true"] .icon-pause,
.video-controls[data-muted="false"] .icon-volume {
  display: block;
}

.skip-amount {
  position: absolute;
  right: 0.15rem;
  bottom: 0.05rem;
  font-size: 0.55rem;
  font-weight: 800;
  line-height: 1;
}

.timeline {
  flex: 1 1 auto;
  gap: 0.7rem;
  min-width: 0;
}

.video-progress {
  --progress: 0%;
  flex: 1 1 auto;
  min-width: 5rem;
  height: 1.25rem;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
}

.video-progress::-webkit-slider-runnable-track {
  height: 0.25rem;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--gold) 0 var(--progress),
    rgba(213, 224, 231, 0.35) var(--progress) 100%
  );
}

.video-progress::-moz-range-track {
  height: 0.25rem;
  border-radius: 999px;
  background: rgba(213, 224, 231, 0.35);
}

.video-progress::-moz-range-progress {
  height: 0.25rem;
  border-radius: 999px;
  background: var(--gold);
}

.video-progress::-webkit-slider-thumb {
  width: 0.9rem;
  height: 0.9rem;
  margin-top: -0.325rem;
  border: 2px solid var(--navy);
  border-radius: 50%;
  appearance: none;
  -webkit-appearance: none;
  background: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

.video-progress::-moz-range-thumb {
  width: 0.7rem;
  height: 0.7rem;
  border: 2px solid var(--navy);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

.video-time {
  min-width: 5.4rem;
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-align: right;
  white-space: nowrap;
}

.hero h1 {
  max-width: 22ch;
  margin: clamp(1.5rem, 3vw, 2.75rem) 0 0;
  font-size: clamp(1.35rem, 3vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-align: center;
}

.site-footer {
  color: var(--ether);
  background: var(--navy);
}

.footer-inner {
  width: min(100%, 86rem);
  margin-inline: auto;
  padding: clamp(2.2rem, 5vw, 4rem) var(--page-pad) 1.4rem;
}

.footer-topline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(213, 224, 231, 0.22);
}

.footer-mark {
  margin: 0;
  color: var(--gold);
  font-size: clamp(2.8rem, 6vw, 5.75rem);
  font-weight: 950;
  letter-spacing: 0.02em;
  line-height: 0.82;
  -webkit-text-stroke: 1px var(--ether);
}

.footer-slogan {
  margin: 0;
  font-size: clamp(0.9rem, 1.8vw, 1.2rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-align: right;
  white-space: nowrap;
}

.footer-actions {
  display: grid;
  grid-template-columns: 1fr minmax(16rem, 0.7fr);
  gap: clamp(1rem, 4vw, 3.5rem);
  padding: 1.4rem 0 2rem;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-socials a,
.footer-contract {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.95rem;
  border: 1px solid rgba(213, 224, 231, 0.3);
  border-radius: 0.8rem;
  color: var(--ether);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.875rem;
  font-weight: 850;
  text-decoration: none;
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-contract {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  border-color: rgba(233, 161, 63, 0.58);
}

.footer-contract-label {
  color: var(--gold);
  font-weight: 900;
}

.footer-contract-value {
  min-width: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: clamp(0.7rem, 1.1vw, 0.84rem);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.025em;
  overflow-wrap: anywhere;
  text-align: left;
}

.legal-disclaimer {
  display: grid;
  max-width: 72rem;
  margin: 0 auto;
  gap: 0.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(213, 224, 231, 0.22);
  color: rgba(213, 224, 231, 0.62);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.55;
  text-align: center;
}

.legal-disclaimer p {
  margin: 0;
}

.support-page {
  position: relative;
  overflow-x: hidden;
  color: var(--navy);
  background: var(--ether);
}

.support-header {
  color: var(--navy);
  background: transparent;
}

.support-carousel-page {
  position: relative;
  z-index: 1;
}

.support-carousel-section {
  min-height: calc(100vh - 5.25rem);
  overflow: hidden;
  padding: clamp(1rem, 3vw, 3rem) 0 clamp(5rem, 10vw, 9rem);
}

.support-carousel {
  position: relative;
  display: block;
  width: 100%;
  outline: none;
}

.support-carousel:focus-visible .support-carousel-active-card {
  outline: 3px solid var(--gold);
  outline-offset: 7px;
}

.support-carousel-stage {
  position: relative;
  left: 50%;
  display: grid;
  width: min(70rem, 118vw);
  grid-template-columns: minmax(0, 0.66fr) minmax(220px, 1.25fr) minmax(0, 0.66fr);
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.75rem);
  perspective: 1200px;
  transform: translateX(-50%);
  touch-action: pan-y;
}

.support-carousel-active-card {
  position: relative;
  z-index: 2;
  width: min(100%, 540px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--navy);
  background: var(--ether);
  box-shadow: 0.55rem 0.55rem 0 rgba(27, 49, 88, 0.24);
  transform: translateZ(28px);
}

.support-carousel-active-image,
.support-carousel-peek img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  user-select: none;
}

.support-carousel-active-image {
  background: var(--ether);
  transition: opacity 180ms ease, transform 260ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.support-carousel-active-image.is-changing {
  opacity: 0.42;
  transform: scale(0.985);
}

.support-carousel-peek {
  width: min(100%, 340px);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--navy);
  background: var(--ether);
  box-shadow: 0 1rem 2.6rem rgba(27, 49, 88, 0.16);
  cursor: pointer;
  opacity: 0.58;
  transition: opacity 180ms ease, transform 180ms ease;
}

.support-carousel-peek:hover,
.support-carousel-peek:focus-visible {
  opacity: 0.9;
}

.support-carousel-peek-previous {
  justify-self: end;
  transform: rotateY(17deg) rotate(-2deg) translateX(11%);
  transform-origin: right center;
}

.support-carousel-peek-previous:hover,
.support-carousel-peek-previous:focus-visible {
  transform: rotateY(10deg) rotate(-1deg) translateX(8%);
}

.support-carousel-peek-next {
  justify-self: start;
  transform: rotateY(-17deg) rotate(2deg) translateX(-11%);
  transform-origin: left center;
}

.support-carousel-peek-next:hover,
.support-carousel-peek-next:focus-visible {
  transform: rotateY(-10deg) rotate(1deg) translateX(-8%);
}

.support-carousel-nav {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: clamp(3rem, 5vw, 4rem);
  aspect-ratio: 1;
  place-items: center;
  padding: 0;
  border: 1px solid var(--navy);
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold);
  box-shadow: 4px 4px 0 var(--navy);
  cursor: pointer;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.support-carousel-previous {
  left: clamp(0.6rem, 3vw, 2rem);
}

.support-carousel-next {
  right: clamp(0.6rem, 3vw, 2rem);
}

.support-carousel-nav:hover,
.support-carousel-nav:focus-visible {
  background: var(--sand);
  transform: translate(2px, calc(-50% + 2px));
  box-shadow: 2px 2px 0 var(--navy);
}

.support-carousel-meta {
  width: min(91vw, 540px);
  margin: 1.4rem auto 0;
}

.support-carousel-status {
  display: grid;
  grid-template-columns: auto minmax(7rem, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
}

.support-carousel-counter,
.support-carousel-motion-toggle {
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.support-carousel-progress-track {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(27, 49, 88, 0.2);
}

.support-carousel-progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
}

.support-carousel-progress-fill.is-running {
  animation: support-carousel-timer var(--slide-duration, 10s) linear forwards;
}

.support-carousel-motion-toggle {
  padding: 0.25rem;
  border: 0;
  border-bottom: 2px solid currentColor;
  color: var(--navy);
  background: transparent;
  cursor: pointer;
}

.support-carousel-hint {
  margin: 0.9rem 0 0;
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
}

@keyframes support-carousel-timer {
  to {
    transform: scaleX(1);
  }
}

.support-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(213, 224, 231, 0.35);
}

.support-chair-watermark {
  position: fixed;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: min(82rem, 108vw);
  max-width: none;
  opacity: 0.075;
  transform: translate(-50%, -50%);
  mix-blend-mode: multiply;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 44rem) {
  .site-header {
    min-height: 5.25rem;
  }

  .header-brand-logo {
    width: 3.4rem;
  }

  .header-support-logo {
    width: 5rem;
  }

  .hero {
    padding-top: 0;
    padding-bottom: 4rem;
  }

  .ring-stage {
    --ring-size: min(50rem, calc(100vw - 1rem));
    --video-size: min(37.5rem, calc(75vw - 0.75rem));
  }

  .video-controls {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.35rem 0.65rem;
    margin-top: 0.5rem;
    padding: 0.45rem 0.55rem;
  }

  .control-button {
    width: 2.25rem;
    height: 2.25rem;
  }

  .video-time {
    display: none;
  }

  .footer-topline {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 0.8rem;
  }

  .footer-slogan {
    text-align: left;
    white-space: normal;
  }

  .footer-actions {
    grid-template-columns: 1fr;
    padding-bottom: 1.6rem;
  }

  .legal-disclaimer {
    text-align: left;
  }

  .support-carousel-stage {
    width: min(52rem, 124vw);
    grid-template-columns: minmax(0, 0.6fr) minmax(210px, 1.4fr) minmax(0, 0.6fr);
  }
}

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