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

    :root {
      --ink: #14110d;
      --ink-2: rgba(20, 17, 13, 0.62);
      --ink-3: rgba(20, 17, 13, 0.40);
      --hair: rgba(20, 17, 13, 0.10);
      --hair-2: rgba(20, 17, 13, 0.06);
      --paper: #faf9f6;
      --card: #ffffff;

      --orange: #ff7c10;
      --orange-deep: #e85d00;
      --orange-tint: rgba(255, 124, 16, 0.07);
      --orange-line: rgba(255, 124, 16, 0.28);
      --orange-glow: rgba(255, 124, 16, 0.22);

      --accent: var(--orange);
      --accent-deep: var(--orange-deep);
      --accent-tint: var(--orange-tint);
      --accent-line: var(--orange-line);
      --accent-glow: var(--orange-glow);
    }

    html[data-font="modern"] {
      --f-display: 'Schibsted Grotesk', sans-serif;
      --f-body: 'Schibsted Grotesk', sans-serif;
      --f-mono: 'JetBrains Mono', monospace;
      --disp-tight: -0.03em;
      --disp-weight: 800;
    }

    html[data-anim="off"] .reveal,
    html[data-anim="off"] .reveal.in-view {
      opacity: 1 !important;
      transform: none !important;
      transition: none !important;
    }

    html {
      overflow-x: hidden;
    }

    body {
      background-color: var(--paper);
      background-image: radial-gradient(circle, rgba(20, 17, 13, 0.05) 1px, transparent 1.4px);
      background-size: 28px 28px;
      font-family: var(--f-body);
      color: var(--ink);
      min-height: 100vh;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    .wrap-lg {
      max-width: 1140px;
      margin: 0 auto;
      padding: 0 28px;
    }

    /* ══════════════ STICKY HEADER ══════════════ */
    body {
      padding-top: 32px;
    }

    .site-header {
      position: fixed;
      top: 32px;
      left: 0;
      right: 0;
      z-index: 100;
    }

    /* ══════════════ EVENT BANNER ══════════════ */
    .event-banner {
      display: block;
      background: var(--ink);
      color: #fff;
      text-decoration: none;
      text-align: center;
      padding: 11px 20px;
      font-family: var(--f-mono);
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 0.08em;
      transition: background .2s;
    }

    .event-banner:hover {
      background: var(--accent-deep);
    }

    .event-banner strong {
      color: var(--accent);
      font-weight: 700;
    }

    .event-banner .arr {
      display: inline-block;
      margin-left: 4px;
      transition: transform .2s;
    }

    .event-banner:hover .arr {
      transform: translateX(4px);
    }

    .site-header__top {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 110;
      height: 32px;
      max-width: 1140px;
      margin: 0 auto;
      padding: 6px 28px;
      display: flex;
      justify-content: flex-end;
      background: rgba(250, 249, 246, 0.85);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--hair);
    }

    .site-header__inner {
      max-width: 1140px;
      margin: 0 auto;
      padding: 0 28px;
      height: 60px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      background: rgba(250, 249, 246, 0.85);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border-bottom: 0px solid var(--hair);
      opacity: 0;
      pointer-events: none;
      transform: translateY(-8px);
      transition: opacity .35s ease, transform .35s ease, border-bottom-width .35s ease, box-shadow .35s ease;
    }

    .site-header.show .site-header__inner {
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0);
      border-bottom-width: 1px;
      box-shadow: 0 8px 24px -16px rgba(20, 17, 13, 0.18);
    }

    .site-header__brand {
      display: flex;
      align-items: center;
      gap: 1px;
      height: 22px;
    }

    .site-header__brand img {
      height: 100%;
      width: auto;
      object-fit: contain;
    }

    .site-header__nav {
      display: flex;
      align-items: center;
      gap: 24px;
    }

    .site-header__nav a {
      font-family: var(--f-mono);
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--ink-2);
      text-decoration: none;
      transition: color .2s;
    }

    .site-header__nav a:hover {
      color: var(--ink);
    }

    .site-header__nav a.site-header__cta {
      color: #fff;
      background: var(--ink);
      padding: 9px 16px;
      border-radius: 100px;
      transition: background .2s;
    }

    .site-header__nav a.site-header__cta:hover {
      background: var(--accent);
      color: #fff;
    }

    .site-header__dropdown {
      position: relative;
    }

    .site-header__dropdown-toggle {
      display: flex;
      align-items: center;
      gap: 5px;
    }

    .site-header__dropdown-toggle::after {
      content: '';
      width: 6px;
      height: 6px;
      border-right: 1.5px solid currentColor;
      border-bottom: 1.5px solid currentColor;
      transform: translateY(-2px) rotate(45deg);
      transition: transform .2s;
    }

    .site-header__dropdown-menu {
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translate(-50%, 4px);
      display: flex;
      flex-direction: column;
      min-width: 180px;
      padding: 8px;
      margin-top: 12px;
      background: var(--card);
      border: 1px solid var(--hair);
      border-radius: 12px;
      box-shadow: 0 12px 32px -16px rgba(20, 17, 13, 0.22);
      opacity: 0;
      pointer-events: none;
      transition: opacity .18s ease, transform .18s ease;
    }

    .site-header__dropdown:hover .site-header__dropdown-menu,
    .site-header__dropdown:focus-within .site-header__dropdown-menu {
      opacity: 1;
      pointer-events: auto;
      transform: translate(-50%, 0);
    }

    .site-header__dropdown:hover .site-header__dropdown-toggle::after {
      transform: translateY(0) rotate(225deg);
    }

    .site-header__dropdown-menu a {
      padding: 8px 12px;
      border-radius: 8px;
      white-space: nowrap;
    }

    .site-header__dropdown-menu a:hover {
      background: var(--hair-2);
    }

    .site-header__burger {
      display: none;
    }

    .lang-switch {
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .lang-switch__btn {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 26px;
      height: 18px;
      padding: 0;
      border: 1px solid transparent;
      border-radius: 3px;
      background: none;
      overflow: hidden;
      cursor: pointer;
      opacity: .45;
      transition: opacity .2s, border-color .2s, background-color .2s;
    }

    .lang-switch__btn svg {
      width: 100%;
      height: 100%;
      display: block;
    }

    .lang-switch__btn:hover {
      opacity: 1;
    }

    .lang-switch__btn.is-active {
      opacity: 1;
      border-color: var(--hair);
      background: var(--card);
    }

    /* ══════════════ SHARED TOKENS ══════════════ */
    .kicker {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      font-family: var(--f-mono);
      font-size: 11.5px;
      font-weight: 500;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--accent);
      background: var(--accent-tint);
      border: 1px solid var(--accent-line);
      border-radius: 100px;
      padding: 7px 15px;
      margin-bottom: 22px;
    }

    .kicker .dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 0 0 0 var(--accent-glow);
      animation: pulse 2.4s ease-out infinite;
    }

    @keyframes pulse {
      0% {
        box-shadow: 0 0 0 0 var(--accent-glow)
      }

      70% {
        box-shadow: 0 0 0 9px transparent
      }

      100% {
        box-shadow: 0 0 0 0 transparent
      }
    }

    .eyebrow {
      font-family: var(--f-mono);
      font-size: 10px;
      font-weight: 500;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--ink-3);
      margin-bottom: 16px;
    }

    .cta-btn {
      display: inline-flex;
      align-items: center;
      gap: 11px;
      background: var(--ink);
      color: #fff;
      text-decoration: none;
      font-family: var(--f-display);
      font-weight: 600;
      font-size: 0.98rem;
      letter-spacing: 0.005em;
      padding: 15px 26px;
      border-radius: 12px;
      border: none;
      cursor: pointer;
      box-shadow: 0 2px 4px rgba(0, 0, 0, .1), 0 12px 28px -14px rgba(0, 0, 0, .5);
      transition: background .22s, transform .22s, box-shadow .22s;
    }

    .cta-btn:hover {
      background: var(--accent);
      transform: translateY(-2px);
      box-shadow: 0 8px 22px -8px var(--accent-glow), 0 14px 30px -16px rgba(0, 0, 0, .4);
    }

    .cta-btn .arr {
      transition: transform .22s;
    }

    .cta-btn:hover .arr {
      transform: translateX(4px);
    }

    .section-head {
      max-width: 640px;
      margin-bottom: 40px;
    }

    .section-head.wide {
      max-width: none;
    }

    .section-head h2 {
      font-family: var(--f-display);
      font-weight: var(--disp-weight);
      font-size: clamp(1.6rem, 3vw, 2.3rem);
      letter-spacing: -0.02em;
      line-height: 1.12;
    }

    .section-head .sub {
      margin-top: 14px;
      font-size: clamp(0.95rem, 1.4vw, 1.05rem);
      color: var(--ink-2);
      line-height: 1.6;
    }

    /* ══════════════ REVEAL ══════════════ */
    .reveal {
      opacity: 0;
      transform: translateY(22px);
      transition: opacity .7s cubic-bezier(.2, .7, .3, 1), transform .7s cubic-bezier(.2, .7, .3, 1);
    }

    .reveal.in-view {
      opacity: 1;
      transform: none;
    }

    .s2.in-view {
      transition-delay: .08s;
    }

    .s3.in-view {
      transition-delay: .16s;
    }

    /* ══════════════ PLACEHOLDERS ══════════════ */
    .ph {
      background: repeating-linear-gradient(135deg, var(--hair-2) 0 10px, transparent 10px 20px);
      border: 1px dashed var(--hair);
      border-radius: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 20px;
      color: var(--ink-3);
      font-family: var(--f-mono);
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      line-height: 1.6;
    }

    img.ph {
      display: block;
      padding: 0;
      width: 100%;
      height: auto;
      object-fit: cover;
    }

    .ph-hero {
      aspect-ratio: 1600 / 968;
      min-height: 280px;
      border-radius: 24px;
      border: 2px solid var(--accent);
    }

    .ph-square {
      aspect-ratio: 1 / 1;
      margin-top: 22px;
    }

    .ph-logo {
      width: 138px;
      height: 60px;
      flex-shrink: 0;
      font-size: 9px;
      border-radius: 10px;
    }

    .ph-case {
      aspect-ratio: 16 / 10;
      border-radius: 0;
      border-width: 0 0 1px 0;
    }

    .case-photo {
      position: relative;
    }

    .case-photo__slides {
      display: flex;
      transition: transform .35s ease;
    }

    .case-photo__slides .ph-case {
      flex: none;
      width: 100%;
      min-width: 100%;
    }

    .case-photo__dots {
      position: absolute;
      bottom: 10px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 6px;
      z-index: 2;
    }

    .case-photo__dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      border: none;
      background: rgba(255, 255, 255, .45);
      cursor: pointer;
      padding: 0;
      transition: background .2s;
    }

    .case-photo__dot.is-active {
      background: #fff;
    }

    .case-photo__location {
      position: absolute;
      right: 14px;
      bottom: 14px;
      padding: 4px 10px;
      border-radius: 999px;
      background: rgba(0, 0, 0, .55);
      color: #fff;
      font-family: var(--f-mono);
      font-size: .72rem;
      line-height: 1.4;
    }

    .ph-news {
      aspect-ratio: 4 / 3;
    }

    /* ══════════════ LOGO LOCKUP (mini, animated) ══════════════ */
    .logo-bar {
      grid-column: 1 / -1;
      position: relative;
      padding-bottom: 16px;
      margin-bottom: 28px;
      border-bottom: 1px solid var(--hair);
    }

    .logo-bar .site-header__nav {
      position: absolute;
      top: 0;
      right: 0;
      transition: opacity .25s ease, transform .25s ease;
    }

    .logo-bar .site-header__nav.is-hidden {
      opacity: 0;
      transform: translateY(-6px);
      pointer-events: none;
    }

    .logo-mini {
      position: relative;
      height: 78px;
      width: 344px;
      overflow: hidden;
    }

    .logo-mini__img {
      position: absolute;
      top: 0;
      left: 0;
      height: 78px;
      width: 100%;
      object-fit: contain;
      backface-visibility: hidden;
    }

    .logo-mini__left {
      z-index: 2;
      transform: translateX(-100vw);
      opacity: 0;
      animation: logoSlideL .9s cubic-bezier(.2, 1, .32, 1) .1s forwards;
    }

    .logo-mini__right {
      z-index: 1;
      transform: translateX(100vw);
      opacity: 0;
      animation: logoSlideR .9s cubic-bezier(.2, 1, .32, 1) .1s forwards;
    }

    @keyframes logoSlideL {
      to {
        transform: translateX(0);
        opacity: 1;
      }
    }

    @keyframes logoSlideR {
      to {
        transform: translateX(0);
        opacity: 1;
      }
    }

    .logo-mini::after {
      content: '';
      position: absolute;
      top: 0;
      left: -120%;
      width: 45%;
      height: 100%;
      z-index: 5;
      pointer-events: none;
      background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.85) 50%, transparent 100%);
      transform: skewX(-18deg);
      animation: logoShine 1.4s ease-out 1s forwards;
    }

    @keyframes logoShine {
      0% {
        left: -120%;
        opacity: 0
      }

      12% {
        opacity: 1
      }

      60% {
        left: 170%;
        opacity: 0
      }

      100% {
        left: 170%;
        opacity: 0
      }
    }

    html[data-anim="off"] .logo-mini__img {
      animation: none;
      opacity: 1;
      transform: none;
    }

    html[data-anim="off"] .logo-mini::after {
      display: none;
    }

    /* header variant: static until header first shows on scroll, then plays the same entrance */
    .logo-mini--sm {
      height: 26px;
      width: 114px;
      margin-bottom: 0;
    }

    .logo-mini--sm .logo-mini__img {
      height: 26px;
    }

    .logo-mini--sm .logo-mini__img {
      animation: none;
      opacity: 1;
      transform: translateX(0);
    }

    .logo-mini--sm::after {
      content: none;
      animation: none;
    }

    .logo-mini--sm.play .logo-mini__left {
      animation: logoSlideLPlay .8s cubic-bezier(.2, 1, .32, 1) forwards;
    }

    .logo-mini--sm.play .logo-mini__right {
      animation: logoSlideRPlay .8s cubic-bezier(.2, 1, .32, 1) forwards;
    }

    .logo-mini--sm.play::after {
      content: '';
      animation: logoShine 1.4s ease-out .6s forwards;
    }

    @keyframes logoSlideLPlay {
      0% {
        transform: translateX(-100vw);
        opacity: 0
      }

      100% {
        transform: translateX(0);
        opacity: 1
      }
    }

    @keyframes logoSlideRPlay {
      0% {
        transform: translateX(100vw);
        opacity: 0
      }

      100% {
        transform: translateX(0);
        opacity: 1
      }
    }

    /* ══════════════ HERO ══════════════ */
    .hero-main {
      display: grid;
      grid-template-columns: 1.1fr 1fr;
      gap: 52px;
      align-items: center;
      padding: 32px 0 70px;
    }

    .hero-copy h1 {
      font-family: var(--f-display);
      font-size: clamp(2.3rem, 5vw, 4rem);
      font-weight: var(--disp-weight);
      line-height: 1.06;
      letter-spacing: var(--disp-tight);
      text-wrap: balance;
    }

    .hero-copy h1 .accent {
      color: var(--accent);
    }

    .hero-copy .sub {
      margin-top: 18px;
      max-width: 46ch;
      font-size: clamp(1rem, 1.6vw, 1.12rem);
      color: var(--ink-2);
      line-height: 1.62;
    }

    .hero-ctas {
      display: flex;
      gap: 14px;
      margin-top: 32px;
      flex-wrap: wrap;
    }

    .hero-copy__body {
      margin-top: 14px;
      max-width: 46ch;
      font-size: 0.95rem;
      color: var(--ink-3);
      line-height: 1.6;
    }

    .cta-btn--ghost {
      background: transparent;
      color: var(--ink);
      border: 1px solid var(--hair);
      box-shadow: none;
    }

    .cta-btn--ghost:hover {
      background: var(--accent-tint);
      color: var(--accent-deep);
      border-color: var(--accent-line);
      box-shadow: none;
      transform: translateY(-2px);
    }

    .cta-btn--oem {
      background: var(--accent);
      color: #fff;
      border: 1px solid #2e7d32;
      box-shadow: 0 2px 8px rgba(46,125,50,0.25);
    }

    .cta-btn--oem:hover {
      background: #e06500;
      border-color: #e06500;
      color: #fff;
      box-shadow: 0 4px 14px rgba(46,125,50,0.35);
      transform: translateY(-2px);
    }

    .hero-trust {
      list-style: none;
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 28px;
      padding-top: 22px;
      border-top: 1px solid var(--hair);
    }

    .hero-trust .tag-pill {
      font-size: 9px;
      padding: 4px 8px;
    }

    /* ══════════════ HERO (big image variant — currently hidden) ══════════════ */
    .hero-big {
      padding: 56px 0 70px;
    }

    .hero-big h1 {
      font-family: var(--f-display);
      font-size: clamp(2.3rem, 5vw, 4rem);
      font-weight: var(--disp-weight);
      line-height: 1.06;
      letter-spacing: var(--disp-tight);
      text-wrap: balance;
      max-width: 18ch;
    }

    .hero-big h1 .accent {
      color: var(--accent);
    }

    .hero-big .sub {
      margin-top: 18px;
      max-width: 60ch;
      font-size: clamp(1rem, 1.6vw, 1.12rem);
      color: var(--ink-2);
      line-height: 1.62;
    }

    .ph-hero-big {
      aspect-ratio: 16 / 7;
      min-height: 320px;
      border-radius: 24px;
    }

    /* ══════════════ HERO CAROUSEL ══════════════ */
    .hero-carousel {
      margin-bottom: 32px;
    }

    .hero-carousel__slide {
      display: none;
    }

    .hero-carousel__slide.is-active {
      display: flex;
      animation: heroFade .5s ease;
    }

    @keyframes heroFade {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    .hero-carousel__dots {
      display: flex;
      gap: 8px;
      justify-content: center;
      margin-top: 14px;
    }

    .hero-carousel__dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      border: none;
      padding: 0;
      background: var(--hair);
      cursor: pointer;
      transition: background .2s, transform .2s;
    }

    .hero-carousel__dot.is-active {
      background: var(--accent);
      transform: scale(1.25);
    }

    /* ══════════════ CLIENTI ══════════════ */
    .clients {
      padding: 64px 0;
      border-top: 1px solid var(--hair);
    }

    .clients-inner .eyebrow {
      margin: 0 0 22px;
      text-align: center;
    }

    .clients-carousel__track {
      overflow: hidden;
    }

    .clients-carousel__slide {
      display: none;
      gap: 18px;
      flex-wrap: wrap;
      justify-content: center;
    }

    .clients-carousel__slide.is-active {
      display: flex;
      animation: heroFade .5s ease;
    }

    .client-logo {
      width: 170px;
      height: auto;
      min-height: 160px;
      box-sizing: border-box;
      flex-shrink: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 4px;
      padding: 12px 8px;
      border: none;
      background: none;
      cursor: pointer;
      transition: transform .2s;
    }

    .client-logo:hover {
      transform: translateY(-2px);
    }

    .client-logo::before {
      order: 2;
      content: attr(aria-label);
      font-size: .72rem;
      font-weight: 600;
      text-align: center;
      color: var(--ink);
    }

    .client-logo::after {
      order: 3;
      content: attr(data-location);
      font-size: .66rem;
      text-align: center;
      color: var(--ink);
      opacity: .6;
    }

    .client-logo img {
      order: 1;
      max-width: 100%;
      max-height: 100px;
      object-fit: contain;
    }

    .clients-carousel__dots {
      display: flex;
      gap: 8px;
      justify-content: center;
      margin-top: 24px;
    }

    .clients-carousel__dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      border: none;
      padding: 0;
      background: var(--hair);
      cursor: pointer;
      transition: background .2s, transform .2s;
    }

    .clients-carousel__dot.is-active {
      background: var(--accent);
      transform: scale(1.25);
    }

    /* ══════════════ LIGHTBOX ══════════════ */
    .lightbox {
      position: fixed;
      inset: 0;
      z-index: 1100;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 32px;
      background: rgba(20, 17, 13, 0.78);
    }

    .lightbox.is-open {
      display: flex;
    }

    .lightbox__figure {
      margin: 0;
      text-align: center;
    }

    .lightbox img {
      max-width: min(640px, 92vw);
      max-height: 85vh;
      width: 100%;
      object-fit: contain;
      background: #fff;
      border-radius: 16px;
      padding: 32px;
      box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .5);
    }

    .lightbox__caption {
      margin-top: 14px;
      color: #fff;
    }

    .lightbox__caption-company {
      display: block;
      font-weight: 700;
      font-size: 1.05rem;
    }

    .lightbox__caption-location {
      display: block;
      font-size: .9rem;
      opacity: .75;
    }

    .lightbox__close {
      position: absolute;
      top: 24px;
      right: 28px;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      border: none;
      background: var(--card);
      color: var(--ink);
      font-size: 1.6rem;
      line-height: 1;
      cursor: pointer;
      transition: background .2s, color .2s;
    }

    .lightbox__close:hover {
      background: var(--accent);
      color: #fff;
    }

    /* ══════════════ PROBLEM / OPPORTUNITY ══════════════ */
    .problem-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 28px;
      padding: 64px 0;
    }

    .problem-col {
      padding: 32px;
      border-radius: 20px;
      border: 1px solid var(--hair);
      background: var(--card);
    }

    .problem-col.opportunity {
      background: var(--accent-tint);
      border-color: var(--accent-line);
    }

    .problem-col h2 {
      font-family: var(--f-display);
      font-weight: var(--disp-weight);
      font-size: clamp(1.35rem, 2.4vw, 1.85rem);
      letter-spacing: -0.02em;
      line-height: 1.18;
      margin-bottom: 18px;
    }

    .problem-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .problem-col li {
      display: flex;
      gap: 10px;
      font-size: 0.95rem;
      color: var(--ink-2);
      line-height: 1.5;
    }

    .problem-col li::before {
      content: '—';
      color: var(--ink-3);
      flex-shrink: 0;
    }

    .problem-col.opportunity li::before {
      content: '→';
      color: var(--accent);
    }

    /* ══════════════ 3-CARD GRIDS (steps / benefits / tech) ══════════════ */
    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 26px;
    }

    .card-3 {
      background: var(--card);
      border: 1px solid var(--hair);
      border-radius: 18px;
      padding: 28px;
      box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
      transition: transform .25s, box-shadow .25s, border-color .25s;
    }

    .card-3:hover {
      transform: translateY(-3px);
      border-color: var(--accent-line);
      box-shadow: 0 14px 34px -18px rgba(0, 0, 0, .16);
    }

    .card-3 h3 {
      font-family: var(--f-display);
      font-weight: var(--disp-weight);
      font-size: 1.18rem;
      letter-spacing: -0.01em;
      margin: 14px 0 10px;
    }

    .card-3 p {
      font-size: 0.92rem;
      color: var(--ink-2);
      line-height: 1.58;
    }

    .step-num {
      font-family: var(--f-mono);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.2em;
      color: var(--accent);
    }

    /* ══════════════ FEATURE LIST (numbered editorial rows) ══════════════ */
    .feature-group {
      margin-bottom: 36px;
    }

    .feature-group:last-child {
      margin-bottom: 0;
    }

    .feature-list {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 0 56px;
    }

    .feature-item {
      display: flex;
      gap: 22px;
      padding: 28px 0;
      border-top: 1px solid var(--hair);
    }

    .feature-item:nth-child(-n+2) {
      border-top: none;
    }

    .feature-num {
      flex: 0 0 auto;
      padding-top: 4px;
      font-family: var(--f-mono);
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.2em;
      color: var(--accent);
    }

    .feature-body h3 {
      font-family: var(--f-display);
      font-weight: var(--disp-weight);
      font-size: 1.05rem;
      letter-spacing: -0.01em;
      margin: 0 0 8px;
    }

    .feature-body p {
      font-size: 0.92rem;
      color: var(--ink-2);
      line-height: 1.58;
    }

    /* ══════════════ BENEFIT ROWS (alternating image / text) ══════════════ */
    .benefit-rows {
      display: flex;
      flex-direction: column;
      gap: 56px;
    }

    .benefit-row {
      display: flex;
      align-items: center;
      gap: 48px;
    }

    .benefit-row.reverse {
      flex-direction: row-reverse;
    }

    .benefit-media {
      flex: 1 1 0;
      aspect-ratio: 4 / 3;
      border-radius: 20px;
    }

    .ph.benefit-media {
      width: auto;
      min-width: 0;
    }

    .tech-media {
      position: relative;
      flex: 1 1 0;
      aspect-ratio: 800 / 1204;
      border-radius: 20px;
      overflow: hidden;
      border: 2px solid var(--accent);
    }

    .tech-media .benefit-media {
      width: 100%;
      height: 100%;
      aspect-ratio: auto;
      border-radius: 0;
    }

    .tech-callout {
      position: absolute;
      width: 30px;
      height: 30px;
      border-radius: 50%;
      background: var(--accent);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--f-mono);
      font-weight: 600;
      font-size: 13px;
      box-shadow: 0 0 0 6px rgba(255, 124, 16, .22);
      transform: translate(-50%, -50%);
      cursor: pointer;
      transition: transform .2s, box-shadow .2s;
    }

    .tech-group .benefit-row {
      position: relative;
    }

    .tech-link-svg {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 1;
      overflow: visible;
    }

    .tech-link-svg path {
      fill: none;
      stroke: var(--ink);
      stroke-width: 2;
      stroke-dasharray: 4 4;
      opacity: 0;
      transition: opacity .2s;
    }

    .tech-link-svg path.is-active {
      opacity: .55;
    }

    .benefit-feature__num {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: var(--accent);
      color: #fff;
      font-family: var(--f-mono);
      font-weight: 600;
      font-size: 12px;
      position: relative;
      z-index: 2;
      transition: transform .2s, box-shadow .2s;
      visibility: hidden;
    }

    .benefit-feature[data-tech-idx] {
      display: flex;
      align-items: center;
      gap: 14px;
      border-radius: 0 12px 12px 0;
      padding: 8px 10px;
      margin: 0 -10px;
      transition: background .2s, box-shadow .2s;
      cursor: pointer;
    }

    .benefit-row.reverse .benefit-feature[data-tech-idx] {
      flex-direction: row-reverse;
      border-radius: 12px 0 0 12px;
    }

    .benefit-feature__body {
      flex: 1 1 0;
    }

    .benefit-feature.is-active,
    .benefit-feature[data-tech-idx]:hover {
      background: var(--card);
    }

    .benefit-feature.is-active {
      box-shadow: inset 3px 0 0 var(--accent);
    }

    .benefit-row.reverse .benefit-feature.is-active {
      box-shadow: inset -3px 0 0 var(--accent);
    }

    .benefit-feature.is-active .benefit-feature__num,
    .benefit-feature[data-tech-idx]:hover .benefit-feature__num {
      transform: scale(1.25);
      box-shadow: 0 0 0 5px rgba(255, 124, 16, .32);
    }

    .tech-callout.is-active {
      transform: translate(-50%, -50%) scale(1.35);
      box-shadow: 0 0 0 10px rgba(255, 124, 16, .4);
      z-index: 2;
    }

    .benefit-content {
      flex: 1 1 0;
    }

    .benefit-content-multi {
      display: flex;
      flex-direction: column;
      gap: 28px;
    }

    .benefit-content h3 {
      font-family: var(--f-display);
      font-weight: var(--disp-weight);
      font-size: 1.4rem;
      letter-spacing: -0.01em;
      margin: 0 0 12px;
    }

    .benefit-content p {
      font-size: 0.98rem;
      color: var(--ink-2);
      line-height: 1.65;
    }

    .intro-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 16px;
    }

    .tag-pill {
      font-family: var(--f-mono);
      font-size: 10px;
      font-weight: 500;
      padding: 5px 10px;
      border: 1px solid var(--hair);
      border-radius: 999px;
      color: var(--ink-2);
      white-space: nowrap;
    }

    section[id] {
      scroll-margin-top: 80px;
    }

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

    /* ══════════════ MAP ══════════════ */
    .map-box {
      height: 460px;
      border-radius: 20px;
      overflow: hidden;
      border: 1px solid var(--hair);
    }

    .map-marker {
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background: var(--accent);
      border: 3px solid var(--paper);
      box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
      cursor: pointer;
    }

    .maplibregl-popup-content {
      font-family: var(--f-body);
      font-size: 0.85rem;
      color: var(--ink);
      padding: 8px 12px;
      border-radius: 8px;
    }

    /* ══════════════ CASE STUDIES ══════════════ */
    .cases-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 26px;
    }

    .case-card {
      border: 1px solid var(--hair);
      border-radius: 18px;
      overflow: hidden;
      background: var(--card);
    }

    .js-case-trigger {
      cursor: pointer;
      transition: transform .2s, box-shadow .2s;
    }

    .js-case-trigger:hover,
    .js-case-trigger:focus-visible {
      transform: translateY(-3px);
      box-shadow: 0 14px 34px -18px rgba(0, 0, 0, .25);
    }

    .case-body {
      padding: 22px;
    }

    .case-card h3 {
      font-family: var(--f-display);
      font-weight: var(--disp-weight);
      font-size: 1.05rem;
      margin-bottom: 12px;
    }

    .case-stats {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .case-stats span {
      font-family: var(--f-mono);
      font-size: 11px;
      letter-spacing: 0.06em;
      color: var(--ink-2);
    }

    .case-note {
      display: inline-block;
      margin-top: 18px;
      font-family: var(--f-mono);
      font-size: 10px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--ink-3);
    }

    /* ══════════════ NEWS / EVENTS ══════════════ */
    .news-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 26px;
    }

    .news-card {
      display: flex;
      flex-direction: column;
      border: 1px solid var(--hair);
      border-radius: 18px;
      overflow: hidden;
      background: var(--card);
      text-decoration: none;
      color: inherit;
      transition: transform .25s, box-shadow .25s, border-color .25s;
    }

    .news-card:hover {
      transform: translateY(-3px);
      border-color: var(--accent-line);
      box-shadow: 0 14px 34px -18px rgba(0, 0, 0, .16);
    }

    .news-logo {
      height: 60px;
      width: auto;
      margin: 22px 22px 0;
      object-fit: contain;
      align-self: flex-start;
    }

    .news-body {
      padding: 18px 22px 22px;
    }

    .news-tag {
      font-family: var(--f-mono);
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--accent);
    }

    .news-card h3 {
      font-family: var(--f-display);
      font-weight: var(--disp-weight);
      font-size: 1.05rem;
      margin: 8px 0 8px;
      letter-spacing: -0.01em;
    }

    .news-card p {
      font-size: 0.88rem;
      color: var(--ink-2);
      line-height: 1.52;
      margin-bottom: 14px;
    }

    .news-link {
      font-family: var(--f-mono);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--accent);
    }

    /* ══════════════ FAQ ══════════════ */
    .faq-list {
      display: flex;
      flex-direction: column;
      gap: 10px;
      max-width: 760px;
    }

    .faq-item {
      border: 1px solid var(--hair);
      border-radius: 14px;
      background: var(--card);
      overflow: hidden;
    }

    .faq-item summary {
      list-style: none;
      cursor: pointer;
      padding: 18px 22px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      font-family: var(--f-display);
      font-weight: 700;
      font-size: 0.98rem;
    }

    .faq-item summary::-webkit-details-marker {
      display: none;
    }

    .faq-icon {
      font-family: var(--f-mono);
      font-size: 18px;
      line-height: 1;
      color: var(--accent);
      transition: transform .2s;
      flex-shrink: 0;
    }

    .faq-item[open] .faq-icon {
      transform: rotate(45deg);
    }

    .faq-item p {
      padding: 0 22px 20px;
      font-size: 0.92rem;
      color: var(--ink-2);
      line-height: 1.6;
    }

    /* ══════════════ FMS FEATURES (accordion grid) ══════════════ */
    .fms-group {
      margin-bottom: 36px;
    }

    .fms-group:last-child {
      margin-bottom: 0;
    }

    .group-title {
      font-family: var(--f-mono);
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--accent);
      margin: 0 0 16px;
      padding-bottom: 12px;
      border-bottom: 1px solid var(--hair);
    }

    .fms-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 14px;
      align-items: start;
    }

    .fms-item {
      border: 1px solid var(--hair);
      border-radius: 14px;
      background: var(--card);
      overflow: hidden;
    }

    .fms-item summary {
      list-style: none;
      cursor: pointer;
      padding: 18px 22px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      font-family: var(--f-display);
      font-weight: 700;
      font-size: 0.98rem;
    }

    .fms-item summary::-webkit-details-marker {
      display: none;
    }

    .fms-item[open] .faq-icon {
      transform: rotate(45deg);
    }

    .fms-item__media {
      aspect-ratio: 16 / 9;
      border-radius: 0;
      margin: 0 22px 14px;
      width: calc(100% - 44px);
    }

    .fms-item ul {
      margin: 0;
      padding: 0 22px 20px 42px;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .fms-item li {
      font-size: 0.92rem;
      color: var(--ink-2);
      line-height: 1.5;
    }

    /* ══════════════ CONTACT ══════════════ */
    .contact-card {
      background: var(--card);
      border: 1px solid var(--hair);
      border-radius: 24px;
      padding: 48px;
      display: grid;
      grid-template-columns: 1fr 1.3fr;
      gap: 48px;
      box-shadow: 0 1px 2px rgba(0, 0, 0, .03), 0 14px 34px -18px rgba(0, 0, 0, .1);
    }

    .contact-intro h2 {
      font-family: var(--f-display);
      font-weight: var(--disp-weight);
      font-size: clamp(1.5rem, 2.6vw, 2rem);
      letter-spacing: -0.02em;
      line-height: 1.15;
      margin-bottom: 14px;
    }

    .contact-intro .sub {
      font-size: 0.98rem;
      color: var(--ink-2);
      line-height: 1.6;
    }

    .contact-form {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
      align-content: start;
    }

    .contact-form label {
      display: flex;
      flex-direction: column;
      gap: 6px;
      font-family: var(--f-mono);
      font-size: 10px;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--ink-3);
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
      font-family: var(--f-body);
      font-size: 0.95rem;
      color: var(--ink);
      padding: 12px 14px;
      border: 1px solid var(--hair);
      border-radius: 10px;
      background: var(--paper);
      transition: border-color .2s;
    }

    .contact-form input:focus,
    .contact-form select:focus,
    .contact-form textarea:focus {
      outline: none;
      border-color: var(--accent);
    }

    .contact-form textarea {
      resize: vertical;
      min-height: 80px;
      font-family: var(--f-body);
    }

    .contact-form .full {
      grid-column: 1 / -1;
    }

    .contact-form .checkbox {
      flex-direction: row;
      align-items: flex-start;
      gap: 10px;
      font-family: var(--f-body);
      font-size: 0.85rem;
      text-transform: none;
      letter-spacing: normal;
      color: var(--ink-2);
    }

    .contact-form .checkbox input {
      width: auto;
      margin-top: 3px;
      accent-color: var(--accent);
    }

    /* ══════════════ CONTACT DIALOG ══════════════ */
    .contact-dialog {
      position: fixed;
      inset: 0;
      z-index: 1100;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 24px;
      background: rgba(20, 17, 13, 0.78);
    }

    .contact-dialog.is-open {
      display: flex;
    }

    .contact-dialog__panel {
      position: relative;
      width: 100%;
      max-width: 760px;
      max-height: 90vh;
      overflow-y: auto;
      border-radius: 24px;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }

    .contact-dialog__panel::-webkit-scrollbar {
      display: none;
    }

    .contact-dialog__close {
      position: absolute;
      top: 16px;
      right: 16px;
      z-index: 1;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      border: none;
      background: var(--card);
      color: var(--ink);
      font-size: 1.5rem;
      line-height: 1;
      cursor: pointer;
      transition: background .2s, color .2s;
    }

    .contact-dialog__close:hover {
      background: var(--accent);
      color: #fff;
    }

    .contact-card--dialog {
      grid-template-columns: 1fr;
      gap: 24px;
      padding: 32px;
    }

    .case-detail {
      display: block;
    }

    .case-detail__intro h2 {
      font-family: var(--f-display);
      font-weight: var(--disp-weight);
      font-size: clamp(1.5rem, 2.6vw, 2rem);
      letter-spacing: -0.02em;
      line-height: 1.15;
      margin-bottom: 24px;
    }

    .case-detail__section {
      margin-top: 24px;
      padding-top: 24px;
      border-top: 1px solid var(--hair);
    }

    .case-detail__section:first-of-type {
      margin-top: 0;
      padding-top: 0;
      border-top: none;
    }

    .case-detail__section h3 {
      font-family: var(--f-display);
      font-weight: var(--disp-weight);
      font-size: 1.1rem;
      margin-bottom: 12px;
      color: var(--accent);
    }

    .case-detail__section p {
      font-size: 0.95rem;
      color: var(--ink-2);
      line-height: 1.6;
    }

    .case-detail__list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .case-detail__list li {
      font-size: 0.95rem;
      color: var(--ink-2);
      line-height: 1.6;
      padding-left: 18px;
      border-left: 2px solid var(--hair);
    }

    .case-detail__list li strong {
      color: var(--ink);
    }

    .form-status {
      font-family: var(--f-mono);
      font-size: 0.85rem;
      min-height: 1.2em;
    }

    .form-status.ok {
      color: #2f8f3e;
    }

    .form-status.err {
      color: #d23c3c;
    }

    /* ══════════════ FOOTER ══════════════ */
    .site-footer {
      border-top: 1px solid var(--hair);
      padding: 48px 0 56px;
      margin-top: 24px;
    }

    .footer-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      flex-wrap: wrap;
    }

    .footer-brand {
      flex-shrink: 0;
    }

    .footer-nav {
      display: flex;
      gap: 22px;
      flex-wrap: wrap;
    }

    .footer-nav a {
      font-family: var(--f-mono);
      font-size: 11px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--ink-2);
      text-decoration: none;
      transition: color .2s;
    }

    .footer-nav a:hover {
      color: var(--ink);
    }

    .footer-copy {
      font-family: var(--f-mono);
      font-size: 11px;
      color: var(--ink-3);
      width: 100%;
      margin-top: 22px;
    }

    .footer-updated {
      font-family: var(--f-mono);
      font-size: 11px;
      color: var(--ink-3);
      width: 100%;
      margin-top: 6px;
    }

    @media (max-width: 900px) {

      .grid-3,
      .cases-grid,
      .news-grid {
        grid-template-columns: 1fr;
      }

      .feature-list {
        grid-template-columns: 1fr;
      }

      .feature-item:nth-child(-n+2) {
        border-top: 1px solid var(--hair);
      }

      .feature-item:first-child {
        border-top: none;
      }

      .map-box {
        height: 320px;
      }

      .benefit-row,
      .benefit-row.reverse {
        flex-direction: column;
      }

      .tech-media {
        flex: none;
        width: 100%;
      }

      .tech-group .benefit-content-multi {
        display: none;
      }

      .problem-grid {
        grid-template-columns: 1fr;
      }

      .contact-card {
        grid-template-columns: 1fr;
        padding: 32px;
      }

      .fms-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 720px) {
      .event-banner {
        font-size: 10px;
        padding: 9px 14px;
      }

      .wrap-lg {
        padding: 0 18px;
      }

      .site-header__inner {
        padding: 0 18px;
      }

      .site-header__nav {
        display: none;
      }

      .site-header__burger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 6px;
        flex-shrink: 0;
        margin-left: auto;
      }

      .site-header__burger span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--ink);
        border-radius: 2px;
        transition: transform .25s ease, opacity .25s ease;
      }

      .site-header.nav-open .site-header__burger span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
      }

      .site-header.nav-open .site-header__burger span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
      }

      .site-header.nav-open .site-header__burger span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
      }

      .site-header.show.nav-open .site-header__nav {
        display: flex;
        flex-direction: column;
        pointer-events: auto;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(250, 249, 246, 0.97);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--hair);
        padding: 4px 18px 20px;
        box-shadow: 0 12px 24px -8px rgba(20, 17, 13, 0.14);
      }

      .site-header.show.nav-open .site-header__nav > a,
      .site-header.show.nav-open .site-header__dropdown-toggle {
        padding: 13px 4px;
        border-bottom: 1px solid var(--hair);
        font-size: 12px;
        text-align: left;
      }

      .site-header.show.nav-open .site-header__dropdown {
        display: flex;
        flex-direction: column;
        border-bottom: 1px solid var(--hair);
      }

      .site-header.show.nav-open .site-header__dropdown-toggle {
        border-bottom: none;
      }

      .site-header.show.nav-open .site-header__dropdown-toggle::after {
        display: none;
      }

      .site-header.show.nav-open .site-header__dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0 0 8px 12px;
        margin-top: 0;
        background: none;
        min-width: auto;
      }

      .site-header.show.nav-open .site-header__dropdown-menu a {
        padding: 9px 4px;
        border-radius: 0;
        font-size: 11px;
        border-bottom: 1px solid var(--hair);
        color: var(--ink-2);
      }

      .site-header.show.nav-open .site-header__dropdown-menu a:last-child {
        border-bottom: none;
      }

      .site-header.show.nav-open .site-header__nav a.site-header__cta {
        margin-top: 16px;
        align-self: flex-start;
        border-bottom: none;
      }

      .hero-main {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 100px 0 48px;
      }

      .contact-form {
        grid-template-columns: 1fr;
      }
    }

    /* ══════════════ CHAT WIDGET ══════════════ */
    .chat-widget {
      position: fixed;
      right: 20px;
      bottom: 20px;
      z-index: 1000;
    }

    .chat-toggle {
      position: relative;
      width: 58px;
      height: 58px;
      border: none;
      border-radius: 50%;
      background: var(--ink);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .35);
      transition: background .2s, transform .2s, box-shadow .2s;
    }

    .chat-toggle:hover {
      transform: translateY(-2px) scale(1.06);
      box-shadow: 0 12px 34px -10px rgba(0, 0, 0, .45), 0 0 0 4px var(--accent-glow);
    }

    .chat-toggle svg {
      width: 24px;
      height: 24px;
    }

    .chat-toggle__chat {
      width: 38px;
      height: 38px;
      border-radius: 10px;
      object-fit: cover;
      display: block;
    }

    .chat-toggle__close {
      display: none;
    }

    .chat-widget.is-open .chat-toggle__chat {
      display: none;
    }

    .chat-widget.is-open .chat-toggle__close {
      display: block;
    }

    .chat-toggle__dot {
      position: absolute;
      top: 2px;
      right: 2px;
      width: 13px;
      height: 13px;
      border-radius: 50%;
      background: var(--accent);
      border: 2px solid var(--paper);
      animation: chatPulse 2.4s ease-out infinite;
    }

    .chat-widget.is-open .chat-toggle__dot {
      display: none;
    }

    @keyframes chatPulse {
      0% { box-shadow: 0 0 0 0 var(--accent-glow) }
      70% { box-shadow: 0 0 0 9px transparent }
      100% { box-shadow: 0 0 0 0 transparent }
    }

    .chat-panel {
      position: absolute;
      right: 0;
      bottom: 74px;
      width: min(380px, calc(100vw - 32px));
      height: min(620px, calc(100vh - 110px));
      display: flex;
      flex-direction: column;
      background: var(--card);
      border: 1px solid var(--hair);
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 1px 2px rgba(0, 0, 0, .03), 0 24px 50px -20px rgba(0, 0, 0, .25);
      opacity: 0;
      visibility: hidden;
      transform: translateY(16px) scale(.98);
      transform-origin: bottom right;
      transition: opacity .2s, transform .2s, visibility .2s;
    }

    .chat-widget.is-open .chat-panel {
      opacity: 1;
      visibility: visible;
      transform: none;
    }

    .chat-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 16px 20px;
      border-bottom: 1px solid var(--hair);
      flex-shrink: 0;
    }

    .chat-header__title {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .chat-header__dot {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 0 0 0 var(--accent-glow);
      animation: chatPulse 2.4s ease-out infinite;
      flex-shrink: 0;
    }

    .chat-header__text strong {
      display: block;
      font-family: var(--f-display);
      font-weight: var(--disp-weight);
      font-size: 1rem;
      letter-spacing: -0.01em;
    }

    .chat-header__text span {
      display: block;
      font-family: var(--f-mono);
      font-size: 10px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--ink-3);
      margin-top: 2px;
    }

    .chat-consult-btn {
      display: none;
      align-items: center;
      font-family: var(--f-mono);
      font-size: 10px;
      font-weight: 500;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--accent);
      background: var(--accent-tint);
      border: 1px solid var(--accent-line);
      border-radius: 100px;
      padding: 8px 12px;
      cursor: pointer;
      white-space: nowrap;
      transition: background .2s, border-color .2s;
    }

    .chat-consult-btn.show {
      display: inline-flex;
    }

    .chat-consult-btn:hover {
      background: var(--accent);
      border-color: var(--accent);
      color: #fff;
    }

    .chat-messages {
      flex: 1;
      overflow-y: auto;
      padding: 18px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .chat-msg {
      max-width: 84%;
      padding: 10px 14px;
      border-radius: 14px;
      font-size: 0.92rem;
      line-height: 1.55;
      white-space: pre-wrap;
    }

    .chat-msg.bot {
      align-self: flex-start;
      background: var(--paper);
      border: 1px solid var(--hair);
      border-bottom-left-radius: 4px;
    }

    .chat-msg.user {
      align-self: flex-end;
      background: var(--accent);
      color: #fff;
      border-bottom-right-radius: 4px;
    }

    .chat-msg.typing {
      display: flex;
      gap: 5px;
      align-items: center;
      padding: 14px 16px;
    }

    .chat-msg.typing span {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--ink-3);
      animation: chatTypingBounce 1.2s infinite ease-in-out;
    }

    .chat-msg.typing span:nth-child(2) { animation-delay: .15s; }
    .chat-msg.typing span:nth-child(3) { animation-delay: .3s; }

    @keyframes chatTypingBounce {
      0%, 60%, 100% { transform: translateY(0); opacity: .4; }
      30% { transform: translateY(-4px); opacity: 1; }
    }

    .chat-pill-row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-self: flex-start;
      max-width: 100%;
    }

    .chat-pill {
      font-family: var(--f-display);
      font-weight: 600;
      font-size: 0.85rem;
      color: var(--ink);
      padding: 9px 16px;
      border-radius: 100px;
      border: 1px solid var(--hair);
      background: var(--card);
      cursor: pointer;
      transition: border-color .2s, background .2s;
    }

    .chat-pill:hover:not(:disabled) {
      border-color: var(--accent-line);
      background: var(--accent-tint);
    }

    .chat-pill:disabled {
      opacity: .5;
      cursor: default;
    }

    .chat-input-area {
      border-top: 1px solid var(--hair);
      padding: 12px;
      background: var(--card);
      flex-shrink: 0;
    }

    .chat-input-row {
      display: flex;
      gap: 8px;
      align-items: flex-end;
    }

    .chat-input-row textarea {
      flex: 1;
      resize: none;
      max-height: 100px;
      font-family: var(--f-body);
      font-size: 0.92rem;
      line-height: 1.4;
      color: var(--ink);
      padding: 10px 12px;
      border: 1px solid var(--hair);
      border-radius: 10px;
      background: var(--paper);
      transition: border-color .2s;
    }

    .chat-input-row textarea:focus {
      outline: none;
      border-color: var(--accent);
    }

    .chat-send-btn {
      width: 40px;
      height: 40px;
      flex-shrink: 0;
      border: none;
      border-radius: 10px;
      background: var(--ink);
      color: #fff;
      font-size: 1.1rem;
      cursor: pointer;
      transition: background .2s, transform .2s;
    }

    .chat-send-btn:hover {
      background: var(--accent);
    }

    .chat-lead-form {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .chat-lead-form label {
      display: flex;
      flex-direction: column;
      gap: 5px;
      font-family: var(--f-mono);
      font-size: 10px;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--ink-3);
    }

    .chat-lead-form input {
      font-family: var(--f-body);
      font-size: 0.92rem;
      color: var(--ink);
      padding: 10px 12px;
      border: 1px solid var(--hair);
      border-radius: 10px;
      background: var(--paper);
      transition: border-color .2s;
    }

    .chat-lead-form input:focus {
      outline: none;
      border-color: var(--accent);
    }

    .chat-lead-form button {
      align-self: flex-start;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: var(--ink);
      color: #fff;
      font-family: var(--f-display);
      font-weight: 600;
      font-size: 0.92rem;
      padding: 12px 22px;
      border-radius: 10px;
      border: none;
      cursor: pointer;
      transition: background .2s, transform .2s;
    }

    .chat-lead-form button:hover {
      background: var(--accent);
    }

    .chat-status {
      font-family: var(--f-mono);
      font-size: 0.8rem;
      min-height: 1.2em;
      margin-top: 6px;
    }

    .chat-status.ok { color: #2f8f3e; }
    .chat-status.err { color: #d23c3c; }

    .chat-ended {
      text-align: center;
      color: var(--ink-3);
      font-size: 0.8rem;
      font-family: var(--f-mono);
      margin: 12px 0 4px;
    }

    @media (max-width: 480px) {
      .chat-panel {
        width: calc(100vw - 24px);
        height: calc(100vh - 100px);
      }
    }

    /* ══════════════ HORIZONTAL TIMELINE ══════════════ */
    .htimeline-track {
      position: relative;
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      padding-top: 14px;
      padding-bottom: 40px;
      overflow-x: auto;
      overflow-y: visible;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
    }

    .htimeline-track::-webkit-scrollbar { display: none; }

    .htimeline-track::before {
      content: '';
      position: absolute;
      top: 24px;
      left: 0;
      right: 0;
      height: 2px;
      background: var(--hair);
      z-index: 0;
    }

    .htimeline-node {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 0 12px;
      position: relative;
      z-index: 1;
      flex-shrink: 0;
    }

    .htimeline-dot {
      width: 20px;
      height: 20px;
      border-radius: 50%;
      background: var(--paper);
      border: 2px solid var(--hair);
      transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
    }

    .htimeline-node.active .htimeline-dot,
    .htimeline-node:hover .htimeline-dot {
      background: var(--accent);
      border-color: var(--accent);
      transform: scale(1.25);
      box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
    }

    .htimeline-year {
      font-family: var(--f-mono);
      font-size: 0.85rem;
      font-weight: 700;
      color: var(--ink-3);
      letter-spacing: -0.02em;
      transition: color .2s, transform .2s;
      white-space: nowrap;
    }

    .htimeline-node.active .htimeline-year,
    .htimeline-node:hover .htimeline-year {
      color: var(--accent);
    }

    .htimeline-node.active .htimeline-year {
      font-size: 1rem;
    }

    .htimeline-panels {
      min-height: 180px;
      position: relative;
    }

    .htimeline-panel {
      display: none;
    }

    .htimeline-panel.active {
      display: block;
      animation: tlFadeUp .22s ease both;
    }

    @keyframes tlFadeUp {
      from { opacity: 0; transform: translateY(10px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    .htimeline-panel h3 {
      font-family: var(--f-display);
      font-weight: var(--disp-weight);
      font-size: 1.15rem;
      color: var(--ink);
      margin-bottom: 18px;
    }

    .htimeline-panel p {
      font-size: 0.93rem;
      color: var(--ink-2);
      line-height: 1.76;
      margin-bottom: 12px;
    }

    .htimeline-panel p:last-child { margin-bottom: 0; }

    @media (max-width: 640px) {
      .htimeline-node { padding: 0 8px; }
      .htimeline-year { font-size: 0.78rem; }
      .htimeline-node.active .htimeline-year { font-size: 0.88rem; }
    }
