/* ==========================================================================
   ORENDA HOLDINGS — COMPONENTS DESIGN SYSTEM
   ========================================================================== */

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #06080B;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--ease-cinematic), visibility 0.8s;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-brand {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.35em;
  color: #FFFFFF;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.preloader-brand span {
  color: var(--color-gold);
}

.preloader-track {
  width: 160px;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.preloader-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--color-gold);
  animation: preloadProgress 1.4s var(--ease-cinematic) forwards;
}

@keyframes preloadProgress {
  0% { width: 0%; }
  50% { width: 65%; }
  100% { width: 100%; }
}

/* Custom Cursor */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

.cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(197, 168, 128, 0.4);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-cinematic), height 0.3s var(--ease-cinematic), background 0.3s, border-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cursor-follower-label {
  font-family: var(--font-heading);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #000000;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.2s;
}

.cursor-hover .cursor-follower {
  width: 56px;
  height: 56px;
  border-color: var(--color-gold);
  background: rgba(197, 168, 128, 0.1);
}

.cursor-active-label .cursor-follower {
  width: 64px;
  height: 64px;
  background: var(--color-gold);
  border-color: var(--color-gold);
}

.cursor-active-label .cursor-follower-label {
  opacity: 1;
}

/* Header & Spatial Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: var(--header-height);
  z-index: 1000;
  transition: background 0.4s var(--ease-cinematic), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(6, 8, 11, 0.85);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border-subtle);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-logo {
  height: 34px;
  width: auto;
  display: block;
}

.header-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.65rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  font-size: 0.68rem;
  color: var(--color-text-dim);
  font-family: var(--font-heading);
  letter-spacing: 0.08em;
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}

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

.nav-link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: #FFFFFF;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--color-gold);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  padding: 0.65rem;
  border-radius: 2px;
  cursor: pointer;
}

/* Spatial Drawer Menu (Mobile & Full Exploration) */
.spatial-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 8, 11, 0.97);
  backdrop-filter: blur(24px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6rem 2rem 3rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.5s var(--ease-cinematic);
}

.spatial-drawer.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.drawer-link {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: color 0.3s, transform 0.3s var(--ease-cinematic);
}

.drawer-link .num {
  font-size: 0.85rem;
  color: var(--color-gold);
  font-weight: 600;
}

.drawer-link:hover, .drawer-link.active {
  color: #FFFFFF;
  transform: translateX(12px);
}

/* ==========================================================================
   HOMEPAGE STAGES & SECTIONS
   ========================================================================== */

/* 01. LIVING HERO */
.hero-stage {
  min-height: 100vh;
  padding-top: var(--header-height);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.hero-editorial-wrap {
  position: relative;
  z-index: 3;
}

.hero-title-huge {
  font-size: clamp(3.2rem, 8.5vw, 8.5rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-title-huge .line-mask {
  overflow: hidden;
  display: block;
}

.hero-title-huge .line-inner {
  display: block;
  transform: translateY(100%);
  animation: lineReveal 1.2s var(--ease-cinematic) 0.3s forwards;
}

.hero-title-huge .line-gold {
  color: transparent;
  -webkit-text-stroke: 1px rgba(197, 168, 128, 0.4);
  background: linear-gradient(135deg, var(--color-gold-bright) 0%, var(--color-gold-dim) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes lineReveal {
  to { transform: translateY(0); }
}

.hero-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-end;
  margin-top: 1rem;
}

.hero-lead-text {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 520px;
}

.hero-cta-cluster {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

/* 02. ORIENTATION */
.orientation-statement {
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--color-text);
  max-width: 1080px;
}

.orientation-statement mark {
  background: transparent;
  color: var(--color-gold);
  font-weight: 700;
}

/* 03. THE ORBIT (INTERACTIVE SYSTEM) */
.orbit-wrapper {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.orbit-visualizer {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  max-width: 580px;
  margin: 0 auto;
}

.orbit-svg {
  width: 100%;
  height: 100%;
}

.orbit-node-sat {
  cursor: pointer;
  transition: transform 0.3s var(--ease-cinematic);
}

.orbit-node-sat:hover, .orbit-node-sat.active {
  filter: drop-shadow(0 0 12px rgba(197, 168, 128, 0.6));
}

.orbit-node-sat.active circle:nth-child(1) {
  fill: var(--color-gold);
  stroke: #FFFFFF;
}

.orbit-node-sat.active text {
  fill: #000000;
  font-weight: 800;
}

.orbit-info-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 2.75rem;
  border-radius: 4px;
  position: relative;
}

.orbit-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--color-gold);
}

.orbit-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.orbit-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.orbit-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.orbit-capabilities-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.orbit-capabilities-list li {
  font-size: 0.88rem;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.orbit-capabilities-list li::before {
  content: '→';
  color: var(--color-gold);
  font-weight: 700;
}

/* 04. VALUE ENGINE */
.value-engine-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  position: relative;
}

.engine-node {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 2rem 1.5rem;
  border-radius: 2px;
  position: relative;
  transition: all 0.35s var(--ease-cinematic);
  cursor: pointer;
}

.engine-node:hover, .engine-node.active {
  border-color: var(--color-gold);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.engine-node-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.engine-node-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.engine-node-desc {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* 05. THE SIGNALS */
.signals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 3rem 0;
}

.signal-item {
  position: relative;
}

.signal-value {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.signal-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.signal-subtext {
  font-size: 0.8rem;
  color: var(--color-text-dim);
  margin-top: 0.35rem;
}

/* 06. HUMAN INTELLIGENCE */
.people-theater {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3.5rem;
}

.people-media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}

.people-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%) contrast(105%);
  transition: transform 0.6s var(--ease-cinematic);
}

.people-media-frame:hover img {
  transform: scale(1.03);
}

.people-content-pane {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.people-name-huge {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.people-role-badge {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.people-bio {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

/* 07. THE ARCHIVE (GALLERY) */
.archive-stream {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.archive-tile {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  border-radius: 2px;
  transition: all 0.4s var(--ease-cinematic);
  position: relative;
  display: flex;
  flex-direction: column;
}

.archive-tile:hover {
  border-color: var(--color-gold);
  transform: translateY(-6px);
}

.archive-media {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}

.archive-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-cinematic);
}

.archive-tile:hover .archive-media img {
  transform: scale(1.05);
}

.archive-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.archive-cat {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.archive-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 1rem;
}

/* 08. INSIGHT STREAM */
.insight-stream-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-subtle);
  margin-top: 3.5rem;
}

.insight-stream-row {
  display: grid;
  grid-template-columns: 0.4fr 1.6fr 0.4fr;
  align-items: center;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.35s var(--ease-cinematic);
  cursor: pointer;
}

.insight-stream-row:hover {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-bottom-color: var(--color-gold);
}

.stream-meta {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.1em;
}

.stream-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-text);
  transition: color 0.3s;
}

.insight-stream-row:hover .stream-title {
  color: var(--color-gold-bright);
}

.stream-arrow {
  text-align: right;
  font-size: 1.25rem;
  color: var(--color-text-dim);
  transition: transform 0.3s var(--ease-cinematic), color 0.3s;
}

.insight-stream-row:hover .stream-arrow {
  transform: translateX(6px);
  color: var(--color-gold);
}

/* 09. THE FUTURE */
.future-stage {
  padding: 10rem 0;
  text-align: center;
  position: relative;
}

.future-statement-huge {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 9vw, 9.5rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #FFFFFF;
}

/* 10. PROGRESSIVE CONNECTION */
.connect-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 3.5rem;
  border-radius: 4px;
  max-width: 860px;
  margin: 3.5rem auto 0;
}

.step-tracker {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.step-pill {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
}

.step-pill.active {
  background: var(--color-gold);
}

.step-content {
  display: none;
}

.step-content.active {
  display: block;
}

.intent-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.intent-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 1.25rem 1.5rem;
  text-align: left;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s var(--ease-cinematic);
}

.intent-btn:hover, .intent-btn.selected {
  border-color: var(--color-gold);
  background: var(--bg-card-hover);
  color: var(--color-gold);
  transform: translateY(-2px);
}

.form-field {
  margin-bottom: 1.75rem;
}

.form-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.6rem;
}

.form-field input, .form-field textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 1rem 1.25rem;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border-radius: 2px;
  transition: border-color 0.3s;
}

.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--color-gold);
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

/* 11. MINIMAL FOOTER */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 3rem;
  background: var(--bg-deep);
  position: relative;
  z-index: 2;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4rem;
}

.footer-brand-huge {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #FFFFFF;
}

.footer-nav-cluster {
  display: flex;
  gap: 4rem;
}

.footer-col-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-sub {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--color-text-dim);
}
