:root {
  --black: #050403;
  --charcoal: #10100e;
  --panel: rgba(18, 17, 14, 0.78);
  --panel-strong: rgba(8, 8, 7, 0.92);
  --gold: #d8a83c;
  --gold-bright: #ffd76b;
  --ivory: #f7f0df;
  --muted: #b7aa91;
  --line: rgba(216, 168, 60, 0.25);
  --shadow: 0 30px 100px rgba(0, 0, 0, 0.65);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ivory);
  background:
    radial-gradient(circle at 70% 10%, rgba(216, 168, 60, 0.18), transparent 34rem),
    radial-gradient(circle at 18% 24%, rgba(255, 215, 107, 0.1), transparent 24rem),
    linear-gradient(135deg, #050403 0%, #0c0b09 44%, #030302 100%);
  font-family: Arial, Helvetica, sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(216, 168, 60, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 168, 60, 0.04) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
}

a {
  color: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 10px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(216, 168, 60, 0.22);
  border-radius: 999px;
  background: rgba(5, 4, 3, 0.78);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ivory);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-link img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0.96;
}

.brand-link .brand-signature {
  width: 260px;
  height: 70px;
  border-radius: 0;
  object-fit: contain;
  object-position: left center;
  opacity: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-links a:hover {
  color: var(--ivory);
  border-color: rgba(216, 168, 60, 0.26);
  background: rgba(255, 255, 255, 0.04);
}

.nav-links .nav-links__cta {
  color: #171107;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 340px);
  gap: clamp(24px, 4.2vw, 58px);
  align-items: center;
  min-height: auto;
  padding: 28px 0 24px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-bright);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.7;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.055em;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.35rem, 5.4vw, 4.9rem);
  line-height: 0.96;
}

h2 {
  font-size: clamp(1.7rem, 4vw, 3.35rem);
  line-height: 1.05;
}

.hero__lead {
  max-width: 690px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.55vw, 1.16rem);
  line-height: 1.55;
}

.hero-slides {
  position: relative;
  min-height: 220px;
}

.hero-slide {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
  pointer-events: none;
}

.hero-slide.is-active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-slide--brand {
  min-height: 220px;
}

.brand-reveal {
  position: relative;
  display: grid;
  min-height: 220px;
  align-items: center;
  overflow: hidden;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(216, 168, 60, 0.2);
  background:
    radial-gradient(circle at 50% 50%, rgba(216, 168, 60, 0.18), transparent 58%),
    rgba(5, 4, 3, 0.4);
}

.brand-reveal img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(250px, 70vw);
  max-width: 92%;
  border-radius: 50%;
  opacity: 0.28;
  filter: saturate(0.85) contrast(1.08);
  transform: translate(-50%, -50%) scale(0.96);
}

.hero-slide.is-active .brand-reveal img {
  animation: logo-breathe 5.2s ease-in-out infinite;
}

.brand-reveal__content {
  position: relative;
  z-index: 1;
}

.brand-reveal__name {
  margin: 0 0 12px;
  color: var(--gold-bright);
  font-size: clamp(1rem, 2.4vw, 1.55rem);
  font-weight: 800;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.hero-slide.is-active .brand-reveal__name {
  animation: name-rise 700ms ease both;
}

.brand-reveal h1 {
  max-width: 760px;
}

.brand-reveal .hero__lead {
  color: var(--ivory);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-controls {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.hero-dot {
  width: 34px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(216, 168, 60, 0.26);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.hero-dot.is-active {
  width: 58px;
  background: var(--gold-bright);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  border-color: rgba(255, 215, 107, 0.72);
  color: #171107;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
}

.button--secondary {
  color: var(--ivory);
  background: rgba(255, 255, 255, 0.035);
}

.hero__brand {
  position: relative;
  width: min(340px, 100%);
  justify-self: end;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 168, 60, 0.14), rgba(255, 255, 255, 0.02) 58%, transparent 72%);
  box-shadow: var(--shadow);
}

.hero__brand::before,
.hero__brand::after {
  position: absolute;
  inset: -18px;
  z-index: -1;
  content: "";
  border: 1px solid rgba(216, 168, 60, 0.16);
  border-radius: 50%;
}

.hero__brand::after {
  inset: -34px;
  border-color: rgba(216, 168, 60, 0.08);
}

.hero__brand img {
  display: block;
  width: 100%;
  border-radius: 50%;
}

.statement,
.architecture,
.quote-panel {
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--panel), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.statement {
  padding: clamp(34px, 6vw, 70px);
  margin-bottom: 24px;
}

.statement p {
  max-width: 970px;
  margin: 0;
  font-size: clamp(1.5rem, 3.8vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.1;
}

.grid-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 24px 0;
}

.card {
  min-height: 320px;
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--panel-strong);
}

.card__number {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-bright);
  font-size: 0.9rem;
}

.card h2 {
  margin-top: 70px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.card p,
.architecture__list p,
.quote-panel blockquote,
.footer {
  color: var(--muted);
  line-height: 1.75;
}

.card p {
  margin: 18px 0 0;
}

.architecture {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(34px, 6vw, 70px);
}

.architecture__list {
  display: grid;
  gap: 14px;
}

.architecture__list p {
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid rgba(216, 168, 60, 0.16);
}

.modules,
.ecosystem {
  margin: 24px 0;
  padding: clamp(34px, 6vw, 70px);
  border: 1px solid var(--line);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.module-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid rgba(216, 168, 60, 0.18);
  background: rgba(255, 255, 255, 0.03);
}

.module-grid h3 {
  margin: 0;
  color: var(--ivory);
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.module-grid p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.ecosystem h2 {
  max-width: 760px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.tag-list span {
  padding: 10px 14px;
  border: 1px solid rgba(216, 168, 60, 0.24);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.86rem;
}

.quote-panel {
  position: relative;
  overflow: hidden;
  margin: 24px 0;
  padding: clamp(38px, 6vw, 76px);
}

.quote-panel blockquote {
  position: relative;
  max-width: 840px;
  margin: 0;
  color: var(--ivory);
  font-size: clamp(2rem, 5vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: space-between;
  align-items: center;
  padding: 34px 0 54px;
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-signature {
  width: 210px;
  height: 56px;
  object-fit: contain;
  object-position: left center;
}

.footer p {
  margin: 0;
}

@keyframes logo-breathe {
  0%,
  100% {
    opacity: 0.22;
    transform: translate(-50%, -50%) scale(0.94) rotate(0deg);
  }

  50% {
    opacity: 0.38;
    transform: translate(-50%, -50%) scale(1.01) rotate(1.4deg);
  }
}

@keyframes name-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 920px) {
  .site-header {
    position: static;
    align-items: flex-start;
    border-radius: 28px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero,
  .architecture {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 28px;
  }

  .hero__brand {
    order: -1;
    width: min(320px, 100%);
    justify-self: center;
    margin: 0 auto 12px;
  }

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

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

  .card {
    min-height: auto;
  }

  .card h2 {
    margin-top: 42px;
  }
}

@media (max-width: 760px) {
  .hero__brand {
    display: none;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    flex-direction: column;
    align-items: stretch;
  }

  .brand-link {
    justify-content: center;
  }

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

  .nav-links a {
    padding: 9px 10px;
    font-size: 0.7rem;
  }

  .hero {
    padding-top: 22px;
  }

  .hero-slides {
    min-height: 230px;
  }

  .hero-slide--brand,
  .brand-reveal {
    min-height: 230px;
  }

  .button {
    width: 100%;
  }

  .statement,
  .architecture,
  .quote-panel,
  .modules,
  .ecosystem,
  .card {
    padding: 24px;
  }

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

  .footer {
    justify-content: center;
    text-align: center;
  }
}

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

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