/* ============================================================
   EcoFishCircle — Consolidated Stylesheet
   Replaces all inline CSS and footer.css
   ============================================================ */

[data-netlify-badge], #netlify-badge { display: none !important; }

/* Roobert — self-hosted */
@font-face {
  font-family: 'Roobert';
  src: url('fonts/Roobert-Regular.woff2') format('woff2'),
       url('fonts/Roobert-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roobert';
  src: url('fonts/Roobert-RegularItalic.woff2') format('woff2'),
       url('fonts/Roobert-RegularItalic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Roobert';
  src: url('fonts/Roobert-Bold.woff2') format('woff2'),
       url('fonts/Roobert-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ─────────────────────────────────────────────────────────────
   1. RESET & VARIABLES
   ───────────────────────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Canonical colours */
  --midnight: #081825;
  --deep-ocean: #0F2536;
  --efc-blue: #062542;
  --efc-blue-light: #0a3460;
  --teal: #17a2b8;
  --ice: #f0f4f8;
  --ghost: #c8cfd6;

  /* Canonical fonts */
  --font-display: 'Roobert', sans-serif;
  --font-body: 'Roobert', sans-serif;

  /* Aliases (backward compat with pages that used shorthand) */
  --teal-accent: var(--teal);
  --ice-white: var(--ice);
  --ghost-white: var(--ghost);
  --font-d: var(--font-display);
  --font-b: var(--font-body);
  --sea-blue: #1a5276;
  --warm-white: #fafbfc;
}

/* ─────────────────────────────────────────────────────────────
   2. BASE BODY / HTML
   ───────────────────────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--midnight);
  color: var(--ice);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─────────────────────────────────────────────────────────────
   3. NAVIGATION (nav / #navbar)
   ───────────────────────────────────────────────────────────── */
nav, #navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  background: rgba(6, 37, 66, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.5s ease, padding 0.5s ease;
}

nav.scrolled, #navbar.scrolled {
  background: rgba(6, 37, 66, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 16px 48px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ice);
}

.nav-logo-img {
  height: 28px;
  width: auto;
}

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

.nav-links a {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--ice);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
}

.nav-lang {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ice) !important;
  text-decoration: none;
  opacity: 0.6 !important;
  border: 1px solid rgba(240, 244, 248, 0.2);
  padding: 5px 14px;
  transition: all 0.3s ease;
}

.nav-lang:hover {
  border-color: rgba(240, 244, 248, 0.5);
  opacity: 1 !important;
}

/* ─────────────────────────────────────────────────────────────
   4. HAMBURGER MENU
   ───────────────────────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
  position: relative;
}

.nav-hamburger span {
  width: 24px;
  height: 1.5px;
  background: var(--ice);
  transition: all 0.35s ease;
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-hamburger-btn { transition: all 0.3s ease; }
.nav-hamburger-btn.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-hamburger-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger-btn.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.nav-hamburger-btn.open { border-color: rgba(240, 244, 248, 0.5); }

/* ─────────────────────────────────────────────────────────────
   5. MOBILE MENU OVERLAY
   ───────────────────────────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #0F2536;
  display: flex;
  flex-direction: column;
  padding: 120px 48px 60px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  overflow: hidden;
}

.mobile-menu::before {
  content: '';
  position: absolute;
  bottom: 40px;
  right: 40px;
  width: 320px;
  height: 96px;
  background: url('https://test.ecofishcircle.com/wp-content/uploads/2026/09/ecofishcircle-logo-horisontal-rgb-seasalt.svg') no-repeat center/contain;
  opacity: 0.06;
  filter: brightness(0) invert(1);
  pointer-events: none;
}

.mobile-menu.open { opacity: 1; pointer-events: all; }

.mobile-menu-links { display: flex; flex-direction: column; gap: 8px; }

.mobile-menu-links a {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 6vw, 48px);
  letter-spacing: 0.5px;
  color: var(--ice);
  text-decoration: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
  display: inline-block;
}

.mobile-menu.open .mobile-menu-links a { opacity: 0.7; transform: translateY(0); }
.mobile-menu.open .mobile-menu-links a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.open .mobile-menu-links a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.open .mobile-menu-links a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.open .mobile-menu-links a:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu.open .mobile-menu-links a:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu.open .mobile-menu-links a:nth-child(6) { transition-delay: 0.3s; }
.mobile-menu.open .mobile-menu-links a:nth-child(7) { transition-delay: 0.35s; }
.mobile-menu-links a:hover { opacity: 1; color: #17a2b8; }

.mobile-menu-footer { margin-top: auto; display: flex; justify-content: center; }

.mobile-menu-footer a {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ice);
  text-decoration: none;
  opacity: 0.35;
  transition: opacity 0.3s;
}

.mobile-menu-footer a:hover { opacity: 0.8; }

/* ─────────────────────────────────────────────────────────────
   6. HERO STYLES (shared hero patterns)
   ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  overflow: hidden;
  padding-bottom: 120px;
}

.hero .section-bg {
  background:
    linear-gradient(180deg,
      rgba(11, 13, 14, 0.15) 0%,
      rgba(11, 13, 14, 0.0) 30%,
      rgba(11, 13, 14, 0.55) 85%,
      rgba(11, 13, 14, 0.9) 100%
    ),
    url('https://test.ecofishcircle.com/wp-content/uploads/2026/09/3033-EFC-Lista-Laks-_6-Photo-landscape-f99fd903109edf5e53f8f0065efdd6fb-jfiv4k68d3hp.jpg') center/cover no-repeat;
}

.hero .section-content {
  padding-bottom: 0;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(42px, 7vw, 72px);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: #ffffff;
}

.hero p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.7;
  opacity: 0.7;
  max-width: 580px;
  margin: 0 auto 36px;
  color: #ffffff;
}

.hero .subtitle {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(16px, 2.2vw, 24px);
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 0;
}

/* Hero with separate bg/overlay/content structure (contact, career, about) */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: subtle-zoom 25s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(11, 13, 14, 0.4) 0%, rgba(11, 13, 14, 0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 24px;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(42px, 7vw, 72px);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-content p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(16px, 2vw, 20px);
  opacity: 0.7;
  line-height: 1.7;
}

/* ─────────────────────────────────────────────────────────────
   7. SECTION BASE STYLES
   ───────────────────────────────────────────────────────────── */
.section {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
}

.section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
}

.section-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.section-video video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  will-change: transform;
}

.section-video::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.section-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 48px 100px;
}

.section-content h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 4.5vw, 52px);
  line-height: 1.12;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.section-content p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 1.7;
  opacity: 0.7;
  max-width: 640px;
  margin: 0 auto 32px;
}

/* ─────────────────────────────────────────────────────────────
   8. CTA BUTTONS
   ───────────────────────────────────────────────────────────── */
.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ice);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 12px 28px;
  transition: all 0.4s ease;
  position: relative;
}

.cta-link:hover {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.06);
}

.cta-link--teal {
  border-color: rgba(23, 162, 184, 0.4);
  color: var(--teal);
}

.cta-link--teal:hover {
  border-color: var(--teal);
  background: rgba(23, 162, 184, 0.08);
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─────────────────────────────────────────────────────────────
   9. SCROLL INDICATOR
   ───────────────────────────────────────────────────────────── */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  animation: pulse-down 2.8s ease-in-out infinite;
}

.scroll-indicator .chevron {
  width: 24px;
  height: 24px;
  border-right: 1.5px solid rgba(240, 244, 248, 0.35);
  border-bottom: 1.5px solid rgba(240, 244, 248, 0.35);
  transform: rotate(45deg);
}

@keyframes pulse-down {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 0.9; }
}

/* ─────────────────────────────────────────────────────────────
   10. REVEAL ANIMATIONS
   ───────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }
.reveal-delay-5 { transition-delay: 0.75s; }


/* ─────────────────────────────────────────────────────────────
   11. SUBTLE-ZOOM KEYFRAME
   ───────────────────────────────────────────────────────────── */
@keyframes subtle-zoom {
  0%   { transform: scale(1.0); }
  100% { transform: scale(1.08); }
}

/* ─────────────────────────────────────────────────────────────
   12. FOOTER (merged from footer.css, Calibri replaced with var(--font-body))
   ───────────────────────────────────────────────────────────── */
footer.efc-footer {
  display: block !important;
  background: #0F2536;
  padding: 64px 48px 48px;
  border-top: 1px solid rgba(200, 207, 214, 0.06);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 48px;
}

.footer-brand {
  flex: 1;
  min-width: 200px;
}

.footer-brand-logo {
  display: inline-block;
  margin-bottom: 16px;
  height: 22px;
  width: auto;
  opacity: 0.7;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  color: #c8cfd6;
  opacity: 0.4;
  line-height: 1.6;
  max-width: 280px;
}

.footer-column {
  min-width: 140px;
}

.footer-column h4 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #f0f4f8;
  margin-bottom: 20px;
  opacity: 0.55;
}

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

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

.footer-column ul li a {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  color: #c8cfd6;
  text-decoration: none;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.footer-column ul li a:hover {
  opacity: 1;
}

.footer-bottom {
  max-width: 1100px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(200, 207, 214, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-family: var(--font-body);
  font-size: 12px;
  color: #c8cfd6;
  opacity: 0.3;
}

.footer-social {
  display: flex;
  gap: 20px;
}

.footer-social a {
  color: #c8cfd6;
  opacity: 0.4;
  transition: opacity 0.3s ease;
  text-decoration: none;
  font-size: 12px;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.footer-social a:hover {
  opacity: 1;
}

/* Legacy footer link styles (used by some pages) */
.footer-left a,
.footer-right a {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--ice);
  text-decoration: none;
  opacity: 0.35;
  transition: opacity 0.3s ease;
}

.footer-left a:hover,
.footer-right a:hover { opacity: 0.8; }

.footer-right { display: flex; align-items: center; gap: 24px; }
.footer-copy { font-family: var(--font-body); font-size: 11px; opacity: 0.2; }


/* =============================================================
   PAGE-SPECIFIC STYLES
   ============================================================= */

/* ─────────────────────────────────────────────────────────────
   13. INDEX.HTML SPECIFIC
   ───────────────────────────────────────────────────────────── */

/* Hero video overlays */
.hero .section-video::after {
  background: linear-gradient(180deg,
    rgba(11, 13, 14, 0.25) 0%,
    rgba(11, 13, 14, 0.0) 25%,
    rgba(11, 13, 14, 0.0) 50%,
    rgba(11, 13, 14, 0.55) 80%,
    rgba(11, 13, 14, 0.92) 100%
  );
}

.technology .section-video::after {
  background: linear-gradient(180deg,
    rgba(11, 13, 14, 0.45) 0%,
    rgba(11, 13, 14, 0.15) 35%,
    rgba(11, 13, 14, 0.15) 55%,
    rgba(11, 13, 14, 0.65) 85%,
    rgba(11, 13, 14, 0.92) 100%
  );
}

.mission .section-video::after {
  background: linear-gradient(180deg,
    rgba(11, 13, 14, 0.4) 0%,
    rgba(11, 13, 14, 0.1) 35%,
    rgba(11, 13, 14, 0.1) 55%,
    rgba(11, 13, 14, 0.6) 85%,
    rgba(11, 13, 14, 0.92) 100%
  );
}

.contact .section-video::after {
  background: linear-gradient(180deg,
    rgba(11, 13, 14, 0.4) 0%,
    rgba(11, 13, 14, 0.15) 35%,
    rgba(11, 13, 14, 0.15) 55%,
    rgba(11, 13, 14, 0.6) 85%,
    rgba(11, 13, 14, 0.92) 100%
  );
}

/* Panning image (replaces video on index) */
.section-pan-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.section-pan-image img {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 110%;
  min-height: 110%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%) scale(1.05);
  object-fit: cover;
  animation: pan-slow 25s ease-in-out infinite alternate;
}

@keyframes pan-slow {
  0%   { transform: translate(-48%, -50%) scale(1.05); }
  100% { transform: translate(-52%, -50%) scale(1.12); }
}

.section-pan-image::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(11, 13, 14, 0.45) 0%,
    rgba(11, 13, 14, 0.15) 35%,
    rgba(11, 13, 14, 0.15) 55%,
    rgba(11, 13, 14, 0.65) 85%,
    rgba(11, 13, 14, 0.92) 100%
  );
}

/* Tech features grid (index) */
.tech-features {
  height: auto;
  min-height: 100vh;
  padding: 140px 0 100px;
  background: var(--deep-ocean);
  justify-content: flex-start;
}

.tech-features .section-content {
  max-width: 1200px;
  width: 100%;
  padding-bottom: 0;
}

.tech-features .section-content h2 {
  margin-bottom: 12px;
}

.tech-features .section-content > p {
  margin-bottom: 64px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  row-gap: 48px;
  text-align: left;
}

.feature-card {
  padding: 40px 36px;
  border-left: 1px solid rgba(240, 244, 248, 0.08);
  position: relative;
}

.feature-card:nth-child(3n+1) {
  border-left: none;
  padding-left: 0;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 36px;
  right: 36px;
  height: 1px;
  background: linear-gradient(90deg, rgba(240, 244, 248, 0.35), transparent);
  opacity: 0.5;
}

.feature-card:nth-child(3n+1)::before {
  left: 0;
}

.feature-card-num {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 2.5px;
  color: var(--ice);
  opacity: 0.5;
  margin-bottom: 10px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  color: var(--ice);
  text-transform: uppercase;
}

.feature-card h3 a {
  color: var(--ice);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: border-color 0.3s ease;
}

.feature-card h3 a:hover {
  border-bottom-color: rgba(240, 244, 248, 0.6);
}

.feature-card ul {
  list-style: none;
  padding: 0;
}

.feature-card li {
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.55;
  padding: 5px 0;
  padding-left: 0;
  position: relative;
}

/* Project cards grid (index) */
.projects {
  height: auto;
  min-height: 100vh;
  padding: 140px 0 100px;
  background: var(--midnight);
  justify-content: flex-start;
}

.projects .section-content {
  max-width: 1400px;
  width: 100%;
  padding-bottom: 0;
}

.projects .section-content h2 {
  margin-bottom: 64px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  text-align: left;
}

.project-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: var(--ice);
}

.project-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card:hover .project-card-bg {
  transform: scale(1.08);
}

.project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11, 13, 14, 0.92) 0%, rgba(11, 13, 14, 0.15) 50%, rgba(11, 13, 14, 0.0) 100%);
  z-index: 1;
}

.project-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  z-index: 2;
}

.project-card-label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ice);
  margin-bottom: 8px;
}

.project-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.project-card p {
  font-weight: 300;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.78;
}

.project-card-stats {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(240, 244, 248, 0.08);
}

.project-card-stat {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  opacity: 0.78;
}

.project-card-stat strong {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--ice);
  opacity: 1;
  margin-bottom: 2px;
}

/* Stats bar (index) */
.stats {
  justify-content: center;
}

.stats .section-bg {
  background: var(--deep-ocean);
  animation: none;
  transform: none;
}

.stats .section-content {
  max-width: 1100px;
  padding-bottom: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 56px;
}

.stat-item {
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: rgba(240, 244, 248, 0.06);
}

.stat-number {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1;
  color: var(--ice);
  margin-bottom: 10px;
}

.stat-number .stat-unit {
  font-weight: 300;
  font-size: 0.5em;
  opacity: 0.6;
}

.stat-label {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  opacity: 0.4;
  line-height: 1.5;
}

/* News carousel (index) */
.news {
  height: auto;
  min-height: 100vh;
  padding: 140px 0 100px;
  background: var(--midnight);
  justify-content: flex-start;
}

.news .section-content {
  max-width: 1200px;
  width: 100%;
  padding-bottom: 0;
}

.news .section-content h2 {
  margin-bottom: 64px;
}

.news-slider-wrap {
  position: relative;
}

/* Index news carousel grid (flex/horizontal scroll) */
.news .news-grid {
  display: flex;
  gap: 24px;
  text-align: left;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 8px;
}

.news .news-grid::-webkit-scrollbar { display: none; }

.news .news-card {
  text-decoration: none;
  color: var(--ice);
  display: block;
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
}

.news-arrow {
  position: absolute;
  top: calc(50% - 60px);
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(240, 244, 248, 0.25);
  background: rgba(8, 24, 37, 0.7);
  color: var(--ice);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.news-arrow:hover {
  background: var(--teal);
  border-color: var(--teal);
}

.news-arrow.prev { left: -24px; }
.news-arrow.next { right: -24px; }

.news .news-card-image-wrap {
  overflow: hidden;
  margin-bottom: 24px;
}

.news .news-card-image {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  filter: brightness(0.85) saturate(0.9);
  transition: filter 0.6s ease, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news .news-card:hover .news-card-image {
  filter: brightness(1) saturate(1);
  transform: scale(1.04);
}

.news .news-card-date {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ghost);
  opacity: 0.4;
  margin-bottom: 12px;
}

.news .news-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: 0.3px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.news .news-card:hover h3 {
  opacity: 1;
}

/* ─────────────────────────────────────────────────────────────
   14. ABOUT.HTML SPECIFIC
   ───────────────────────────────────────────────────────────── */

/* About page: override generic .section which is index-style (100vh, flex, overflow) */
body.page-about .section {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
  padding: 120px 48px;
  background: var(--midnight);
}

body.page-about .section:nth-of-type(even) {
  background: var(--deep-ocean);
}

/* About intro */
.intro {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--deep-ocean);
  padding: 120px 24px;
}

.intro-inner {
  max-width: 820px;
  text-align: center;
}

.intro-inner .lead {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.5;
  color: var(--ice);
  opacity: 0.85;
  margin-bottom: 48px;
}

.intro-inner p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  opacity: 0.7;
  margin-bottom: 28px;
  color: var(--ice);
}

.intro-inner h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 3.5vw, 38px);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.3;
  margin-bottom: 32px;
  color: var(--ice);
}

/* About: team/board section overrides */
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 64px;
}

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 56px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Board grid */
.board-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 56px 40px;
  max-width: 1120px;
  margin: 0 auto;
}

.team-card {
  text-align: center;
  cursor: pointer;
}

.team-card-photo {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  display: block;
  filter: grayscale(20%);
  transition: filter 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
  border: 2px solid transparent;
}

.team-card:hover .team-card-photo {
  filter: grayscale(0%);
  transform: scale(1.04);
  box-shadow: 0 0 0 3px rgba(23, 162, 184, 0.4);
  border-color: rgba(23, 162, 184, 0.3);
}

.team-card-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  color: var(--ice);
  margin-bottom: 6px;
}

.team-card-role {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  color: var(--ghost);
  opacity: 0.6;
}

/* Team modal */
.team-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 25, 38, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.team-modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.team-modal {
  background: #062542;
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 640px;
  width: 100%;
  padding: 48px;
  position: relative;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  transform: translateY(20px);
  transition: transform 0.35s ease;
}

.team-modal-backdrop.open .team-modal {
  transform: translateY(0);
}

.team-modal-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(23, 162, 184, 0.4);
}

.team-modal-body { flex: 1; }

.team-modal-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--ice);
  margin-bottom: 4px;
}

.team-modal-role {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  opacity: 0.8;
  margin-bottom: 24px;
}

.team-modal-bio {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ghost);
  opacity: 0.8;
}

.team-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--ice);
  font-size: 28px;
  cursor: pointer;
  opacity: 0.45;
  line-height: 1;
  padding: 4px 8px;
  transition: opacity 0.2s ease;
}

.team-modal-close:hover { opacity: 1; }

/* Modal contact section */
.team-modal-contact {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.team-modal-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ice);
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.team-modal-contact-item:hover { opacity: 1; }

.team-modal-contact .contact-label {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  min-width: 44px;
}

.team-modal-contact .contact-value {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
}

/* Partners section */
.partners {
  padding: 120px 48px;
  background: var(--deep-ocean);
  text-align: center;
}

.partners .section-title {
  margin-bottom: 56px;
}

.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.partners-logos a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.partners-logos img {
  height: 120px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  opacity: 0.55;
  transition: opacity 0.3s ease;
  filter: brightness(0) invert(1);
}

.partners-logos a:hover img,
.partners-logos img:hover {
  opacity: 0.9;
}

.partners-logos a:hover span {
  opacity: 0.9;
}

.partners-description {
  max-width: 720px;
  margin: 0 auto;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  opacity: 0.7;
}

/* ─────────────────────────────────────────────────────────────
   15. TECHNOLOGY.HTML SPECIFIC
   ───────────────────────────────────────────────────────────── */

/* Tech intro */
.section.intro.tech-intro {
  height: auto;
  min-height: 55vh;
  justify-content: center;
  background: linear-gradient(180deg, var(--midnight) 0%, var(--deep-ocean) 40%, var(--midnight) 100%);
}

/* Also support the inline tech intro without body class */
.intro.section {
  height: auto;
  min-height: 55vh;
  justify-content: center;
  background: linear-gradient(180deg, var(--midnight) 0%, var(--deep-ocean) 40%, var(--midnight) 100%);
}

.intro .section-content {
  max-width: 860px;
  padding: 100px 48px 80px;
}

.intro .section-content h2 {
  font-size: clamp(24px, 3.5vw, 40px);
  margin-bottom: 32px;
  color: var(--teal);
}

.intro .section-content p {
  max-width: 760px;
  font-size: clamp(15px, 1.6vw, 17px);
}

/* Technology overview grid */
.tech-overview {
  height: auto;
  min-height: 100vh;
  padding: 140px 0 100px;
  background: var(--deep-ocean);
  justify-content: flex-start;
}

.tech-overview .section-content {
  max-width: 1200px;
  width: 100%;
  padding-bottom: 0;
}

.tech-overview .section-content h2 { margin-bottom: 12px; }
.tech-overview .section-content > p { margin-bottom: 64px; }

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  text-align: left;
}

.overview-card {
  padding: 40px 36px;
  border-left: 1px solid rgba(240, 244, 248, 0.08);
  position: relative;
  transition: background 0.3s ease;
}

.overview-card:first-child,
.overview-card:nth-child(4) { border-left: none; padding-left: 0; }

.overview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 36px;
  right: 36px;
  height: 1px;
  background: linear-gradient(90deg, var(--teal), transparent);
  opacity: 0.4;
}

.overview-card:first-child::before { left: 0; }
.overview-card:hover { background: rgba(23, 162, 184, 0.04); }

.overview-card-num {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ice);
  opacity: 0.6;
  margin-bottom: 16px;
}

.overview-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.overview-card h3 a {
  color: var(--ice);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: border-color 0.3s ease;
}

.overview-card h3 a:hover {
  border-bottom-color: rgba(240, 244, 248, 0.6);
}

.overview-card p {
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.55;
  text-align: left;
  max-width: none;
  margin: 0;
}

/* Technology detail (split: sidebar + tabbed content) */
.tech-detail {
  position: relative;
  height: 100vh;
  padding: 0;
  background: #062542;
  justify-content: flex-start;
  flex-direction: row;
  align-items: stretch;
  overflow: hidden;
}

/* Left sidebar nav */
.tech-sidebar {
  width: 300px;
  flex-shrink: 0;
  height: 100vh;
  background: #062542;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 0 0 32px;
  z-index: 10;
}

.tech-sidebar-label {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ice);
  opacity: 0.6;
  margin-bottom: 32px;
}

.tech-sidebar-links { list-style: none; }
.tech-sidebar-links li { margin-bottom: 8px; }

.tech-sidebar-links a {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ice);
  opacity: 0.35;
  padding: 8px 0 8px 16px;
  display: block;
  border-left: 2px solid transparent;
  cursor: pointer;
  transition: opacity 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.tech-sidebar-links a:hover {
  opacity: 0.75;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(240, 244, 248, 0.5);
}

.tech-sidebar-links a.active:hover { text-decoration: none; }

.tech-sidebar-links a.active {
  opacity: 1;
  color: var(--ice);
  border-left-color: var(--ice);
}

/* Tabbed content panels */
.tech-panels {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #062542;
  z-index: 1;
}

.tech-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #062542;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.tech-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.10;
  z-index: 0;
  transition: opacity 0.5s ease;
}

/* Per-pillar background images */
#standardized::before   { background-image: url('https://test.ecofishcircle.com/wp-content/uploads/2026/09/PS_HM103699-kopi-scaled.jpg'); }
#modular::before        { background-image: url('https://test.ecofishcircle.com/wp-content/uploads/2026/09/blueoasis.png'); }
#biosecurity::before    { background-image: url('https://test.ecofishcircle.com/wp-content/uploads/2026/09/Pilot_EFC_32.jpg'); }
#cost-efficiency::before { background-image: url('https://test.ecofishcircle.com/wp-content/uploads/2026/09/HM103566-scaled.jpg'); }
#efc-control::before    { background-image: url('https://test.ecofishcircle.com/wp-content/uploads/2026/09/PS_HM103688-scaled.jpg'); }
#circular::before       { background-image: url('https://test.ecofishcircle.com/wp-content/uploads/2026/09/3033-EFC-Lista-Laks-_6-Photo-landscape-f99fd903109edf5e53f8f0065efdd6fb-jfiv4k68d3hp.jpg'); }

.tech-panel.active {
  opacity: 1;
  pointer-events: all;
}

.tech-panel-content {
  position: relative;
  z-index: 2;
  padding: 80px 56px;
  max-width: 640px;
}

#tech-img-1 {
  background-image: url('https://test.ecofishcircle.com/wp-content/uploads/2026/09/PS_HM103699-kopi-scaled.jpg');
  opacity: 0.12;
}

#tech-img-2 { opacity: 0; }

.tech-panel-eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ice);
  opacity: 0.7;
  margin-bottom: 16px;
  display: block;
}

.tech-panel-content h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-align: left;
}

.tech-panel-content p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.75;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 0 24px;
  text-align: left;
  color: var(--ice);
}

.tech-panel-bullets {
  list-style: none;
  margin-bottom: 32px;
}

.tech-panel-bullets li {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.8;
  opacity: 0.85;
  padding: 5px 0;
  padding-left: 18px;
  position: relative;
  color: var(--ice);
}

.tech-panel-bullets li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  top: 5px;
  width: 6px;
  height: 1px;
  background: transparent;
  color: var(--ice);
  opacity: 0.9;
  font-size: 14px;
}

/* ─────────────────────────────────────────────────────────────
   16. PROJECTS.HTML SPECIFIC
   ───────────────────────────────────────────────────────────── */

/* Project detail sections */
.project-section .section-bg {
  background-size: cover;
  background-position: center;
  filter: saturate(0.85) brightness(0.75);
}

#hausvik-pilot .section-bg {
  transform: rotate(-3deg) scale(1.15);
}

.project-section .section-content {
  text-align: left;
  max-width: 1200px;
  width: 100%;
  padding: 0 48px 0;
  padding-bottom: 0;
}

.project-inner {
  max-width: 620px;
  padding-bottom: 100px;
}

.project-status {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #062542;
  background: rgba(240, 244, 248, 0.9);
  display: inline-block;
  padding: 4px 14px;
  margin-bottom: 12px;
}

.project-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.project-subtitle {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(16px, 2vw, 22px);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 24px;
}

.project-body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.7;
  opacity: 0.7;
  margin-bottom: 0;
  max-width: 580px;
}

/* Project stats row */
.project-stats-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 32px;
}

.project-stat {
  display: flex;
  flex-direction: column;
  padding: 0 24px;
  position: relative;
}

.project-stat:first-child {
  padding-left: 0;
}

.project-stat:not(:first-child)::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: rgba(240, 244, 248, 0.1);
}

.project-stat-value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  color: var(--ice);
  margin-bottom: 2px;
}

.project-stat-label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  opacity: 0.4;
}

/* Production results (projects page) */
.production-results {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(240, 244, 248, 0.08);
}

.production-results-label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.35;
  margin-bottom: 14px;
}

.production-results-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.production-result-item {
  display: flex;
  flex-direction: column;
}

.production-result-value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  color: var(--ice);
  margin-bottom: 2px;
}

.production-result-label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  opacity: 0.4;
}

/* ─────────────────────────────────────────────────────────────
   17. DEMO-PRODUCTION.HTML SPECIFIC
   ───────────────────────────────────────────────────────────── */

/* Section-bg with zoom animation (demo-production uses this) */
.production .section-bg,
.section-bg.animated {
  transform: scale(1.05);
  animation: subtle-zoom 25s ease-in-out infinite alternate;
}

.production {
  justify-content: flex-end;
  align-items: flex-start;
}

.production .section-bg {
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.production:hover .section-bg { transform: scale(1.04); }

.production-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(11, 13, 14, 0.2) 0%,
    rgba(11, 13, 14, 0.0) 25%,
    rgba(11, 13, 14, 0.55) 60%,
    rgba(11, 13, 14, 0.95) 100%
  );
}

.production-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px 80px;
  text-align: left;
}

.production-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border: 1px solid rgba(23, 162, 184, 0.5);
  color: var(--ice);
  margin-bottom: 20px;
}

.production-badge--active {
  background: rgba(240, 244, 248, 0.08);
  border-color: var(--ice);
}

.production-badge--completed {
  border-color: rgba(240, 244, 248, 0.2);
  color: rgba(240, 244, 248, 0.5);
}

.production-content h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
  text-align: left;
}

.production-location {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.45;
  margin-bottom: 32px;
}

.production-desc {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.75;
  opacity: 0.7;
  max-width: 580px;
  margin-bottom: 40px;
}

/* Production stats */
.production-stats {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  border-top: 1px solid rgba(240, 244, 248, 0.08);
  padding-top: 28px;
}

.production-stat {
  padding: 0 40px 0 0;
  margin-right: 40px;
  border-right: 1px solid rgba(240, 244, 248, 0.08);
  min-width: 100px;
}

.production-stat:last-child { border-right: none; }

.production-stat-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
  color: var(--ice);
  margin-bottom: 6px;
}

.production-stat-value.tba {
  font-size: clamp(18px, 2vw, 28px);
  opacity: 0.4;
}

.production-stat-label {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.4;
  line-height: 1.4;
}

/* ─────────────────────────────────────────────────────────────
   18. CONTACT.HTML SPECIFIC
   ───────────────────────────────────────────────────────────── */
.content-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--midnight);
  padding: 120px 24px;
}

.content-inner {
  max-width: 780px;
  text-align: center;
}

.content-inner h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 3.5vw, 38px);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.3;
  margin-bottom: 32px;
  color: var(--ice);
}

.content-inner > p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.8;
  opacity: 0.7;
  color: var(--ice);
  margin-bottom: 56px;
}

/* Contact info */
.contact-info {
  margin-bottom: 56px;
}

.contact-info-item {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  color: var(--ghost);
  opacity: 0.8;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ice);
  opacity: 0.7;
  min-width: 70px;
  text-align: right;
}

.contact-info-value {
  color: var(--ice);
  opacity: 0.85;
}

.contact-info-value a {
  color: var(--ice);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info-value a:hover {
  color: var(--teal);
}

.contact-divider {
  width: 40px;
  height: 1px;
  background: rgba(23, 162, 184, 0.3);
  margin: 40px auto;
}

/* ─────────────────────────────────────────────────────────────
   19. CAREER.HTML SPECIFIC
   ───────────────────────────────────────────────────────────── */

/* Career vacancies */
.vacancies {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--midnight);
  padding: 120px 48px;
}

.vacancies-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 64px;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 820px;
  width: 100%;
}

.job-card {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  padding: 0;
  text-decoration: none;
  color: var(--ice);
  transition: border-color 0.4s ease;
  display: block;
}

.job-card:hover {
  border-color: var(--teal);
}

.job-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  filter: grayscale(15%);
  transition: filter 0.4s ease, transform 0.6s ease;
}

.job-card:hover .job-card-image {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.job-card-image-wrap {
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.job-card-body {
  padding: 24px 24px 28px;
}

.job-card-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Career CTA section */
.cta-section {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.cta-section-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: subtle-zoom 25s ease-in-out infinite alternate;
}

.cta-section-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(11, 13, 14, 0.55) 0%, rgba(11, 13, 14, 0.8) 100%);
}

.cta-section-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 24px;
}

.cta-section-content h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 4vw, 44px);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 16px;
}

.cta-section-content p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(16px, 2vw, 20px);
  opacity: 0.7;
  line-height: 1.7;
  margin-bottom: 40px;
}

/* ─────────────────────────────────────────────────────────────
   20. NEWS.HTML SPECIFIC (news grid page)
   ───────────────────────────────────────────────────────────── */

/* News hero */
.news-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-direction: column;
  text-align: center;
  overflow: hidden;
  padding-bottom: 120px;
}

.news-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: subtle-zoom 25s ease-in-out infinite alternate;
}

.news-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(11, 13, 14, 0.4) 0%, rgba(11, 13, 14, 0.7) 100%);
}

.news-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 0 24px;
}

.news-hero-content h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(42px, 7vw, 72px);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--ice);
  line-height: 1.08;
  margin-bottom: 20px;
}

.news-hero-content p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(15px, 1.8vw, 19px);
  color: var(--ghost);
  opacity: 0.7;
  letter-spacing: 0.5px;
}

/* Hero links */
.hero-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.hero-link {
  color: var(--ice);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  opacity: 0.6;
  letter-spacing: 0.5px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, opacity 0.3s ease;
}

.hero-link:hover {
  border-bottom-color: var(--ice);
  opacity: 1;
}

/* News section wrapper */
.news-section-header {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 48px 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.news-section-header h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ghost);
  opacity: 0.45;
}

/* News grid (news.html page grid) */
.news-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px 120px;
}

.news-section .news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 32px;
  row-gap: 48px;
}

/* News card (news.html page) */
.news-section .news-card {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.4s ease;
}

.news-section .news-card:hover { transform: translateY(-4px); }

.news-section .news-card-image {
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
}

.news-section .news-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11, 13, 14, 0.4) 100%);
  transition: opacity 0.4s ease;
}

.news-section .news-card:hover .news-card-image::after { opacity: 0; }

.news-section .news-card-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  filter: brightness(0.8) saturate(0.85);
  transform: scale(1);
  transition: filter 0.6s ease, transform 0.6s ease;
}

.news-section .news-card:hover .news-card-image img {
  filter: brightness(1) saturate(1.05);
  transform: scale(1.04);
}

.news-section .news-card-date {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ice);
  opacity: 0.6;
  margin-bottom: 10px;
}

.news-section .news-card-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.3;
  color: var(--ice);
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.news-section .news-card:hover .news-card-title {
  opacity: 1;
}

/* ─────────────────────────────────────────────────────────────
   21. NEWS ARTICLE PAGES (article-hero, article-body, etc.)
   ───────────────────────────────────────────────────────────── */

/* Article pages use body class for background override */
body.page-article {
  --midnight: #0b0d0e;
  --deep-ocean: #0e1317;
  background: var(--efc-blue);
}

/* Article hero */
.article-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0 48px 80px;
  text-align: center;
  color: var(--ice);
  overflow: hidden;
}

.article-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 37, 66, 0.3) 0%,
    rgba(6, 37, 66, 0.15) 30%,
    rgba(6, 37, 66, 0.6) 65%,
    rgba(6, 37, 66, 0.95) 100%
  );
  z-index: 1;
}

.article-hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.article-date {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ice);
  opacity: 0.9;
  margin-bottom: 24px;
}

.article-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 500;
  letter-spacing: 0.5px;
  line-height: 1.15;
  text-transform: uppercase;
}

/* Teal accent divider */
.article-divider {
  width: 60px;
  height: 2px;
  background: var(--teal);
  margin: 0 auto;
  opacity: 0.6;
}

/* Article body */
.article-wrapper {
  background: var(--efc-blue);
  padding: 64px 48px 100px;
}

.article-body {
  max-width: 760px;
  margin: 0 auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ice);
  text-decoration: none;
  opacity: 0.7;
  margin-bottom: 48px;
  transition: opacity 0.3s;
}

.back-link:hover { opacity: 1; }

.article-body p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  color: var(--ice);
  opacity: 0.75;
  margin-bottom: 28px;
}

/* Blockquote / pull-quote */
.article-body blockquote {
  border-left: 3px solid var(--teal);
  margin: 48px 0;
  padding: 28px 36px;
  background: rgba(23, 162, 184, 0.06);
  border-radius: 0 4px 4px 0;
}

.article-body blockquote p {
  font-size: 19px;
  font-style: italic;
  line-height: 1.75;
  color: var(--ice);
  opacity: 0.9;
  margin-bottom: 12px;
}

.article-body blockquote .quote-attr {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-style: normal;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ice);
  opacity: 0.7;
  margin-top: 8px;
}

/* Wide-break images */
.article-img {
  width: calc(100% + 140px);
  margin-left: -70px;
  max-width: 900px;
  height: auto;
  margin-top: 40px;
  margin-bottom: 40px;
  border-radius: 2px;
  opacity: 0.9;
}

/* White link (inline in some news articles) */
.white-link {
  color: var(--ice);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.white-link:hover {
  border-bottom-color: var(--ice);
}

/* Article contact bar */
.article-contact {
  margin-top: 56px;
  padding: 28px 36px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  font-size: 14px;
  color: var(--ghost);
  line-height: 1.7;
}

.article-contact strong {
  color: var(--ice);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.article-contact a {
  color: var(--ice);
  text-decoration: none;
  transition: opacity 0.3s;
}

.article-contact a:hover { opacity: 0.7; }

/* Article navigation (prev/next) */
.article-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.article-nav a {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ice);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.article-nav a:hover { opacity: 1; }
.article-nav .nav-spacer { flex: 1; }

/* ─────────────────────────────────────────────────────────────
   22. MEDIA.HTML SPECIFIC
   ───────────────────────────────────────────────────────────── */
.media-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0 48px 80px;
  text-align: center;
  overflow: hidden;
}

.media-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.media-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.media-hero-eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ice);
  opacity: 0.7;
  margin-bottom: 24px;
}

.media-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 6.5vw, 72px);
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1.1;
  text-transform: uppercase;
}

.media-hero p {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.5vw, 18px);
  opacity: 0.75;
  margin-top: 24px;
  line-height: 1.7;
}

/* Media list */
.media-wrapper {
  background: var(--efc-blue);
  padding: 100px 48px 120px;
}

.media-list {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.media-item {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 32px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: var(--ice);
  transition: background 0.3s ease, padding-left 0.3s ease;
}

.media-item:first-child { border-top: 1px solid rgba(255, 255, 255, 0.08); }

.media-item:hover {
  background: rgba(255, 255, 255, 0.03);
  padding-left: 16px;
}

.media-outlet {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  opacity: 0.6;
}

.media-title {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--ice);
}

.media-date {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.5;
  white-space: nowrap;
}

.media-arrow {
  display: inline-block;
  margin-left: 12px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.media-item:hover .media-arrow {
  opacity: 0.8;
  transform: translateX(0);
}

/* ─────────────────────────────────────────────────────────────
   23. JOB LISTING PAGES (article-apply — shares article template)
   ───────────────────────────────────────────────────────────── */
.article-apply {
  margin-top: 56px;
  padding: 28px 36px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  font-size: 14px;
  color: var(--ghost);
  line-height: 1.7;
}

.article-apply strong {
  color: var(--ice);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.article-apply a {
  color: var(--teal);
  text-decoration: none;
  transition: opacity 0.3s;
}

.article-apply a:hover { opacity: 0.7; }

/* Job listing: section headings */
.article-body h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: 48px;
  margin-bottom: 20px;
  opacity: 0.9;
}

/* Job listing: teal dash bullet lists */
.article-body ul {
  list-style: none;
  padding-left: 18px;
  margin-bottom: 28px;
}

.article-body ul li {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  color: var(--ice);
  opacity: 0.75;
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
}

.article-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 2px;
  background: var(--teal);
}


/* =============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================= */

/* ─────────────────────────────────────────────────────────────
   24. @media (max-width: 1400px) — about team grid
   ───────────────────────────────────────────────────────────── */
@media (max-width: 1400px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .board-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─────────────────────────────────────────────────────────────
   25. @media (max-width: 1100px) — index project grid, stats
   ───────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ─────────────────────────────────────────────────────────────
   26. @media (max-width: 1024px) — about team photos
   ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .team-card-photo { width: 180px; height: 180px; }
}

/* ─────────────────────────────────────────────────────────────
   27. @media (max-width: 968px) — MAIN MOBILE BREAKPOINT
   ───────────────────────────────────────────────────────────── */
@media (max-width: 968px) {
  /* Nav */
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  nav, #navbar { padding: 16px 24px; }
  nav.scrolled, #navbar.scrolled { padding: 14px 24px; }

  /* Sections */
  .section { height: 65vh; }

  .section-content {
    padding: 0 24px 80px;
  }

  .hero .section-content {
    padding-bottom: 0;
  }

  /* Index news carousel becomes grid on mobile */
  .news .news-card { flex: 0 0 85%; }

  .news-arrow.prev { left: 4px; }
  .news-arrow.next { right: 4px; }

  .news {
    height: auto !important;
    padding: 80px 0 80px;
    min-height: auto;
    overflow: visible !important;
  }

  .news .news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    overflow-x: visible;
    scroll-snap-type: none;
  }

  .news .news-card {
    flex: none;
    padding: 0;
  }

  /* Index feature grid */
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .feature-card {
    border-left: none;
    padding: 32px 0;
    border-bottom: 1px solid rgba(240, 244, 248, 0.06);
  }

  .feature-card::before {
    left: 0;
    right: 0;
  }

  /* Index project grid */
  .project-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .project-card {
    aspect-ratio: 16/9;
  }

  /* Index stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .stat-item::after {
    display: none;
  }

  /* Panning image on mobile */
  .section-pan-image img {
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: none;
    transform: translate(-50%, -50%) scale(1);
  }

  /* Fix hero/section background images on mobile */
  .section-bg,
  .section-video {
    background-size: cover;
    background-position: center center;
  }

  .tech-features {
    height: auto !important;
    min-height: 65vh;
    overflow: visible !important;
  }

  .projects {
    height: auto !important;
    min-height: 65vh;
    overflow: visible !important;
    padding-bottom: 40px;
  }

  .mission, .stats {
    height: auto !important;
    min-height: 65vh;
    overflow: visible !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .section-content h2,
  .section-content p,
  .project-card-content,
  .stat-number,
  .stat-label {
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5), 0 0 2px rgba(0, 0, 0, 0.3);
  }

  .mission .section-bg {
    filter: brightness(0.6);
  }

  .hero .section-video::after {
    background: linear-gradient(180deg,
      rgba(11, 13, 14, 0.5) 0%,
      rgba(11, 13, 14, 0.35) 25%,
      rgba(11, 13, 14, 0.35) 50%,
      rgba(11, 13, 14, 0.65) 80%,
      rgba(11, 13, 14, 0.95) 100%
    );
  }

  .hero h1,
  .hero p {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7), 0 0 4px rgba(0, 0, 0, 0.4);
  }

  /* About: hero, sections, intro */
  .hero {
    height: 65vh;
  }

  /* Technology: detail layout */
  .tech-detail {
    flex-direction: column;
    height: auto;
    overflow: visible;
    min-height: 70vh;
  }

  .tech-image-pane { display: none; }

  .tech-sidebar {
    width: 100%;
    height: auto;
    padding: 24px 24px 0;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-direction: row;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    position: relative;
  }

  .tech-sidebar::after {
    content: '\203A';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--ice);
    opacity: 0.35;
    pointer-events: none;
    animation: nudge-right 2s ease-in-out infinite;
  }

  @keyframes nudge-right {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(4px); }
  }

  .tech-sidebar-label { display: none; }

  .tech-sidebar-links {
    display: flex;
    flex-direction: row;
    gap: 0;
    white-space: nowrap;
    overflow-x: auto;
    padding-bottom: 16px;
  }

  .tech-sidebar-links li { margin-bottom: 0; margin-right: 4px; }

  .tech-sidebar-links a {
    font-size: 13px;
    padding: 8px 14px;
    border-left: none;
    border-bottom: 2px solid transparent;
  }

  .tech-sidebar-links a.active {
    border-left-color: transparent;
    border-bottom-color: var(--teal);
  }

  .tech-panels { overflow: visible; position: relative; }

  .tech-panel {
    position: relative;
    inset: auto;
    min-height: auto;
    display: none;
    opacity: 1;
    pointer-events: none;
  }

  .tech-panel.active { display: flex; pointer-events: all; }
  .tech-panel-content { padding: 48px 24px 60px; }

  .overview-grid { display: none; }

  .tech-overview {
    height: auto !important;
    min-height: 50vh;
    justify-content: center;
  }

  .intro .section-content { padding: 120px 24px 80px; }

  /* Projects: mobile */
  .project-section .section-content {
    padding: 0 24px 0;
  }

  .project-inner {
    padding-bottom: 80px;
  }

  .project-stats-row {
    flex-wrap: wrap;
    gap: 20px;
  }

  .project-stat {
    padding: 0;
  }

  .project-stat:not(:first-child)::before {
    display: none;
  }

  .production-results-row {
    gap: 16px;
  }

  .project-section {
    height: auto !important;
    min-height: 80vh;
    overflow: hidden;
    padding-bottom: 0;
  }

  .project-section .section-bg {
    transform: none !important;
    filter: saturate(0.85) brightness(0.55);
  }

  .project-title,
  .project-body,
  .project-subtitle,
  .project-status,
  .project-stat-value,
  .project-stat-label {
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5), 0 0 2px rgba(0, 0, 0, 0.3);
  }

  /* Demo production: mobile */
  .section.production {
    height: auto !important;
    min-height: 70vh;
    overflow: visible !important;
    padding-bottom: 40px;
  }

  .production-content { padding: 0 24px 60px; }
  .production-stats { gap: 24px; }
  .production-stat { padding: 0; margin: 0; border-right: none; }

  .section-bg {
    filter: brightness(0.55);
  }

  .production-badge,
  .production-title,
  .production-description,
  .production-stat-value,
  .production-stat-label {
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5), 0 0 2px rgba(0, 0, 0, 0.3);
  }

  /* Contact: mobile */
  .content-section { min-height: 65vh; }

  .contact-info-item {
    flex-direction: column;
    gap: 4px;
  }

  .contact-info-label {
    text-align: center;
    min-width: auto;
  }

  /* Career: mobile */
  .intro { height: 65vh; }
  .vacancies { min-height: 85vh; }
  .cta-section { height: 65vh; }

  .jobs-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }

  .vacancies {
    padding: 100px 24px;
  }

  /* News page: mobile */
  .news-hero { height: 70vh; min-height: 400px; }
  .news-hero-bg { background-position: 30% 70%; }
  .news-hero-content { padding: 0 24px; }
  .news-section-header { padding: 48px 24px 32px; }

  .news-section {
    padding: 0 24px 80px;
  }

  .news-section .news-grid {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }

  /* News article: mobile img */
  .article-img {
    width: 100%;
    margin-left: 0;
  }

  /* Media: mobile */
  .media-hero { padding: 0 24px 60px; }
  .media-wrapper { padding: 64px 24px 80px; }
  .media-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .media-date { margin-top: 4px; }

  /* Footer: mobile (legacy) */
  footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .footer-left {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ─────────────────────────────────────────────────────────────
   28. @media (max-width: 768px) — about team/board, article, footer
   ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* About team/board */
  .team-grid,
  .board-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }

  .team-card-photo { width: 140px; height: 140px; }

  .team-modal {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
  }

  .team-modal-photo { width: 100px; height: 100px; }

  body.page-about .section {
    padding: 80px 24px;
  }

  .partners {
    padding: 80px 24px;
  }

  .partners-logos {
    gap: 32px;
  }

  .partners-logos img {
    height: 70px;
  }

  /* Article pages */
  .article-hero {
    min-height: 55vh;
    padding: 0 24px 60px;
  }

  .article-hero-bg {
    background-position: center 30% !important;
  }

  .article-wrapper { padding: 48px 24px 80px; }

  /* Footer rich */
  footer.efc-footer {
    padding: 48px 28px 36px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Legacy footer */
  footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 24px;
  }

  .footer-left {
    justify-content: center;
  }
}

/* ─────────────────────────────────────────────────────────────
   29. @media (max-width: 600px) — index stats, projects stats
   ───────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .project-stats-row {
    flex-direction: column;
    gap: 16px;
  }
}

/* ─────────────────────────────────────────────────────────────
   30. @media (max-width: 480px) — about team cards
   ───────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .team-grid,
  .board-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }

  .team-card-photo {
    width: 100px;
    height: 100px;
  }

  .team-card-name {
    font-size: 16px;
  }

  .team-card-role {
    font-size: 12px;
  }
}
