/* DRONERPA provisional site */
:root {
  --bg: #0b1118;
  --bg-elevated: #121a24;
  --ink: #e9eef4;
  --muted: #8b9aab;
  --line: rgba(168, 184, 200, 0.18);
  --steel: #6f8fa8;
  --accent: #4f8fb0;
  --accent-soft: rgba(79, 143, 176, 0.16);
  --danger: #c45c5c;
  --ok: #5a9e78;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --max: 68rem;
  --header-h: 5.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #7eb8d4;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: var(--bg);
  padding: 0.5rem 0.75rem;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  padding-top: 1.15rem;
  padding-bottom: 0.65rem;
}

.site-header__inner,
.section__inner,
.site-footer__inner,
.legal-page__inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.brand-mark img {
  width: clamp(7.5rem, 18vw, 10.5rem);
  height: auto;
  filter: brightness(0) invert(1);
}

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

.nav a {
  color: rgba(233, 238, 244, 0.88);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav a:hover {
  color: #fff;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 0.4rem 0.65rem;
  font: inherit;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

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

.hero__media picture,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero__media img {
  animation: hero-drift 28s var(--ease) infinite alternate;
  transform-origin: center center;
  will-change: transform;
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 12, 18, 0.55) 0%, rgba(8, 12, 18, 0.28) 38%, rgba(8, 12, 18, 0.82) 100%),
    radial-gradient(ellipse 80% 55% at 70% 30%, rgba(79, 143, 176, 0.22), transparent 60%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: calc(var(--header-h) + 3rem) 0 4.5rem;
}

.hero__logo {
  width: clamp(12rem, 42vw, 22rem);
  height: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1.25rem;
  opacity: 0;
  transform: translateY(1.25rem);
  animation: rise 1s var(--ease) 0.15s forwards;
}

.hero__tagline {
  max-width: 32rem;
  margin: 0 0 1.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: rgba(233, 238, 244, 0.92);
  opacity: 0;
  transform: translateY(1.25rem);
  animation: rise 1s var(--ease) 0.35s forwards;
}

.hero__capacity {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.65rem 1rem;
  max-width: 36rem;
  margin: 0 0 1.5rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(8, 12, 18, 0.45);
  color: #fff;
  text-decoration: none;
  opacity: 0;
  transform: translateY(1.25rem);
  animation: rise 1s var(--ease) 0.45s forwards;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.hero__capacity:hover {
  border-color: #fff;
  background: rgba(8, 12, 18, 0.62);
  color: #fff;
}

.hero__capacity-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}

.hero__capacity-text {
  flex: 1 1 12rem;
  font-size: 0.98rem;
  line-height: 1.4;
}

.hero__capacity-text strong {
  font-weight: 600;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  opacity: 0;
  transform: translateY(1.25rem);
  animation: rise 1s var(--ease) 0.6s forwards;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
  background: var(--accent);
  color: #071018;
  border-color: var(--accent);
}

.btn--primary:hover {
  background: #6aa6c4;
  color: #071018;
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--ghost:hover {
  border-color: #fff;
  color: #fff;
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section--platforms {
  background:
    radial-gradient(ellipse 60% 50% at 0% 20%, var(--accent-soft), transparent 55%),
    var(--bg);
}

.section--scope {
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
}

.section--contact {
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.scope__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}

.scope__media {
  margin: 0;
  max-width: 22rem;
}

.scope__video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #0a1016;
  border: 1px solid var(--line);
}

.scope__media figcaption {
  margin-top: 0.65rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.4;
}

.scope__copy {
  display: grid;
  gap: 1.75rem;
}

.scope__block h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.scope__block p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  max-width: 36rem;
}

.scope__block p:last-child {
  margin-bottom: 0;
}

.scope__block strong {
  color: rgba(233, 238, 244, 0.92);
  font-weight: 600;
}

.section--scope .section__lead strong {
  color: rgba(233, 238, 244, 0.92);
  font-weight: 600;
}

.section__eyebrow {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}

.section__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section__lead {
  margin: 0 0 2.25rem;
  max-width: 36rem;
  color: var(--muted);
}

.platforms {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

.platforms__visual {
  position: relative;
}

.platforms__visual picture,
.platforms__visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #101820;
}

.platforms__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.platforms__list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.platforms__list li:first-child {
  border-top: 1px solid var(--line);
}

.platforms__list span {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--muted);
  letter-spacing: 0;
}

/* Contact */
.contact-block .section__lead {
  margin-bottom: 1.75rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn--ghost-dark {
  color: var(--ink);
  border-color: rgba(168, 184, 200, 0.35);
}

.btn--ghost-dark:hover {
  color: #fff;
  border-color: rgba(233, 238, 244, 0.75);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

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

.site-footer__inner {
  display: grid;
  gap: 1.25rem;
}

.site-footer__brand {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer__meta,
.site-footer__links {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer__links a {
  color: rgba(233, 238, 244, 0.85);
  text-decoration: none;
}

.site-footer__links a:hover {
  color: #fff;
}

/* Legal pages */
.legal-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.legal-page .site-header {
  position: relative;
  background: #080d13;
  border-bottom: 1px solid var(--line);
}

.legal-page main {
  flex: 1;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.legal-page h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  letter-spacing: -0.03em;
}

.legal-page h2 {
  margin: 2rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  max-width: 42rem;
}

.legal-page ul {
  padding-left: 1.2rem;
}

.legal-page .updated {
  font-size: 0.88rem;
  color: var(--steel);
}

@media (max-width: 820px) {
  .platforms,
  .scope__layout {
    grid-template-columns: 1fr;
  }

  .platforms__visual {
    max-width: none;
  }

  .scope__media {
    max-width: 18rem;
    margin-inline: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: var(--header-h);
    right: 1.25rem;
    left: 1.25rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0;
    background: rgba(8, 12, 18, 0.94);
    border: 1px solid var(--line);
    backdrop-filter: blur(8px);
  }

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

  .nav a {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--line);
  }

  .nav a:last-child {
    border-bottom: 0;
  }
}

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

  .hero__media img,
  .hero__logo,
  .hero__tagline,
  .hero__capacity,
  .hero__actions,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }

}
