:root {
  --ink: #f4f1ff;
  --ink-soft: #d8d3ec;
  --accent: #983fd4;
  --accent-2: #f07f44;
  --peach: #f7b18a;
  --peach-strong: #f2a076;
  --teal: var(--peach);
  --line: rgba(143, 122, 198, 0.34);
  --panel: rgba(17, 10, 30, 0.62);
  --panel-strong: rgba(14, 8, 26, 0.84);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--ink);
  font-family: "Work Sans", sans-serif;
  background: #0a0510;
}

body.gate-locked {
  overflow: hidden;
}

body.gate-locked .site-header,
body.gate-locked main,
body.gate-locked .site-footer {
  filter: blur(5px) saturate(0.9);
  pointer-events: none;
  user-select: none;
}

.site-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    radial-gradient(circle at 10% 10%, rgba(247, 144, 89, 0.22), transparent 46%),
    radial-gradient(circle at 90% 85%, rgba(130, 58, 174, 0.28), transparent 48%),
    rgba(6, 3, 12, 0.92);
  backdrop-filter: blur(8px);
}

.site-gate-panel {
  width: min(520px, 100%);
  border: 1px solid rgba(187, 125, 217, 0.42);
  border-radius: 16px;
  background: rgba(14, 8, 26, 0.92);
  padding: clamp(20px, 4vw, 32px);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.44);
}

.gate-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--peach-strong);
}

.site-gate-panel h1 {
  margin-top: 10px;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.gate-copy {
  margin-top: 10px;
}

.site-gate-form {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.site-gate-form label {
  font-size: 0.9rem;
  color: #d8caef;
}

.site-gate-form input {
  width: 100%;
  border: 1px solid rgba(193, 142, 223, 0.45);
  border-radius: 10px;
  background: rgba(10, 5, 20, 0.9);
  color: #f5efff;
  font: inherit;
  padding: 11px 12px;
}

.site-gate-form button {
  border: 1px solid rgba(252, 198, 165, 0.66);
  border-radius: 10px;
  background: linear-gradient(95deg, rgba(140, 60, 188, 0.95), rgba(240, 127, 68, 0.94));
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 11px 14px;
  cursor: pointer;
}

.site-gate-form button:hover {
  filter: brightness(1.06);
}

.gate-error {
  min-height: 1.2em;
  margin: 0;
  color: #ff9ea2;
  font-size: 0.88rem;
}

.site-gate.is-unlocked {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 260ms ease, visibility 260ms ease;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 8px clamp(14px, 3vw, 28px);
  border-bottom: 1px solid rgba(136, 118, 191, 0.34);
  background: rgba(9, 4, 18, 0.78);
  backdrop-filter: blur(10px);
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.brand img {
  height: 30px;
  width: auto;
  max-width: 48vw;
  display: block;
}

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  border-radius: 8px;
  font: inherit;
  padding: 8px 12px;
}

.site-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  line-height: 1;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  padding: 7px 10px;
  border-radius: 999px;
  transition: background-color 160ms ease, color 160ms ease;
}

.site-nav a:hover {
  color: #fff;
  background: rgba(150, 79, 200, 0.22);
}

main {
  width: 100%;
  margin: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/sunbanner.jpg") center center / cover no-repeat;
  transform: scaleY(-1) scale(1.04) translate3d(0, 0.6%, 0);
  transform-origin: center;
  opacity: 0.34;
  animation: mainReflectDrift 26s ease-in-out infinite alternate;
  z-index: -2;
}

main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 10, 34, 0.08) 0%,
    rgba(16, 7, 24, 0.42) 48%,
    rgba(7, 3, 13, 0.86) 100%
  );
  z-index: -1;
}

#about {
  scroll-margin-top: 6px;
}

.section-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 22px auto;
  border: 1px solid rgba(132, 111, 190, 0.28);
  border-radius: 18px;
  background: var(--panel);
  backdrop-filter: blur(8px);
  padding: clamp(18px, 3vw, 34px);
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.22);
  transition: border-color 240ms ease, box-shadow 240ms ease;
}

.hero {
  min-height: 92vh;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 3, 18, 0.48) 0%, rgba(9, 4, 14, 0.12) 50%, rgba(9, 4, 14, 0.62) 100%),
    url("../img/sunbanner.jpg") center/cover no-repeat;
  transform: scale(1.04);
  animation: heroDrift 26s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 165, 126, 0.08), rgba(0, 0, 0, 0.3));
  animation: heroGlow 14s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 32px));
  text-align: center;
  padding: 24px;
}

.hero-logo {
  width: min(190px, 40vw);
  display: block;
  margin: 0 auto 18px;
  border-radius: 0;
}

.kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--teal);
  font-size: 0.72rem;
}

h1,
h2,
h3 {
  font-family: "Montserrat", sans-serif;
  margin: 0;
}

h1 {
  margin-top: 14px;
  line-height: 1.03;
  font-size: clamp(2.2rem, 6.4vw, 4.2rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

h2 {
  margin-top: 10px;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
}

h3 {
  font-size: 1.05rem;
}

p,
li {
  color: var(--ink-soft);
  line-height: 1.55;
}

.hero-content p {
  margin: 14px auto 0;
  max-width: 90ch;
  font-size: clamp(0.82rem, 1.35vw, 1.08rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.8;
  color: #f2ecff;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  text-decoration: none;
  display: inline-block;
  font-weight: 700;
  border-radius: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  font-family: "Montserrat", sans-serif;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.solid {
  color: #fff;
  background: linear-gradient(95deg, var(--accent), var(--accent-2));
  border: 2px solid rgba(239, 216, 255, 0.86);
  box-shadow: 0 10px 18px rgba(155, 79, 204, 0.32);
}

.btn.outline {
  color: var(--ink);
  border-color: rgba(247, 177, 138, 0.74);
  background: rgba(16, 8, 20, 0.35);
}

.hero .btn {
  min-width: 220px;
}

.lead {
  margin-top: 10px;
  max-width: 70ch;
}

.intro-band {
  margin-top: 12px;
}

.split-cards,
.invest-grid,
.contact-grid {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

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

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

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

.card {
  border: 1px solid rgba(127, 105, 184, 0.34);
  border-radius: 14px;
  background: rgba(18, 10, 32, 0.72);
  padding: 14px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(244, 165, 125, 0.5);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.28);
}

.card.dark {
  background: rgba(13, 8, 24, 0.86);
}

.card p,
.card ul {
  margin: 8px 0 0;
}

.card ul {
  padding-left: 16px;
  display: grid;
  gap: 7px;
}

.card.strong {
  background: linear-gradient(160deg, rgba(41, 13, 58, 0.9), rgba(22, 10, 34, 0.7));
}

.people-carousel {
  margin-top: 16px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.people-arrow {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(224, 145, 95, 0.6);
  background: linear-gradient(145deg, rgba(103, 37, 132, 0.92), rgba(238, 124, 72, 0.86));
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(8, 3, 16, 0.45);
}

.people-arrow:hover {
  filter: brightness(1.08);
}

.people-arrow:focus-visible {
  outline: 2px solid rgba(246, 170, 125, 0.95);
  outline-offset: 2px;
}

.people-scroll {
  margin-top: 16px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 0;
  overflow-x: auto;
  padding: 2px 0 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.people-scroll::-webkit-scrollbar {
  display: none;
}

.people-scroll:focus-visible {
  outline: 2px solid rgba(219, 134, 89, 0.8);
  outline-offset: 4px;
}

.person-card {
  border: 1px solid rgba(127, 105, 184, 0.34);
  border-radius: 14px;
  background: rgba(14, 8, 26, 0.9);
  padding: 18px;
  min-height: 100%;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  column-gap: 18px;
  align-items: start;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.person-card:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 168, 129, 0.5);
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.28);
}

.person-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(247, 177, 138, 0.42);
  display: block;
}

.person-content {
  grid-column: 2;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.person-content h3,
.person-content p {
  max-width: 68ch;
}

.person-card h3 {
  margin-top: 0;
  font-size: 1rem;
  line-height: 1.3;
}

.person-card .role {
  margin-top: 6px;
  color: var(--peach-strong);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(246, 162, 119, 0.35);
  padding-bottom: 8px;
}

.person-card p {
  margin-top: 10px;
}

.person-card p + p {
  margin-top: 10px;
}

.reveal-enter {
  opacity: 0;
  transform: translateY(20px) scale(0.992);
  filter: blur(4px);
  transition:
    opacity 500ms ease,
    transform 620ms cubic-bezier(0.2, 0.75, 0.2, 1),
    filter 500ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-enter.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.stylistic-block {
  position: relative;
  overflow: hidden;
  border-color: rgba(173, 105, 189, 0.42);
  background:
    radial-gradient(circle at 88% 12%, rgba(246, 129, 63, 0.14), transparent 42%),
    radial-gradient(circle at 8% 86%, rgba(150, 79, 200, 0.2), transparent 42%),
    linear-gradient(160deg, rgba(19, 10, 33, 0.76), rgba(14, 8, 24, 0.9));
}

.stylistic-block::before {
  content: "";
  position: absolute;
  inset: auto -12% -120px;
  height: 220px;
  background: radial-gradient(circle at center, rgba(241, 127, 68, 0.16), rgba(153, 69, 201, 0));
  pointer-events: none;
}

.stylistic-block > * {
  position: relative;
  z-index: 1;
}

#contact .card,
#investors .card,
#mission .card {
  background: rgba(16, 8, 30, 0.88);
  border-color: rgba(175, 113, 191, 0.42);
}

#contact .card h3,
#investors .card h3,
#mission .card h3 {
  color: #f9d8bc;
}

.cta-bar {
  margin-top: 15px;
  border: 1px solid rgba(127, 105, 184, 0.34);
  border-radius: 12px;
  background: rgba(19, 10, 33, 0.7);
  padding: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.contact-card a {
  color: var(--peach-strong);
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 8px auto 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: center;
  padding-top: 12px;
}

.site-footer p {
  margin: 0;
  color: #bcb5d9;
  font-size: 0.92rem;
}

.site-footer p.reveal-enter,
.site-footer .site-credit.reveal-enter {
  opacity: 1;
  transform: none;
  filter: none;
}

.site-footer .site-credit {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding-top: 2px;
  text-align: center;
  color: rgba(214, 201, 234, 0.56);
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

.site-footer .site-credit a {
  color: inherit;
  text-decoration: none;
}

.site-footer .site-credit a:hover,
.site-footer .site-credit a:focus-visible {
  color: rgba(230, 220, 247, 0.78);
  text-decoration: underline;
}

@keyframes heroDrift {
  0% {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.11) translate3d(-0.8%, -0.6%, 0);
  }
}

@keyframes heroGlow {
  0%,

@keyframes mainReflectDrift {
  0% {
    transform: scaleY(-1) scale(1.04) translate3d(0, 0.6%, 0);
  }
  100% {
    transform: scaleY(-1) scale(1.08) translate3d(-0.8%, 1.2%, 0);
  }
}
  100% {
    opacity: 0.85;
  }
  50% {
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .split-cards,
  .invest-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .people-carousel {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 8px;
  }

  .person-card {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }

  .person-content {
    grid-column: 1;
    min-height: auto;
    justify-content: flex-start;
  }

  .person-card img {
    width: min(360px, 100%);
    margin: 0 auto;
  }

  .people-arrow {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .hero {
    min-height: 82vh;
  }

  .hero-content p {
    font-size: clamp(0.8rem, 2.6vw, 1rem);
    letter-spacing: 0.08em;
    line-height: 1.65;
  }

  .site-header {
    grid-template-columns: auto auto;
    position: sticky;
    overflow: visible;
  }

  .menu-btn {
    display: inline-block;
    justify-self: end;
    padding: 6px 10px;
    font-size: 0.88rem;
  }

  .site-nav {
    display: none;
    position: absolute;
    right: 10px;
    top: calc(100% + 6px);
    width: min(210px, calc(100vw - 20px));
    background: rgba(14, 8, 25, 0.96);
    border: 1px solid rgba(153, 117, 194, 0.42);
    border-radius: 12px;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.42);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 6px;
    z-index: 20;
  }

  .site-nav a {
    min-height: 0;
    width: 100%;
    padding: 8px 10px;
    font-size: 0.9rem;
    border-radius: 8px;
  }

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

  .site-footer {
    width: min(1180px, calc(100% - 20px));
    margin: 2px auto 12px;
    padding-top: 4px;
    gap: 6px;
    text-align: center;
  }

  .site-footer .site-credit {
    margin-top: 0;
    padding-top: 0;
    font-size: 0.76rem;
    line-height: 1.25;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-enter {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .hero-backdrop,
  main::before,
  .hero-overlay {
    animation: none;
  }

  .card,
  .person-card,
  .btn,
  .section-wrap {
    transition: none;
  }

  .people-scroll {
    scroll-behavior: auto;
  }
}
