/* ===========================================================
   TRIVAR — Design system v2
   Palette sampled directly from the logo:
   #06112d (deep base) → #153e75 (steel) → #356fae (mid chrome)
   → #66aadc (bright chrome) → #a4defa (cyan highlight)
   =========================================================== */

:root {
  /* Logo-derived colors */
  --abyss:    #03091a;   /* deepest base, slightly darker than logo bg */
  --deep:     #06112d;   /* logo background — main canvas */
  --steel-d:  #0a1f47;   /* steel deep */
  --steel:    #153e75;   /* steel core (logo body) */
  --steel-l:  #1f5594;   /* steel light */
  --chrome:   #356fae;   /* mid chrome (the signature metallic) */
  --chrome-l: #5a92cf;   /* chrome lighter */
  --bright:   #66aadc;   /* bright chrome */
  --cyan:     #a4defa;   /* cyan highlight (logo shine) */

  /* Text & UI — kept inside the blue family, no near-white */
  --txt-hi:   #d5ebff;   /* primary text — soft ice */
  --txt-md:   #8fb3d4;   /* secondary text */
  --txt-lo:   #5a7a9c;   /* tertiary / labels */
  --line:     rgba(53, 111, 174, 0.22);
  --line-lt:  rgba(53, 111, 174, 0.12);

  /* Gradients */
  --grad-text:    linear-gradient(180deg, #a4defa 0%, #66aadc 50%, #356fae 100%);
  --grad-hero:    linear-gradient(135deg, #66aadc 0%, #356fae 50%, #153e75 100%);
  --grad-deep:    linear-gradient(180deg, #03091a 0%, #06112d 50%, #0a1f47 100%);
  --grad-chrome:  linear-gradient(135deg, #153e75 0%, #356fae 40%, #66aadc 80%, #a4defa 100%);
  --grad-card:    linear-gradient(180deg, rgba(21, 62, 117, 0.35), rgba(10, 31, 71, 0.15));

  /* Radii */
  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 28px;
  --radius-xl: 40px;

  /* Shadows */
  --shadow-glow: 0 0 70px rgba(53, 111, 174, 0.35);
  --shadow-deep: 0 30px 80px -20px rgba(0, 0, 0, 0.85);
  --shadow-card: 0 24px 60px -28px rgba(0, 0, 0, 0.75);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--abyss);
  color: var(--txt-hi);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ============== ATMOSPHERIC BACKGROUND ============== */
.mesh-bg {
  position: fixed; inset: 0; z-index: -2;
  background: var(--grad-deep);
}
.mesh-bg::before, .mesh-bg::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(140px); opacity: 0.55;
  animation: drift 22s ease-in-out infinite alternate;
}
.mesh-bg::before {
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, var(--steel) 0%, transparent 70%);
  top: -20vw; left: -10vw;
}
.mesh-bg::after {
  width: 55vw; height: 55vw;
  background: radial-gradient(circle, var(--chrome) 0%, transparent 70%);
  bottom: -15vw; right: -10vw;
  opacity: 0.4;
  animation-delay: -10s;
}
@keyframes drift {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(40px,-30px) scale(1.15); }
}

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

.container { max-width: 1280px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }

/* ============== NAV ============== */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  background: rgba(3, 9, 26, 0.72);
  border-bottom: 1px solid var(--line);
}
nav.site-nav .inner {
  max-width: 1280px; margin: 0 auto;
  padding: 18px clamp(20px, 4vw, 48px);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.nav-brand img {
  width: 38px; height: 38px;
  filter: drop-shadow(0 0 12px rgba(102, 170, 220, 0.55));
}
.nav-brand .name {
  font-weight: 800; font-size: 18px; letter-spacing: 0.18em;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  color: var(--txt-md); text-decoration: none;
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.04em; transition: color 0.2s;
  position: relative;
}
.nav-links a.active { color: var(--cyan); }
.nav-links a:hover { color: var(--bright); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  height: 1px; width: 0; background: var(--bright);
  transition: width 0.3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  padding: 10px 22px; border-radius: 100px;
  background: linear-gradient(135deg, var(--chrome), var(--steel));
  color: var(--txt-hi); font-weight: 600; font-size: 14px;
  border: 1px solid rgba(102, 170, 220, 0.35);
  box-shadow: 0 0 0 1px rgba(164, 222, 250, 0.08) inset, 0 8px 24px rgba(53, 111, 174, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(164, 222, 250, 0.2) inset, 0 12px 32px rgba(53, 111, 174, 0.6);
}

/* Language toggle */
.lang-toggle {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 4px; border-radius: 100px;
  background: rgba(21, 62, 117, 0.25);
  border: 1px solid var(--line);
  margin-right: 8px;
}
.lang-toggle button {
  background: none; border: none; cursor: pointer;
  padding: 6px 12px; border-radius: 100px;
  font-family: inherit; font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; color: var(--txt-lo);
  transition: all 0.2s;
}
.lang-toggle button:hover { color: var(--bright); }
.lang-toggle button.active {
  background: linear-gradient(135deg, var(--chrome), var(--steel));
  color: var(--txt-hi);
  box-shadow: inset 0 1px 0 rgba(164, 222, 250, 0.2);
}
@media (max-width: 1080px) {
  .lang-toggle { margin: 12px clamp(20px, 4vw, 48px) 0; align-self: flex-start; }
}

/* Mobile burger */
.nav-burger {
  display: none; background: none; border: none; cursor: pointer;
  width: 36px; height: 36px; align-items: center; justify-content: center;
}
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--bright); border-radius: 2px;
  position: relative; transition: all 0.3s;
}
.nav-burger span::before, .nav-burger span::after {
  content: ''; position: absolute; left: 0;
  width: 22px; height: 2px; background: var(--bright); border-radius: 2px;
  transition: all 0.3s;
}
.nav-burger span::before { top: -7px; }
.nav-burger span::after  { top:  7px; }
.nav-burger.open span { background: transparent; }
.nav-burger.open span::before { top: 0; transform: rotate(45deg); }
.nav-burger.open span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-burger { display: flex; }
  .nav-links {
    position: fixed; top: 73px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(3, 9, 26, 0.96);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--line);
    padding: 0; max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease;
  }
  .nav-links.open { max-height: 600px; padding: 24px 0; }
  .nav-links a {
    width: 100%; padding: 14px clamp(20px, 4vw, 48px);
    border-bottom: 1px solid var(--line-lt);
    font-size: 16px;
  }
  .nav-links a::after { display: none; }
  .nav-links .nav-cta {
    margin: 12px clamp(20px, 4vw, 48px);
    width: calc(100% - clamp(40px, 8vw, 96px));
    text-align: center; border-bottom: none;
  }
}

/* ============== TYPOGRAPHY HELPERS ============== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 100px;
  background: rgba(53, 111, 174, 0.15);
  border: 1px solid rgba(102, 170, 220, 0.35);
  font-size: 13px; font-weight: 500; letter-spacing: 0.1em;
  color: var(--cyan); text-transform: uppercase;
}
.eyebrow .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: #4ade80;
  box-shadow: 0 0 12px #4ade80;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.3); }
}

.section-eyebrow {
  font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--bright); font-weight: 600;
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 20px;
}
.section-eyebrow::before {
  content: ''; width: 32px; height: 1px; background: var(--bright);
}
.section-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 200; line-height: 1.05;
  letter-spacing: -0.03em; margin-bottom: 24px;
  max-width: 820px;
  color: var(--txt-hi);
}
.section-title b {
  font-weight: 800;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-lede {
  font-size: 18px; color: var(--txt-md);
  max-width: 640px; margin-bottom: 64px;
}

section { padding: 120px 0; position: relative; }

/* ============== BUTTONS ============== */
.btn-primary, .btn-ghost {
  padding: 16px 32px; border-radius: 100px;
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
  border: none; display: inline-flex; align-items: center; gap: 10px;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  letter-spacing: 0.02em;
}
.btn-primary {
  background: linear-gradient(135deg, var(--bright) 0%, var(--chrome) 60%, var(--steel) 100%);
  color: var(--abyss);
  box-shadow: 0 10px 30px -5px rgba(53, 111, 174, 0.6), inset 0 1px 0 rgba(164, 222, 250, 0.45);
  font-weight: 700;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 50px -5px rgba(53, 111, 174, 0.8), inset 0 1px 0 rgba(164, 222, 250, 0.55);
}
.btn-ghost {
  background: rgba(53, 111, 174, 0.1);
  color: var(--cyan);
  border: 1px solid rgba(102, 170, 220, 0.3);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(53, 111, 174, 0.18);
  border-color: rgba(102, 170, 220, 0.55);
  color: var(--bright);
}
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============== STATS BAND ============== */
.stats-band {
  margin: 60px 0; padding: 60px clamp(24px, 5vw, 80px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 0% 0%, rgba(53, 111, 174, 0.22), transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(102, 170, 220, 0.15), transparent 50%),
    rgba(10, 31, 71, 0.55);
  border: 1px solid var(--line);
  backdrop-filter: blur(20px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
  box-shadow: var(--shadow-card);
}
@media (max-width: 820px) {
  .stats-band { grid-template-columns: repeat(2,1fr); gap: 32px; padding: 40px 24px; }
}
.stat-item { text-align: center; }
.stat-item .big {
  font-size: clamp(36px, 4.5vw, 56px); font-weight: 800;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1; letter-spacing: -0.02em;
}
.stat-item .label {
  margin-top: 12px; font-size: 13px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--txt-lo);
}

/* ============== GLASS CARD ============== */
.glass-card {
  position: relative; padding: 36px 32px;
  border-radius: var(--radius-l);
  background: var(--grad-card);
  border: 1px solid var(--line);
  backdrop-filter: blur(20px);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  box-shadow: var(--shadow-card);
}
.glass-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,0%), rgba(102, 170, 220, 0.18), transparent 50%);
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.glass-card:hover {
  border-color: rgba(102, 170, 220, 0.55);
  transform: translateY(-4px);
  box-shadow: 0 30px 70px -28px rgba(0,0,0,0.85), 0 0 60px -20px rgba(53, 111, 174, 0.4);
}
.glass-card:hover::before { opacity: 1; }

.glass-icon {
  width: 56px; height: 56px; border-radius: var(--radius-m);
  background: linear-gradient(135deg, var(--steel), var(--chrome));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  box-shadow: inset 0 1px 0 rgba(164, 222, 250, 0.3), 0 8px 20px rgba(53, 111, 174, 0.4);
}
.glass-icon svg { width: 28px; height: 28px; stroke: var(--cyan); fill: none; stroke-width: 1.8; }

.glass-card h3 {
  font-size: 22px; font-weight: 700; margin-bottom: 12px;
  color: var(--txt-hi); letter-spacing: -0.01em;
}
.glass-card p { color: var(--txt-md); font-size: 15px; line-height: 1.65; }

/* ============== CHECK LIST ============== */
.check-list { list-style: none; }
.check-list li {
  padding: 8px 0; padding-left: 28px; position: relative;
  font-size: 14px; color: var(--txt-md);
}
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 18px; height: 18px;
  background: linear-gradient(135deg, var(--bright), var(--cyan));
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 13l4 4L19 7' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
          mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 13l4 4L19 7' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
}

/* ============== FINAL CTA ============== */
.final-cta { padding: 100px 0; text-align: center; }
.final-cta-card {
  padding: 80px clamp(24px, 5vw, 80px); border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% 0%, rgba(102, 170, 220, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(21, 62, 117, 0.22), rgba(3, 9, 26, 0.7));
  border: 1px solid rgba(102, 170, 220, 0.35);
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-card);
}
.final-cta-card::after {
  content: ''; position: absolute; inset: 0;
  background-image: url('trivar-logo.png');
  background-size: 600px; background-repeat: no-repeat; background-position: center;
  opacity: 0.05; pointer-events: none;
}
.final-cta h2 {
  font-size: clamp(36px, 5vw, 64px); font-weight: 200; line-height: 1.05;
  letter-spacing: -0.03em; margin-bottom: 24px; position: relative;
  color: var(--txt-hi);
}
.final-cta h2 b {
  font-weight: 800;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.final-cta p {
  font-size: 18px; color: var(--txt-md);
  max-width: 560px; margin: 0 auto 40px; position: relative;
}
.final-cta .cta-row { justify-content: center; position: relative; }

/* ============== FOOTER ============== */
footer.site-footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--line);
  background: rgba(3, 9, 26, 0.4);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px;
  margin-bottom: 48px;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
.footer-brand img {
  width: 48px; height: 48px; margin-bottom: 16px;
  filter: drop-shadow(0 0 14px rgba(102, 170, 220, 0.5));
}
.footer-brand p {
  font-size: 14px; color: var(--txt-md);
  max-width: 320px; line-height: 1.6;
}
.footer-brand strong { color: var(--bright); }
.footer-col h5 {
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--bright); font-weight: 700; margin-bottom: 18px;
}
.footer-col a {
  display: block; padding: 6px 0;
  color: var(--txt-md); text-decoration: none;
  font-size: 14px; transition: color 0.2s;
}
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--line-lt);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 13px; color: var(--txt-lo);
}

/* ============== REVEAL ============== */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: all 0.9s cubic-bezier(0.4,0,0.2,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============== ANIMATIONS ============== */
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } from { opacity: 0; transform: translateY(20px); } }
@keyframes fadeIn { to { opacity: 1; } }
.fade-1 { opacity: 0; animation: fadeUp 0.9s ease 0.1s forwards; }
.fade-2 { opacity: 0; animation: fadeUp 0.9s ease 0.25s forwards; }
.fade-3 { opacity: 0; animation: fadeUp 0.9s ease 0.4s forwards; }
.fade-4 { opacity: 0; animation: fadeUp 0.9s ease 0.55s forwards; }
.fade-5 { opacity: 0; animation: fadeUp 0.9s ease 0.7s forwards; }

/* ============== SCROLLBAR ============== */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--abyss); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--chrome), var(--steel));
  border-radius: 100px;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--bright), var(--chrome)); }

/* ============== TEXT SELECTION ============== */
::selection { background: rgba(102, 170, 220, 0.35); color: var(--cyan); }


/* ============================================================
   ROYALTY-FREE IMAGE FRAMES — added April 2026
   Sourced from Pexels (free for commercial use, no attribution)
   ============================================================ */

.media-section {
  padding: 80px 0;
  position: relative;
}

.media-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.media-grid.reverse { grid-template-columns: 1fr 1.05fr; }
.media-grid.reverse .media-frame { order: 1; }
.media-grid.reverse .media-text  { order: 2; }
@media (max-width: 880px) {
  .media-grid, .media-grid.reverse { grid-template-columns: 1fr; gap: 32px; }
  .media-grid.reverse .media-frame { order: 0; }
  .media-grid.reverse .media-text  { order: 1; }
}

.media-frame {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid rgba(102, 170, 220, 0.2);
  box-shadow:
    0 28px 60px -28px rgba(53, 111, 174, 0.45),
    inset 0 1px 0 rgba(164, 222, 250, 0.12);
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, rgba(10, 31, 71, 0.4), rgba(53, 111, 174, 0.12));
}
.media-frame img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  filter: saturate(0.88) brightness(0.92) contrast(1.02);
  transition: transform 0.8s cubic-bezier(.2,.7,.2,1), filter 0.6s;
}
.media-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at top right, rgba(53, 111, 174, 0.25) 0%, transparent 55%),
    linear-gradient(180deg, transparent 55%, rgba(3, 9, 26, 0.55) 100%);
  mix-blend-mode: multiply;
}
.media-frame::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(164, 222, 250, 0.18),
    inset 0 0 80px rgba(3, 9, 26, 0.4);
}
.media-frame:hover img { transform: scale(1.04); filter: saturate(1) brightness(1) contrast(1.05); }

.media-text { color: var(--txt-md); }
.media-text .eyebrow { margin-bottom: 16px; }
.media-text h3 {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 700; color: var(--txt-hi);
  letter-spacing: -0.02em; line-height: 1.15;
  margin-bottom: 16px;
}
.media-text h3 b {
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.media-text p {
  font-size: 15.5px; line-height: 1.75; color: var(--txt-md);
  margin-bottom: 12px;
}

/* Triple visual band — three images side by side (used on part-time-jobs) */
.media-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
@media (max-width: 880px) { .media-trio { grid-template-columns: 1fr; } }
.media-trio .media-frame { aspect-ratio: 3/4; }
.media-trio .media-caption {
  position: absolute; left: 16px; bottom: 14px; z-index: 3;
  font-size: 13px; font-weight: 700; color: var(--txt-hi);
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 100px;
  background: rgba(3, 9, 26, 0.7); backdrop-filter: blur(8px);
  border: 1px solid rgba(164, 222, 250, 0.25);
}

/* Hero-accent image — small floating image next to hero */
.hero-accent-image {
  position: absolute; right: 0; bottom: -40px;
  width: 320px; max-width: 38vw; aspect-ratio: 4/5;
  border-radius: var(--radius-l); overflow: hidden;
  border: 1px solid rgba(102, 170, 220, 0.25);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
  z-index: 2;
}
.hero-accent-image img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.85) brightness(0.85) contrast(1.05);
}
@media (max-width: 880px) { .hero-accent-image { display: none; } }

/* Wide cinematic banner image — used on contact/Essen */
.banner-image {
  position: relative; width: 100%; aspect-ratio: 21/9;
  border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 32px 70px -30px rgba(53, 111, 174, 0.35);
  margin-top: 40px;
}
.banner-image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(0.7) brightness(0.7) contrast(1.05) hue-rotate(-8deg);
}
.banner-image::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 9, 26, 0.0) 50%, rgba(3, 9, 26, 0.85) 100%),
    linear-gradient(90deg, rgba(3, 9, 26, 0.55) 0%, transparent 50%);
  pointer-events: none;
}
.banner-image .caption {
  position: absolute; left: clamp(20px, 4vw, 40px); bottom: clamp(20px, 4vw, 40px);
  color: var(--txt-hi); z-index: 2;
  max-width: 60%;
}
.banner-image .caption .label {
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--cyan); font-weight: 700; margin-bottom: 8px;
}
.banner-image .caption .title {
  font-size: clamp(20px, 2.6vw, 32px); font-weight: 700;
  letter-spacing: -0.01em;
}


/* ============================================================
   HERO PHOTO — added April 2026
   Photographic hero panel that replaces or layers behind the brand logo
   ============================================================ */

.hero-photo {
  position: absolute; inset: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(102, 170, 220, 0.25);
  box-shadow:
    0 50px 100px -30px rgba(0, 0, 0, 0.65),
    0 30px 60px -25px rgba(53, 111, 174, 0.4),
    inset 0 1px 0 rgba(164, 222, 250, 0.18);
  z-index: 0;
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  filter: saturate(0.7) brightness(0.78) contrast(1.05) hue-rotate(-12deg);
  transform: scale(1.02);
  animation: heroSlowZoom 16s ease-in-out infinite alternate;
}
@keyframes heroSlowZoom {
  0%   { transform: scale(1.02) translateY(0); }
  100% { transform: scale(1.08) translateY(-1.5%); }
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(53, 111, 174, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(102, 170, 220, 0.3) 0%, transparent 60%),
    linear-gradient(160deg, rgba(3, 9, 26, 0.55) 0%, transparent 35%, rgba(3, 9, 26, 0.65) 100%);
}
.hero-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 120px rgba(3, 9, 26, 0.55);
}

/* When .hero-visual contains both .hero-photo and .hero-logo:
   the photo sits in the back, the logo floats at center */
.hero-visual:has(.hero-photo) .hero-logo {
  position: absolute;
  inset: 28%;
  z-index: 3;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.7))
          drop-shadow(0 0 40px rgba(102, 170, 220, 0.6));
}
.hero-visual:has(.hero-photo) .ring {
  z-index: 2;
  border-color: rgba(164, 222, 250, 0.4);
  box-shadow: 0 0 30px rgba(102, 170, 220, 0.2);
}
