:root {
  --bg: #070e1a;
  --bg-elevated: #0d1829;
  --bg-soft: #112036;
  --ink: #f4f1ea;
  --muted: #a4b0c2;
  --line: rgba(196, 160, 99, 0.22);
  --gold: #c4a063;
  --gold-bright: #dfc089;
  --gold-deep: #8f7040;
  --shadow: 0 28px 70px rgba(2, 8, 18, 0.55);
  --radius: 2px;
  --container: 1180px;
  --header-h: 76px;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.boot-lock {
  overflow: hidden;
}

/* Security boot intro */
.boot-screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: #040910;
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}

.boot-screen.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.boot-rain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}

.boot-frame {
  position: absolute;
  inset: 1.25rem;
  border: 1px solid rgba(196, 160, 99, 0.28);
  pointer-events: none;
}

.boot-frame::before,
.boot-frame::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border: 2px solid var(--gold);
}

.boot-frame::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
}

.boot-frame::after {
  right: -1px;
  bottom: -1px;
  border-left: 0;
  border-top: 0;
}

.boot-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding: 1.5rem;
  max-width: 28rem;
}

.boot-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.boot-status {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  letter-spacing: 0.06em;
  color: var(--ink);
  min-height: 1.4em;
}

.boot-status.is-granted {
  color: var(--gold-bright);
}

.boot-bar {
  width: min(240px, 70vw);
  height: 2px;
  background: rgba(196, 160, 99, 0.18);
  overflow: hidden;
  margin-top: 0.35rem;
}

.boot-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
  animation: bootLoad 1.6s var(--ease) forwards;
}

.boot-code {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

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

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
}

p {
  margin: 0;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(7, 14, 26, 0.92);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(196, 160, 99, 0.28));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.brand-sub {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.site-nav a {
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color 0.25s var(--ease);
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 2;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  margin: 6px auto;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* Hero — full-bleed photo */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 2rem) 0 5rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 14, 26, 0.55) 0%, rgba(7, 14, 26, 0.72) 45%, var(--bg) 100%),
    radial-gradient(ellipse 70% 50% at 50% 40%, rgba(196, 160, 99, 0.14), transparent 55%);
}

.hero-scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 18%;
  top: -20%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(196, 160, 99, 0.08) 40%,
    rgba(223, 192, 137, 0.28) 50%,
    rgba(196, 160, 99, 0.08) 60%,
    transparent 100%
  );
  animation: heroScan 5.5s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-hud {
  position: absolute;
  inset: auto 1.25rem 1.25rem 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(223, 192, 137, 0.72);
  pointer-events: none;
  z-index: 1;
}

.hero-hud span:first-child {
  color: #7dffb3;
  text-shadow: 0 0 12px rgba(125, 255, 179, 0.45);
  animation: hudBlink 2.4s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  animation: heroRise 1.1s var(--ease) 0.15s both;
}

body.boot-lock .hero-content {
  animation: none;
  opacity: 0;
}

body:not(.boot-lock) .hero-content {
  animation: heroRise 1.1s var(--ease) both;
}

.hero-logo {
  width: clamp(120px, 18vw, 190px);
  height: auto;
  margin-bottom: 0.25rem;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55));
  animation: logoGlow 4.5s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-bright);
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.hero-sub {
  max-width: 36ch;
  color: rgba(244, 241, 234, 0.86);
  font-size: clamp(1.02rem, 1.7vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 0.6rem;
}

.scroll-hint {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 20px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
  opacity: 0.7;
  z-index: 1;
}

.scroll-hint span {
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: var(--gold);
  animation: scrollPulse 1.8s var(--ease) infinite;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    border-color 0.25s var(--ease), color 0.25s var(--ease);
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  color: #14110c;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ead4a4, var(--gold));
}

.btn-ghost {
  border-color: rgba(244, 241, 234, 0.35);
  color: var(--ink);
  background: rgba(7, 14, 26, 0.45);
  backdrop-filter: blur(8px);
}

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

/* Sections */
.section {
  padding: clamp(4.5rem, 9vw, 7rem) 0;
  position: relative;
}

.section-head {
  max-width: 620px;
  margin-bottom: 2.75rem;
}

.section-head h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin: 0.35rem 0 0.85rem;
}

.section-intro {
  color: var(--muted);
  max-width: 46ch;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}

/* Feature systems — full-bleed alternating */
.systems {
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(13, 24, 41, 0.55) 12%, transparent 30%);
}

.systems > .container:first-child {
  margin-bottom: 1rem;
}

.feature {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: clamp(420px, 58vh, 560px);
  margin-bottom: 0;
}

.feature-flip {
  grid-template-columns: 0.85fr 1.15fr;
}

.feature-flip .feature-media {
  order: 2;
}

.feature-flip .feature-copy {
  order: 1;
}

.feature-media {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.feature.is-visible .feature-media img,
.feature:hover .feature-media img {
  transform: scale(1.04);
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--bg-elevated);
  border-block: 1px solid var(--line);
}

.feature-copy h3 {
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  color: var(--ink);
}

.feature-copy p:not(.eyebrow) {
  color: var(--muted);
  max-width: 38ch;
  font-size: 1.02rem;
}

/* Capability strip */
.capability-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.capability-strip article {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  isolation: isolate;
}

.capability-strip img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.8s var(--ease);
}

.capability-strip article::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 20%, rgba(5, 11, 22, 0.94) 85%);
}

.capability-strip article:hover img {
  transform: scale(1.06);
}

.capability-strip h3 {
  font-size: 1.55rem;
  color: var(--gold-bright);
  margin-bottom: 0.45rem;
}

.capability-strip p {
  color: rgba(244, 241, 234, 0.78);
  font-size: 0.92rem;
}

/* About */
.about {
  padding: 0;
}

.about-band {
  position: relative;
  padding: clamp(4.5rem, 9vw, 7rem) 0;
  overflow: hidden;
}

.about-band-media {
  position: absolute;
  inset: 0;
}

.about-band-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) brightness(0.35);
}

.about-band-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 14, 26, 0.94) 0%, rgba(7, 14, 26, 0.82) 55%, rgba(7, 14, 26, 0.58) 100%),
    radial-gradient(ellipse 50% 60% at 80% 50%, rgba(196, 160, 99, 0.12), transparent 60%);
}

.about-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 4rem;
}

.about-layout .section-head {
  grid-column: 1 / -1;
  margin-bottom: 0.5rem;
}

.about-copy {
  display: grid;
  gap: 1.15rem;
  color: rgba(244, 241, 234, 0.82);
}

.about-points {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.about-points li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold-bright);
}

/* Logo walls / partner grid */
.logo-wall {
  padding: 1.75rem 1.5rem;
  background: #ffffff;
  border: 1px solid rgba(196, 160, 99, 0.2);
  box-shadow: var(--shadow);
}

.logo-wall img {
  width: 100%;
  height: auto;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.partner-grid li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 1rem 0.85rem;
  background: #ffffff;
  border: 1px solid rgba(196, 160, 99, 0.16);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.partner-grid li:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.partner-grid img {
  width: 100%;
  max-height: 64px;
  object-fit: contain;
}

.partner-grid img.partner-lg {
  max-height: 88px;
  transform: scale(1.15);
}

.partners {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

/* Contact */
.contact {
  background:
    radial-gradient(ellipse 50% 40% at 20% 0%, rgba(196, 160, 99, 0.1), transparent 50%),
    var(--bg-soft);
}

.contact-layout {
  display: grid;
  gap: 2.5rem;
  max-width: 720px;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-content: start;
}

.detail-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.contact-details p,
.contact-details a {
  color: var(--muted);
}

.contact-details a:hover {
  color: var(--gold-bright);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2rem;
  background: #050b14;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  gap: 0.9rem;
  align-items: center;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 0.2rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: end;
}

.footer-nav a {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: var(--ink);
}

.footer-copy {
  grid-column: 1 / -1;
  color: rgba(168, 176, 187, 0.7);
  font-size: 0.82rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(196, 160, 99, 0.12);
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.1);
  }
}

@keyframes logoGlow {
  0%,
  100% {
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55))
      drop-shadow(0 0 0 rgba(196, 160, 99, 0));
  }
  50% {
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55))
      drop-shadow(0 0 28px rgba(196, 160, 99, 0.3));
  }
}

@keyframes scrollPulse {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(12px);
  }
}

@keyframes bootLoad {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes heroScan {
  0% {
    top: -20%;
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  92% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

@keyframes hudBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .feature,
  .feature-flip {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .feature-flip .feature-media,
  .feature-flip .feature-copy {
    order: initial;
  }

  .feature-media {
    min-height: 280px;
    aspect-ratio: 16 / 10;
  }

  .capability-strip,
  .about-layout,
  .contact-details,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

  .footer-nav {
    justify-content: start;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    background: rgba(5, 11, 20, 0.97);
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease);
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    font-size: 1.2rem;
    color: var(--ink);
  }

  .brand-text {
    display: none;
  }

  .hero-title {
    font-size: clamp(2.1rem, 10vw, 2.8rem);
  }

  .scroll-hint {
    display: none;
  }

  .capability-strip article {
    min-height: 260px;
  }

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

  .hero-hud {
    inset: auto 0.85rem 0.85rem 0.85rem;
    font-size: 0.55rem;
  }

  .boot-frame {
    inset: 0.75rem;
  }
}

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

  .reveal,
  .hero-content,
  .hero-logo,
  .hero-photo,
  .scroll-hint span,
  .btn,
  .feature-media img,
  .capability-strip img,
  .hero-scan,
  .hero-hud span:first-child,
  .boot-bar span {
    animation: none !important;
    transition: none !important;
  }

  .boot-screen {
    display: none !important;
  }

  body.boot-lock {
    overflow: auto;
  }

  body.boot-lock .hero-content {
    opacity: 1;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-photo {
    transform: none;
  }
}
