:root {
  --black: #050505;
  --surface: #0a0a0b;
  --gold: #fdc637;
  --gold-deep: #deaa45;
  --sand: #d1b681;
  --cream: #f4c97b;
  --purple: #4e2974;
  --white: #ffffff;
  --muted: #9a9a9a;
  --line: rgba(209, 182, 129, 0.18);
  --font-display: "Syne", sans-serif;
  --font-body: "Outfit", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.noise {
  position: fixed;
  z-index: 40;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.aurora {
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(253, 198, 55, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(78, 41, 116, 0.14), transparent 50%),
    radial-gradient(ellipse 40% 30% at 50% 0%, rgba(244, 201, 123, 0.05), transparent 60%);
}

/* —— Header —— */
.header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 26px clamp(22px, 5vw, 80px);
}

.brand img {
  width: clamp(96px, 12vw, 128px);
  height: auto;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(253, 198, 55, 0.45);
  padding: 10px 18px;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition:
    background 200ms ease,
    border-color 200ms ease,
    color 200ms ease;
}

.header-cta:hover {
  border-color: var(--gold);
  background: rgba(253, 198, 55, 0.1);
  color: var(--gold);
}

.header-cta span {
  font-size: 14px;
  transition: transform 200ms ease;
}

.header-cta:hover span {
  transform: translate(2px, -2px);
}

/* —— Hero —— */
.hero {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100svh;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  padding: 130px clamp(22px, 6vw, 100px) 72px;
}

.hero-stage {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
}

.hero-emblem {
  position: absolute;
  top: 50%;
  right: 4%;
  display: grid;
  width: min(52vw, 620px);
  aspect-ratio: 1;
  place-items: center;
  transform: translateY(-50%);
  opacity: 0;
  animation: fade-in 1.1s 200ms both;
}

.emblem-ring {
  position: absolute;
  border: 1px solid rgba(253, 198, 55, 0.16);
  border-radius: 50%;
}

.emblem-ring-a {
  inset: 0;
  animation: spin 48s linear infinite;
}

.emblem-ring-b {
  inset: 12%;
  border-color: rgba(253, 198, 55, 0.1);
  animation: spin 36s linear infinite reverse;
}

.emblem-ring-c {
  inset: 26%;
  border-color: rgba(78, 41, 116, 0.28);
}

.star,
.star::before {
  width: clamp(110px, 14vw, 200px);
  height: clamp(110px, 14vw, 200px);
  background: linear-gradient(135deg, #9f6500 0%, #fff7c9 45%, #fdc637 52%, #8c5300 100%);
  clip-path: polygon(50% 0, 59% 39%, 100% 50%, 59% 60%, 50% 100%, 41% 60%, 0 50%, 41% 39%);
  filter: drop-shadow(0 0 28px rgba(253, 198, 55, 0.55));
  content: "";
}

.star {
  position: relative;
  z-index: 1;
  animation: pulse-star 3.2s ease-in-out infinite;
}

.star::before {
  position: absolute;
  transform: rotate(45deg) scale(0.36);
  opacity: 0.7;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      var(--black) 0%,
      rgba(5, 5, 5, 0.92) 34%,
      rgba(5, 5, 5, 0.35) 58%,
      transparent 78%
    ),
    linear-gradient(180deg, rgba(5, 5, 5, 0.35) 0%, transparent 28%, rgba(5, 5, 5, 0.55) 100%),
    radial-gradient(ellipse 50% 60% at 78% 42%, rgba(253, 198, 55, 0.14), transparent 60%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 660px;
  animation: rise 900ms 80ms both;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--gold-deep);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
}

h1 {
  display: flex;
  flex-direction: column;
  gap: 0.08em;
  font-size: clamp(48px, 7.5vw, 100px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.94;
}

.brand-line {
  color: var(--sand);
  font-size: 0.34em;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.shiny {
  color: transparent;
  background: linear-gradient(
    105deg,
    #fff4c4 0%,
    var(--gold) 32%,
    #fff8de 48%,
    var(--gold-deep) 72%,
    #a86d0b 100%
  );
  background-size: 180% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shimmer 7s ease-in-out infinite;
}

.lede {
  max-width: 34rem;
  margin: 28px 0 36px;
  color: #b0b0b0;
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 300;
  line-height: 1.65;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
}

.cta-primary {
  position: relative;
  display: inline-flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #fff0ba 0%, var(--gold) 40%, var(--gold-deep) 100%);
  color: #14110a;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 200ms ease, filter 200ms ease;
}

.cta-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.cta-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 65%
  );
  transform: translateX(-120%);
  animation: sweep 3.8s ease-in-out infinite;
}

.cta-ghost {
  color: var(--sand);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(209, 182, 129, 0.35);
  padding-bottom: 4px;
  transition: color 180ms ease, border-color 180ms ease;
}

.cta-ghost:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.orbit {
  position: absolute;
  z-index: 0;
  border: 1px solid rgba(222, 170, 69, 0.12);
  border-radius: 50%;
  pointer-events: none;
  transform: rotate(-18deg);
}

.orbit-a {
  top: 22%;
  right: -8%;
  width: 58vw;
  height: 22vw;
}

.orbit-b {
  top: 30%;
  right: 2%;
  width: 42vw;
  height: 14vw;
}

.spark {
  position: absolute;
  z-index: 3;
  color: var(--gold);
  pointer-events: none;
  animation: pulse 2.8s ease-in-out infinite;
}

.spark-a {
  top: 24%;
  right: 18%;
  font-size: 22px;
}

.spark-b {
  right: 38%;
  bottom: 22%;
  font-size: 12px;
  animation-delay: 0.9s;
}

.spark-c {
  top: 42%;
  left: 46%;
  font-size: 10px;
  animation-delay: 1.6s;
}

/* —— About / Journey —— */
.about,
.ecosystem {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(48px, 6vw, 80px);
  padding: 100px clamp(22px, 6vw, 100px) 110px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #080808 0%, var(--black) 100%);
}

.ecosystem {
  padding-top: 0;
  border-top: none;
  background: var(--black);
}

.about-intro {
  max-width: 720px;
}

.about-intro h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.about-intro > p:last-child {
  margin: 0;
  color: #999;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
}

.pillars {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.pillars li {
  padding: 36px 28px 8px 0;
  border-right: 1px solid var(--line);
}

.pillars li:last-child {
  border-right: none;
  padding-right: 0;
}

.pillar-mark {
  display: block;
  margin-bottom: 22px;
  color: #5c5c5c;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.2em;
}

.pillars h3 {
  margin-bottom: 12px;
  color: var(--cream);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.pillars p {
  margin: 0;
  max-width: 280px;
  color: #8e8e8e;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.65;
}

/* —— Brands (interactive rows) —— */
.brands {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.brand-row {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(120px, 200px) 1fr auto;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
  overflow: hidden;
  padding: 28px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 220ms ease;
}

a.brand-row:hover {
  background: rgba(253, 198, 55, 0.04);
}

.brand-row::before {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: transparent;
  content: "";
  transition: background 220ms ease;
}

a.brand-row:hover::before {
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
}

.brand-index {
  color: #5c5c5c;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.2em;
}

.brand-logo {
  display: grid;
  place-items: center;
  min-height: 88px;
}

.brand-logo img {
  width: 100%;
  max-height: 92px;
  object-fit: contain;
  transition: transform 320ms ease;
}

a.brand-row:hover .brand-logo img {
  transform: scale(1.04);
}

.assessor .brand-logo img {
  max-height: 100px;
}

.vault-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #e1e1e1;
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.vault-mark em {
  color: var(--gold);
  font-style: normal;
  font-weight: 700;
}

.vault-star {
  color: var(--gold);
  font-size: 28px;
  text-shadow: 0 0 18px rgba(253, 198, 55, 0.45);
}

.brand-copy h3 {
  margin-bottom: 6px;
  color: var(--cream);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.brand-copy p {
  margin: 0;
  color: #8e8e8e;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
}

.brand-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-action b {
  font-size: 16px;
  font-weight: 400;
  transition: transform 200ms ease;
}

a.brand-row:hover .brand-action b {
  transform: translate(3px, -3px);
}

.brand-action.muted {
  color: #555;
  border: 1px solid rgba(209, 182, 129, 0.28);
  padding: 8px 12px;
  letter-spacing: 0.14em;
  font-size: 10px;
}

/* —— Closing —— */
.closing {
  position: relative;
  z-index: 1;
  padding: 0 clamp(22px, 6vw, 100px) 120px;
}

.closing-inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 18px;
  overflow: hidden;
  padding: clamp(56px, 8vw, 88px) 24px;
  text-align: center;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(253, 198, 55, 0.1), transparent 55%),
    radial-gradient(ellipse 40% 60% at 80% 100%, rgba(78, 41, 116, 0.18), transparent 50%),
    var(--surface);
}

.closing-star {
  color: var(--gold);
  font-size: 28px;
  text-shadow: 0 0 28px rgba(253, 198, 55, 0.55);
  animation: pulse 2.6s ease-in-out infinite;
}

.closing h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.closing p {
  margin: 0 0 12px;
  color: #999;
  font-size: 16px;
  font-weight: 300;
}

/* —— Footer —— */
.footer {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 32px clamp(22px, 5vw, 80px);
  border-top: 1px solid var(--line);
  color: #5e5e5e;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer img {
  width: 72px;
  opacity: 0.85;
}

.footer p {
  margin: 0;
}

.copyright {
  justify-self: end;
}

/* —— Motion —— */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

@keyframes pulse-star {
  0%,
  100% {
    filter: drop-shadow(0 0 18px rgba(253, 198, 55, 0.4));
  }
  50% {
    filter: drop-shadow(0 0 36px rgba(253, 198, 55, 0.7));
  }
}

@keyframes shimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes sweep {
  0%,
  55% {
    transform: translateX(-120%);
  }
  75%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* —— Responsive —— */
@media (max-width: 960px) {
  .hero {
    min-height: 100svh;
    align-items: end;
    padding-top: 110px;
    padding-bottom: 56px;
  }

  .hero-emblem {
    top: auto;
    right: 50%;
    bottom: 8%;
    width: min(70vw, 420px);
    transform: translateX(50%);
    opacity: 0.45;
  }

  .hero-veil {
    background:
      linear-gradient(
        180deg,
        var(--black) 0%,
        rgba(5, 5, 5, 0.82) 28%,
        rgba(5, 5, 5, 0.4) 55%,
        rgba(5, 5, 5, 0.88) 100%
      ),
      radial-gradient(ellipse 70% 50% at 50% 70%, rgba(253, 198, 55, 0.1), transparent 60%);
  }

  .hero-copy {
    max-width: 36rem;
  }

  .spark-c {
    display: none;
  }

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

  .pillars li {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 28px 0;
  }

  .pillars li:last-child {
    border-bottom: none;
  }

  .pillars p {
    max-width: none;
  }

  .brand-row {
    grid-template-columns: 40px 1fr auto;
    grid-template-areas:
      "index logo action"
      "copy copy copy";
    gap: 14px 16px;
    padding: 24px 4px;
  }

  .brand-index {
    grid-area: index;
  }

  .brand-logo {
    grid-area: logo;
    justify-self: start;
    min-height: 64px;
    max-width: 160px;
  }

  .brand-copy {
    grid-area: copy;
  }

  .brand-action {
    grid-area: action;
  }
}

@media (max-width: 560px) {
  .header {
    padding-top: 18px;
  }

  .brand img {
    width: 84px;
  }

  .header-cta {
    padding: 8px 14px;
    font-size: 10px;
  }

  h1 {
    font-size: clamp(44px, 14vw, 68px);
  }

  .hero-emblem {
    opacity: 0.32;
    width: 88vw;
  }

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

  .footer > p:not(.copyright) {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
