/* 
 * 0TWO1 — PRIVATE SYNDICATE
 * Visual Language: High-Fashion Brutalism & Architectural Quiet Luxury
 * Strict Palette: Pitch Black, Bone White, Charcoal Accents
 */

:root {
  --bg-primary: #050505;
  --bg-card: #0a0a0a;
  --bg-card-hover: #0f0f0f;
  --text-bone: #f5f5f3;
  --text-bone-muted: #d0d0cc;
  --text-charcoal: #5a5a58;
  --text-dim: #383836;
  --border-charcoal: rgba(255, 255, 255, 0.08);
  --border-charcoal-subtle: rgba(255, 255, 255, 0.035);
  --border-charcoal-bright: rgba(255, 255, 255, 0.22);
  --accent-dot: #8e8e88;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace, Courier;
}

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

html {
  background-color: var(--bg-primary);
  color: var(--text-bone);
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-primary);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.5;
  letter-spacing: normal;
}

/* Analog Grain Noise Filter */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Radial Ambient Spotlight Following Cursor */
.spotlight-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(600px circle at var(--mouse-screen-x, 50vw) var(--mouse-screen-y, 45vh), rgba(255, 255, 255, 0.025), transparent 80%);
  transition: opacity 0.5s ease;
}

/* Custom Minimalist Scrollbar */
::-webkit-scrollbar {
  width: 3px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #1c1c1c;
}
::-webkit-scrollbar-thumb:hover {
  background: #333333;
}

/* Selection */
::selection {
  background: var(--text-bone);
  color: var(--bg-primary);
}

/* Utility Monospace Data */
.mono-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-charcoal);
  font-weight: 400;
}

.mono-data {
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

/* Top Navigation Bar */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 2.2rem 3.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  pointer-events: none;
  will-change: opacity, transform;
  transition: opacity 0.2s ease-out;
}

.top-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.status-indicator {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--accent-dot);
  display: inline-block;
  opacity: 0.7;
}

/* ============================================================
   HERO SECTION & TRANSITIONS
   ============================================================ */
.hero-section {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: var(--bg-primary);
  perspective: 1000px;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(20, 20, 20, 0.4) 0%, rgba(5, 5, 5, 1) 75%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  user-select: none;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  transition: transform 0.1s cubic-bezier(0.1, 0.9, 0.2, 1), opacity 0.2s ease-out;
}

/* Architectural Interlocking Monogram (0, 2, 1) */
.monogram-wrapper {
  position: relative;
  width: clamp(140px, 18vw, 220px);
  aspect-ratio: 320 / 460;
  margin-bottom: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.monogram-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.8));
  overflow: visible;
}

/* SVG Line-drawing stroke animations */
.svg-stroke {
  fill: none;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: drawStroke 2.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.stroke-zero {
  animation-delay: 0.1s;
}

.stroke-two-notch {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: drawStroke 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.3s;
}

.stroke-two-arch {
  stroke-dasharray: 550;
  stroke-dashoffset: 550;
  animation: drawStroke 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.4s;
}

.stroke-two-base {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: drawStroke 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.65s;
}

.stroke-one-beak {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  animation: drawStroke 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.9s;
}

.stroke-one-stem {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  animation: drawStroke 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.75s;
}

@keyframes drawStroke {
  to {
    stroke-dashoffset: 0;
  }
}

/* Subtle gleam flash across monogram */
.monogram-gleam {
  position: absolute;
  top: 0;
  left: -40%;
  width: 180%;
  height: 100%;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.1) 50%, transparent 65%);
  pointer-events: none;
  opacity: 0;
  animation: gleamSweep 4s ease-in-out infinite 2.5s;
}

/* ============================================================
   AUSTERE FOOTER WITH FAT TEXT ON TOP
   ============================================================ */
.site-footer {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding-bottom: 5rem;
  background-color: var(--bg-primary);
  z-index: 10;
}

/* Fat Monumental 0TWO1 Text on top of the footer */
.footer-monumental-wrap {
  width: 100vw;
  overflow: hidden;
  user-select: none;
  pointer-events: none;
  line-height: 0.72;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2.2rem;
}

.footer-monumental-text {
  font-family: var(--font-sans);
  font-size: clamp(6.5rem, 23vw, 24rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  color: #141414; /* Subtle quiet luxury charcoal silhouette against pitch black */
  text-align: center;
  white-space: nowrap;
  display: block;
  transform: translateY(4%);
  transition: color 0.5s ease;
}

.site-footer:hover .footer-monumental-text {
  color: #1f1f1f;
}

.footer-divider {
  width: 40px;
  height: 1px;
  background-color: var(--border-charcoal);
  margin-bottom: 2.5rem;
}

.footer-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.membership-notice {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--text-bone);
  padding-left: 0.42em;
  font-weight: 400;
  opacity: 0.85;
}

.copyright-notice {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  text-transform: uppercase;
}

@keyframes gleamSweep {
  0% {
    transform: translateX(-60%);
    opacity: 0;
  }
  20% {
    opacity: 0.7;
  }
  40% {
    transform: translateX(60%);
    opacity: 0;
  }
  100% {
    transform: translateX(60%);
    opacity: 0;
  }
}

/* Brand Text Container */
.brand-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Wordmark: 0TWO1 in massive tightly-kerned bold sans-serif */
.brand-title {
  font-family: var(--font-sans);
  font-size: clamp(3.2rem, 7.5vw, 6.8rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.055em;
  color: var(--text-bone);
  text-transform: uppercase;
  margin: 0;
  padding: 0;
  opacity: 0;
  transform: translateY(16px);
  animation: slowFadeUp 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.6s;
}

/* Elegant Subtitle: Widely Spaced, Light Serif */
.brand-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(0.7rem, 1vw, 0.88rem);
  font-weight: 300;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: var(--text-bone-muted);
  margin-top: 1.4rem;
  padding-left: 0.55em; /* Balancing letter spacing */
  opacity: 0;
  transform: translateY(12px);
  animation: slowFadeUp 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 1.1s;
}

/* Subtle Scroll Cue */
.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  opacity: 0;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.3s ease, opacity 0.3s ease;
  animation: slowFadeIn 2s ease forwards 1.5s;
}

.scroll-cue:hover {
  transform: translateY(4px);
}

.scroll-line {
  width: 1px;
  height: 38px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
  animation: pulseLine 2.8s ease-in-out infinite;
}

.scroll-text {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.28em;
  color: var(--text-charcoal);
  text-transform: uppercase;
}

/* ============================================================
   DIRECTIVE / DOSSIER SECTION
   ============================================================ */
.dossier-section {
  width: 100%;
  padding: 8rem 2rem 11rem;
  display: flex;
  justify-content: center;
  position: relative;
  background-color: var(--bg-primary);
  z-index: 10;
}

.container {
  width: 100%;
  max-width: 960px;
}

/* The Classified Dossier Card */
.dossier-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-charcoal);
  border-radius: 2px;
  position: relative;
  box-shadow: 0 50px 120px -20px rgba(0, 0, 0, 0.95);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.3s cubic-bezier(0.16, 1, 0.3, 1), transform 1.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.dossier-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.dossier-card:hover {
  border-color: var(--border-charcoal-bright);
}

/* Dossier Header */
.dossier-header {
  padding: 2.5rem 3rem 2rem;
  border-bottom: 1px solid var(--border-charcoal);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.dossier-badge {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-charcoal);
  margin-bottom: 0.6rem;
}

.dossier-title {
  font-family: var(--font-sans);
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-bone);
  text-transform: uppercase;
}

.dossier-status {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding-bottom: 0.3rem;
}

.status-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
  animation: subtleBlink 3s infinite ease-in-out;
}

.status-text {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--text-bone-muted);
}

/* Dossier Grid Specifications */
.dossier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background-color: var(--border-charcoal-subtle);
  gap: 1px;
}

.spec-cell {
  background-color: var(--bg-card);
  padding: 2.8rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background-color 0.35s ease;
}

.spec-cell:hover {
  background-color: var(--bg-card-hover);
}

.spec-cell-wide {
  grid-column: 1 / -1;
  border-top: 1px solid var(--border-charcoal);
  padding: 3rem 2.5rem;
}

.spec-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--text-charcoal);
  text-transform: uppercase;
  margin-bottom: 1.4rem;
  display: block;
}

.spec-value {
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  font-weight: 400;
  color: var(--text-bone);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.spec-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-top: 1.2rem;
}

.location-data {
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.spec-coordinates {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: var(--text-charcoal);
  margin-top: 0.9rem;
  text-transform: uppercase;
}

/* Dossier Footer Advisory */
.dossier-footer {
  padding: 1.6rem 2.5rem;
  border-top: 1px solid var(--border-charcoal);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
  background-color: rgba(0, 0, 0, 0.4);
}

.advisory-item {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
}

.advisory-item .mono-label {
  flex-shrink: 0;
  white-space: nowrap;
}

.mono-val {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--text-bone-muted);
  line-height: 1.5;
}



/* ============================================================
   KEYFRAME ANIMATIONS
   ============================================================ */
@keyframes slowFadeTrack {
  0% {
    opacity: 0;
    letter-spacing: 0.2em;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    letter-spacing: 0.38em;
    transform: translateY(0);
  }
}

@keyframes slowFadeUp {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slowFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 0.65;
  }
}

@keyframes pulseLine {
  0%, 100% {
    opacity: 0.2;
    transform: scaleY(0.75);
  }
  50% {
    opacity: 0.9;
    transform: scaleY(1.05);
  }
}

@keyframes subtleBlink {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

/* Responsive Breakpoints */
@media (max-width: 860px) {
  .top-bar {
    padding: 1.5rem 1.75rem;
  }
  .monogram-wrapper {
    width: 140px;
    margin-bottom: 2rem;
  }
  .brand-title {
    letter-spacing: 0.25em;
    padding-left: 0.25em;
  }
  .dossier-grid {
    grid-template-columns: 1fr;
  }
  .spec-cell {
    padding: 2.2rem 1.8rem;
  }
  .spec-cell-wide {
    padding: 2.2rem 1.8rem;
  }
  .dossier-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 2rem 1.8rem 1.5rem;
  }
  .dossier-footer {
    flex-direction: column;
    padding: 1.6rem 1.8rem;
    gap: 1.1rem;
  }
  .advisory-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    align-items: baseline;
    gap: 0.75rem;
    width: 100%;
  }
  .advisory-item .mono-label {
    color: var(--text-charcoal);
  }
}

@media (max-width: 480px) {
  .advisory-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
}
