@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Cormorant+Garamond:wght@500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  /* DARK THEME TOKENS (DEFAULT) */
  --bg-dark: #080b11;
  --bg-card: rgba(13, 17, 28, 0.65);
  --bg-card-hover: rgba(20, 27, 45, 0.85);
  --primary: #ff4b4b;
  --primary-rgb: 255, 75, 75;
  --secondary: #fbbf24;
  --secondary-rgb: 251, 191, 36;
  --accent: #6366f1;
  --border-color: rgba(255, 75, 75, 0.15);
  --border-light: rgba(255, 255, 255, 0.08);
  
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  
  --glow-primary: 0 0 25px rgba(255, 75, 75, 0.35);
  --glow-secondary: 0 0 20px rgba(251, 191, 36, 0.25);
  
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

/* LIGHT THEME TOKENS (SCREENSHOT INSPIRED) */
body.light-theme {
  --bg-dark: #fcfbf8;
  --bg-card: rgba(247, 245, 240, 0.75);
  --bg-card-hover: rgba(238, 235, 225, 0.95);
  --primary: #e05300;
  --primary-rgb: 224, 83, 0;
  --secondary: #d97706;
  --secondary-rgb: 217, 119, 6;
  --accent: #4f46e5;
  --border-color: rgba(224, 83, 0, 0.15);
  --border-light: rgba(15, 23, 42, 0.08);
  
  --text-primary: #0f172a; /* Slate 900 */
  --text-secondary: #334155; /* Slate 700 */
  --text-muted: #64748b; /* Slate 500 */
  
  --glow-primary: 0 10px 25px rgba(224, 83, 0, 0.12);
  --glow-secondary: 0 10px 20px rgba(217, 119, 6, 0.1);
  
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--bg-dark);
}

body {
  background-color: var(--bg-dark);
  background-image:
    radial-gradient(circle at top right, rgba(var(--primary-rgb), 0.06), transparent 28%),
    linear-gradient(180deg, var(--bg-dark) 0%, rgba(var(--primary-rgb), 0.025) 100%);
  color: var(--text-secondary);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
  transition: background 0.3s, color 0.3s;
  min-height: 100vh;
}

/* High-Tech Grid Background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(15, 23, 42, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.025) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
  transition: background 0.3s;
}

body.light-theme::before {
  background-image: 
    linear-gradient(rgba(15, 23, 42, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.018) 1px, transparent 1px);
}

/* Subtle Noise Texture Overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: overlay;
  opacity: 0.7;
}

/* Ambient Cursor Follower Glow */
#cur {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: transform 0.1s;
  box-shadow: 0 0 10px var(--primary);
}

#cur2 {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(var(--primary-rgb), 0.35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: left 0.12s cubic-bezier(0.25, 1, 0.5, 1), top 0.12s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: inset 0 0 8px rgba(var(--primary-rgb), 0.05);
}

/* Scrollbar Styles */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(var(--primary-rgb), 0.4);
  border-radius: 4px;
  border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* PRELOADER SHIELD */
#preloader {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(var(--primary-rgb), 0.08), transparent 45%),
    var(--bg-dark);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

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

.preloader-ring {
  position: relative;
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 22px rgba(var(--primary-rgb), 0.2));
}

.preloader-ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: preloaderOrbit 2.2s linear infinite;
  overflow: visible;
}

.preloader-ring .ring-track {
  fill: none;
  stroke: rgba(var(--primary-rgb), 0.24);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 18 8;
}

.preloader-ring .ring-link {
  fill: none;
  stroke: rgba(var(--secondary-rgb), 0.4);
  stroke-width: 1.5;
  stroke-dasharray: 3 6;
}

.preloader-ring .ring-node {
  fill: var(--primary);
  opacity: 0.95;
}

.preloader-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  animation: pulseLogo 1.8s ease-in-out infinite alternate;
}

.preloader-copy {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: center;
}

.preloader-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--primary);
}

.preloader-label {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text-primary);
  letter-spacing: 0.04em;
}

@keyframes preloaderOrbit {
  to { transform: rotate(360deg); }
}

@keyframes pulseLogo {
  0% { transform: scale(0.95); opacity: 0.8; filter: drop-shadow(0 0 5px rgba(var(--primary-rgb), 0.2)); }
  100% { transform: scale(1.05); opacity: 1; filter: drop-shadow(0 0 20px rgba(var(--primary-rgb), 0.6)); }
}

/* HEADER & NAVBAR */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 5%;
  background: rgba(8, 11, 17, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: padding 0.3s, background 0.3s, border-color 0.3s;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

body.light-theme nav {
  background: rgba(251, 250, 247, 0.75);
}

nav.scrolled {
  padding: 0.8rem 5%;
  background: rgba(251, 250, 247, 0.9);
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.12);
  box-shadow: 0 10px 30px -18px rgba(15, 23, 42, 0.28);
}

body.light-theme nav.scrolled {
  background: rgba(251, 250, 247, 0.92);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
}

body:not(.light-theme) nav.scrolled {
  background: rgba(8, 11, 17, 0.92);
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.2);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 12px;
}

.brand-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px var(--primary));
  transition: transform 0.5s ease;
}

.brand:hover .brand-logo {
  transform: rotate(360deg);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  line-height: 0.9;
  text-transform: uppercase;
}

.brand-name span {
  color: var(--primary);
  text-shadow: 0 0 10px rgba(var(--primary-rgb), 0.3);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
  padding: 0.4rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
  box-shadow: 0 0 8px var(--primary);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-links a.active::after {
  width: 100%;
}

/* THEME TOGGLE BUTTON */
.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--border-light);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  user-select: none;
}

body.light-theme .theme-toggle-btn {
  background: rgba(255, 255, 255, 0.7);
}

.theme-toggle-btn:hover {
  transform: scale(1.1);
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(var(--primary-rgb), 0.2);
}

.theme-toggle-btn span {
  position: absolute;
  font-size: 1.1rem;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s;
}

/* Toggle transitions: Sun for dark theme, Moon for light theme */
.theme-toggle-btn .icon-sun {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

.theme-toggle-btn .icon-moon {
  opacity: 0;
  transform: translateY(20px) rotate(90deg);
}

body.light-theme .theme-toggle-btn .icon-sun {
  opacity: 0;
  transform: translateY(-20px) rotate(-90deg);
}

body.light-theme .theme-toggle-btn .icon-moon {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 0.38rem;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: block;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* MOBILE NAV */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: rgba(6, 8, 20, 0.95);
  backdrop-filter: blur(20px);
  border-left: 1px solid var(--border-light);
  z-index: 999;
  padding: 100px 2rem 2rem;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

body.light-theme .mobile-menu {
  background: rgba(251, 250, 247, 0.96);
}

.mobile-menu.active {
  right: 0;
}

.mobile-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav li {
  width: 100%;
}

.mobile-nav a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.mobile-nav a:hover {
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  border-color: rgba(var(--primary-rgb), 0.2);
  padding-left: 1.5rem;
}

/* HERO SECTION */
#hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 5% 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  z-index: 1;
}

/* Dynamic Radial Halos */
.sun {
  position: absolute;
  top: 25%;
  right: 15%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.07) 0%, rgba(99, 102, 241, 0.04) 45%, transparent 72%);
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
  animation: floatHalo 12s ease-in-out infinite alternate;
}

body.light-theme .sun {
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.08) 0%, rgba(99, 102, 241, 0.05) 50%, transparent 70%);
}

@keyframes floatHalo {
  0% { transform: translateY(0px) scale(1); }
  100% { transform: translateY(-40px) scale(1.15); }
}

.hero-left {
  flex: 1;
  max-width: 650px;
}

.hero-issue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--secondary);
  padding: 0.4rem 1rem;
  background: rgba(var(--secondary-rgb), 0.06);
  border: 1px solid rgba(var(--secondary-rgb), 0.15);
  border-radius: 999px;
  margin-bottom: 2rem;
}

.hero-issue::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary);
  animation: pulse 1.5s infinite;
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 6.6vw, 6rem);
  font-weight: 700;
  line-height: 0.95;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-h1 span {
  display: block;
  background: linear-gradient(135deg, var(--primary) 20%, #c66b21 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 12px rgba(var(--primary-rgb), 0.15));
}

.hero-h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--text-primary);
}

.hero-rule {
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  margin: 1.8rem 0;
}

.hero-desc {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 58ch;
}

.hero-desc strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero-btns {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.btn-main, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-main {
  background: linear-gradient(135deg, var(--primary), #bf4d00);
  color: #fff;
  border: 1px solid rgba(var(--primary-rgb), 0.4);
  box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.3);
}

.btn-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.5);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.55);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
}

body.light-theme .btn-ghost {
  background: rgba(255, 255, 255, 0.62);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}

body.light-theme .btn-ghost:hover {
  background: rgba(15, 23, 42, 0.04);
}

/* HERO RIGHT: TERMINAL WIDGET */
.hero-right {
  flex: 0.9;
  max-width: 560px;
  width: 100%;
}

.hero-brief {
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 2rem;
}

body:not(.light-theme) .hero-brief {
  background: rgba(13, 17, 28, 0.82);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

body:not(.light-theme) .btn-ghost {
  background: rgba(255, 255, 255, 0.03);
}

body:not(.light-theme) .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
}

.hero-brief:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--primary-rgb), 0.22);
  box-shadow: 0 28px 80px rgba(var(--primary-rgb), 0.08);
}

.hero-brief-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.hero-brief-kicker {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--primary);
}

.hero-brief-year {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-brief-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}

.hero-brief-copy {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 46ch;
  margin-bottom: 1.5rem;
}

.hero-brief-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin-bottom: 1.2rem;
}

.hero-brief-stat {
  background: rgba(var(--primary-rgb), 0.05);
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  border-radius: 16px;
  padding: 1rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  align-items: flex-start;
}

.hero-brief-stat span {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1;
  color: var(--primary);
}

.hero-brief-stat small {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.hero-brief-foot {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

/* MARQUEE RUNNING STRIP */
.mstrip {
  overflow: hidden;
  background: rgba(var(--primary-rgb), 0.035);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 0.8rem 0;
  position: relative;
  z-index: 2;
  box-shadow: inset 0 0 10px rgba(var(--primary-rgb), 0.05);
}

.mtrack {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
}

.mtrack span {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-primary);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mtrack span::after {
  content: '✦';
  color: var(--primary);
  text-shadow: 0 0 8px var(--primary);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* GENERAL SECTION STYLING */
section {
  position: relative;
  padding: 100px 0;
  z-index: 2;
}

.wrap {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}

.sec-label::before {
  content: '';
  width: 15px;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}

.sec-h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 700;
  line-height: 0.98;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.sec-h2 em {
  font-style: italic;
  font-weight: 400;
  color: transparent;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sec-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 64ch;
  line-height: 1.7;
}

/* REVEAL ANIMATIONS */
.rv {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.rv.on {
  opacity: 1;
  transform: translateY(0);
}

/* ABOUT SECTION */
#about {
  background: rgba(255, 255, 255, 0.42);
}

body.light-theme #about {
  background: rgba(251, 250, 247, 0.48);
}

body:not(.light-theme) #about {
  background: rgba(6, 8, 20, 0.4);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-top: 4rem;
}

/* Campus Image Frame (Modern Glassmorphic Visual) */
.about-visual {
  position: relative;
}

.image-frame {
  position: relative;
  border-radius: 22px;
  padding: 8px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.25), rgba(255,255,255,0.03));
  border: 1px solid var(--border-light);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  transition: transform 0.3s;
}

body.light-theme .image-frame {
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.1);
}

.image-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 10%, rgba(var(--primary-rgb), 0.15), transparent 60%);
  pointer-events: none;
}

.image-frame img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 10px;
  filter: saturate(0.85) contrast(1.05) brightness(0.9);
  transition: filter 0.4s ease, transform 0.4s ease;
}

.image-frame:hover img {
  filter: saturate(1.1) contrast(1.1) brightness(1);
  transform: scale(1.02);
}

.image-label {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid var(--border-light);
  padding: 1rem 1.4rem;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: background 0.3s, border-color 0.3s;
}

body.light-theme .image-label {
  background: rgba(251, 250, 247, 0.88);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.image-label .title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  text-transform: uppercase;
}

.image-label .sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--primary);
  margin-top: 2px;
}

/* About Left Text Column */
.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-big-text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-primary);
  border-left: 4px solid var(--primary);
  padding-left: 1.8rem;
  margin-bottom: 2rem;
  letter-spacing: 0.01em;
}

.about-big-text em {
  color: var(--primary);
  font-style: normal;
  text-shadow: 0 0 12px rgba(var(--primary-rgb), 0.2);
}

.about-body {
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

/* Pillars grid */
.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.pillar {
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: 18px;
  padding: 1.5rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.pillar:hover {
  background: var(--bg-card-hover);
  border-color: rgba(var(--primary-rgb), 0.3);
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(var(--primary-rgb), 0.08);
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.pillar-desc {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* METRICS / IMPACT STATS */
#metrics {
  padding: 80px 0;
  background:
    radial-gradient(circle at top, rgba(var(--primary-rgb), 0.05), transparent 42%),
    rgba(255, 255, 255, 0.01);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  z-index: 2;
}

body.light-theme #metrics {
  background: rgba(15, 23, 42, 0.005);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  text-align: center;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2rem 1.35rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--primary-rgb), 0.3);
  box-shadow: 0 20px 45px rgba(var(--primary-rgb), 0.12);
}

.metric-val {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4.8vw, 4.2rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  text-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.1);
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
}

.metric-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  max-width: 200px;
  line-height: 1.4;
}

/* TEAM SECTION */
#team {
  background: rgba(251, 250, 247, 0.55);
}

body:not(.light-theme) #team {
  background: var(--bg-dark);
}

.ttl {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 4rem 0 3rem;
}

.ttl-ln {
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, rgba(var(--primary-rgb), 0.3) 0%, transparent 100%);
}
.ttl:nth-child(even) .ttl-ln {
  background: linear-gradient(-90deg, rgba(var(--primary-rgb), 0.3) 0%, transparent 100%);
}

.ttl-tx {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--secondary);
  text-transform: uppercase;
  padding: 0.4rem 1.4rem;
  background: rgba(var(--secondary-rgb), 0.05);
  border: 1px solid rgba(var(--secondary-rgb), 0.2);
  border-radius: 999px;
}

/* Modern Team Grids */
.frow, .hrow {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.m3g {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.m2g {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}

/* Individual Team Card styling */
.mc {
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: 20px;
  padding: 1.8rem 1.2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.frow .mc { width: 260px; }
.hrow .mc { width: 230px; }

.mc:hover {
  background: var(--bg-card-hover);
  border-color: rgba(var(--primary-rgb), 0.4);
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(var(--primary-rgb), 0.08);
}

.mcf {
  position: relative;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.3), rgba(255,255,255,0.02));
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mcf.gt {
  background: linear-gradient(135deg, rgba(var(--secondary-rgb), 0.4), rgba(255,255,255,0.02));
}

.mci {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background: rgba(15, 23, 42, 0.05);
}

.mci img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.mc:hover .mci img {
  transform: scale(1.08);
}

/* Beautiful Glowing Vector Placeholder SVG */
.ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.12) 0%, rgba(247, 245, 238, 0.92) 90%);
  color: rgba(var(--primary-rgb), 0.8);
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  position: relative;
}

body.light-theme .ph {
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, rgba(247, 245, 238, 0.9) 90%);
}

.mc:hover .ph {
  color: var(--primary);
  text-shadow: 0 0 10px var(--primary);
}

/* Interactive Social drawer inside team card */
.social-drawer {
  position: absolute;
  bottom: -40px;
  left: 0;
  right: 0;
  height: 40px;
  background: rgba(8, 11, 20, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  border-top: 1px solid var(--border-light);
  transition: bottom 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
}

body.light-theme .social-drawer {
  background: rgba(247, 245, 238, 0.95);
}

.mc:hover .social-drawer {
  bottom: 0;
  opacity: 1;
}

.social-drawer a {
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-family: var(--font-mono);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}

.social-drawer a:hover {
  color: var(--primary);
  transform: scale(1.1);
}

.mcb {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--primary);
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  margin-top: 0.5rem;
  box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.3);
}

.mcb.gold {
  background: var(--secondary);
  color: var(--bg-dark);
  box-shadow: 0 2px 8px rgba(var(--secondary-rgb), 0.3);
}

.mc-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 0.8rem;
}

.mc-role {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--primary);
  margin-top: 0.3rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mc-dept {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* EVENTS SECTION */
#events {
  background: rgba(251, 250, 247, 0.4);
}

body.light-theme #events {
  background: rgba(251, 250, 247, 0.4);
}

body:not(.light-theme) #events {
  background: rgba(6, 8, 20, 0.4);
}

.etabs {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 3rem 0;
}

.etab {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.8rem 2rem;
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1.5px solid var(--border-light);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.etab:hover {
  border-color: rgba(var(--primary-rgb), 0.3);
  color: var(--text-primary);
}

.etab.on {
  background: rgba(var(--primary-rgb), 0.08);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 12px 25px rgba(var(--primary-rgb), 0.08);
}

.epane {
  display: none;
}
.epane.on {
  display: block;
}

/* Featured Event Layout */
.efeat {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 3rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.efeat:hover {
  border-color: rgba(var(--primary-rgb), 0.3);
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.08);
}

body.light-theme .efeat:hover {
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.06);
}

.efl {
  padding: 3.5rem;
  border-right: 1.5px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.efr {
  padding: 3.5rem;
  background: rgba(255,255,255,0.01);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.evtag {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 0.3rem 0.8rem;
  background: rgba(var(--primary-rgb), 0.08);
  border: 1.5px solid rgba(var(--primary-rgb), 0.2);
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.evtag.gld {
  color: var(--secondary);
  background: rgba(var(--secondary-rgb), 0.08);
  border-color: rgba(var(--secondary-rgb), 0.2);
}

.eft {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 0.8rem;
}

.efd {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

.efdesc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.efn {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.efdl {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.efdv {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
}

.upill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  background: var(--primary);
  color: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
  margin-bottom: 1.5rem;
}

.upill::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 1.2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 10px #fff; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

/* Event cards grid */
.evgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.evc {
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: 18px;
  padding: 2.2rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.evc:hover {
  background: var(--bg-card-hover);
  border-color: rgba(var(--primary-rgb), 0.3);
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(var(--primary-rgb), 0.08);
}

.evct {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 1rem 0 0.4rem;
}

.evcd {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.evcdesc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.evcm {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

/* GALLERY SECTION */
#gallery {
  background: rgba(251, 250, 247, 0.55);
}

body:not(.light-theme) #gallery {
  background: var(--bg-dark);
}

.gfilt {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.gfb {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1.4rem;
  background: transparent;
  color: var(--text-secondary);
  border: 1.5px solid var(--border-light);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.gfb.on, .gfb:hover {
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  border-color: var(--primary);
}

/* Masonry layout */
.glayout {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 140px;
  gap: 1.5rem;
}

.gi {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1.5px solid var(--border-light);
  cursor: pointer;
  background: #0d121f;
}

body.light-theme .gi {
  background: rgba(247, 245, 238, 0.8);
}

.gi-a { grid-column: span 6; grid-row: span 3; }
.gi-b { grid-column: span 6; grid-row: span 2; }
.gi-c { grid-column: span 4; grid-row: span 2; }
.gi-d { grid-column: span 4; grid-row: span 2; }
.gi-e { grid-column: span 4; grid-row: span 2; }
.gi-f { grid-column: span 6; grid-row: span 2; }
.gi-g { grid-column: span 6; grid-row: span 2; }

.gi img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.05);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s;
}

.gi:hover img {
  transform: scale(1.05);
  filter: saturate(1.1) contrast(1.1);
}

.gi-ph {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.88), var(--bg-dark));
  color: var(--text-muted);
  gap: 8px;
}

body.light-theme .gi-ph {
  background: radial-gradient(circle at center, rgba(247, 245, 238, 0.95), var(--bg-dark));
}

.gi-ph-i {
  font-size: 2.2rem;
  color: rgba(var(--primary-rgb), 0.3);
  transition: color 0.3s;
}

.gi-ph-l {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gi:hover .gi-ph-i {
  color: var(--primary);
}

.giov {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 11, 20, 0.95) 0%, rgba(8, 11, 20, 0.4) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

body.light-theme .giov {
  background: linear-gradient(to top, rgba(251, 250, 247, 0.98) 0%, rgba(251, 250, 247, 0.5) 50%, transparent 100%);
}

.gi:hover .giov {
  opacity: 1;
}

.gicap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  color: var(--text-normal);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
}

body.light-theme .gicap {
  color: var(--text-primary);
}

.gi:hover .gicap {
  transform: translateY(0);
  opacity: 1;
}

.gicap strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

body.light-theme .gicap strong {
  color: var(--text-primary);
}

.gicap span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gnote {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4rem;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px dashed var(--border-light);
  background: rgba(255, 255, 255, 0.01);
}

.gnote code {
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.08);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

/* CONTACT SECTION */
#contact {
  background: rgba(251, 250, 247, 0.72);
  overflow: hidden;
  padding-bottom: 120px;
}

body.light-theme #contact {
  background: rgba(251, 250, 247, 0.78);
}

body:not(.light-theme) #contact {
  background: rgba(6, 8, 20, 0.7);
}

.cglow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 450px;
  background: radial-gradient(ellipse, rgba(var(--primary-rgb), 0.08) 0%, rgba(99, 102, 241, 0.05) 50%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.cin {
  position: relative;
  z-index: 1;
}

.ch2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.ch2 em {
  font-style: normal;
  color: transparent;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.csub {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 4rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Contact Grid: Left details, Right form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
  text-align: left;
}

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

.cc {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: 18px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cc:hover {
  background: var(--bg-card-hover);
  border-color: rgba(var(--primary-rgb), 0.3);
  transform: translateX(5px);
  box-shadow: 0 18px 40px rgba(var(--primary-rgb), 0.08);
}

.cc-i {
  font-size: 1.8rem;
  background: rgba(var(--primary-rgb), 0.08);
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.cc-l {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cc-v {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 0.25rem;
}

/* Glassmorphic Contact Form */
.contact-form-container {
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: 20px;
  padding: 3rem;
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

body.light-theme .contact-form-container {
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.7);
  border: 1.5px solid var(--border-light);
  border-radius: 8px;
  padding: 0.85rem 1.2rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all 0.3s;
}

body.light-theme .form-control {
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-primary);
  border-color: rgba(15, 23, 42, 0.12);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.15);
}

body.light-theme .form-control:focus {
  background: #ffffff;
  box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.1);
}

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

.form-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), #bf4d00);
  color: #fff;
  border: none;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.25);
}

.form-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.45);
}

/* FOOTER */
footer {
  background: rgba(243, 241, 233, 0.95);
  border-top: 1.5px solid var(--border-light);
  padding: 3rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

body.light-theme footer {
  background: rgba(243, 241, 233, 0.95);
  border-top-color: var(--border-light);
}

body:not(.light-theme) footer {
  background: #04060b;
}

.fb {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.fb span {
  color: var(--primary);
}

.fc {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}

.fl {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.fl a {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.fl a:hover {
  color: var(--primary);
}

/* LIGHTBOX MODAL */
#lb {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 11, 0.98);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

body.light-theme #lb {
  background: rgba(251, 250, 247, 0.98);
}

#lb.open {
  display: flex;
  opacity: 1;
}

#lb-img {
  max-width: 85vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  border: 2px solid var(--border-light);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

body.light-theme #lb-img {
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.12);
}

#lb.open #lb-img {
  transform: scale(1);
}

#lbx {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid var(--border-light);
  border-radius: 6px;
  padding: 0.6rem 1.4rem;
  cursor: pointer;
  transition: all 0.2s;
}

body.light-theme #lbx {
  background: rgba(15, 23, 42, 0.03);
}

#lbx:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.05);
  box-shadow: 0 16px 36px rgba(var(--primary-rgb), 0.08);
}

/* SCROLL TO TOP BUTTON */
.scroll-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: 999px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

body.light-theme .scroll-top-btn {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

body:not(.light-theme) .scroll-top-btn {
  background: rgba(13, 17, 28, 0.82);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(var(--primary-rgb), 0.14);
}

.scroll-top-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s;
}

.scroll-top-btn:hover svg {
  transform: translateY(-2px);
}

/* MEDIA QUERIES (RESPONSIVELAYOUTS) */
@media (max-width: 1024px) {
  #hero {
    flex-direction: column;
    text-align: center;
    padding-top: 140px;
    gap: 3rem;
  }
  .hero-left {
    max-width: 100%;
  }
  .hero-rule {
    margin: 1.8rem auto;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-right {
    max-width: 600px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .m3g {
    grid-template-columns: repeat(2, 1fr);
  }
  .m2g {
    grid-template-columns: repeat(3, 1fr);
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 1rem 5%;
  }
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .glayout {
    grid-auto-rows: 120px;
    gap: 1rem;
  }
  .gi-a, .gi-b, .gi-c, .gi-d, .gi-e, .gi-f, .gi-g {
    grid-column: span 12;
    grid-row: span 2;
  }
  .efeat {
    grid-template-columns: 1fr;
  }
  .efl {
    border-right: none;
    border-bottom: 1.5px solid var(--border-light);
    padding: 2rem;
  }
  .efr {
    padding: 2rem;
  }
  .evgrid {
    grid-template-columns: 1fr;
  }
  footer {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 5%;
  }
  .fl {
    justify-content: center;
    flex-wrap: wrap;
  }
  .contact-form-container {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .m3g {
    grid-template-columns: 1fr;
  }
  .m2g {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-h1 {
    font-size: 2.5rem;
  }
  .btn-main, .btn-ghost {
    width: 100%;
  }
  .about-pillars {
    grid-template-columns: 1fr;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
