/* ============================================
   APEXARA DYNAMICS — MASTER STYLESHEET
   ============================================ */

:root {
  --black: #050508;
  --dark: #0a0b10;
  --dark-2: #10111a;
  --dark-3: #161823;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --gold-dim: rgba(201, 168, 76, 0.15);
  --white: #ffffff;
  --white-60: rgba(255, 255, 255, 0.6);
  --white-30: rgba(255, 255, 255, 0.3);
  --white-10: rgba(255, 255, 255, 0.08);
  --white-5: rgba(255, 255, 255, 0.04);
  --text-primary: #f0ede8;
  --text-secondary: #9a9590;
  --accent-blue: #3a7bd5;
  --border: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(201, 168, 76, 0.25);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-ui: 'Inter', system-ui, sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --nav-height: 80px;
  --container-max: 1320px;
  --gutter: clamp(24px, 5vw, 80px);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--black);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }

/* ---- UTILITIES ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
.section-title em {
  font-style: italic;
  color: var(--gold-light);
}

.body-text {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 520px;
}

.section-intro {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

.centered { text-align: center; }
.centered .section-label { justify-content: center; }
.centered .section-label::before { display: none; }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease-out);
  white-space: nowrap;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--black);
  transform: translateX(-101%);
  transition: transform 0.35s var(--ease-out);
}
.btn-primary:hover { color: var(--gold); }
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary span { position: relative; z-index: 1; }
.btn-primary.btn-large { padding: 20px 48px; font-size: 14px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease-out);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ============================================
   NAVIGATION
   ============================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(5, 5, 8, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark {
  color: var(--gold);
  font-size: 18px;
  line-height: 1;
}
.logo-text {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--white);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text em {
  font-style: normal;
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--text-secondary);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--white-60);
  padding: 8px 16px;
  border-radius: 2px;
  transition: color 0.25s;
}
.nav-link:hover { color: var(--white); }
.nav-link.nav-cta {
  background: var(--gold-dim);
  color: var(--gold-light);
  border: 1px solid var(--border-gold);
  padding: 8px 20px;
}
.nav-link.nav-cta:hover {
  background: var(--gold);
  color: var(--black);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s;
}

/* ============================================
   HERO
   ============================================ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
#heroCanvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.08);
  transition: transform 0.1s linear;
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(5, 5, 8, 0.85) 0%,
    rgba(5, 5, 8, 0.5) 50%,
    rgba(5, 5, 8, 0.7) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  padding-top: var(--nav-height);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid var(--border-gold);
  background: var(--gold-dim);
  backdrop-filter: blur(10px);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out) 0.3s forwards;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
.hero-title {
  font-family: var(--font-serif);
  font-weight: 200;
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 28px;
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .line-1 {
  font-size: clamp(68px, 10vw, 130px);
  opacity: 0;
  transform: translateY(60px);
  animation: fadeUp 1s var(--ease-out) 0.5s forwards;
}
.hero-title .line-2 {
  font-size: clamp(80px, 12.5vw, 165px);
  font-style: italic;
  color: var(--gold-light);
  opacity: 0;
  transform: translateY(60px);
  animation: fadeUp 1s var(--ease-out) 0.65s forwards;
}
.hero-subtitle {
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--white-60);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 44px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out) 0.85s forwards;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out) 1s forwards;
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 48px;
  left: var(--gutter);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white-30);
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 1.3s forwards;
}
.scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--white-30));
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  right: 0;
  height: 100%;
  background: var(--gold);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { top: -100%; }
  100% { top: 200%; }
}
.hero-stats {
  position: absolute;
  bottom: 48px;
  right: var(--gutter);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 20px 32px;
  background: rgba(5, 5, 8, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 2px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 1.2s forwards;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.stat-number {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--gold-light);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-ui);
  font-size: 10px;
  color: var(--white-30);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   TICKER
   ============================================ */
.ticker-wrap {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 16px 0;
}
.ticker {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: ticker 40s linear infinite;
}
.ticker span {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  white-space: nowrap;
}
.ticker-dot { color: var(--gold) !important; font-size: 8px; }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   OVERVIEW SECTION
   ============================================ */
#overview {
  padding: clamp(100px, 12vw, 160px) 0;
  background: var(--dark);
}
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(60px, 8vw, 120px);
  align-items: center;
}
.overview-visual { position: relative; }
.img-frame {
  position: relative;
  aspect-ratio: 3/4;
  max-height: 600px;
  overflow: hidden;
}
.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.img-frame:hover img { transform: scale(1.04); }
.img-frame::before {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px solid var(--border-gold);
  z-index: 1;
  pointer-events: none;
  opacity: 0.6;
}
.img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  background: linear-gradient(to top, rgba(5,5,8,0.9) 0%, transparent 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 2;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  text-transform: uppercase;
}
.overview-accent-card {
  position: absolute;
  bottom: -32px;
  right: -32px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 200px;
  z-index: 3;
}
.accent-number {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.accent-label {
  font-family: var(--font-ui);
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.4;
}
.overview-content { padding-right: 20px; }
.overview-content .section-title { margin-bottom: 24px; }
.overview-content .body-text { margin-bottom: 16px; }
.overview-pillars {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.pillar {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.pillar:last-child { border-bottom: none; padding-bottom: 0; }
.pillar-icon {
  font-size: 20px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.pillar h4 {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.pillar p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================
   FULLSCREEN IMAGE / PARALLAX
   ============================================ */
.fullscreen-image {
  position: relative;
  height: 60vh;
  min-height: 420px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.parallax-img {
  position: absolute;
  inset: -20%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  will-change: transform;
}
.fullscreen-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 8, 0.55);
}
.dark-overlay { background: rgba(5, 5, 8, 0.72); }
.fullscreen-text {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 680px;
  padding: 0 var(--gutter);
}
.fullscreen-text blockquote {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 20px;
}
.fullscreen-text cite {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
  font-style: normal;
}
.cta-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
}
.cta-overlay h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 20px;
}
.cta-overlay p {
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--white-60);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

/* ============================================
   CAPABILITIES SECTION
   ============================================ */
#capabilities {
  padding: clamp(100px, 12vw, 160px) 0;
  background: var(--black);
}
.section-header { margin-bottom: clamp(60px, 7vw, 90px); }
.section-header .section-title { margin-bottom: 16px; }
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.cap-card {
  background: var(--dark);
  padding: 40px 36px;
  position: relative;
  transition: background 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cap-card:hover { background: var(--dark-3); }
.cap-featured {
  grid-column: span 1;
  grid-row: span 2;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.cap-img {
  flex: 1;
  min-height: 300px;
  overflow: hidden;
}
.cap-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.cap-card.cap-featured:hover .cap-img img { transform: scale(1.05); }
.cap-body {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cap-number {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
}
.cap-icon {
  font-size: 22px;
  color: var(--gold-dim);
  color: rgba(201, 168, 76, 0.4);
}
.cap-card h3 {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}
.cap-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}
.cap-link {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  transition: gap 0.25s;
}
.cap-link:hover { gap: 14px; }
.cap-link span { transition: transform 0.25s; }

/* ============================================
   TECHNOLOGY SECTION
   ============================================ */
#technology { background: var(--dark-2); overflow: hidden; }
.tech-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 700px;
}
.tech-image-col { position: relative; overflow: hidden; }
.tech-img-stack { position: relative; height: 100%; }
.tech-img-main {
  width: 100%;
  height: 70%;
  object-fit: cover;
}
.tech-img-accent {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 40%;
  object-fit: cover;
  border: 4px solid var(--dark-2);
  box-shadow: -20px -20px 60px rgba(0,0,0,0.5);
}
.tech-content-col {
  padding: clamp(80px, 8vw, 120px) clamp(60px, 6vw, 100px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tech-content-col .section-title { margin-bottom: 24px; }
.tech-content-col .body-text { margin-bottom: 48px; }
.tech-specs {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 48px;
}
.spec-row {
  display: grid;
  grid-template-columns: 160px 1fr 60px;
  align-items: center;
  gap: 16px;
}
.spec-label {
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}
.spec-bar-wrap {
  height: 2px;
  background: var(--white-10);
  position: relative;
  overflow: hidden;
}
.spec-bar {
  height: 100%;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  width: 0;
  transition: width 1.2s var(--ease-out);
}
.spec-value {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-light);
  text-align: right;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
#gallery {
  padding: clamp(100px, 12vw, 160px) 0 0;
  background: var(--black);
}
.gallery-header {
  margin-bottom: clamp(50px, 6vw, 80px);
}
.gallery-header .section-title { margin-bottom: 0; }
.gallery-masonry {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 400px 400px;
  gap: 2px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
}
.gallery-item-tall { grid-row: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 24px 24px;
  background: linear-gradient(to top, rgba(5,5,8,0.92) 0%, transparent 100%);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s var(--ease-out);
}
.gallery-item:hover .gallery-caption {
  transform: translateY(0);
  opacity: 1;
}
.gallery-caption span {
  display: block;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.gallery-caption p {
  font-size: 13px;
  color: var(--white-60);
  line-height: 1.5;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
#contact {
  padding: clamp(100px, 12vw, 160px) 0;
  background: var(--dark);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(60px, 8vw, 120px);
  align-items: start;
}
.contact-info .section-title { margin-bottom: 20px; }
.contact-info .body-text { margin-bottom: 48px; }
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-detail {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.contact-detail:last-child { border-bottom: none; }
.detail-icon {
  font-size: 18px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-detail strong {
  display: block;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.contact-detail p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Form */
.contact-form-wrap {
  background: var(--dark-2);
  border: 1px solid var(--border);
  padding: clamp(36px, 5vw, 56px);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.form-field label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.form-field input,
.form-field textarea,
.form-field select {
  background: var(--dark-3);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 14px 18px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.25s;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(154, 149, 144, 0.5);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--gold);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239a9590' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
  cursor: pointer;
}
.form-field select option { background: var(--dark-3); }
.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 18px 36px;
  font-size: 13px;
}
.form-success {
  margin-top: 16px;
  padding: 16px;
  font-size: 14px;
  text-align: center;
  color: var(--gold-light);
  border: 1px solid var(--border-gold);
  display: none;
}
.form-success.visible { display: block; }

/* ============================================
   FOOTER
   ============================================ */
#footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: clamp(60px, 8vw, 100px) 0 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .footer-logo { margin-bottom: 20px; }
.footer-brand p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 280px;
}
.footer-links-group h5 {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.footer-links-group ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links-group a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.footer-links-group a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(154, 149, 144, 0.5);
  letter-spacing: 0.05em;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .overview-grid { grid-template-columns: 1fr; }
  .overview-visual { max-width: 500px; }
  .overview-accent-card { right: 0; bottom: -24px; }
  .tech-split { grid-template-columns: 1fr; }
  .tech-img-stack { height: 500px; }
  .tech-content-col { padding: 60px var(--gutter); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .capabilities-grid { grid-template-columns: 1fr 1fr; }
  .cap-featured { grid-column: span 2; grid-row: span 1; }
  .cap-img { min-height: 280px; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-masonry {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-item-tall { grid-row: span 1; }
  .spec-row { grid-template-columns: 130px 1fr 55px; }
}

@media (max-width: 700px) {
  :root { --nav-height: 64px; }
  .nav-links {
    display: none;
    position: fixed;
    inset: var(--nav-height) 0 0;
    background: rgba(5, 5, 8, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-link { font-size: 16px; padding: 14px 24px; }
  .nav-toggle { display: flex; }

  .hero-stats {
    position: static;
    transform: none;
    opacity: 1;
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    margin: 40px var(--gutter) 0;
    gap: 20px;
  }
  .hero-scroll-indicator { display: none; }

  .capabilities-grid { grid-template-columns: 1fr; }
  .cap-featured { grid-column: span 1; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-masonry { grid-template-columns: 1fr; }
  .gallery-item { height: 280px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero-stats { display: none; }
  .stat-divider { display: none; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .tech-img-accent { display: none; }
  .tech-img-main { height: 100%; }
}
