:root {
  --gold: #d4af37;
  --gold-bright: #ffd76a;
  --gold-deep: #9f7718;
  --ink: #05070b;
  --panel: rgba(6, 9, 16, 0.76);
  --line: rgba(255, 215, 106, 0.22);
  --text: #fff9e8;
  --muted: rgba(255, 249, 232, 0.72);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.56);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--ink);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 215, 106, 0.2), transparent 28rem),
    radial-gradient(circle at 12% 80%, rgba(212, 175, 55, 0.1), transparent 22rem),
    radial-gradient(circle at 88% 18%, rgba(255, 232, 154, 0.08), transparent 18rem),
    linear-gradient(145deg, #020308 0%, #08101c 54%, #020308 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 72%);
}

#blockchain-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.site-header,
.hero-shell,
.image-modal {
  position: relative;
  z-index: 1;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  justify-content: center;
  padding: clamp(0.6rem, 1.5vw, 1.2rem);
  pointer-events: none;
}

.site-nav {
  width: min(100%, 1720px);
  display: flex;
  justify-content: flex-end;
}

.meeting-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.86rem 1.35rem;
  border: 1px solid rgba(255, 240, 180, 0.52);
  border-radius: 999px;
  color: #111006;
  font-size: clamp(0.92rem, 0.85vw, 1.02rem);
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  background: linear-gradient(135deg, #fff2a3 0%, var(--gold) 44%, #b98719 100%);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.62);
  pointer-events: auto;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.meeting-button:hover,
.meeting-button:focus-visible {
  transform: translateY(-2px);
  filter: saturate(1.1);
  box-shadow: 0 18px 44px rgba(255, 215, 106, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.meeting-button:focus-visible,
.slider-control:focus-visible,
.slider-dots button:focus-visible,
.fullscreen-button:focus-visible,
.modal-close:focus-visible,
.modal-nav:focus-visible {
  outline: 3px solid rgba(255, 215, 106, 0.72);
  outline-offset: 4px;
}

.hero-shell {
  min-height: 100vh;
  display: grid;
  place-items: start center;
  padding: clamp(1.05rem, 2.2vw, 2.15rem) clamp(1rem, 3vw, 4rem) clamp(1.25rem, 3vw, 3rem);
}

.hero {
  width: min(100%, 1720px);
  min-height: min(960px, calc(100vh - 2.8rem));
  display: grid;
  grid-template-rows: auto auto auto;
  align-items: start;
  gap: clamp(0.25rem, 0.75vh, 0.6rem);
}

.brand-lockup {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  text-align: center;
}

.brand-logo {
  width: clamp(82px, 8vw, 132px);
  height: auto;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.44));
}

.brand-lockup h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.35rem, 2.1vw, 2.6rem);
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: 0 4px 26px rgba(212, 175, 55, 0.28);
}

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

.slider {
  position: relative;
  width: min(100%, 1540px, calc((100vh - 245px) * 16 / 9));
  aspect-ratio: 16 / 9;
  justify-self: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  isolation: isolate;
}

.allied-companies {
  display: grid;
  justify-items: center;
  gap: clamp(0.6rem, 1.2vh, 0.9rem);
  margin-top: clamp(0.45rem, 1vh, 0.8rem);
  text-align: center;
}

.allied-companies h2 {
  margin: 0;
  color: var(--text);
  font-family: Orbitron, Inter, system-ui, sans-serif;
  font-size: clamp(1.05rem, 1.45vw, 1.55rem);
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: 0 4px 22px rgba(212, 175, 55, 0.3);
}

.allied-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.55rem, 1vw, 0.9rem);
  width: min(100%, 760px);
}

.allied-button {
  min-width: clamp(132px, 13vw, 178px);
  min-height: 44px;
  padding-inline: 1.15rem;
}

.slider::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  pointer-events: none;
  box-shadow: inset 0 0 70px rgba(0, 0, 0, 0.28);
}

.slides,
.slide {
  position: absolute;
  inset: 0;
}

.slide {
  margin: 0;
  opacity: 0;
  transform: scale(1.018);
  transition: opacity 850ms ease, transform 1300ms ease;
}

.slide.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

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

.slider-control {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: clamp(42px, 4.2vw, 62px);
  height: clamp(42px, 4.2vw, 62px);
  border: 1px solid rgba(255, 232, 154, 0.42);
  border-radius: 999px;
  color: var(--text);
  background: rgba(4, 7, 12, 0.58);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.slider-control span {
  display: block;
  font-size: clamp(2.1rem, 3.4vw, 3.5rem);
  line-height: 0.82;
  transform: translateY(-1px);
}

.slider-control--prev {
  left: clamp(0.7rem, 1.6vw, 1.5rem);
}

.slider-control--next {
  right: clamp(0.7rem, 1.6vw, 1.5rem);
}

.slider-control:hover {
  background: rgba(212, 175, 55, 0.26);
  border-color: rgba(255, 232, 154, 0.82);
  transform: translateY(-50%) scale(1.04);
}

.slider-dots {
  position: absolute;
  inset: auto 0 clamp(0.7rem, 1.8vw, 1.4rem);
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: clamp(0.34rem, 0.72vw, 0.58rem);
  padding-inline: 1rem;
}

.slider-dots button {
  width: clamp(8px, 0.9vw, 12px);
  height: clamp(8px, 0.9vw, 12px);
  padding: 0;
  border: 1px solid rgba(255, 232, 154, 0.48);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: width 220ms ease, background 220ms ease, border-color 220ms ease;
}

.slider-dots button[aria-current="true"] {
  width: clamp(24px, 2.6vw, 42px);
  background: linear-gradient(90deg, var(--gold-bright), var(--gold));
  border-color: rgba(255, 244, 190, 0.88);
}

.fullscreen-button {
  position: absolute;
  top: clamp(0.65rem, 1.3vw, 1rem);
  right: clamp(0.65rem, 1.3vw, 1rem);
  z-index: 5;
  width: clamp(34px, 3vw, 44px);
  height: clamp(34px, 3vw, 44px);
  border: 1px solid rgba(255, 232, 154, 0.58);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff2a3 0%, var(--gold) 48%, #b98719 100%);
  box-shadow: 0 10px 26px rgba(212, 175, 55, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.58);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.fullscreen-button span,
.fullscreen-button span::before,
.fullscreen-button span::after {
  position: absolute;
  content: "";
}

.fullscreen-button span {
  inset: 10px;
  border-top: 2px solid #111006;
  border-right: 2px solid #111006;
}

.fullscreen-button span::before {
  right: 0;
  bottom: 0;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid #111006;
  border-left: 2px solid #111006;
}

.fullscreen-button span::after {
  left: 0;
  top: 0;
  width: 10px;
  height: 10px;
  border-top: 2px solid #111006;
  border-left: 2px solid #111006;
}

.fullscreen-button:hover {
  transform: translateY(-1px);
  filter: saturate(1.1);
  box-shadow: 0 16px 34px rgba(255, 215, 106, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: clamp(0.6rem, 1.8vw, 1.5rem);
  background: rgba(1, 3, 8, 0.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.image-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.image-modal img {
  width: min(100vw - 2rem, calc((100vh - 2rem) * 16 / 9));
  max-width: 100%;
  max-height: calc(100vh - 2rem);
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border: 1px solid rgba(255, 232, 154, 0.35);
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.72);
}

.modal-close {
  position: fixed;
  top: clamp(0.7rem, 1.8vw, 1.4rem);
  right: clamp(0.7rem, 1.8vw, 1.4rem);
  z-index: 31;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 232, 154, 0.45);
  border-radius: 999px;
  color: #111006;
  font-size: 2rem;
  line-height: 1;
  background: linear-gradient(135deg, #fff2a3 0%, var(--gold) 48%, #b98719 100%);
  cursor: pointer;
}

.modal-nav {
  position: fixed;
  top: 50%;
  z-index: 31;
  width: clamp(48px, 5vw, 70px);
  height: clamp(48px, 5vw, 70px);
  border: 1px solid rgba(255, 232, 154, 0.5);
  border-radius: 999px;
  color: var(--text);
  background: rgba(4, 7, 12, 0.62);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.modal-nav--prev {
  left: clamp(0.9rem, 2vw, 2rem);
}

.modal-nav--next {
  right: clamp(0.9rem, 2vw, 2rem);
}

.modal-nav span {
  display: block;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 0.75;
}

.modal-nav:hover {
  background: rgba(212, 175, 55, 0.26);
  border-color: rgba(255, 232, 154, 0.82);
  transform: translateY(-50%) scale(1.04);
}

@media (max-width: 900px) {
  .site-header {
    padding: 0.7rem;
  }

  .site-nav {
    justify-content: center;
  }

  .hero-shell {
    padding-top: 1.05rem;
  }

  .hero {
    min-height: calc(100vh - 2.35rem);
    align-content: start;
  }

  .slider {
    width: min(100%, 92vh, calc((100vh - 225px) * 16 / 9));
  }
}

@media (max-width: 560px) {
  .hero-shell {
    padding-inline: 0.85rem;
  }

  .brand-logo {
    width: 78px;
  }

  .brand-lockup h1 {
    font-size: 1.32rem;
  }

  .slider-control {
    top: auto;
    bottom: 0.85rem;
    transform: none;
  }

  .slider-control:hover {
    transform: scale(1.04);
  }

  .slider-dots {
    bottom: 1.1rem;
    max-width: 58%;
    margin-inline: auto;
  }

  .allied-actions {
    width: min(100%, 320px);
    gap: 0.5rem;
  }

  .allied-button {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
