:root {
    --font-sans: 'Space Grotesk', system-ui, sans-serif;
    --font-mono: 'Space Mono', monospace;

    --color-black:   #202020;
    --color-ink:     #252351;
    --color-muted:   #676767;
    --color-white:   #fbfbfb;
    --color-accent:  #fa5f70;

    --gray-50:  #f6f5f5;
    --gray-100: #ebebeb;
    --gray-200: #d9d9d9;
    --gray-300: #c0c0c0;
    --gray-400: #9c9c9c;
    --gray-500: #848789;
    --gray-600: #686d70;
    --gray-700: #53575a;
    --gray-800: #3a3a3a;
    --gray-900: #252351;

    --bg-white:          #fbfbfb;
    --bg-light-gray:     #f6f5f5;
    --bg-semi-light-gray:#ebebeb;
    --bg-medium-gray:    #9c9c9c;
    --bg-semi-dark-gray: #848789;
    --bg-dark-gray:      #676767;
    --bg-semi-black:     #53575a;
    --bg-black:          #252351;

    --color-navy:        #252351;
    --color-sky:         #4d6fff;
    --color-cyan:        #5ec3ef;
    --color-coral:       #eb707a;
    --color-peach:       #ed7d6f;
    --color-cta:         #fa5f70;

    --gradient-cta: linear-gradient(to right, #eb707a, #ed7d6f);

    --transition: .35s ease;
    --cols: 13;
    --pad: clamp(.5rem, 2vw, 1.5rem);
    --dot: 2px;
    --max-width: 120rem;
    --step-max: calc((var(--max-width) - var(--dot) - 2 * var(--pad)) / (var(--cols) - 1));
}

@media (max-width: 768px) { :root { --cols: 7; } }

/* ─── RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; text-size-adjust: 100%; }

body {
    background: var(--color-white);
    color: var(--color-black);
    font-family: var(--font-sans);
    min-height: 100vh;
    margin: 0;
    line-height: 1;
    position: relative;
    -webkit-hyphens: manual;
    hyphens: manual;
}

/* dot-grid overlay */
body::before {
    --step: min(
        calc((100vw - var(--dot) - 2 * var(--pad)) / (var(--cols) - 1)),
        var(--step-max)
    );
    content: "";
    pointer-events: none;
    position: absolute;
    inset: 0;
    top: calc(var(--pad) + clamp(1.5rem, 3vw, 3rem));
    background: var(--bg-black);
    mask-image:
        repeating-linear-gradient(to right, var(--bg-black) 0 var(--dot), transparent var(--dot) var(--step)),
        repeating-linear-gradient(to bottom, var(--bg-black) 0 var(--dot), transparent var(--dot) var(--step));
    mask-size: var(--step) var(--step);
    mask-repeat: repeat;
    mask-position: calc(50% - var(--dot)/2 - var(--step)/2) 0;
    mask-composite: intersect;
    -webkit-mask-image:
        repeating-linear-gradient(to right, var(--bg-black) 0 var(--dot), transparent var(--dot) var(--step)),
        repeating-linear-gradient(to bottom, var(--bg-black) 0 var(--dot), transparent var(--dot) var(--step));
    -webkit-mask-size: var(--step) var(--step);
    -webkit-mask-repeat: repeat;
    -webkit-mask-position: calc(50% - var(--dot)/2 - var(--step)/2) 0;
    -webkit-mask-composite: source-in;
}

@media (max-width: 1024px) {
    body::before { top: calc(var(--pad) + clamp(1.5rem, 3vw, 3rem) + 1.1rem); }
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
picture { width: 100%; height: auto; min-height: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1; font-family: var(--font-mono); }

main {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    min-height: 100vh;
}
@media (max-width: 1024px) { main { padding-top: 1.1rem; } }

.bg-light-gray {
    background: var(--bg-light-gray);
}
.bg-semi-dark-gray{
    background: var(--bg-semi-dark-gray);
}
/* ─── LAYOUT ─────────────────────────────────────────── */
.container {
    width: min(116rem, 100%);
    margin-inline: auto;
    position: relative;
}

/* ─── NAV ────────────────────────────────────────────── */
.nav {
    z-index: 60;
    width: 100%;
    position: fixed;
    inset: 0 0 auto;
}

.nav__desktop {
    -webkit-backdrop-filter: blur(32px);
    backdrop-filter: blur(32px);
    z-index: 100;
    background: #fbfbfb66;
    padding: 1rem;
    transition: all .5s;
    position: relative;
}

.nav__desktop--opened {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: transparent;
}

.nav__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin: 0 auto;
}

/* Brand */
.nav__brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
}

.nav__brand-img {
    width: 10rem;
    height: 5rem;
}

/* Menu */
.nav__menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 0 0 0 auto;
    padding: 0;
    list-style: none;
}

.nav__link {
    font-family: var(--font-sans);
    font-size: clamp(.875rem, 1.25vw, 1.125rem);
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--color-ink);
    transition: color var(--transition);
}
.nav__link--muted  { color: var(--color-muted); }
.nav__link--active { color: var(--color-ink); }
.nav__link--dimmed { color: var(--bg-semi-light-gray); }
.nav__link:hover   { color: var(--color-accent); }

.nav__link--has-children { position: relative; }

/* Languages */
.nav__langs {
    --lang-list-w: 5.5rem;
    width: calc(var(--lang-list-w) + 2rem);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: .35rem;
    position: relative;
}

.nav__lang-icon {
    flex-shrink: 0;
    width: clamp(.75rem, 1vw, 1rem);
    height: clamp(.75rem, 1vw, 1rem);
    color: var(--color-ink);
    transition: all .3s linear;
}
.nav__lang-icon--muted  { color: var(--color-muted); }
.nav__lang-icon--dimmed { color: var(--bg-semi-light-gray); }

.nav__lang-list {
    display: flex;
    align-items: center;
    gap: .25rem;
    width: var(--lang-list-w); 
    overflow: hidden;
    transition: width .36s cubic-bezier(.32, 0, .15, 1);
}


.nav__lang-item {
    display: flex;
    align-items: center;
    gap: .25rem;
    white-space: nowrap;
    transition: opacity .22s cubic-bezier(.32, 0, .15, 1),
                transform .22s cubic-bezier(.32, 0, .15, 1);
}

.nav__lang-sep {
    background: var(--bg-semi-light-gray);
    width: 1px;
    height: 1rem;
}

.nav__lang-link {
    font-family: var(--font-sans);
    font-size: clamp(.875rem, 1.25vw, 1.125rem);
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--bg-medium-gray);
    transition: color var(--transition);
}
.nav__lang-link:hover       { color: var(--color-ink); cursor: pointer; }
.nav__lang-link--active     { color: var(--color-ink); }
.nav__lang-link--dimmed     { color: var(--bg-semi-light-gray); }
.nav__lang-link--muted      { color: var(--color-muted); }

/* Toggle (mobile) */
.nav__toggle {
    font-family: var(--font-sans);
    font-size: clamp(.875rem, 1.25vw, 1.125rem);
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    color: var(--color-ink);
    background: none;
    border: none;
    padding: 0;
}

/* Mega backdrop */
.nav__mega-backdrop {
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #fbfbfb99;
    -webkit-backdrop-filter: blur(32px);
    backdrop-filter: blur(32px);
    transition: opacity .5s, visibility .5s;
}
.nav__mega-backdrop--visible {
    opacity: 1;
    visibility: visible;
}

/* Mega menu */
.nav__mega {
    display: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    will-change: opacity, transform;
    transition: opacity .5s, visibility .5s, transform .5s;
}

.nav__mega-heading {
    z-index: 1;
    position: relative;
    border-top: 1px solid #25235114;
    max-width: calc(100% - 2rem);
    margin: .5rem auto 0;
}

.nav__mega-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    height: 100vh;
    max-height: calc(100vh - 3rem);
    padding: 2.5rem 1.5rem 1.5rem;
    position: relative;
    overflow: auto;
}

.nav__mega-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.nav__mega-footer {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    border-top: 1px solid #25235114;
    padding-top: .75rem;
    padding-bottom: 1rem;
}

/* Overlay (mobile drawer) */
.nav__overlay {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    z-index: 70;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    will-change: opacity, transform;
    height: 100vh;
    padding-top: 2.5rem;
    padding-bottom: 3rem;
    overflow-y: auto;
    transition: opacity .5s, visibility .5s, transform .5s;
}

.nav__overlay-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 1.25rem;
    padding: 0 1rem;
    position: relative;
}

.nav__overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
}

.nav__close {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-ink);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.nav__sections { display: grid; gap: 1rem; }

.nav__section {
    border-top: 1px solid #2523511a;
    padding: .5rem 0 0;
}
.nav__section:first-child { border-top: none; }

.nav__drawer-link {
    display: block;
    font-family: var(--font-sans);
    font-size: clamp(.875rem, 1.25vw, 1.125rem);
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--color-muted);
    transition: color var(--transition);
}
.nav__drawer-link:hover { color: var(--color-ink); }

/* Products grid (overlay) */
.nav__products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.nav__product-card { display: flex; flex-direction: column; gap: .5rem; }

.nav__product-meta { display: flex; flex-direction: column; gap: .25rem; }

.nav__product-category {
    font-family: var(--font-sans);
    font-size: clamp(.625rem, .85vw, .75rem);
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    color: var(--color-ink);
}

.nav__product-title {
    margin: 0;
    font-family: var(--font-sans);
    font-size: clamp(1.125rem, 1.65vw, 1.5rem);
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    color: var(--color-ink);
}

.nav__product-link {
    display: block;
    margin-top: auto;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    transition: opacity var(--transition);
}
.nav__product-link:hover { opacity: .8; }

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

/* Lang panel (overlay) */
.nav__lang-panel { display: flex; align-items: center; gap: .5rem; }

.nav__lang-grid { display: flex; flex-wrap: wrap; gap: .25rem; }

.nav__lang-tile {
    font-family: var(--font-sans);
    font-size: clamp(.875rem, 1.25vw, 1.125rem);
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--color-muted);
    transition: color var(--transition);
}
.nav__lang-tile:hover,
.nav__lang-tile--active { color: var(--color-ink); }

@media screen and (max-width: 650px) {
    .nav__lang-tile { padding: 0 .25rem; }
}

/* ─── VISIBLE / ACTIVE STATES ─────────────────────── */
.nav__overlay--visible,
.nav__mega--visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ─── RESPONSIVE NAV ──────────────────────────────── */
@media (min-width: 1024px) {
    .nav__desktop { display: block; padding: 1rem 1.5rem; }

    .nav__toggle,
    .nav__overlay,
    .nav__close { display: none; }

    .nav__mega {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 55;
        pointer-events: none;
    }
    .nav__mega-content { pointer-events: auto; }
    .nav__mega-heading { max-width: calc(100% - 3rem); }
}

@media (max-width: 1279px) {
    .nav__mega-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1099px) {
    .nav__product-title { font-size: 1.25rem; }
}

@media (max-width: 1023px) {
    .nav__menu,
    .nav__langs { display: none; }

    .nav__products { gap: 1rem .5rem; }
    .nav__product-title { font-size: clamp(.875rem, 1.25vw, 1.125rem); }
}

@media (max-width: 767px) {
    .nav__products { grid-template-columns: repeat(2, 1fr); }
    .nav__lang-list { max-width: none; }
}
/* ── MOBILE OVERLAY FIX ─────────────────────────────────── */
@media (max-width: 1023px) {

  /* Повністю перекриває екран */
  .nav__overlay {
    background: var(--color-white);
    padding-top: 0;
    z-index: 200;
  }

  /* Шапка з логотипом і кнопкою "Закрити" */
  .nav__overlay .nav__mega-heading {
    position: sticky;
    top: 0;
    background: var(--color-white);
    z-index: 10;
    min-height: 4.5rem;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    border-top: none;
    border-bottom: 1px solid #2523511a;
    margin: 0;
    max-width: 100%;
  }

  /* Скрол тільки всередині оверлею */
  .nav__overlay-content {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 1rem 3rem;
    gap: 0;
  }

  /* Секції — більші відступи */
  .nav__section {
    padding: .75rem 0;
  }

  .nav__drawer-link {
    font-size: 1.25rem;
    color: var(--color-ink);
    padding: .25rem 0;
  }

  /* Продукти — 2 колонки на мобілці */
  .nav__products {
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem;
    margin-top: .75rem;
  }

  /* Footer всередині оверлею */
  .nav__overlay-footer {
    grid-template-columns: 1fr;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #2523511a;
  }

  .nav__overlay-footer .footer__group {
    grid-column: 1 / -1;
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-start;
  }

  .nav__overlay-footer .footer__link {
    font-size: 1rem;
    white-space: normal;
  }
}

/* Зовсім малі екрани */
@media (max-width: 400px) {
  .nav__products {
    grid-template-columns: 1fr;
  }
}
/* ─── FOOTER ──────────────────────────────────────── */
.footer {
    background: var(--color-navy);
    width: 100%;
    margin-top: auto;
    position: relative;
    color: #fff;
}

.footer__container { width: 100%; margin: 0 auto; }

.footer__content {
    display: flex;
    flex-direction: column;
    gap: 7.5rem;
    width: 100%;
    margin: 0 auto;
    padding: 5rem 1.5rem 1.5rem;
}

.footer__top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 5rem;
}

.footer__tagline {
    font-family: var(--font-mono);
    font-size: clamp(1.5rem, 3.75vw, 3.375rem);
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    color: rgba(255,255,255,.5);
    white-space: pre-line;
    max-width: 60%;
    margin: 0;
}

.footer__logo { display: flex; flex: auto; justify-content: flex-end; }
.footer__logo img { display: block; width: 100%; max-width: 10.5625rem; height: auto; }

.footer__nav {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    justify-content: flex-start;
    align-items: flex-end;
    gap: 2rem 1.5rem;
    margin-top: auto;
}

.footer__group {
    display: flex;
    align-items: flex-end;
    gap: 5rem;
}

.footer__group--contacts {
    flex-wrap: wrap;
    grid-column: span 6;
}

.footer__group--legal {
    flex-wrap: nowrap;
    grid-column: 9 / span 4;
    justify-content: flex-end;
}

.footer__col {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: .5rem;
}

.footer__heading {
    font-family: var(--font-sans);
    font-size: clamp(.625rem, .85vw, .75rem);
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
    white-space: nowrap;
    margin: 0;
}

.footer__link {
    font-family: var(--font-sans);
    font-size: clamp(1.125rem, 1.4575vw, 1.75rem);
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    color: rgba(255,255,255,.75);
    white-space: nowrap;
    transition: color var(--transition);
}
.footer__link:hover { color: var(--color-cyan); }

.footer__link--social::after { content: " ↗"; }

.footer__link--small {
    font-size: clamp(.625rem, .85vw, .75rem);
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Footer inside nav mega / overlay */
.nav__mega-footer-nav,
.nav__overlay-footer,
.nav__mega-footer-nav [class*="footer__heading"],
.nav__mega-footer-nav [class*="footer__link"],
.nav__overlay-footer [class*="footer__heading"],
.nav__overlay-footer [class*="footer__link"] {
    color: var(--color-ink);
}

.nav__mega-footer-nav [class*="footer__link"]:hover,
.nav__overlay-footer [class*="footer__link"]:hover {
    color: var(--color-accent);
    cursor: pointer;
}
.nav__overlay-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    position: sticky;
    top: 0;
    background: var(--color-white);
    z-index: 10;
    border-bottom: 1px solid #2523511a;
    flex-shrink: 0;
}

.nav__overlay-close {
    font-family: var(--font-sans);
    font-size: clamp(.875rem, 1.25vw, 1.125rem);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-ink);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}
/* ─── FOOTER RESPONSIVE ───────────────────────────── */
@media (max-width: 1269px) { .footer__group--contacts { grid-column: span 8; } }

@media (max-width: 1099px) {
    .footer__content { gap: 5rem; }
    .footer__top     { gap: 3.5rem; }
    .footer__nav     { gap: 2rem 1.25rem; }
    .footer__group   { gap: 3.91rem; }
    .footer__link:not(.footer__link--small) { font-size: 1.125rem; }
}

@media (max-width: 1023px) {
    .footer__content { gap: 5rem; padding: 2.5rem 1rem 1rem; }
    .footer__top     { gap: 2.39rem; }
    .footer__nav     { gap: 1.5rem 1rem; }
    .footer__group   { gap: 2.67rem; }
    .footer__group--legal { grid-column: 9 / span 4; }
}

@media (max-width: 767px) {
    .footer__tagline { max-width: 70%; font-size: 1.5rem; }
    .footer__group--contacts,
    .footer__group--legal { grid-column: 1 / -1; }
    .footer__nav  { row-gap: 1.25rem; }
    .footer__group { align-items: flex-start; gap: 2.2rem; }
}

@media (max-width: 649px) {
    .footer__top { flex-direction: column; gap: 1rem; }
    .footer__tagline { order: 2; }
    .footer__logo { order: 1; }
    .footer__logo img { max-width: 5.3125rem; }
    .footer__nav  { grid-template-columns: 1fr; row-gap: 1.49rem; }
    .footer__group { gap: 1rem; }
    .footer__group--contacts { flex-direction: column; }
    .footer__link--small { font-size: clamp(.625rem, .85vw, .75rem); }
}


/* ─── VIDEO PLAYER ───────────────────────────────── */
.player {
    background: #000;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.player__video {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
}

.player__controls {
    z-index: 1;
    color: #fff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(.625rem, .85vw, .75rem);
    padding: clamp(.5rem, 1.5vw, 1rem);
    transition: all .5s;
    position: absolute;
    inset: auto 0 0;
}

.player:hover .player__controls,
.player:focus-within .player__controls {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.player__controls-info {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.player__btn {
    color: inherit;
    cursor: pointer;
    background: none;
    border: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
.player__btn:hover { opacity: .9; }

.player__play-icon {
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 14px solid #f6f5f5;
    width: 0;
    height: 0;
    margin-left: 3px;
}

.player__pause-icon {
    width: 14px;
    height: 14px;
    display: inline-block;
    position: relative;
}
.player__pause-icon::before,
.player__pause-icon::after {
    content: "";
    background: #f6f5f5;
    width: 4px;
    height: 100%;
    position: absolute;
    top: 0;
}
.player__pause-icon::before { left: 0; }
.player__pause-icon::after  { right: 0; }

.player__progress {
    cursor: pointer;
    flex: 1;
    display: flex;
    align-items: center;
    height: 16px;
    position: relative;
}

.player__progress-track {
    background: rgba(255,255,255,.25);
    width: 100%;
    height: 2px;
}

.player__progress-fill {
    background: var(--color-accent);
    width: 0%;
    height: 4px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.player__time {
    font-family: var(--font-mono, monospace);
    color: #f6f5f5;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .9rem;
}

.player__divider {
    color: rgba(255,255,255,.4);
    font-size: 1.25rem;
    line-height: 1;
}

@media (max-width: 640px) {
    .player__controls { gap: .63rem; }
    .player__time     { font-size: clamp(.625rem, .85vw, .75rem); }
    .player__divider  { font-size: .75rem; }
    .player__pause-icon { width: .65rem; height: .75rem; }
    .player__pause-icon::before,
    .player__pause-icon::after { width: 3px; }
    .player__play-icon {
        border-top: .4rem solid transparent;
        border-bottom: .4rem solid transparent;
        border-left: .7rem solid #f6f5f5;
        margin-left: 2px;
    }
}

/* ─── HERO ───────────────────────────────────────── */
.hero {
    width: 100%;
    color: var(--color-ink);
    /* Vertical: 1.5rem to 2.5rem | Horizontal: 1rem */
    padding: clamp(1.5rem, 4vw, 2.5rem) 1rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 120rem) {
    .hero { 
        /* Minimum 2.5rem, maximum 3.5rem for ultra-wide */
        padding: clamp(2.5rem, 4vw, 3.5rem) 1.5rem; 
    }
}

.hero--compact-top    { padding-top: clamp(1rem, 2vw, 1.5rem); }
.hero--compact-bottom { padding-bottom: clamp(1rem, 2vw, 1.5rem); }
.hero--no-top         { padding-top: 0; }
.hero--no-bottom      { padding-bottom: 0; }

.hero__label {
    text-transform: uppercase;
    margin: 1rem 0 .5rem;
    font-size: clamp(.625rem, .85vw, .75rem);
    font-weight: 700;
    line-height: 1;
}

.hero__heading {
    text-transform: uppercase;
    font-family: var(--font-mono), sans-serif;
    letter-spacing: -.0275em;
    margin: 0 0 1rem;
    font-size: clamp(1.5rem, 3.75vw, 3.375rem);
    font-weight: 700;
    line-height: 1;
}

.hero__description {
    max-width: 35.65rem;
    font-family: var(--font-sans), sans-serif;
    font-weight: 400;
    line-height: 1;
    margin: 0 0 1rem;
    font-size: clamp(1.125rem, 1.65vw, 1.5rem);
}

/* Media wrapper */
.hero__media {
    background: var(--gray-50);
    display: flex;
    justify-content: stretch;
    align-items: stretch;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hero__media::after {
    content: "";
    pointer-events: none;
    mix-blend-mode: multiply;
    z-index: 1;
    background: linear-gradient(rgba(0,0,0,.1) 0% 100%), #d3d3d3 50% / cover no-repeat;
    position: absolute;
    inset: 0;
}

.hero--overlay .hero__media {
    min-height: clamp(15.125rem, min(92vh, 47.25vw), 56.75rem);
}

.hero__picture-overlay {
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: block;
    position: absolute;
    inset: 0;
}

/* Text overlay panel */
.hero__overlay {
    z-index: 3;
    pointer-events: none;
    display: flex;
    align-items: center;
    width: 100%;
    padding: clamp(1rem, 3vw, 2rem);
    position: relative;
    inset: 0;
}

.hero__overlay--left   { justify-content: flex-start; }
.hero__overlay--right  { justify-content: flex-end; }
.hero__overlay--top    { align-items: flex-start; }
.hero__overlay--center { align-items: center; }
.hero__overlay--bottom { align-items: flex-end; }

.hero__overlay-content {
    max-width: min(75rem, 90%);
    color: var(--color-white);
    pointer-events: auto;
}

.hero__overlay:not(.hero__overlay--second) .hero__heading {
    margin: 0 0 .5rem;
    font-size: clamp(2.5rem, 6.6vw, 6.75rem);
    color: var(--color-white);
}

.hero__overlay:not(.hero__overlay--second) .hero__description {
    text-transform: uppercase;
    font-size: clamp(1.3125rem, 2.35vw, 2rem);
}

/* Text reveal animation */
.text-reveal { opacity: 1; visibility: inherit; }

.text-reveal__word {
    display: inline-block;
    overflow: hidden;
}

.text-reveal__char {
    display: inline-block;
    opacity: 0;
    transform: translateY(110%);
    animation: char-in .6s cubic-bezier(.22, 1, .36, 1) forwards;
}

@keyframes char-in {
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
    .hero--overlay .hero__media {
        min-height: min(90vh, 171vw);
    }
}

/* ─── TEASER GRID ─────────────────────────────────── */
.teaser-grid {
    --teaser-cols: 3;
    --teaser-gap: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
}

.teaser-grid--two { --teaser-cols: 2; }

.teaser-card {
    width: calc((100% - (var(--teaser-cols) - 1) * var(--teaser-gap)) / var(--teaser-cols));
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    gap: .5rem;
    position: relative;
}

.teaser-card__link {
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    text-decoration: none;
    transition: all .3s;
}

.teaser-card__image {
    aspect-ratio: 454 / 332;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.teaser-card__image img,
.teaser-card__image video {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: transform .8s cubic-bezier(.22, 1, .36, 1);
    display: block;
}

.teaser-card__meta {
    z-index: 4;
    border-top: 1px solid rgba(251,251,251,.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    padding-top: .5rem;
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
}

.teaser-card__type,
.teaser-card__date {
    color: inherit;
    font-size: clamp(.875rem, 1.25vw, 1.125rem);
    font-weight: 400;
    line-height: 1;
}

.teaser-card__date { font-family: var(--font-mono), sans-serif; }

.teaser-card__title {
    text-transform: uppercase;
    color: var(--color-ink);
    font-family: var(--font-sans), sans-serif;
    font-size: clamp(.875rem, 1.25vw, 1.125rem);
    font-weight: 700;
    line-height: 1;
    margin: 0;
    transition: all .3s;
}

.teaser-card--dark .teaser-card__title { color: var(--color-white); }
.teaser-card:hover .teaser-card__title { color: var(--color-cyan); }

@media (max-width: 800px) {
    .teaser-grid,
    .teaser-grid--two { --teaser-cols: 2; }
}

@media (max-width: 640px) {
    .teaser-card { width: 100%; }
    .teaser-grid { flex-direction: column; gap: 2.5rem; }
    .teaser-card__image { height: clamp(17rem, 24vw, 29rem); }
}

/* ─── MEDIA OVERVIEW ─────────────────────────────── */
.media-overview {
    width: 100%;
    padding: clamp(2.5rem, 5vw, 5rem) clamp(1rem, 2vw, 1.5rem);
    position: relative;
}

@media (min-width: 120rem) {
    .media-overview { padding: clamp(2.5rem, 7.5vw, 7.5rem) clamp(1rem, 2vw, 2rem); }
}

.media-overview__section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.media-overview__section:not(:last-child) { margin-bottom: clamp(2.5rem, 7vw, 7rem); }

.media-overview__divider {
    border: 0;
    border-top: 1px solid rgba(37,35,81,.15);
    width: 100%;
    height: 1px;
    margin: 0;
}

.media-overview__title {
    text-transform: uppercase;
    font-family: var(--font-mono), sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1;
    margin: 0;
}

.media-overview__grid-logos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.media-card {
    display: flex;
    flex-direction: column;
    color: var(--color-white);
}

.media-card--light { color: var(--color-ink); }
.media-card--light img { background: var(--color-white); }
.media-card--dark img  { background: var(--color-ink); }

.media-card__preview {
    aspect-ratio: 454 / 332;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.media-card__preview img,
.media-card__preview picture {
    object-fit: contain;
    width: 100%;
    height: 100%;
    display: block;
}

.media-card__divider {
    border: 0;
    border-top: 1px solid rgba(251,251,251,.2);
    height: 1px;
    margin: 0;
}

.media-card__label {
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 700;
}

.media-card__download {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .9rem;
    text-decoration: none;
    transition: opacity .15s;
}
.media-card__download:hover { opacity: .7; }

.media-card__logo-header {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-bottom: clamp(2.5rem, 4vw, 3.25rem);
}

.media-card__logo-body {
    display: flex;
    justify-content: center;
    align-items: center;
}
.media-card__logo-body img,
.media-card__logo-body picture { width: 100%; display: block; }

.media-card__logo-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.media-card--logo-dark .media-card__label,
.media-card--logo-dark .media-card__download { color: var(--color-white); }

.media-card--logo-light .media-card__label,
.media-card--logo-light .media-card__download { color: var(--color-ink); }

@media (max-width: 800px) {
    .media-overview__grid-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .media-overview__grid-logos { grid-template-columns: 1fr; }
}


/* ─── BUTTON ─────────────────────────────────────────── */
.btn {
    width: fit-content;
    box-shadow: none;
    border: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: clamp(.5rem, .7vw, .625em);
    padding: clamp(.5rem, .7vw, .625em);
    font-size: clamp(.75rem, 1.115vw, 1rem);
    font-weight: 500;
    font-style: normal;
    line-height: 1;
    text-decoration: none;
    transition: transform .18s, box-shadow .18s, background .18s, color .18s;
}

.btn--primary {
    color: var(--color-white);
    background: var(--gradient-cta);
}

.btn--primary:hover {
    color: var(--color-white);
    background: var(--color-coral);
}

.btn--bg-white      { background: var(--bg-white); color: var(--color-ink); }
.btn--bg-light-gray { background: var(--bg-light-gray); color: var(--color-ink); }

.btn--ghost {
    color: #fff;
    cursor: default;
    background: rgba(255,255,255,.32);
}

.btn__label {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: clamp(.5rem, .7vw, .625em);
}

.btn__icon {
    flex: none;
    width: .8125rem;
    height: clamp(.625rem, .85vw, .75rem);
}

.btn__icon path { fill: currentColor; }

.btn__icon--long {
    flex: none;
    width: 3.25rem;
    height: auto;
}

/* ─── MEDIA REVEAL ───────────────────────────────────── */
.media-reveal {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.media-reveal__cover {
    background: var(--color-ink);
    pointer-events: none;
    opacity: 0;
    transform-origin: 0 100%;
    will-change: transform, width, height, opacity;
    z-index: 3;
    width: 4px;
    height: 4px;
    position: absolute;
    top: 0;
    left: 0;
}

.media-reveal__inner {
    opacity: 1;
    filter: blur(0);
    width: 100%;
    height: 100%;
}

.media-reveal__inner::after {
    content: "";
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(rgba(0,0,0,.4) 0%, rgba(0,0,0,.15) 30%, rgba(0,0,0,.05) 100%);
    position: absolute;
    inset: 0;
}

@media (prefers-reduced-motion: reduce) {
    .media-reveal__cover { display: none; }
    .media-reveal__inner { opacity: 1; filter: none; transition: none; }
}

/* ─── PRODUCTS SECTION ───────────────────────────────── */
.products {
    padding: clamp(2.5rem, 5vw, 5rem) clamp(1rem, 2vw, 1.5rem);
}

@media (min-width: 120rem) {
    .products { padding: clamp(2.5rem, 7.5vw, 7.5rem) clamp(1rem, 2vw, 2rem); }
}

.products--small-top  { padding-top: clamp(1rem, 2vw, 1.5rem); }
.products--no-top     { padding-top: 0; }
.products--small-bottom { padding-bottom: clamp(1rem, 2vw, 1.5rem); }
.products--no-bottom  { padding-bottom: 0; }

.products__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: minmax(260px, 1fr);
    gap: clamp(1rem, 1.25vw, 1.5rem);
}

/* ─── PRODUCT CARD ───────────────────────────────────── */
.product {
    isolation: isolate;
    width: 100%;
    min-height: clamp(10rem, 42.225vw, 51rem);
    position: relative;
    overflow: hidden;
    transition: background .24s;
}

.product__media {
    position: absolute;
    inset: 0;
}

.product__media img {
    object-fit: cover;
    transform-origin: 50%;
    width: 100%;
    height: 100%;
    transition: transform .8s cubic-bezier(.22, 1, .36, 1);
}

.product:hover .product__media img {
    transform: scale(1.03);
}

.product__placeholder {
    background: linear-gradient(135deg, var(--color-navy), #1a1830);
    width: 100%;
    height: 100%;
}

.product__overlay {
    background: linear-gradient(rgba(0,0,0,.55) 0%, rgba(0,0,0,.12) 100%);
    position: absolute;
    inset: 0;
}

.product__media[data-media-revealed="true"] + .product__content {
    opacity: 1;
    filter: none;
    visibility: visible;
    pointer-events: auto;
}

.product__content {
    z-index: 1;
    height: 100%;
    color: var(--bg-white);
    opacity: 1;
    filter: none;
    visibility: visible;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    gap: 1rem;
    padding: 1rem;
    position: relative;
    transition: opacity .3s, filter 1s;
}

.product__name {
    text-transform: uppercase;
    font-family: var(--font-sans, sans-serif);
    font-size: clamp(1.25rem, 1.945vw, 1.75rem);
    font-weight: 500;
    font-style: normal;
    line-height: 1;
    margin: 0;
}

.product__summary {
    color: rgba(251, 251, 251, .9);
    margin: 0;
    font-size: clamp(.875rem, 1.25vw, 1.125rem);
    font-weight: 400;
    font-style: normal;
    line-height: 1;
}

@media (max-width: 640px) {
    .products__grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .product {
        min-height: clamp(10rem, calc(100vw - 2rem), 51rem);
        grid-column: span 1 !important;
    }
}

/* ─── SECTION HEADER ─────────────────────────────────── */
.section-header {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .5rem 1rem;
}

.section-header--spacious {
    margin: 0 0 clamp(3.5rem, 7.5vw, 7.5rem);
}

.section-header__label {
    font-family: var(--font-sans, sans-serif);
    font-size: clamp(.625rem, .85vw, .75rem);
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    color: var(--color-ink);
    white-space: normal;
}
.section-header__label p { margin: 0; color: var(--color-ink); }

.section-header__heading {
    font-family: var(--font-mono, monospace);
    font-size: clamp(1.5rem, 3.75vw, 3.375rem);
    font-weight: 700;
    letter-spacing: -.0275em;
    text-transform: uppercase;
    color: inherit;
    flex: 1;
    margin: 0;
     color: var(--color-ink);
    line-height: 1;
}

@media (max-width: 640px) {
    .section-header,
    .section-header__left,
    .section-header__right {
        display: flex;
        flex-direction: column;
    }
}
.single-column{
    color: var(--color-ink);
}
.section-header-block--mission .section-header__heading{
}
.mission-text-style{
}
/* ─── TEXT REVEAL ─────────────────────────────────────── */
.text-reveal__word {
    display: inline-block;
}

.text-reveal__segment {
    will-change: opacity, transform;
    display: inline-block;
}

/* ─── IMAGE SLIDER ────────────────────────────────────── */
.image-slider {
    padding: clamp(2.5rem, 5vw, 5rem) clamp(1rem, 2vw, 1.5rem);
    position: relative;
    color: var(--color-ink);
}

@media (min-width: 120rem) {
    .image-slider { padding: clamp(2.5rem, 7.5vw, 7.5rem) clamp(1rem, 2vw, 2rem); }
}

.image-slider__stage {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

/* ─── SLIDER ──────────────────────────────────────────── */
.slider { position: relative; }

.slider__container {
    min-height: clamp(10rem, min(92vh, 47.25vw), 56.75rem);
    position: relative;
}

/* ─── SLIDE ───────────────────────────────────────────── */
.slide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    position: absolute;
    inset: 0;
}

.slide--active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}

.slide__grid {
    display: flex;
    align-items: start;
    gap: 1rem;
    height: 100%;
}

.slide__body {
    display: flex;
    flex-direction: column;
    flex: 0 50%;
    align-self: flex-start;
    gap: clamp(.5rem, 1.5vw, 1rem);
}

.slide__title {
    text-transform: uppercase;
    max-width: 82%;
    margin: 0;
    font-size: clamp(1.25rem, 1.945vw, 1.75rem);
    font-weight: 500;
    font-style: normal;
    line-height: 1;
}

.slide__description {
    max-width: 82%;
    margin: 0;
    padding-bottom: 3rem;
    font-size: clamp(.875rem, 1.25vw, 1.125rem);
    font-weight: 400;
    font-style: normal;
    line-height: 1;
}

.slide__image {
    flex: 0 50%;
    align-self: stretch;
    height: 100%;
    margin: 0;
    overflow: hidden;
}

.slide__image img,
.slide__image picture {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
}

/* ─── SLIDER CONTROLS ─────────────────────────────────── */
.slider-controls {
    width: calc(50% - .5rem);
    margin: 0 auto;
    margin-top: clamp(1rem, 2vw, 1.5rem);
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.slider-controls__row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: .5rem;
    width: 100%;
}

.slider-controls__nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 0 auto;
    color: var(--bg-medium-gray);
}

.slider-controls__nav-btn {
    color: var(--color-ink);
    background: none;
    border: none;
    padding: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: clamp(1.25rem, 1.945vw, 1.75rem);
    transition: color .2s, opacity .2s;
    cursor: pointer;
}
.slider-controls__nav-btn span { display: inline-block; }
.slider-controls__nav-btn:hover { color: var(--color-cyan); }

.slider-controls__nav-icon {
    width: .825em;
    height: .75em;
    display: block;
}
.slider-controls__nav-icon--reverse { transform: rotate(180deg); }

.slider-controls__pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .35rem;
    min-width: 5rem;
    color: var(--bg-medium-gray);
    text-align: center;
    text-transform: uppercase;
    font-size: clamp(1.25rem, 1.945vw, 1.75rem);
    font-weight: 500;
    line-height: 1;
}

.slider-controls__progress {
    display: flex;
    align-items: center;
    gap: clamp(.5rem, 2vw, 1rem);
    width: 100%;
}

.slider-controls__progress-btn {
    cursor: pointer;
    background: none;
    border: none;
    min-width: 1rem;
    margin: 0;
    padding: 0;
}

.slider-controls__progress-line {
    display: block;
    background: var(--bg-semi-dark-gray);
    width: 100%;
    height: 1px;
    margin-inline: auto;
    position: relative;
    overflow: hidden;
}
.slider-controls__progress-line::after {
    content: "";
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255,255,255,.1), rgba(0,0,0,.08));
    position: absolute;
    inset: 0;
}

.slider-controls__progress-fill {
    background: var(--color-accent);
    transform-origin: 0% 50%;
    position: absolute;
    inset: 0;
    transform: scaleX(0);
}

/* ─── ACCORDION ───────────────────────────────────────── */
.accordion {
    padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 2vw, 1.25rem);
    position: relative;
    color: var(--color-ink);
    overflow: hidden;
}

@media (min-width: 120rem) {
    .accordion {
        padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 2vw, 1.5rem);
    }
}

.accordion--dark {
    color: var(--color-white);
}

.accordion__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: flex-start;
    gap: 1rem;
}

.accordion--list .accordion__grid {
    border-top: 1px solid rgba(37,35,81,.15);
}

.accordion__left {
    position: sticky;
    align-self: flex-start;
    will-change: height;
    transition: height .3s;
}

.accordion__left-inner {
    position: relative;
}

.accordion__left-content {
    will-change: opacity;
    transition: opacity .24s;
    overflow: hidden;
}

.accordion__left-content--hidden {
    opacity: 0;
}

.accordion__left-content--measure {
    position: absolute;
    inset: 0;
    width: 100%;
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transition: none;
}

.left-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.left-panel__meta {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.left-panel__title {
    font-family: var(--font-sans), sans-serif;
    font-size: clamp(.875rem, 1.25vw, 1.125rem);
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    margin: .5rem 0 0;
}

.left-panel__stat {
    font-family: var(--font-mono), sans-serif;
    font-size: clamp(4rem, 11vw, 10rem);
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -.06em;
    color: var(--bg-medium-gray);
}

.left-panel__stat--short  { font-size: clamp(7.5rem, 8.333vw, 10rem); }
.left-panel__stat--medium { font-size: clamp(5rem, calc(6.666vw - 1rem), 7rem); }
.left-panel__stat--long   { font-size: clamp(3.5rem, calc(3.333vw + .5rem), 4.5rem); }

.accordion--dark .left-panel__stat {
    color: var(--bg-light-gray);
}

.left-panel__body {
    color: inherit;
    padding-bottom: .1em;
    font-size: clamp(.875rem, 1.25vw, 1.125rem);
    line-height: 1;
}

.left-panel__media-frame {
    aspect-ratio: 16 / 9;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.left-panel__media-frame img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.left-panel__placeholder {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--color-muted);
    font-size: clamp(.875rem, 1.25vw, 1.125rem);
}

.left-panel__placeholder-dot {
    display: inline-block;
    width: .5rem;
    height: .5rem;
    border-radius: 999px;
    background: currentColor;
}

.metric-text { display: inline; }
.metric-text__line { display: block; }

.accordion__right {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.accordion__item {
    position: relative;
    border-top: 1px solid rgba(37,35,81,.15);
    padding: .5rem 0;
    will-change: padding, margin, flex;
    transition: color .5s, border-color .5s, background .5s, padding .5s, flex .5s, margin .5s;
}

.accordion--list .accordion__item:first-of-type {
    border-top: none;
}

.accordion--dark .accordion__item {
    border-color: rgba(251,251,251,.1);
}

.accordion__trigger {
    display: grid;
    grid-template-columns: minmax(50%, 2fr) minmax(0, 2fr) minmax(1rem, .4fr);
    align-items: flex-start;
    gap: .5rem;
    width: 100%;
    padding: 0;
    background: none;
    border: none;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.accordion__trigger[disabled] {
    cursor: default;
}

.accordion__trigger-label {
    font-size: clamp(.875rem, 1.25vw, 1.125rem);
    font-weight: 400;
    line-height: 1;
    color: var(--bg-medium-gray);
    transition: color .3s linear;
}

.accordion--dark .accordion__trigger-label {
    color: var(--bg-semi-light-gray);
}

.accordion__item--active .accordion__trigger .accordion__trigger-label,
.accordion__item:not(.accordion__item--active) .accordion__trigger:hover .accordion__trigger-label {
    color: var(--color-ink);
}

.accordion__trigger-value {
    font-family: var(--font-mono), sans-serif;
    font-size: clamp(.625rem, .85vw, .75rem);
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-height: 1rem;
    will-change: max-height;
    transition: color .3s linear, max-height .5s;
}

.accordion__trigger-value p {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.accordion__trigger-value p + * { display: none; }

.accordion__item--active .accordion__trigger-value,
.accordion__item--active .accordion__trigger-value p {
    white-space: normal;
    padding-bottom: .1em;
}

.accordion__item--active .accordion__trigger-value p + * { display: block; }

.accordion__item--active .accordion__trigger .accordion__trigger-value,
.accordion__item:not(.accordion__item--active) .accordion__trigger:hover .accordion__trigger-value {
    color: var(--bg-medium-gray);
}

.accordion__trigger-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    margin-left: auto;
    font-size: 1rem;
    line-height: 1;
    opacity: 1;
    transition: opacity .5s;
}

.accordion__item--active .accordion__trigger-icon { opacity: 0; }

.accordion__item:not(.accordion__item--active) .accordion__trigger:hover .accordion__trigger-icon {
    color: var(--color-ink);
}

.accordion__panel {
    grid-column: 1 / -1;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    will-change: max-height, opacity;
    transition: max-height .5s, opacity .5s;
}

.accordion__item--active .accordion__panel { opacity: 1; }

.accordion__panel-left-mobile {
    display: none;
    overflow: hidden;
    margin-bottom: 0;
}

.accordion__panel-left-mobile .left-panel__meta { display: none; }

.accordion__panel-left-mobile--open {
    pointer-events: auto;
    margin-bottom: 1.5rem;
}

.accordion__panel-left-mobile--open:not(:first-child) { margin-bottom: .5rem; }

.accordion--metric .accordion__item--active .accordion__trigger-value {
    opacity: 0;
    display: none;
}

.accordion--content .accordion__trigger {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(1rem, .2fr);
}

.accordion--content .accordion__trigger-label {
    font-family: var(--font-sans), sans-serif;
    font-size: clamp(.625rem, .85vw, .75rem);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--bg-medium-gray);
}

.accordion--content .accordion__item--active .accordion__trigger-label {
    font-size: clamp(1.25rem, 1.945vw, 1.75rem);
    font-weight: 500;
    color: var(--color-ink);
}

.accordion--content .accordion__trigger-value {
    font-family: var(--font-sans), sans-serif;
    font-size: clamp(.875rem, 1.25vw, 1.125rem);
    text-transform: none;
    color: var(--color-ink);
}

.accordion--content .accordion__item--active .accordion__trigger .accordion__trigger-value {
    color: var(--color-ink);
}

.accordion--content .accordion__item:not(.accordion__item--active) .accordion__trigger:hover .accordion__trigger-label {
    color: var(--color-ink);
}

.accordion--content .accordion__item:not(.accordion__item--active) .accordion__trigger:hover .accordion__trigger-value {
    color: var(--bg-medium-gray);
}

.accordion--content .accordion__item:not(.accordion__item--active) .accordion__trigger:hover .accordion__trigger-icon {
    color: var(--bg-medium-gray);
}

@media (max-width: 1023px) {
    .left-panel__stat--short  { font-size: 4rem; }
    .left-panel__stat--medium { font-size: 2.5rem; }
    .left-panel__stat--long   { font-size: 2rem; }

    .accordion--content .accordion__trigger {
        grid-template-rows: auto auto;
        grid-template-columns: minmax(0, .9fr) minmax(1rem, .1fr);
    }

    .accordion--content .accordion__trigger-label { grid-area: 1 / 1 / auto / 3; }
    .accordion--content .accordion__trigger-value { grid-area: 2 / 1 / auto / 2; }
    .accordion--content .accordion__trigger-icon  { grid-area: 2 / 2 / auto / 3; }

    .accordion--content .accordion__item--active .accordion__trigger-value {
        grid-column: 1 / 3;
    }
}

@media (max-width: 640px) {
    .left-panel__stat--short  { font-size: 4rem; }
    .left-panel__stat--medium { font-size: 3rem; }
    .left-panel__stat--long   { font-size: 2rem; }

    .accordion__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .accordion__left { display: none; }

    .accordion__panel-left-mobile { display: block; padding-top: .5rem; }

    .accordion__item:first-of-type { border-top: none; }
}

/* ─── FIGHT SECTION ───────────────────────────────────── */
.fight {
    width: 100%;
    color: var(--color-ink);
    padding: clamp(2.5rem, 5vw, 5rem) clamp(1rem, 2vw, 1.5rem);
    position: relative;
    overflow: hidden;
}

@media (min-width: 120rem) {
    .fight { padding: clamp(2.5rem, 7.5vw, 7.5rem) clamp(1rem, 2vw, 2rem); }
}

.fight--compact-top    { padding-top: clamp(1rem, 2vw, 1.5rem); }
.fight--compact-bottom { padding-bottom: clamp(1rem, 2vw, 1.5rem); }
.fight--no-top         { padding-top: 0; }
.fight--no-bottom      { padding-bottom: 0; }

.fight__label {
    text-transform: uppercase;
    margin: 0 0 .5rem;
    font-size: clamp(.625rem, .85vw, .75rem);
    font-style: normal;
    font-weight: 700;
    line-height: 1;
}

.fight__heading {
    text-transform: uppercase;
    font-family: var(--font-mono), sans-serif;
    letter-spacing: -.0275em;
    margin: 0 0 1rem;
    font-size: clamp(1.5rem, 3.75vw, 3.375rem);
    font-style: normal;
    font-weight: 700;
    line-height: 1;
}

.fight__description {
    max-width: 35.65rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    font-family: var(--font-sans), sans-serif;
    margin: 0 0 1rem;
    font-size: clamp(1.125rem, 1.65vw, 1.5rem);
}

.fight__media-wrapper {
    background: var(--gray-50);
    display: flex;
    justify-content: stretch;
    align-items: stretch;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.fight__media-wrapper::after {
    content: "";
    pointer-events: none;
    mix-blend-mode: multiply;
    z-index: 1;
    background: linear-gradient(rgba(0,0,0,.1) 0% 100%), #d3d3d3 50% / cover no-repeat;
    position: absolute;
    inset: 0;
}

.fight__media-wrapper > :not([class*=picture__overlay]):not(picture):not(video):not(img):not([class*=player]) {
    z-index: 2;
}

.fight__image,
.fight__video {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
}

.fight--overlay .fight__media-wrapper {
    min-height: clamp(15.125rem, min(92vh, 47.25vw), 56.75rem);
}

.fight--overlay-empty picture,
.fight--overlay-empty video {
    aspect-ratio: 1392 / 668;
    height: auto;
    position: relative;
}

.fight--overlay-empty .fight__media-wrapper { min-height: 0; }

.fight--stacked picture,
.fight--stacked video {
    height: clamp(15.125rem, min(70vh, 35vw), 45rem);
}

.fight--stacked .fight__section-header {
    margin-top: clamp(5rem, 6vw, 5.55rem);
    margin-bottom: clamp(5rem, 6vw, 5.55rem);
}

.fight__picture-overlay {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    position: absolute;
    inset: 0;
}

.fight__overlay {
    z-index: 3;
    pointer-events: none;
    display: flex;
    align-items: center;
    width: 100%;
    padding: clamp(1rem, 3vw, 2rem);
    position: relative;
    inset: 0;
}

.fight__overlay--second  { padding: clamp(1rem, 1.5vw, 1rem); }
.fight__overlay--left    { justify-content: flex-start; }
.fight__overlay--right   { justify-content: flex-end; }
.fight__overlay--top     { align-items: flex-start; }
.fight__overlay--center  { align-items: center; }
.fight__overlay--bottom  { align-items: flex-end; }

.fight__overlay-content {
    max-width: min(75rem, 90%);
    color: var(--color-white);
    pointer-events: auto;
}

.fight__overlay .fight__label,
.fight__gallery-overlay .fight__label { color: #fff; }

.fight__overlay-content .fight__heading,
.fight__gallery-overlay .fight__heading { color: var(--color-white); }

.fight__overlay:not(.fight__overlay--second) .fight__heading {
    margin: 0 0 .5rem;
    font-size: clamp(2.5rem, 6.6vw, 6.75rem);
}

.fight__overlay:not(.fight__overlay--second) .fight__description {
    text-transform: uppercase;
    font-size: clamp(1.3125rem, 2.35vw, 2rem);
}

.fight__overlay--second .fight__overlay-content {
    color: #fff;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1rem, 4.5vw, 4rem);
    width: 100%;
    max-width: 100%;
}

.fight__overlay--second .fight__section-header-right,
.fight__overlay--second .fight__text-block-right {
    max-width: clamp(5rem, 80%, 35.68vw);
}

.fight__text-block {
    pointer-events: none;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1rem, 4.5vw, 4rem);
    inset: auto clamp(.5rem, 3vw, 1.5rem) clamp(3rem, 8vw, 6.8rem);
}

.fight__caption-bar {
    color: var(--color-white);
    position: absolute;
    inset: auto 1rem 0;
}

.fight__stats {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(.5rem, 2vw, 1rem);
}

.fight__stats-overlay {
    color: var(--color-white);
    padding: clamp(.5rem, 1.5vw, 1rem);
    position: absolute;
    inset: 0 0 auto;
}

.fight__stats-overlay-content {
    color: var(--color-white);
    gap: clamp(.75rem, 2vw, 1.5rem);
    margin-top: clamp(.5rem, 1.5vw, 1rem);
}

.fight__stats-caption {
    color: var(--color-white);
    border-top: 1px solid var(--bg-light-gray);
    display: flex;
    justify-content: space-evenly;
    gap: clamp(1rem, 2vw, 2rem);
    width: 100%;
    padding: .5rem 0 .75rem;
    position: relative;
}

.fight__stat {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: .12rem;
}

.fight__stats-caption .fight__stat {
    flex-grow: initial;
    margin: auto;
}

.fight__stats-caption .fight__stat:first-child { margin-left: 0; }

.fight__stat-label {
    color: var(--color-white);
    font-size: .85rem;
}

.fight__stat-value {
    font-size: 1.05rem;
    font-weight: 700;
}

.fight__stats-caption .fight__stat-label {
    font-family: var(--font-mono), sans-serif;
    text-transform: uppercase;
    font-size: clamp(.4rem, 1vw, .625rem);
    font-style: normal;
    font-weight: 700;
    line-height: 1;
}

.fight__stats-caption .fight__stat-value {
    text-transform: uppercase;
    font-size: clamp(.75rem, 1.4583vw, 1.3125rem);
    font-style: normal;
    font-weight: 500;
    line-height: 1;
}

.fight__stats-overlay .fight__stat-value,
.fight__stats-overlay-content .fight__stat-value {
    color: var(--color-white);
    font-family: var(--font-mono), sans-serif;
    font-size: clamp(.4rem, 1vw, .875rem);
    font-style: normal;
    font-weight: 400;
    line-height: 1;
}

.fight__stats-overlay .fight__stat-label,
.fight__stats-overlay-content .fight__stat-label {
    color: var(--bg-semi-light-gray);
    font-size: clamp(.4rem, 1vw, .875rem);
    font-style: normal;
    font-weight: 400;
    line-height: 1;
}

.fight__stats-overlay .fight__stat,
.fight__stats-overlay-content .fight__stat {
    border-top: 1px solid rgba(255,255,255,.2);
    flex-direction: row;
    gap: 1rem;
    padding-top: clamp(.2rem, 1vw, .5rem);
}

.fight--bright {
    color: var(--color-ink);
    background: linear-gradient(#fbfbfb 0%, #f6f5f5 100%);
}

.fight--muted {
    background: linear-gradient(#ebebeb 0%, #fbfbfb 100%);
}

.fight--gallery {
    color: #fff;
    min-height: clamp(10rem, min(92vh, 47.25vw), 56.75rem);
    position: relative;
}

.fight__gallery-stage {
    background: var(--color-ink);
    width: 100%;
    height: 100%;
    min-height: clamp(10rem, min(92vh, 47.25vw), 56.75rem);
    position: relative;
}

.fight__gallery-main {
    width: 100%;
    min-height: clamp(10rem, min(92vh, 47.25vw), 56.75rem);
    position: relative;
}

.fight__gallery-slide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    height: 100%;
    transition: opacity .35s;
    position: absolute;
    inset: 0;
}

.fight__gallery-slide--active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}

.fight__gallery-main img,
.fight__gallery-main video {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
}

.fight__gallery-overlay-content {
    color: #fff;
    pointer-events: none;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1rem, 4.5vw, 4rem);
    position: absolute;
    inset: auto clamp(.5rem, 3vw, 1.5rem) clamp(3rem, 8vw, 6.8rem);
}

.fight__gallery-overlay-content-right {
    flex: 1;
    width: 100%;
    max-width: 36rem;
    margin: auto;
}

.fight__thumb-rail {
    z-index: 2;
    position: absolute;
    inset: clamp(.5rem, 1.5vw, 1rem) clamp(.5rem, 1.5vw, 1rem) auto;
}

.fight__thumb-viewport {
    scrollbar-width: none;
    -ms-overflow-style: none;
    max-width: 100%;
    overflow: hidden;
}

.fight__thumb-viewport::-webkit-scrollbar { display: none; }

.fight__thumb-container {
    display: flex;
    gap: clamp(.37rem, 1vw, .75rem);
}

.fight__thumb {
    cursor: pointer;
    background: none;
    border: 1px solid transparent;
    flex: none;
    padding: 0;
    transition: border-color .2s, transform .2s;
}

.fight__thumb--active { border-color: var(--color-white); }

.fight__thumb-media {
    aspect-ratio: 129 / 80;
    background: none;
    width: 8.0625rem;
    height: 5rem;
    position: relative;
    overflow: hidden;
}

.fight__thumb-image,
.fight__thumb-video {
    object-fit: cover;
    transform-origin: 50%;
    width: 100%;
    height: 100%;
    transition: transform .8s cubic-bezier(.22, 1, .36, 1);
    display: block;
}

.fight__thumb-progress {
    background: rgba(251, 251, 251, .4);
    height: 2px;
    position: absolute;
    inset: 0 0 auto;
}

.fight__thumb-progress-fill {
    background: var(--color-accent);
    width: 0;
    height: 100%;
}

.fight__thumb-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: var(--bg-semi-dark-gray);
    background: var(--color-navy);
}

.fight__gallery-video {
    width: 100%;
    height: 100%;
}

.fight__gallery-video::after {
    content: "";
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(rgba(0,0,0,0) 70%, rgba(0,0,0,.4) 100%);
    position: absolute;
    inset: 0;
}

.fight__placeholder {
    border: 1px dashed var(--bg-light-gray);
    color: var(--bg-semi-dark-gray);
    border-radius: 10px;
    padding: 1rem;
}

@media (max-width: 640px) {
    .fight--overlay .fight__media-wrapper { min-height: min(90vh, 171vw); }

    .fight__gallery-overlay-content,
    .fight__overlay--second .fight__overlay-content { display: block; }

    .fight__overlay--second .fight__section-header-right,
    .fight__overlay--second .fight__text-block-right { max-width: 100%; }

    .fight__overlay--second { align-items: flex-start; }

    .fight__thumb-media {
        aspect-ratio: 55 / 34;
        width: clamp(3rem, 27.75vw, 8rem);
        height: auto;
    }

    .fight__gallery-main { min-height: min(90vh, 171vw); }

    .fight__text-block { display: flex; flex-direction: column; gap: 0; }

    .fight--overlay-empty picture,
    .fight--overlay-empty video { aspect-ratio: 358 / 175; height: auto; position: relative; }

    .fight--overlay-empty .fight__media-wrapper { min-height: 0; }

    .fight__stats-caption { justify-content: flex-start; }
    .fight__stats-caption .fight__stat { flex: auto; margin: 0; }
}

/* ─── SECTION HEADER BLOCK ────────────────────────────── */
.section-header-block {
    /* Vertical: 0.5rem (8px) to 1.25rem (20px) */
    /* Horizontal: fixed 0.75rem (12px) for consistency */
    padding: clamp(0.5rem, 1.5vw, 1.25rem) 0.75rem;
}

@media (min-width: 120rem) {
    .section-header-block {
        /* On huge screens, padding won't exceed 1.75rem (28px) */
        padding: clamp(1.25rem, 2vw, 1.75rem) 1rem;
    }
}

.section-header-block--dark {
    color: var(--bg-white);
}

.portable-text__divider {
    border: none;
    border-top: 1px solid currentColor;
    opacity: .2;
    margin: 1.5rem 0;
}

.portable-text__two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem 1rem;
}

.portable-text__two-columns-col p {
    margin: 0;
    font-size: clamp(.875rem, 1.25vw, 1.125rem);
    line-height: 1.4;
}

@media (max-width: 640px) {
    .portable-text__two-columns {
        grid-template-columns: 1fr;
    }
}

/* ─── HERO --stacked variant ──────────────────────────── */
.hero--stacked .hero__media-wrapper {
    position: relative;
    width: 100%;
    margin-top: clamp(2rem, 4vw, 3.5rem);
}

.hero--stacked .player__video {
    width: 100%;
    height: clamp(15.125rem, min(70vh, 35vw), 45rem);
    display: block;
}




/* ─── STATS OVERLAY ───────────────────────────────────── */
.hero__stats {
    display: flex;
    gap: clamp(1rem, 3vw, 2.5rem);
}

.hero__stats--overlay {
    position: absolute;
    bottom: clamp(1rem, 2vw, 1.5rem);
    left: clamp(1rem, 2vw, 1.5rem);
    z-index: 2;
}

.hero__stat {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.hero__stat-label {
    font-size: clamp(.5rem, .75vw, .625rem);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-white);
    opacity: .6;
    line-height: 1;
}

.hero__stat-value {
    font-family: var(--font-mono), monospace;
    font-size: clamp(.875rem, 1.25vw, 1.125rem);
    font-weight: 400;
    text-transform: uppercase;
    color: var(--color-white);
    line-height: 1;
}

@media (max-width: 640px) {
    .hero__stats--overlay {
        position: absolute;
        bottom: auto;
        left: auto;
        margin-top: 1rem;
        margin-left: 2rem;
        flex-wrap: wrap;
        gap: 1rem 2rem;
    }

    .hero__stat-label,
    .hero__stat-value { color: var(--color-white); }

    .hero__stat-label { opacity: .5; }
}

/* ─── IMAGE GRID ──────────────────────────────────────── */
.image-grid {
    color: var(--color-ink);
    padding: clamp(2.5rem, 7vw, 7rem) clamp(1rem, 2vw, 1.5rem);
    position: relative;
}

.image-grid--dark { color: var(--color-white); }

.image-grid__layout {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem 1rem;
}

.image-grid__card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.image-grid__media {
    aspect-ratio: 283 / 176;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.image-grid__media img,
.image-grid__media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: 50%;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.image-grid__body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.image-grid__meta {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.image-grid__title {
    margin: 0;
    color: var(--color-white);
    font-size: clamp(1.25rem, 1.945vw, 1.75rem);
    font-style: normal;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
}

.image-grid__index {
    margin-left: auto;
    color: var(--bg-medium-gray);
    font-family: var(--font-mono), sans-serif;
    font-size: clamp(0.625rem, 0.85vw, 0.75rem);
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    text-align: right;
    text-transform: uppercase;
}

.image-grid__description {
    margin: 0;
    color: var(--color-ink);
    font-size: clamp(0.875rem, 1.25vw, 1.125rem);
    font-style: normal;
    font-weight: 400;
    line-height: 1;
}

.image-grid--dark .image-grid__description {
    color: var(--color-white);
}

@media (max-width: 1024px) {
    .image-grid__layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .image-grid { padding-inline: 1rem; }
    .image-grid__layout { grid-template-columns: 1fr; }
}

/* ─── HERO GALLERY / OVERLAY (duplicate rules deduplicated) ── */
.hero--bright {
    color: var(--color-ink);
    background: linear-gradient(#fbfbfb 0%, #f6f5f5 100%);
}

.hero--muted {
    background: linear-gradient(#ebebeb 0%, #fbfbfb 100%);
}

.hero--gallery {
    color: #fff;
    min-height: clamp(10rem, min(92vh, 47.25vw), 56.75rem);
    position: relative;
}

.hero__gallery-stage {
    background: var(--color-ink);
    width: 100%;
    height: 100%;
    min-height: clamp(10rem, min(92vh, 47.25vw), 56.75rem);
    position: relative;
}

.hero__gallery-main {
    width: 100%;
    min-height: clamp(10rem, min(92vh, 47.25vw), 56.75rem);
    position: relative;
}

.hero__gallery-main img,
.hero__gallery-main video {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
}

.hero__gallery-slide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    height: 100%;
    transition: opacity 0.35s;
    position: absolute;
    inset: 0;
}

.hero__gallery-slide--active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}

.hero__gallery-video {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero__gallery-video::after {
    content: "";
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(#0000 70%, #0006 100%);
    position: absolute;
    inset: 0;
}

.hero__gallery-overlay-content {
    color: #fff;
    pointer-events: none;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1rem, 4.5vw, 4rem);
    position: absolute;
    inset: auto clamp(0.5rem, 3vw, 1.5rem) clamp(3rem, 8vw, 6.8rem);
}

.hero__gallery-overlay-content-right {
    flex: 1;
    width: 100%;
    max-width: 36rem;
    margin: auto;
}

.hero__media-wrapper {
    background: var(--gray-50);
    display: flex;
    justify-content: stretch;
    align-items: stretch;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hero__media-wrapper picture {
    height: clamp(15.125rem, min(70vh, 35vw), 45rem);
}

.hero__media-wrapper::after {
    content: "";
    pointer-events: none;
    mix-blend-mode: multiply;
    z-index: 1;
    background: linear-gradient(rgba(0,0,0,0.1) 0% 100%), #d3d3d3 50% / cover no-repeat;
    position: absolute;
    inset: 0;
}

.hero--overlay .hero__media-wrapper {
    min-height: clamp(15.125rem, min(92vh, 47.25vw), 56.75rem);
}

.hero__image,
.hero__video {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
}

.hero__picture-overlay {
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: block;
    position: absolute;
    inset: 0;
}

.hero__thumb-rail {
    z-index: 2;
    position: absolute;
    inset: clamp(0.5rem, 1.5vw, 1rem) clamp(0.5rem, 1.5vw, 1rem) auto;
}

.hero__thumb-viewport {
    scrollbar-width: none;
    -ms-overflow-style: none;
    max-width: 100%;
    overflow: hidden;
}

.hero__thumb-viewport::-webkit-scrollbar { display: none; }

.hero__thumb-container {
    display: flex;
    gap: clamp(0.37rem, 1vw, 0.75rem);
}

.hero__thumb {
    cursor: pointer;
    background: none;
    border: 1px solid transparent;
    flex: none;
    padding: 0;
    transition: border-color 0.2s, transform 0.2s;
}

.hero__thumb--active { border-color: var(--color-white); }

.hero__thumb-media {
    aspect-ratio: 129 / 80;
    background: none;
    width: 8.0625rem;
    height: 5rem;
    position: relative;
    overflow: hidden;
}

.hero__thumb-image,
.hero__thumb-video {
    object-fit: cover;
    transform-origin: 50%;
    width: 100%;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    display: block;
}

.hero__thumb-progress {
    background: rgba(251, 251, 251, 0.4);
    height: 2px;
    position: absolute;
    inset: 0 0 auto;
}

.hero__thumb-progress-fill {
    background: var(--color-accent);
    width: 0;
    height: 100%;
}

.player__controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.35), transparent);
}

.player__controls-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
}

.player__control-button {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
}

.player__pause-icon {
    display: block;
    width: 0.75rem;
    height: 0.75rem;
    background: linear-gradient(
        to right,
        #fff 0 35%,
        transparent 35% 65%,
        #fff 65% 100%
    );
}

.player__time {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono), sans-serif;
    font-size: 0.75rem;
    line-height: 1;
    color: #fff;
}

.player__divider { opacity: 0.4; }

.player__progress {
    position: relative;
    height: 2px;
    width: 100%;
}

.player__progress-track {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.25);
}

.player__progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: var(--color-accent);
    transition: width 0.25s linear;
}

@media (max-width: 640px) {
    .hero--overlay .hero__media-wrapper { min-height: min(90vh, 171vw); }
    .hero__gallery-overlay-content { display: block; }
    .hero__gallery-main { min-height: min(90vh, 171vw); }
    .hero__thumb-media {
        aspect-ratio: 55 / 34;
        width: clamp(3rem, 27.75vw, 8rem);
        height: auto;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   NEWS — archive + single
   Підключати після головного style.css
════════════════════════════════════════════════════════════════════════════ */

/* ── Фільтр категорій ──────────────────────────────────────────────────── */
.news-filter {
    padding: 0 clamp(1rem, 2vw, 1.5rem) clamp(2rem, 4vw, 3.5rem);
}

.news-filter__inner {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    border-top: 1px solid rgba(37, 35, 81, .15);
    padding-top: 1rem;
}

.news-filter__btn {
    font-family: var(--font-sans);
    font-size: clamp(.75rem, 1vw, .875rem);
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--color-muted);
    background: var(--bg-light-gray);
    padding: .5rem .875rem;
    transition: background var(--transition), color var(--transition);
}

.news-filter__btn:hover {
    color: var(--color-ink);
    background: var(--bg-semi-light-gray);
}

.news-filter__btn--active {
    color: var(--color-white);
    background: var(--color-ink);
}

/* ── Бейдж «Відео» ─────────────────────────────────────────────────────── */
.news-badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-family: var(--font-sans);
    font-size: clamp(.625rem, .85vw, .75rem);
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.news-badge--video {
    color: var(--color-accent);
}

/* ── Пагінація ─────────────────────────────────────────────────────────── */
.news-pagination {
    margin-top: clamp(2.5rem, 5vw, 5rem);
}

.news-pagination__inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    border-top: 1px solid rgba(37, 35, 81, .15);
    padding-top: 1.5rem;
}

.news-pagination__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-ink);
    text-decoration: none;
    transition: color var(--transition);
}

.news-pagination__btn:hover { color: var(--color-accent); }

.news-pagination__info {
    display: flex;
    align-items: center;
    gap: .35rem;
    font-family: var(--font-mono);
    font-size: clamp(1.25rem, 1.945vw, 1.75rem);
    font-weight: 500;
    line-height: 1;
    color: var(--color-ink);
}

.news-pagination__sep { color: var(--bg-medium-gray); }

/* ── Порожній стан ─────────────────────────────────────────────────────── */
.news-empty {
    font-size: clamp(1.125rem, 1.65vw, 1.5rem);
    color: var(--color-muted);
    text-align: center;
    padding: clamp(3rem, 8vw, 6rem) 0;
}

/* ── Single: meta (категорія + дата на overlay) ────────────────────────── */
.news-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.news-meta__cat {
    font-family: var(--font-sans);
    font-size: clamp(.625rem, .85vw, .75rem);
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    color: var(--color-accent);
    background: rgba(251, 251, 251, .15);
    padding: .35rem .625rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.news-meta__date {
    font-family: var(--font-mono);
    font-size: clamp(.625rem, .85vw, .75rem);
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
    color: rgba(251, 251, 251, .7);
}

/* ── Single: hero відступ під навбар ────────────────────────────────────── */
.single-news .hero {
    padding-top: calc(clamp(2.5rem, 5vw, 5rem) + 5rem);
}

@media (max-width: 1023px) {
    .single-news .hero {
        padding-top: calc(clamp(1.5rem, 3vw, 2.5rem) + 4.5rem);
    }
}

/* ── Single: article layout ─────────────────────────────────────────────── */
.news-article {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: clamp(2rem, 4vw, 4rem);
    padding-bottom: clamp(2rem, 4vw, 4rem);
    border-top: 1px solid rgba(37, 35, 81, .15);
}

.news-article__header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.news-article__heading {
    font-family: var(--font-mono);
    font-size: clamp(1.75rem, 3.5vw, 3.375rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.03em;
    text-transform: uppercase;
    color: var(--color-ink);
    margin: 0;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.news-article__subtitle {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 1.45vw, 1.3125rem);
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-muted);
    margin: 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(37, 35, 81, .12);
}

.news-article__body {
    font-family: var(--font-sans);
    font-size: clamp(.9375rem, 1.2vw, 1.0625rem);
    line-height: 1.7;
    color: var(--color-black);
    min-width: 0;
}

/* Portable text overrides */
.news-article__body p    { margin: 0 0 1.4em; }
.news-article__body p:last-child { margin-bottom: 0; }
.news-article__body h2,
.news-article__body h3   {
    font-family: var(--font-mono);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: -.0275em;
    margin: 2.5em 0 .75em;
    color: var(--color-ink);
}
.news-article__body h2   { font-size: clamp(1.25rem, 1.945vw, 1.75rem); }
.news-article__body h3   { font-size: clamp(1rem, 1.5vw, 1.375rem); }
.news-article__body img  { width: 100%; height: auto; display: block; margin: 2em 0; }
.news-article__body a    { color: var(--color-sky); text-decoration: underline; }
.news-article__body a:hover { color: var(--color-accent); }
.news-article__body ul,
.news-article__body ol   { padding-left: 1.5em; margin: 0 0 1.4em; }
.news-article__body li   { margin-bottom: .5em; }

/* ── Плеєр: велика кнопка Play по центру ───────────────────────────────── */
.player__play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    z-index: 2;
    cursor: pointer;
    transition: opacity var(--transition);
}

.player__play-overlay-icon {
    width: clamp(3rem, 6vw, 5rem);
    height: clamp(3rem, 6vw, 5rem);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(251, 251, 251, .18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    color: #fff;
    transition: background var(--transition), transform var(--transition);
}
.news-article__body p {
    word-break: break-word;
    overflow-wrap: break-word;
}
.player__play-overlay:hover .player__play-overlay-icon {
    background: rgba(251, 251, 251, .28);
    transform: scale(1.08);
}

/* Ховається після старту відео через JS (opacity/pointer-events) */

/* ── bg-black хелпер ───────────────────────────────────────────────────── */
.bg-black {
    background: var(--bg-black);
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .news-filter__inner { gap: .375rem; }
    .news-filter__btn   { padding: .4rem .625rem; }

    .news-pagination__info { font-size: 1.25rem; }

    .news-article__heading {
        font-size: clamp(1.5rem, 6vw, 2.25rem);
    }
}