/* ============================================================
   STYLES — Twovee Agency
   CSS Cascading Layers: base, tokens, layout, components, pages
   ============================================================ */

@import './design-tokens.css';

/* Base Image reset & Utilities */
img, picture {
  display: block;
  max-width: 100%;
  border-radius: 0 !important;
}

.s-more__media-wrap picture,
.s-process__media-wrap picture,
.s-team__portrait-wrap picture,
.s-lab__media-wrap picture {
  display: contents;
}

/* Universal Balanced Typography (Уравнитель строк / защита от висячих слов) */
h1, h2, h3, h4, h5, h6,
.t-display, .t-h1, .t-h2, .t-h3,
.s-hero__title,
.s-more__title,
.s-possibility-card__title,
.s-product-tile__title,
.s-stage-card__title,
.s-hub-card__title,
.s-lab__title,
.s-cta__title {
  text-wrap: balance;
}

p, .t-lead, .t-body,
.s-hero__lead,
.s-more__lead,
.s-more__takeaway,
.s-possibility-card__body,
.s-product-tile__body,
.s-stage-card__body,
.s-hub-card__body,
.s-team__statement,
.s-lab__lead,
.s-cta__desc,
.s-footer__desc {
  text-wrap: pretty;
}

.only-mobile {
  display: none !important;
}

/* ═══ COMPONENTS ═══ */
@layer components {
  /* Buttons & Action Links (Unified 16px, weight 600, Pill shape) */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    white-space: nowrap;
    width: auto;
  }

  .btn svg {
    transition: transform 0.2s var(--ease);
    flex-shrink: 0;
  }

  .btn:hover svg {
    transform: translate(2px, -2px);
  }

  /* Primary action: Deep benchmark purple bg + soft lavender text */
  .btn-primary {
    background-color: #33186B;
    color: #E0D1FF;
    border: 1px solid #33186B;
  }

  .btn-primary:hover {
    background-color: #251052;
    border-color: #251052;
    color: #FFFFFF;
  }

  /* Secondary action: Transparent with purple border and text */
  .btn-secondary {
    background-color: transparent;
    color: #33186B;
    border: 1px solid #33186B;
  }

  .btn-secondary:hover {
    background-color: rgba(51, 24, 107, 0.06);
  }

  /* Dark CTA — WhatsApp: Soft benchmark lavender bg + deep purple text */
  .btn-cta-whatsapp {
    background-color: #E0D1FF;
    color: #33186B;
    border: 1px solid #E0D1FF;
  }

  .btn-cta-whatsapp:hover {
    background-color: #EDE4FF;
    border-color: #EDE4FF;
    color: #220E4D;
  }

  /* Dark CTA — Idea: Transparent with soft lavender border and text */
  .btn-cta-idea {
    background-color: transparent;
    color: #E0D1FF;
    border: 1px solid rgba(224, 209, 255, 0.45);
  }

  .btn-cta-idea:hover {
    border-color: #E0D1FF;
    background-color: rgba(224, 209, 255, 0.08);
  }

  .btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-fg);
    padding-block: 8px;
    border-bottom: 1px solid transparent;
    transition: all 0.2s var(--ease);
  }

  .btn-link:hover {
    border-bottom-color: currentColor;
  }

  .btn-link svg {
    transition: transform 0.2s var(--ease);
  }

  .btn-link:hover svg {
    transform: translate(2px, -2px);
  }

  /* Dividers */
  .divider {
    width: 100%;
    height: 1px;
    background-color: var(--color-border);
    border: none;
    margin-block: var(--ds-space-3);
  }

  .divider-inv {
    background-color: var(--color-border-inv);
  }

  /* Minimal grey media placeholders */
  .media-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--color-border-subtle);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(51, 24, 107, 0.22);
    border-radius: 0;
  }

  .media-placeholder svg {
    flex-shrink: 0;
  }

  .media-placeholder--inv {
    background-color: var(--color-card-dark);
    border-color: var(--color-border-inv);
    color: rgba(224, 209, 255, 0.22);
  }
}

/* ═══ PAGES / SECTIONS ═══ */
@layer pages {
  /* 01. NAVIGATION (16px unified) */
  .s-nav {
    border-bottom: 1px solid var(--color-border);
    background-color: var(--color-bg);
    position: relative;
    padding-block: 28px;
  }

  .s-nav__brand {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: var(--color-fg);
    display: inline-flex;
    align-items: center;
    gap: 20px;
  }

  .s-nav__logo {
    height: 18px;
    width: auto;
    display: block;
    color: var(--color-fg);
    flex-shrink: 0;
  }

  .s-nav__links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 32px;
  }

  .s-nav__link {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-muted);
    position: relative;
    transition: color 0.2s var(--ease);
  }

  .s-nav__link:hover {
    color: var(--color-fg);
  }

  .s-nav__contact {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-fg);
    transition: opacity 0.2s var(--ease);
  }

  .s-nav__contact:hover {
    opacity: 0.8;
  }

  .s-nav__contact svg {
    transition: transform 0.2s var(--ease);
    color: var(--color-fg);
  }

  .s-nav__contact:hover svg {
    transform: translate(2px, -2px);
  }

  /* 02. HERO (AIRY EDITORIAL FIRST SCREEN WITH FULL-BLEED VIDEO) */
  .s-hero {
    width: 100%;
    min-height: calc(100vh - 65px);
    min-height: calc(100dvh - 65px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: clamp(28px, 4vh, 52px);
    padding-bottom: 0;
    padding-inline: 0;
    box-sizing: border-box;
    position: relative;
    background-color: var(--color-bg);
  }

  .s-hero__content {
    width: 100%;
    padding-inline: var(--ds-edge);
    flex: 0 0 auto;
  }

  .s-hero__title-row {
    margin-bottom: 0;
  }

  .s-hero__title {
    max-width: var(--col-3);
    font-size: clamp(38px, 4.2vw, 64px);
    font-weight: 600;
    line-height: 0.96;
    letter-spacing: -2px;
    color: var(--color-fg);
  }

  .s-hero__meta-row {
    margin-top: clamp(48px, 6vh, 72px);
    align-items: flex-start;
  }

  .s-hero__actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    flex-wrap: nowrap;
    width: max-content;
    max-width: 100%;
  }

  .s-hero__btn-primary {
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    flex-shrink: 0;
  }

  .s-hero__btn-secondary {
    padding: 13px 22px;
    font-size: 15.5px;
    font-weight: 600;
    flex-shrink: 0;
  }

  .s-hero__lead {
    color: var(--color-muted);
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
    max-width: 560px;
  }

  .s-hero__lead p + p {
    margin-top: 16px;
  }

  /* Full-bleed video: edge-to-edge, 0 margin left/right, occupies slightly more than half screen */
  .s-hero__media-wrap {
    width: 100%;
    height: clamp(480px, 56vh, 660px);
    margin-top: clamp(36px, 4.5vh, 56px);
    overflow: hidden;
    background-color: #0A0414;
    border-radius: 0;
    position: relative;
    padding: 0;
    margin-inline: 0;
  }

  .s-hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% center;
    display: block;
    border-radius: 0;
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
  }

  .s-hero__video::-webkit-media-controls,
  .s-hero__video::-webkit-media-controls-panel,
  .s-hero__video::-webkit-media-controls-play-button,
  .s-hero__video::-webkit-media-controls-start-playback-button,
  .s-hero__video::-webkit-media-controls-overlay-play-button {
    display: none !important;
    -webkit-appearance: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  /* 03. MORE THAN A CHATBOT (NO TOP/BOTTOM BORDERS) */
  .s-more {
    border-top: none;
    border-bottom: none;
  }

  .s-more__row {
    align-items: stretch;
  }

  .s-more__media-col {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
  }

  .s-more__media-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    flex: 1 1 auto;
    min-height: 0;
    background-color: var(--color-border-subtle);
    border-radius: 0 !important;
    overflow: hidden;
  }

  .s-more__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 0 !important;
  }

  .s-more__title {
    max-width: 100%;
    margin-top: 0;
    margin-bottom: var(--ds-heading-gap);
    color: var(--color-fg);
    text-wrap: balance;
  }

  .s-more__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    height: 100%;
  }

  .s-more__lead {
    color: var(--color-fg);
    font-size: 16px;
    line-height: 1.55;
    font-weight: 400;
    margin: 0;
  }

  .s-more__takeaway {
    border-top: 1px solid var(--color-border);
    padding-top: 24px;
    color: var(--color-fg);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.55;
    margin-bottom: 0;
  }

  /* 04. POSSIBILITIES (A CHAT CAN BECOME ALMOST ANYTHING — NO TOP BORDER) */
  .s-possibilities {
    border-top: none;
  }

  .s-possibilities__header {
    margin-bottom: var(--ds-heading-gap);
    color: var(--color-fg);
    align-items: end;
  }

  .s-possibilities__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: var(--ds-gap);
    row-gap: var(--ds-space-3);
    margin-top: var(--ds-space-3);
  }

  .s-possibility-card {
    border-top: 1px solid var(--color-border);
    padding-top: 28px;
    padding-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-radius: 0;
    background: transparent;
    transition: border-color 0.2s var(--ease);
  }

  .s-possibility-card:hover {
    border-top-color: var(--color-fg);
  }

  .s-possibility-card__head {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .s-possibility-card__tag {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-subtle);
  }

  .s-possibility-card__title {
    color: var(--color-fg);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.5px;
  }

  .s-possibility-card__body {
    color: var(--color-muted);
    font-size: 16px;
    line-height: 1.55;
    font-weight: 400;
  }

  /* 05. SEE WHAT WE CAN BUILD (.inv) */
  .s-products {
    background-color: var(--color-bg-inv);
  }

  .s-products__header {
    margin-bottom: var(--ds-heading-gap);
    align-items: end;
  }

  .s-products__header h2 {
    color: var(--color-fg-inv);
  }

  .s-products__header p {
    color: var(--color-muted-inv);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
  }

  .s-products__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    width: 100%;
  }

  .s-product-tile {
    min-height: 304px;
    height: 304px;
    padding: 32px;
    border: 1px solid var(--color-border-inv);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    border-radius: 0;
    transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
  }

  .s-product-tile:hover {
    border-color: rgba(224, 209, 255, 0.4);
    transform: translateY(-2px);
  }

  /* Dark tile */
  .s-product-tile--dark {
    background-color: var(--color-card-dark);
    color: var(--color-fg-inv);
  }

  .s-product-tile--dark .s-product-tile__title {
    color: var(--color-fg-inv);
  }

  .s-product-tile--dark .s-product-tile__body {
    color: var(--color-muted-inv);
  }

  .s-product-tile--dark svg {
    color: var(--color-fg-inv);
  }

  /* Light tile */
  .s-product-tile--light {
    background-color: var(--color-card-light);
    color: #33186B;
    border-color: var(--color-border-inv);
  }

  .s-product-tile--light .s-product-tile__title {
    color: #33186B;
  }

  .s-product-tile--light .s-product-tile__body {
    color: rgba(51, 24, 107, 0.72);
  }

  .s-product-tile--light svg {
    color: #33186B;
  }

  .s-product-tile__copy {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  /* Unified H2 tier for product tile titles */
  .s-product-tile__title {
    font-size: clamp(26px, 2.4vw, 36px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -1.5px;
  }

  .s-product-tile__body {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
  }

  .s-product-tile__footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .s-product-tile__icon {
    display: inline-block;
    opacity: 0.85;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
    flex-shrink: 0;
  }

  .s-product-tile:hover .s-product-tile__icon {
    opacity: 1;
    transform: scale(1.08);
  }

  .s-products__cta-row {
    margin-top: 56px;
    display: flex;
    justify-content: center;
  }

  .s-products__cta-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .s-products__cta-btn {
    background-color: transparent;
    color: #E0D1FF;
    border: 1px solid rgba(224, 209, 255, 0.45);
    border-radius: 100px !important;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    white-space: nowrap;
    width: auto;
  }

  .s-products__cta-btn svg {
    color: #E0D1FF;
    transition: transform 0.2s var(--ease);
    flex-shrink: 0;
  }

  .s-products__cta-btn:hover {
    background-color: #E0D1FF;
    color: #33186B;
    border-color: #E0D1FF;
  }

  .s-products__cta-btn:hover svg {
    color: #33186B;
    transform: translate(2px, -2px);
  }

  /* 06. NO NEW APP TO DOWNLOAD */
  .s-no-app {
    background-color: var(--color-card-light);
    border-top: 1px solid var(--color-border);
  }

  .s-no-app__title {
    color: var(--color-fg);
  }

  .s-no-app__statement {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .s-no-app__headline {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.55;
    color: var(--color-fg);
  }

  .s-no-app__body {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
    color: var(--color-muted);
  }

  /* 07. FROM AN IDEA TO A WORKING PRODUCT (PROCESS) */
  .s-process {
    border-top: 1px solid var(--color-border);
  }

  .s-process__header h2 {
    color: var(--color-fg);
  }

  .s-process .col-2 {
    min-height: 0;
  }

  .s-process__media-wrap {
    width: 100%;
    height: 100%;
    max-height: 520px;
    background-color: var(--color-border-subtle);
    border-radius: 0 !important;
    overflow: hidden;
  }

  .s-process__media {
    width: 100%;
    height: 100%;
    max-height: 520px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 0 !important;
  }

  .s-process__board {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .s-process__pair {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .s-stage-card {
    border-top: 1px solid #CBCBC5;
    padding-top: 24px;
    padding-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color 0.2s var(--ease);
  }

  .s-stage-card:hover {
    border-top-color: var(--color-fg);
  }

  .s-stage-card__icon svg {
    color: var(--color-fg);
  }

  /* Unified H3 tier */
  .s-stage-card__title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.5px;
    color: var(--color-fg);
  }

  .s-stage-card__body {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
    color: var(--color-muted);
  }

  .s-stage-card--full {
    width: 100%;
  }

  /* 08. BUILT BETWEEN AFRICA AND EASTERN EUROPE (REDESIGNED 2+2) */
  .s-team {
    border-top: 1px solid var(--color-border);
  }

  .s-team__title {
    color: var(--color-fg);
  }

  .s-team__lead {
    color: var(--color-fg);
    font-size: 16px;
    line-height: 1.55;
    font-weight: 400;
  }

  .s-hub-card {
    border-top: 1px solid var(--color-border);
    padding-top: 24px;
    padding-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-radius: 0;
    transition: border-color 0.2s var(--ease);
  }

  .s-hub-card:hover {
    border-top-color: var(--color-fg);
  }

  .s-hub-card__title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--color-fg);
    letter-spacing: -0.5px;
  }

  .s-hub-card__body {
    font-size: 16px;
    line-height: 1.55;
    color: var(--color-muted);
    font-weight: 400;
  }

  .s-team__portrait-wrap {
    width: 100%;
    height: 380px;
    max-height: 380px;
    background-color: var(--color-border-subtle);
    border-radius: 0 !important;
    overflow: hidden;
  }

  .s-team__portrait {
    width: 100%;
    height: 380px;
    max-height: 380px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 0 !important;
  }

  /* 09. BOT LAB */
  .s-lab {
    border-top: 1px solid var(--color-border);
  }

  .s-lab__title {
    color: var(--color-fg);
  }

  .s-lab__intro {
    display: flex;
    flex-direction: column;
    gap: var(--ds-heading-gap);
  }

  .s-lab__lead {
    color: var(--color-fg);
    font-size: 16px;
    line-height: 1.55;
    font-weight: 400;
  }

  .s-lab__link {
    width: 100%;
    border-bottom: 1px solid rgba(51, 24, 107, 0.35);
    padding: 19px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-fg);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: border-color 0.2s var(--ease);
  }

  .s-lab__link:hover {
    border-bottom-color: var(--color-fg);
  }

  .s-lab__link svg {
    transition: transform 0.2s var(--ease);
    color: var(--color-fg);
  }

  .s-lab__link:hover svg {
    transform: translate(2px, -2px);
  }

  .s-lab__media-wrap {
    width: 100%;
    height: 400px;
    max-height: 400px;
    background-color: var(--color-border-subtle);
    border-radius: 0 !important;
    overflow: hidden;
  }

  .s-lab__media {
    width: 100%;
    height: 400px;
    max-height: 400px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 0 !important;
  }

  /* 10. WHAT COULD YOUR BUSINESS BECOME (CTA) */
  .s-cta {
    background-color: var(--color-bg-inv);
  }

  .s-cta__title {
    margin-bottom: var(--ds-heading-gap);
    color: var(--color-fg-inv);
  }

  .s-cta__list {
    color: var(--color-muted-inv);
    font-size: 16px;
    line-height: 1.55;
    font-weight: 400;
  }

  .s-cta__content {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .s-cta__lead {
    color: var(--color-fg-inv);
    font-size: 16px;
    line-height: 1.55;
    font-weight: 400;
  }

  .s-cta__actions {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
  }

  /* 11. FOOTER */
  .s-footer {
    background-color: var(--color-bg-inv);
    border-top: 1px solid var(--color-border-inv);
    padding-top: 64px;
    padding-bottom: 96px;
  }

  .s-footer__info-col {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .s-footer__desc {
    color: var(--color-fg-inv);
    font-size: 16px;
    line-height: 1.55;
    font-weight: 400;
  }

  .s-footer__legal {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border-inv);
  }

  .s-footer__legal-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  .s-footer__legal-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-subtle-inv);
  }

  .s-footer__legal-val {
    color: var(--color-fg-inv);
    font-size: 13.5px;
    line-height: 1.45;
    font-weight: 400;
  }

  .s-footer__links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }

  .s-footer__nav-group {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .s-footer__nav-title {
    color: var(--color-subtle-inv);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.5px;
    line-height: 1.55;
  }

  .s-footer__nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .s-footer__nav-link {
    color: var(--color-fg-inv);
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    transition: opacity 0.2s var(--ease);
  }

  .s-footer__nav-link:hover {
    opacity: 0.75;
  }

  .s-footer__credits-row {
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin-top: 96px;
  }

  .s-footer__credits {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-subtle-inv);
    font-size: 16px;
    font-weight: 400;
  }

  /* Unified Display / H1 tier for signature */
  .s-footer__signature {
    font-family: var(--font-heading);
    font-size: clamp(38px, 4.2vw, 64px);
    letter-spacing: -2px;
    font-weight: 600;
    color: var(--color-fg-inv);
    line-height: 0.95;
    display: inline-flex;
    align-items: center;
    gap: clamp(24px, 3vw, 44px);
  }

  .s-footer__logo {
    height: clamp(32px, 3.8vw, 54px);
    width: auto;
    display: block;
    color: var(--color-fg-inv);
    flex-shrink: 0;
  }

  /* Responsive Adjustments */
  @media (max-width: 1024px) {
    .s-nav__links {
      gap: 20px;
    }

    .s-process__media {
      min-height: 420px;
    }

    .s-lab__media {
      height: 400px;
    }

    .s-product-tile {
      height: auto;
      min-height: 280px;
    }
  }

  /* ═══ MOBILE APP EXPERIENCE (MAX-WIDTH: 768px) ═══ */
  @media (max-width: 768px) {
    /* Section Spacing — True editorial air between blocks */
    .section {
      padding-block: clamp(100px, 24vw, 140px);
      padding-inline: clamp(20px, 5.5vw, 28px);
    }

    .section--hero {
      padding-top: clamp(32px, 6vw, 48px);
      padding-bottom: clamp(100px, 24vw, 140px);
    }

    .row {
      row-gap: clamp(36px, 9vw, 56px);
    }

    /* 01. STICKY APP NAV */
    .s-nav {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(250, 250, 248, 0.94);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      height: 64px;
      padding-block: 0;
      padding-inline: clamp(20px, 5.5vw, 28px);
      border-bottom: 1px solid rgba(51, 24, 107, 0.12);
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .s-nav__brand {
      gap: 14px;
    }

    .s-nav__logo {
      height: 16px;
    }

    .s-nav__links {
      display: none;
    }

    .s-nav__contact {
      font-size: 14px;
      font-weight: 600;
      padding: 9px 18px;
      background: #33186B;
      color: #FAFAF8 !important;
      border-radius: 100px;
      box-shadow: 0 2px 8px rgba(51, 24, 107, 0.2);
    }

    .s-nav__contact svg {
      color: #FAFAF8;
    }

    /* 02. HERO (MOBILE: EXACT 100% FIRST SCREEN, AIRY TEXT, PINNED FULL-BLEED VIDEO) */
    .s-hero {
      height: calc(100vh - 64px) !important;
      height: calc(100svh - 64px) !important;
      min-height: calc(100svh - 64px) !important;
      max-height: calc(100svh - 64px) !important;
      display: flex !important;
      flex-direction: column !important;
      justify-content: space-between !important;
      padding-top: clamp(16px, 2.5vh, 24px) !important;
      padding-bottom: 0 !important;
      padding-inline: 0 !important; /* 0 side padding: video touches left & right edges */
      box-sizing: border-box !important;
      overflow: hidden !important;
      gap: 0 !important;
      background-color: var(--color-bg) !important;
    }

    .s-hero__content {
      padding-inline: clamp(20px, 5.5vw, 28px) !important;
      width: 100% !important;
      flex: 0 0 auto !important;
      display: flex !important;
      flex-direction: column !important;
      gap: 12px !important;
    }

    .s-hero__title-row {
      display: block !important;
      margin-bottom: 0 !important;
    }

    .s-hero__title {
      font-size: clamp(24px, 6.5vw, 28px) !important;
      line-height: 1.15 !important;
      letter-spacing: -0.6px !important;
      margin-bottom: 0 !important;
      width: 100% !important;
      text-wrap: balance !important;
    }

    .s-hero__meta-row {
      margin-top: 0 !important;
      display: block !important;
    }

    .s-hero__actions-col,
    .s-hero__actions {
      display: none !important;
    }

    .s-hero__lead-col {
      width: 100% !important;
      max-width: 100% !important;
    }

    .s-hero__lead {
      font-size: 15px !important;
      line-height: 1.55 !important;
      color: var(--color-muted) !important;
      margin-top: 0 !important;
      display: block !important;
      -webkit-line-clamp: unset !important;
      text-wrap: pretty !important;
    }

    .s-hero__lead p + p {
      margin-top: 8px !important;
    }

    /* Video on mobile: fills remaining height down to bottom edge seamlessly */
    .s-hero__media-wrap {
      width: 100% !important;
      flex: 1 1 0 !important;
      min-height: 0 !important;
      height: auto !important;
      margin-top: clamp(16px, 2.5vh, 24px) !important;
      margin-bottom: 0 !important;
      margin-inline: 0 !important;
      border-radius: 0 !important;
      position: relative !important;
      overflow: hidden !important;
    }

    .s-hero__video {
      width: 100% !important;
      height: 100% !important;
      object-fit: cover !important;
      object-position: center !important;
      display: block !important;
      border-radius: 0 !important;
      pointer-events: none !important;
    }

    .only-mobile {
      display: block !important;
    }

    .only-desktop {
      display: none !important;
    }

    /* 03. MORE THAN A CHATBOT (MOBILE) */
    .s-more {
      padding-block: clamp(96px, 20vw, 136px) !important;
    }

    .s-more__row {
      display: flex !important;
      flex-direction: column !important;
      gap: 48px !important;
    }

    .s-more__media-col {
      height: auto !important;
      width: 100% !important;
    }

    .s-more__media-wrap {
      position: relative !important;
      width: 100% !important;
      height: 280px !important;
      max-height: 280px !important;
      margin-bottom: 0 !important;
      border-radius: 0 !important;
    }

    .s-more__media {
      position: relative !important;
      inset: auto !important;
      width: 100% !important;
      height: 280px !important;
      max-height: 280px !important;
      object-fit: cover !important;
      object-position: center !important;
      border-radius: 0 !important;
    }

    .s-more__title {
      max-width: 100% !important;
      margin-bottom: 40px !important;
      font-size: clamp(24px, 6.5vw, 28px) !important;
      text-wrap: balance !important;
    }

    .s-more__content {
      gap: 32px !important;
    }

    .s-more__lead {
      font-size: 15px !important;
      line-height: 1.55 !important;
      text-wrap: pretty !important;
    }

    .s-more__takeaway {
      padding-top: 24px !important;
      margin-top: 12px !important;
      font-size: 15px !important;
      line-height: 1.55 !important;
      text-wrap: pretty !important;
    }

    /* 04. POSSIBILITIES (6 CARDS, 2 PER ROW, UNIFIED 17px/15px TYPOGRAPHY) */
    .s-possibilities {
      padding-block: clamp(96px, 20vw, 136px) !important;
    }

    .s-possibilities__header {
      display: flex !important;
      flex-direction: column !important;
      align-items: flex-start !important;
      text-align: left !important;
      gap: 16px !important;
      margin-bottom: 44px !important;
    }

    .s-possibilities__header h2 {
      text-align: left !important;
      margin-left: 0 !important;
      width: 100% !important;
      font-size: clamp(24px, 6.5vw, 28px) !important;
      margin-bottom: 8px !important;
      text-wrap: balance !important;
    }

    .s-possibilities__header p {
      text-align: left !important;
      margin-left: 0 !important;
      width: 100% !important;
      font-size: 15px !important;
      line-height: 1.55 !important;
      text-wrap: pretty !important;
    }

    .s-possibilities__grid {
      display: grid !important;
      grid-template-columns: repeat(2, 1fr) !important;
      column-gap: 24px !important;
      row-gap: 44px !important;
      margin-top: 32px !important;
    }

    .s-possibility-card {
      border-top: 1px solid var(--color-border) !important;
      border-left: none !important;
      border-right: none !important;
      border-bottom: none !important;
      border-radius: 0 !important;
      background: transparent !important;
      padding-top: 24px !important;
      padding-inline: 0 !important;
      padding-bottom: 0 !important;
      box-shadow: none !important;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .s-possibility-card__head {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .s-possibility-card__tag {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.8px;
      text-transform: uppercase;
      color: var(--color-subtle);
    }

    .s-possibility-card__title {
      font-size: 17px !important;
      line-height: 1.25 !important;
      font-weight: 600 !important;
      color: var(--color-fg);
      text-wrap: balance;
    }

    .s-possibility-card__body {
      font-size: 15px !important;
      line-height: 1.55 !important;
      color: var(--color-muted);
      text-wrap: pretty;
    }

    /* 05. PRODUCT TILES (UNIFIED 17px/15px TYPOGRAPHY) */
    .s-products {
      padding-block: clamp(96px, 20vw, 136px) !important;
    }

    .s-products__header {
      display: flex !important;
      flex-direction: column !important;
      align-items: flex-start !important;
      text-align: left !important;
      gap: 16px !important;
      margin-bottom: 44px !important;
    }

    .s-products__header h2 {
      text-align: left !important;
      margin-left: 0 !important;
      width: 100% !important;
      font-size: clamp(24px, 6.5vw, 28px) !important;
      margin-bottom: 8px !important;
      text-wrap: balance !important;
    }

    .s-products__header p {
      text-align: left !important;
      margin-left: 0 !important;
      width: 100% !important;
      font-size: 15px !important;
      line-height: 1.55 !important;
      text-wrap: pretty !important;
    }

    .s-products__grid {
      display: flex !important;
      flex-direction: column !important;
      gap: 24px !important;
      width: 100% !important;
    }

    .s-product-tile {
      min-height: auto;
      height: auto;
      padding: 32px 24px !important;
      border-radius: 0 !important;
      gap: 20px !important;
      width: 100% !important;
    }

    .s-product-tile__title {
      font-size: 17px !important;
      line-height: 1.25 !important;
      font-weight: 600 !important;
      margin-bottom: 8px;
      text-wrap: balance;
    }

    .s-product-tile__body {
      font-size: 15px !important;
      line-height: 1.55 !important;
      text-wrap: pretty;
    }

    .s-products .s-products__cta-row {
      display: flex !important;
      flex-direction: row !important;
      justify-content: center !important;
      align-items: center !important;
      margin-top: 48px !important;
    }

    .s-products__cta-wrap {
      display: flex !important;
      justify-content: center !important;
      align-items: center !important;
      width: 100% !important;
    }

    .s-products__cta-btn {
      width: auto !important;
      padding: 15px 32px !important;
      font-size: 15px !important;
      border-radius: 100px !important;
      justify-content: center !important;
    }

    /* 06. PROCESS (UNIFIED 17px/15px TYPOGRAPHY) */
    .s-process {
      padding-block: clamp(96px, 20vw, 136px) !important;
    }

    .s-process h2 {
      font-size: clamp(24px, 6.5vw, 28px) !important;
      margin-bottom: 44px !important;
      text-wrap: balance !important;
    }

    .s-process__pair {
      display: grid !important;
      grid-template-columns: 1fr 1fr !important;
      gap: 24px !important;
      margin-bottom: 32px !important;
    }

    .s-stage-card {
      border-top: 1px solid var(--color-border) !important;
      border-left: none !important;
      border-right: none !important;
      border-bottom: none !important;
      background: transparent !important;
      border-radius: 0 !important;
      padding-top: 24px !important;
      padding-inline: 0 !important;
      padding-bottom: 0 !important;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .s-stage-card__icon svg {
      width: 20px;
      height: 20px;
    }

    .s-stage-card__title {
      font-size: 17px !important;
      line-height: 1.25 !important;
      font-weight: 600 !important;
      text-wrap: balance;
    }

    .s-stage-card__body {
      font-size: 15px !important;
      line-height: 1.55 !important;
      color: var(--color-muted);
      text-wrap: pretty;
    }

    .s-stage-card--full {
      border-top: 1px solid var(--color-border) !important;
      border-left: none !important;
      border-right: none !important;
      border-bottom: none !important;
      border-radius: 0 !important;
      padding-top: 24px !important;
      padding-inline: 0 !important;
      padding-bottom: 0 !important;
    }

    .s-process__media-wrap {
      min-height: auto;
      height: 300px;
      margin-bottom: 32px;
      border-radius: 0 !important;
    }

    .s-process__media {
      min-height: auto;
      height: 300px;
      object-fit: cover;
      object-position: center;
      border-radius: 0 !important;
      margin-bottom: 0;
    }

    /* 07. BUILT BETWEEN AFRICA & EASTERN EUROPE (UNIFIED 17px/15px TYPOGRAPHY) */
    .s-team {
      padding-block: clamp(96px, 20vw, 136px) !important;
    }

    .s-team__title {
      font-size: clamp(24px, 6.5vw, 28px) !important;
      margin-bottom: 36px !important;
      text-wrap: balance !important;
    }

    .s-team__statement {
      border-top: 1px solid var(--color-border);
      border-left: none !important;
      padding-left: 0 !important;
      padding-top: 32px !important;
      line-height: 1.55;
      font-size: 15px !important;
      text-wrap: pretty;
    }

    .s-team__hubs {
      display: grid !important;
      grid-template-columns: 1fr 1fr !important;
      gap: 24px !important;
      margin-top: 32px !important;
    }

    .s-hub-card {
      border-top: 1px solid var(--color-border) !important;
      border-left: none !important;
      border-right: none !important;
      border-bottom: none !important;
      border-radius: 0 !important;
      padding-top: 24px !important;
      padding-inline: 0 !important;
      padding-bottom: 0 !important;
      background: transparent !important;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .s-hub-card__title {
      font-size: 17px !important;
      line-height: 1.25 !important;
      font-weight: 600 !important;
      text-wrap: balance;
    }

    .s-hub-card__body {
      font-size: 15px !important;
      line-height: 1.55 !important;
      color: var(--color-muted);
      text-wrap: pretty;
    }

    .s-team__portrait-wrap {
      height: 280px;
      margin-top: 36px;
      border-radius: 0 !important;
    }

    .s-team__portrait {
      height: 280px;
      min-height: 280px;
      object-fit: cover;
      object-position: center;
      border-radius: 0 !important;
    }

    /* 08. BOT LAB (UNIFIED 15px TYPOGRAPHY) */
    .s-lab {
      padding-block: clamp(96px, 20vw, 136px) !important;
    }

    .s-lab__title {
      font-size: clamp(24px, 6.5vw, 28px) !important;
      margin-bottom: 36px !important;
      text-wrap: balance !important;
    }

    .s-lab__intro {
      gap: 28px;
    }

    .s-lab__lead {
      font-size: 15px !important;
      line-height: 1.55 !important;
      text-wrap: pretty;
    }

    .s-lab__link {
      padding: 16px 0;
      font-size: 15px !important;
    }

    .s-lab__media-wrap {
      height: 280px;
      margin-top: 36px;
      border-radius: 0 !important;
    }

    .s-lab__media {
      height: 280px;
      min-height: 280px;
      object-fit: cover;
      object-position: center;
      border-radius: 0 !important;
    }

    /* 09. CTA (UNIFIED 15px TYPOGRAPHY) */
    .s-cta {
      padding-block: clamp(112px, 24vw, 150px) !important;
    }

    .s-cta__title {
      font-size: clamp(26px, 7vw, 32px) !important;
      line-height: 1.15 !important;
      margin-bottom: 32px !important;
      text-wrap: balance !important;
    }

    .s-cta__desc {
      font-size: 15px !important;
      line-height: 1.55 !important;
      margin-bottom: 32px;
      text-wrap: pretty;
    }

    .s-cta__actions {
      display: flex !important;
      flex-direction: column !important;
      gap: 10px !important;
      width: 100% !important;
    }

    .s-cta__actions .btn {
      width: 100% !important;
      padding: 14px 20px !important;
      font-size: 15px !important;
      font-weight: 600;
      justify-content: center;
      gap: 8px;
      border-radius: 100px !important;
      box-sizing: border-box !important;
    }

    /* 10. FOOTER (UNIFIED 15px / 14px TYPOGRAPHY & AIRY BOTTOM FOR BLUR CLEARANCE) */
    .s-footer {
      padding-top: clamp(80px, 18vw, 120px) !important;
      padding-bottom: calc(260px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .s-footer__info-col {
      display: flex;
      flex-direction: column;
      gap: 20px;
      margin-bottom: 40px;
    }

    .s-footer__desc {
      font-size: 15px !important;
      line-height: 1.55 !important;
      margin-bottom: 0;
      text-wrap: pretty;
    }

    .s-footer__legal {
      display: flex;
      flex-direction: column;
      gap: 10px;
      padding-top: 18px;
      border-top: 1px solid var(--color-border-inv);
    }

    .s-footer__legal-val {
      font-size: 13px !important;
    }

    .s-footer__links-grid {
      display: grid !important;
      grid-template-columns: repeat(3, 1fr) !important;
      gap: 24px !important;
    }

    .s-footer__nav-title {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.8px;
      margin-bottom: 14px;
    }

    .s-footer__nav-list {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .s-footer__nav-link {
      font-size: 14px !important;
      line-height: 1.45 !important;
    }

    .s-footer__credits-row {
      margin-top: 56px;
      gap: 28px;
    }

    .s-footer__credits {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
      font-size: 13px;
    }

    .s-footer__signature {
      display: inline-flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 14px;
      font-size: clamp(24px, 6.5vw, 30px);
    }

    .s-footer__logo {
      height: clamp(20px, 5.5vw, 28px);
    }
  }
}

/* ═════════════════════════════════════════════════════════════
   04-STAGE PROGRESSIVE BACKDROP BLUR OVERLAY (VECHTDAL VIADUCT)
   ═════════════════════════════════════════════════════════════ */
.blur__container {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  pointer-events: none;
  z-index: 90;
  contain: strict;
  transform: translateZ(0);
}

.blur__container--bottom {
  bottom: 0;
  height: 190px;
}

.blur__container > .blur-filter {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  pointer-events: none;
  contain: strict;
}

.blur__container > .blur-filter:nth-child(1) {
  z-index: 40;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  mask: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 1) 45%, rgba(0, 0, 0, 0) 65%);
  -webkit-mask: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 1) 45%, rgba(0, 0, 0, 0) 65%);
}

.blur__container > .blur-filter:nth-child(2) {
  z-index: 30;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  mask: linear-gradient(rgba(0, 0, 0, 0) 15%, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 85%);
  -webkit-mask: linear-gradient(rgba(0, 0, 0, 0) 15%, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 85%);
}

.blur__container > .blur-filter:nth-child(3) {
  z-index: 20;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  mask: linear-gradient(rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 1) 88%, rgba(0, 0, 0, 0) 96%);
  -webkit-mask: linear-gradient(rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 1) 88%, rgba(0, 0, 0, 0) 96%);
}

.blur__container > .blur-filter:nth-child(4) {
  z-index: 10;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  mask: linear-gradient(rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 1) 100%);
  -webkit-mask: linear-gradient(rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 1) 100%);
}

@media (max-width: 768px) {
  .blur__container--bottom {
    height: calc(230px + env(safe-area-inset-bottom, 0px));
  }

  .blur-reveal-heading .word-reveal {
    filter: none !important;
    transform: translateY(8px) !important;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
    will-change: opacity, transform !important;
  }

  .reveal-item {
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }
}

/* ═════════════════════════════════════════════════════════════
   EDITORIAL WORD-BY-WORD BLUR REVEAL & TASTEFUL ANIMATIONS
   ═════════════════════════════════════════════════════════════ */
.blur-reveal-heading {
  will-change: transform;
}

.blur-reveal-heading .word-reveal {
  display: inline-block;
  opacity: 0;
  filter: blur(18px);
  transform: translateY(14px) scale(0.96);
  transition: opacity 1.15s cubic-bezier(0.16, 1, 0.3, 1),
              filter 1.15s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.15s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--w-idx, 0) * 110ms);
  will-change: opacity, filter, transform;
}

.blur-reveal-heading.is-revealed .word-reveal {
  opacity: 1;
  filter: blur(0px);
  transform: translateY(0) scale(1);
}

.reveal-item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1.0s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.0s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-item.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .blur-reveal-heading .word-reveal,
  .reveal-item {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }
}
