/* ==========================================================================
   Del Connect — Homepage
   Brand accent (orange) per Group CI Guide v1. Neutral scale is grey, not
   navy — dark/light theme built on: #252525 (dark), #818181 (mid),
   #9CA3AF (light).
   ========================================================================== */

:root {
  --ngg-orange: #F5831F;
  --ngg-marigold: #E97B26;
  --ngg-rust: #D76027;

  /* Del Connect neutral scale */
  --grey-900: #252525;
  --grey-500: #818181;
  --grey-400: #9CA3AF;

  /* CI guide secondary swatches — documented but not applied to UI chrome
     (navy is not the Del Connect direction; kept only for reference) */
  --ngg-gray-8: #C2C2C2;
  --ngg-navy-648: #162847;
  --ngg-navy: #13274B;
  --ngg-navy-dark: #0D1527;

  --font-primary: 'Montserrat', Arial, sans-serif;
  --font-body: 'Poppins', Arial, sans-serif;

  --container: 1240px;
  --radius: 18px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Video/photo scrims — always dark regardless of theme, for legibility
     over imagery rather than over the page background */
  --scrim-1: rgba(0, 0, 0, 0.55);
  --scrim-2: rgba(0, 0, 0, 0.35);
  --scrim-3: rgba(0, 0, 0, 0.82);
  --scrim-tint: rgba(37, 37, 37, 0.55);

  /* Footer/CTA stay a fixed dark band in both themes (deliberate, common
     pattern) */
  --deep-bg: #1a1a1a;
  --deep-bg-2: #141414;
}

:root[data-theme="dark"] {
  --bg: var(--grey-900);
  --bg-elevated: #2c2c2c;
  --ink: #F4F5F7;
  --ink-muted: var(--grey-400);
  --glass-bg: rgba(244, 245, 247, 0.07);
  --glass-bg-strong: rgba(20, 20, 20, 0.6);
  --glass-border: rgba(244, 245, 247, 0.14);
  --hover-bg: rgba(244, 245, 247, 0.1);
  --header-scrim: rgba(20, 20, 20, 0.34);
  --mobile-panel-bg: rgba(20, 20, 20, 0.85);
}

:root[data-theme="light"] {
  --bg: #FFFFFF;
  --bg-elevated: #F5F5F6;
  --ink: var(--grey-900);
  --ink-muted: var(--grey-500);
  --glass-bg: rgba(37, 37, 37, 0.045);
  --glass-bg-strong: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(37, 37, 37, 0.12);
  --hover-bg: rgba(37, 37, 37, 0.06);
  --header-scrim: rgba(255, 255, 255, 0.55);
  --mobile-panel-bg: rgba(255, 255, 255, 0.9);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 320ms var(--ease), color 320ms var(--ease);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.14;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; color: var(--ink-muted); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ngg-orange);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--ngg-orange);
  display: inline-block;
}

.section { padding: 120px 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { max-width: 700px; margin-left: auto; margin-right: auto; text-align: center; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 100px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 320ms var(--ease), background 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--ngg-orange), var(--ngg-rust));
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(245, 131, 31, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -8px rgba(245, 131, 31, 0.7); }
.btn-ghost {
  background: var(--glass-bg);
  border-color: var(--glass-border);
  color: var(--ink);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-ghost:hover { background: var(--hover-bg); transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; transition: transform 280ms var(--ease); }
.btn:hover svg.arrow { transform: translateX(3px); }

/* ==========================================================================
   Header — glassmorphism nav
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding 320ms var(--ease), background 320ms var(--ease), border-color 320ms var(--ease), box-shadow 320ms var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--header-scrim);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  opacity: 0;
  transition: opacity 320ms var(--ease), background 320ms var(--ease);
  z-index: -1;
}
.site-header.scrolled { padding: 14px 0; border-color: var(--glass-border); box-shadow: 0 10px 30px -18px rgba(0,0,0,0.5); }
.site-header.scrolled::before { opacity: 1; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: flex; align-items: center; }
.logo-full {
  height: 48px;
  width: auto;
  display: block;
}
.site-footer .logo-full { height: 52px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0; padding: 6px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav-links a {
  display: block;
  padding: 9px 18px;
  font-family: var(--font-primary);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-muted);
  border-radius: 100px;
  transition: color 220ms ease, background 220ms ease;
}
.nav-links a:hover { color: var(--ink); background: var(--hover-bg); }
.nav-links a.active { color: #fff; background: linear-gradient(135deg, var(--ngg-orange), var(--ngg-rust)); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn-ghost { padding: 12px 22px; font-size: 0.86rem; }

.theme-toggle {
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 240ms ease, transform 240ms ease;
}
.theme-toggle:hover { background: var(--hover-bg); transform: translateY(-2px); }
.theme-toggle svg { width: 18px; height: 18px; color: var(--ink); }
.theme-toggle .icon-sun, .theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: block; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 16px; height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: transform 280ms var(--ease), opacity 280ms var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute; left: 0;
  width: 16px; height: 1.5px;
  background: var(--ink);
  transition: transform 280ms var(--ease), top 280ms var(--ease);
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after { top: 0; transform: rotate(-45deg); }

/* Unscrolled header always floats over a dark hero/banner (by design, in
   both themes) — so its text/controls stay light regardless of site theme.
   Once scrolled, the header gets its own theme-coloured glass backdrop and
   reverts to normal theme colours. */
.site-header:not(.scrolled) .nav-links a { color: rgba(255, 255, 255, 0.78); }
.site-header:not(.scrolled) .nav-links a:hover { color: #fff; }
.site-header:not(.scrolled) .theme-toggle,
.site-header:not(.scrolled) .nav-toggle,
.site-header:not(.scrolled) .btn-ghost {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.site-header:not(.scrolled) .theme-toggle svg { color: #fff; }
.site-header:not(.scrolled) .nav-toggle span,
.site-header:not(.scrolled) .nav-toggle span::before,
.site-header:not(.scrolled) .nav-toggle span::after { background: #fff; }
.site-header:not(.scrolled) .nav-toggle.open span { background: transparent; }

.mobile-panel {
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  width: min(320px, 82vw);
  padding: 100px 28px 40px;
  background: var(--mobile-panel-bg);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-left: 1px solid var(--glass-border);
  transform: translateX(100%);
  transition: transform 420ms var(--ease), background 320ms var(--ease);
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-panel.open { transform: translateX(0); }
.mobile-panel a {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 14px 6px;
  border-bottom: 1px solid var(--glass-border);
  color: var(--ink);
}
.mobile-panel .btn { margin-top: 24px; justify-content: center; }
.mobile-panel .theme-toggle { align-self: flex-start; margin-bottom: 8px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* Text over video always reads light-on-dark, independent of theme */
  --ink: #FFFFFF;
  --ink-muted: rgba(255, 255, 255, 0.78);
}
.hero-media {
  position: absolute; inset: 0;
  z-index: -2;
  will-change: transform;
}
.hero-media video, .hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, var(--scrim-1) 0%, var(--scrim-2) 38%, var(--scrim-3) 100%),
    linear-gradient(115deg, var(--scrim-tint) 0%, rgba(245,131,31,0.14) 46%, var(--scrim-tint) 100%);
}
.hero-content { position: relative; padding-top: 90px; }
.hero-content .eyebrow { opacity: 0; transform: translateY(16px); animation: rise 900ms var(--ease) 200ms forwards; }
.hero-content h1 { max-width: 15ch; opacity: 0; transform: translateY(22px); animation: rise 1000ms var(--ease) 380ms forwards; }
.hero-content .hero-sub { max-width: 46ch; font-size: 1.08rem; opacity: 0; transform: translateY(18px); animation: rise 1000ms var(--ease) 560ms forwards; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; opacity: 0; transform: translateY(18px); animation: rise 1000ms var(--ease) 720ms forwards; }

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

/* ==========================================================================
   About
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.about-copy .lede { font-size: 1.15rem; color: var(--ink); font-weight: 400; }
.affiliation {
  margin-top: 32px;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  font-size: 0.88rem;
}
.affiliation strong { color: var(--ink); font-family: var(--font-primary); }

.tilt-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.55);
  transform-style: preserve-3d;
  transition: transform 120ms ease-out;
  aspect-ratio: 4 / 5;
}
.tilt-card video, .tilt-card img { width: 100%; height: 100%; object-fit: cover; }
.tilt-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(200deg, transparent 40%, rgba(0,0,0,0.72) 100%);
}
/* ==========================================================================
   Solutions
   ========================================================================== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.sol-card {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 380ms var(--ease), background 320ms ease, border-color 320ms ease;
  overflow: hidden;
}
.sol-card::before {
  content: "";
  position: absolute; inset: -1px;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(245,131,31,0.16), transparent 60%);
  opacity: 0;
  transition: opacity 320ms ease;
  pointer-events: none;
}
.sol-card:hover::before { opacity: 1; }
.sol-card:hover { transform: translateY(-6px); border-color: rgba(245,131,31,0.4); background: var(--hover-bg); }
.sol-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(245,131,31,0.22), rgba(215,96,39,0.1));
  border: 1px solid rgba(245,131,31,0.3);
  margin-bottom: 20px;
}
.sol-icon svg { width: 22px; height: 22px; color: var(--ngg-orange); }
.sol-card h3 { margin-bottom: 8px; }
.sol-card p { margin: 0; font-size: 0.92rem; }
/* ==========================================================================
   Community (video section)
   ========================================================================== */
.video-section {
  position: relative;
  overflow: hidden;
  padding: 140px 0;
  --ink: #FFFFFF;
  --ink-muted: rgba(255, 255, 255, 0.78);
}
.video-section .hero-media { z-index: -2; overflow: hidden; }
.video-section .hero-media img[data-parallax] {
  position: absolute;
  top: -14%; left: 0;
  width: 100%;
  height: 128%;
  object-fit: cover;
  will-change: transform;
}
.video-section .hero-overlay {
  background:
    linear-gradient(180deg, var(--scrim-1) 0%, rgba(0,0,0,0.5) 50%, var(--scrim-3) 100%);
}
.community-content { max-width: 640px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.chip {
  padding: 10px 18px;
  border-radius: 100px;
  background: rgba(244,245,247,0.1);
  border: 1px solid rgba(244,245,247,0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-primary);
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
}

/* ==========================================================================
   Process
   ========================================================================== */
.process {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.process-visual {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  aspect-ratio: 3 / 4;
  position: relative;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.55);
}
.process-visual video, .process-visual img { width: 100%; height: 100%; object-fit: cover; }
.process-steps { list-style: none; margin: 0; padding: 0; position: relative; }
.process-steps::before {
  content: "";
  position: absolute; left: 23px; top: 12px; bottom: 12px;
  width: 1px;
  background: linear-gradient(180deg, var(--ngg-orange), var(--glass-border) 90%);
}
.process-step {
  display: flex; gap: 22px;
  padding: 22px 0;
  position: relative;
}
.step-num {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--ngg-orange);
  position: relative;
  z-index: 1;
}
.step-copy h3 { margin-bottom: 4px; font-size: 1.05rem; }
.step-copy p { margin: 0; font-size: 0.9rem; }

/* ==========================================================================
   CTA — fixed dark band with an orange wash, consistent in both themes
   ========================================================================== */
.cta-section {
  position: relative;
  padding: 130px 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--deep-bg) 0%, var(--deep-bg-2) 60%);
  --ink: #FFFFFF;
  --ink-muted: rgba(255, 255, 255, 0.75);
}
.cta-section::before {
  content: "";
  position: absolute;
  width: 700px; height: 700px;
  right: -220px; top: -260px;
  background: radial-gradient(circle, rgba(245,131,31,0.28), transparent 65%);
  filter: blur(10px);
}
.cta-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}
.contact-info-list { margin-top: 32px; }
.contact-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(244,245,247,0.14); }
.contact-row:last-child { border-bottom: none; }
.contact-row svg { width: 20px; height: 20px; color: var(--ngg-orange); flex-shrink: 0; margin-top: 2px; }
.contact-row .label { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 2px; }
.contact-row .value { color: var(--ink); font-weight: 500; }
.contact-row .value a:hover { color: var(--ngg-orange); }

/* ---- Contact form ---- */
.contact-form {
  padding: 32px;
  border-radius: var(--radius);
  background: rgba(244,245,247,0.06);
  border: 1px solid rgba(244,245,247,0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label {
  font-family: var(--font-primary);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.form-row label .optional { text-transform: none; font-weight: 400; letter-spacing: normal; opacity: 0.7; }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(244,245,247,0.18);
  background: rgba(0,0,0,0.18);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 200ms ease, background 200ms ease;
}
.form-row textarea { resize: vertical; min-height: 90px; }
.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--ink-muted); }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--ngg-orange);
  background: rgba(0,0,0,0.28);
}
.form-row select { cursor: pointer; }
.form-row select option { background: var(--deep-bg-2); color: #fff; }
.contact-form .btn { align-self: flex-start; }
.form-note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--ink-muted);
}
.form-note.success { color: var(--ngg-orange); font-weight: 600; }

/* ==========================================================================
   Page banner (interior pages, e.g. Gallery)
   ========================================================================== */
.page-banner {
  padding: 168px 0 64px;
  background: linear-gradient(150deg, var(--deep-bg) 0%, var(--deep-bg-2) 70%);
  --ink: #FFFFFF;
  --ink-muted: rgba(255, 255, 255, 0.75);
}
.page-banner h1 { max-width: 20ch; }
.page-banner-sub { max-width: 56ch; font-size: 1.05rem; margin: 0; }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-category { margin-bottom: 56px; }
.gallery-category-title {
  font-size: 1.05rem;
  padding-bottom: 14px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--glass-border);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  cursor: zoom-in;
  background: var(--bg-elevated);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms var(--ease);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 16px 14px;
  background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, transparent 100%);
  color: #fff;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.86rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 260ms var(--ease), transform 260ms var(--ease);
}
.gallery-item:hover figcaption { opacity: 1; transform: translateY(0); }

.gallery-empty-note {
  text-align: center;
  padding: 40px 0;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); max-height: 100%; }
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: var(--radius-sm); display: block; margin: 0 auto; }
.lightbox figcaption { text-align: center; color: #fff; margin-top: 16px; font-family: var(--font-primary); font-weight: 600; }
.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(244,245,247,0.2);
  background: rgba(244,245,247,0.08);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.lightbox-close svg { width: 20px; height: 20px; }

@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .page-banner { padding: 140px 0 48px; }
}

/* ==========================================================================
   Footer — fixed dark band, consistent in both themes
   ========================================================================== */
.site-footer {
  background: var(--deep-bg-2);
  padding: 72px 0 32px;
  --ink: #F4F5F7;
  --ink-muted: var(--grey-400);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(244,245,247,0.12);
}
.footer-blurb { max-width: 34ch; font-size: 0.9rem; }
.footer-heading { font-family: var(--font-primary); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); margin-bottom: 16px; font-weight: 700; }
.footer-links { display: flex; flex-direction: column; gap: 12px; font-size: 0.9rem; color: var(--ink-muted); }
.footer-links a:hover { color: var(--ngg-orange); }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
[data-animate] { opacity: 0; transform: translateY(28px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
[data-animate].in-view { opacity: 1; transform: translateY(0); }
[data-animate="fade"] { transform: none; }
[data-animate-group] > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .about-grid, .process { grid-template-columns: 1fr; }
  .about-grid .tilt-card, .process-visual { order: -1; max-width: 420px; margin: 0 auto; }
  .cta-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 84px 0; }
  .hero { min-height: 620px; }
  .footer-grid { grid-template-columns: 1fr; }
  .video-section { padding: 100px 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .hero-content .eyebrow, .hero-content h1, .hero-content .hero-sub, .hero-actions { opacity: 1; transform: none; }
}
