/*
Theme Name:  Proxecto
Theme URI:   https://proxecto.nl
Author:      Proxecto Engineering Bureau
Author URI:  https://proxecto.nl
Description: Professional bilingual engineering theme for Proxecto. Features light design, bilingual NL/EN toggle, dedicated product pages (HyPE & ORCA), services grid, and flexible page templates.
Version:     1.8.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: proxecto
Tags: engineering, professional, bilingual, light, one-page, responsive
*/

/* ═══════════════════════════════════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════════════════════════════════ */
:root {
  /* Light palette */
  --white:       #ffffff;
  --snow:        #f7f9fb;
  --cloud:       #eef2f7;
  --mist:        #dce6ef;
  --steel-light: #b8cdd9;

  /* Ink */
  --ink:         #13212f;
  --ink-mid:     #2b3d50;
  --ink-soft:    #4a617a;
  --ink-muted:   #7a96ae;

  /* Brand blues */
  --ocean:       #1e6aad;
  --azure:       #2d7ec4;
  --sky:         #4091d7;
  --sky-light:   #d6e9f7;

  /* Accent */
  --spark:       #f5a623;
  --ember:       #e8891a;
  --spark-light: #fef3df;

  /* Green (ORCA) */
  --moss:        #1e6b46;
  --fern:        #29925f;
  --fern-light:  #d4f0e4;

  /* UI */
  --radius:      3px;
  --shadow-sm:   0 1px 4px rgba(19,33,47,0.07);
  --shadow-md:   0 4px 16px rgba(19,33,47,0.10);
  --shadow-lg:   0 12px 40px rgba(19,33,47,0.12);
  --border:      1px solid var(--mist);
  --transition:  0.22s ease;
}

/* ═══════════════════════════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--white);
  color: var(--ink);
  font-family: 'Crimson Pro', 'Georgia', serif;
  font-size: 1.1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--azure); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--ocean); }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Exo 2', 'Segoe UI', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.02em;
}

/* ═══════════════════════════════════════════════════════════════════════
   UTILITY
═══════════════════════════════════════════════════════════════════════ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5vw;
}

.container--wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5vw;
}

.mono { font-family: 'JetBrains Mono', 'Courier New', monospace; }

.section-pad { padding: 96px 0; }

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--sky);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.75rem;
}

.section-label::after {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: var(--mist);
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 1rem;
}

.section-title em {
  font-style: normal;
  color: var(--azure);
}

.section-intro {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 560px;
  font-weight: 300;
}

/* Fade-in animation */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-block;
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 30px;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn--primary {
  background: var(--spark);
  color: var(--ink);
}
.btn--primary:hover {
  background: var(--ember);
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(245,166,35,0.35);
}

.btn--ocean {
  background: var(--ocean);
  color: var(--white);
}
.btn--ocean:hover {
  background: var(--azure);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(26,91,138,0.3);
}

.btn--outline {
  background: transparent;
  border: 1.5px solid var(--azure);
  color: var(--azure);
}
.btn--outline:hover {
  background: var(--sky-light);
  color: var(--ocean);
  transform: translateY(-1px);
}

.btn--outline-green {
  background: transparent;
  border: 1.5px solid var(--fern);
  color: var(--fern);
}
.btn--outline-green:hover {
  background: var(--fern-light);
  color: var(--moss);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════════════════ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 66px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mist);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

#site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.logo-type {
  font-family: 'Exo 2', sans-serif;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
}

.logo-type span { color: var(--sky); }

.logo-tagline {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem;
  color: var(--ink-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Main nav */
.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav a {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color var(--transition);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}

.main-nav a:hover,
.main-nav .current-menu-item > a {
  color: var(--azure);
  border-bottom-color: var(--sky);
}

/* Language toggle */
.lang-toggle {
  display: flex;
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  overflow: hidden;
}

.lang-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 500;
  padding: 5px 10px;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--ink-muted);
  transition: all var(--transition);
  letter-spacing: 0.06em;
}

.lang-btn.is-active {
  background: var(--ocean);
  color: var(--white);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ═══════════════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  background: var(--snow);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,91,138,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,91,138,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 90% at 60% 40%, black 30%, transparent 80%);
}

.hero-glow {
  position: absolute;
  top: -15%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  background: radial-gradient(ellipse, rgba(46,159,212,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 740px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: var(--sky);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
  content: '';
  width: 28px;
  height: 1.5px;
  background: var(--sky);
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 900;
  line-height: 1.02;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: normal;
  color: var(--azure);
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 540px;
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Hero statistics */
.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 2rem;
  border-top: 1px solid var(--mist);
  flex-wrap: wrap;
}

.hero-stat-num {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--ocean);
  line-height: 1;
}

.hero-stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  color: var(--ink-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 3px;
}

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

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

.about-text p {
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
  font-size: 1.05rem;
  font-weight: 300;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1.8rem;
}

.tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  padding: 5px 12px;
  background: var(--sky-light);
  border: 1px solid rgba(46,159,212,0.25);
  color: var(--ocean);
  border-radius: 2px;
  text-transform: uppercase;
}

/* About sidebar card */
.about-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.competence-card {
  background: var(--snow);
  border: var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
}

.competence-card h4 {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 16px;
}

.competence-list {
  list-style: none;
}

.competence-list li {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--ink-soft);
  padding: 7px 0;
  border-bottom: 1px solid var(--mist);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.02em;
}

.competence-list li:last-child { border-bottom: none; }

.competence-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky);
  flex-shrink: 0;
}

.highlight-card {
  background: var(--ocean);
  border-radius: var(--radius);
  padding: 24px 28px;
  color: var(--white);
}

.highlight-card .big-num {
  font-family: 'Exo 2', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--spark);
  line-height: 1;
}

.highlight-card .big-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.1em;
  margin-top: 4px;
}

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.service-card {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--azure), var(--sky));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.service-card:hover::after { transform: scaleX(1); }

.service-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  color: var(--ink-muted);
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.service-icon {
  width: 40px;
  height: 40px;
  color: var(--azure);
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}

.service-card p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.7;
  font-weight: 300;
}

/* ═══════════════════════════════════════════════════════════════════════
   STANDARDS STRIP
═══════════════════════════════════════════════════════════════════════ */
.standards-strip {
  background: var(--ink);
  padding: 48px 0;
}

.standards-strip-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  color: var(--ink-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 20px;
}

.standards-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.std-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem;
  padding: 6px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.65);
  border-radius: 2px;
  letter-spacing: 0.06em;
  transition: all var(--transition);
}
.std-chip:hover {
  border-color: var(--sky);
  color: var(--sky);
}

/* ═══════════════════════════════════════════════════════════════════════
   PRODUCTS (homepage teaser)
═══════════════════════════════════════════════════════════════════════ */
.products-section { background: var(--white); }

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.product-teaser {
  border-radius: var(--radius);
  overflow: hidden;
  border: var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.product-teaser:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-teaser-visual {
  height: 200px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-teaser-visual.hype-vis {
  background: linear-gradient(135deg, #e8f4fb 0%, #c8e4f4 50%, #a8d3ec 100%);
}
.product-teaser-visual.orca-vis {
  background: linear-gradient(135deg, #e4f4ec 0%, #c4e8d4 50%, #a4dcc0 100%);
}

.product-teaser-badge {
  font-family: 'Exo 2', sans-serif;
  font-size: 4.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  opacity: 0.15;
  position: absolute;
  user-select: none;
}
.hype-vis .product-teaser-badge { color: var(--ocean); }
.orca-vis .product-teaser-badge { color: var(--moss); }

/* Molecule animation */
.vis-anim {
  position: relative;
  z-index: 1;
}

.mol-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.mol-ring-1 {
  width: 120px; height: 120px;
  border-color: rgba(26,91,138,0.2);
  animation: spin 18s linear infinite;
}
.mol-ring-2 {
  width: 75px; height: 75px;
  border-color: rgba(26,91,138,0.35);
  animation: spin 12s linear infinite reverse;
}
.mol-core {
  width: 22px; height: 22px;
  background: var(--azure);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(26,91,138,0.3);
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes spin { from { transform: translate(-50%,-50%) rotate(0deg); } to { transform: translate(-50%,-50%) rotate(360deg); } }

/* Flow lines for ORCA */
.flow-lines {
  position: relative;
  z-index: 1;
  width: 140px;
  height: 80px;
}
.flow-line {
  position: absolute;
  left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--fern), transparent);
  border-radius: 2px;
}
.flow-line:nth-child(1) { top: 10px; animation: flow 2.2s ease-in-out infinite; }
.flow-line:nth-child(2) { top: 38px; animation: flow 2.2s ease-in-out 0.5s infinite; }
.flow-line:nth-child(3) { top: 66px; animation: flow 2.2s ease-in-out 1s infinite; }
@keyframes flow { 0%,100% { opacity: 0.2; } 50% { opacity: 1; } }

.product-teaser-body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-teaser-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.hype-kicker { color: var(--azure); }
.orca-kicker { color: var(--fern); }

.product-teaser-body h3 {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 4px;
}

.product-teaser-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.product-teaser-body p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.7;
  font-weight: 300;
  flex: 1;
  margin-bottom: 20px;
}

/* ═══════════════════════════════════════════════════════════════════════
   PRODUCT DETAIL PAGE (page-hype.php / page-orca.php)
═══════════════════════════════════════════════════════════════════════ */
.product-hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.product-hero.hype-hero { background: linear-gradient(135deg, #f0f8ff 0%, #daeef9 60%, #c4e3f5 100%); }
.product-hero.orca-hero { background: linear-gradient(135deg, #f0f9f5 0%, #d4efdf 60%, #b8e5cc 100%); }

.product-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.product-hero-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hype-hero .product-hero-kicker { color: var(--azure); }
.orca-hero .product-hero-kicker { color: var(--fern); }

.product-hero h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.product-hero-subtitle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.6rem;
  text-transform: uppercase;
}
.hype-hero .product-hero-subtitle { color: var(--azure); }
.orca-hero .product-hero-subtitle { color: var(--fern); }

.product-hero p {
  font-size: 1.1rem;
  color: var(--ink-soft);
  font-weight: 300;
  line-height: 1.85;
  margin-bottom: 2rem;
  max-width: 520px;
}

.product-visual-large {
  height: 380px;
  border-radius: var(--radius);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hype-hero .product-visual-large { background: rgba(26,91,138,0.08); border: 1px solid rgba(26,91,138,0.15); }
.orca-hero .product-visual-large { background: rgba(30,107,70,0.08); border: 1px solid rgba(30,107,70,0.15); }

.product-big-badge {
  font-family: 'Exo 2', sans-serif;
  font-size: 8rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  position: absolute;
  opacity: 0.07;
  user-select: none;
}
.hype-hero .product-big-badge { color: var(--ocean); }
.orca-hero .product-big-badge { color: var(--moss); }

/* Spec table on product pages */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 2rem 0;
}

.spec-row {
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 18px;
  border-left: 3px solid;
  box-shadow: var(--shadow-sm);
}
.spec-row.hype-row { border-color: var(--azure); }
.spec-row.orca-row { border-color: var(--fern); }

.spec-row dt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem;
  color: var(--ink-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.spec-row dd {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}

/* Content sections on product pages */
.content-section { background: var(--white); }
.content-section.alt { background: var(--snow); }

.content-two-col {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 64px;
  align-items: start;
}

.content-two-col.reversed { direction: rtl; }
.content-two-col.reversed > * { direction: ltr; }

.feature-list {
  list-style: none;
  margin-top: 1.5rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--mist);
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.feature-list li:last-child { border-bottom: none; }

.feature-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}
.hype-features li::before { background: var(--azure); }
.orca-features li::before { background: var(--fern); }

.sidebar-card {
  background: var(--snow);
  border: var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.sidebar-card h4 {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 16px;
}

/* Status badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}
.status-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  animation: pulse-dot 1.8s ease-in-out infinite;
}
.status-rd { background: var(--spark-light); color: var(--ember); }
.status-rd::before { background: var(--spark); }
.status-active { background: var(--fern-light); color: var(--moss); }
.status-active::before { background: var(--fern); }
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

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

.contact-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 64px;
  align-items: start;
  margin-top: 48px;
}

.contact-form-wrap { display: flex; flex-direction: column; gap: 16px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  color: var(--ink-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-input, .form-select, .form-textarea {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: 11px 16px;
  color: var(--ink);
  font-family: 'Crimson Pro', serif;
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--azure);
  box-shadow: 0 0 0 3px rgba(46,159,212,0.12);
}
.form-select { appearance: none; cursor: pointer; }
.form-textarea { resize: vertical; min-height: 130px; }

.contact-info-card {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.contact-info-card h3 {
  font-size: 1rem;
  margin-bottom: 20px;
}

.contact-detail {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--mist);
  align-items: flex-start;
}
.contact-detail:last-of-type { border-bottom: none; }

.contact-icon {
  width: 18px;
  color: var(--azure);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-key {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem;
  color: var(--ink-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.contact-val {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* ═══════════════════════════════════════════════════════════════════════
   GENERIC PAGE & SINGLE POST
═══════════════════════════════════════════════════════════════════════ */
.page-banner {
  padding: 120px 0 60px;
  background: var(--snow);
  border-bottom: var(--border);
}

.page-banner h1 { font-size: clamp(1.8rem, 4vw, 3rem); }

.entry-content {
  padding: 64px 0;
  max-width: 760px;
}

.entry-content h2 { font-size: 1.6rem; margin: 2rem 0 0.8rem; }
.entry-content h3 { font-size: 1.25rem; margin: 1.5rem 0 0.6rem; color: var(--azure); }
.entry-content p { margin-bottom: 1.2rem; color: var(--ink-soft); }
.entry-content ul, .entry-content ol { margin: 0 0 1.2rem 1.5rem; color: var(--ink-soft); }
.entry-content li { margin-bottom: 0.4rem; }
.entry-content blockquote {
  border-left: 3px solid var(--sky);
  padding: 12px 20px;
  margin: 1.5rem 0;
  background: var(--sky-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--ink-soft);
}

/* ═══════════════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════════════ */
#site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.55);
  padding: 56px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 28px;
}

.footer-brand .logo-type { color: var(--white); }
.footer-brand .logo-tagline { color: rgba(255,255,255,0.35); }

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-top: 12px;
  color: rgba(255,255,255,0.45);
  font-weight: 300;
}

.footer-col h5 {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--sky); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.06em;
}

.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-bottom-links a:hover { color: var(--sky); }

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .product-hero-inner { grid-template-columns: 1fr; }
  .product-visual-large { display: none; }
}

@media (max-width: 768px) {
  .about-layout { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .content-two-col { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .main-nav, .lang-toggle { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.is-open {
    display: block;
    position: absolute;
    top: 66px; left: 0; right: 0;
    background: var(--white);
    border-bottom: var(--border);
    padding: 16px 5vw 24px;
    box-shadow: var(--shadow-md);
  }
  .main-nav.is-open ul { flex-direction: column; gap: 0; }
  .main-nav.is-open a { display: block; padding: 10px 0; border-bottom: 1px solid var(--mist); }
  .lang-toggle.is-open { display: flex; margin-top: 12px; }
  .hero-stats { gap: 24px; }
}

@media (max-width: 580px) {
  .services-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

/* ═══════════════════════════════════════════════════════════════════════
   LOGO IMAGE
═══════════════════════════════════════════════════════════════════════ */
.logo-img {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Invert logo for dark footer */
#site-footer .logo-img {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

/* ═══════════════════════════════════════════════════════════════════════
   ABOUT PHOTO
═══════════════════════════════════════════════════════════════════════ */
.about-photo-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: var(--border);
  box-shadow: var(--shadow-md);
}

.about-photo {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.about-photo-placeholder {
  height: 200px;
  background: var(--cloud);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--ink-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
}

/* ═══════════════════════════════════════════════════════════════════════
   IMAGE SECTIONS (homepage between blocks)
═══════════════════════════════════════════════════════════════════════ */
.image-band {
  height: 380px;
  position: relative;
  overflow: hidden;
  background: var(--cloud);
}

.image-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.image-band-placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  background: linear-gradient(135deg, var(--cloud) 0%, var(--mist) 100%);
  color: var(--ink-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.image-band-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.92) 0%,
    rgba(255,255,255,0.6) 40%,
    transparent 100%
  );
  display: flex;
  align-items: center;
}

.image-band-caption {
  padding: 0 5vw;
  max-width: 520px;
}

.image-band-caption .section-label { margin-bottom: 0.5rem; }
.image-band-caption h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
.image-band-caption p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-weight: 300;
  margin-top: 0.8rem;
}

/* ═══════════════════════════════════════════════════════════════════════
   SERVICES — icon image support
═══════════════════════════════════════════════════════════════════════ */
.service-card .service-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 16px;
}

/* ═══════════════════════════════════════════════════════════════════════
   HERO PHOTO BACKGROUND
═══════════════════════════════════════════════════════════════════════ */
.hero {
  background: var(--ink);  /* fallback */
}

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

.hero-bg-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.28;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(255,255,255,0.97) 0%,
    rgba(255,255,255,0.88) 45%,
    rgba(255,255,255,0.4) 100%
  );
}

/* Hero outline button on photo background */
.btn--outline-light {
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  font-family: 'Exo 2', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 30px;
  border-radius: var(--radius);
  transition: all var(--transition);
  text-decoration: none;
  display: inline-block;
}
.btn--outline-light:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════════════════
   FOOTER LOGO
═══════════════════════════════════════════════════════════════════════ */
.footer-logo {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.82;
  margin-bottom: 14px;
}

/* ═══════════════════════════════════════════════════════════════════════
   PRODUCT PAGE PHOTOS
═══════════════════════════════════════════════════════════════════════ */
.product-page-photo {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: block;
}

.product-page-photo-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.product-page-photo-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(19,33,47,0.65));
  color: white;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  padding: 24px 16px 10px;
  text-align: right;
}

/* ═══════════════════════════════════════════════════════════════════════
   FOOTER FIXES
═══════════════════════════════════════════════════════════════════════ */

/* No white box on logo anchor */
.footer-logo-link {
  display: block;
  background: transparent;
  border: none;
  line-height: 0;
  margin-bottom: 14px;
  width: fit-content;
}

/* Larger, more readable footer link text */
#site-footer .footer-col a,
#site-footer .footer-col li {
  font-size: 1rem;
  line-height: 1.8;
  font-family: 'Crimson Pro', Georgia, serif;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
}

#site-footer .footer-col a:hover {
  color: var(--sky);
}

#site-footer .footer-desc {
  font-size: 1rem;
  font-weight: 300;
  font-family: 'Crimson Pro', Georgia, serif;
  line-height: 1.75;
  color: rgba(255,255,255,0.5);
}

#site-footer .footer-col h5 {
  font-size: 0.72rem; /* keep headings compact */
}

/* Footer bottom links - also larger */
.footer-bottom-links a {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════════════════════════════
   SUPPRESS SCROLL-TO-TOP & STRAY WHITE BLOCKS
═══════════════════════════════════════════════════════════════════════ */

/* Hide any scroll-to-top buttons added by WordPress/plugins */
.scrolltop,
.scroll-to-top,
.back-to-top,
.totop,
#scroll-to-top,
#back-to-top,
#totop,
[class*="scroll-top"],
[class*="back-top"],
[id*="scroll-top"],
[id*="back-top"] {
  display: none !important;
}

/* Footer logo anchor: never show as white block */
.footer-logo-link {
  display: block;
  background: transparent !important;
  min-height: 0;
  line-height: 0;
  width: fit-content;
}

.footer-logo-link img {
  display: block;
}

/* Prevent any empty anchor from creating a white box */
#site-footer a:empty,
#site-footer a:not([href]) {
  display: none;
}

/* Hero background: show photo more prominently */
.hero-bg-photo img {
  opacity: 0.45;
}

.hero-bg-overlay {
  background: linear-gradient(
    105deg,
    rgba(255,255,255,0.95) 0%,
    rgba(255,255,255,0.82) 40%,
    rgba(255,255,255,0.25) 100%
  );
}

/* Override old footer-logo filter — now using logo-white.png directly */
.footer-logo {
  filter: none !important;
  opacity: 0.88;
}

/* ═══════════════════════════════════════════════════════════════════════
   TYPOGRAPHY SCALE — increased for readability
═══════════════════════════════════════════════════════════════════════ */
body {
  font-size: 1.2rem;
}

.hero-lead {
  font-size: 1.28rem;
}

.section-intro {
  font-size: 1.15rem;
  max-width: 620px;
}

.about-text p {
  font-size: 1.15rem;
}

.service-card p {
  font-size: 1rem;
  line-height: 1.75;
}

.product-teaser-body p {
  font-size: 1rem;
}

.contact-val {
  font-size: 1.1rem;
}

.footer-desc {
  font-size: 1.05rem;
}

#site-footer .footer-col a,
#site-footer .footer-col li {
  font-size: 1.05rem;
}

.entry-content p {
  font-size: 1.1rem;
}

/* Competence list stays mono/small — intentional */
.competence-list li {
  font-size: 0.78rem;
}
