/* Center copyright/footer */
.footer-copy {
  text-align: center;
  width: 100%;
  margin: 0 auto;
}
#hero .hero-text-bg {
  background: rgba(10,10,10,0.60);
  border-radius: 18px;
  padding: 2.5rem 2.5rem 2.5rem 2.5rem;
  max-width: 600px;
  margin-bottom: 2rem;
  margin-top: 2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.45;
  pointer-events: none;
  z-index: 1;
}
.hero-bg {
  z-index: 0;
}
#hero .hero-text-bg, #hero .hero-label, #hero .hero-title, #hero .hero-sub, #hero .hero-actions {
  position: relative;
  z-index: 2;
}
:root {
  --black: #0a0a0a;
  --dark: #111111;
  --steel: #1c1c1c;
  --orange: #e85d04;
  --orange-dim: #c44f02;
  --amber: #f48c06;
  --white: #f0ede8;
  --gray: #888;
  --light-gray: #ccc;
  --border: rgba(255,255,255,0.07);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.5);
  --shadow-orange: 0 8px 24px rgba(232,93,4,0.15);
}

body[data-theme="light"] {
  --black: #f4efe7;
  --dark: #fffaf4;
  --steel: #eee5db;
  --orange: #d85a06;
  --orange-dim: #b84a03;
  --amber: #f08a12;
  --white: #1f1b17;
  --gray: #6f665f;
  --light-gray: #4c433c;
  --border: rgba(31,27,23,0.1);
  --shadow-sm: 0 2px 8px rgba(31,27,23,0.08);
  --shadow-md: 0 8px 24px rgba(31,27,23,0.12);
  --shadow-lg: 0 16px 40px rgba(31,27,23,0.14);
  --shadow-orange: 0 8px 24px rgba(216,90,6,0.14);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--black);
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4rem; height: 56px;
  background: rgba(10,6,2,0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.nav-logo img {
  height: 32px;
  vertical-align: middle;
  margin-right: 8px;
}
.theme-toggle {
  margin-left: auto;
  margin-right: 0.8rem;
  background: transparent;
  color: var(--white);
  border: 0;
  border-radius: 999px;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 24px;
}
.theme-toggle:hover {
  transform: translateY(-1px);
}
.theme-toggle:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}
.theme-toggle-track {
  position: relative;
  width: 40px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(232,93,4,0.28), rgba(244,140,6,0.22));
  border: 1px solid rgba(232,93,4,0.35);
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.18), 0 4px 10px rgba(0,0,0,0.18);
  transition: all 0.25s ease;
}
.theme-toggle-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.62rem;
  line-height: 1;
  color: rgba(255,255,255,0.72);
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
  transition: color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.theme-toggle-icon-moon { left: 5px; }
.theme-toggle-icon-sun { right: 4px; }
.theme-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff8ee, #f1e6d8);
  box-shadow: 0 2px 6px rgba(0,0,0,0.22);
  transition: transform 0.25s ease, background 0.25s ease;
}
.theme-toggle[aria-pressed="true"] .theme-toggle-track {
  background: linear-gradient(135deg, rgba(31,27,23,0.18), rgba(31,27,23,0.08));
  border-color: rgba(31,27,23,0.18);
}
.theme-toggle[aria-pressed="false"] .theme-toggle-icon-moon,
.theme-toggle[aria-pressed="true"] .theme-toggle-icon-sun {
  color: rgba(255,255,255,0.95);
  transform: translateY(-50%) scale(1.08);
}
.theme-toggle[aria-pressed="false"] .theme-toggle-icon-sun,
.theme-toggle[aria-pressed="true"] .theme-toggle-icon-moon {
  opacity: 0.38;
}
.theme-toggle[aria-pressed="true"] .theme-toggle-thumb {
  transform: translateX(16px);
  background: linear-gradient(135deg, #2d2721, #110f0d);
}
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  color: var(--white);
  text-decoration: none;
  line-height: 1;
  display: flex;
  align-items: center;
  transition: opacity 0.3s ease;
}
.nav-logo:hover { opacity: 0.8; }

.nav-logo img {
  height: 32px;
  width: 32px;
  object-fit: contain;
  margin-right: 10px;
  display: inline-block;
  vertical-align: middle;
  border-radius: 6px;
  background: rgba(232,93,4,0.1);
  box-shadow: 0 0 0 2px rgba(232,93,4,0.3);
  transition: all 0.3s ease;
}
.nav-logo:hover img { box-shadow: 0 0 0 2px rgba(232,93,4,0.6), 0 4px 12px rgba(232,93,4,0.2); }
.nav-logo span { color: var(--orange); }
.hamburger {
  display: none; background: none; border: none;
  color: var(--orange); font-size: 1.8rem; cursor: pointer;
  padding: 0.4rem 0.6rem; line-height: 1; transition: color 0.2s;
}
.hamburger:hover { color: var(--amber); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gray); text-decoration: none; transition: color 0.3s ease;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--orange);
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--orange); }
.nav-cta {
  background: linear-gradient(135deg, var(--orange), var(--amber)); 
  color: var(--black) !important;
  padding: 0.5rem 1.5rem !important; 
  font-weight: 600 !important;
  border-radius: 4px;
  transition: all 0.3s ease !important;
  box-shadow: var(--shadow-orange);
}
.nav-cta:hover { 
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(232,93,4,0.25) !important;
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 4rem 6rem;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('images/landing_page.jpg') center center/cover no-repeat;
  background-color: #0f0f0f;
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 4;
}
.sparks { position: absolute; inset: 0; pointer-events: none; }
.spark {
  position: absolute; width: 3px; height: 3px; border-radius: 50%;
  background: var(--orange); opacity: 0;
  animation: sparkFloat var(--dur, 4s) var(--delay, 0s) infinite ease-in-out;
}
@keyframes sparkFloat {
  0%   { opacity: 0; transform: translateY(0) scale(1); }
  20%  { opacity: 1; }
  80%  { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-120px) scale(0); }
}
.hero-label {
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.8rem;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--orange);
  margin-bottom: 1.2rem; position: relative; display: flex; align-items: center; gap: 1rem;
}
.hero-label::before { content: ''; display: block; width: 40px; height: 1px; background: var(--orange); }
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 9vw, 9rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  position: relative;
}
.hero-title em { font-style: normal; color: var(--orange); display: block; }
.hero-sub {
  margin-top: 2rem;
  max-width: 520px;
  color: var(--light-gray);
  font-size: 1rem;
  line-height: 1.7;
  position: relative;
}
.hero-actions { margin-top: 3rem; display: flex; gap: 1.2rem; align-items: center; position: relative; }
.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--amber)); 
  color: var(--black);
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.9rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase; padding: 1rem 2.8rem;
  text-decoration: none; display: inline-block;
  transition: all 0.3s ease;
  border: none;
  border-radius: 4px;
  box-shadow: var(--shadow-orange);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.btn-primary:hover { 
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(232,93,4,0.3);
}
.btn-ghost {
  border: 1.5px solid var(--orange); 
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; padding: 0.95rem 2.4rem;
  text-decoration: none; display: inline-block;
  transition: all 0.3s ease;
  border-radius: 4px;
  background: transparent;
  position: relative;
}
.btn-ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--orange);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.btn-ghost:hover { 
  color: var(--black);
  opacity: 1;
}
.btn-ghost:hover::before {
  opacity: 1;
}
.hero-carousel {
  position: absolute;
  inset: 0;
  background: #0f0f0f;
  overflow: hidden;
  z-index: 1;
}
.hero-carousel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.65));
  z-index: 3;
  pointer-events: none;
}
.carousel-track {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.carousel-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  max-width: 90%;
  max-height: 82%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.6s ease;
  display: block;
  z-index: 2;
}
.carousel-slide.is-active {
  opacity: 1;
  z-index: 2;
}
.carousel-slide:not(img[src$=".jpg"]):not(img[src$=".png"]) {
  background: linear-gradient(135deg, #1a1a1a, #222);
  object-fit: cover;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 20;
  transition: all 0.2s ease;
  display: grid;
  place-items: center;
}
.carousel-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(0,0,0,0.6);
}
.carousel-btn.prev { left: 1rem; }
.carousel-btn.next { right: 1rem; }
.carousel-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 20;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.5);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.carousel-dot.active {
  width: 24px;
  border-radius: 8px;
  background: var(--orange);
  border-color: var(--orange);
}

.carousel-swipe-hint {
  position: absolute;
  bottom: 3.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  z-index: 20;
  pointer-events: none;
  animation: fadeHint 3s ease 2s forwards;
}

@keyframes fadeHint {
  0%   { opacity: 1; }
  100% { opacity: 0; }
}

#hero .hero-text-bg,
#hero .hero-label,
#hero .hero-title,
#hero .hero-sub,
#hero .hero-actions,
.hero-stats {
  position: relative;
  z-index: 10;
}

#hero .hero-text-bg {
  background: rgba(10,10,10,0.65);
  border-radius: 18px;
  padding: 2.5rem;
  max-width: 600px;
  margin-bottom: 2rem;
  margin-top: 2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.hero-stats {
  display: flex; gap: 4rem; margin-top: 5rem;
  padding-top: 2.5rem; border-top: 1px solid var(--border); position: relative;
}
.stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 2.8rem; color: var(--orange); line-height: 1; }
.stat-label { font-family: 'Barlow Condensed', sans-serif; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray); margin-top: 0.3rem; }

/* ── SECTIONS COMMON ── */
section { padding: 7rem 4rem; }
.section-tag {
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.75rem;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--orange);
  margin-bottom: 1rem; display: flex; align-items: center; gap: 0.8rem;
}
.section-tag::before { content: ''; width: 28px; height: 1px; background: var(--orange); }
.section-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1; letter-spacing: 0.02em; margin-bottom: 1.5rem; }
.divider { width: 48px; height: 3px; background: var(--orange); margin-bottom: 2rem; }

/* ── ABOUT ── */
#about { background: var(--dark); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; max-width: 1200px; margin: 0 auto; }
.about-text p { color: var(--light-gray); margin-bottom: 1.4rem; font-size: 1rem; line-height: 1.8; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.value-card { 
  background: linear-gradient(135deg, rgba(232,93,4,0.02), rgba(232,93,4,0));
  padding: 2.2rem;
  transition: all 0.4s ease;
  border: 1px solid transparent;
}
.value-card:hover { 
  background: linear-gradient(135deg, rgba(232,93,4,0.08), rgba(232,93,4,0.02));
  border-color: var(--orange);
  transform: translateY(-4px);
}
.value-icon { font-size: 2rem; margin-bottom: 1rem; }
.value-icon img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  display: block;
}
.value-title { 
  font-family: 'Barlow Condensed', sans-serif; 
  font-size: 1rem; 
  font-weight: 700; 
  letter-spacing: 0.08em; 
  text-transform: uppercase; 
  color: var(--orange); 
  margin-bottom: 0.6rem;
}
.value-desc { font-size: 0.88rem; color: var(--gray); line-height: 1.6; }

/* ── STAFF ── */
#staff { background: var(--black); }
.staff-wrap { max-width: 1200px; margin: 0 auto; }
.staff-intro { color: var(--gray); font-size: 1rem; margin-bottom: 3.5rem; max-width: 500px; }
.staff-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.8rem; }
.staff-card { 
  background: var(--dark); 
  border: 1px solid var(--border); 
  overflow: hidden; 
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.staff-card:hover { 
  border-color: var(--orange);
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(232,93,4,0.2), var(--shadow-md);
}
.staff-photo-wrap { width: 100%; aspect-ratio: 1/1; overflow: hidden; background: var(--steel); position: relative; }
.staff-photo { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block; 
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.320, 1);
}
.staff-card:hover .staff-photo { transform: scale(1.08); }
.staff-photo-placeholder { 
  width: 100%; 
  height: 100%; 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  justify-content: center; 
  gap: 0.5rem; 
  background: linear-gradient(135deg, #1a1a1a, #222);
  border-bottom: 1px solid var(--border);
}
.staff-avatar-icon { font-size: 3rem; opacity: 0.4; }
.staff-photo-hint { 
  font-family: 'Barlow Condensed', sans-serif; 
  font-size: 0.7rem; 
  letter-spacing: 0.15em; 
  text-transform: uppercase; 
  color: var(--gray); 
  opacity: 0.6;
}
.staff-info { 
  padding: 1.4rem 1.2rem; 
  border-top: 2px solid transparent; 
  transition: all 0.3s ease;
}
.staff-card:hover .staff-info { 
  border-top-color: var(--orange);
  background: rgba(232,93,4,0.05);
}
.staff-name { 
  font-family: 'Barlow Condensed', sans-serif; 
  font-size: 1rem; 
  font-weight: 700; 
  letter-spacing: 0.05em; 
  text-transform: uppercase; 
  color: var(--white); 
  margin-bottom: 0.3rem;
}
.staff-role { 
  font-size: 0.8rem; 
  color: var(--orange); 
  font-family: 'Barlow Condensed', sans-serif; 
  letter-spacing: 0.08em;
}

/* ── INVENTIONS ── */
#inventions { background: var(--dark); }
.inv-wrap { max-width: 1200px; margin: 0 auto; }
.inv-header { margin-bottom: 3rem; }

/* Featured block */
.inv-featured {
  background: linear-gradient(135deg, var(--steel), #1a1a1a);
  border: 1px solid var(--border);
  border-left: 4px solid var(--orange);
  padding: 3.2rem;
  margin-bottom: 5rem;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  transition: all 0.4s ease;
}
.inv-featured:hover {
  border-left-color: var(--amber);
  box-shadow: 0 12px 40px rgba(232,93,4,0.15), var(--shadow-lg);
}
.inv-featured::before {
  content: 'NCPBM';
  position: absolute; right: -1rem; top: -1rem;
  font-family: 'Bebas Neue', sans-serif; font-size: 8rem;
  color: rgba(232,93,4,0.06); line-height: 1; pointer-events: none; -webkit-user-select: none; user-select: none;
}
.inv-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--orange), var(--amber)); 
  color: var(--black);
  font-family: 'Barlow Condensed', sans-serif; 
  font-size: 0.7rem;
  font-weight: 700; 
  letter-spacing: 0.2em; 
  text-transform: uppercase;
  padding: 0.4rem 1rem; 
  margin-bottom: 1.5rem;
  border-radius: 4px;
  box-shadow: var(--shadow-orange);
}
.inv-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem); 
  line-height: 1;
  letter-spacing: 0.02em; 
  margin-bottom: 1rem;
}
.inv-name em { font-style: normal; color: var(--orange); }
.inv-tagline {
  font-family: 'Barlow Condensed', sans-serif; 
  font-size: 1rem;
  letter-spacing: 0.1em; 
  color: var(--gray); 
  margin-bottom: 2rem;
  text-transform: uppercase;
}
.inv-desc p { 
  color: var(--light-gray); 
  font-size: 0.95rem; 
  margin-bottom: 1.2rem; 
  max-width: 760px; 
  line-height: 1.8;
}

.inv-highlights {
  display: grid; 
  grid-template-columns: repeat(4,1fr); 
  gap: 1.8rem; 
  margin-top: 2.5rem;
  padding-top: 2rem; 
  border-top: 1px solid var(--border);
}
.inv-highlight { display: flex; gap: 0.9rem; align-items: flex-start; }
.inv-highlight-icon { 
  font-size: 1.8rem; 
  flex-shrink: 0; 
  margin-top: 0.1rem;
  transition: transform 0.3s ease;
}
.inv-highlight:hover .inv-highlight-icon { transform: scale(1.15); }
.inv-highlight-title { 
  font-family: 'Barlow Condensed', sans-serif; 
  font-size: 0.9rem; 
  font-weight: 700; 
  text-transform: uppercase; 
  letter-spacing: 0.08em; 
  color: var(--white); 
  margin-bottom: 0.3rem;
}
.inv-highlight-desc { font-size: 0.8rem; color: var(--gray); line-height: 1.6; }

/* Gallery header */
.inv-gallery-header { margin-bottom: 2.5rem; }
.inv-gallery-title { font-family: 'Bebas Neue', sans-serif; font-size: 2.2rem; letter-spacing: 0.04em; margin-bottom: 0.7rem; }
.inv-gallery-sub { color: var(--gray); font-size: 0.95rem; max-width: 580px; }

/* Gallery grid */
.inv-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-bottom: 4rem;
}
.inv-img-card {
  background: var(--black);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.inv-img-card:hover { 
  border-color: var(--orange); 
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(232,93,4,0.15), var(--shadow-md);
}
.inv-img-wrap { width: 100%; aspect-ratio: 4/3; overflow: hidden; background: var(--steel); }
.inv-img {
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.320, 1);
}
.inv-img-card:hover .inv-img { transform: scale(1.1); }
.inv-img-placeholder {
  width: 100%; 
  height: 100%;
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  justify-content: center; 
  gap: 0.6rem;
  background: linear-gradient(135deg, #141414, #1e1e1e);
}
.inv-img-icon { font-size: 2.5rem; opacity: 0.3; }
.inv-img-hint { 
  font-family: 'Barlow Condensed', sans-serif; 
  font-size: 0.7rem; 
  letter-spacing: 0.15em; 
  text-transform: uppercase; 
  color: var(--gray); 
  opacity: 0.5;
}
.inv-img-info {
  padding: 1.2rem 1.2rem;
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  border-top: 1px solid var(--border);
  transition: background 0.3s ease;
}
.inv-img-card:hover .inv-img-info { background: rgba(232,93,4,0.05); }
.inv-img-label { 
  font-family: 'Bebas Neue', sans-serif; 
  font-size: 1.3rem; 
  color: var(--orange); 
  letter-spacing: 0.06em;
}
.inv-img-caption { 
  font-family: 'Barlow Condensed', sans-serif; 
  font-size: 0.78rem; 
  letter-spacing: 0.1em; 
  text-transform: uppercase; 
  color: var(--gray);
}

/* Invention CTA */
.inv-cta {
  background: var(--black);
  border: 1px solid var(--border);
  padding: 2.5rem 3rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  flex-wrap: wrap;
}
.inv-cta p { font-size: 1.1rem; color: var(--light-gray); }

/* ── SERVICES ── */
#services { background: var(--black); }
.services-intro { max-width: 1200px; margin: 0 auto 4rem; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; }
.services-intro p { max-width: 460px; color: var(--gray); }
.services-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.service-card { 
  background: var(--dark); 
  padding: 3rem 2.5rem; 
  position: relative; 
  overflow: hidden; 
  transition: all 0.4s ease;
  cursor: default;
}
.service-card::before { 
  content: ''; 
  position: absolute; 
  left: 0; top: 0; bottom: 0; 
  width: 3px; 
  background: linear-gradient(180deg, var(--orange), var(--amber));
  transform: scaleY(0); 
  transform-origin: bottom; 
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.320, 1);
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232,93,4,0.05), rgba(232,93,4,0));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.service-card:hover { 
  background: linear-gradient(135deg, var(--steel), #1a1a1a);
  box-shadow: var(--shadow-md);
}
.service-card:hover::before { transform: scaleY(1); }
.service-card:hover::after { opacity: 1; }
.service-num { 
  font-family: 'Bebas Neue', sans-serif; 
  font-size: 4rem; 
  color: rgba(232,93,4,0.12); 
  position: absolute; 
  top: 1rem; right: 1.5rem; 
  line-height: 1; 
  transition: all 0.4s ease;
}
.service-card:hover .service-num { color: rgba(232,93,4,0.25); transform: scale(1.1); }
.service-icon { font-size: 2.2rem; margin-bottom: 1.2rem; transition: transform 0.3s ease; }
.service-card:hover .service-icon { transform: scale(1.15); }
.service-title { 
  font-family: 'Bebas Neue', sans-serif; 
  font-size: 1.8rem; 
  letter-spacing: 0.04em; 
  margin-bottom: 1rem; 
  color: var(--white);
  transition: color 0.3s ease;
}
.service-card:hover .service-title { color: var(--orange); }
.service-list { list-style: none; }
.service-list li { 
  font-size: 0.88rem; 
  color: var(--gray); 
  padding: 0.4rem 0; 
  border-bottom: 1px solid var(--border); 
  display: flex; 
  gap: 0.6rem; 
  align-items: flex-start;
  transition: all 0.2s ease;
}
.service-list li:hover { padding-left: 0.4rem; }
.service-list li::before { 
  content: '→'; 
  color: var(--orange); 
  flex-shrink: 0; 
  font-size: 0.8rem; 
  margin-top: 0.05rem;
}

/* ── VISION/MISSION ── */
#vision { 
  background: linear-gradient(135deg, var(--orange) 0%, var(--amber) 100%); 
  padding: 6.5rem 4rem;
  position: relative;
  overflow: hidden;
}
#vision::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1), rgba(0,0,0,0.15));
  pointer-events: none;
}
.vision-grid { 
  max-width: 1200px; 
  margin: 0 auto; 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 6rem;
  position: relative;
  z-index: 1;
}
.vm-label { 
  font-family: 'Barlow Condensed', sans-serif; 
  font-size: 0.75rem; 
  letter-spacing: 0.3em; 
  text-transform: uppercase; 
  color: rgba(10,10,10,0.7); 
  margin-bottom: 0.8rem;
}
.vm-title { 
  font-family: 'Bebas Neue', sans-serif; 
  font-size: 3.6rem; 
  color: var(--black); 
  line-height: 1.1; 
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.vm-text { 
  font-size: 1.05rem; 
  color: rgba(10,10,10,0.85); 
  line-height: 1.8;
}

/* ── OBJECTIVES ── */
#objectives { background: var(--dark); }
.obj-wrap { max-width: 1200px; margin: 0 auto; }
.obj-header { margin-bottom: 4rem; }
.obj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.obj-item { 
  background: linear-gradient(135deg, rgba(232,93,4,0.02), rgba(232,93,4,0));
  padding: 2.5rem 2.2rem; 
  transition: all 0.4s ease;
  border: 1px solid transparent;
}
.obj-item:hover { 
  background: linear-gradient(135deg, rgba(232,93,4,0.08), rgba(232,93,4,0.02));
  border-color: var(--orange);
  transform: translateY(-4px);
}
.obj-num { 
  font-family: 'Bebas Neue', sans-serif; 
  font-size: 3.5rem; 
  color: var(--orange); 
  line-height: 1; 
  margin-bottom: 1rem;
}
.obj-text { font-size: 0.95rem; color: var(--light-gray); line-height: 1.7; }

/* ── STRENGTHS ── */
#strengths { background: var(--black); }
.str-wrap { max-width: 1200px; margin: 0 auto; }
.str-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin-top: 3rem; }
.str-item { 
  border-left: 3px solid var(--orange); 
  padding: 1.8rem 1.8rem;
  background: linear-gradient(135deg, rgba(232,93,4,0.05), rgba(232,93,4,0));
  transition: all 0.4s ease;
  border-radius: 4px;
}
.str-item:hover { 
  background: linear-gradient(135deg, rgba(232,93,4,0.1), rgba(232,93,4,0.02));
  border-left-color: var(--amber);
  transform: translateX(4px);
  box-shadow: var(--shadow-orange);
}
.str-item p { font-size: 0.95rem; color: var(--light-gray); line-height: 1.7; }

/* ── BLOG ── */
#blog { background: var(--dark); }
.blog-wrap { max-width: 1200px; margin: 0 auto; }
.blog-intro {
  max-width: 680px;
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 3rem;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.blog-card {
  background: linear-gradient(135deg, rgba(232,93,4,0.04), rgba(232,93,4,0.01));
  border: 1px solid var(--border);
  border-top: 3px solid transparent;
  border-radius: 8px;
  padding: 2rem 1.6rem;
  transition: all 0.35s ease;
}
.blog-card:hover {
  border-color: rgba(232,93,4,0.5);
  border-top-color: var(--orange);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.blog-meta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.9rem;
}
.blog-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.9rem;
  letter-spacing: 0.03em;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 0.9rem;
}
.blog-excerpt {
  color: var(--light-gray);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ── CONTACT ── */
#contact { background: var(--dark); }
.contact-wrap { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.contact-detail { display: flex; gap: 1.2rem; align-items: flex-start; margin-bottom: 2rem; }
.contact-icon { font-size: 1.5rem; color: var(--orange); flex-shrink: 0; margin-top: 0.1rem; }
.contact-label { font-family: 'Barlow Condensed', sans-serif; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gray); margin-bottom: 0.3rem; }
.contact-value { color: var(--white); font-size: 1rem; }
.contact-intro {
  color: var(--gray);
  margin-bottom: 3rem;
  max-width: 380px;
}
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
input, textarea, select {
  background: linear-gradient(135deg, var(--steel), #1a1a1a);
  border: 1.5px solid var(--border);
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  padding: 1rem 1.2rem;
  width: 100%;
  outline: none;
  transition: all 0.3s ease;
  border-radius: 4px;
}
input:focus, textarea:focus { 
  border-color: var(--orange); 
  background: var(--steel);
  box-shadow: inset 0 0 0 1px var(--orange), 0 0 16px rgba(232,93,4,0.1);
}
select:focus {
  border-color: var(--orange);
  background: var(--steel);
  box-shadow: inset 0 0 0 1px var(--orange), 0 0 16px rgba(232,93,4,0.1);
}
select option {
  color: #111;
  background: #f5f5f5;
}
select option:disabled {
  color: #666;
}
.contact-form .input-invalid {
  border-color: #ff746c !important;
  box-shadow: inset 0 0 0 1px #ff746c, 0 0 12px rgba(255,116,108,0.2);
}
input::placeholder, textarea::placeholder { color: var(--gray); opacity: 0.6; }
textarea { resize: vertical; min-height: 130px; }
.form-msg {
  color: var(--orange);
  font-size: 0.85rem;
  display: none;
}
.form-msg.success {
  color: var(--orange);
}
.form-msg.error {
  color: #ff746c;
}
.form-submit {
  background: linear-gradient(135deg, var(--orange), var(--amber)); 
  color: var(--black);
  font-family: 'Barlow Condensed', sans-serif; 
  font-size: 0.9rem; 
  font-weight: 700;
  letter-spacing: 0.15em; 
  text-transform: uppercase; 
  padding: 1rem 2.5rem;
  border: none; 
  cursor: pointer; 
  transition: all 0.3s ease;
  align-self: flex-start;
  border-radius: 4px;
  box-shadow: var(--shadow-orange);
}
.form-submit:hover { 
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(232,93,4,0.3);
}

/* ── FOOTER ── */
footer {
  background: var(--black);
  border-top: 1px solid var(--border);
}
.footer-top {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1.5fr;
  gap: 4rem; padding: 4.5rem 4rem 3rem;
}
.footer-logo { 
  font-family: 'Bebas Neue', sans-serif; 
  font-size: 1.6rem; 
  letter-spacing: 0.08em; 
  color: var(--white); 
  margin-bottom: 0.8rem;
  transition: opacity 0.3s ease;
}
.footer-logo:hover { opacity: 0.8; }
.footer-logo span { color: var(--orange); }
.footer-tagline { 
  font-size: 0.82rem; 
  color: var(--gray); 
  line-height: 1.7; 
  max-width: 280px;
}
.footer-nav-label {
  font-family: 'Barlow Condensed', sans-serif; 
  font-size: 0.7rem;
  letter-spacing: 0.25em; 
  text-transform: uppercase; 
  color: var(--orange);
  margin-bottom: 1.2rem; 
  display: flex; 
  align-items: center; 
  gap: 0.5rem;
}
.footer-nav-label::before { 
  content: ''; 
  width: 18px; 
  height: 1px; 
  background: linear-gradient(90deg, var(--orange), transparent);
}
.footer-nav { }
.footer-nav-col { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-nav-col a { 
  font-family: 'Barlow Condensed', sans-serif; 
  font-size: 0.85rem; 
  letter-spacing: 0.1em; 
  text-transform: uppercase; 
  color: var(--gray); 
  text-decoration: none; 
  transition: all 0.3s ease;
  position: relative;
}
.footer-nav-col a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--orange);
  transition: width 0.3s ease;
}
.footer-nav-col a:hover { color: var(--orange); }
.footer-nav-col a:hover::after { width: 100%; }

/* Social */
.footer-social-block { }
.footer-social-links { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.social-link {
  display: flex; align-items: center; gap: 0.85rem;
  color: var(--gray); text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.88rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: all 0.3s ease;
}
.social-link:hover { color: var(--orange); }
.social-icon {
  width: 20px; height: 20px; flex-shrink: 0;
  transition: all 0.3s ease;
}
.social-link:hover .social-icon { transform: scale(1.2) rotate(5deg); }
.footer-handle {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem; letter-spacing: 0.15em;
  color: rgba(232,93,4,0.6);
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  transition: color 0.3s ease;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.8rem 4rem;
  max-width: 100%;
}
.footer-copy { 
  font-size: 0.78rem; 
  color: var(--gray); 
  max-width: 1200px; 
  margin: 0 auto;
}

body[data-theme="light"] nav {
  background: rgba(255,250,244,0.94);
}
body[data-theme="light"] .nav-links {
  background: rgba(255,250,244,0.98);
}
body[data-theme="light"] .nav-links li {
  border-bottom-color: rgba(31,27,23,0.08);
}
body[data-theme="light"] .nav-links a {
  color: var(--black);
}
body[data-theme="light"] .nav-links a:hover {
  color: var(--orange);
}
body[data-theme="light"] .nav-links a::after {
  background: var(--orange);
}
body[data-theme="light"] .nav-cta {
  background: linear-gradient(135deg, rgba(232,93,4,0.14), rgba(244,140,6,0.12)) !important;
  color: var(--black) !important;
  box-shadow: none;
}
body[data-theme="light"] .hero-carousel {
  background: #f2ebe2;
}
body[data-theme="light"] .hero-carousel::after {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(0,0,0,0.12));
}
body[data-theme="light"] .hero-bg {
  background-color: #f2ebe2;
}
body[data-theme="light"] .hero-grid-lines {
  background-image: linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
}
body[data-theme="light"] .inv-featured {
  background: linear-gradient(135deg, #fffdf8, #f1e8dc);
  border-color: rgba(31,27,23,0.1);
  border-left-color: var(--orange);
  box-shadow: 0 12px 30px rgba(31,27,23,0.08);
}
body[data-theme="light"] .inv-featured:hover {
  box-shadow: 0 14px 34px rgba(31,27,23,0.12);
}
body[data-theme="light"] .inv-featured::before {
  color: rgba(31,27,23,0.08);
}
body[data-theme="light"] .inv-name,
body[data-theme="light"] .inv-highlight-title,
body[data-theme="light"] .inv-highlight-desc,
body[data-theme="light"] .inv-desc p {
  color: var(--white);
}
body[data-theme="light"] .inv-tagline {
  color: rgba(31,27,23,0.62);
}
body[data-theme="light"] .inv-highlights {
  border-top-color: rgba(31,27,23,0.12);
}
body[data-theme="light"] .inv-highlight-icon {
  color: var(--orange);
}
body[data-theme="light"] .carousel-btn {
  background: rgba(255,250,244,0.72);
  color: var(--white);
}
body[data-theme="light"] .carousel-dot {
  border-color: rgba(31,27,23,0.25);
}
body[data-theme="light"] .carousel-swipe-hint {
  color: rgba(31,27,23,0.45);
}
body[data-theme="light"] .theme-toggle-track {
  background: linear-gradient(135deg, rgba(31,27,23,0.12), rgba(31,27,23,0.06));
  border-color: rgba(31,27,23,0.16);
}
body[data-theme="light"] .theme-toggle-thumb {
  background: linear-gradient(135deg, #fffdf8, #ede3d5);
}
body[data-theme="light"] .theme-toggle[aria-pressed="true"] .theme-toggle-track {
  background: linear-gradient(135deg, rgba(232,93,4,0.28), rgba(244,140,6,0.22));
  border-color: rgba(232,93,4,0.35);
}
body[data-theme="light"] .nav-links a,
body[data-theme="light"] .footer-nav-col a,
body[data-theme="light"] .social-link,
body[data-theme="light"] .footer-tagline,
body[data-theme="light"] .value-desc,
body[data-theme="light"] .blog-excerpt,
body[data-theme="light"] .service-list li,
body[data-theme="light"] .str-item p,
body[data-theme="light"] .contact-value,
body[data-theme="light"] .contact-form input,
body[data-theme="light"] .contact-form textarea,
body[data-theme="light"] .blog-intro {
  color: var(--black);
}
body[data-theme="light"] .nav-links a,
body[data-theme="light"] .footer-nav-col a,
body[data-theme="light"] .social-link,
body[data-theme="light"] .footer-tagline,
body[data-theme="light"] .value-desc,
body[data-theme="light"] .blog-excerpt,
body[data-theme="light"] .service-list li,
body[data-theme="light"] .str-item p,
body[data-theme="light"] .contact-value,
body[data-theme="light"] .contact-form input,
body[data-theme="light"] .contact-form textarea,
body[data-theme="light"] .blog-intro {
  color: var(--white);
}
body[data-theme="light"] .contact-form input,
body[data-theme="light"] .contact-form textarea,
body[data-theme="light"] .contact-form select {
  background: linear-gradient(135deg, #fffdf8, #f3ede6);
  color: var(--white);
}
body[data-theme="light"] .service-card,
body[data-theme="light"] .staff-card,
body[data-theme="light"] .inv-img-card,
body[data-theme="light"] .blog-card,
body[data-theme="light"] .value-card,
body[data-theme="light"] .obj-item,
body[data-theme="light"] .str-item {
  background: linear-gradient(135deg, rgba(255,255,255,0.72), rgba(255,255,255,0.96));
}
body[data-theme="light"] .section-tag::before,
body[data-theme="light"] .footer-nav-label::before {
  background: var(--orange);
}

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .staff-grid { grid-template-columns: repeat(3, 1fr); }
  .inv-highlights { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
@media (max-width: 900px) {
  section { padding: 5rem 2rem; }
  #hero { padding: 0 2rem 4rem; }
  .about-grid, .vision-grid, .contact-wrap { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid, .obj-grid { grid-template-columns: 1fr; }
  .str-list { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 2rem; flex-wrap: wrap; }
  .services-intro { flex-direction: column; }
  .inv-gallery { grid-template-columns: repeat(2, 1fr); }
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; padding: 3rem 2rem; }
  .footer-bottom { padding: 1.5rem 2rem; }
}
@media (max-width: 700px) {
  nav { padding: 0 1.2rem; height: 54px; }
  .theme-toggle { margin-right: 0.5rem; width: 36px; height: 22px; }
  .theme-toggle-track { width: 36px; height: 22px; }
  .theme-toggle-icon { font-size: 0.55rem; }
  .theme-toggle-icon-moon { left: 4px; }
  .theme-toggle-icon-sun { right: 3px; }
  .theme-toggle-thumb { width: 16px; height: 16px; }
  .theme-toggle[aria-pressed="true"] .theme-toggle-thumb { transform: translateX(14px); }
  .hamburger { display: block; }
  .nav-links {
    position: absolute; top: 54px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(10,6,2,0.98);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    max-height: 0; overflow: hidden; transition: max-height 0.35s ease;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.active { max-height: 600px; }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links a { display: block; padding: 1rem 1.5rem; font-size: 1rem; color: var(--gray); }
  .nav-cta { background: transparent !important; color: var(--orange) !important; padding: 1rem 1.5rem !important; }
  #hero { padding: 0 1.2rem 3rem; }
  #hero .hero-text-bg { max-width: 100%; padding: 1.8rem 1.2rem; }
  .carousel-btn { display: none; }
  .inv-gallery { grid-template-columns: 1fr; }
  .inv-highlights { grid-template-columns: 1fr; }
  .inv-featured { padding: 2rem; }
  .inv-cta { flex-direction: column; text-align: center; }
  .staff-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .blog-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-stats { gap: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
