/* ============================
   Artlogic Theme — Global CSS
   Dark bg: #09090b
   Studio accent: #dc2626 (red-600)
   Agency accent: #2563eb (blue-600)
   Text: #f4f4f5
   Fonts: Open Sans (headings) + PT Sans (body)
   ============================ */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,600;0,700;0,800;1,400&family=PT+Sans:ital,wght@0,400;0,700;1,400&display=swap');

/* === CSS Variables — Studio (default) === */
:root {
  --color-bg: #09090b;
  --color-bg-secondary: #18181b;
  --color-surface: #27272a;
  --color-border: #27272a;
  --color-text: #f4f4f5;
  --color-text-muted: #b4b4bc;
  --color-text-faint: #8e8e9a;
  --color-accent: #dc2626;
  --color-accent-hover: #ef4444;
  --color-accent-dim: rgba(220,38,38,0.12);
  --color-accent-glow: rgba(220,38,38,0.25);
  --color-white: #ffffff;
  --max-width: 72rem;
  --header-height: 68px;
  --font-heading: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'PT Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* === Agency overrides — blue accent everywhere === */
.site--agency {
  --color-accent: #2563eb;
  --color-accent-hover: #3b82f6;
  --color-accent-dim: rgba(37,99,235,0.12);
  --color-accent-glow: rgba(37,99,235,0.25);
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 20.8px; /* 16px * 1.3 = 20.8px base (30% larger) */
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* All headings — Open Sans ExtraBold */
h1, h2, h3, h4, h5, h6,
.section__title, .hero__title, .node__title,
.cta-box__title, .footer-brand__logo {
  font-family: var(--font-heading);
  font-weight: 800;
}

a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-white); }
img, svg { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* === Layout === */
.layout-container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* === Skip link === */
.visually-hidden.focusable:focus {
  position: fixed; top: 0; left: 0; z-index: 9999;
  width: auto; height: auto; clip: auto;
  padding: 0.5rem 1rem;
  background: var(--color-accent); color: var(--color-white);
}

/* ===========================
   LAYOUT WITH SIDEBARS
   =========================== */
.page-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-layout--has-sidebar-first {
  grid-template-columns: 220px 1fr;
}

.page-layout--has-sidebar-second {
  grid-template-columns: 1fr 220px;
}

.page-layout--has-both-sidebars {
  grid-template-columns: 200px 1fr 200px;
}

@media (max-width: 1023px) {
  .page-layout--has-sidebar-first,
  .page-layout--has-sidebar-second,
  .page-layout--has-both-sidebars {
    grid-template-columns: 1fr;
  }
  .page-sidebar { display: none; }
}

.page-sidebar {
  padding-top: 1rem;
}

/* ===========================
   HEADER
   =========================== */
.site-header {
  position: relative;
  top: auto; left: auto; right: auto; z-index: 10;
  height: var(--header-height);
  background: rgba(9,9,11,0.97);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.3s;
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.site-header__inner {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-sizing: border-box;
}

/* Logo */
.site-logo a {
  display: flex; align-items: center;
  font-family: var(--font-heading);
  font-size: 1.2rem; font-weight: 800;
  letter-spacing: -0.02em; color: var(--color-white);
}
.site-logo .logo-dot { color: var(--color-accent); }

/* Brand switcher */
.brand-switcher {
  display: flex; align-items: center;
  margin-left: 1rem;
  border: 1px solid var(--color-border);
  
  overflow: hidden;
}
.brand-switcher a {
  font-size: 0.62rem; font-weight: 700;
  padding: 0.25rem 0.625rem;
  color: var(--color-text-faint);
  text-transform: uppercase; letter-spacing: 0.08em;
  transition: background 0.2s, color 0.2s;
}
.brand-switcher a:hover { color: var(--color-white); background: var(--color-surface); }
.brand-switcher a.active { color: var(--color-white); background: var(--color-accent); }
.brand-switcher__sep { width: 1px; background: var(--color-border); height: 1rem; }

/* Main nav */
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav > a {
  position: relative; font-size: 0.82rem; color: var(--color-text-muted);
  padding: 0.25rem 0; transition: color 0.2s;
  font-family: var(--font-body); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.site-nav > a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--color-accent);
  transition: width 0.3s;
}
.site-nav > a:hover, .site-nav > a.is-active { color: var(--color-white); }
.site-nav > a:hover::after, .site-nav > a.is-active::after { width: 100%; }

/* Services dropdown — HOVER triggered */
.nav-services { position: relative; }
.nav-services__toggle {
  position: relative;
  display: flex; align-items: center; gap: 0.25rem;
  font-size: 0.82rem; color: var(--color-text-muted);
  font-family: var(--font-body); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  background: none; border: none; padding: 0.25rem 0;
  cursor: pointer; transition: color 0.2s;
}
.nav-services__toggle svg { width: 0.75rem; height: 0.75rem; transition: transform 0.2s; }
.nav-services:hover .nav-services__toggle,
.nav-services__toggle.is-active { color: var(--color-white); }
.nav-services:hover .nav-services__toggle svg { transform: rotate(180deg); }
.nav-services__toggle.is-active::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 100%; height: 2px; background: var(--color-accent);
}

.nav-services__dropdown {
  opacity: 0; pointer-events: none;
  position: absolute; top: 100%; left: 0; margin-top: 0;
  width: 18rem;
  background: #111113;
  border: 1px solid var(--color-border);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  z-index: 200;
  transform: translateY(4px);
  transition: opacity 0.2s, transform 0.2s;
}
.nav-services:hover .nav-services__dropdown {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.nav-services__dropdown a {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.7rem 1rem; font-size: 0.82rem;
  color: var(--color-text-muted); transition: background 0.15s, color 0.15s;
}
.nav-services__dropdown a:hover { background: rgba(255,255,255,0.04); color: var(--color-white); }
.nav-services__dropdown a:hover .nav-service-label { color: var(--color-accent); }
.nav-services__dropdown .nav-services__all {
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 0.25rem; font-size: 0.72rem;
  color: var(--color-text-faint);
}
.nav-service-icon { width: 1.125rem; height: 1.125rem; flex-shrink: 0; color: var(--color-text-faint); }
.nav-service-icon svg { width: 100%; height: 100%; }
.nav-services__dropdown a:hover .nav-service-icon { color: var(--color-accent); }

.service-title-icon { display: inline-flex; width: 1.75rem; height: 1.75rem; vertical-align: middle; margin-right: 0.5rem; color: var(--color-accent); }
.service-title-icon svg { width: 100%; height: 100%; }
.nav-service-label { transition: color 0.15s; }

/* Header right */
.site-header__right { display: flex; align-items: center; gap: 0.75rem; min-width: 0; flex-shrink: 0; }

/* Language switcher */
.language-switcher { position: relative; }
.language-switcher__toggle {
  display: flex; align-items: center; gap: 0.375rem;
  font-size: 0.72rem; font-weight: 700;
  color: var(--color-text-muted);
  padding: 0.375rem 0.5rem;
  border: 1px solid var(--color-border);
  background: none; transition: color 0.2s, border-color 0.2s;
  font-family: var(--font-body);
}
.language-switcher__toggle:hover { color: var(--color-white); border-color: #52525b; }
.language-switcher__toggle svg { width: 0.72rem; height: 0.72rem; }
.language-switcher__dropdown {
  display: none;
  position: absolute; right: 0; top: calc(100% + 0.25rem);
  min-width: 8rem;
  background: #111113;
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.5); z-index: 200;
}
.language-switcher.open .language-switcher__dropdown { display: block; }
.language-switcher__dropdown a {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  padding: 0.5rem 0.75rem; font-size: 0.72rem;
  color: var(--color-text-muted); transition: background 0.15s, color 0.15s;
}
.language-switcher__dropdown a:hover { background: var(--color-surface); color: var(--color-white); }
.language-switcher__dropdown a.is-active { background: rgba(255,255,255,0.05); color: var(--color-white); }
.lang-code { font-weight: 700; font-family: var(--font-heading); }
.lang-name { color: var(--color-text-faint); font-size: 0.62rem; }

/* CTA button */
.btn-cta {
  display: inline-block;
  padding: 0.5rem 1rem; font-size: 0.82rem; font-weight: 700;
  font-family: var(--font-heading);
  text-transform: uppercase; letter-spacing: 0.05em;
  background: var(--color-accent); color: var(--color-white);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn-cta:hover {
  background: var(--color-accent-hover); color: var(--color-white);
  box-shadow: 0 8px 20px var(--color-accent-glow);
  transform: translateY(-1px);
}

/* Mobile hamburger */
.mobile-menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px; cursor: pointer;
}
.mobile-menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--color-text-muted); transition: all 0.25s;
}
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
  display: none; position: fixed; inset: var(--header-height) 0 0 0;
  background: var(--color-bg); z-index: 99;
  flex-direction: column; padding: 2rem 1.5rem;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700;
  color: var(--color-text-muted);
  padding: 0.75rem 0;
  text-transform: uppercase; letter-spacing: 0.05em;
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--color-white); }
.mobile-nav__cta { margin-top: 1.5rem; }

/* ===========================
   MAIN CONTENT
   =========================== */
main { }
.layout-main-wrapper { min-height: 100vh; }

/* Global max-width — only for bare system pages (login, register, etc.) */
.path-user #block-artlogic-content,
.path-user main[role="main"] {
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 5rem;
  padding-bottom: 5rem;
  box-sizing: border-box;
}

/* ===========================
   HERO — full viewport width, animated bg
   =========================== */
.hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--color-accent);
  padding: 0;
}

/* ── Slides container ── */
.hero-slides {
  position: relative;
  width: 100%;
  z-index: 2;
  /* Height = hero padding + badge + 3-line title + desc + buttons + dots */
  min-height: 520px;
}
@media (min-width: 768px) { .hero-slides { min-height: 560px; } }

.hero-slide {
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1);
  position: absolute;
  inset: 0;
  pointer-events: none;
  visibility: hidden;
}
.hero-slide.is-active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
  visibility: visible;
}
.hero-slide.is-leaving {
  opacity: 0;
  position: absolute;
  inset: 0;
  pointer-events: none;
  visibility: visible;
}

/* ── Arrows ── */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 2.75rem;
  height: 2.75rem;
  
  border: 2px solid rgba(255,255,255,0.4);
  background: rgba(0,0,0,0.2);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  backdrop-filter: blur(4px);
}
.hero-arrow:hover {
  background: rgba(0,0,0,0.45);
  border-color: rgba(255,255,255,0.8);
  transform: translateY(-50%) scale(1.08);
}
.hero-arrow svg { width: 1.125rem; height: 1.125rem; }
.hero-arrow--prev { left: 1.5rem; }
.hero-arrow--next { right: 1.5rem; }
@media (min-width: 1200px) {
  .hero-arrow--prev { left: 2.5rem; }
  .hero-arrow--next { right: 2.5rem; }
}
@media (max-width: 480px) {
  .hero-arrow { width: 2.25rem; height: 2.25rem; }
  .hero-arrow--prev { left: 0.75rem; }
  .hero-arrow--next { right: 0.75rem; }
}

/* ── Dots ── */
.hero-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.hero-dot {
  width: 0.5rem;
  height: 0.5rem;
  
  border: none;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s, width 0.3s;
}
.hero-dot.is-active {
  background: #fff;
  width: 1.5rem;
  
}

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

/* Dark vignette overlay — keeps text readable */
.hero-canvas::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 90% at 8% 50%, rgba(0,0,0,0.38) 0%, transparent 65%),
    radial-gradient(ellipse 50% 70% at 85% 15%, rgba(255,255,255,0.04) 0%, transparent 55%);
  z-index: 1;
}

/* Full-size canvas element — JS draws particles */
.hero-canvas canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Floating shapes — hidden, JS canvas replaces them */
.hero-shapes { display: none; }

.hero {
  position: relative;
  z-index: 2;
  padding: 6rem 0 5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.hero__badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.9); margin-bottom: 1.5rem;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  padding: 0.375rem 1rem;
  font-family: var(--font-heading); font-weight: 700;
}
.hero__badge::before {
  content: ''; display: inline-block; width: 6px; height: 6px;
   background: var(--color-white);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* Each line is block-level */
.hero__line { display: block; }

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 800; letter-spacing: -0.04em;
  color: var(--color-white); line-height: 1.05; margin-bottom: 2rem;
  max-width: 48rem;
  /* Lock to exactly 3 lines so all slides have equal height */
  min-height: calc(1.05em * 3);
}
.hero__title .line-muted { color: rgba(255,255,255,0.75); }
.hero__title .line-accent {
  color: var(--color-white);
  text-shadow: 0 0 40px rgba(255,255,255,0.3);
}

.hero__desc {
  font-size: 1.05rem; color: rgba(255,255,255,0.85);
  max-width: 36rem; margin-bottom: 2.5rem; line-height: 1.7;
  font-family: var(--font-body);
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }

/* Hero buttons inverted for colored bg */
.hero .btn--primary {
  background: var(--color-white);
  color: var(--color-accent);
  font-weight: 800;
}
.hero .btn--primary:hover {
  background: rgba(255,255,255,0.9);
  color: var(--color-accent);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.hero .btn--accent {
  background: rgba(0,0,0,0.25);
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.5);
}
.hero .btn--accent:hover {
  background: rgba(0,0,0,0.4);
  color: var(--color-white);
  border-color: rgba(255,255,255,0.8);
}
.hero .btn--ghost { color: rgba(255,255,255,0.75); }
.hero .btn--ghost:hover { color: var(--color-white); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.75rem; font-size: 0.88rem; font-weight: 800;
  font-family: var(--font-heading);
  text-transform: uppercase; letter-spacing: 0.05em;
  transition: all 0.2s; cursor: pointer; border: 2px solid transparent;
}
.btn--primary { background: var(--color-white); color: var(--color-bg); border-color: var(--color-white); }
.btn--primary:hover { background: #e4e4e7; color: var(--color-bg); box-shadow: 0 8px 20px rgba(255,255,255,0.1); }
.btn--accent { background: var(--color-accent); color: var(--color-white); border-color: var(--color-accent); }
.btn--accent:hover { background: var(--color-accent-hover); color: var(--color-white); box-shadow: 0 8px 20px var(--color-accent-glow); }
.btn--ghost { color: var(--color-text-muted); background: none; border-color: transparent; padding-left: 0; }
.btn--ghost:hover { color: var(--color-white); }
.btn svg { width: 0.875rem; height: 0.875rem; flex-shrink: 0; }

/* ===========================
   SECTION COMMONS — no grey lines
   =========================== */
.section { padding: 5rem 0; }
.section--alt { background: var(--color-bg-secondary); }
.section--hero { border: none; }
.section__label {
  font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--color-accent); margin-bottom: 0.75rem;
  font-family: var(--font-heading); font-weight: 700;
}
.section__title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 800;
  color: var(--color-white); letter-spacing: -0.02em;
  font-family: var(--font-heading);
}
.section__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 3rem; }
.section__more { font-size: 0.82rem; color: var(--color-text-muted); transition: color 0.2s; }
.section__more:hover { color: var(--color-white); }

/* ===========================
   STATS
   =========================== */
.stats { background: var(--color-bg-secondary); }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; padding: 3rem 0; }
@media (min-width: 640px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stats__item:hover .stats__value { color: var(--color-accent); }
.stats__value {
  font-size: 2.4rem; font-weight: 800; color: var(--color-white);
  margin-bottom: 0.25rem; transition: color 0.2s;
  font-family: var(--font-heading);
}
.stats__item { text-align: center; }
.stats__label { font-size: 0.82rem; color: var(--color-text-faint); font-family: var(--font-body); }

/* ===========================
   SERVICES GRID — clickable cards
   =========================== */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  display: flex; align-items: flex-start; gap: 1.25rem;
  background: var(--color-bg-secondary);
  padding: 1.75rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.service-card:hover {
  background: var(--color-surface);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
  color: inherit;
}
.service-card:hover .service-card__title { color: var(--color-accent); }
.service-card__icon {
  width: 2.5rem; height: 2.5rem; flex-shrink: 0;
  color: #ffffff; background: var(--color-accent);
  display: flex; align-items: center; justify-content: center;
  padding: 0.5rem; box-sizing: border-box;
  transition: background 0.2s, color 0.2s;
}
.service-card__icon svg { width: 100%; height: 100%; }
.service-card:hover .service-card__icon {
  background: #ffffff;
  color: var(--color-accent);
}
.service-card__body { flex: 1; min-width: 0; }
.service-card__title {
  font-size: 1rem; font-weight: 800; color: var(--color-white);
  margin-bottom: 0.5rem; transition: color 0.2s;
  font-family: var(--font-heading);
}
.service-card__desc { font-size: 0.88rem; color: var(--color-text-faint); line-height: 1.65; }

/* ===========================
   WORK / PROJECT GRID
   =========================== */
.project-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .project-grid { grid-template-columns: repeat(3, 1fr); } }

.project-card {
  background: var(--color-bg-secondary); overflow: hidden;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  display: block; text-decoration: none;
}
.project-card:hover {
  background: var(--color-surface);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.project-card__image {
  aspect-ratio: 16/9; background: var(--color-surface);
  overflow: hidden; position: relative;
}
.project-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.project-card:hover .project-card__image img { transform: scale(1.05); }
.project-card__placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-accent); opacity: 0.3;
}
.project-card__placeholder svg { width: 2.5rem; height: 2.5rem; }
.project-card__body { padding: 1.4rem; }
.project-card__meta { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.project-card__category, .project-card__year {
  font-size: 0.68rem; color: var(--color-text-faint);
  text-transform: uppercase; letter-spacing: 0.06em;
  font-family: var(--font-heading); font-weight: 700;
}
.project-card__title {
  font-size: 0.95rem; font-weight: 800; color: var(--color-white);
  transition: color 0.2s; font-family: var(--font-heading);
}
.project-card:hover .project-card__title { color: var(--color-accent); }
.project-card__excerpt {
  font-size: 0.82rem; color: var(--color-text-faint); margin-top: 0.5rem;
  line-height: 1.55; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.project-card__tags { display: flex; flex-wrap: wrap; gap: 0.25rem; margin-top: 0.75rem; }
.project-card__tag {
  font-size: 0.68rem; background: var(--color-surface);
  color: var(--color-text-muted); padding: 0.125rem 0.5rem;
  font-family: var(--font-heading); font-weight: 700;
}

/* ===========================
   NEWS / BLOG GRID
   =========================== */
/* Category filter pills */
.news-cats {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.news-cat {
  display: inline-block;
  padding: 0.35rem 0.875rem;
  font-size: 0.72rem; font-weight: 700;
  font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.news-cat:hover { border-color: var(--color-accent); color: var(--color-accent); }
.news-cat.is-active { border-color: var(--color-accent); color: var(--color-accent); background: rgba(220,38,38,0.08); }

.news-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }

/* News cards — CSS-only fade-in, no JS dependency */
@keyframes newsCardIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.news-grid .news-card {
  animation: newsCardIn 0.4s ease both;
}
.news-grid .news-card:nth-child(1)  { animation-delay: 0.05s; }
.news-grid .news-card:nth-child(2)  { animation-delay: 0.10s; }
.news-grid .news-card:nth-child(3)  { animation-delay: 0.15s; }
.news-grid .news-card:nth-child(4)  { animation-delay: 0.20s; }
.news-grid .news-card:nth-child(5)  { animation-delay: 0.25s; }
.news-grid .news-card:nth-child(6)  { animation-delay: 0.30s; }
.news-grid .news-card:nth-child(7)  { animation-delay: 0.35s; }
.news-grid .news-card:nth-child(8)  { animation-delay: 0.38s; }
.news-grid .news-card:nth-child(9)  { animation-delay: 0.41s; }
.news-grid .news-card:nth-child(10) { animation-delay: 0.44s; }
.news-grid .news-card:nth-child(11) { animation-delay: 0.47s; }
.news-grid .news-card:nth-child(12) { animation-delay: 0.50s; }
.news-grid .news-card:nth-child(13) { animation-delay: 0.53s; }
.news-grid .news-card:nth-child(14) { animation-delay: 0.56s; }
.news-grid .news-card:nth-child(15) { animation-delay: 0.59s; }

.news-card {
  display: flex; flex-direction: column;
  text-decoration: none;
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.news-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.news-card__image {
  aspect-ratio: 16/9; background: var(--color-surface);
  overflow: hidden; flex-shrink: 0;
}
.news-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-card:hover .news-card__image img { transform: scale(1.05); }
.news-card__image-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-accent); opacity: 0.3;
}
.news-card__image-placeholder svg { width: 2.5rem; height: 2.5rem; }
.news-card__body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.news-card__meta { display: flex; align-items: center; gap: 0.5rem; }
.news-card__category {
  font-size: 0.65rem; color: var(--color-accent);
  text-transform: uppercase; letter-spacing: 0.08em;
  font-family: var(--font-heading); font-weight: 700;
}
.news-card__date { font-size: 0.65rem; color: var(--color-text-faint); }
.news-card__title {
  font-size: 0.95rem; font-weight: 800; color: var(--color-white);
  transition: color 0.2s; line-height: 1.35;
  font-family: var(--font-heading);
}
.news-card:hover .news-card__title { color: var(--color-accent); }
.news-card__excerpt {
  font-size: 0.82rem; color: var(--color-text-faint);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ===========================
   TESTIMONIALS — Carousel
   =========================== */
.testimonials-wrapper { position: relative; overflow: hidden; }

.testimonials-carousel {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.testimonial-card {
  background: var(--color-bg-secondary);
  padding: 1.75rem;
  flex: 0 0 calc(33.333% - 1rem);
  min-width: calc(33.333% - 1rem);
  transition: background 0.2s;
}
@media (max-width: 1023px) {
  .testimonial-card { flex: 0 0 calc(50% - 0.75rem); min-width: calc(50% - 0.75rem); }
}
@media (max-width: 639px) {
  .testimonial-card { flex: 0 0 100%; min-width: 100%; }
}

.testimonial-card:hover { background: var(--color-surface); }
.testimonial-card__stars { display: flex; gap: 2px; margin-bottom: 1rem; }
.testimonial-card__stars svg { width: 1rem; height: 1rem; fill: var(--color-accent); }
.testimonial-card__text {
  font-size: 0.88rem; color: var(--color-text-muted); line-height: 1.75;
  margin-bottom: 1.25rem; font-family: var(--font-body);
}
.testimonial-card__author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-card__avatar {
  width: 2.2rem; height: 2.2rem; background: var(--color-accent-dim);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem; font-weight: 800; color: var(--color-accent);
  flex-shrink: 0; font-family: var(--font-heading); 
}
.testimonial-card__name { font-size: 0.82rem; font-weight: 800; color: var(--color-white); font-family: var(--font-heading); }
.testimonial-card__role { font-size: 0.72rem; color: var(--color-text-faint); }

.carousel-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 0.75rem; margin-top: 2rem;
}
.carousel-btn {
  width: 2.5rem; height: 2.5rem;
  background: var(--color-surface);
  border: none; color: var(--color-text-muted);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s, color 0.2s;
  
}
.carousel-btn:hover { background: var(--color-accent); color: var(--color-white); }
.carousel-btn svg { width: 1rem; height: 1rem; }
.carousel-dots { display: flex; gap: 0.4rem; }
.carousel-dot {
  width: 0.5rem; height: 0.5rem; 
  background: var(--color-surface); cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.carousel-dot.active { background: var(--color-accent); transform: scale(1.3); }

/* ===========================
   CTA SECTION — full width primary bg
   =========================== */
.cta-section {
  background: var(--color-accent);
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  padding: 5rem 0;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 90% at 0% 50%, rgba(0,0,0,0.35) 0%, transparent 65%),
    radial-gradient(ellipse 50% 70% at 100% 50%, rgba(0,0,0,0.2) 0%, transparent 65%),
    radial-gradient(ellipse 80% 40% at 50% 100%, rgba(0,0,0,0.25) 0%, transparent 60%);
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.15) 0%, transparent 50%, rgba(0,0,0,0.1) 100%);
  pointer-events: none;
}

.cta-section .layout-container { position: relative; z-index: 1; text-align: center; }

.cta-box__title {
  font-size: clamp(1.8rem, 4vw, 3.2rem); font-weight: 800;
  color: var(--color-white); letter-spacing: -0.02em;
  margin-bottom: 1rem; font-family: var(--font-heading);
  line-height: 1.05;
}
.cta-box__desc {
  color: rgba(255,255,255,0.85); margin-bottom: 0.75rem;
  max-width: 32rem; margin-left: auto; margin-right: auto;
  font-size: 1rem; font-family: var(--font-body);
}
.cta-box__serving {
  font-size: 0.82rem; color: rgba(255,255,255,0.7); margin-bottom: 2.5rem;
}

/* CTA buttons — inverted on primary bg */
.cta-section .btn--accent {
  background: var(--color-white);
  color: var(--color-accent);
  border-color: var(--color-white);
}
.cta-section .btn--accent:hover {
  background: rgba(255,255,255,0.9);
  color: var(--color-accent);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.cta-section .btn--ghost {
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.4);
  padding-left: 1.75rem;
}
.cta-section .btn--ghost:hover {
  color: var(--color-white);
  border-color: rgba(255,255,255,0.8);
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  background: #050507;
  padding-top: 3.5rem;
}
.site-footer__grid {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand__logo {
  font-size: 0.65rem; font-weight: 800; color: var(--color-white);
  margin-bottom: 0.75rem; font-family: var(--font-heading);
}
.footer-brand__logo .logo-dot { color: var(--color-accent); }
.footer-brand__desc {
  font-size: 0.85rem; color: var(--color-text-faint);
  max-width: 18rem; line-height: 1.65; margin-bottom: 1.5rem;
}

/* Contacts above socials */
.footer-contact { margin-bottom: 1.25rem; }
.footer-contact-item {
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.footer-contact-icon {
  width: 1rem; height: 1rem; flex-shrink: 0;
  color: var(--color-accent); fill: var(--color-accent);
}
.footer-contact a {
  font-size: 0.85rem; color: var(--color-text-muted);
  transition: color 0.2s;
}
.footer-contact a:hover { color: var(--color-white); }

.footer-socials { display: flex; gap: 0.75rem; }
.footer-social {
  width: 2.4rem; height: 2.4rem;
  background: var(--color-surface); display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s; 
}
.footer-social:hover { background: var(--color-accent); transform: scale(1.1); box-shadow: 0 4px 12px var(--color-accent-glow); }
.footer-social svg { width: 1rem; height: 1rem; fill: #d4d4d8; }

.footer-nav__label {
  font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--color-text-faint); margin-bottom: 1rem;
  font-family: var(--font-heading); font-weight: 700;
}
.footer-nav__list { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-nav__list a {
  font-size: 0.85rem; color: var(--color-text-muted);
  transition: color 0.2s; display: inline-block;
}
.footer-nav__list a:hover { color: var(--color-white); }

/* We serve — one row centered, uppercase */
.footer-markets {
  grid-column: 1 / -1;
  display: flex; flex-direction: row; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 0.5rem 1.5rem; padding-top: 2rem; padding-bottom: 0.5rem;
}
.footer-markets__label {
  font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--color-text-faint); font-family: var(--font-heading); font-weight: 700;
  margin-right: 0.5rem;
}
.footer-markets__list {
  display: flex; flex-direction: row; flex-wrap: wrap;
  justify-content: center; align-items: center; gap: 0 2rem; list-style: none;
}
.footer-markets__list li {
  font-size: 0.68rem; color: var(--color-text-faint);
  text-transform: uppercase; letter-spacing: 0.1em;
  font-family: var(--font-heading); font-weight: 700;
  white-space: nowrap;
}

.footer-geo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.75rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--color-border);
  margin-top: 0.25rem;
}
.footer-geo span {
  font-size: 0.65rem;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-faint);
  white-space: nowrap;
}
.ua-blue   { color: #005bbb !important; }
.ua-yellow { color: #ffd500 !important; }

.site-footer__bottom {
  padding: 1.25rem 0 2rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  align-items: flex-start;
}
@media (min-width: 640px) {
  .site-footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; gap: 1rem; }
}
.footer-bottom-left {
  font-size: 0.72rem; color: var(--color-text-faint);
  margin: 0; line-height: 1.5;
}
.footer-bottom-left a {
  color: var(--color-text-faint); text-decoration: none; transition: color 0.2s;
}
.footer-bottom-left a:hover { color: var(--color-text-muted); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.footer-legal a { font-size: 0.72rem; color: var(--color-text-faint); transition: color 0.2s; text-decoration: none; }
.footer-legal a:hover { color: var(--color-text-muted); }

/* ===========================
   COOKIE BANNER
   =========================== */
.cookie-banner {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 500;
  background: rgba(9,9,11,0.98); backdrop-filter: blur(8px);
  padding: 1rem 1.5rem;
}
.cookie-banner.visible { display: block; }
.cookie-banner__inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; flex-direction: column; gap: 1rem;
}
@media (min-width: 640px) { .cookie-banner__inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.cookie-banner__text {
  font-size: 0.75rem; color: var(--color-text-muted); max-width: 42rem; line-height: 1.6;
}
.cookie-banner__text a { color: var(--color-accent); text-decoration: underline; }
.cookie-banner__actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.btn-cookie-decline {
  font-size: 0.75rem; color: var(--color-text-faint);
  background: none; border: none; padding: 0.5rem 1rem; transition: color 0.2s;
}
.btn-cookie-decline:hover { color: var(--color-white); }
.btn-cookie-accept {
  font-size: 0.75rem; font-weight: 700; font-family: var(--font-heading);
  background: var(--color-accent); color: var(--color-white);
  border: none; padding: 0.5rem 1.25rem; transition: background 0.2s, box-shadow 0.2s;
}
.btn-cookie-accept:hover { background: var(--color-accent-hover); box-shadow: 0 4px 12px var(--color-accent-glow); }

/* ===========================
   FORMS (contact/quote)
   =========================== */
.form-section { max-width: 52rem; }
.form-item { margin-bottom: 1.25rem; }
.form-item label {
  display: block; font-size: 0.72rem; font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 0.5rem; font-family: var(--font-heading);
}
.form-item input,
.form-item select,
.form-item textarea,
.webform-submission-form input[type="text"],
.webform-submission-form input[type="email"],
.webform-submission-form input[type="tel"],
.webform-submission-form select,
.webform-submission-form textarea {
  width: 100%; background: var(--color-bg-secondary);
  border: 1px solid var(--color-border); color: var(--color-text);
  padding: 0.75rem 0.875rem; font-size: 0.88rem;
  font-family: var(--font-body); transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-item input:focus,
.form-item select:focus,
.form-item textarea:focus,
.webform-submission-form input:focus,
.webform-submission-form select:focus,
.webform-submission-form textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-dim);
}
.form-item select { appearance: none; cursor: pointer; }
.form-item textarea { resize: vertical; min-height: 7rem; }
.form-item input::placeholder,
.form-item textarea::placeholder { color: var(--color-text-faint); }

/* Webform labels */
.webform-submission-form label {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; font-family: var(--font-heading);
  color: var(--color-text-muted); display: block; margin-bottom: 0.4rem;
}
.webform-submission-form .form-actions {
  margin-top: 1.5rem;
}
.webform-submission-form .button,
.webform-submission-form .form-submit {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem; font-size: 0.88rem; font-weight: 800;
  font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.05em;
  background: var(--color-accent); color: var(--color-white);
  border: none; cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}
.webform-submission-form .button:hover,
.webform-submission-form .form-submit:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 8px 20px var(--color-accent-glow);
}

/* Webform checkboxes/radios */
.webform-submission-form .form-type-checkbox input,
.webform-submission-form .form-type-radio input { width: auto; }

/* ===========================
   CONTENT PAGES (articles, legal pages)
   =========================== */
.content-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.content-page {
  padding: 1.5rem 0 4rem;
}
.node__content { max-width: 52rem; }
.node__title {
  font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 800;
  color: var(--color-white); letter-spacing: -0.02em; margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}
.node__meta {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem;
  font-size: 0.78rem; color: var(--color-text-faint);
}
.node__body {
  font-size: 1rem; color: var(--color-text-muted); line-height: 1.85;
  font-family: var(--font-body);
}
.node__body p { margin-bottom: 1.25rem; }
.node__body h2 {
  font-size: 1.6rem; font-weight: 800; color: var(--color-white);
  margin: 2.5rem 0 1rem; font-family: var(--font-heading);
}
.node__body h3 {
  font-size: 1.25rem; font-weight: 800; color: var(--color-white);
  margin: 1.75rem 0 0.75rem; font-family: var(--font-heading);
}
.node__body ul, .node__body ol { padding-left: 1.5rem; margin-bottom: 1.25rem; list-style: disc; }
.node__body ol { list-style: decimal; }
.node__body li { margin-bottom: 0.375rem; }
.node__body a { color: var(--color-accent); text-decoration: underline; }
.node__body img { margin: 1.5rem 0;  }
.node__body blockquote {
  border-left: 3px solid var(--color-accent); padding-left: 1rem;
  color: var(--color-text-faint); font-style: italic; margin: 1.5rem 0;
}
.node__body code {
  background: var(--color-surface); padding: 0.125rem 0.375rem;
  font-family: var(--font-mono); font-size: 0.875em;
}
.node__body pre {
  background: var(--color-surface); padding: 1.25rem;
  overflow-x: auto; margin: 1.5rem 0;
}

/* ===========================
   ADMIN OPERATION LINKS
   =========================== */
/* Admin operation links — always one row */
.node__operations { padding: 0.5rem 0; margin-bottom: 1rem; }

/* node operations / contextual links — keep only light colour override */
.node__operations ul li a,
ul.links.inline li a,
ul.links li a {
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-faint);
  background: var(--color-surface);
  padding: 0.25rem 0.625rem;
  transition: color 0.2s, background 0.2s;
  font-family: var(--font-heading);
  white-space: nowrap;
  display: inline-block;
}
.node__operations ul li a:hover,
ul.links.inline li a:hover,
ul.links li a:hover {
  color: var(--color-white);
  background: var(--color-accent);
}

   BREADCRUMBS
   =========================== */
.breadcrumb { padding: 1rem 0; font-size: 0.72rem; color: var(--color-text-faint); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; }
.breadcrumb li + li::before { content: '/'; margin-right: 0.5rem; color: #52525b; }
.breadcrumb a { color: var(--color-text-faint); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--color-white); }

/* ===========================
   MESSAGES
   =========================== */
.messages {
  padding: 1rem; margin: 1rem 0;
  font-size: 0.88rem; border-left: 3px solid;
}
.messages--status { border-color: #22c55e; background: rgba(34,197,94,0.05); color: #86efac; }
.messages--warning { border-color: #f59e0b; background: rgba(245,158,11,0.05); color: #fcd34d; }
.messages--error { border-color: var(--color-accent); background: var(--color-accent-dim); color: #fca5a5; }

/* ===========================
   PAGER
   =========================== */
.pager { display: flex; justify-content: center; gap: 0.5rem; padding: 2rem 0; }
.pager__item a, .pager__item span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.4rem; height: 2.4rem; font-size: 0.88rem;
  border: 1px solid var(--color-border); color: var(--color-text-muted);
  transition: all 0.2s;
}
.pager__item a:hover { border-color: #52525b; color: var(--color-white); }
.pager__item--current span { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-white); }

/* ===========================
   FAVICON in head (via theme)
   =========================== */

/* ===========================
   RESPONSIVE — Mobile first
   =========================== */
@media (max-width: 1023px) {
  html { font-size: 18px; }

  .site-nav, .site-header__right .btn-cta { display: none; }
  .mobile-menu-toggle { display: flex; }

  .hero { padding: 4.5rem 0 3.5rem; }
  .hero__title { font-size: clamp(2.2rem, 8vw, 3.2rem); }

  .section { padding: 3.5rem 0; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 0.75rem; }

  .site-footer__grid { grid-template-columns: 1fr; }

  .footer-markets__list { gap: 0.75rem; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .mobile-menu-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ===========================
   DRUPAL ADMIN TOOLBAR — sticky header offset
   =========================== */

/* Drupal toolbar offset — not needed since header is not fixed/sticky */
body.toolbar-fixed .site-header { top: auto; }

/* ===========================
   UTILITY
   =========================== */
.text-accent { color: var(--color-accent); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* Remove ALL 1px separator lines between blocks */
.section + .section { border-top: none; }
.stats + .section { border-top: none; }
hr { display: none; }

/* Drupal admin system messages — minimal */
.system-status-report__status-title { font-family: var(--font-heading); }

/* ===========================
   WEBFORM SECTIONS — card style
   =========================== */
.webform-submission-form details,
.webform-submission-form fieldset,
.webform-submission-form .js-form-type-webform-section > .fieldset-wrapper {
  background: var(--color-bg-secondary);
  padding: 2rem;
  margin-bottom: 1.5rem;
  border: none;
}
.webform-submission-form details > summary,
.webform-submission-form legend {
  font-family: var(--font-heading);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
  cursor: default;
  list-style: none;
}
.webform-submission-form details > summary::marker,
.webform-submission-form details > summary::-webkit-details-marker { display: none; }

.webform-submission-form .form-type-checkboxes .form-type-checkbox,
.webform-submission-form .form-type-radios .form-type-radio {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .5rem;
  padding: .25rem 0;
}
.webform-submission-form .form-type-checkbox input[type="checkbox"],
.webform-submission-form .form-type-radio input[type="radio"] {
  width: 1.1rem !important;
  height: 1.1rem !important;
  flex-shrink: 0;
  accent-color: var(--color-accent);
}
.webform-submission-form .form-type-checkbox label,
.webform-submission-form .form-type-radio label {
  font-size: .9rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  display: inline;
  color: var(--color-text-muted);
}

/* Quote page grid on large screens */
@media (min-width: 1024px) {
  .quote-layout { grid-template-columns: 1fr 280px !important; }
}

/* ===========================
   NODE PAGE — match header/footer width
   =========================== */
.node--page .content-wrapper,
.node--article .content-wrapper,
.node--project .content-wrapper,
.node--service .content-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===========================
   PROJECT — hero + gallery
   =========================== */
.project-hero {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  aspect-ratio: 21/9;
  overflow: hidden;
  background: var(--color-surface);
  margin-bottom: 3rem;
}
.project-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.project-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (min-width: 640px) {
  .project-gallery { grid-template-columns: repeat(2, 1fr); }
}
.project-gallery__item {
  overflow: hidden;
  background: var(--color-surface);
  aspect-ratio: 16/9;
}
.project-gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.project-gallery__item:hover img { transform: scale(1.03); }

/* ===========================
   PROJECT SCREENSHOTS GALLERY
   =========================== */
.project-screenshots { margin: 2.5rem 0; }
.project-screenshots__title {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.1rem; font-weight: 700;
  font-family: var(--font-heading);
  color: var(--color-text-muted);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}
.project-screenshots__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .project-screenshots__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .project-screenshots__grid { grid-template-columns: repeat(3, 1fr); }
}
.project-screenshots__item {
  position: relative; display: block; overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  aspect-ratio: 16/9;
  transition: border-color 0.2s;
}
.project-screenshots__item:hover { border-color: var(--color-accent); }
.project-screenshots__item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.4s;
}
.project-screenshots__item:hover img { transform: scale(1.04); }
.project-screenshots__zoom {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.45);
  opacity: 0; transition: opacity 0.2s;
}
.project-screenshots__item:hover .project-screenshots__zoom { opacity: 1; }
.project-screenshots__zoom svg {
  width: 2.25rem; height: 2.25rem;
  color: var(--color-white); filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

/* ===========================
   LIGHTBOX
   =========================== */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.lightbox-overlay.is-open { opacity: 1; visibility: visible; }
.lightbox-img {
  max-width: 92vw; max-height: 88vh;
  object-fit: contain; display: block;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 24px 80px rgba(0,0,0,0.8);
}
.lightbox-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: none; border: none; cursor: pointer;
  color: var(--color-white); opacity: 0.7; padding: 0.5rem;
  transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-close svg { width: 1.75rem; height: 1.75rem; }
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
   cursor: pointer; color: var(--color-white);
  width: 3rem; height: 3rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; padding: 0;
}
.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev svg, .lightbox-next svg { width: 1.25rem; height: 1.25rem; }
.lightbox-counter {
  position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.6); font-size: 0.8rem; font-family: var(--font-heading);
}

/* ===========================
   ARTICLE FULL — two-column layout
   =========================== */
.article-header { margin-bottom: 2rem; }

.article-category {
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .65rem;
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-weight: 700;
}

.article-excerpt {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
  line-height: 1.8;
  max-width: 52rem;
  font-family: var(--font-body);
}

.article-cover {
  margin-bottom: 3rem;
  aspect-ratio: 21/9;
  overflow: hidden;
  background: var(--color-surface);
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

/* Article hero — cover as background with overlay */
.article-hero {
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  background: var(--color-bg-secondary);
  margin-bottom: 3rem;
  overflow: hidden;
}
@media (min-width: 768px) { .article-hero { min-height: 620px; } }

.article-hero--no-image {
  background: var(--color-bg-secondary);
  min-height: 320px;
  align-items: flex-end;
}

.article-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.article-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

.article-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.05) 0%,
    rgba(0,0,0,0.35) 40%,
    rgba(0,0,0,0.82) 100%
  );
}

.article-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem 2.5rem;
}

.breadcrumb--light ol li,
.breadcrumb--light ol li a { color: rgba(255,255,255,0.6); }
.breadcrumb--light ol li a:hover { color: #fff; }
.breadcrumb--light ol li::after { color: rgba(255,255,255,0.35); }

.article-hero__meta {
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.article-hero__category {
  font-size: 0.68rem; font-weight: 700; font-family: var(--font-heading);
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--color-accent);
  background: rgba(220,38,38,0.15);
  padding: 0.2rem 0.6rem;
}
.article-hero__dot { color: rgba(255,255,255,0.4); }
.article-hero__date { font-size: 0.78rem; color: rgba(255,255,255,0.6); }

.article-hero__title {
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 800; font-family: var(--font-heading);
  color: #fff; line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 52rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.article-hero__excerpt {
  font-size: 1rem; color: rgba(255,255,255,0.8);
  max-width: 44rem; line-height: 1.7;
  font-family: var(--font-body);
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

/* Mobile: single column */
.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
  padding-bottom: 5rem;
}

/* Desktop: body + sidebar */
@media (min-width: 960px) {
  .article-layout {
    grid-template-columns: 1fr 280px;
  }
}

.article-back { margin-top: 3rem; padding-top: 2rem; }

/* ── Sidebar ── */
.article-sidebar { display: flex; flex-direction: column; gap: 1.75rem; }

.sidebar-widget {
  background: var(--color-bg-secondary);
  padding: 1.5rem;
}

.sidebar-widget__title {
  font-family: var(--font-heading);
  font-size: .62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--color-text-faint);
  margin-bottom: 1rem;
}

/* Recent posts */
.sidebar-recent { display: flex; flex-direction: column; gap: .875rem; }

.sidebar-recent__item { border-bottom: 1px solid var(--color-border); padding-bottom: .875rem; }
.sidebar-recent__item:last-child { border-bottom: none; padding-bottom: 0; }

.sidebar-recent__link {
  display: block;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.4;
  margin-bottom: .25rem;
  transition: color .2s;
}
.sidebar-recent__link:hover { color: var(--color-accent); }

.sidebar-recent__date {
  font-size: .6rem;
  color: var(--color-text-faint);
  font-family: var(--font-heading);
  letter-spacing: .05em;
}

/* Categories */
.sidebar-cats { display: flex; flex-direction: column; gap: .5rem; }

.sidebar-cats__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .375rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: .78rem;
}
.sidebar-cats__item:last-child { border-bottom: none; }

.sidebar-cats__name { color: var(--color-text-muted); font-family: var(--font-body); }
.sidebar-cats__link { text-decoration: none; transition: color 0.2s; }
.sidebar-cats__link:hover { color: var(--color-accent); }

.sidebar-cats__count {
  font-family: var(--font-heading);
  font-size: .6rem;
  font-weight: 700;
  background: var(--color-surface);
  color: var(--color-text-faint);
  padding: .15rem .45rem;
  min-width: 1.4rem;
  text-align: center;
}

/* CTA widget */
.sidebar-cta { background: var(--color-accent); }
.sidebar-cta .sidebar-widget__title { color: rgba(255,255,255,.7); }
.sidebar-cta__label {
  font-size: .6rem;
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.7);
  margin-bottom: .5rem;
}
.sidebar-cta__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: .75rem;
  line-height: 1.3;
}
.sidebar-cta__text {
  font-size: .75rem;
  color: rgba(255,255,255,.8);
  font-family: var(--font-body);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
/* Contacts block inside sidebar CTA */
.sidebar-contacts {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: .25rem;
  border-top: 1px solid rgba(255,255,255,.2);
  padding-top: 1rem;
}
.sidebar-contacts__item {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.sidebar-contacts__label {
  font-family: var(--font-heading);
  font-size: .55rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.55);
}
.sidebar-contacts__value {
  font-size: .78rem;
  color: rgba(255,255,255,.85);
  font-family: var(--font-body);
}
.sidebar-contacts__link {
  font-size: .78rem;
  color: rgba(255,255,255,.95);
  font-family: var(--font-body);
  transition: opacity .2s;
  text-decoration: none;
}
.sidebar-contacts__link:hover { opacity: .75; color: #fff; }

/* Services list in sidebar */
.sidebar-services {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sidebar-services__item {
  border-bottom: 1px solid var(--color-border);
}
.sidebar-services__item:last-child { border-bottom: none; }

.sidebar-services__link {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem .25rem;
  font-size: .78rem;
  font-family: var(--font-body);
  color: var(--color-text-muted);
  transition: color .2s, padding-left .2s;
}
.sidebar-services__link:hover {
  color: var(--color-accent);
  padding-left: .35rem;
}
.sidebar-services__item.is-active .sidebar-services__link {
  color: var(--color-accent);
  font-weight: 700;
  padding-left: .35rem;
}
.sidebar-services__emoji {
  font-style: normal;
  flex-shrink: 0;
  font-size: .85rem;
}
.sidebar-services__icon {
  width: 1rem; height: 1rem; flex-shrink: 0;
  color: var(--color-text-faint);
  display: inline-flex; align-items: center;
}
.sidebar-services__icon svg { width: 100%; height: 100%; }
.sidebar-services__link:hover .sidebar-services__icon,
.sidebar-services__item.is-active .sidebar-services__icon { color: var(--color-accent); }
.sidebar-services__all {
  display: block; margin-top: .75rem;
  font-size: .75rem; font-weight: 700; font-family: var(--font-heading);
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--color-accent); text-decoration: none;
}
.sidebar-services__all:hover { color: var(--color-accent-hover); }

.sidebar-cta .btn--primary {
  background: #fff !important;
  color: var(--color-accent) !important;
  border-color: #fff !important;
}
.sidebar-cta .btn--primary:hover {
  background: rgba(255,255,255,.9) !important;
}

/* ===========================
   CONTACT PAGE LAYOUT
   =========================== */
.contact-page { padding: 4rem 0 5rem; }

.contact-page__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 900px) {
  .contact-page__inner {
    grid-template-columns: 1fr 380px;
  }
}

/* Hero */
.contact-hero { margin-bottom: 2.5rem; }

.contact-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: .5rem 0 1rem;
  line-height: 1.15;
}

.contact-hero__lead {
  color: var(--color-text-muted);
  max-width: 38rem;
  font-family: var(--font-body);
  line-height: 1.8;
}

/* Contact details — 3-col */
.contact-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  background: var(--color-bg-secondary);
  padding: 1.75rem 2rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 600px) {
  .contact-details { grid-template-columns: 1fr; }
}

.contact-detail__label {
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-text-faint);
  margin-bottom: .4rem;
  font-family: var(--font-heading);
  font-weight: 700;
}

.contact-detail__value {
  font-size: .9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  transition: color .2s;
}

a.contact-detail__value:hover { color: var(--color-white); }
.contact-detail__value--accent { color: var(--color-accent); }
.contact-detail__value--accent:hover { color: var(--color-accent-hover) !important; }

/* Divider */
.contact-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin-bottom: 2.5rem;
}

/* Process steps */
.contact-process__heading {
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-text-faint);
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.contact-process__steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-process__step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.contact-process__num {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--color-border);
  line-height: 1.2;
  flex-shrink: 0;
  width: 2.5rem;
}

.contact-process__step strong {
  display: block;
  font-size: .9rem;
  color: var(--color-text);
  margin-bottom: .25rem;
  font-family: var(--font-heading);
}

.contact-process__step p {
  font-size: .82rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Sidebar form box */
.contact-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
}

.contact-form-box {
  background: var(--color-bg-secondary);
  padding: 2rem;
}

.contact-form-box__label {
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-text-faint);
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.contact-form-box .webform-submission-form { width: 100%; }

/* Two-column grid inside webform */
.webform-submission-form .form-grid-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem;
}
@media (max-width: 640px) {
  .webform-submission-form .form-grid-2 { grid-template-columns: 1fr; }
}

/* Webform checkboxes group */
.webform-submission-form .form-checkboxes {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1rem;
  margin-top: 0.25rem;
}
@media (max-width: 480px) {
  .webform-submission-form .form-checkboxes { grid-template-columns: 1fr; }
}
.webform-submission-form .form-type-checkbox {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; color: var(--color-text-muted);
}
.webform-submission-form .form-type-checkbox input[type="checkbox"] {
  width: 1rem; height: 1rem; min-width: 1rem;
  accent-color: var(--color-accent); cursor: pointer;
}
.webform-submission-form .form-type-checkbox label {
  font-size: 0.82rem; text-transform: none; letter-spacing: 0;
  font-weight: 400; color: var(--color-text-muted); cursor: pointer;
  margin-bottom: 0;
}

/* Webform URL input */
.webform-submission-form input[type="url"] {
  width: 100%; background: var(--color-bg-secondary);
  border: 1px solid var(--color-border); color: var(--color-text);
  padding: 0.75rem 0.875rem; font-size: 0.88rem;
  font-family: var(--font-body); transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.webform-submission-form input[type="url"]:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-dim);
}

/* Webform description text */
.webform-submission-form .form-item .form-item__description,
.webform-submission-form .description {
  font-size: 0.75rem; color: var(--color-text-faint); margin-top: 0.25rem;
}

/* Confirmation message */
.webform-confirmation {
  padding: 2rem; background: var(--color-bg-secondary);
  border-left: 3px solid var(--color-accent);
  font-size: 0.95rem; color: var(--color-text-muted);
}
.webform-confirmation strong { color: var(--color-white); }

/* ===========================
   DRUPAL LOCAL TASK TABS (View / Edit / Delete / Revisions / Devel)
   Custom template: menu-local-tasks.html.twig → .admin-tasks
   =========================== */
.admin-tasks {
  margin: 0.75rem 0 0.75rem;
  position: relative;
  z-index: 500;
  text-align: left;
  display: flex;
  justify-content: flex-start;
}

/* Drupal wraps local tasks in a block — kill its default padding/margin */
.block-local-tasks-block,
[data-block-plugin-id="local_tasks_block"] {
  margin: 0;
  padding: 0;
}

.admin-tasks__list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.375rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.admin-tasks__item {
  display: block;
  margin: 0;
  padding: 0;
}

/* The rendered link inside each <li> */
.admin-tasks__item a,
.admin-tasks__item a:visited {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.55rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-faint);
  background: var(--color-surface);
  padding: 0.3rem 0.75rem;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
  border: none;
}

.admin-tasks__item.is-active a,
.admin-tasks__item a.is-active {
  color: var(--color-white);
  background: var(--color-accent);
}

.admin-tasks__item a:hover {
  color: var(--color-white);
  background: var(--color-accent);
}

/* ===========================
   SCROLL-REVEAL ANIMATIONS
   =========================== */

/* Initial hidden state — applied via JS on elements with [data-reveal] */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* Stagger delay for children */
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-reveal-stagger].revealed > *:nth-child(1)  { transition-delay: 0.05s; opacity: 1; transform: none; }
[data-reveal-stagger].revealed > *:nth-child(2)  { transition-delay: 0.10s; opacity: 1; transform: none; }
[data-reveal-stagger].revealed > *:nth-child(3)  { transition-delay: 0.15s; opacity: 1; transform: none; }
[data-reveal-stagger].revealed > *:nth-child(4)  { transition-delay: 0.20s; opacity: 1; transform: none; }
[data-reveal-stagger].revealed > *:nth-child(5)  { transition-delay: 0.25s; opacity: 1; transform: none; }
[data-reveal-stagger].revealed > *:nth-child(6)  { transition-delay: 0.30s; opacity: 1; transform: none; }
[data-reveal-stagger].revealed > *:nth-child(7)  { transition-delay: 0.35s; opacity: 1; transform: none; }
[data-reveal-stagger].revealed > *:nth-child(8)  { transition-delay: 0.40s; opacity: 1; transform: none; }
[data-reveal-stagger].revealed > *:nth-child(9)  { transition-delay: 0.45s; opacity: 1; transform: none; }
[data-reveal-stagger].revealed > *:nth-child(10) { transition-delay: 0.50s; opacity: 1; transform: none; }
[data-reveal-stagger].revealed > *:nth-child(11) { transition-delay: 0.55s; opacity: 1; transform: none; }
[data-reveal-stagger].revealed > *:nth-child(12) { transition-delay: 0.60s; opacity: 1; transform: none; }
[data-reveal-stagger].revealed > *:nth-child(13) { transition-delay: 0.65s; opacity: 1; transform: none; }
[data-reveal-stagger].revealed > *:nth-child(14) { transition-delay: 0.70s; opacity: 1; transform: none; }
[data-reveal-stagger].revealed > *:nth-child(15) { transition-delay: 0.75s; opacity: 1; transform: none; }

/* Honour reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ===========================
   ABOUT PAGE
   =========================== */

/* Hero */
.about-hero {
  position: relative;
  background: var(--color-accent);
  overflow: hidden;
  padding: 7rem 0 6rem;
}
.about-hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.about-hero__canvas::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 90% at 8% 50%, rgba(0,0,0,0.35) 0%, transparent 65%);
  z-index: 1;
}
.about-hero__canvas canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.about-hero__inner {
  position: relative;
  z-index: 2;
}
.about-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1.0;
  margin: 1rem 0 1.75rem;
}
.about-hero__accent { color: rgba(255,255,255,0.55); }
.about-hero__sub {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  max-width: 38rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}
.about-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Stats bar */
.about-stats {
  background: var(--color-bg-secondary);
  padding: 2.5rem 0;
}
.about-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (min-width: 640px) {
  .about-stats__grid { grid-template-columns: repeat(4, 1fr); }
}
.about-stats__item { text-align: center; }
.about-stats__value {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.about-stats__label {
  font-size: 0.65rem;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-faint);
}

/* ===========================
   HOME INTRO BLOCK
   =========================== */
.home-intro {
  padding: 5rem 0;
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.home-intro__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 900px) {
  .home-intro__grid { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
}

.home-intro__title {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 800; font-family: var(--font-heading);
  color: var(--color-white); letter-spacing: -0.03em;
  line-height: 1.1; margin: 0.75rem 0 1.5rem;
}

.home-intro__lead {
  font-size: 1.05rem; color: var(--color-text);
  line-height: 1.8; margin-bottom: 1.25rem;
  font-family: var(--font-body);
}

.home-intro__body {
  font-size: 0.9rem; color: var(--color-text-muted);
  line-height: 1.8; margin-bottom: 2rem;
}

.home-intro__cta {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.82rem; font-weight: 800; font-family: var(--font-heading);
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--color-accent); text-decoration: none;
  transition: gap 0.2s;
}
.home-intro__cta svg { width: 1rem; height: 1rem; transition: transform 0.2s; }
.home-intro__cta:hover { gap: 0.9rem; }
.home-intro__cta:hover svg { transform: translateX(3px); }

/* Right column — points */
.home-intro__points {
  display: flex; flex-direction: column; gap: 0;
}

.home-intro__point {
  display: flex; gap: 1rem; align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-border);
}
.home-intro__point:first-child { border-top: 1px solid var(--color-border); }

.home-intro__point-icon {
  width: 2rem; height: 2rem; flex-shrink: 0;
  color: #ffffff;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-accent);
  padding: 0.4rem; box-sizing: border-box;
}
.home-intro__point-icon svg { width: 100%; height: 100%; }

.home-intro__point-text {
  font-size: 0.88rem; color: var(--color-text-muted);
  line-height: 1.65; padding-top: 0.2rem;
}

/* Signature */
.home-intro__signature {
  display: flex; align-items: center; gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}
.home-intro__avatars { display: flex; gap: -0.5rem; }
.home-intro__avatar {
  width: 2.5rem; height: 2.5rem;
  
  background: var(--color-accent);
  color: #fff; font-weight: 800; font-family: var(--font-heading);
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--color-bg-secondary);
}
.home-intro__avatar:last-child { margin-left: -0.75rem; background: var(--color-surface); }
.home-intro__sig-names {
  font-size: 0.85rem; font-weight: 700; font-family: var(--font-heading);
  color: var(--color-white);
}
.home-intro__sig-role {
  font-size: 0.75rem; color: var(--color-text-faint);
  margin-top: 0.1rem;
}

/* Manifesto */
.about-manifesto {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .about-manifesto { grid-template-columns: 220px 1fr; gap: 4rem; align-items: start; }
}
.about-manifesto__lead {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}
.about-manifesto__text p {
  color: var(--color-text-muted);
  font-family: var(--font-body);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Values grid */
.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 0.5rem;
}
@media (min-width: 768px) {
  .about-values { grid-template-columns: repeat(4, 1fr); }
}
.about-value {
  background: var(--color-bg);
  padding: 2rem 1.5rem;
}
.about-value__icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  display: flex; align-items: center; justify-content: center;
  color: #ffffff;
  background: var(--color-accent);
  padding: 0.5rem; box-sizing: border-box;
}
.about-value__icon svg { width: 100%; height: 100%; }
.about-value__title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.about-value__text {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  line-height: 1.7;
}

/* Team */
.about-team {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .about-team { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .about-team { grid-template-columns: repeat(4, 1fr); }
}
.about-member {
  background: var(--color-bg-secondary);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.about-member__avatar {
  width: 3rem;
  height: 3rem;
  
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  flex-shrink: 0;
}
.about-member__name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--color-text);
}
.about-member__role {
  font-size: 0.65rem;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-top: 0.2rem;
}
.about-member__bio {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  line-height: 1.7;
}

/* Timeline */
.about-timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--color-border);
  gap: 0;
}
.about-timeline__item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1rem;
  align-items: start;
  position: relative;
  padding-bottom: 2rem;
}
.about-timeline__dot {
  position: absolute;
  left: -2.6rem;
  top: 0.4rem;
  width: 10px;
  height: 10px;
  
  background: var(--color-accent);
  border: 2px solid var(--color-bg-secondary);
}
.about-timeline__year {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-top: 0.2rem;
}
.about-timeline__event {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ===========================
   USER LOGIN / REGISTER / PASSWORD
   =========================== */

#user-login-form,
#user-pass,
#user-register-form {
  background: var(--color-bg-secondary);
  padding: 2.5rem;
  border: 1px solid var(--color-border);
}

#user-login-form .form-item,
#user-pass .form-item,
#user-register-form .form-item {
  margin-bottom: 1.25rem;
}

#user-login-form label,
#user-pass label,
#user-register-form label {
  display: block;
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  font-family: var(--font-heading);
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

#user-login-form input[type="text"],
#user-login-form input[type="password"],
#user-login-form input[type="email"],
#user-pass input[type="text"],
#user-pass input[type="email"],
#user-register-form input[type="text"],
#user-register-form input[type="password"],
#user-register-form input[type="email"] {
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  padding: 0.75rem 0.875rem;
  font-size: 0.88rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#user-login-form input:focus,
#user-pass input:focus,
#user-register-form input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-dim);
}

#user-login-form .form-actions,
#user-pass .form-actions,
#user-register-form .form-actions {
  margin-top: 1.5rem;
  display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center;
}

#user-login-form .button,
#user-pass .button,
#user-register-form .button {
  padding: 0.75rem 1.75rem;
  background: var(--color-accent);
  color: #fff;
  border: none; cursor: pointer;
  font-size: 0.8rem; font-weight: 800;
  font-family: var(--font-heading);
  text-transform: uppercase; letter-spacing: 0.05em;
  transition: background 0.2s;
}
#user-login-form .button:hover,
#user-pass .button:hover,
#user-register-form .button:hover { background: var(--color-accent-hover); }

#user-login-form .button--secondary,
#user-pass .button--secondary {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
}
#user-login-form .button--secondary:hover,
#user-pass .button--secondary:hover {
  border-color: var(--color-text-muted);
  color: var(--color-white);
}

/* ===========================
   RELATED ARTICLES
   =========================== */
.related-articles {
  padding: 4rem 0 5rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}
.related-articles__header {
  margin-bottom: 2.5rem;
}
.related-articles__title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--color-white);
  margin-top: 0.5rem;
}
.related-articles__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .related-articles__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .related-articles__grid { grid-template-columns: repeat(3, 1fr); }
}

.related-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.related-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.related-card__cover {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-bg-secondary);
  flex-shrink: 0;
}
.related-card__cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.related-card:hover .related-card__cover img { transform: scale(1.05); }
.related-card__cover-placeholder {
  width: 100%; height: 100%;
  background: var(--color-surface);
}
.related-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.related-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.related-card__category {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-weight: 700;
}
.related-card__date {
  font-size: 0.65rem;
  color: var(--color-text-faint);
}
.related-card__title {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.4;
  transition: color 0.2s;
}
.related-card:hover .related-card__title { color: var(--color-accent); }
.related-card__excerpt {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===========================
   LOGO LETTER ANIMATION
   =========================== */
/* Logo chars — default state: invisible (JS sets visibility:hidden on parent) */
.logo-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  transition: none;
}

/* Animation applied via inline style by JS to avoid CSS aggregator issues */

@keyframes logoCharIn {
  0%   { opacity: 0; transform: translateY(10px); }
  65%  { opacity: 1; transform: translateY(-2px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes logoCharOut {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-8px); }
}



/* ===========================
   PROJECT FULL PAGE
   =========================== */
.project-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
  padding: 3rem 0 5rem;
}
@media (min-width: 900px) {
  .project-layout { grid-template-columns: 1fr 280px; }
}

.project-main { min-width: 0; }

.project-client {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--color-bg-secondary);
  border-left: 3px solid var(--color-accent);
  margin-bottom: 2rem;
}
.project-client__logo img { height: 2rem; width: auto; filter: brightness(0) invert(1); }
.project-client__name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-white);
  font-family: var(--font-heading);
}

.project-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px) {
  .project-gallery { grid-template-columns: repeat(2, 1fr); }
}
.project-gallery__item:first-child {
  grid-column: 1 / -1;
}
.project-gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--color-border);
}

.project-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.project-sidebar {}

.project-tech-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.project-tech-list__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.project-tags .field--type-entity-reference { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.project-tags .field__item a,
.project-tags .field__item {
  font-size: 0.72rem;
  background: var(--color-surface);
  color: var(--color-text-muted);
  padding: 0.2rem 0.625rem;
  text-decoration: none;
  transition: background 0.2s;
}
.project-tags .field__item a:hover { background: var(--color-accent); color: #fff; }

.project-services-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.project-services-list__link {
  font-size: 0.82rem;
  color: var(--color-accent);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s;
}
.project-services-list__link:hover { color: var(--color-white); }
.project-services-list__link::before {
  content: '→';
  font-size: 0.7rem;
}

/* ===========================
   NEWS PAGER
   =========================== */
.news-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 2.5rem 0 4rem;
}
.news-pager__page {
  display: flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem;
  font-size: 0.82rem; font-family: var(--font-heading); font-weight: 700;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.news-pager__page:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.news-pager__page.is-active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.news-pager__btn {
  display: flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.news-pager__btn:hover {
  border-color: var(--color-accent);
  color: var(--color-white);
}

/* v2 */

/* ===========================
   PROJECT META BAR
   =========================== */
/* ===========================
   PROJECT INFO SIDEBAR WIDGET
   =========================== */
.project-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.project-info-list__item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--color-border);
}
.project-info-list__item:last-child { border-bottom: none; }
.project-info-list__icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  
  background: color-mix(in srgb, var(--color-accent) 12%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin-top: .1rem;
}
.project-info-list__body {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 0;
}
.project-info-list__label {
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-text-muted);
  line-height: 1;
}
.project-info-list__value {
  font-size: .9rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
  word-break: break-word;
}
.project-info-list__link {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
}
.project-info-list__link:hover { text-decoration: underline; }

/* ===========================
   CHALLENGE / SOLUTION
   =========================== */
.project-cs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 2.5rem 0;
}
@media (min-width: 640px) {
  .project-cs { grid-template-columns: 1fr 1fr; }
}
.project-cs__block {
  padding: 1.5rem;
  
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}
.project-cs__block--challenge { border-top: 3px solid var(--color-accent); }
.project-cs__block--solution  { border-top: 3px solid var(--color-accent); }
.project-cs__title {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 .875rem;
}
.project-cs__block--challenge .project-cs__title { color: var(--color-accent); }
.project-cs__block--solution  .project-cs__title { color: var(--color-accent); }
.project-cs__title-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  
  flex-shrink: 0;
}
.project-cs__block--challenge .project-cs__title-icon {
  background: color-mix(in srgb, var(--color-accent) 15%, transparent);
  color: var(--color-accent);
}
.project-cs__block--solution .project-cs__title-icon {
  background: color-mix(in srgb, var(--color-accent) 15%, transparent);
  color: var(--color-accent);
}
.project-cs__text {
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--color-text);
  margin: 0;
}

/* Section title with icon (About the project) */
.project-section-title {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--color-text);
  margin: 0 0 1.25rem;
}
.project-body { margin: 2.5rem 0; }

/* ===========================
   RESULTS & IMPACT
   =========================== */
.project-results {
  margin: 2.5rem 0;
  padding: 2rem;
  
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}
.project-results__title {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 0 0 1.25rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.project-results__title svg { flex-shrink: 0; }
.project-results__body ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
}
@media (min-width: 640px) {
  .project-results__body ul { grid-template-columns: 1fr 1fr; }
}
.project-results__body li {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 1rem 1.25rem;
  background: var(--color-bg);
  
  border: 1px solid var(--color-border);
  font-size: .9375rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}
.project-results__body li::before { content: none; }
.project-results__body strong {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--color-white);
  font-weight: 700;
}
.project-results__body strong::before {
  content: '';
  flex-shrink: 0;
  width: .5rem;
  height: .5rem;
  
  background: var(--color-accent);
}

/* ===========================
   TESTIMONIAL
   =========================== */
.project-testimonial {
  margin: 2.5rem 0;
  
  overflow: hidden;
  background: linear-gradient(135deg, color-mix(in srgb, var(--color-accent) 8%, var(--color-surface)), var(--color-surface));
  border: 1px solid color-mix(in srgb, var(--color-accent) 25%, var(--color-border));
}
.project-testimonial__inner {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  align-items: flex-start;
}
.project-testimonial__icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  
  background: color-mix(in srgb, var(--color-accent) 15%, transparent);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-testimonial__quote {
  flex: 1;
  margin: 0;
  padding: 0;
  border: none;
}
.project-testimonial__text {
  font-size: 1.0625rem;
  line-height: 1.75;
  font-style: italic;
  color: var(--color-text);
  margin: 0 0 1.25rem;
  position: relative;
}
.project-testimonial__footer {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.project-testimonial__avatar {
  width: 2.25rem;
  height: 2.25rem;
  
  background: var(--color-accent);
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.project-testimonial__author {
  font-size: .9rem;
  font-weight: 600;
  color: var(--color-text);
  font-style: normal;
}

/* ===========================
   INDUSTRIES SECTION
   =========================== */
.section--industries { background: var(--color-bg); }

/* industries-grid responsive rules defined at end of file */

.industry-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  padding: 1.5rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.industry-card:hover {
  background: var(--color-surface);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
  color: inherit;
}
.industry-card:hover .industry-card__title { color: var(--color-accent); }
.industry-card__icon {
  width: 2.75rem; height: 2.75rem; flex-shrink: 0;
  color: #ffffff; background: var(--color-accent);
  display: flex; align-items: center; justify-content: center;
  padding: 0.6rem; box-sizing: border-box;
  transition: background 0.2s, color 0.2s;
}
.industry-card__icon svg { width: 100%; height: 100%; }
.industry-card:hover .industry-card__icon {
  background: #ffffff;
  color: var(--color-accent);
}
.industry-card__body { flex: 1; min-width: 0; }
.industry-card__title {
  font-size: 1rem; font-weight: 800; color: var(--color-white);
  margin-bottom: 0.4rem; transition: color 0.2s;
  font-family: var(--font-heading);
}
.industry-card__desc { font-size: 0.875rem; color: var(--color-text-faint); line-height: 1.6; margin: 0; }

/* ===========================
   INDUSTRY PAGE
   =========================== */
.article-hero--industry { min-height: 28rem; }

.industry-page-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 3rem 0;
}
@media (min-width: 1024px) {
  .industry-page-layout { grid-template-columns: 1fr 280px; }
}

.industry-page-body {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 2rem;
}

.industry-page-points { margin-bottom: 2.5rem; }
.industry-page-points__title {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-heading);
  margin: 0 0 1.25rem;
  color: var(--color-text);
}
.industry-page-points__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .625rem;
}
.industry-page-points__item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .9375rem;
  color: var(--color-text);
  line-height: 1.5;
}
.industry-page-points__item svg {
  flex-shrink: 0;
  color: var(--color-accent);
  margin-top: .125rem;
}

.industry-page-projects { margin-top: 2.5rem; }
.industry-page-projects__title {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-heading);
  margin: 0 0 1.5rem;
  color: var(--color-text);
}
.industry-page-empty {
  padding: 2rem;
  background: var(--color-surface);
  
  font-size: .9375rem;
  color: var(--color-text-muted);
}
.industry-page-empty a { color: var(--color-accent); }

.industry-page-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.industry-page-sidebar-list li { border-bottom: 1px solid var(--color-border); }
.industry-page-sidebar-list li:last-child { border-bottom: none; }
.industry-page-sidebar-list a {
  display: flex; align-items: center; gap: .5rem;
  padding: .625rem 0;
  font-size: .875rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.industry-page-sidebar-list a:hover { color: var(--color-accent); }

/* ===========================
   INDUSTRY PAGE — EXTRA
   =========================== */
.industry-page-section-title {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--color-text);
  margin: 0 0 1.25rem;
}
.industry-page-section-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  
  background: color-mix(in srgb, var(--color-accent) 15%, transparent);
  color: var(--color-accent);
  flex-shrink: 0;
}

.industry-page-sidebar-link {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .625rem 0;
  font-size: .875rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.industry-page-sidebar-link:hover { color: var(--color-accent); }
.industry-page-sidebar-link svg { color: var(--color-accent); flex-shrink: 0; }

.sidebar-widget__title {
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* Industries grid — match services: 3 col desktop, 2 col tablet */
.industries-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

@media (max-width: 639px) { .industries-grid { grid-template-columns: 1fr; } }

/* ===========================
   INDUSTRY HERO VISUAL BACKGROUND
   =========================== */
.article-hero__bg--industry {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a0a0f 0%, #130a0a 40%, #1a0505 100%);
  overflow: hidden;
}
.industry-hero-visual {
  position: absolute;
  inset: 0;
}
.industry-hero-visual__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(220,38,38,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220,38,38,0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 70% 50%, black 30%, transparent 80%);
}
.industry-hero-visual__glow {
  position: absolute;
  top: -20%;
  right: -5%;
  width: 55%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(220,38,38,0.18) 0%, rgba(180,20,20,0.08) 40%, transparent 70%);
  pointer-events: none;
}
.industry-hero-visual__icon {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 260px;
  height: 260px;
  color: rgba(220,38,38,0.12);
  pointer-events: none;
}
.industry-hero-visual__icon svg {
  width: 100%;
  height: 100%;
}
@media (max-width: 767px) {
  .industry-hero-visual__icon { display: none; }
}


/* Industry hero cover images via Unsplash */
[data-industry="business-consulting-advisory"] .article-hero__bg--industry {
  background-image: url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=1400&q=80&auto=format&fit=crop");
  background-size: cover; background-position: center;
}
[data-industry="defence-uav-aerospace-technology"] .article-hero__bg--industry {
  background-image: url("https://images.unsplash.com/photo-1581093196277-9f608bb3b511?w=1400&q=80&auto=format&fit=crop");
  background-size: cover; background-position: center;
}
[data-industry="fashion-outdoor-e-commerce"] .article-hero__bg--industry {
  background-image: url("https://images.unsplash.com/photo-1483985988355-763728e1935b?w=1400&q=80&auto=format&fit=crop");
  background-size: cover; background-position: center;
}
[data-industry="healthcare-medical-clinics"] .article-hero__bg--industry {
  background-image: url("https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?w=1400&q=80&auto=format&fit=crop");
  background-size: cover; background-position: center;
}
[data-industry="healthcare-aesthetics-medical-tourism"] .article-hero__bg--industry {
  background-image: url("https://images.unsplash.com/photo-1612349317150-e413f6a5b16d?w=1400&q=80&auto=format&fit=crop");
  background-size: cover; background-position: center;
}
[data-industry="home-services-construction"] .article-hero__bg--industry {
  background-image: url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1400&q=80&auto=format&fit=crop");
  background-size: cover; background-position: center;
}
[data-industry="home-services-moving"] .article-hero__bg--industry {
  background-image: url("https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1400&q=80&auto=format&fit=crop");
  background-size: cover; background-position: center;
}
[data-industry="industrial-manufacturing-b2b"] .article-hero__bg--industry {
  background-image: url("https://images.unsplash.com/photo-1565043589221-1a6fd9ae45c7?w=1400&q=80&auto=format&fit=crop");
  background-size: cover; background-position: center;
}
[data-industry="it-distribution-enterprise-technology"] .article-hero__bg--industry {
  background-image: url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?w=1400&q=80&auto=format&fit=crop");
  background-size: cover; background-position: center;
}
[data-industry="legal-marketing-digital-agency"] .article-hero__bg--industry {
  background-image: url("https://images.unsplash.com/photo-1504868584819-f8e8b4b6d7e3?w=1400&q=80&auto=format&fit=crop");
  background-size: cover; background-position: center;
}
[data-industry="legal-services-directories"] .article-hero__bg--industry {
  background-image: url("https://images.unsplash.com/photo-1589829545856-d10d557cf95f?w=1400&q=80&auto=format&fit=crop");
  background-size: cover; background-position: center;
}
[data-industry="legal-services-law-firms"] .article-hero__bg--industry {
  background-image: url("https://images.unsplash.com/photo-1521587760476-6c12a4b040da?w=1400&q=80&auto=format&fit=crop");
  background-size: cover; background-position: center;
}
[data-industry="pet-care-e-commerce"] .article-hero__bg--industry {
  background-image: url("https://images.unsplash.com/photo-1587300003388-59208cc962cb?w=1400&q=80&auto=format&fit=crop");
  background-size: cover; background-position: center;
}
[data-industry="professional-associations-non-profit"] .article-hero__bg--industry {
  background-image: url("https://images.unsplash.com/photo-1529156069898-49953e39b3ac?w=1400&q=80&auto=format&fit=crop");
  background-size: cover; background-position: center;
}
[data-industry="real-estate-property-management"] .article-hero__bg--industry {
  background-image: url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1400&q=80&auto=format&fit=crop");
  background-size: cover; background-position: center;
}
[data-industry="education-e-learning"] .article-hero__bg--industry {
  background-image: url("https://images.unsplash.com/photo-1503676260728-1c00da094a0b?w=1400&q=80&auto=format&fit=crop");
  background-size: cover; background-position: center;
}
/* Darken the overlay more when there is a photo behind */
.article-hero--industry .article-hero__overlay {
  background: linear-gradient(to right, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.35) 100%);
}

.project-results__body .result-desc { display: block; color: var(--color-text-muted); }

/* Contact/Quote page content column */
.contact-content { min-width: 0; }

/* Contact/Quote sidebar info widgets */
.contact-info-box {
  background: var(--color-bg-secondary);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-info-box__item {}
.contact-sidebar-widget {
  background: var(--color-bg-secondary);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.contact-sidebar-widget__heading {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-text-faint);
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 1rem;
}
.contact-reasons {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.contact-reasons li {
  display: flex;
  gap: .625rem;
  align-items: flex-start;
  font-size: .82rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ===== Industries nav dropdown (2-level) ===== */
.nav-industries { position: relative; }
.nav-industries__toggle {
  display: flex; align-items: center; gap: 0.375rem;
  font-size: 0.82rem; font-weight: 700;
  color: var(--color-text-muted); transition: color 0.2s;
  text-decoration: none; padding: 0.25rem 0;
  text-transform: uppercase; letter-spacing: 0.05em;
  font-family: var(--font-body);
}
.nav-industries__toggle:hover,
.nav-industries__toggle.is-active { color: var(--color-white); }
.nav-industries__toggle svg { width: 0.875rem; height: 0.875rem; transition: transform 0.2s; }
.nav-industries:hover .nav-industries__toggle svg { transform: rotate(180deg); }
.nav-industries__toggle.is-active::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 100%; height: 2px; background: var(--color-accent);
}

/* Two-level admin-style dropdown */
.nav-ind-panel {
  opacity: 0; pointer-events: none;
  position: absolute; top: calc(100% + 8px); left: 0;
  background: #111113;
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.55);
  z-index: 200;
  transform: translateY(4px);
  transition: opacity 0.15s, transform 0.15s;
  display: flex;
  min-width: 13rem;
}
.nav-industries:hover .nav-ind-panel {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}

/* Left column — groups */
.nav-ind-groups {
  list-style: none; padding: 0.375rem 0; margin: 0;
  min-width: 13rem; flex-shrink: 0;
  border-right: 1px solid var(--color-border);
}
.nav-ind-group { position: relative; margin: 0; }
.nav-ind-group > a {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  padding: 0.45rem 1rem;
  font-size: 0.82rem; font-weight: 500;
  color: var(--color-text-muted); text-decoration: none;
  transition: background 0.1s, color 0.1s;
  white-space: nowrap;
}
.nav-ind-group > a svg { opacity: 0.4; flex-shrink: 0; transition: opacity 0.1s; }
.nav-ind-group:hover > a {
  background: rgba(255,255,255,0.06); color: var(--color-white);
}
.nav-ind-group:hover > a svg { opacity: 0.8; }

/* Right column — sub-industries, shown on group hover */
.nav-ind-subs {
  display: none;
  list-style: none; padding: 0.375rem 0; margin: 0;
  position: absolute; left: 100%; top: -1px;
  min-width: 14rem;
  background: #111113;
  border: 1px solid var(--color-border);
  box-shadow: 4px 4px 16px rgba(0,0,0,0.4);
}
.nav-ind-group:hover .nav-ind-subs { display: block; }
.nav-ind-subs li { margin: 0; }
.nav-ind-subs a {
  display: block; padding: 0.45rem 1rem;
  font-size: 0.82rem; font-weight: 400;
  color: var(--color-text-muted); text-decoration: none;
  white-space: nowrap; transition: background 0.1s, color 0.1s;
  text-align: left;
}
.nav-ind-subs a:hover { background: rgba(255,255,255,0.06); color: var(--color-white); }

/* Industry group page layout */
.industry-group-page {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}
@media (min-width: 1024px) {
  .industry-group-page { grid-template-columns: 1fr 240px; gap: 3rem; }
}
.industry-group-sub { margin-bottom: 3rem; }
.industry-group-sub__header {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border); padding-bottom: 0.75rem;
}
.industry-group-sub__title {
  font-size: 1.25rem; font-weight: 700; margin: 0;
}
.industry-group-sub__title a {
  color: var(--color-white); text-decoration: none; transition: color 0.2s;
}
.industry-group-sub__title a:hover { color: var(--color-accent); }
.industry-group-sub__more {
  font-size: 0.8rem; color: var(--color-accent); text-decoration: none;
  white-space: nowrap; transition: opacity 0.2s;
}
.industry-group-sub__more:hover { opacity: 0.8; }

/* ===== Industries grouped on homepage ===== */
.industries-group-block { margin-bottom: 2.5rem; }
.industries-group-block:last-child { margin-bottom: 0; }
.industries-group-label {
  display: flex; align-items: center; gap: 0.625rem;
  margin-bottom: 1rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid var(--color-border);
}
.industries-group-label__icon {
  display: flex; align-items: center; justify-content: center;
  width: 1.75rem; height: 1.75rem; flex-shrink: 0;
  color: var(--color-accent);
}
.industries-group-label__name {
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--color-text-muted);
  text-decoration: none; transition: color 0.2s;
}
.industries-group-label__name:hover { color: var(--color-accent); }

/* ===========================
   STICKY FOOTER
   =========================== */
html, body { height: 100%; }
.layout-main-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.layout-main-wrapper > main { flex: 1 0 auto; }
.layout-main-wrapper > .site-footer { flex-shrink: 0; }

/* ===========================
   INDUSTRY GROUP PAGE (ig-*)
   =========================== */
.ig-hero {
  position: relative;
  background-image: var(--ig-cover);
  background-size: cover;
  background-position: center;
  min-height: 20rem;
  display: flex;
  align-items: flex-end;
  padding-bottom: 3rem;
}
@media (min-width: 768px) { .ig-hero { min-height: 30rem; } }

.ig-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(5,5,7,0.35) 0%, rgba(5,5,7,0.88) 100%);
}
.ig-hero__inner {
  position: relative; z-index: 1;
  width: 100%;
}
.ig-breadcrumb {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.75rem; color: rgba(255,255,255,0.6);
  margin-bottom: 1.25rem;
}
.ig-breadcrumb a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.15s; }
.ig-breadcrumb a:hover { color: #fff; }
.ig-breadcrumb svg { opacity: 0.5; flex-shrink: 0; }
.ig-hero__heading {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 0.625rem;
}
.ig-hero__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; flex-shrink: 0;
  background: var(--color-accent);
  color: #fff;
}
.ig-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  font-family: var(--font-heading);
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0;
}
.ig-hero__sub {
  font-size: 0.875rem; color: rgba(255,255,255,0.6);
  margin: 0;
}

.ig-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-top: 3rem;
  padding-bottom: 5rem;
}
@media (min-width: 1024px) {
  .ig-body { grid-template-columns: 1fr 280px; gap: 3.5rem; }
}

/* Sub-industry sections */
.ig-sub { margin-bottom: 3.5rem; padding-bottom: 3.5rem; border-bottom: 1px solid var(--color-border); }
.ig-sub:last-of-type { border-bottom: none; }
.ig-sub__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.5rem;
}
.ig-sub__head-left { display: flex; align-items: baseline; gap: 0.75rem; }
.ig-sub__title {
  font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 800;
  font-family: var(--font-heading); color: var(--color-white); margin: 0;
}
.ig-sub__count {
  font-size: 0.72rem; font-weight: 600; color: var(--color-accent);
  background: rgba(220,38,38,0.1); padding: 0.15rem 0.5rem; 
  white-space: nowrap;
}
.ig-sub__cta {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.78rem; font-weight: 600; color: var(--color-accent);
  text-decoration: none; white-space: nowrap; transition: opacity 0.2s; flex-shrink: 0;
}
.ig-sub__cta:hover { opacity: 0.75; }

/* Project grid inside group page */
.ig-projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 600px) { .ig-projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ig-projects-grid { grid-template-columns: repeat(3, 1fr); } }

.ig-project-card {
  display: flex; flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  text-decoration: none; color: inherit;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}
.ig-project-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.ig-project-card__img {
  width: 100%; aspect-ratio: 16/9; overflow: hidden; background: var(--color-border);
}
.ig-project-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.ig-project-card:hover .ig-project-card__img img { transform: scale(1.04); }
.ig-project-card__placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  color: var(--color-text-faint);
}
.ig-project-card__body { padding: 1rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.ig-project-card__tag {
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--color-accent);
}
.ig-project-card__title { font-size: 0.95rem; font-weight: 700; color: var(--color-white); margin: 0; font-family: var(--font-heading); }
.ig-project-card__excerpt { font-size: 0.82rem; color: var(--color-text-faint); margin: 0; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.ig-sub__more-wrap { margin-top: 1rem; }
.ig-sub__more-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.82rem; font-weight: 600; color: var(--color-text-muted);
  text-decoration: none; transition: color 0.2s;
}
.ig-sub__more-link:hover { color: var(--color-accent); }

.ig-sub__empty {
  background: var(--color-surface); border: 1px dashed var(--color-border);
  padding: 2rem; text-align: center;
}
.ig-sub__empty p { color: var(--color-text-faint); font-size: 0.875rem; margin: 0 0 1rem; }

.ig-cta-block {
  background: var(--color-surface); border: 1px solid var(--color-border);
  padding: 2.5rem; text-align: center; margin-top: 1rem;
}
.ig-cta-block__title { font-size: 1.4rem; font-weight: 800; font-family: var(--font-heading); color: var(--color-white); margin: 0 0 0.5rem; }
.ig-cta-block__text { font-size: 0.9rem; color: var(--color-text-faint); margin: 0 0 1.5rem; }

/* Sidebar */
.ig-sidebar__inner { position: sticky; top: 5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.ig-sidebar__section {
  background: var(--color-surface); border: 1px solid var(--color-border); padding: 1.25rem;
}
.ig-sidebar__label {
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--color-text-faint); margin: 0 0 0.875rem;
}
.ig-sidebar__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.15rem; }
.ig-sidebar__link {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; color: var(--color-text-muted); text-decoration: none;
  padding: 0.35rem 0.5rem; transition: color 0.15s, background 0.15s;
}
.ig-sidebar__link:hover { color: var(--color-white); background: rgba(255,255,255,0.04); }
.ig-sidebar__link.is-active { color: var(--color-accent); font-weight: 700; }
.ig-sidebar__link-icon { display: flex; align-items: center; flex-shrink: 0; opacity: 0.5; }
.ig-sidebar__link.is-active .ig-sidebar__link-icon { opacity: 1; color: var(--color-accent); }
.ig-sidebar__link--sub { padding-left: 0.875rem; }
.ig-sidebar__badge {
  margin-left: auto; font-size: 0.65rem; font-weight: 700;
  background: rgba(220,38,38,0.12); color: var(--color-accent);
  padding: 0.1rem 0.4rem; 
}
.ig-sidebar__quote {
  background: var(--color-accent); padding: 1.25rem;
}
.ig-sidebar__quote-title { font-size: 0.9rem; font-weight: 800; font-family: var(--font-heading); color: #fff; margin: 0 0 0.4rem; }
.ig-sidebar__quote-text { font-size: 0.78rem; color: rgba(255,255,255,0.8); margin: 0 0 1rem; line-height: 1.5; }
.btn--full { width: 100%; justify-content: center; }
.btn--sm { padding: 0.5rem 1rem; font-size: 0.8rem; }
.btn--ghost {
  background: transparent; border: 1.5px solid rgba(255,255,255,0.25);
  color: #fff; padding: 0.65rem 1.5rem;
  font-weight: 700; font-size: 0.85rem; font-family: var(--font-body);
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem;
  transition: border-color 0.2s, background 0.2s;
}
.btn--ghost:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.06); }

/* ===========================
   INDUSTRIES INDEX PAGE (ii-*)
   =========================== */
.ii-hero {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--color-border);
}
.ii-hero__title {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; font-family: var(--font-heading);
  color: var(--color-white); letter-spacing: -0.02em; margin: 0.4rem 0 0.75rem;
}
.ii-hero__lead { font-size: 1.05rem; color: var(--color-text-faint); max-width: 42rem; margin: 0; }

.ii-groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding-top: 3rem;
  padding-bottom: 2rem;
}
@media (min-width: 640px) { .ii-groups { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ii-groups { grid-template-columns: repeat(3, 1fr); } }

.ii-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.ii-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.ii-card__cover {
  position: relative;
  height: 11rem;
  background-image: var(--ii-cover);
  background-size: cover; background-position: center;
  overflow: hidden;
}
.ii-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(5,5,7,0.2) 0%, rgba(5,5,7,0.75) 100%);
  transition: background 0.3s;
}
.ii-card:hover .ii-card__overlay { background: linear-gradient(to bottom, rgba(5,5,7,0.25) 0%, rgba(5,5,7,0.8) 100%); }
.ii-card__header {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.ii-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; flex-shrink: 0;
  background: var(--color-accent); color: #fff; padding: 0.45rem; box-sizing: border-box;
}
.ii-card__title {
  font-size: 1.1rem; font-weight: 800; font-family: var(--font-heading);
  color: #fff; margin: 0; letter-spacing: -0.01em;
}
.ii-card__body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; gap: 1rem; }
.ii-card__subs { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.3rem; flex: 1; }
.ii-card__sub-link {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.83rem; color: var(--color-text-faint); text-decoration: none;
  padding: 0.2rem 0; transition: color 0.15s;
}
.ii-card__sub-link:hover { color: var(--color-accent); }
.ii-card__sub-arrow { color: var(--color-accent); flex-shrink: 0; }
.ii-card__explore {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 0.75rem; border-top: 1px solid var(--color-border);
  font-size: 0.8rem; font-weight: 700; color: var(--color-accent);
  text-decoration: none; transition: opacity 0.2s;
}
.ii-card__explore:hover { opacity: 0.75; }

.ii-bottom-cta { padding: 3rem 0 5rem; }
.ii-bottom-cta__inner {
  background: var(--color-surface); border: 1px solid var(--color-border);
  padding: 3rem 2rem; text-align: center;
}
.ii-bottom-cta__title { font-size: 1.6rem; font-weight: 800; font-family: var(--font-heading); color: var(--color-white); margin: 0 0 0.5rem; }
.ii-bottom-cta__text { font-size: 0.95rem; color: var(--color-text-faint); margin: 0 0 1.5rem; }


/* ===========================
   INDUSTRY GROUP CARD (homepage + /industries)
   icon left | name right | subs row below
   =========================== */
.ind-groups-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  gap: 0;
  border: 1px solid var(--color-border);
  margin-bottom: 0;
}
@media (min-width: 640px) { .ind-groups-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ind-groups-grid { grid-template-columns: repeat(3, 1fr); } }

.ind-group-card {
  background: var(--color-bg);
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: background 0.15s;
  border: 1px solid var(--color-border);
}
.ind-group-card:hover { background: var(--color-surface); }

.ind-group-card__top {
  display: flex; align-items: center; gap: 0.875rem;
}
.ind-group-card__icon {
  display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; flex-shrink: 0;
  background: var(--color-accent); color: #fff;
  padding: 0.5rem; box-sizing: border-box;
}
.ind-group-card__name {
  font-size: 1rem; font-weight: 800; font-family: var(--font-heading);
  color: var(--color-white); text-decoration: none;
  transition: color 0.15s; line-height: 1.25;
}
.ind-group-card__name:hover { color: var(--color-accent); }

.ind-group-card__subs {
  display: flex; flex-wrap: wrap; gap: 0.3rem 0;
  padding-left: calc(2.5rem + 0.875rem);
}
.ind-group-card__sub {
  font-size: 0.75rem; color: var(--color-text-faint);
  text-decoration: none; transition: color 0.15s;
  white-space: nowrap;
  padding-right: 0.75rem;
  position: relative;
}
.ind-group-card__sub:hover { color: var(--color-accent); }
.ind-group-card__sub:not(:last-child)::after {
  content: '·';
  position: absolute; right: 0.25rem;
  color: var(--color-border);
  pointer-events: none;
}

/* ===========================
   STANDARD CTA BLOCK (above footer)
   =========================== */
.section-cta {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 4rem 0;
  margin-top: 4rem;
}
.section-cta__inner {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem;
}
.section-cta__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800;
  font-family: var(--font-heading); color: var(--color-white); margin: 0;
  letter-spacing: -0.02em;
}
.section-cta__text { font-size: 1rem; color: var(--color-text-faint); margin: 0 0 0.5rem; max-width: 38rem; }

/* ===========================
   SIDEBAR TREE (groups + sub-industries)
   =========================== */
.ig-sidebar__tree {
  list-style: none; padding: 0; margin: 0;
}
.ig-sidebar__tree-group { margin-bottom: 0.125rem; }
.ig-sidebar__tree-group-link {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.625rem;
  font-size: 0.82rem; font-weight: 600;
  color: var(--color-text-muted); text-decoration: none;
  transition: color 0.15s, background 0.15s;
  
}
.ig-sidebar__tree-group-link:hover { color: var(--color-white); background: rgba(255,255,255,0.04); }
.ig-sidebar__tree-group-link.is-active { color: var(--color-accent); }
.ig-sidebar__tree-icon {
  display: inline-flex; align-items: center; flex-shrink: 0;
  color: var(--color-text-faint);
}
.ig-sidebar__tree-group-link.is-active .ig-sidebar__tree-icon { color: var(--color-accent); }
.ig-sidebar__tree-subs {
  list-style: none; padding: 0 0 0.25rem 1.75rem; margin: 0;
}
.ig-sidebar__tree-sub {
  display: flex; align-items: center; gap: 0.375rem;
  padding: 0.25rem 0;
  font-size: 0.75rem; color: var(--color-text-faint);
  text-decoration: none; transition: color 0.15s;
}
.ig-sidebar__tree-sub:hover { color: var(--color-accent); }
.ig-sidebar__tree-sub svg { flex-shrink: 0; opacity: 0.5; }

/* Fix ig-hero inner alignment */
.ig-hero__inner { padding-top: 2rem; }

/* Remove grey from ii-groups section */
.ii-groups { padding-bottom: 4rem; }
.ind-groups-grid { gap: 0; }

/* ===========================
   GLOBAL: hero content always left-aligned
   =========================== */
.ig-hero__inner,
.ii-hero__inner,
.article-hero__inner,
.ig-hero__inner .ig-breadcrumb,
.ig-hero__inner .ig-hero__heading,
.ig-hero__inner .ig-hero__sub {
  text-align: left;
}

.ig-sub__goto {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; font-weight: 600; color: var(--color-accent);
  text-decoration: none; padding: 0.625rem 0;
  transition: opacity 0.2s;
}
.ig-sub__goto:hover { opacity: 0.75; }

.ig-body--full { display: block; }
.ig-body--full .ig-main { max-width: 100%; }
