/* NIA landing — static draft. Ready to swap for a full frontend later. */

:root {
  --bg: #0b0e13;
  --bg-elevated: #12171f;
  --ink: #e8eef4;
  --ink-muted: #9aa8b5;
  --ink-soft: #6f7d8a;
  --line: rgba(232, 238, 244, 0.08);
  --accent: #9eb6c4;
  --accent-strong: #c5d6e0;
  --glow-a: rgba(120, 150, 170, 0.22);
  --glow-b: rgba(70, 90, 110, 0.28);
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --space: clamp(1.25rem, 3vw, 2.5rem);
  --max: 68rem;
  --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;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

/* Atmosphere — full-bleed soft field */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 70% 10%, rgba(40, 52, 66, 0.55), transparent 55%),
    linear-gradient(165deg, #0b0e13 0%, #0e131a 45%, #0a0d12 100%);
}

.atmosphere__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform, opacity;
  animation: drift 18s var(--ease) infinite alternate;
}

.atmosphere__glow--a {
  width: min(56vw, 34rem);
  height: min(56vw, 34rem);
  top: -8%;
  right: 8%;
  background: var(--glow-a);
}

.atmosphere__glow--b {
  width: min(48vw, 28rem);
  height: min(48vw, 28rem);
  bottom: 8%;
  left: -6%;
  background: var(--glow-b);
  animation-delay: -6s;
  animation-duration: 22s;
}

.atmosphere__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, transparent 0%, rgba(11, 14, 19, 0.35) 70%, var(--bg) 100%),
    url("assets/grain.svg");
  opacity: 0.55;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.85; }
  to { transform: translate3d(-3%, 4%, 0) scale(1.08); opacity: 1; }
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem var(--space);
}

.site-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-mark img {
  opacity: 0.92;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.site-nav a {
  transition: color 0.25s var(--ease);
}

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

@media (max-width: 640px) {
  .site-nav {
    display: none;
  }
}

/* Hero — one composition */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: end;
  gap: clamp(1.5rem, 4vw, 3rem);
  max-width: var(--max);
  margin: 0 auto;
  min-height: calc(100vh - 5rem);
  padding: clamp(2rem, 8vh, 5rem) var(--space) clamp(3rem, 10vh, 6rem);
}

.hero__copy {
  max-width: 28rem;
  animation: rise 1s var(--ease) both;
}

.hero__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero__brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 14vw, 7.5rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero__headline {
  margin: 0.55rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.5vw, 2.15rem);
  font-weight: 500;
  font-style: italic;
  color: var(--accent-strong);
}

.hero__lead {
  margin: 1.25rem 0 0;
  max-width: 24rem;
  color: var(--ink-muted);
  font-size: 1.05rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 18rem;
  animation: rise 1.15s var(--ease) 0.12s both;
}

.hero__figure {
  width: min(100%, 26rem);
  height: auto;
  filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.45));
  animation: float 9s ease-in-out infinite;
}

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

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 2.5rem;
  }

  .hero__visual {
    order: -1;
    min-height: 14rem;
  }

  .hero__figure {
    width: min(78%, 20rem);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 550;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

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

.btn--primary {
  background: var(--accent-strong);
  color: #0b0e13;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: #dce7ee;
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: rgba(232, 238, 244, 0.28);
  background: rgba(232, 238, 244, 0.04);
}

/* Sections — one job each */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3.5rem, 9vh, 6rem) var(--space);
  border-top: 1px solid var(--line);
}

.section--compact {
  padding-bottom: clamp(4rem, 12vh, 7rem);
}

.section__label {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.section__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 550;
  letter-spacing: -0.01em;
}

.section__text {
  margin: 1.1rem 0 0;
  max-width: 36rem;
  color: var(--ink-muted);
  font-size: 1.08rem;
}

.section__text--narrow {
  max-width: 28rem;
}

.capability-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  max-width: 40rem;
}

.capability-list li {
  display: grid;
  grid-template-columns: minmax(8rem, 11rem) 1fr;
  gap: 1rem 1.5rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.capability-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.capability-list__name {
  font-weight: 600;
  color: var(--ink);
}

.capability-list__hint {
  color: var(--ink-muted);
}

@media (max-width: 560px) {
  .capability-list li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

.version-line {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--accent-strong);
}

.version-line strong {
  font-weight: 600;
  color: var(--ink);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem var(--space) 2.5rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
  border-top: 1px solid var(--line);
}

.site-footer__sep {
  opacity: 0.5;
}

/* Reveal on scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .atmosphere__glow,
  .hero__figure,
  .hero__copy,
  .hero__visual {
    animation: none !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
