/* ═══════════════════════════════════════════════════════════
   NOVA AI FILMS — shared system
   Cold tactical / dossier aesthetic
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,500;0,6..96,700;0,6..96,800;0,6..96,900;1,6..96,400;1,6..96,700&family=IBM+Plex+Mono:wght@300;400;500;600&family=IBM+Plex+Sans:wght@300;400;500;600&display=swap');

:root {
  --void:        #0a0b0d;
  --concrete-1:  #101216;
  --concrete-2:  #15171a;
  --concrete-3:  #1f2226;
  --steel-line:  #2a2d31;
  --steel-line-2:#3a3d42;
  --ash:         #6c6e72;
  --ash-2:       #8a8b8d;
  --bone-dim:    #b9b6ae;
  --bone:        #e8e5dd;
  --bone-bright: #f4f1ea;

  /* single severe accent — cold tactical steel blue */
  --steel:       oklch(0.62 0.085 235);
  --steel-dim:   oklch(0.45 0.065 235);
  --steel-deep:  oklch(0.32 0.05 235);

  --serif: 'Bodoni Moda', 'Didot', 'Times New Roman', serif;
  --sans:  'IBM Plex Sans', 'Helvetica Neue', sans-serif;
  --mono:  'IBM Plex Mono', 'Menlo', monospace;

  --maxw: 1480px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--void); color: var(--bone); }
body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.65;
  background: var(--void);
  color: var(--bone-dim);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── selection ── */
::selection { background: var(--steel); color: var(--void); }

/* ── grain overlay (fixed, blend) ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='5'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/></svg>");
  background-size: 220px 220px;
}
/* second grain pass — finer, additive feel via screen */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.04;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.6' numOctaves='1' seed='9'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

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

/* ═══ TYPE ═══ */
.display {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 0.92;
  color: var(--bone-bright);
}
.italic { font-style: italic; font-weight: 400; }
h1, h2, h3 { font-family: var(--serif); color: var(--bone-bright); font-weight: 500; line-height: 1; }

.label {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ash-2);
}
.label-accent { color: var(--steel); }
.num { font-family: var(--mono); font-feature-settings: "tnum"; }

.divider {
  height: 1px;
  background: var(--steel-line);
  border: 0;
}
.divider-accent {
  height: 1px;
  background: var(--steel-dim);
  border: 0;
}

/* ═══ HEADER ═══ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  background: linear-gradient(180deg, rgba(10,11,13,0.85) 0%, rgba(10,11,13,0.55) 60%, rgba(10,11,13,0) 100%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.nav.solid {
  background: var(--void);
  border-bottom: 1px solid var(--steel-line);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: brightness(1.1) contrast(1.05);
}
.nav-brand-text {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--bone-bright);
  line-height: 1;
}
.nav-brand-text small {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.32em;
  color: var(--ash-2);
  font-weight: 400;
  margin-top: 4px;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
}
.nav-link {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bone-dim);
  position: relative;
  padding: 6px 0;
  transition: color .35s ease;
}
.nav-link:hover { color: var(--bone-bright); }
.nav-link.active { color: var(--bone-bright); }
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--steel);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--steel-dim);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bone-bright);
  transition: background .3s ease, border-color .3s ease;
}
.nav-cta:hover {
  background: var(--steel-deep);
  border-color: var(--steel);
}
.nav-cta::after {
  content: '↗';
  font-size: 13px;
  letter-spacing: 0;
  transform: translateY(-1px);
}

/* ═══ MOBILE NAV ═══ */
.nav-burger { display: none; }
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: 0;
    padding: 8px;
    cursor: pointer;
  }
  .nav-burger span {
    width: 24px;
    height: 1px;
    background: var(--bone);
    display: block;
  }
  .mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--void);
    z-index: 200;
    padding: 100px 32px 40px;
    display: none;
    flex-direction: column;
    gap: 0;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a {
    font-family: var(--serif);
    font-size: 36px;
    color: var(--bone-bright);
    padding: 18px 0;
    border-bottom: 1px solid var(--steel-line);
  }
  .mobile-menu .label { margin-top: 32px; margin-bottom: 8px; }
  .mobile-close {
    position: absolute;
    top: 22px;
    right: 32px;
    background: transparent;
    border: 0;
    color: var(--bone);
    font-family: var(--mono);
    font-size: 14px;
    letter-spacing: 0.2em;
    cursor: pointer;
  }
}

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  border: 1px solid var(--steel-line-2);
  background: transparent;
  color: var(--bone-bright);
  cursor: pointer;
  transition: all .35s ease;
  position: relative;
}
.btn:hover {
  border-color: var(--steel);
  background: rgba(40,80,120, 0.08);
}
.btn .arrow {
  width: 28px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: width .3s ease;
}
.btn .arrow::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  width: 6px; height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.btn:hover .arrow { width: 40px; }
.btn-primary {
  border-color: var(--steel);
  background: var(--steel-deep);
}
.btn-primary:hover { background: var(--steel-dim); border-color: var(--steel); }
.btn-ghost {
  border: 0;
  padding: 14px 0;
}
.btn-ghost:hover { background: transparent; color: var(--steel); }

/* ═══ FOOTER ═══ */
.footer {
  border-top: 1px solid var(--steel-line);
  padding: 56px var(--gutter) 32px;
  margin-top: 120px;
  background: var(--void);
}
.footer-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.footer-col h4 {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ash-2);
  font-weight: 400;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  padding: 4px 0;
  font-size: 14px;
  color: var(--bone-dim);
  transition: color .25s;
}
.footer-col a:hover { color: var(--bone-bright); }
.footer-mark {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--bone-bright);
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
}
.footer-mark small {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.32em;
  color: var(--ash-2);
  font-weight: 400;
  margin-top: 6px;
}
.footer-bottom {
  max-width: var(--maxw);
  margin: 56px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--steel-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom .label { font-size: 10px; }
@media (max-width: 720px) {
  .footer-row { grid-template-columns: 1fr 1fr; }
}

/* ═══ PAGE HEADER (sub-pages) ═══ */
.page-head {
  padding: 180px var(--gutter) 80px;
  border-bottom: 1px solid var(--steel-line);
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
}
.page-head .breadcrumb {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
}
.page-head .breadcrumb .dot {
  width: 6px; height: 6px;
  background: var(--steel);
  border-radius: 50%;
}
.page-head h1 {
  font-size: clamp(56px, 11vw, 180px);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.02em;
}
.page-head .meta {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  flex-wrap: wrap;
}
.page-head .meta-item {
  border-left: 1px solid var(--steel-line);
  padding-left: 18px;
}
.page-head .meta-item .label { display: block; margin-bottom: 8px; }
.page-head .meta-item .value {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--bone-bright);
}

/* ═══ STRIPED PLACEHOLDER ═══ */
.placeholder {
  background:
    repeating-linear-gradient(
      135deg,
      var(--concrete-3) 0,
      var(--concrete-3) 1px,
      var(--concrete-1) 1px,
      var(--concrete-1) 14px
    );
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--steel-line);
  color: var(--ash-2);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-align: center;
  padding: 24px;
}

/* ═══ REVEAL ON SCROLL ═══ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.2s cubic-bezier(.2,.7,.2,1), transform 1.2s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--delay, 0ms);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ═══ CORNER MARKS ═══ */
.corners {
  position: relative;
}
.corners::before, .corners::after,
.corners > .c-tr, .corners > .c-bl {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--steel);
  pointer-events: none;
}
.corners::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.corners::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.corners > .c-tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.corners > .c-bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }

/* ═══ HORIZONTAL TICKER STRIP ═══ */
.ticker {
  border-top: 1px solid var(--steel-line);
  border-bottom: 1px solid var(--steel-line);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  gap: 60px;
}
.ticker-track {
  display: inline-flex;
  gap: 60px;
  animation: scroll-x 60s linear infinite;
  flex-shrink: 0;
}
.ticker-track span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--ash-2);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 60px;
}
.ticker-track span::after {
  content: '◦';
  color: var(--steel);
}
@keyframes scroll-x {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ═══ UTILITIES ═══ */
.container { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.flex { display: flex; }
.between { justify-content: space-between; }
.col { flex-direction: column; }
.gap-s { gap: 12px; }
.gap-m { gap: 24px; }
.gap-l { gap: 48px; }
.center { align-items: center; }
.spacer-l { height: 120px; }
.spacer-m { height: 64px; }
.spacer-s { height: 24px; }
