﻿/* ═══════════════════════════════════════════════════════════
   V Photonics — Multi-page (white edition adapted from v6)
   ═══════════════════════════════════════════════════════════ */

/* Self-hosted fonts — Inter + Space Grotesk (variable, latin + latin-ext) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../assets/fonts/spacegrotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../assets/fonts/spacegrotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

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

:root {
  --white:        #ffffff;
  --white-soft:   #f9f9f9;
  --white-card:   #f3f3f3;
  --white-card2:  #ebebeb;
  --border:       rgba(0,0,0,0.07);
  --border-mid:   rgba(0,0,0,0.13);
  --border-hi:    rgba(0,0,0,0.26);
  --black:        #000000;
  --black-90:     rgba(0, 0, 0, 0.902);
  --black-60:     rgba(0,0,0,0.55);
  --black-30:     rgba(0,0,0,0.28);
  --black-10:     rgba(0,0,0,0.06);
  --radius:       12px;
  --radius-sm:    8px;
  --transition:   0.3s ease;
  --font-main:    'Inter', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--white);
  color: var(--black);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--black);
  color: var(--white);
}
.btn-primary:hover {
  background: #222;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--border-mid);
}
.btn-outline:hover {
  border-color: var(--black);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ── Section common ────────────────────────────────────────── */
section { padding: 110px 0; }

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black-60);
  border: 1px solid var(--border-mid);
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 24px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 72px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.section-header p { color: var(--black-60); font-size: 1rem; }

/* ═══════════════════════════════════════════════════════════
   NAVBAR (multi-page)
   ═══════════════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 30px 0;
  min-height: 88px;
  box-sizing: border-box;
  transition: all var(--transition);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
/* On hero page, navbar starts transparent */
body.has-hero #navbar:not(.scrolled) {
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-container img {
  height: 1.25rem;
  display: flex;
  align-items: center;
  object-fit: contain; /* KEIN Zuschneiden, KEINE Verzerrung */
}


.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: 3px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--black-60);
  letter-spacing: 0.04em;
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--black); background: var(--black-10); }
.nav-links a.active { color: var(--black); }

.nav-cta {
  background: var(--black) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  font-size: 0.78rem !important;
  padding: 9px 20px !important;
}
.nav-cta:hover { background: #222 !important; color: var(--white) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px; height: 1px;
  background: var(--black);
  transition: all var(--transition);
}

/* ═══════════════════════════════════════════════════════════
   HERO (homepage)
   ═══════════════════════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 0 60px;
  background: var(--white);
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}

.hero-brand {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-v {
  font-family: var(--font-display);
  font-size: calc(clamp(2rem, 5.8vw, 7rem) * 2.5);
  font-weight: 700;
  line-height: 0.74;
  letter-spacing: -0.06em;
  color: var(--black);
  position: relative;
  -webkit-text-stroke: 1px rgba(0,0,0,0.12);
}
.brand-v::after {
  content: 'V';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #000 30%, rgba(0,0,0,0.45) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-lockup {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1em;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.brand-wordmark-top,
.brand-wordmark-bottom {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.8vw, 7rem);
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--black-90);
  line-height: 1.05;
  display: block;
  text-align: left;
}
.brand-wordmark-bottom {
  letter-spacing: 0.28em;
  font-size: calc(clamp(2rem, 5.8vw, 7rem) * 0.75);
}

.brand-line {
  width: 60px;
  height: 1px;
  background: var(--black-30);
  margin: 24px auto;
}

.brand-location {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--black-30);
  font-weight: 500;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  padding: 48px 28px 80px;
}

.hero-tagline {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--black-30);
  margin-bottom: 20px;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 20px;
  color: var(--black-90);
}

.hero-sub {
  font-size: 1rem;
  color: var(--black-60);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.8;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 1;
}
.scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, var(--black), transparent);
  animation: scrollLine 2.2s ease-in-out infinite;
}
.hero-scroll-hint span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
}

/* ═══════════════════════════════════════════════════════════
   PAGE BANNER (inner pages)
   ═══════════════════════════════════════════════════════════ */
.page-banner {
  position: relative;
  padding: 200px 0 90px;
  background: var(--white-soft);
  border-bottom: 1px solid var(--border);
  text-align: center;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.page-banner-inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 28px;
}
.breadcrumbs {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--black-30);
  margin-bottom: 22px;
}
.breadcrumbs a { color: var(--black-60); }
.breadcrumbs a:hover { color: var(--black); }
.page-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--black);
}
.page-banner p {
  margin-top: 22px;
  color: var(--black-60);
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   STATS
   ═══════════════════════════════════════════════════════════ */
#stats {
  padding: 64px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--white-soft);
}

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

.stat-item {
  text-align: center;
  padding: 28px 16px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.04em;
}
.stat-plus {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--black-60);
}
.stat-item p {
  color: var(--black-30);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 6px;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   ABOUT — image slider
   ═══════════════════════════════════════════════════════════ */
.about-section { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.about-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Thumbnail strip below the main slider */
.slider-thumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.thumb-group {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.thumb-spacer {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  min-width: 0;
}
.slider-desc {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--black-60);
  text-align: center;
  font-style: italic;
  letter-spacing: 0.01em;
  transition: opacity 0.25s ease;
}

.thumb-sq {
  width: 56px;
  height: 56px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border-mid);
  flex-shrink: 0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.thumb-sq:hover {
  border-color: var(--border-hi);
  box-shadow: 0 3px 12px rgba(0,0,0,0.14);
}
.thumb-sq img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(40%) brightness(0.75);
  transition: filter 0.35s ease, opacity 0.3s ease;
}
.thumb-sq:hover img {
  filter: grayscale(0%) brightness(1);
}

/* Main slider frame — full width */
.slider-frame {
  position: relative;
  width: 100%;
}

/* Corner-bracket frame around the main slider */
.slider-frame::before,
.slider-frame::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  pointer-events: none;
  z-index: 20;
}
.slider-frame::before {
  top: -8px; left: -8px;
  border-top: 1.5px solid rgba(0,0,0,0.45);
  border-left: 1.5px solid rgba(0,0,0,0.45);
}
.slider-frame::after {
  bottom: -8px; right: -8px;
  border-bottom: 1.5px solid rgba(0,0,0,0.45);
  border-right: 1.5px solid rgba(0,0,0,0.45);
}

/* Slider container */
.about-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0a0a0a;
  cursor: pointer;
  outline: none;
}

/* Soft gradient so dots stay readable over any image */
.about-slider::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 100px;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
  z-index: 5;
  pointer-events: none;
}

/* Slides — stacked, crossfade */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  z-index: 1;
}
.slide.active {
  opacity: 1;
  z-index: 2;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Subtle Ken Burns zoom on the active slide */
.slide.active img {
  animation: about-zoom 5.5s ease-out forwards;
}
@keyframes about-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}

/* Prev / Next arrows — appear on hover */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.88);
  border: none;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.2s ease;
  color: #111;
}
.about-slider:hover .slider-arrow { opacity: 1; }
.slider-arrow:hover { background: #fff; }
.slider-prev { left: 14px; }
.slider-next { right: 14px; }

/* Dot progress bar */
.slider-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}
.slider-dot {
  width: 32px;
  height: 2px;
  background: rgba(255,255,255,0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.2s ease;
}
.slider-dot:hover { background: rgba(255,255,255,0.6); }
.slider-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 0%;
  background: #fff;
}
.slider-dot.active::after {
  animation: dot-fill 5s linear forwards;
}
.about-slider.is-paused .slider-dot.active::after {
  animation-play-state: paused;
}
@keyframes dot-fill {
  from { width: 0%; }
  to   { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .slide.active img { animation: none; }
  .slider-dot.active::after { animation: none; width: 100%; }
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 22px;
}
.about-text p { color: var(--black-60); margin-bottom: 16px; font-size: 0.97rem; font-weight: 300; line-height: 1.8; }

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.about-tags span,
.about-tags .about-tag {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border: 1px solid var(--border-mid);
  color: var(--black-60);
  text-transform: uppercase;
}
.about-tags .about-tag {
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.about-tags .about-tag:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.about-tags .about-tag.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* ═══════════════════════════════════════════════════════════
   SOLUTIONS / FEATURE CARDS
   ═══════════════════════════════════════════════════════════ */
.pioneer-section {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.pioneer-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.pioneer-inner .hero-tagline {
  margin-bottom: 18px;
}
.pioneer-inner h2,
.about-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--black);
  margin-bottom: 24px;
}
.about-subhead {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--black-90);
  line-height: 1.4;
  margin-bottom: 20px;
}
.about-section-header {
  max-width: 820px;
  margin: 0 auto 56px;
  text-align: center;
}
.about-section-header .about-title { margin-bottom: 0; }
.pioneer-sub {
  color: var(--black-60);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
  margin: 0 auto 36px;
  max-width: 720px;
}
.pioneer-inner .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.solutions-section { background: var(--white-soft); }
.has-hero .about-section { background: var(--white-soft); }
.pioneer-section ~ .solutions-section { background: var(--white-soft); }
.pioneer-section ~ .services-section { background: var(--white); }
.pioneer-section ~ .app-section { background: var(--white-soft); }

.solutions-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 2px;
  border: 1px solid var(--border);
}
.solution-card {
  background: var(--white);
  padding: 52px 44px;
  transition: background var(--transition);
  position: relative;
  overflow: hidden;
}
.solution-card:hover { background: var(--white-card); }
.solution-card.featured { border-right: 1px solid var(--border); }

.card-icon { width: 52px; height: 52px; color: var(--black-60); margin-bottom: 28px; }

.solution-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.solution-card p { color: var(--black-60); font-size: 0.93rem; font-weight: 300; line-height: 1.8; margin-bottom: 24px; }

.card-features {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 32px;
}
.card-features li {
  font-size: 0.85rem;
  color: var(--black-60);
  display: flex;
  align-items: center;
  gap: 12px;
}
.card-features li::before {
  content: '';
  width: 16px; height: 1px;
  background: var(--black-30);
  flex-shrink: 0;
}

.card-link {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap var(--transition);
  border-bottom: 1px solid var(--border-mid);
  padding-bottom: 2px;
}
.card-link:hover { gap: 14px; border-color: var(--black); }

/* ═══════════════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════════════ */
.services-section { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  border: 1px solid var(--border);
}
.service-card {
  background: var(--white-soft);
  padding: 44px 40px;
  transition: background var(--transition);
}
.service-card:hover { background: var(--white-card); }

.service-number {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 700;
  color: rgba(0,0,0,0.05);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: -12px;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.service-card p { color: var(--black-60); font-size: 0.9rem; font-weight: 300; line-height: 1.8; margin-bottom: 18px; }

.service-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}
.service-card ul li {
  font-size: 0.85rem;
  color: var(--black-60);
  display: flex;
  gap: 12px;
  align-items: center;
}
.service-card ul li::before {
  content: '';
  width: 14px; height: 1px;
  background: var(--black-30);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   GALLERY STRIP (infinite left→right marquee)
   Each tile = figure with image + title/tag caption.
   Add more tiles by duplicating a <figure class="gallery-item">
   inside BOTH Set A and Set B in the HTML (two copies makes the
   loop seamless).
   ═══════════════════════════════════════════════════════════ */
.gallery-strip-section {
  background: var(--white-soft);
  padding: 0 0 64px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.gallery-strip {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 7%, black 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, black 7%, black 93%, transparent);
}
.gallery-shift {
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}
.gallery-track {
  display: flex;
  gap: 24px;
  width: max-content;
  padding: 4px 0;
  animation: gallery-marquee 48s linear infinite;
}
.gallery-strip:hover .gallery-track { animation-play-state: paused; }

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--black);
  opacity: 0.85;
  transition: opacity 0.2s ease, background 0.2s ease;
}
.gallery-arrow:hover { opacity: 1; background: var(--white); }
.gallery-arrow-prev { left: 14px; }
.gallery-arrow-next { right: 14px; }

/* Content moves left to right — tiles enter from the left edge */
@keyframes gallery-marquee {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.gallery-item {
  flex: 0 0 auto;
  width: 320px;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.08);
  border-color: var(--border-mid);
}

.gallery-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--white-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(40%) contrast(1.02);
  transition: filter 0.6s ease, transform 0.8s ease;
}
.gallery-strip-section--products .gallery-media {
  background:
    linear-gradient(to right, rgba(0,0,0,0.04) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(to bottom, rgba(0,0,0,0.04) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--white);
  padding: 18px;
}
.gallery-strip-section--products .gallery-media::before {
  content: '';
  position: absolute;
  top: 10px; left: 10px;
  width: 14px; height: 14px;
  border-top: 1px solid var(--black-30);
  border-left: 1px solid var(--black-30);
  z-index: 2;
}
.gallery-strip-section--products .gallery-media::after {
  content: '';
  position: absolute;
  bottom: 10px; right: 10px;
  width: 14px; height: 14px;
  border-bottom: 1px solid var(--black-30);
  border-right: 1px solid var(--black-30);
  z-index: 2;
}
.gallery-strip-section--products .gallery-media img {
  object-fit: contain;
  filter: none;
}
.gallery-strip-section--products .gallery-item:hover .gallery-media img {
  transform: scale(1.04);
}
.gallery-strip-section--products .gallery-item[data-target] { cursor: pointer; }
.gallery-item:hover .gallery-media img {
  filter: grayscale(0%) contrast(1);
  transform: scale(1.04);
}

.gallery-item figcaption {
  padding: 14px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-top: 1px solid var(--border);
}
.gallery-tag {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black-30);
  font-weight: 600;
}
.gallery-item figcaption strong {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--black-90);
  line-height: 1.45;
}

/* Placeholder tiles invite future images */
.gallery-item.placeholder .gallery-media {
  background:
    repeating-linear-gradient(-45deg, rgba(0,0,0,0.025) 0 10px, transparent 10px 20px),
    var(--white-soft);
}
.placeholder-graphic {
  width: 56px; height: 56px;
  border: 1px dashed var(--border-hi);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black-30);
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1;
}
.gallery-item.placeholder figcaption strong {
  color: var(--black-60);
  font-weight: 400;
  font-style: italic;
}

@media (prefers-reduced-motion: reduce) {
  .gallery-track { animation: none; }
}

/* ═══════════════════════════════════════════════════════════
   PROCESS
   ═══════════════════════════════════════════════════════════ */
.process-section { background: var(--white-soft); }

.process-steps {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}
.process-steps::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 20px; bottom: 20px;
  width: 1px;
  background: linear-gradient(to bottom, var(--black-30), rgba(0,0,0,0.04));
}
.process-step {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  padding: 24px 0;
}
.step-dot {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-mid);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: border-color var(--transition), background var(--transition);
}
.process-step:hover .step-dot {
  border-color: var(--black);
  background: var(--black);
}
.process-step:hover .step-dot span { color: var(--white); }
.step-dot span {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--black-30);
  letter-spacing: 0.05em;
  transition: color var(--transition);
}
.step-content h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  padding-top: 8px;
}
.step-content p { color: var(--black-60); font-size: 0.88rem; font-weight: 300; line-height: 1.75; }

/* ═══════════════════════════════════════════════════════════
   WHY US / VALUES
   ═══════════════════════════════════════════════════════════ */
.why-section { background: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid var(--border);
}
.why-card {
  background: var(--white-soft);
  padding: 40px 34px;
  transition: background var(--transition);
}
.why-card:hover { background: var(--white-card); }
.why-num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--black-30);
  margin-bottom: 20px;
}
.why-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.why-card p { color: var(--black-60); font-size: 0.87rem; font-weight: 300; line-height: 1.75; }

/* ═══════════════════════════════════════════════════════════
   APPLICATIONS
   ═══════════════════════════════════════════════════════════ */
.app-section { background: var(--white-soft); }

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid var(--border);
}
.app-card {
  background: var(--white);
  padding: 40px 32px;
  transition: background var(--transition);
}
.app-card:hover { background: var(--white-card); }
.app-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.app-card p { color: var(--black-60); font-size: 0.87rem; font-weight: 300; line-height: 1.7; }

/* ═══════════════════════════════════════════════════════════
   PRODUCTS PAGE — uniform image windows (1:1)
   ═══════════════════════════════════════════════════════════ */
.products-section {
  background: var(--white);
  padding: 0;
}

/* Full-bleed alternating bands — every second product sits on a
   subtle monochrome grid so the user sees they've moved on. */
.product-band {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}
.product-band:last-of-type { border-bottom: none; }

.product-band--alt {
  background-color: var(--white-soft);
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.025) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px;
  background-position: 0 0, 0 0;
}

.product-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.product-row.reverse .product-media { order: 2; }

/* Uniform product window — square (matches CoB01's ~1.09 aspect) */
.product-media {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  background: var(--white-soft);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.product-media::before {
  content: '';
  position: absolute;
  top: 14px; left: 14px;
  width: 18px; height: 18px;
  border-top: 1px solid var(--black-30);
  border-left: 1px solid var(--black-30);
}
.product-media::after {
  content: '';
  position: absolute;
  bottom: 14px; right: 14px;
  width: 18px; height: 18px;
  border-bottom: 1px solid var(--black-30);
  border-right: 1px solid var(--black-30);
}
.product-media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Illustrated media (for devices without a real photo, e.g. photodiodes) */
.product-media--glyph {
  background: var(--white-soft);
}
.product-media--glyph svg {
  width: 78%;
  height: 78%;
  display: block;
}

/* Big editorial product index — 01, 02, 03… */
.product-info .product-number {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--black-30);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-feature-settings: "tnum";
}
.product-info .product-number::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--black-30);
  flex: 0 0 auto;
}

.product-info .product-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black-30);
  margin-bottom: 16px;
  display: block;
}
.product-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  line-height: 1.2;
}
.product-info > p {
  color: var(--black-60);
  font-size: 0.97rem;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 26px;
}

.spec-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 32px;
  margin-bottom: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.spec-list div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.spec-list dt {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black-30);
}
.spec-list dd {
  font-size: 0.92rem;
  color: var(--black-90);
  font-weight: 400;
}

.product-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Section anchors offset for fixed nav */
section[id] { scroll-margin-top: 90px; }

/* ═══════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════ */
.contact-section { background: var(--white); }

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 88px;
  align-items: start;
}
.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 16px;
}
.contact-info > p { color: var(--black-60); margin-bottom: 48px; font-size: 0.95rem; font-weight: 300; line-height: 1.8; }

.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.contact-icon {
  width: 42px; height: 42px;
  border: 1px solid var(--border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--black-60);
}
.contact-icon svg { width: 18px; height: 18px; }
.contact-item strong { display: block; font-size: 0.72rem; color: var(--black-30); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 3px; }
.contact-item span { font-size: 0.93rem; color: var(--black-90); font-weight: 300; }

.contact-form {
  background: var(--white-soft);
  border: 1px solid var(--border);
  padding: 44px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--black-30);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
input, select, textarea {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--black);
  font-family: var(--font-main);
  font-size: 0.9rem;
  padding: 13px 16px;
  transition: border-color var(--transition);
  outline: none;
  -webkit-appearance: none;
  border-radius: 0;
  font-weight: 300;
}
input::placeholder, textarea::placeholder { color: var(--black-30); }
input:focus, select:focus, textarea:focus { border-color: var(--black-30); }
select option { background: var(--white); color: var(--black); }
textarea { resize: vertical; min-height: 130px; }

.form-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--black-30);
  letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════════════════════
   CTA BAND
   ═══════════════════════════════════════════════════════════ */
.cta-band {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 96px 28px;
}
.cta-band .section-tag {
  color: rgba(255,255,255,0.65);
  border-color: rgba(255,255,255,0.2);
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--white);
}
.cta-band p {
  color: rgba(255,255,255,0.65);
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto 32px;
}
.cta-band .btn-primary {
  background: var(--white);
  color: var(--black);
}
.cta-band .btn-primary:hover { background: #f3f3f3; color: var(--black); }
.cta-band .btn-outline {
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
}
.cta-band .btn-outline:hover { border-color: var(--white); color: var(--white); }

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
#footer {
  background: var(--white-soft);
  border-top: 1px solid var(--border);
  padding: 80px 0 36px;
}
.footer-top {
  text-align: center;
  margin-bottom: 72px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
}
.footer-logo-large {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 16px;
}
.footer-logo-large .logo-v    { font-size: 1.2em; font-weight: 700; }
.footer-logo-large .logo-dash { color: var(--black-30); font-weight: 200; margin: 0 4px; }
.footer-logo-large .logo-word { font-weight: 300; color: var(--black-90); }

.footer-tagline {
  font-size: 0.82rem;
  color: var(--black-30);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.social-links {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.social-links a {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black-30);
  transition: all var(--transition);
}
.social-links a:hover { border-color: var(--black-60); color: var(--black); }
.social-links svg { width: 18px; height: 18px; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 56px;
}
.footer-col h5 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--black-60);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.87rem;
  color: var(--black-30);
  font-weight: 300;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--black); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.78rem; color: var(--black-30); letter-spacing: 0.06em; margin: 0; }
.footer-legal {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
}
.footer-legal a {
  font-size: 0.78rem;
  color: var(--black-60);
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}
.footer-legal a:hover { color: var(--black); }
@media (max-width: 600px) {
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════ */
@keyframes scrollLine {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  40%  { opacity: 1; transform: scaleY(1); transform-origin: top; }
  80%  { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
  100% { opacity: 0; }
}
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-visual { order: -1; }
  .slider-thumbs { display: none; }

  .solutions-grid { grid-template-columns: 1fr; }
  .solution-card.featured { border-right: none; border-bottom: 1px solid var(--border); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .product-row { grid-template-columns: 1fr; gap: 44px; }
  .product-row.reverse .product-media { order: 0; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 56px; }
}

@media (max-width: 768px) {
  section { padding: 80px 0; }
  .page-banner { padding: 160px 0 70px; }
  .product-band { padding: 72px 0; }
  .product-info .product-number { font-size: 2rem; margin-bottom: 14px; }
  .product-info .product-number::before { width: 28px; }

  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 28px;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  body.has-hero #navbar:not(.scrolled) {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .brand-v { font-size: calc(clamp(1.6rem, 8vw, 3rem) * 2.5); }
  .brand-wordmark-top, .brand-wordmark-bottom { font-size: clamp(1.6rem, 8vw, 3rem); letter-spacing: 0.25em; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-list { gap: 80px; }
  .spec-list { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 480px) {
  .brand-v { font-size: calc(clamp(1.6rem, 8vw, 3rem) * 2.5); }
  .brand-wordmark-top, .brand-wordmark-bottom { letter-spacing: 0.18em; }
  .why-grid { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .thumb-sq { width: 48px; height: 48px; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 22px; }
  .product-media { padding: 18px; }
}

/* ═══════════════════════════════════════════════════════════
   HERO LOGO SVG OVERRIDE — replaces text brand-lockup with SVG
   To revert: delete this entire block.
   ═══════════════════════════════════════════════════════════ */
.brand-lockup {
  background: url('../assets/logos/VerticalPhotonics_Logo_Claim_bright.svg') no-repeat center center;
  background-size: contain;
  width: clamp(280px, 60vw, 720px);
  height: clamp(140px, 30vw, 360px);
  font-size: 0 !important;
}
.brand-lockup > * { display: none !important; }
