/* Base Variables and Design Tokens */
:root {
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Harmonious Dark Palette */
  --bg-primary: #000000;
  --bg-secondary: #0a0a0c;
  --bg-card: rgba(18, 18, 22, 0.45);
  --border-card: rgba(255, 255, 255, 0.07);
  --border-card-hover: rgba(255, 255, 255, 0.15);
  
  /* Text colors */
  --text-primary: #f5f5f7;
  --text-secondary: #86868b;
  --text-tertiary: #515154;
  
  /* Accent glows */
  --accent-blue: #00f2fe;
  --accent-purple: #8a2be2;
  --accent-pink: #ff007f;
  --glow-shadow: 0 8px 32px 0 rgba(0, 242, 254, 0.1);
  --glass-blur: blur(24px);
  
  /* Transition timings */
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset and Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  width: 100%;
  scroll-behavior: auto; /* Overridden by GSAP/Custom scroll */
}

body {
  width: 100%;
  overflow-x: hidden;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Preloader Styling */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000000;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.preloader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.preloader-logo {
  width: 90px;
  height: 90px;
  margin-bottom: 25px;
}

.svg-logo-animated {
  width: 100%;
  height: 100%;
  animation: logo-spin 12s linear infinite;
}

.diamond-path {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: draw-diamond 3s cubic-bezier(0.25, 1, 0.5, 1) forwards infinite;
}

@keyframes logo-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes draw-diamond {
  0% {
    stroke-dashoffset: 400;
  }
  50% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -400;
  }
}

.preloader-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.4rem;
  letter-spacing: 0.5em;
  color: #ffffff;
  margin-left: 0.5em; /* Offset letter-spacing */
  margin-bottom: 30px;
}

.preloader-bar-container {
  width: 220px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}

.preloader-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
  transition: width 0.1s ease;
}

.preloader-status {
  font-size: 0.75rem;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
}

/* Navbar */
.navbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 6%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-svg {
  width: 32px;
  height: 32px;
}

.nav-logo span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.25em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 35px;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a.nav-cta-btn {
  background: #ffffff;
  color: #000000;
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 500;
}

.nav-links a.nav-cta-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.25);
}

/* Scroll Track for Pinned Hero */
#hero-scroll-track {
  height: 1000vh;
  position: relative;
  background-color: #000;
}

/* Hero Section (Pinned Container) */
.hero-pinned {
  width: 100vw;
  height: 100vh;
  position: sticky;
  top: 0;
  overflow: hidden;
  z-index: 10;
  background-color: #000000;
}

.video-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  transform: translateZ(0);
  will-change: transform;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: translateZ(0);
  will-change: transform;
}

.video-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.85) 90%),
              linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 30%);
  z-index: 2;
  pointer-events: none;
}

.hero-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  pointer-events: none; /* Make overlay non-blocking */
}

/* Make interactive components inside overlay clickable again */
.navbar, .scroll-prompt {
  pointer-events: auto;
}

.hero-main-content {
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
  margin-top: 50px;
}

.hero-logo-reveal {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  opacity: 0.9;
}

.hero-center-logo {
  width: 100%;
  height: 100%;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  line-height: 1.1;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #ffffff 60%, rgba(255,255,255,0.4) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  letter-spacing: 0.15em;
  font-weight: 300;
}

/* Floating Bottom Scroll Prompt */
.scroll-prompt {
  position: absolute;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.scroll-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.scroll-prompt:hover .scroll-text {
  color: #ffffff;
}

.scroll-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: float 2.2s cubic-bezier(0.445, 0.05, 0.55, 0.95) infinite;
}

@keyframes float {
  0% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(8px); opacity: 1; }
  100% { transform: translateY(0); opacity: 0.4; }
}

/* Post-Hero Main Container */
#content-container {
  position: relative;
  z-index: 15;
  background-color: var(--bg-primary);
  width: 100%;
}

/* Global Content Sections styling */
.content-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.dark-bg {
  background-color: var(--bg-primary);
}

.border-top {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4%;
  position: relative;
  z-index: 2;
}

.text-center {
  text-align: center;
}

/* Elements */
.reveal-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  color: var(--accent-blue);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 25px;
}

.section-title.large-text {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: linear-gradient(180deg, #ffffff 60%, rgba(255, 255, 255, 0.2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  font-weight: 300;
}

.max-width-600 {
  max-width: 650px;
  margin: 0 auto;
}

/* Grid layout for cards */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 60px;
}

/* Spec Card Styles */
.spec-card {
  position: relative;
  border-radius: 24px;
  padding: 40px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  overflow: hidden;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.spec-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.03), transparent 60%),
              radial-gradient(circle at bottom right, rgba(0, 242, 254, 0.015), transparent 70%);
  z-index: 1;
  transition: var(--transition-smooth);
}

.spec-card-content {
  position: relative;
  z-index: 2;
}

.spec-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  margin-bottom: 25px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-fast);
}

.spec-value {
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #ffffff 40%, rgba(255,255,255,0.3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.spec-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-blue);
  margin-bottom: 15px;
}

.spec-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  font-weight: 300;
}

/* Card Hover States */
.spec-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-card-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 
              0 0 40px rgba(0, 242, 254, 0.03);
}

.spec-card:hover .spec-card-bg {
  background: radial-gradient(circle at top left, rgba(255,255,255,0.06), transparent 60%),
              radial-gradient(circle at bottom right, rgba(0, 242, 254, 0.06), transparent 70%);
}

.spec-card:hover .spec-icon {
  background: rgba(0, 242, 254, 0.1);
  border-color: rgba(0, 242, 254, 0.3);
  color: #ffffff;
}

/* Section 3: Showcase Row */
.showcase-row {
  display: flex;
  align-items: center;
  gap: 80px;
}

.showcase-text {
  flex: 1;
}

.showcase-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 20px;
}

.showcase-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 30px;
}

.showcase-features {
  list-style: none;
}

.showcase-features li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 18px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.showcase-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-blue);
  box-shadow: 0 0 10px var(--accent-blue);
}

.showcase-features li strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 4px;
}

.showcase-visual {
  flex: 1.2;
}

/* Sci-fi Wireframe Element */
.sci-fi-wireframe {
  position: relative;
  background-color: rgba(10, 10, 12, 0.9);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px;
  overflow: hidden;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.8);
}

.wireframe-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Active flowing path animations */
.flow-line-1 {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: mesh-flow 8s linear infinite;
}

.flow-line-2 {
  stroke-dasharray: 12 12;
  animation: mesh-flow 16s linear infinite;
}

.flow-line-3 {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: mesh-flow 12s linear infinite reverse;
}

@keyframes mesh-flow {
  to {
    stroke-dashoffset: 0;
  }
}

.wireframe-glow-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 50% 50%, rgba(138, 43, 226, 0.08), transparent 70%);
  pointer-events: none;
  z-index: 3;
}

/* Section 4: Specifications Accordion */
.spec-accordion-container {
  max-width: 800px;
  margin: 50px auto 0;
}

.accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 10px;
}

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 10px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.accordion-header:hover {
  color: var(--accent-blue);
}

.accordion-icon {
  font-size: 1.4rem;
  color: var(--text-secondary);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
  color: var(--accent-blue);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 10px 10px 30px;
}

.spec-detail-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.spec-detail-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

.spec-detail-val {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 400;
}

/* Section 5: Call to Action with glowing effects */
.cta-section-bg {
  background-color: #040406;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 150px 0;
}

.cta-glowing-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.15) 0%, rgba(0, 242, 254, 0.05) 50%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
}

.relative-content {
  z-index: 2;
}

.cta-box {
  max-width: 750px;
  margin: 0 auto;
}

.glow-text {
  text-shadow: 0 0 20px rgba(0, 242, 254, 0.5);
}

.cta-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 25px;
  background: linear-gradient(to right, #ffffff, #d3d3d8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-desc {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.primary-btn {
  background: #ffffff;
  color: #000000;
  border: none;
  padding: 16px 40px;
  border-radius: 40px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.primary-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
}

.glow-button:hover {
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.4);
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 16px 40px;
  border-radius: 40px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.cta-footnote {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
}

/* Footer Section */
.footer {
  background-color: var(--bg-primary);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-column h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-primary);
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-column p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-secondary);
  font-weight: 300;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
  font-weight: 300;
}

.footer-column ul li a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px 25px;
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.footer-legal span {
  margin-right: 10px;
}

.footer-legal a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--text-primary);
}

.footer-country {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Animations Trigger Classes (Controlled by GSAP/Intersection Observer) */
.reveal-text, .reveal-eyebrow, .reveal-fade, .reveal-left, .reveal-right, .reveal-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
  transform: translateX(-50px);
}

.reveal-right {
  transform: translateX(50px);
}

.reveal-card {
  transform: translateY(50px);
}

/* Active reveal states (if scripts fallback or trigger directly) */
.is-visible {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
  .showcase-row {
    flex-direction: column;
    gap: 40px;
  }
  
  .showcase-visual {
    width: 100%;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 20px 5%;
  }
  
  .nav-links {
    display: none; /* Hide for simplicity on mobile, can add simple menu if needed */
  }
  
  .hero-title {
    font-size: 2.2rem;
    letter-spacing: 0.15em;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
  }
  
  .section-title.large-text {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .grid-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .spec-card {
    padding: 30px 20px;
  }
  
  .accordion-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .cta-title {
    font-size: 2.25rem;
  }
  
  .cta-actions {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  
  .primary-btn, .secondary-btn {
    width: 100%;
    max-width: 300px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* =========================================================================
   Portfolio Narrative Overlay styles
   ========================================================================= */
.portfolio-overlay-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.overlay-slot {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: flex-start;
  will-change: opacity, transform;
}

.overlay-slot.active {
  pointer-events: auto;
}

.overlay-card {
  position: absolute;
  top: 8vh;
  /* Ensure it never crosses below 35vh */
  max-height: 24vh;
  width: 44%;
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-left: 3px solid var(--accent-blue);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.overlay-card.align-left {
  left: 6%;
  right: auto;
  text-align: left;
}

.overlay-card.align-right {
  right: 6%;
  left: auto;
  text-align: right;
  border-left: none;
  border-right: 3px solid var(--accent-blue);
}

.overlay-card.align-center {
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 80%;
  border-left: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  backdrop-filter: none;
  box-shadow: none;
}

/* Typography in Overlay */
.overlay-eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--accent-blue);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.overlay-title {
  font-family: var(--font-display);
  font-size: 2.0rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 8px;
  color: #ffffff;
}

.overlay-title.intro-title {
  font-size: 3.8rem;
  letter-spacing: 0.15em;
  background: linear-gradient(135deg, #ffffff 60%, rgba(255,255,255,0.4) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.overlay-title.credential-text {
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.overlay-desc {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 12px;
  max-width: 90%;
}

.overlay-card.align-center .overlay-desc {
  margin: 0 auto;
  max-width: 600px;
}

.overlay-desc.intro-sub {
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

.overlay-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.overlay-card.align-right .overlay-tags {
  justify-content: flex-end;
}

.overlay-card.align-center .overlay-tags {
  justify-content: center;
}

.overlay-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.overlay-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-blue);
  text-decoration: none;
  width: fit-content;
  transition: color 0.3s ease, transform 0.3s ease;
}

.overlay-card.align-right .overlay-link {
  align-self: flex-end;
}

.overlay-card.align-center .overlay-link {
  align-self: center;
}

.overlay-link:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.overlay-card.align-right .overlay-link:hover {
  transform: translateX(-3px);
}

/* Mobile responsive overlay */
@media (max-width: 768px) {
  .overlay-card {
    top: 6vh;
    max-height: 16vh;
    width: 88%;
    padding: calc(14px + env(safe-area-inset-top, 0px)) calc(16px + env(safe-area-inset-left, 0px)) 14px calc(16px + env(safe-area-inset-right, 0px));
    border-radius: 12px;
  }
  
  .overlay-card.align-left,
  .overlay-card.align-right {
    left: 6%;
    right: 6%;
    text-align: left;
    border-left: 3px solid var(--accent-blue);
    border-right: none;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
  }

  .overlay-card.align-center {
    width: 88%;
    left: 50%;
    transform: translateX(-50%);
  }

  .overlay-card.align-right .overlay-tags {
    justify-content: flex-start;
  }

  .overlay-card.align-right .overlay-link {
    align-self: flex-start;
  }

  .overlay-card .overlay-title {
    font-size: 1.4rem !important;
  }

  .overlay-card .overlay-title.intro-title {
    font-size: 2.2rem !important;
    letter-spacing: 0.05em;
  }

  .overlay-card .overlay-title.credential-text {
    font-size: 1.5rem !important;
  }

  .overlay-card .overlay-desc {
    font-size: 0.8rem !important;
    line-height: 1.4;
    margin-bottom: 8px;
    max-width: 100%;
  }

  .overlay-card .overlay-desc.intro-sub {
    font-size: 0.9rem !important;
  }

  .overlay-card .overlay-tags {
    max-height: 2.2rem;
    overflow: hidden;
    gap: 6px;
    margin-bottom: 8px;
  }

  .overlay-card .overlay-tag {
    font-size: 0.65rem;
    padding: 2px 8px;
  }
  
  .overlay-card .overlay-link {
    font-size: 0.75rem;
  }
}


/* =========================================================================
   Ported Elements from Maurya's Original Portfolio
   ========================================================================= */

#embers-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

/* Base Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: var(--accent-blue);
    color: #000000;
    border: none;
}

.btn-primary:hover {
    background: #ffffff;
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-github {
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    transition: all 0.3s ease;
}

.btn-github:hover {
    background: var(--accent-blue);
    color: #000000;
    transform: translateY(-2px);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(0, 242, 254, 0.2);
}

.btn-github.private {
    opacity: 0.45;
    cursor: not-allowed;
}

.btn-github.private:hover {
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
    transform: none;
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.06);
}

/* 3D Card Shine glare effect */
.card-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    background: radial-gradient(circle 120px at var(--shine-x, 50%) var(--shine-y, 50%), rgba(255,255,255,0.08), transparent);
    border-radius: inherit;
}

/* Featured Systems List */
.featured-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.featured-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transition: transform 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
    overflow: hidden;
    position: relative;
}

.featured-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-card-hover);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.featured-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-badge {
    align-self: flex-start;
    padding: 0.35rem 0.9rem;
    border: 1px solid var(--accent-blue);
    border-radius: 20px;
    font-size: 0.725rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.featured-badge.badge-website { border-color: var(--accent-blue); color: var(--accent-blue); }
.featured-badge.badge-iot { border-color: #10b981; color: #10b981; }
.featured-badge.badge-hobby { border-color: #ff007f; color: #ff007f; }

.featured-title {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    color: #ffffff;
    font-weight: 700;
}

.featured-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 2.5rem;
}

.featured-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.featured-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-arch {
    width: 100%;
    background: rgba(10, 10, 12, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 24px;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.4);
}

.arch-header {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: #ffffff;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    letter-spacing: 0.03em;
    opacity: 0.9;
}

.arch-code {
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.55;
    overflow-x: auto;
    white-space: pre-wrap;
}

/* Project Archive Filters */
.project-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 0 auto 3.5rem auto;
    flex-wrap: wrap;
    padding: 6px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 40px;
    width: fit-content;
}

.filter-btn {
    background: transparent;
    border: 1px solid transparent;
    padding: 0.6rem 1.4rem;
    border-radius: 30px;
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.filter-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.03);
}

.filter-btn.active {
    background: #111115;
    border-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.count-badge {
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.06);
    padding: 0.1rem 0.5rem;
    border-radius: 10px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.filter-btn.active .count-badge {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.category-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.indicator-web { background-color: var(--accent-blue); }
.indicator-iot { background-color: #10b981; }
.indicator-hobby { background-color: #ff007f; }

/* Archive Project Grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
    gap: 30px;
}

.project-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--border-card);
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.project-card.category-website { --card-accent: var(--accent-blue); }
.project-card.category-iot { --card-accent: #10b981; }
.project-card.category-hobby { --card-accent: #ff007f; }

.project-card:hover {
    border-color: var(--card-accent);
    transform: translateY(-6px);
}

.project-card.category-website:hover { box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 242, 254, 0.15); }
.project-card.category-iot:hover { box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(16, 185, 129, 0.15); }
.project-card.category-hobby:hover { box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 0, 127, 0.15); }

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.card-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--card-accent);
    font-weight: 600;
    opacity: 0.8;
}

.card-category-indicator {
    color: var(--card-accent);
    opacity: 0.7;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
}

.project-card:hover .card-category-indicator {
    background: rgba(255, 255, 255, 0.06);
    transform: scale(1.05);
    border-color: var(--card-accent);
    opacity: 1;
}

.category-icon {
    width: 15px;
    height: 15px;
    stroke-width: 2px;
}

.project-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: #ffffff;
    letter-spacing: -0.018em;
    font-weight: 600;
}

.card-bar {
    height: 1px;
    width: 2rem;
    background: var(--card-accent);
    margin-bottom: 1.25rem;
    opacity: 0.3;
    transition: width 0.3s ease, opacity 0.3s ease;
}

.project-card:hover .card-bar {
    width: 3.5rem;
    opacity: 0.8;
}

.card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: auto;
    margin-bottom: 1.75rem;
}

.tech-tag {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    font-size: 0.725rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-secondary);
}

.project-card:hover .tech-tag {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
}

.project-links {
    margin-top: auto;
}

.fade-in-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-in-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Contact Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-intro-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 2.5rem;
}

.contact-cards-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.3s ease;
}

.contact-detail-card:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 242, 254, 0.05);
    transform: translateY(-2px);
}

.contact-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.contact-detail-card:hover .contact-card-icon {
    background: #ffffff;
    color: #000000;
    border-color: transparent;
    transform: scale(1.05);
}

.contact-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-card-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-card-value {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 500;
}

.contact-form-panel {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-card);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px 16px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
}

.form-submit-btn:hover {
    background: var(--accent-blue);
    color: #000000;
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.4);
    transform: translateY(-2px);
}

/* Form Feedback toast */
.form-feedback-message {
    transition: all 0.4s ease;
}

.feedback-card {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 16px 20px;
    border-radius: 10px;
    display: flex;
    gap: 14px;
    color: #ffffff;
}

.success-icon {
    color: #10b981;
    flex-shrink: 0;
    margin-top: 2px;
}

.feedback-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.feedback-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.feedback-card a {
    color: var(--accent-blue);
    text-decoration: none;
}

.feedback-card a:hover {
    text-decoration: underline;
}

/* Responsiveness for merged items */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-form-panel {
        padding: 25px 20px;
    }
    
    .featured-card {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }
}

/* =========================================================================
   2-Tier Overlay & Converging Intro styles
   ========================================================================= */

.telemetry-readout {
    position: absolute;
    top: 25px;
    right: 6%;
    z-index: 1001;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: #ffffff;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    letter-spacing: 0.05em;
}

.intro-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
}

.intro-headlines {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    margin-bottom: 20px;
    overflow: visible;
}

.intro-word {
    display: inline-block;
    white-space: nowrap;
    will-change: transform;
}

.intro-word.w1 {
    transform: translateX(var(--w1-x, -50vw));
}

.intro-word.w2 {
    transform: translateX(var(--w2-x, 50vw));
}

.letter {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 4.5rem;
    letter-spacing: 0.05em;
    color: #ffffff;
    filter: blur(var(--char-blur, 20px));
    will-change: filter;
}

.intro-sub-typed {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.15rem;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    margin-top: 10px;
    text-align: center;
    min-height: 1.8rem;
}

.tier2-montage-container {
    position: absolute;
    top: 12vh;
    right: 6%;
    z-index: 6;
    width: 320px;
    padding: 16px 20px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 70%, transparent 100%);
    border-right: 3px solid var(--accent-blue);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    border-radius: 12px 0 0 12px;
    transition: opacity 0.4s ease;
}

.montage-header {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 8px;
}

.montage-scroll-window {
    height: 60px;
    overflow: hidden;
    position: relative;
}

.montage-log-list {
    display: flex;
    flex-direction: column;
    will-change: transform;
}

.montage-item {
    height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: opacity 0.3s ease, filter 0.3s ease;
    opacity: 0.15;
    filter: blur(1px);
}

.montage-item.active {
    opacity: 1;
    filter: none;
}

.montage-item a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: center;
    pointer-events: auto;
}

.montage-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 500;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.montage-title .arrow {
    font-size: 0.75rem;
    color: var(--accent-blue);
    transition: transform 0.2s ease;
}

.montage-item a:hover .arrow {
    transform: translate(2px, -2px);
}

.montage-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

@media (max-width: 768px) {
    .letter {
        font-size: 2.5rem;
    }
    .intro-sub-typed {
        font-size: 0.9rem;
    }
    .telemetry-readout {
        top: 15px;
        right: 5%;
        font-size: 0.65rem;
    }
    .tier2-montage-container {
        top: 8vh;
        right: 6%;
        left: 6%;
        width: 88%;
        border-right: none;
        border-left: 3px solid var(--accent-blue);
        border-radius: 0 12px 12px 0;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
    }
}
