/* ============================================
   HOMELAND SECURITY SPAIN — PREMIUM v8
   Cinematic duotone · Editorial · Agency-grade
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Barlow:wght@300;400;500;600;700&family=Barlow+Condensed:wght@400;500;600;700&display=swap');

:root {
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --gold-pale: #F5E8C0;
  --gold-dark: #8C6B1A;
  --black: #070707;
  --black-2: #0C0C0C;
  --black-3: #121212;
  --black-4: #181818;
  --black-5: #202020;
  --gray: #4A4A4A;
  --gray-mid: #6E6E6E;
  --gray-light: #9D9D9D;
  --gray-pale: #C8C8C8;
  --white: #F6F3EC;
  --topbar-h: 40px;
  --nav-h: 88px;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Barlow', sans-serif;
  --font-cond: 'Barlow Condensed', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --duo-grade: linear-gradient(155deg, rgba(201,168,76,0.38) 0%, rgba(15,11,3,0.55) 45%, rgba(7,7,7,0.92) 100%);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--gold); color: var(--black); }

/* ── TOPBAR (fixed) ───────────────────────── */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--topbar-h);
  background: var(--gold);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0 20px;
}

/* ── NAV (fixed, below topbar) ────────────── */
.header {
  position: fixed;
  top: var(--topbar-h);
  left: 0; right: 0;
  z-index: 990;
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.header.scrolled {
  background: rgba(7,7,7,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(201,168,76,0.25);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding: 0 56px;
  max-width: 1520px;
  margin: 0 auto;
}

.brand { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }

.brand img {
  width: 56px; height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(201,168,76,0.35));
}

.brand-copy strong {
  display: block;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.2;
}

.brand-copy small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  font-family: var(--font-cond);
}

.menu { display: flex; align-items: center; gap: 42px; }

.menu a {
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-pale);
  position: relative;
  transition: color 0.25s;
}

.menu a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.menu a:hover, .menu a.active { color: var(--white); }
.menu a:hover::after, .menu a.active::after { transform: scaleX(1); }

.nav-cta {
  border: 1px solid var(--gold) !important;
  color: var(--gold) !important;
  padding: 11px 26px !important;
  font-size: 12.5px !important;
  letter-spacing: 0.16em !important;
  transition: background 0.3s, color 0.3s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold) !important; color: var(--black) !important; }

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 18px;
  cursor: pointer;
}

/* ── BUTTONS ─────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 17px 38px;
  border: 1px solid rgba(246,243,236,0.28);
  color: var(--white);
  background: transparent;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(246,243,236,0.07);
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease);
}
.btn:hover::before { transform: translateX(0); }
.btn:hover { border-color: rgba(246,243,236,0.55); }

.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--black); }
.btn.gold::before { background: rgba(0,0,0,0.12); }
.btn.gold:hover { background: var(--gold-light); border-color: var(--gold-light); }

.btn.outline-gold { border-color: var(--gold); color: var(--gold); }
.btn.outline-gold:hover { background: var(--gold); color: var(--black); }

.btn .arrow {
  width: 18px; height: 18px;
  stroke: currentColor; fill: none; stroke-width: 1.5;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.btn:hover .arrow { transform: translateX(5px); }

.btnrow { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; margin-top: 42px; }

/* ── DUOTONE IMAGE SYSTEM ─────────────────── */
/* Cards / frames: gold-graded via FILTER only (no blend-mode — reliable on mobile).
   Container holds a gold→black gradient so a failed image degrades gracefully. */
.media-frame, .svc-card, .feature-img {
  background: linear-gradient(155deg, #3A2C0C 0%, #1A1305 50%, var(--black) 100%);
}
.media-frame img, .svc-card img, .feature-img img {
  filter: grayscale(72%) contrast(1.08) brightness(0.86) sepia(28%) saturate(135%);
}
/* If an image fails to load, hide it so the branded gradient shows instead of a broken icon */
.img-failed { display: none !important; }

/* Large background layers: graded + gold-tinted overlays */
.hero-slide, .page-hero-bg, .cta-band-bg {
  filter: grayscale(85%) contrast(1.08) brightness(0.72) sepia(12%);
}

/* ── HERO ─────────────────────────────────── */
.hero {
  position: relative;
  margin-top: var(--topbar-h);
  height: calc(100vh - var(--topbar-h));
  min-height: 720px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

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

.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.6s var(--ease), transform 7s linear;
}
.hero-slide.active { opacity: 1; transform: scale(1.0); }

.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(120% 80% at 75% 20%, rgba(201,168,76,0.12) 0%, transparent 50%),
    linear-gradient(to bottom, rgba(7,7,7,0.45) 0%, rgba(7,7,7,0.15) 28%, rgba(7,7,7,0.55) 62%, rgba(7,7,7,0.96) 100%);
}

.hero-content {
  position: relative; z-index: 2;
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 56px 96px;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 72px;
  align-items: end;
}

.hero-eyebrow {
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 14px;
}
.hero-eyebrow::before { content: ''; display: block; width: 48px; height: 1px; background: var(--gold); }

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(52px, 6.5vw, 96px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--white);
  margin-bottom: 28px;
}
.hero h1 em { font-style: italic; color: var(--gold-light); }

.hero-lead {
  font-size: 18px;
  font-weight: 300;
  color: rgba(246,243,236,0.78);
  max-width: 560px;
  line-height: 1.8;
}

.hero-panel {
  background: rgba(7,7,7,0.72);
  border: 1px solid rgba(201,168,76,0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 42px;
  position: relative;
}
.hero-panel::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
}

.panel-num {
  font-family: var(--font-cond);
  font-size: 60px;
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.panel-num span {
  font-size: 15px; font-weight: 500;
  letter-spacing: 0.16em; color: var(--gray-light);
  margin-left: 6px; vertical-align: middle;
}

.hero-panel h3 {
  font-family: var(--font-serif);
  font-size: 25px; font-weight: 400;
  margin-bottom: 14px; color: var(--white);
}
.hero-panel p {
  font-size: 15px;
  color: rgba(246,243,236,0.7);
  line-height: 1.75;
  margin-bottom: 28px;
}

/* ── TICKER ──────────────────────────────── */
.ticker { background: var(--gold); overflow: hidden; padding: 13px 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker-track span {
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--black);
  padding: 0 36px;
  position: relative;
}
.ticker-track span::after {
  content: '◆'; position: absolute; right: 0; top: 50%;
  transform: translateY(-50%); font-size: 8px; color: rgba(0,0,0,0.4);
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── SECTIONS ────────────────────────────── */
.section { padding: 140px 56px; max-width: 1520px; margin: 0 auto; }
.section-dark { background: var(--black-3); max-width: none !important; padding: 140px 56px !important; }
.section-darker { background: var(--black-2); max-width: none !important; padding: 140px 56px !important; }
.section-inner { max-width: 1408px; margin: 0 auto; }

/* ── EYEBROW / HEADINGS ──────────────────── */
.eyebrow {
  font-family: var(--font-cond);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px;
  display: flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ''; display: block; width: 32px; height: 1px; background: var(--gold); }

.h-xl {
  font-family: var(--font-serif);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 300; line-height: 1.08;
  letter-spacing: -0.012em; color: var(--white);
}
.h-lg {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 300; line-height: 1.12; color: var(--white);
}
.h-md {
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 300; line-height: 1.2; color: var(--white);
}

.copy {
  font-size: 18px; font-weight: 300;
  color: var(--gray-light); line-height: 1.85;
  max-width: 580px;
}
.copy + .copy { margin-top: 18px; }

/* ── GRIDS ────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.grid-2.reverse { direction: rtl; }
.grid-2.reverse > * { direction: ltr; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }

.intro-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 90px;
  align-items: start; padding: 140px 56px; max-width: 1520px; margin: 0 auto;
}

/* ── SERVICES MEGA GRID ───────────────────── */
.services-mega { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--black-5); }

.svc-card { position: relative; overflow: hidden; aspect-ratio: 4/5; cursor: pointer; }
.svc-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: filter 0.7s var(--ease), transform 0.9s var(--ease), opacity 0.6s;
}
.svc-card:hover img { filter: grayscale(20%) contrast(1.05) brightness(1.0) sepia(8%); transform: scale(1.05); }

.svc-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,7,7,0.96) 0%, rgba(7,7,7,0.4) 55%, rgba(7,7,7,0.15) 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 38px;
}

.svc-num {
  font-family: var(--font-cond);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.25em; color: var(--gold); margin-bottom: 12px;
}
.svc-card h3 {
  font-family: var(--font-serif);
  font-size: 30px; font-weight: 400; line-height: 1.12;
  color: var(--white); margin-bottom: 12px; transition: color 0.3s;
}
.svc-card:hover h3 { color: var(--gold-light); }
.svc-card p {
  font-size: 15px; color: rgba(246,243,236,0.72); line-height: 1.65;
}
.svc-arrow {
  width: 38px; height: 38px;
  border: 1px solid rgba(201,168,76,0.45);
  display: flex; align-items: center; justify-content: center;
  margin-top: 22px; transition: background 0.3s, border-color 0.3s;
}
.svc-card:hover .svc-arrow { background: var(--gold); border-color: var(--gold); }
.svc-arrow svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.svc-card:hover .svc-arrow svg { stroke: var(--black); }

/* ── STAT BAR ─────────────────────────────── */
.stat-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(201,168,76,0.18);
  border-bottom: 1px solid rgba(201,168,76,0.18);
}
.stat-item { padding: 56px 44px; border-right: 1px solid rgba(201,168,76,0.1); text-align: center; }
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-serif);
  font-size: 64px; font-weight: 300; line-height: 1;
  color: var(--gold); letter-spacing: -0.02em; display: block; margin-bottom: 10px;
}
.stat-label {
  font-family: var(--font-cond);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gray-light);
}

/* ── MEDIA FRAMES ─────────────────────────── */
.media-frame { position: relative; overflow: hidden; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), filter 0.7s, opacity 0.6s; }
.media-frame:hover img { transform: scale(1.04); filter: grayscale(18%) contrast(1.05) brightness(1.0) sepia(6%); }
.media-frame.tall { aspect-ratio: 3/4; }
.media-frame.wide { aspect-ratio: 16/9; }
.media-frame.square { aspect-ratio: 1; }
.media-frame::before, .media-frame::after {
  content: ''; position: absolute; width: 48px; height: 48px; z-index: 2;
}
.media-frame::before { top: 20px; left: 20px; border-top: 1px solid var(--gold); border-left: 1px solid var(--gold); }
.media-frame::after { bottom: 20px; right: 20px; border-bottom: 1px solid var(--gold); border-right: 1px solid var(--gold); }

/* ── FEATURE BLOCK ────────────────────────── */
.feature-block { display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: 680px; }
.feature-img { position: relative; overflow: hidden; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter 0.9s, opacity 0.7s; }
.feature-block:hover .feature-img img { transform: scale(1.05); filter: grayscale(18%) contrast(1.05) brightness(1.0) sepia(6%); }
.feature-body {
  background: var(--black-3); padding: 96px 76px;
  display: flex; flex-direction: column; justify-content: center; position: relative;
}
.feature-body::before {
  content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--gold) 0%, transparent 100%);
}

/* ── PROCESS STEPS ────────────────────────── */
.process-steps { display: flex; flex-direction: column; }
.step {
  display: flex; gap: 36px; padding: 42px 0;
  border-bottom: 1px solid rgba(246,243,236,0.06); position: relative;
}
.step-num {
  font-family: var(--font-cond); font-size: 13px; font-weight: 700;
  letter-spacing: 0.2em; color: var(--gold); flex-shrink: 0; width: 36px; padding-top: 5px;
}
.step-content h4 {
  font-family: var(--font-cond); font-size: 17px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); margin-bottom: 10px;
}
.step-content p { font-size: 16px; color: var(--gray-light); line-height: 1.75; }

/* ── MANIFESTO ────────────────────────────── */
.manifesto { text-align: center; padding: 140px 56px; max-width: 980px; margin: 0 auto; }
.manifesto blockquote {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 300; font-style: italic; line-height: 1.28; color: var(--white);
}
.manifesto blockquote em { color: var(--gold-light); font-style: normal; }
.manifesto cite {
  display: block; font-family: var(--font-cond);
  font-size: 13px; font-weight: 600; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--gray-light); margin-top: 40px; font-style: normal;
}

/* ── CTA BAND ─────────────────────────────── */
.cta-band { position: relative; overflow: hidden; min-height: 560px; display: flex; align-items: center; }
.cta-band-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cta-band-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(7,7,7,0.94) 0%, rgba(7,7,7,0.62) 58%, rgba(15,11,3,0.35) 100%);
}
.cta-band-content { position: relative; z-index: 2; padding: 96px; max-width: 880px; }

/* ── ACCORDION ────────────────────────────── */
.accordion { border-top: 1px solid rgba(246,243,236,0.1); }
.acc-item { border-bottom: 1px solid rgba(246,243,236,0.1); overflow: hidden; }
.acc-btn {
  width: 100%; background: none; border: none; color: var(--white); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 0; font-family: var(--font-sans); font-size: 18px; font-weight: 300;
  text-align: left; gap: 24px; transition: color 0.2s;
}
.acc-btn:hover { color: var(--gold-light); }
.acc-icon {
  width: 28px; height: 28px; border: 1px solid rgba(201,168,76,0.4);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--gold); transition: transform 0.35s, background 0.3s, color 0.3s; line-height: 1;
}
.acc-item.open .acc-icon { transform: rotate(45deg); background: var(--gold); color: var(--black); }
.acc-content { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.acc-content-inner { padding: 0 0 30px; font-size: 16px; color: var(--gray-light); line-height: 1.78; max-width: 720px; }
.acc-item.open .acc-content { max-height: 320px; }

/* ── PAGE HERO ────────────────────────────── */
.page-hero {
  position: relative; margin-top: var(--topbar-h);
  height: 62vh; min-height: 480px; display: flex; align-items: flex-end; overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 80% 10%, rgba(201,168,76,0.12), transparent 55%),
    linear-gradient(to bottom, rgba(7,7,7,0.25), rgba(7,7,7,0.9));
}
.page-hero-content { position: relative; z-index: 2; padding: 0 96px 80px; max-width: 1520px; margin: 0 auto; width: 100%; }
.page-hero-content .h-xl { margin: 20px 0 16px; }
.page-hero-content p { font-size: 18px; color: rgba(246,243,236,0.72); max-width: 580px; line-height: 1.7; }

/* ── CONTACT ──────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.contact-line {
  display: flex; gap: 18px; align-items: flex-start;
  margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid rgba(246,243,236,0.07);
}
.contact-line-icon {
  width: 44px; height: 44px; border: 1px solid rgba(201,168,76,0.32);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-line-icon svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.contact-line-text strong {
  display: block; font-family: var(--font-cond); font-size: 12px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 5px;
}
.contact-line-text span { font-size: 17px; color: var(--white); }

.form-group { margin-bottom: 22px; }
.form-group label {
  display: block; font-family: var(--font-cond); font-size: 12px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray-light); margin-bottom: 9px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: rgba(246,243,236,0.04);
  border: 1px solid rgba(246,243,236,0.12); color: var(--white);
  font-family: var(--font-sans); font-size: 16px; font-weight: 300;
  padding: 15px 20px; outline: none; transition: border-color 0.25s; appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 130px; }

/* ── SIDE LINKS ───────────────────────────── */
.side-links { display: flex; flex-direction: column; gap: 2px; }
.side-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 32px; background: var(--black-4); border: 1px solid rgba(246,243,236,0.05);
  font-family: var(--font-cond); font-size: 15px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-pale);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.side-link:hover { background: var(--black-5); border-color: rgba(201,168,76,0.28); color: var(--white); }
.side-link svg { width: 16px; height: 16px; stroke: var(--gold); fill: none; stroke-width: 1.5; flex-shrink: 0; transition: transform 0.25s; }
.side-link:hover svg { transform: translateX(5px); }

/* ── ICON LIST ────────────────────────────── */
.icon-list { display: flex; flex-direction: column; gap: 18px; margin-top: 36px; }
.icon-item { display: flex; gap: 16px; align-items: flex-start; }
.icon-dot { width: 7px; height: 7px; background: var(--gold); flex-shrink: 0; margin-top: 9px; }
.icon-item p { font-size: 16px; color: var(--gray-light); line-height: 1.65; }

/* ── DECORATIVE ───────────────────────────── */
.gold-line { display: block; width: 72px; height: 1px; background: var(--gold); margin: 32px 0; }
.highlight-box { border-left: 2px solid var(--gold); padding: 24px 28px; background: rgba(201,168,76,0.05); margin: 36px 0; }
.highlight-box p { font-family: var(--font-serif); font-size: 23px; font-weight: 400; font-style: italic; color: var(--white); line-height: 1.5; }

/* ── FOOTER ───────────────────────────────── */
.footer { background: var(--black-2); border-top: 1px solid rgba(201,168,76,0.14); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 72px;
  padding: 96px 96px 72px; max-width: 1520px; margin: 0 auto;
}
.footer-brand { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.footer-brand img { width: 52px; height: 52px; object-fit: contain; }
.footer-desc { font-size: 15px; color: var(--gray-mid); line-height: 1.85; max-width: 300px; }
.footer-col h5 {
  font-family: var(--font-cond); font-size: 12px; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 24px;
}
.footer-col a, .footer-col p { display: block; font-size: 15px; color: var(--gray-mid); margin-bottom: 12px; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(246,243,236,0.05); padding: 28px 96px;
  max-width: 1520px; margin: 0 auto; display: flex; justify-content: space-between;
  align-items: center; font-family: var(--font-cond); font-size: 12px; font-weight: 500; letter-spacing: 0.15em; color: var(--gray);
}
.footer-bottom span:last-child { color: var(--gold); opacity: 0.75; }

/* ── SCROLL REVEAL ────────────────────────── */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 1100px) {
  .hero-content { grid-template-columns: 1fr; padding: 0 40px 72px; }
  .hero-panel { display: none; }
  .grid-2 { grid-template-columns: 1fr; gap: 56px; }
  .grid-2.reverse { direction: ltr; }
  .services-mega { grid-template-columns: 1fr 1fr; }
  .stat-bar { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-block { grid-template-columns: 1fr; }
  .feature-img { aspect-ratio: 16/9; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav { padding: 0 40px; }
  .section, .intro-split { padding: 100px 40px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 72px; }
  .nav { padding: 0 22px; }
  .section { padding: 80px 22px; }
  .section-dark, .section-darker { padding: 80px 22px !important; }
  .intro-split { padding: 80px 22px; grid-template-columns: 1fr; gap: 40px; }
  .services-mega { grid-template-columns: 1fr; }
  .svc-card { aspect-ratio: 3/2; }
  .stat-item { padding: 40px 20px; }
  .stat-num { font-size: 48px; }
  .cta-band-content { padding: 64px 28px; }
  .page-hero-content { padding: 0 24px 56px; }
  .footer-grid { grid-template-columns: 1fr; padding: 64px 24px 48px; gap: 44px; }
  .footer-bottom { padding: 22px 24px; flex-direction: column; gap: 10px; text-align: center; }
  .manifesto { padding: 80px 24px; }
  .mobile-toggle { display: flex; }
  .menu {
    display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(7,7,7,0.98); padding: 28px; gap: 26px; border-top: 1px solid rgba(201,168,76,0.2);
  }
  .menu.open { display: flex; }
  .hero { min-height: 600px; }
  .hero h1 { font-size: 46px; }
  .feature-body { padding: 56px 32px; }
  .brand img { width: 46px; height: 46px; }
  .brand-copy strong { font-size: 14px; }
}

/* ============================================
   v9 ADDITIONS — Video hero, sound, parallax
   ============================================ */

/* ── VIDEO HERO ───────────────────────────── */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: grayscale(55%) contrast(1.06) brightness(0.66) sepia(16%) saturate(120%);
}
.hero-poster {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  filter: grayscale(55%) contrast(1.06) brightness(0.66) sepia(16%);
}

/* ── VIDEO BAND (mid-page) ────────────────── */
.video-band {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}
.video-band video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: grayscale(60%) contrast(1.05) brightness(0.55) sepia(18%);
}
.video-band-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(110% 90% at 20% 30%, rgba(201,168,76,0.14), transparent 55%),
    linear-gradient(100deg, rgba(7,7,7,0.92) 0%, rgba(7,7,7,0.55) 55%, rgba(15,11,3,0.4) 100%);
}
.video-band-content {
  position: relative;
  z-index: 2;
  padding: 96px;
  max-width: 820px;
}

/* ── SOUND TOGGLE ─────────────────────────── */
.sound-toggle {
  position: fixed;
  left: 28px;
  bottom: 28px;
  z-index: 940;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(7,7,7,0.7);
  border: 1px solid var(--gold);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.sound-toggle:hover { background: var(--gold); transform: scale(1.06); }
.sound-toggle:hover svg { stroke: var(--black); }
.sound-toggle svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 1.6; transition: stroke 0.3s; }
.sound-toggle .bars { display: flex; align-items: flex-end; gap: 3px; height: 20px; }
.sound-toggle .bars span {
  width: 3px; background: var(--gold);
  animation: sndbar 1s ease-in-out infinite; border-radius: 1px;
}
.sound-toggle:hover .bars span { background: var(--black); }
.sound-toggle .bars span:nth-child(1){ height: 8px;  animation-delay: 0s; }
.sound-toggle .bars span:nth-child(2){ height: 18px; animation-delay: 0.2s; }
.sound-toggle .bars span:nth-child(3){ height: 12px; animation-delay: 0.4s; }
.sound-toggle .bars span:nth-child(4){ height: 16px; animation-delay: 0.1s; }
.sound-toggle.muted .bars span { animation-play-state: paused; height: 6px !important; opacity: 0.5; }
@keyframes sndbar { 0%,100%{ transform: scaleY(0.5); } 50%{ transform: scaleY(1); } }
.sound-toggle .label-on, .sound-toggle .label-off { display: none; }

@media (max-width: 768px) {
  .video-band-content { padding: 64px 28px; }
  .sound-toggle { left: 18px; bottom: 18px; width: 48px; height: 48px; }
  .hero-video, .hero-poster { filter: grayscale(55%) contrast(1.06) brightness(0.6) sepia(16%); }
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .reveal, .ticker-track, .sound-toggle .bars span { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
