/*
 * Channel Microsystems — RF Energy Harvesting Semiconductor Technology
 * main.css — All site styles
 *
 * TABLE OF CONTENTS
 * ─────────────────────────────────────────────────────────────
 *  1.  Variables         Design tokens (colors, spacing, type)
 *  2.  Base / Reset      html, body, box-sizing
 *  3.  Typography        Headings, body text
 *  4.  Utilities         Shared helpers
 *  5.  Navigation        .site-nav, dropdowns, mobile nav
 *  6.  Hero              .hero-card, .home-hero (homepage)
 *  7.  Page Hero         .page-hero (inner pages)
 *  8.  Footer            .site-footer, CTA, columns, bottom bar
 *  9.  Sections          .section-label, shared section styles
 * 10.  Trusted Strip     Client logo strip
 * 11.  Services          .services-card grid (homepage)
 * 12.  About / Story     .story-callout, .timeline
 * 13.  Why Channel       .why-card
 * 14.  Projects          .project-card, .projects-row
 * 15.  Pricing           .pricing-card, .pricing-guarantee
 * 16.  Testimonials      .testimonial-card
 * 17.  Blog              .blog-featured, .blog-list, .blog-card
 * 18.  FAQ               .faq-section, .faq-item
 * 19.  Services Page     .svc-*, service detail layout
 * 20.  Project Detail    .project-meta, .project-stats-strip
 * 21.  Team              .team-card
 * 22.  Contact           .contact-method-card, .contact-form-panel
 * 23.  Article / Blog    .article-prose, .article-toc, sidebar
 * 24.  Coming Soon       .coming-soon-page, countdown
 * 25.  Error 404         .error-404-page
 * 26.  Mobile Dropdown   .mobile-dropdown accordion
 * ─────────────────────────────────────────────────────────────
 */

@import url('bootstrap.min.css');

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/jetbrains-mono-latin.woff2') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

/* =============================================================
   1. VARIABLES — Design Tokens
   ============================================================= */
:root {
  /* Brand */
  --color-primary:     #7C1B2A;   /* Channel Maroon */
  --color-primary-dim: rgba(124, 27, 42, 0.08);
  --color-secondary:   #C8202E;   /* Channel Red */

  /* Backgrounds — off-white/light by default; dark-scope override below
     re-defines these for .hero-card / .page-hero / .site-footer */
  --color-bg:          #F6F2EF;
  --color-bg-surface:  #FFFFFF;
  --color-bg-elevated: #F0E9E4;

  /* Border */
  --color-border:      #E6DFDA;

  /* Text */
  --color-text:        #2A2422;
  --color-text-muted:  #6B625D;
  --color-text-subtle: #A89F98;

  /* Semantic */
  --color-success:     #1E8E5A;
  --color-warning:     #B4790A;
  --color-danger:      #B3202E;

  /* Utility */
  --color-white:       #1A1613;  /* heading / high-contrast ink (Dark Charcoal) */
  --color-black:       #FFFFFF;  /* text on maroon/red buttons */

  /* Typography */
  --font-primary: 'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', monospace;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-md:   1.125rem;
  --text-lg:   1.25rem;
  --text-xl:   1.5rem;
  --text-2xl:  2rem;
  --text-3xl:  2.5rem;
  --text-4xl:  3.5rem;
  --text-5xl:  4.5rem;

  --leading-tight:  1.15;
  --leading-snug:   1.35;
  --leading-normal: 1.6;
  --leading-loose:  1.8;

  --tracking-tight:   -0.03em;
  --tracking-wide:     0.05em;
  --tracking-widest:   0.15em;

  --font-weight-regular:  400;
  --font-weight-medium:   500;
  --font-weight-semibold: 600;
  --font-weight-bold:     700;

  /* Spacing */
  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  24px;
  --space-lg:  40px;
  --space-xl:  80px;
  --space-2xl: 120px;

  /* Border Radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-md:   0 4px 16px rgba(28, 20, 18, 0.10);
  --shadow-lg:   0 8px 32px rgba(28, 20, 18, 0.14);
  --shadow-glow: 0 0 28px rgba(124, 27, 42, 0.22);
}

/* =============================================================
   1b. DARK-SURFACE SCOPE
   Selective dark backgrounds (hero / inner-page hero / footer) —
   redefines the same tokens locally so every component that already
   reads var(--color-white), var(--color-text), var(--color-bg-surface)
   etc. automatically renders correctly on a dark background here.
   ============================================================= */
.hero-card,
.page-hero,
.has-page-hero .site-nav,
.site-footer {
  --color-bg:          #1A1613;
  --color-bg-surface:  #221D19;
  --color-bg-elevated: #2A2420;
  --color-border:      rgba(255, 255, 255, 0.12);

  --color-text:        #D9D2CC;
  --color-text-muted:  #A89F98;
  --color-text-subtle: #766D67;

  --color-white:       #F5F1EC;

  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.45);
}


/* =============================================================
   2. BASE / RESET
   ============================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: var(--font-weight-regular);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: #FBF9F7;
  background-image:
    radial-gradient(ellipse 55% 45% at 12% 88%, rgba(124, 27, 42, 0.035) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 88% 12%, rgba(200, 32, 46, 0.03) 0%, transparent 65%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}


/* =============================================================
   3. TYPOGRAPHY
   ============================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-white);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
}

.text-mono {
  font-family: var(--font-mono);
}

.text-label {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-primary);
}

.text-gradient {
  background: linear-gradient(100deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* =============================================================
   4. LAYOUT
   ============================================================= */
.section {
  padding: var(--space-xl) 0;
}

.section--lg {
  padding: var(--space-2xl) 0;
}

.section-header {
  max-width: 640px;
}

.divider {
  height: 1px;
  background-color: var(--color-border);
}

/* --- Checklist (checkmark bullet list) --- */
.story-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.story-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-snug);
}

.story-list li::before {
  content: '';
  flex-shrink: 0;
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-primary-dim);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%237C1B2A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}


/* =============================================================
   5. COMPONENTS
   ============================================================= */

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--color-black);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-wide);
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  text-transform: uppercase;
}

.btn-primary:hover {
  opacity: 0.9;
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
  color: var(--color-black);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 13px 28px;
  background: transparent;
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-wide);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  text-transform: uppercase;
}

.btn-ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-dim);
}

/* --- Badge / Tag --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--color-primary-dim);
  border: 1px solid rgba(200, 32, 46, 0.25);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

/* --- Stat Card --- */
.stat-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  transition: border-color 0.2s ease;
}

.stat-card:hover {
  border-color: rgba(200, 32, 46, 0.3);
}

.stat-card__value {
  font-size: var(--text-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
}

.stat-card__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
}

/* --- Navigation --- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s ease, border-color 0.35s ease,
              box-shadow 0.35s ease, padding 0.35s ease, backdrop-filter 0.35s ease;
}

.site-nav.is-scrolled {
  padding: 14px 0;
  background: rgba(26, 22, 19, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.site-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  text-decoration: none;
}

.site-nav__logo-mark {
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.site-nav__brand:hover .site-nav__logo-mark {
  transform: scale(1.06) rotate(-3deg);
  box-shadow: 0 0 0 5px rgba(124, 27, 42, 0.16);
}

.site-nav__logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.site-nav__wordmark {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  letter-spacing: var(--tracking-tight);
}

.site-nav__wordmark span {
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
}

.site-nav__tagline {
  display: block;
  font-size: 10px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-top: -2px;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav__link {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.site-nav__link:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.07);
}

.site-nav__link.is-active {
  color: var(--color-white);
  font-weight: var(--font-weight-semibold);
  background: rgba(200, 32, 46, 0.2);
}

/* Dropdown */
.site-nav__dropdown {
  position: relative;
}

.site-nav__dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.site-nav__dropdown-toggle svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.site-nav__dropdown:hover .site-nav__dropdown-toggle svg {
  transform: rotate(180deg);
}

.site-nav__dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
}

.site-nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 200px;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xs);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: var(--shadow-lg);
}

.site-nav__dropdown:hover .site-nav__dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.site-nav__dropdown-item {
  display: block;
  padding: 10px var(--space-sm);
  margin-bottom: 2px;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  border-radius: var(--radius-md);
  transition: background 0.15s ease, color 0.15s ease;
}

.site-nav__dropdown-item:hover,
.site-nav__dropdown-item.is-active {
  background: var(--color-primary-dim);
  color: var(--color-primary);
}

/* Mobile nav */
.site-nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 8px 10px;
  cursor: pointer;
  color: var(--color-text);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.site-nav__toggle:hover {
  border-color: var(--color-primary);
  background: rgba(255, 255, 255, 0.05);
}

.site-nav__toggle-line {
  transform-origin: center;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.site-nav__toggle.is-open .site-nav__toggle-line--top {
  transform: translateY(6px) rotate(45deg);
}

.site-nav__toggle.is-open .site-nav__toggle-line--mid {
  opacity: 0;
}

.site-nav__toggle.is-open .site-nav__toggle-line--bottom {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav__mobile {
  display: none;
  background: var(--color-bg-surface);
  border-top: 1px solid var(--color-border);
  padding: var(--space-md) var(--space-sm);
  margin-top: var(--space-sm);
  border-radius: var(--radius-lg);
}

.site-nav__mobile.is-open {
  display: block;
}

.site-nav__mobile-link {
  display: block;
  padding: 12px var(--space-sm);
  margin-bottom: 2px;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
  border-radius: var(--radius-md);
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav__mobile-link:hover,
.site-nav__mobile-link.is-active {
  color: var(--color-primary);
  background: var(--color-primary-dim);
}

.mobile-dropdown__toggle {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 12px var(--space-sm);
  margin-bottom: 2px;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
  border-radius: var(--radius-md);
  transition: color 0.2s ease, background 0.2s ease;
}

.mobile-dropdown__toggle:hover,
.mobile-dropdown__toggle.is-active {
  color: var(--color-primary);
  background: var(--color-primary-dim);
}

.mobile-dropdown__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.mobile-dropdown--open .mobile-dropdown__icon {
  transform: rotate(180deg);
}

.mobile-dropdown__menu {
  display: none;
}

.mobile-dropdown--open .mobile-dropdown__menu {
  display: block;
}

@media (max-width: 991px) {
  .site-nav__links,
  .site-nav__actions {
    display: none;
  }
  .site-nav__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* --- Hero (Homepage) — Cinematic Card Layout --- */

/* ── Hero card: rounded dark container wrapping nav + hero ── */
.hero-card {
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  background: var(--color-bg);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 40px 120px rgba(0,0,0,0.8);
}

/* Nav is fixed globally (see base .site-nav rule above); this hero
   just needs to sit flush behind it, no per-context override needed. */

/* ── Hero section ── */
.home-hero {
  position: relative;
  min-height: 100vh;
  background-color: var(--color-bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Background layer: flat dark base, no image, no circles */
.home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(160deg, #1F1A17 0%, #16110F 55%, #1C1613 100%);
}

/* Dot grid overlay — replaces circle overlays */
.home-hero__bg-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #2E2621 1px, transparent 1px);
  background-size: 28px 28px;
}

/* Line grid suppressed — dot grid in bg-overlay handles texture */
.home-hero__grid {
  display: none;
}

/* Animated RF particle field — canvas drawn, replaces the static dot grid
   when JS + motion are available; .home-hero__bg-overlay stays as the
   no-JS / reduced-motion fallback texture underneath it. */
.home-hero__particles,
.site-footer__cta-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__particles,
  .site-footer__cta-particles {
    display: none;
  }
}

/* Radial glow behind the content */
.home-hero__glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(124, 27, 42, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Bottom vignette */
.home-hero__bg-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, rgba(26, 22, 19, 1) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* ── Content body ── */
.home-hero__body {
  flex: 1;
  position: relative;
  z-index: 1;
  padding-top: calc(var(--space-xl) + 88px);
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
}

/* Main two-column row */
.home-hero__main {
  flex: 1;
}

/* ── LEFT column: editorial content ── */
.home-hero__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--space-lg);
  padding-bottom: var(--space-xl);
  padding-right: var(--space-xl);
}

/* Overline */
.home-hero__overline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
}

.home-hero__overline-bar {
  width: 28px;
  height: 2px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

/* Headline */
.home-hero__headline {
  font-size: clamp(2.25rem, 4.2vw, 4.5rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.home-hero__headline em {
  display: block;
  font-style: normal;
  background: linear-gradient(100deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Short accent rule under headline */
.home-hero__rule {
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), transparent);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
}

/* Sub */
.home-hero__sub {
  font-size: var(--text-md);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
  max-width: 440px;
  margin-bottom: var(--space-lg);
}

/* CTAs */
.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

/* Trust badges */
.home-hero__trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.home-hero__trust-label {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-subtle);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  margin-right: 4px;
}

.home-hero__trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: rgba(124, 27, 42, 0.05);
  border: 1px solid rgba(124, 27, 42, 0.14);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-subtle);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

/* ── RIGHT column: typographic stats ── */
.home-hero__right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--space-lg);
  padding-bottom: var(--space-xl);
  padding-left: var(--space-xl);
  border-left: 1px solid var(--color-border);
}

.home-hero__metrics {
  display: flex;
  flex-direction: column;
}

.home-hero__metric {
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--color-border);
}

.home-hero__metric:first-child {
  padding-top: 0;
}

.home-hero__metric:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Large typographic number */
.home-hero__metric-value {
  font-size: clamp(2.25rem, 3.5vw, 4rem);
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}

.home-hero__metric-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
}

/* Live monitoring status */
.home-hero__live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: var(--space-lg);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-success);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.home-hero__live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-success);
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

/* ── Hero: animated engineering-pillars pipeline (right column) ──
   A signal pulse travels down a circuit trace and lights up each
   pillar node in sequence as it passes — an animated stand-in for
   the "Why Channel Microsystems" pillars, in the hero itself. */
.hero-pipeline {
  position: relative;
  padding-left: 28px;
}

.hero-pipeline__eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-subtle);
  margin-bottom: var(--space-lg);
}

.hero-pipeline__track {
  position: absolute;
  left: 4px;
  top: 34px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(to bottom,
    rgba(124, 27, 42, 0)    0%,
    rgba(124, 27, 42, 0.35) 10%,
    rgba(124, 27, 42, 0.35) 90%,
    rgba(124, 27, 42, 0)    100%);
}

.hero-pipeline__pulse {
  position: absolute;
  left: 0;
  top: 34px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-secondary);
  box-shadow: 0 0 14px 3px rgba(200, 32, 46, 0.7), 0 0 28px 6px rgba(124, 27, 42, 0.35);
  animation: hero-pulse-travel 8s ease-in-out infinite;
}

@keyframes hero-pulse-travel {
  0%   { top: 34px; opacity: 0; }
  5%   { opacity: 1; }
  95%  { top: calc(100% - 12px); opacity: 1; }
  100% { top: calc(100% - 12px); opacity: 0; }
}

.hero-pipeline__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.hero-pipeline__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  background: transparent;
  animation: hero-item-glow 8s ease-in-out infinite;
}

.hero-pipeline__item:nth-child(1) { animation-delay: 0s; }
.hero-pipeline__item:nth-child(2) { animation-delay: 1.6s; }
.hero-pipeline__item:nth-child(3) { animation-delay: 3.2s; }
.hero-pipeline__item:nth-child(4) { animation-delay: 4.8s; }
.hero-pipeline__item:nth-child(5) { animation-delay: 6.4s; }

@keyframes hero-item-glow {
  0%   { background: rgba(124, 27, 42, 0.10); border-color: rgba(124, 27, 42, 0.3); }
  12%  { background: transparent; border-color: transparent; }
  100% { background: transparent; border-color: transparent; }
}

.hero-pipeline__node {
  position: absolute;
  left: -28px;
  top: 50%;
  margin-top: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 1px solid rgba(124, 27, 42, 0.4);
  box-sizing: border-box;
  animation: hero-node-glow 8s ease-in-out infinite;
}

.hero-pipeline__item:nth-child(1) .hero-pipeline__node { animation-delay: 0s; }
.hero-pipeline__item:nth-child(2) .hero-pipeline__node { animation-delay: 1.6s; }
.hero-pipeline__item:nth-child(3) .hero-pipeline__node { animation-delay: 3.2s; }
.hero-pipeline__item:nth-child(4) .hero-pipeline__node { animation-delay: 4.8s; }
.hero-pipeline__item:nth-child(5) .hero-pipeline__node { animation-delay: 6.4s; }

@keyframes hero-node-glow {
  0%   { background: var(--color-secondary); border-color: var(--color-secondary); box-shadow: 0 0 14px 3px rgba(200, 32, 46, 0.6); transform: scale(1.5); }
  12%  { background: var(--color-bg); border-color: rgba(124, 27, 42, 0.4); box-shadow: none; transform: scale(1); }
  100% { background: var(--color-bg); border-color: rgba(124, 27, 42, 0.4); box-shadow: none; transform: scale(1); }
}

.hero-pipeline__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  background: var(--color-bg-surface);
  border: 1px solid rgba(124, 27, 42, 0.25);
  color: var(--color-secondary);
  animation: hero-icon-glow 8s ease-in-out infinite;
}

.hero-pipeline__icon svg {
  width: 20px;
  height: 20px;
}

.hero-pipeline__item:nth-child(1) .hero-pipeline__icon { animation-delay: 0s; }
.hero-pipeline__item:nth-child(2) .hero-pipeline__icon { animation-delay: 1.6s; }
.hero-pipeline__item:nth-child(3) .hero-pipeline__icon { animation-delay: 3.2s; }
.hero-pipeline__item:nth-child(4) .hero-pipeline__icon { animation-delay: 4.8s; }
.hero-pipeline__item:nth-child(5) .hero-pipeline__icon { animation-delay: 6.4s; }

@keyframes hero-icon-glow {
  0%   { background: var(--color-secondary); border-color: var(--color-secondary); color: #fff; box-shadow: 0 0 18px 3px rgba(200, 32, 46, 0.5); transform: scale(1.08); }
  12%  { background: var(--color-bg-surface); border-color: rgba(124, 27, 42, 0.25); color: var(--color-secondary); box-shadow: none; transform: scale(1); }
  100% { background: var(--color-bg-surface); border-color: rgba(124, 27, 42, 0.25); color: var(--color-secondary); box-shadow: none; transform: scale(1); }
}

.hero-pipeline__text {
  min-width: 0;
}

.hero-pipeline__index {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-subtle);
  letter-spacing: var(--tracking-widest);
  margin-bottom: 3px;
}

.hero-pipeline__name {
  display: block;
  font-size: var(--text-md);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  letter-spacing: var(--tracking-tight);
  line-height: 1.3;
}

@media (prefers-reduced-motion: reduce) {
  .hero-pipeline__item,
  .hero-pipeline__icon,
  .hero-pipeline__node {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-pipeline__pulse { display: none; }
}

@media (max-width: 991px) {
  .hero-pipeline {
    margin-top: var(--space-lg);
  }
}


/* ── Responsive ── */
@media (prefers-reduced-motion: reduce) {
  .home-hero__live-dot { animation: none; }
}

@media (max-width: 991px) {
  .home-hero {
    min-height: unset;
  }

  .home-hero__body {
    padding-top: calc(var(--space-lg) + 60px);
  }

  .home-hero__left {
    padding-right: 0;
    padding-bottom: var(--space-lg);
  }

  .home-hero__headline {
    font-size: clamp(2rem, 7vw, 2.75rem);
  }

  .home-hero__right {
    border-left: none;
    border-top: 1px solid var(--color-border);
    padding-left: 0;
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
    flex-direction: row;
  }

  .home-hero__metrics {
    flex-direction: row;
    flex: 1;
    gap: 0;
  }

  .home-hero__metric {
    flex: 1;
    padding: 0 var(--space-md) 0 0;
    border-bottom: none;
    border-right: 1px solid var(--color-border);
    margin-right: var(--space-md);
  }

  .home-hero__metric:last-child {
    border-right: none;
    margin-right: 0;
    padding-right: 0;
  }

  .home-hero__live {
    margin-top: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-left: var(--space-md);
    border-left: 1px solid var(--color-border);
    white-space: nowrap;
  }

}

@media (max-width: 575px) {

  .home-hero__right {
    flex-direction: column;
  }

  .home-hero__metrics {
    flex-direction: column;
  }

  .home-hero__metric {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-sm) 0;
    margin-right: 0;
  }

  .home-hero__live {
    border-left: none;
    padding-left: 0;
    margin-top: var(--space-md);
    flex-direction: row;
  }
}




.site-footer {
  background-color: var(--color-bg-surface);
  border-top: 1px solid var(--color-border);
}

.site-footer__cta {
  position: relative;
  padding: var(--space-2xl) 0 var(--space-xl);
  background: var(--color-bg-elevated);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

/* Dot grid texture */
.site-footer__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(46, 38, 33, 0.9) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* Radial glow centered behind content */
.site-footer__cta::after {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse at top, rgba(124, 27, 42, 0.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* Top gradient accent line */
.site-footer__cta-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-primary) 30%, var(--color-secondary) 70%, transparent 100%);
  z-index: 1;
}

/* All inner content above pseudo-elements */
.site-footer__cta .container {
  position: relative;
  z-index: 1;
}

/* Label with flanking bars */
.site-footer__cta-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
}

.site-footer__cta-label-bar {
  display: block;
  width: 36px;
  height: 1px;
  background: var(--color-primary);
  opacity: 0.5;
}

/* Large headline */
.site-footer__cta-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.site-footer__cta-title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.site-footer__cta-sub {
  font-size: var(--text-md);
  color: var(--color-text-muted);
  max-width: 520px;
  margin: 0 auto var(--space-lg);
  line-height: var(--leading-loose);
}

.site-footer__cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

/* Certification strip */
.site-footer__cta-certs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.site-footer__cta-cert {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-subtle);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.site-footer__cta-cert svg {
  width: 12px;
  height: 12px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.site-footer__cta-cert-sep {
  color: var(--color-text-subtle);
  opacity: 0.25;
  font-size: var(--text-md);
}

.site-footer__cta-cert-live {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-success);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

.site-footer__body {
  padding: var(--space-xl) 0 0;
}

/* ── Upper section ── */
.site-footer__upper {
  padding-bottom: var(--space-lg);
}

/* Brand block */
.site-footer__brand-block {
  max-width: 560px;
}

/* Leadership stats — full-width trust strip beneath the brand block */
.site-footer__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-xl);
}

.site-footer__stat {
  padding: var(--space-md) var(--space-lg);
  border-right: 1px solid var(--color-border);
}

.site-footer__stat:last-child {
  border-right: none;
}

.site-footer__stat-value {
  display: block;
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
  margin-bottom: 6px;
  color: var(--color-white);
}

.site-footer__stat-value--status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-lg);
}

.site-footer__stat-label {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

@media (max-width: 767px) {
  .site-footer__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer__stat:nth-child(2) {
    border-right: none;
  }

  .site-footer__stat:nth-child(3),
  .site-footer__stat:nth-child(4) {
    border-top: 1px solid var(--color-border);
  }
}

@media (max-width: 480px) {
  .site-footer__stats {
    grid-template-columns: 1fr;
  }

  .site-footer__stat {
    border-right: none;
  }

  .site-footer__stat:not(:first-child) {
    border-top: 1px solid var(--color-border);
  }
}

.site-footer__tagline {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
  margin-top: var(--space-sm);
  margin-bottom: 0;
}

/* Socials */
.site-footer__socials {
  display: flex;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.site-footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  display: grid;
  place-items: center;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.site-footer__social-link:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-dim);
}

.site-footer__social-link svg {
  width: 16px;
  height: 16px;
}

/* ── Live status dot (reused inside .site-footer__stats) ── */
.site-footer__shield-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-success);
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

/* ── Separator ── */
.site-footer__sep {
  height: 1px;
  background: var(--color-border);
  margin-bottom: var(--space-xl);
}

/* ── Lower columns ── */
.site-footer__columns {
  padding-bottom: var(--space-xl);
}

.site-footer__col-title {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-subtle);
  margin-bottom: var(--space-md);
}

.site-footer__col-title-bar {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--color-secondary);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.site-footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.site-footer__nav-link {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease, gap 0.2s ease;
}

.site-footer__nav-link::before {
  content: '';
  display: block;
  width: 0;
  height: 1px;
  background: var(--color-primary);
  transition: width 0.2s ease;
  flex-shrink: 0;
}

.site-footer__nav-link:hover {
  color: var(--color-primary);
  gap: 10px;
}

.site-footer__nav-link:hover::before {
  width: 12px;
}

/* ── Contact cards grid ── */
.site-footer__contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xs);
}

.site-footer__contact-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-elevated);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.site-footer__contact-card:hover {
  border-color: rgba(124, 27, 42, 0.3);
  background: rgba(124, 27, 42, 0.03);
  transform: translateY(-1px);
}

.site-footer__contact-card--wide {
  grid-column: 1 / -1;
}

.site-footer__contact-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-dim);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--color-primary);
}

.site-footer__contact-icon svg {
  width: 15px;
  height: 15px;
}

.site-footer__contact-label {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-subtle);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-bottom: 3px;
}

.site-footer__contact-value {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-snug);
}

/* ── Bottom bar ── */
.site-footer__bottom {
  padding: var(--space-sm) 0;
  border-top: 1px solid var(--color-border);
}

.site-footer__copyright {
  font-size: var(--text-sm);
  color: var(--color-text-subtle);
}

.site-footer__legal {
  display: flex;
  gap: var(--space-md);
}

.site-footer__legal-link {
  font-size: var(--text-sm);
  color: var(--color-text-subtle);
  transition: color 0.2s ease;
}

.site-footer__legal-link:hover {
  color: var(--color-text-muted);
}

.site-footer__back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-subtle);
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer__back-to-top svg {
  transition: transform 0.2s ease;
}

.site-footer__back-to-top:hover {
  color: var(--color-secondary);
}

.site-footer__back-to-top:hover svg {
  transform: translateY(-2px);
}


/* =============================================================
   6. SECTIONS (Page-specific)
   ============================================================= */

/* ── Shared section components ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.section-label__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.1;
  letter-spacing: var(--tracking-tight);
  color: var(--color-white);
}

.section-title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
}


/* ── Section 3: Trusted Strip ── */
.trusted-strip {
  padding: var(--space-lg) 0;
  background: var(--color-bg-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.trusted-strip__label {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-subtle);
  text-align: center;
  margin-bottom: var(--space-md);
}

.trusted-strip__row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.trusted-strip__name {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-widest);
  color: var(--color-text-subtle);
  transition: color 0.2s ease;
  cursor: default;
}

.trusted-strip__name:hover {
  color: var(--color-text-muted);
}

.trusted-strip__sep {
  color: var(--color-border);
  font-size: var(--text-md);
  user-select: none;
}


/* ── Section 4: Services ── */
.services-section {
  background-color: var(--color-bg);
}

.services-card {
  position: relative;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  height: 100%;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.services-card:hover {
  border-color: rgba(124, 27, 42, 0.3);
  box-shadow: 0 0 32px rgba(124, 27, 42, 0.08);
}

.services-card--featured {
  padding-bottom: calc(var(--space-lg) + 60px);
  border-color: rgba(124, 27, 42, 0.18);
  box-shadow: 0 0 40px rgba(124, 27, 42, 0.07), inset 0 0 0 1px rgba(124, 27, 42, 0.06);
}

.services-card--featured:hover {
  border-color: rgba(124, 27, 42, 0.4);
  box-shadow: 0 0 56px rgba(124, 27, 42, 0.14);
}

.services-card--medium {
  padding-bottom: calc(var(--space-lg) + 60px);
}

.services-card__icon {
  width: 52px;
  height: 52px;
  background: var(--color-primary-dim);
  border: 1px solid rgba(124, 27, 42, 0.2);
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.services-card__icon--sm {
  width: 44px;
  height: 44px;
}

.services-card__title {
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-sm);
}

.services-card__title--sm {
  font-size: var(--text-base);
  margin-bottom: var(--space-xs);
}

.services-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
  margin-bottom: var(--space-md);
}

.services-card__desc--sm {
  font-size: var(--text-xs);
  margin-bottom: 0;
}

.services-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  transition: gap 0.2s ease;
}

.services-card__link:hover {
  gap: 10px;
}

.services-card__stat {
  position: absolute;
  bottom: var(--space-lg);
  right: var(--space-lg);
  text-align: right;
}

.services-card__stat-value {
  display: block;
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
}

.services-card__stat-label {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-top: 4px;
}


/* ── Section 5: About / Who We Are ── */
.about-section {
  background-color: var(--color-bg-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

/* Pull quote */
.about-section__quote {
  border-left: 2px solid var(--color-primary);
  padding-left: var(--space-md);
  margin: var(--space-md) 0 var(--space-lg);
  font-size: var(--text-md);
  font-style: italic;
  color: var(--color-text);
  line-height: var(--leading-loose);
}

/* Right panel: image + stat row stacked */
.about-section__panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 480px;
}

.about-section__img-wrap {
  position: relative;
  flex: 1;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-bottom: none;
}

.about-section__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-section__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(10, 16, 24, 0.55) 100%);
}

/* Stat dashboard row */
.about-section__stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--color-border);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  overflow: hidden;
  flex-shrink: 0;
}

.about-section__stat-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-md);
  background: var(--color-bg-elevated);
  border-right: 1px solid var(--color-border);
}

.about-section__stat-card:last-child {
  border-right: none;
}

.about-section__stat-val {
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
}

.about-section__stat-lbl {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

@media (max-width: 767px) {
  .about-section__panel {
    min-height: 380px;
  }

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

  .about-section__stat-card:nth-child(2) {
    border-right: none;
  }

  .about-section__stat-card:nth-child(3),
  .about-section__stat-card:nth-child(4) {
    border-top: 1px solid var(--color-border);
  }
}

/* ── Interactive RF energy harvesting diagram (Problem section) ──
   Three stages — Ambient RF Energy → Harvest & Manage → Powers the
   Device — auto-cycle via a traveling pulse; hover/focus/click a
   stage to pause and pin it. Driven by main.js toggling
   [data-active] on .rf-diagram. */
.rf-diagram {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 44px 68px;
  box-sizing: border-box;
  background: linear-gradient(160deg, #1F1A17 0%, #16110F 55%, #1C1613 100%);
}

.rf-diagram::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #2E2621 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}

.rf-diagram__track {
  position: absolute;
  left: 72px;
  right: 72px;
  top: 76px;
  height: 1px;
  background: linear-gradient(to right,
    rgba(124, 27, 42, 0)    0%,
    rgba(124, 27, 42, 0.35) 8%,
    rgba(124, 27, 42, 0.35) 92%,
    rgba(124, 27, 42, 0)    100%);
}

.rf-diagram__pulse {
  position: absolute;
  top: 76px;
  left: 72px;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--color-secondary);
  box-shadow: 0 0 14px 3px rgba(200, 32, 46, 0.7), 0 0 28px 6px rgba(124, 27, 42, 0.35);
  transition: left 1.1s cubic-bezier(0.65, 0.05, 0.36, 1);
}

.rf-diagram[data-active="0"] .rf-diagram__pulse { left: 72px; }
.rf-diagram[data-active="1"] .rf-diagram__pulse { left: 50%; }
.rf-diagram[data-active="2"] .rf-diagram__pulse { left: calc(100% - 72px); }

.rf-diagram__stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.rf-diagram__stage:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 6px;
  border-radius: var(--radius-lg);
}

.rf-diagram__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(124, 27, 42, 0.3);
  color: var(--color-secondary);
  transition: background-color 0.4s ease, border-color 0.4s ease,
              color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.rf-diagram__icon svg {
  width: 26px;
  height: 26px;
}

.rf-diagram__label {
  font-size: 12px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.01em;
  color: rgba(217, 210, 204, 0.7);
  text-align: center;
  max-width: 120px;
  line-height: 1.3;
  transition: color 0.4s ease;
}

.rf-diagram[data-active="0"] .rf-diagram__stage[data-stage="0"] .rf-diagram__icon,
.rf-diagram[data-active="1"] .rf-diagram__stage[data-stage="1"] .rf-diagram__icon,
.rf-diagram[data-active="2"] .rf-diagram__stage[data-stage="2"] .rf-diagram__icon {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #fff;
  box-shadow: 0 0 22px 4px rgba(200, 32, 46, 0.5);
  transform: scale(1.08);
}

.rf-diagram[data-active="0"] .rf-diagram__stage[data-stage="0"] .rf-diagram__label,
.rf-diagram[data-active="1"] .rf-diagram__stage[data-stage="1"] .rf-diagram__label,
.rf-diagram[data-active="2"] .rf-diagram__stage[data-stage="2"] .rf-diagram__label {
  color: #fff;
}

/* Broadcasting rings — only animate while stage 0 is active */
.rf-diagram__waves {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  pointer-events: none;
}

.rf-diagram__waves::before,
.rf-diagram__waves::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(200, 32, 46, 0.55);
  opacity: 0;
}

.rf-diagram[data-active="0"] .rf-diagram__waves::before {
  animation: rf-wave 2.2s ease-out infinite;
}

.rf-diagram[data-active="0"] .rf-diagram__waves::after {
  animation: rf-wave 2.2s ease-out infinite;
  animation-delay: 1.1s;
}

@keyframes rf-wave {
  0%   { transform: scale(0.6); opacity: 0.6; }
  100% { transform: scale(2); opacity: 0; }
}

.rf-diagram__caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  text-align: center;
}

.rf-diagram__caption-text {
  display: none;
  font-size: 13px;
  color: rgba(217, 210, 204, 0.85);
  line-height: 1.5;
}

.rf-diagram[data-active="0"] .rf-diagram__caption-text[data-caption="0"],
.rf-diagram[data-active="1"] .rf-diagram__caption-text[data-caption="1"],
.rf-diagram[data-active="2"] .rf-diagram__caption-text[data-caption="2"] {
  display: inline;
}

@media (prefers-reduced-motion: reduce) {
  .rf-diagram__pulse { transition: none; }
  .rf-diagram__waves::before,
  .rf-diagram__waves::after { animation: none; }
}

@media (max-width: 575px) {
  .rf-diagram__label {
    display: none;
  }
}


/* ── Section 6: Why Channel ── */
.why-section {
  background-color: var(--color-bg-elevated);
}

/* Feature cards */
.why-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-lg);
  height: 100%;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Left accent bar — reveals on hover */
.why-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--color-primary), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.why-card:hover {
  border-color: rgba(124, 27, 42, 0.28);
  box-shadow: 0 0 32px rgba(124, 27, 42, 0.06);
}

.why-card:hover::before {
  opacity: 1;
}

.why-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-xs);
}

.why-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-primary-dim);
  display: grid;
  place-items: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.why-card__icon svg {
  width: 22px;
  height: 22px;
}

/* Ghost number — outline only */
.why-card__num {
  font-size: var(--text-3xl);
  font-weight: var(--font-weight-bold);
  line-height: 1;
  letter-spacing: var(--tracking-tight);
  color: transparent;
  -webkit-text-stroke: 1px var(--color-border);
}

.why-card__title {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-xs);
}

.why-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
  flex: 1;
  margin: 0;
}

.why-card__stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
  margin-top: auto;
}

.why-card__stat-value {
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
}

.why-card__stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}


/* ── Section 7: Projects ── */
.projects-section {
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

@media (min-width: 768px) and (max-width: 991px) {
  .projects-row > [class*="col"]:last-child:nth-child(odd) {
    margin-left: auto;
  }
}

.project-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
  border-color: rgba(124, 27, 42, 0.3);
  box-shadow: 0 0 32px rgba(124, 27, 42, 0.08);
}

.project-card__image-wrap {
  position: relative;
  flex-shrink: 0;
}

.project-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(6,10,16,0.1) 0%, rgba(6,10,16,0.5) 100%);
}

.project-card__body {
  padding: var(--space-md) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  flex: 1;
}

.project-card__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-primary-dim);
  border: 1px solid rgba(124, 27, 42, 0.2);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  margin-bottom: var(--space-xs);
  align-self: flex-start;
}

.project-card__title {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-xs);
}

.project-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
  margin-bottom: var(--space-sm);
  flex: 1;
}

.project-card__result {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm);
  background: var(--color-bg-surface);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
}

.project-card__result-value {
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
  flex-shrink: 0;
  align-self: center;
}

.project-card__result-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: var(--leading-snug);
  align-self: center;
}

.project-card__link {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  transition: letter-spacing 0.2s ease;
}

.project-card__link:hover {
  letter-spacing: 0.02em;
}


/* ── Section 8: Pricing ── */
.pricing-section {
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--space-lg);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition: border-color 0.25s ease;
}

.pricing-card:hover {
  border-color: rgba(124, 27, 42, 0.2);
}

.pricing-card--featured {
  background: var(--color-bg-surface);
  border-color: rgba(124, 27, 42, 0.35);
  box-shadow: 0 0 60px rgba(124, 27, 42, 0.07), inset 0 0 0 1px rgba(124, 27, 42, 0.05);
}

/* "Most Popular" pill badge — absolute top-center, no flow impact */
.pricing-card__badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  background: var(--color-bg-surface);
  border: 1px solid rgba(124, 27, 42, 0.4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-card__tier {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-subtle);
  margin-bottom: var(--space-sm);
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: var(--space-xs);
}

.pricing-card__amount {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
}

.pricing-card__amount--custom {
  background: linear-gradient(100deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-card__period {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: var(--font-weight-medium);
}

.pricing-card__tagline {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
  margin: 0;
}


.pricing-card__sep {
  height: 1px;
  background: var(--color-border);
  margin: var(--space-md) 0;
}

/* Feature lists */
.pricing-card__features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--space-lg);
  list-style: none;
  padding: 0;
}

.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-snug);
}

.pricing-card__features li::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-primary-dim);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%237C1B2A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}


/* Guarantee bar */
.pricing-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.pricing-guarantee__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: var(--font-weight-medium);
}

.pricing-guarantee__item svg {
  width: 15px;
  height: 15px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.pricing-guarantee__sep {
  color: var(--color-text-subtle);
  opacity: 0.3;
  font-size: var(--text-md);
}



/* ── Section 9: Testimonials ── */
.testimonials-section {
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.testimonial-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin: 0;
}

.testimonial-card--featured {
  background: var(--color-bg-surface);
  border-color: rgba(124, 27, 42, 0.25);
  box-shadow: 0 0 40px rgba(124, 27, 42, 0.07);
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--space-xs);
}

.testimonial-card__stars svg {
  width: 16px;
  height: 16px;
  fill: var(--color-primary);
}

.testimonial-card__quote {
  font-size: var(--text-md);
  font-style: italic;
  color: var(--color-text);
  line-height: var(--leading-loose);
  flex: 1;
  margin: 0;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.testimonial-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  flex-shrink: 0;
  object-fit: cover;
  object-position: center top;
}

.testimonial-card__name {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
}

.testimonial-card__role {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 2px;
}


/* ── Section 10: Blog ── */
.blog-section {
  background: var(--color-bg-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

/* ── Featured: full-height magazine cover ── */
.blog-featured {
  position: relative;
  display: block;
  height: 100%;
  min-height: 540px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
}

.blog-featured__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.blog-featured:hover .blog-featured__img {
  transform: scale(1.04);
}

.blog-featured__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(6, 10, 16, 0.97) 0%,
    rgba(6, 10, 16, 0.65) 50%,
    rgba(6, 10, 16, 0.15) 100%
  );
}

.blog-featured__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.blog-featured__tag {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-primary);
}

.blog-featured__title {
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-snug);
  margin: 0;
}

.blog-featured__excerpt {
  font-size: var(--text-sm);
  color: rgba(232, 237, 245, 0.75);
  line-height: var(--leading-loose);
  margin: 0;
}

.blog-featured__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
  font-weight: var(--font-weight-medium);
  padding-top: var(--space-xs);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-featured__cta {
  color: var(--color-primary);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-wide);
  transition: opacity 0.2s ease;
}

.blog-featured:hover .blog-featured__cta {
  opacity: 0.75;
}

/* ── Briefings list: editorial, no images ── */
.blog-list {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-bg-elevated);
}

.blog-list__header {
  padding: var(--space-sm) var(--space-lg);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-surface);
}

.blog-list__header-label {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

.blog-list__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  transition: background 0.2s ease;
  flex: 1;
  cursor: pointer;
}

.blog-list__item:last-child {
  border-bottom: none;
}

.blog-list__item:hover {
  background: rgba(124, 27, 42, 0.03);
}

.blog-list__item:hover .blog-list__arrow {
  color: var(--color-primary);
  transform: translateX(4px);
}

.blog-list__num {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-subtle);
  letter-spacing: var(--tracking-wide);
  padding-top: 3px;
  flex-shrink: 0;
  opacity: 0.5;
}

.blog-list__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.blog-list__tag {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-primary);
}

.blog-list__title {
  font-size: var(--text-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-snug);
  margin: 0;
}

.blog-list__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
  font-weight: var(--font-weight-medium);
}

.blog-list__arrow {
  width: 16px;
  height: 16px;
  color: var(--color-text-subtle);
  flex-shrink: 0;
  margin-top: 3px;
  transition: color 0.2s ease, transform 0.2s ease;
}

@media (max-width: 991px) {
  .blog-featured {
    min-height: 380px;
  }
}


/* =============================================================
   INNER PAGE COMPONENTS (shared across non-homepage pages)
   ============================================================= */

/* Nav is fixed globally (see base .site-nav rule); no per-context
   position override needed here — only the dark color-scope above applies. */

/* ── Inner page hero — simple centered ── */
.page-hero {
  position: relative;
  padding: calc(var(--space-2xl) + 88px) 0 var(--space-2xl);
  background: linear-gradient(160deg, #1F1A17 0%, #16110F 55%, #1C1613 100%);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

/* Dot grid — same as homepage hero */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #2E2621 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* Subtle radial glow behind content */
.page-hero::after {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at top, rgba(124, 27, 42, 0.06) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--color-text-subtle);
  margin-bottom: var(--space-lg);
}

.page-hero__breadcrumb a {
  color: var(--color-text-subtle);
  transition: color 0.2s ease;
}

.page-hero__breadcrumb a:hover {
  color: var(--color-text-muted);
}

.page-hero__title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.1;
  letter-spacing: var(--tracking-tight);
  color: var(--color-white);
  margin-bottom: var(--space-md);
  max-width: 860px;
}

.page-hero__sub {
  font-size: var(--text-md);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
  max-width: 520px;
  margin: 0;
}

/* ── Story section ── */
.story-section {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.story-callout {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  border: 1px solid rgba(124, 27, 42, 0.2);
  border-left: 3px solid var(--color-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: rgba(124, 27, 42, 0.03);
}

.story-callout__value {
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
  flex-shrink: 0;
}

.story-callout__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-snug);
}

/* Timeline */
.story-timeline {
  position: relative;
  padding-left: var(--space-lg);
}

.story-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(to bottom, var(--color-primary), rgba(124, 27, 42, 0.1));
}

.story-milestone {
  position: relative;
  padding-bottom: var(--space-lg);
}

.story-milestone:last-child {
  padding-bottom: 0;
}

.story-milestone::before {
  content: '';
  position: absolute;
  left: calc(var(--space-lg) * -1);
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  transform: translateX(calc(-50% + 0.5px));
  box-shadow: 0 0 10px rgba(124, 27, 42, 0.4);
}

.story-milestone--last::before {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  width: 10px;
  height: 10px;
}

.story-milestone__year {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.story-milestone__title {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  letter-spacing: var(--tracking-tight);
  margin-bottom: 6px;
}

.story-milestone__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
  margin: 0;
}

/* ── Values section ── */
.values-section {
  background: var(--color-bg-surface);
  border-top: 1px solid var(--color-border);
}

.value-card {
  padding: var(--space-lg);
  height: 100%;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.value-card:hover {
  border-color: rgba(124, 27, 42, 0.25);
  box-shadow: 0 0 24px rgba(124, 27, 42, 0.05);
}

.value-card__icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--color-primary-dim);
  display: grid;
  place-items: center;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.value-card__icon svg {
  width: 22px;
  height: 22px;
}

.value-card__title {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-xs);
}

.value-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
  margin: 0;
}

/* ── Team section ── */
.team-section {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.team-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.team-card__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  margin-bottom: var(--space-sm);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(20%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.team-card:hover .team-card__photo img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

/* No headshot yet — initials placeholder */
.team-card__photo--initials {
  display: grid;
  place-items: center;
  background: linear-gradient(155deg, var(--color-bg-elevated), var(--color-bg-surface));
  transition: border-color 0.3s ease;
}

.team-card__photo--initials span {
  font-family: var(--font-mono);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  letter-spacing: var(--tracking-tight);
  transition: color 0.3s ease;
}

.team-card:hover .team-card__photo--initials {
  border-color: rgba(124, 27, 42, 0.35);
}

.team-card:hover .team-card__photo--initials span {
  color: var(--color-secondary);
}

.team-card__name {
  font-size: var(--text-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  letter-spacing: var(--tracking-tight);
  margin: 0;
}

.team-card__role {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin: 0;
}

.team-card__bio {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
  margin: 0;
}

@media (max-width: 767px) {
  .page-hero__title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .story-timeline {
    padding-left: var(--space-md);
  }

  .story-milestone::before {
    left: calc(var(--space-md) * -1);
  }
}

/* ── Responsive: sections ── */
@media (max-width: 767px) {

  .blog-card--compact {
    flex-direction: column;
  }

  .blog-card__image-wrap--compact {
    width: 100%;
  }

  .blog-card__image--compact {
    width: 100%;
    height: 160px;
    min-height: unset;
  }
}

/* ── Footer responsive ── */
@media (max-width: 991px) {
  .site-footer__brand-block {
    max-width: 100%;
  }

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

  .site-footer__contact-card--wide {
    grid-column: auto;
  }
}

@media (max-width: 575px) {
  .site-footer__legal {
    gap: var(--space-sm);
  }

  .site-footer__legal-link {
    font-size: var(--text-xs);
  }
}

/* =============================================================
   FAQ SECTION — reusable across all pages
   ============================================================= */
.faq-section {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.faq-section__aside {
  position: sticky;
  top: calc(72px + var(--space-lg));
}

/* Mini stats below CTA */
.faq-stat {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-sm);
}

.faq-stat__num {
  display: block;
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
  margin-bottom: 6px;
}

.faq-stat__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
}

/* FAQ list items */
.faq-item {
  border-bottom: 1px solid var(--color-border);
  border-left: 2px solid transparent;
  padding-left: 0;
  transition: border-left-color 0.3s ease, padding-left 0.3s ease;
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-item:has(.collapse.show) {
  border-left-color: var(--color-primary);
  padding-left: var(--space-sm);
}

.faq-item__btn {
  background: transparent;
  border: none;
  padding: var(--space-md) 0;
  text-align: left;
  cursor: pointer;
}

.faq-item__num {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  opacity: 0.5;
  letter-spacing: 0.06em;
  padding-top: 3px;
  flex-shrink: 0;
  transition: opacity 0.25s ease;
}

.faq-item__btn[aria-expanded="true"] .faq-item__num {
  opacity: 1;
}

.faq-item__q {
  color: var(--color-white);
  font-size: var(--text-base);
  font-weight: var(--font-weight-semibold);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
  transition: color 0.25s ease;
}

.faq-item__btn[aria-expanded="true"] .faq-item__q {
  color: var(--color-primary);
}

.faq-item__icon {
  color: var(--color-text-muted);
  flex-shrink: 0;
  transition: transform 0.3s ease, color 0.25s ease;
  margin-top: 3px;
}

.faq-item__btn[aria-expanded="true"] .faq-item__icon {
  transform: rotate(45deg);
  color: var(--color-primary);
}

.faq-item__body {
  padding-bottom: var(--space-md);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-loose);
}

@media (max-width: 991px) {
  .faq-section__aside {
    position: static;
  }
}

/* =============================================================
   SERVICE DETAIL PAGE
   ============================================================= */

/* Right metrics panel — service overview */
.svc-metrics-panel {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.svc-metric {
  padding: var(--space-lg) var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.svc-metric:last-child {
  border-bottom: none;
}

.svc-metric__value {
  display: block;
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
  margin-bottom: 6px;
}

.svc-metric__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
}

.svc-metric__desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  opacity: 0.6;
  margin-top: 4px;
}

/* Feature checklist */
.svc-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.svc-features li {
  padding: var(--space-xs) 0;
  color: var(--color-text);
  font-size: var(--text-sm);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.svc-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

/* Methodology steps */
.method-step {
  border-top: 2px solid var(--color-border);
  padding-top: var(--space-md);
  transition: border-color 0.3s ease;
}

.method-step:hover {
  border-top-color: var(--color-primary);
}

.method-step__num {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  letter-spacing: 0.1em;
  opacity: 0.6;
  margin-bottom: var(--space-sm);
}

.method-step__title {
  font-size: var(--text-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
  margin-bottom: var(--space-xs);
  letter-spacing: var(--tracking-tight);
}

.method-step__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
}

/* Capability cards */
.capability-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  height: 100%;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.capability-card:hover {
  border-color: rgba(124, 27, 42, 0.25);
  background: rgba(124, 27, 42, 0.02);
}

.capability-card__icon {
  width: 40px;
  height: 40px;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.capability-card__title {
  font-size: var(--text-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
  margin-bottom: var(--space-xs);
  letter-spacing: var(--tracking-tight);
}

.capability-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
}

/* Platform intelligence stats */
.platform-stat {
  border-left: 2px solid var(--color-primary);
  padding-left: var(--space-md);
}

.platform-stat__value {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
  margin-bottom: 6px;
}

.platform-stat__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
}


/* =============================================================
   PROJECT DETAIL PAGE
   ============================================================= */
.project-meta {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-md);
}

.project-meta__item {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.project-meta__value {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
  margin-top: 4px;
  letter-spacing: 0;
  text-transform: none;
}

.project-challenge__img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

.project-challenge__img-wrap {
  position: relative;
}

.project-challenge__img-overlay {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(124,27,42,0.06) 0%, transparent 60%);
  border: 1px solid var(--color-border);
  pointer-events: none;
}

.project-testimonial {
  border-left: 2px solid var(--color-primary);
  padding-left: var(--space-lg);
}

.project-testimonial__quote {
  font-size: var(--text-lg);
  color: var(--color-white);
  line-height: var(--leading-loose);
  font-style: italic;
  margin-bottom: var(--space-md);
  letter-spacing: var(--tracking-tight);
}

.project-testimonial__author {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.project-testimonial__author strong {
  color: var(--color-primary);
  font-weight: var(--font-weight-semibold);
}

/* Project detail — hero stat (big editorial number, no border panel) */
.project-hero-stat__value {
  display: block;
  font-size: clamp(4.5rem, 8vw, 7rem);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.project-hero-stat__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
}

/* Bottom strip — mixes metadata with key results */
.project-stats-strip {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-lg);
  margin-top: var(--space-lg);
}

/* =============================================================
   FAQ PAGE — category nav + dividers
   ============================================================= */
.faq-page-nav {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-md);
}

.faq-page-nav__link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) 0;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
  transition: color 0.2s ease;
}

.faq-page-nav__link::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-border);
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.faq-page-nav__link:hover {
  color: var(--color-primary);
}

.faq-page-nav__link:hover::before {
  background: var(--color-primary);
}

.faq-category {
  padding: var(--space-lg) 0 var(--space-sm);
  margin-top: var(--space-md);
}

.faq-category__label {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  opacity: 0.8;
}

/* =============================================================
   COMING SOON PAGE
   ============================================================= */
.coming-soon-page {
  min-height: 100vh;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl) var(--space-md);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.coming-soon-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.coming-soon-page::after {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124,27,42,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.coming-soon__brand {
  position: relative;
  z-index: 1;
  margin-bottom: var(--space-xl);
}

.coming-soon__label {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.coming-soon__title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-tight);
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: var(--space-md);
}

.coming-soon__sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
  max-width: 480px;
  margin: 0 auto var(--space-xl);
}

/* Countdown */
.coming-soon__countdown {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 1;
}

.countdown-unit {
  min-width: 80px;
}

.countdown-unit__value {
  display: block;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
}

.countdown-unit__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: var(--space-xs);
}

/* Notify form */
.coming-soon__form {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto;
}

.coming-soon__input {
  flex: 1;
  min-width: 220px;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px var(--space-md);
  color: var(--color-white);
  font-size: var(--text-sm);
  outline: none;
  transition: border-color 0.2s ease;
}

.coming-soon__input::placeholder {
  color: var(--color-text-muted);
}

.coming-soon__input:focus {
  border-color: var(--color-primary);
}

.coming-soon__footer-note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-md);
  position: relative;
  z-index: 1;
}

/* =============================================================
   404 PAGE
   ============================================================= */
.error-404-page {
  min-height: 100vh;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl) var(--space-md);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.error-404-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.error-404__code {
  font-size: clamp(7rem, 18vw, 14rem);
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.05em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.08);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.error-404__content {
  position: relative;
  z-index: 1;
}

.error-404__label {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.error-404__title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-tight);
  color: var(--color-white);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-md);
}

.error-404__sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
  max-width: 440px;
  margin: 0 auto var(--space-xl);
}

/* =============================================================
   BLOG PAGE — grid card + pagination
   ============================================================= */
.blog-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}

.blog-card:hover {
  border-color: rgba(124, 27, 42, 0.25);
  box-shadow: 0 0 28px rgba(124, 27, 42, 0.07);
}

.blog-card__image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.blog-card__body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  flex: 1;
}

.blog-card__tag {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-primary);
  align-self: flex-start;
}

.blog-card__title {
  font-size: var(--text-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
}

.blog-card:hover .blog-card__title {
  color: var(--color-primary);
}

.blog-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
  flex: 1;
}

.blog-card__meta {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  padding-top: var(--space-xs);
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-xs);
}

/* Pagination */
.blog-card--hidden {
  display: none;
}

.blog-load-more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  cursor: pointer;
}

/* =============================================================
   Single Blog / Article
   ============================================================= */
.article-meta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-xl);
}

.article-meta-bar__author {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.article-meta-bar__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-border);
}

.article-meta-bar__name {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
}

.article-meta-bar__role {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.article-meta-bar__sep {
  width: 1px;
  height: 32px;
  background: var(--color-border);
  margin: 0 var(--space-xs);
}

.article-meta-bar__item {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.article-meta-bar__tag {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  background: var(--color-primary-dim);
  border: 1px solid rgba(124,27,42,.15);
  border-radius: var(--radius-sm);
  padding: 3px 10px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-left: auto;
}

.article-share {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.article-share__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.article-share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  background: transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

.article-share__btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* Sidebar */
.article-sidebar {
  position: sticky;
  top: 96px;
}

.article-toc {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}

.article-toc__title {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.article-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.article-toc__link {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  padding: 6px var(--space-xs);
  border-left: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  line-height: var(--leading-snug);
}

.article-toc__link:hover,
.article-toc__link.is-active {
  color: var(--color-primary);
  border-left-color: var(--color-primary);
}

.article-author-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}

.article-author-card__img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-primary-dim);
  margin-bottom: var(--space-xs);
}

.article-author-card__name {
  font-size: var(--text-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
}

.article-author-card__title {
  font-size: var(--text-sm);
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.article-author-card__bio {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
}

/* Article prose */
.article-prose {
  color: var(--color-text);
  line-height: var(--leading-loose);
}

.article-prose h2 {
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  letter-spacing: var(--tracking-tight);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.article-prose h3 {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.article-prose p {
  font-size: var(--text-base);
  color: var(--color-text);
  margin-bottom: var(--space-md);
  line-height: 1.85;
}

.article-prose ul,
.article-prose ol {
  padding-left: var(--space-lg);
  margin-bottom: var(--space-md);
}

.article-prose li {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.85;
  margin-bottom: var(--space-xs);
}

.article-prose strong {
  color: var(--color-white);
  font-weight: var(--font-weight-semibold);
}

.article-prose a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-pullquote {
  border-left: 3px solid var(--color-primary);
  background: var(--color-bg-elevated);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-xl) 0;
}

.article-pullquote__text {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
  font-style: italic;
  line-height: var(--leading-snug);
  margin-bottom: var(--space-xs);
}

.article-pullquote__attr {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.article-callout {
  background: var(--color-primary-dim);
  border: 1px solid rgba(124,27,42,.2);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-xl) 0;
}

.article-callout__label {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.article-callout__text {
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: var(--leading-loose);
  margin: 0;
}

.article-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin: var(--space-xl) 0;
}

.article-stat {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  text-align: center;
}

.article-stat__value {
  display: block;
  font-size: var(--text-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  letter-spacing: var(--tracking-tight);
  font-family: var(--font-mono);
}

.article-stat__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

/* Related articles */
.article-related-card {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-related-card:last-child {
  border-bottom: none;
}

.article-related-card__img {
  width: 72px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.article-related-card__tag {
  font-size: var(--text-xs);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-bottom: 2px;
}

.article-related-card__title {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  line-height: var(--leading-snug);
  transition: color 0.2s ease;
}

.article-related-card:hover .article-related-card__title {
  color: var(--color-primary);
}

/* =============================================================
   Contact Page
   ============================================================= */
.contact-hero-band {
  background: var(--color-bg-elevated);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-lg) 0;
}

.contact-method-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  transition: border-color 0.25s ease;
  text-decoration: none;
  height: 100%;
}

@media (min-width: 992px) {
  .contact-method-card {
    padding: var(--space-lg);
    gap: var(--space-md);
  }
}

.contact-method-card:hover {
  border-color: var(--color-primary);
}

.contact-method-card__icon {
  width: 48px;
  height: 48px;
  background: var(--color-primary-dim);
  border: 1px solid rgba(124,27,42,.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary);
}

.contact-method-card__label {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.contact-method-card__value {
  font-size: var(--text-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
  line-height: var(--leading-snug);
}

.contact-method-card__sub {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: 2px;
}

.contact-form-panel {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
}

.contact-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin-bottom: 8px;
}

.contact-input,
.contact-select,
.contact-textarea {
  width: 100%;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-text);
  font-family: var(--font-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.contact-input:focus,
.contact-select:focus,
.contact-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-dim);
}

.contact-input::placeholder,
.contact-textarea::placeholder {
  color: var(--color-text-subtle);
}

.contact-textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-select {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23A89F98' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}

.contact-select option {
  background: var(--color-bg-elevated);
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-office {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}

.contact-office__city {
  font-size: var(--text-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-xs);
}

.contact-office__dot {
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-office__addr {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
}

.contact-office__meta {
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
  margin-top: var(--space-xs);
}

.contact-guarantee {
  background: var(--color-primary-dim);
  border: 1px solid rgba(124,27,42,.15);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}

.contact-guarantee__title {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.contact-guarantee__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.contact-guarantee__item svg {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}
