/* cyrillic-ext */
@font-face {
  font-family: 'Home Preview Manrope';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(./manrope/subset-0.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Home Preview Manrope';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(./manrope/subset-1.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Home Preview Manrope';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(./manrope/subset-2.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Home Preview Manrope';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(./manrope/subset-3.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Home Preview Manrope';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(./manrope/subset-4.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Home Preview Manrope';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(./manrope/subset-5.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Scoped homepage refinements; header/footer and English main headings retain their fonts. */
html[data-home-experiment][data-proo-home-release] .proo-static-hero[data-lang="el"] .proo-static-hero__copy h1#proo-static-hero-title,
html[data-home-experiment][data-proo-home-release] .proo-static-hero[data-lang="el"] .proo-static-hero__copy h1#proo-static-hero-title > span,
html[data-home-experiment][data-proo-home-release] .tech-wrapper[data-lang="gr"] h2.tech-title,
html[data-home-experiment][data-proo-home-release] .tech-wrapper[data-lang="gr"] h2.tech-title > span {
  font-family: 'Home Preview Manrope', Arial, sans-serif !important;
  font-weight: 500 !important;
  -webkit-text-stroke: 0 !important;
  /* Existing home-layout.js keeps the original serif line heights in pixels. */
}
html[data-home-experiment][data-proo-home-release] .hero-video-story[data-lang] .hero-video-story__title {
  font-family: 'Geologica Home Minor', Arial, sans-serif !important;
}
@media (min-width: 1024px) {
  html[data-home-experiment] {
    --experiment-art-inset: clamp(24px, 2.55vw, 48px);
    --experiment-art-rest-inset: calc(var(--experiment-art-inset) + clamp(6px, .6vw, 10px));
  }
  html[data-home-experiment][data-proo-home-release] .statue-clone .proo-gallery[data-desktop-columns="3"] [data-gallery-service] .proo-gallery__stage {
    background: #777 var(--experiment-outer-image) center / cover no-repeat !important;
    filter: none !important;
    backdrop-filter: none !important;
    isolation: isolate;
    --experiment-current-inset: var(--experiment-art-rest-inset);
  }
  html[data-home-experiment] .proo-gallery__stage .proo-gallery__index {
    color: #fff !important;
    text-shadow: 0 1px 3px #0008;
    z-index: 10;
    top: 0 !important;
    height: var(--experiment-current-inset) !important;
    min-height: 0;
    padding-block: 0 !important;
    display: inline-flex;
    align-items: center;
    transition: height 200ms ease-out !important;
  }
  html[data-home-experiment] [data-gallery-service="websites"] {
    --experiment-outer-image: url('./experiment-assets/outer-01-soft-v2.webp');
    --experiment-outer-color-image: url('./experiment-assets/outer-01-color-soft-v3.webp');
  }
  html[data-home-experiment] [data-gallery-service="eshops"] {
    --experiment-outer-image: url('./experiment-assets/outer-02-soft-v2.webp');
    --experiment-outer-color-image: url('./experiment-assets/outer-02-color-soft-v3.webp');
  }
  html[data-home-experiment] [data-gallery-service="ai"] {
    --experiment-outer-image: url('./experiment-assets/outer-03-soft-v2.webp');
    --experiment-outer-color-image: url('./experiment-assets/outer-03-color-soft-v3.webp');
  }
  html[data-home-experiment] [data-gallery-service="software"] {
    --experiment-outer-image: url('./experiment-assets/outer-04-soft-v2.webp');
    --experiment-outer-color-image: url('./experiment-assets/outer-04-color-soft-v3.webp');
  }
  html[data-home-experiment] [data-gallery-service="formation"] {
    --experiment-outer-image: url('./experiment-assets/outer-05-soft-v2.webp');
    --experiment-outer-color-image: url('./experiment-assets/outer-05-color-soft-v3.webp');
  }
  html[data-home-experiment] [data-gallery-service="unravel-horizontal"] {
    --experiment-outer-image: url('./experiment-assets/outer-06-soft-v2.webp');
    --experiment-outer-color-image: url('./experiment-assets/outer-06-color-soft-v3.webp');
  }
  html[data-home-experiment] [data-gallery-service="computer-vision"] {
    --experiment-outer-image: url('./experiment-assets/outer-09-soft-v2.webp');
    --experiment-outer-color-image: url('./experiment-assets/outer-09-color-soft-v3.webp');
  }
  html[data-home-experiment] [data-gallery-service="computer-vision"] .proo-gallery__stage .proo-gallery__index {
    color: #202022 !important;
    text-shadow: none;
  }
  html[data-home-experiment][data-proo-home-release] .statue-clone .proo-gallery[data-desktop-columns="3"] [data-gallery-service] .proo-gallery__stage::after {
    content: none !important;
    display: none !important;
    background: none !important;
  }
  /* Both layers have the same baked blur; hover restores color only. */
  html[data-home-experiment][data-proo-home-release] .statue-clone .proo-gallery[data-desktop-columns="3"] [data-gallery-service] .proo-gallery__stage::before {
    content: '' !important;
    display: block !important;
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    pointer-events: none;
    background: var(--experiment-outer-color-image) center / cover no-repeat !important;
    filter: none !important;
    transform: none !important;
    opacity: 0;
    transition: opacity 200ms ease-out !important;
  }
  html[data-home-experiment][data-proo-home-release] .statue-clone .proo-gallery[data-desktop-columns="3"] [data-gallery-service] .proo-gallery__stage:is(:hover, :focus-within)::before {
    opacity: 1;
  }
  html[data-home-experiment][data-proo-home-release] .statue-clone .proo-gallery[data-desktop-columns="3"] [data-gallery-service] .proo-gallery__stage:is(:hover, :focus-within) {
    --experiment-current-inset: var(--experiment-art-inset);
  }
  html[data-home-experiment][data-proo-home-release] .statue-clone .proo-gallery[data-desktop-columns="3"] [data-gallery-service] .proo-gallery__stage .proo-gallery__art,
  html[data-home-experiment][data-proo-home-release] .statue-clone .proo-gallery[data-desktop-columns="3"] [data-gallery-service] .proo-gallery__stage:is(:hover, :focus-within) .proo-gallery__art {
    position: absolute !important;
    inset: var(--experiment-current-inset) !important;
    width: calc(100% - 2 * var(--experiment-current-inset)) !important;
    height: calc(100% - 2 * var(--experiment-current-inset)) !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    aspect-ratio: auto !important;
    transform: none !important;
    z-index: 1;
    transition: inset 200ms ease-out, width 200ms ease-out, height 200ms ease-out !important;
  }
  /* Do not expose a photograph if this browser cannot run the glyph renderer. */
  html[data-home-experiment] .glyph-figure[data-spotlight-fallback] {
    visibility: hidden !important;
  }
  html[data-home-experiment][data-proo-home-release] .hero-video-story[data-lang] .hero-video-story__title {
    width: min(calc(100% - 48px), 1120px) !important;
    font-size: clamp(26px, 2.4vw, 38px) !important;
    font-family: 'Geologica Home Minor', Arial, sans-serif !important;
    font-weight: 700 !important;
    -webkit-text-stroke: .5px currentColor !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
  }
  html[data-home-experiment][data-proo-home-release] .hero-video-story[data-lang] .hero-video-story__title > span {
    display: inline !important;
    width: auto !important;
  }
}
@media (max-width: 1023px) {
  /* Match the five-card controller limit before its first render too. */
  html[data-home-experiment][data-proo-home-release] .proo-gallery:not([data-controller-ready="true"]) .proo-gallery__item:nth-child(5) {
    display: block !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  html[data-home-experiment] .proo-gallery__art,
  html[data-home-experiment] .proo-gallery__index,
  html[data-home-experiment] .proo-gallery__stage::before {
    transition: none !important;
  }
}

/* Only the marked spaces change: the circle and caption row keep their sizing. */
html[data-home-experiment][data-proo-home-release] .statue-clone .proo-gallery[data-desktop-columns="3"] .proo-gallery__caption {
  margin-top: 10.8px !important;
  padding-top: 14.4px !important;
}
html[data-home-experiment][data-proo-home-release] .hero-video-story[data-lang] .hero-video-story__title {
  color: #131314 !important;
}
html[data-home-experiment][data-proo-home-release][data-hero-theme="dark"] .hero-video-story[data-lang] .hero-video-story__title {
  color: #f1f1f2 !important;
}
html[data-home-experiment][data-proo-home-release] .statue-clone .proo-gallery__arrow-ring .proo-gallery__arrow-dot {
  fill: currentColor !important;
  stroke: none !important;
  pointer-events: none;
}
/* Halve only the editorial heading-to-video gap, preserving the paragraph gap. */
@media (min-width: 1024px) {
  html[data-home-experiment][data-proo-home-release] .hero-video-story[data-lang] .hero-video-story__title { margin-bottom: -16px !important; }
}
@media (max-width: 1023px) {
  html[data-home-experiment][data-proo-home-release] .hero-video-story[data-lang] .hero-video-story__media { margin-bottom: -8px !important; }
}
/* Mobile's taller shape, with equal top/bottom/right room around each badge. */
html[data-home-experiment][data-proo-home-release] .statue-clone .proo-gallery {
  --home-filter-height: 40px;
  --home-filter-badge-size: 17px;
  --home-filter-end-space: calc((var(--home-filter-height) - var(--home-filter-badge-size)) / 2);
}
html[data-home-experiment][data-proo-home-release] .statue-clone .proo-gallery[data-desktop-columns="3"] .proo-gallery__filters button {
  box-sizing: border-box;
  height: var(--home-filter-height) !important;
  min-height: var(--home-filter-height) !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-right: var(--home-filter-end-space) !important;
}
html[data-home-experiment][data-proo-home-release] .statue-clone .proo-gallery__filters .proo-filter-count {
  box-sizing: border-box;
  width: var(--home-filter-badge-size) !important;
  min-width: var(--home-filter-badge-size) !important;
  height: var(--home-filter-badge-size) !important;
  padding: 0 !important;
}
@media (max-width: 600px) {
  html[data-home-experiment][data-proo-home-release] .statue-clone .proo-gallery[data-desktop-columns="3"] .proo-gallery__grid { row-gap: 32.4px !important; }
}
@media (min-width: 601px) and (max-width: 1023px) {
  html[data-home-experiment][data-proo-home-release] .statue-clone .proo-gallery[data-desktop-columns="3"] .proo-gallery__grid { row-gap: 25.2px !important; }
}
@media (min-width: 1024px) {
  /* Same pill proportions, 90% of the preceding 40px desktop design. */
  html[data-home-experiment][data-proo-home-release] .statue-clone .proo-gallery {
    --home-filter-height: 36px;
    --home-filter-badge-size: 15.3px;
  }
  html[data-home-experiment][data-proo-home-release] .statue-clone .proo-gallery__filters { gap: 5.4px !important; }
  html[data-home-experiment][data-proo-home-release] .statue-clone .proo-gallery[data-desktop-columns="3"] .proo-gallery__filters button {
    font-size: 12.6px !important;
    letter-spacing: -.441px !important;
    padding-left: 13.5px !important;
    column-gap: 6.3px !important;
  }
  html[data-home-experiment][data-proo-home-release] .statue-clone .proo-gallery__filters .proo-filter-count { font-size: 9px !important; }
  html[data-home-experiment][data-proo-home-release] .statue-clone .proo-gallery__filters button[aria-pressed="true"] { box-shadow: inset 0 0 0 1.8px var(--category-bezel) !important; }
  html[data-home-experiment][data-proo-home-release] .hero-video-story[data-lang] .hero-video-story__title { font-size: clamp(18.2px, 1.68vw, 26.6px) !important; }
  /* Align the category toolbar and cards with triple the preceding edge space. */
  html[data-home-experiment][data-proo-home-release] .statue-clone .proo-gallery[data-desktop-columns="3"] .proo-gallery__toolbar,
  html[data-home-experiment][data-proo-home-release] .statue-clone .proo-gallery[data-desktop-columns="3"] .proo-gallery__grid {
    width: calc(100% - 32px) !important;
    margin-inline: 16px !important;
  }
  html[data-home-experiment][data-proo-home-release] .statue-clone .proo-gallery[data-desktop-columns="3"] .proo-gallery__grid { row-gap: 31.5px !important; }
  html[data-home-experiment][data-proo-home-release] .statue-clone .proo-gallery__count { margin-right: 12px !important; }
}
@media (min-width: 1024px) and (max-width: 1200px) {
  html[data-home-experiment][data-proo-home-release] .statue-clone .proo-gallery[data-desktop-columns="3"] .proo-gallery__grid { row-gap: 16.2px !important; }
  html[data-home-experiment][data-proo-home-release] .statue-clone .proo-gallery[data-desktop-columns="3"] .proo-gallery__caption { margin-top: 5.4px !important; padding-top: 7.2px !important; }
}

/* Move 8px from below the phone video heading to above it. */
@media (max-width:600px) {
  html[data-home-experiment][data-proo-home-release] .hero-video-story[data-lang] .hero-video-story__title {
    margin-top: 8px !important;
    margin-bottom: -8px !important;
  }
}
/* Correct only the browser's subpixel font-size rounding after normal fitting. */
@media (max-width:600px) {
  html[data-home-experiment][data-proo-home-release] .proo-static-hero[data-h1-match-subtitle] .proo-static-hero__copy h1#proo-static-hero-title > span {
    transform: scaleX(var(--hero-title-width-correction,1)) !important;
    transform-origin: center;
  }
}
