:root {
  /* High-End Industrial Palette */
  --b: #050c1c; /* Deep Midnight Blue (Base) */
  --y: #a67c52; /* Brushed Bronze (Accent) */
  --steel: #1e293b; /* Slate Steel */
  --light-steel: #94a3b8;
  --w: #ffffff;
  --g: #f8fafc;
  --glass: rgba(5, 12, 28, 0.8);
  --trans: all 0.5s cubic-bezier(0.2, 0, 0, 1);
  --shadow-premium: 0 20px 50px rgba(0, 0, 0, 0.3);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Outfit", sans-serif;
  background-color: var(--b);
  color: var(--w);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Fluid Typography - Architectural Style */
h1,
h2,
h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  letter-spacing: -2px;
}

h1 {
  font-size: clamp(1.8rem, 6vw, 3.5rem);
  line-height: 1;
}
h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  letter-spacing: -1px;
}
h3 {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
}
h4 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
p {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--light-steel);
  line-height: 1.8;
}

.accent-v {
  color: var(--y);
}
.text-bronze {
  color: var(--y);
}
.text-steel {
  color: var(--light-steel);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
  position: relative;
}

/* Wider container for projects */
.projects-v .container {
  max-width: 1600px;
}

/* Radical Layout - The Blueprint Hub */
/* The Traditional Layout */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--b);
  overflow-x: hidden;
}

/* Top Navigation */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background: rgba(2, 6, 23, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8%;
  border-bottom: 1px solid rgba(166, 124, 82, 0.2);
}

.brand-box {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  text-decoration: none;
}

.nav-logo {
  height: 50px;
  background: white;
  padding: 5px;
  border: 1px solid var(--y);
}

.nav-brand-name {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  letter-spacing: 5px;
  color: white;
  font-size: 1.5rem;
}

/* Horizontal Nav List */
.nav-list.horizontal {
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 3rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-item {
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--trans);
}

.nav-item:hover,
.nav-item.active {
  color: white;
}

.nav-item.highlight {
  color: var(--y);
}

/* Content Panel Full Width */
.main-content {
  flex: 1;
  width: 100%;
  position: relative;
  min-width: 0;
  overflow-x: hidden;
}

@media (max-width: 1024px) {
  .nav-list.horizontal {
    display: none; /* Mobile menu hidden for now, can implement later */
  }
}

/* Section Hub - Base Styling */
.section-hub {
  padding: 10rem 5% 8rem 5%; /* Pushed top padding down so the navbar doesn't overlap text */
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.section-hub > * {
  width: 100%;
  max-width: 1400px; /* Restored elegant desktop max-width so text doesn't stretch 4000px wide */
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  position: absolute;
  top: 4rem; /* Lowered top position */
  right: 4rem; /* Adjusted position */
  font-size: 0.6rem;
  color: var(--y);
  letter-spacing: 5px;
  opacity: 0.4;
  font-weight: 800;
  transform: rotate(90deg);
  transform-origin: right center;
}

/* Technical Grid Overlay */
.technical-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(166, 124, 82, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(166, 124, 82, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 0;
  pointer-events: none;
}

/* Hero Hub Styling */
.hero-hub {
  background-color: #060e1e;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(2, 6, 23, 0.95),
    rgba(2, 6, 23, 0.5)
  );
  z-index: 1;
}

.hero-text-wrap {
  z-index: 10;
  max-width: 800px;
  position: relative;
}

.technical-grid {
  z-index: 2; /* Ensure technical grid is above the overlay but behind text */
}

.technical-tag {
  display: block;
  font-size: 0.7rem;
  color: var(--y);
  letter-spacing: 5px;
  margin-bottom: 2rem;
  font-weight: 900;
}

.hero-actions {
  margin-top: 4rem;
}

.btn-industrial {
  display: inline-block;
  padding: 1.5rem 3.5rem;
  background: transparent;
  border: 1px solid var(--y);
  color: var(--y);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 4px;
  font-size: 0.8rem;
  transition: var(--trans);
}

.btn-industrial:hover {
  background: var(--y);
  color: white;
  box-shadow: 0 10px 40px rgba(166, 124, 82, 0.3);
}

/* SVG Dividers - Jagged Torn Style */
.divider-bottom.jagged {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 5;
}

.divider-bottom.jagged svg {
  display: block;
  width: 100%;
  height: clamp(60px, 10vw, 120px);
}

.divider-top.jagged {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 5;
}

.divider-top.jagged svg {
  display: block;
  width: 100%;
  height: clamp(60px, 10vw, 120px);
}

.shape-fill {
  fill: var(--w);
}

.history-v {
  padding: 8rem 0;
  background: var(--g);
  color: var(--b);
}

.history-grid-v {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
}

.badge-v {
  background: var(--y);
  color: var(--b);
  padding: 0.4rem 1rem;
  font-weight: 800;
  font-size: 0.8rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
}

/* History Hub - Asymmetrical Side Narrative */
.history-asymmetric {
  display: flex;
  gap: 4rem;
  align-items: center; /* Centered visually */
}

.hist-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.02);
  border-left: 1px solid var(--y);
  padding: 5rem;
  position: relative;
  margin-top: 2rem;
}

.badge-bronze {
  position: absolute;
  top: 0;
  left: -1px;
  background: var(--y);
  color: white;
  padding: 0.5rem 1rem;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 3px;
}

.clients-bento {
  flex: 0.6;
  background: #081121;
  padding: 4rem;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.clients-bento h3 {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  letter-spacing: 2px;
}

.plants-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.plants-grid span {
  font-size: 0.8rem;
  color: var(--light-steel);
  font-weight: 700;
  letter-spacing: 1px;
}

@media (max-width: 1200px) {
  .history-asymmetric {
    flex-direction: column;
  }
}

/* Services Hub - Bento Grid */
.bento-grid-v {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(300px, auto);
  gap: 1.5rem;
  margin-top: 5rem;
}

/* Specific Bento Sizes for index.js mapping */
.s-card-v {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--trans);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.s-card-v:nth-child(1),
.s-card-v:nth-child(4) {
  grid-column: span 2;
}

.s-card-v:hover {
  background: rgba(166, 124, 82, 0.05);
  border-color: var(--y);
}

.s-card-v .icon-v {
  font-size: 2.5rem;
  color: var(--y);
}

.s-card-v h4 {
  font-size: 1.1rem;
  color: white;
  letter-spacing: 1px;
}

.s-card-v p {
  font-size: 0.85rem;
  margin-bottom: 2rem;
}

.projects-v {
  background: var(--b);
  color: var(--w);
  padding: 15rem 0;
  position: relative;
}

.projects-v .shape-fill {
  fill: var(--w);
}

.divider-top {
  position: absolute;
  top: -1px;
  width: 100%;
}
.divider-top svg {
  height: 120px;
  width: 100%;
  fill: var(--w);
}

.projects-slider-v {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 6rem;
}

.p-item-v {
  background: #222;
  overflow: visible;
  position: relative;
}

.p-item-v.overlap-up {
  transform: translateY(-100px);
}

.p-img-v img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  filter: brightness(0.7);
  transition: 0.5s;
}
.p-item-v:hover .p-img-v img {
  filter: brightness(1.1);
  transform: scale(1.05);
}

.p-info-v {
  padding: 3rem;
  background: var(--w);
  color: var(--b);
  width: 80%;
  margin: -60px auto 0;
  position: relative;
  z-index: 5;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

/* Projects Hub - Cinematic Archive Reel */
.projects-hub {
  padding-right: 0;
  overflow: hidden;
}

.projects-hub > * {
  max-width: none; /* Allow full-bleed for the reel */
}

.cinematic-reel {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding: 5rem 0 8rem 0;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.cinematic-reel::-webkit-scrollbar {
  height: 4px;
}

.cinematic-reel::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.cinematic-reel::-webkit-scrollbar-thumb {
  background: var(--y);
}

.reel-item {
  flex: 0 0 600px; /* High-impact wide cards */
  height: 450px;
  position: relative;
  scroll-snap-align: start;
  overflow: hidden;
  border-left: 1px solid rgba(166, 124, 82, 0.3);
  transition: all 0.6s cubic-bezier(0.2, 0, 0, 1);
}

.reel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.5) brightness(0.7);
  transition: all 0.8s ease;
}

.reel-item:hover img {
  filter: grayscale(0) brightness(1);
  transform: scale(1.05);
}

.technical-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2.5rem;
  background: linear-gradient(to top, var(--b), transparent);
  color: white;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.reel-item:hover .technical-overlay {
  opacity: 1;
  transform: translateY(0);
}

.overlay-tag {
  font-family: var(--font-accent);
  color: var(--y);
  font-size: 0.7rem;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 0.5rem;
}

.overlay-meta {
  font-size: 0.8rem;
  opacity: 0.6;
  margin-top: 0.5rem;
  display: flex;
  gap: 1.5rem;
}

.meta-item b {
  color: var(--y);
}

.album-header-v {
  margin-bottom: 2rem;
  padding-left: 2rem;
  border-left: 2px solid var(--y);
}

.album-title-v {
  font-size: 2.2rem;
  font-weight: 900;
  color: white;
  margin: 0.5rem 0;
  text-transform: uppercase;
}

.album-subtitle-v {
  color: var(--y);
  letter-spacing: 4px;
  font-size: 0.75rem;
  text-transform: uppercase;
  opacity: 0.7;
}

.reel-controls {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}

.btn-reel {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
}

.btn-reel:hover {
  background: var(--y);
  border-color: var(--y);
  color: var(--b);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .reel-item {
    flex: 0 0 85vw;
    height: 350px;
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
  background: #111;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  transition: transform 1s cubic-bezier(0.2, 0, 0, 1);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(166, 124, 82, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--trans);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-zoom-icon {
  font-size: 1.5rem;
  color: white;
  padding: 1rem;
  border: 1px solid white;
}

.album-footer {
  margin-top: 4rem;
}

.btn-view-full {
  background: transparent;
  color: var(--y);
  border: 1px solid var(--y);
  padding: 1.2rem 3rem;
  font-weight: 900;
  letter-spacing: 4px;
  font-size: 0.7rem;
  cursor: pointer;
  transition: var(--trans);
}

.btn-view-full:hover {
  background: var(--y);
  color: white;
}

@media (max-width: 768px) {
  .gallery-masonry {
    column-count: 1;
  }
}

@media (max-width: 600px) {
  .gallery-masonry {
    column-count: 1;
  }
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  background: #222;
  transition: var(--trans);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  filter: brightness(0.85);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(30, 113, 170, 0.3);
}

.gallery-item:hover img {
  transform: scale(1.1);
  filter: brightness(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-zoom-icon {
  width: 40px;
  height: 40px;
  background: var(--y);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--b);
  margin-left: auto;
}

/* Lightbox Premium Design */
.lightbox-v {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  box-shadow: 0 0 100px rgba(30, 113, 170, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 3rem;
  color: var(--w);
  cursor: pointer;
  z-index: 2100;
  transition: 0.3s;
}

.lightbox-close:hover {
  color: var(--y);
  transform: scale(1.2) rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: var(--w);
  font-size: 2.5rem;
  padding: 2rem 1rem;
  cursor: pointer;
  z-index: 2100;
  transition: 0.3s;
  border-radius: 8px;
}

.lightbox-nav:hover {
  background: var(--y);
  color: var(--b);
}

.lightbox-nav.prev {
  left: 40px;
}
.lightbox-nav.next {
  right: 40px;
}

.lightbox-caption {
  margin-top: 1.5rem;
  color: var(--w);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .lightbox-nav {
    padding: 1rem 0.5rem;
    font-size: 1.5rem;
  }
  .lightbox-nav.prev {
    left: 10px;
  }
  .lightbox-nav.next {
    right: 10px;
  }
  .lightbox-close {
    top: 20px;
    right: 20px;
  }
}

/* Contact Hub - The Data Sheet */
.contact-asymmetric {
  display: flex;
  gap: 4rem;
  align-items: center; /* Centered vertically */
  margin-top: 5rem;
}

.contact-info-block {
  flex: 1;
}

.contact-details {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.detail-item small {
  display: block;
  color: var(--y);
  letter-spacing: 3px;
  font-size: 0.65rem;
  margin-bottom: 1rem;
}

/* ─────────────────────────────────────────────────────
   FLOATING ASSETS - Architectural Depth
   ───────────────────────────────────────────────────── */
.float-asset {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.25; /* Increased opacity for more visibility */
  filter: grayscale(1) contrast(1.1);
  transition: transform 0.1s linear; /* Smooth parallax */
}

.float-transition-v {
  position: absolute;
  top: -150px; /* Overlaps between sections */
  left: 5%;
  width: 500px;
  opacity: 0.15;
  z-index: 10;
  transform: rotate(-10deg);
}

.float-hist {
  top: 30%;
  left: 5%;
  width: 500px; /* Increased */
  opacity: 0.2;
}

.float-serv {
  top: 15%;
  right: 15%;
  width: 400px; /* Increased */
  transform: rotate(15deg);
}

.float-proj {
  bottom: 10%;
  left: -5%;
  width: 600px; /* Increased */
  opacity: 0.2;
}

.float-contact {
  top: 30%;
  right: 10%;
  width: 400px; /* Increased */
}

@media (max-width: 1024px) {
  .float-asset {
    display: none;
  } /* Hide on mobile to keep it clean */
}

.detail-item p {
  font-size: 1.4rem;
  color: white;
  font-weight: 700;
}

.team-executives {
  flex: 0.8;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.exec-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem;
}

.exec-card small {
  color: var(--y);
  letter-spacing: 3px;
  font-size: 0.6rem;
  margin-bottom: 1rem;
  display: block;
}

.exec-card h4 {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  color: white;
}

.wa-btn {
  display: block;
  padding: 1rem;
  text-align: center;
  border: 1px solid #25d366;
  color: #25d366;
  text-decoration: none;
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 3px;
  transition: var(--trans);
}

.wa-btn:hover {
  background: #25d366;
  color: white;
}

.side-footer-content {
  padding: 6rem;
  font-size: 0.7rem;
  color: var(--light-steel);
  opacity: 0.3;
  letter-spacing: 2px;
}

/* Footer Elite */
.footer-v {
  background: #020617;
  color: rgba(255, 255, 255, 0.3);
  padding: 8rem 0;
  text-align: center;
  border-top: 1px solid var(--y);
}

.f-logo {
  font-size: 2.5rem;
  font-weight: 900;
  color: white;
  letter-spacing: 5px;
  margin-bottom: 2rem;
  display: block;
}
.f-logo span {
  color: var(--y);
}

/* Final Mobile Layout Corrections */
/* ─────────────────────────────────────────────────────
   ANIMATIONS & REVEALS (Horizontal Motion)
   ───────────────────────────────────────────────────── */
.reveal-element {
  opacity: 1; /* FAILSAFE: Ensure visibility if observer fails */
  transform: translateX(0);
  transition: all 1s cubic-bezier(0.2, 0, 0, 1);
}

.reveal-element:not(.visible) {
  opacity: 1; /* Text is fully visible, just offset slightly */
  transform: translateX(30px) translateY(10px);
}

.reveal-element.visible {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* Alternate slide for cards or special blocks if needed */
.hist-card.reveal-element:not(.visible) {
  transform: translateX(-30px); /* Slide from left */
}

/* Delay Helpers */
.delay-1 {
  transition-delay: 0.2s;
}
.delay-2 {
  transition-delay: 0.4s;
}

@media (max-width: 1024px) {
  /* Navigation Refinement */
  .top-nav {
    padding: 0 5%;
    height: 70px;
  }

  .nav-brand-name {
    font-size: 1.1rem;
    letter-spacing: 2px;
  }

  /* Hamburger Menu Toggle */
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 3000;
    padding: 10px;
  }

  .menu-toggle .bar {
    width: 25px;
    height: 2px;
    background: white;
    transition: var(--trans);
  }

  /* Active state for menu toggle */
  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Mobile Overlay Menu */
  .nav-list.horizontal {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(5, 12, 28, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column !important;
    justify-content: center;
    gap: 2rem;
    z-index: 2500;
    transition: 0.5s cubic-bezier(0.2, 0, 0, 1);
    border-left: 1px solid rgba(166, 124, 82, 0.2);
  }

  .nav-list.horizontal.active {
    right: 0;
  }

  .nav-item {
    font-size: 1.2rem;
    letter-spacing: 5px;
  }

  /* Hero Adjustments */
  .section-hub {
    padding: 6rem 1.5rem 4rem 1.5rem;
    min-height: auto;
  }

  .hero-hub {
    padding-top: 8rem;
    text-align: center;
  }

  .hero-text-wrap {
    max-width: 100%;
  }

  .technical-tag {
    margin-bottom: 1rem;
    font-size: 0.6rem;
  }

  /* Cinematic Reel Overhaul for Touch */
  .cinematic-reel {
    padding: 2rem 0 4rem 0;
    gap: 1rem;
  }

  .reel-item {
    flex: 0 0 85vw; /* Almost full width for high impact */
    height: 400px;
    scroll-snap-align: center;
  }

  .technical-overlay {
    opacity: 1; /* Always visible on mobile for accessibility */
    transform: translateY(0);
    background: linear-gradient(to top, rgba(5, 12, 28, 0.9), transparent);
  }

  .reel-controls {
    display: none; /* Hide manual arrows on touch screens */
  }

  /* Structural Stacking */
  .history-asymmetric,
  .contact-asymmetric {
    flex-direction: column;
    gap: 3rem;
  }

  .hist-card,
  .clients-bento,
  .contact-info-block,
  .team-executives {
    width: 100%;
    padding: 2.5rem 1.5rem;
  }

  .bento-grid-v {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .s-card-v:nth-child(n) {
    grid-column: span 1; /* Reset spans */
  }

  .social-links {
    flex-direction: column;
    width: 100%;
  }

  .social-link {
    width: 100%;
    justify-content: center;
  }

  .reveal-element:not(.visible) {
    transform: translateY(20px);
    opacity: 1;
  }

  .reveal-element.visible {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Landscape orientation or very small tablets */
@media (min-width: 600px) and (max-width: 1024px) {
  .bento-grid-v {
    grid-template-columns: repeat(2, 1fr);
  }
  .reel-item {
    flex: 0 0 45vw;
  }
}

/* Social Media Links Styling - Industrial Premium */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  color: var(--w) !important; /* Force white to avoid blue defaults */
  text-decoration: none;
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 3px;
  padding: 0.8rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  transition: var(--trans);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-link:hover {
  border-color: var(--y);
  background: rgba(166, 124, 82, 0.1);
  color: var(--y) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.social-link::before {
  content: "»";
  color: var(--y);
  font-size: 1rem;
}
