/* ==========================================================================
   Site header / nav
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  background: linear-gradient(to bottom, rgba(10, 10, 12, 0.92), rgba(10, 10, 12, 0));
  backdrop-filter: blur(6px);
  transition: background 0.3s var(--ease), padding 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(10, 10, 12, 0.88);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header__brand {
  display: flex;
  align-items: center;
}

.site-header__logo {
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
}

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

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0.52;
  filter: saturate(0.55) contrast(1.02) brightness(1.08);
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--ink) 4%, rgba(10,10,12,0.68) 45%, rgba(10,10,12,0.82) 100%),
    linear-gradient(to right, var(--ink) 0%, rgba(10,10,12,0.32) 35%, rgba(10,10,12,0.32) 65%, var(--ink) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 56px;
  align-items: end;
  width: 100%;
  margin: 0 auto;
}

.hero__copy {
  min-width: 0;
}

.hero__cover-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 420px;
  justify-self: end;
  border: 1px solid var(--line);
  padding: 10px;
  background: var(--surface);
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.7);
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.hero__cover-frame:hover {
  border-color: var(--flare);
  box-shadow: 0 40px 80px -24px rgba(59, 130, 255, 0.25);
}

.hero__cover-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.2) contrast(0.95);
  transition: filter 0.5s var(--ease), transform 0.5s var(--ease);
}

.hero__cover-frame:hover img {
  filter: saturate(1.15) contrast(1.05);
  transform: scale(1.015);
}

.hero__cover-frame::before {
  content: 'GLIMPSE';
  position: absolute;
  top: -11px;
  left: 18px;
  background: var(--ink);
  padding: 0 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--bone-dim);
}

.hero__eyebrow {
  margin-bottom: 22px;
}

.hero__title {
  font-size: clamp(64px, 11vw, 148px);
  color: var(--bone);
  text-shadow: 0 0 60px rgba(255, 59, 92, 0.12);
}

.hero__title span {
  display: block;
}

.hero__title .flare-word {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--flare);
}

.hero__subtitle {
  margin-top: 20px;
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--bone-dim);
  max-width: 44ch;
}

.hero__meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn--primary {
  background: var(--flare);
  color: var(--ink);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -6px color-mix(in srgb, var(--flare) 60%, transparent);
}

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

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--bone-dim);
  background: var(--surface);
}

.hero__scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 24px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

.hero__scroll-cue .line {
  width: 32px;
  height: 1px;
  background: var(--bone-dim);
  position: relative;
  overflow: hidden;
}

.hero__scroll-cue .line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--flare);
  animation: scan-line 2.2s var(--ease) infinite;
}

@keyframes scan-line {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

@media (max-width: 900px) {
  .hero__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__cover-frame {
    justify-self: start;
    max-width: 260px;
    order: -1;
  }

  .hero__title {
    font-size: clamp(48px, 15vw, 88px);
  }

  .hero__scroll-cue {
    display: none;
  }
}
