/* ==========================================================================
   ASTRA COSMETIC — EDITORIAL DESIGN SYSTEM (v3)
   Palette and typefaces of the brand are unchanged:
   coral #FE7474 · lavender #ADBFFD · peach #F5CBC4 · blush #FDD9E4 · cream #FDF5F3
   Tenor Sans (display) · Manrope (text)
   Loaded after style.css / modern.css. All new blocks use the "ed-" prefix.
   ========================================================================== */

:root {
    --ed-coral: #FE7474;
    --ed-coral-dark: #E85E5E;
    --ed-lavender: #ADBFFD;
    --ed-peach: #F5CBC4;
    --ed-blush: #FDD9E4;
    --ed-cream: #FDF5F3;
    --ed-ink: #131313;
    --ed-text: #373737;
    --ed-body: #4A4A4A;
    --ed-muted: #747474;
    --ed-line: #EDE4E1;
    --ed-white: #fff;
    --ed-display: "Tenor Sans", Georgia, serif;
    --ed-sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
    --ed-ease: cubic-bezier(.22, .61, .36, 1);
    --ed-gutter: 40px;
    --ed-section: 140px;
}
@media (max-width: 1024px) {
    :root { --ed-gutter: 30px; --ed-section: 100px; }
}
@media (max-width: 767px) {
    :root { --ed-gutter: 20px; --ed-section: 72px; }
}

/* ---------- Base ---------- */
body {
    color: var(--ed-text);
}
.ed-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--ed-gutter);
}
.ed-container--narrow {
    max-width: 960px;
}
.ed-section {
    position: relative;
    padding: var(--ed-section) 0;
}
.ed-section--cream { background: var(--ed-cream); }
.ed-section--blush { background: var(--ed-blush); }
.ed-section--tight { padding: calc(var(--ed-section) * .6) 0; }
.ed-section + .ed-section:not([class*="--"]) { padding-top: 0; }

/* ---------- Typography ---------- */
.ed-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 22px;
    font-family: var(--ed-sans);
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ed-coral);
}
.ed-eyebrow::before {
    content: "";
    width: 32px;
    height: 1px;
    background: currentColor;
}
.ed-eyebrow--center { justify-content: center; }
.ed-eyebrow--light { color: var(--ed-peach); }

.ed-title,
h1.ed-title,
h2.ed-title,
h3.ed-title {
    margin: 0;
    padding: 0;
    font-family: var(--ed-display);
    font-weight: 400;
    font-size: clamp(30px, 3.4vw, 54px);
    line-height: 1.08;
    letter-spacing: -.02em;
    text-transform: uppercase;
    color: var(--ed-ink);
    text-wrap: balance;
}
.ed-title--xl,
h1.ed-title--xl {
    font-size: clamp(40px, 5.4vw, 88px);
    line-height: 1;
    letter-spacing: -.035em;
}
.ed-title--md,
h2.ed-title--md,
h3.ed-title--md {
    font-size: clamp(24px, 2.4vw, 36px);
    line-height: 1.15;
}
.ed-title--sm,
h3.ed-title--sm {
    font-size: clamp(19px, 1.6vw, 24px);
    line-height: 1.25;
    letter-spacing: -.01em;
}
.ed-title--light { color: var(--ed-white); }

.ed-lead {
    margin: 0;
    padding: 0;
    font-family: var(--ed-sans);
    font-size: 18px;
    line-height: 1.7;
    color: var(--ed-muted);
}
.ed-text,
.ed-text p {
    margin: 0 0 14px;
    padding: 0;
    font-family: var(--ed-sans);
    font-size: 16px;
    line-height: 1.75;
    color: var(--ed-body);
}
.ed-text p:last-child { margin-bottom: 0; }
.ed-rule {
    display: block;
    width: 64px;
    height: 1px;
    margin: 32px 0;
    background: var(--ed-coral);
    border: 0;
}
.ed-num {
    display: block;
    font-family: var(--ed-display);
    font-size: 14px;
    letter-spacing: .1em;
    color: var(--ed-coral);
}
.ed-head {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
    gap: 40px 80px;
    margin-bottom: 64px;
}
.ed-head--center {
    display: block;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.ed-head--center .ed-lead { margin-top: 22px; }
@media (max-width: 1024px) {
    .ed-head { grid-template-columns: 1fr; margin-bottom: 44px; }
}
@media (max-width: 767px) {
    .ed-lead { font-size: 16px; }
    .ed-text, .ed-text p { font-size: 15px; }
    .ed-head { margin-bottom: 34px; }
}

/* ---------- Buttons & links ---------- */
.ed-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 40px;
}
.ed-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 56px;
    padding: 0 34px;
    border: 1px solid transparent;
    font-family: var(--ed-sans);
    font-weight: 600;
    font-size: 13px;
    line-height: 1;
    letter-spacing: .12em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .3s var(--ed-ease), color .3s var(--ed-ease), border-color .3s var(--ed-ease), transform .3s var(--ed-ease), box-shadow .3s var(--ed-ease);
}
.ed-btn--coral {
    background: var(--ed-coral);
    color: var(--ed-white);
}
.ed-btn--ghost {
    border-color: var(--ed-ink);
    color: var(--ed-ink);
    background: transparent;
}
.ed-btn--light {
    border-color: rgba(255, 255, 255, .7);
    color: var(--ed-white);
    background: transparent;
}
@media (hover: hover) {
    .ed-btn--coral:hover {
        background: var(--ed-lavender);
        color: var(--ed-ink);
        transform: translateY(-2px);
        box-shadow: 0 18px 34px -18px rgba(173, 191, 253, .95);
    }
    .ed-btn--ghost:hover {
        background: var(--ed-ink);
        color: var(--ed-white);
    }
    .ed-btn--light:hover {
        background: var(--ed-white);
        border-color: var(--ed-white);
        color: var(--ed-ink);
    }
}
.ed-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 4px;
    font-family: var(--ed-sans);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ed-ink);
    background-image: linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 100% 1px;
    transition: color .3s var(--ed-ease), gap .3s var(--ed-ease);
}
.ed-link::after {
    content: "→";
    font-size: 15px;
    letter-spacing: 0;
}
@media (hover: hover) {
    .ed-link:hover {
        color: var(--ed-coral);
        gap: 16px;
    }
}
@media (max-width: 767px) {
    .ed-btn { min-height: 52px; padding: 0 24px; font-size: 12px; }
    .ed-actions { margin-top: 28px; }
}

/* ---------- Image frames (offset colour block) ---------- */
.ed-frame {
    position: relative;
    isolation: isolate;
    margin: 0;
}
.ed-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--ed-frame, var(--ed-peach));
    transform: translate(28px, 28px);
}
.ed-frame--left::before { transform: translate(-28px, 28px); }
.ed-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ed-frame--lavender { --ed-frame: var(--ed-lavender); }
.ed-frame--blush { --ed-frame: var(--ed-blush); }
.ed-frame--peach { --ed-frame: var(--ed-peach); }
.ed-frame--coral { --ed-frame: var(--ed-coral); }
@media (max-width: 767px) {
    .ed-frame::before { transform: translate(14px, 14px); }
    .ed-frame--left::before { transform: translate(-14px, 14px); }
}

/* ---------- Reveal on scroll (js/reveal.js) ---------- */
.reveal-on [data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .9s var(--ed-ease), transform .9s var(--ed-ease);
    transition-delay: var(--ed-delay, 0s);
}
.reveal-on [data-reveal="fade"] { transform: none; }
.reveal-on [data-reveal="left"] { transform: translateX(-30px); }
.reveal-on [data-reveal="right"] { transform: translateX(30px); }
.reveal-on [data-reveal].is-in {
    opacity: 1;
    transform: none;
}

/* ==========================================================================
   HEADER (≤1279: full-screen editorial menu)
   ========================================================================== */
.header .logo-box img {
    max-width: 112px;
}
@media (max-width: 1279px) {
    .header {
        padding: 14px var(--ed-gutter);
    }
    .header .lang-box {
        display: none;
    }
    .header .burger {
        left: auto;
        right: var(--ed-gutter);
        width: 44px;
        height: 20px;
        padding: 0;
        transform: translateY(-50%);
        z-index: 3;
    }
    .header.menu-open {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        background-color: var(--ed-cream) !important;
        box-shadow: none;
    }
    .header.menu-open .burger {
        width: 34px;
        height: 34px;
    }
    .header nav {
        position: fixed !important;
        top: 0 !important;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100vh !important;
        height: 100dvh !important;
        max-width: none;
        margin: 0;
        padding: 110px var(--ed-gutter) 40px !important;
        overflow-y: auto !important;
        background: var(--ed-cream);
        z-index: 2;
        transform: translateY(-12px);
        transition: opacity .35s var(--ed-ease), visibility .35s, transform .45s var(--ed-ease);
    }
    .header.menu-open nav {
        transform: none;
    }
    .header.menu-open nav::before,
    .header.menu-open nav::after {
        display: none;
    }
    .header nav > div {
        display: flex;
        flex-direction: column;
        min-height: 100%;
    }
    .header nav ul {
        min-height: 0 !important;
        text-align: left;
        counter-reset: ednav;
    }
    .header nav ul:not(.language-chooser) a,
    .header nav ul:not(.language-chooser) span {
        display: flex;
        align-items: baseline;
        gap: 18px;
        padding: 18px 0 !important;
        border-bottom: 1px solid var(--ed-line) !important;
        background: none !important;
        font-family: var(--ed-display);
        font-size: clamp(24px, 6vw, 40px);
        line-height: 1.1;
        letter-spacing: -.02em;
        text-transform: uppercase;
        color: var(--ed-ink) !important;
    }
    .header nav ul:not(.language-chooser) li a::before,
    .header nav ul:not(.language-chooser) li > span::before {
        counter-increment: ednav;
        content: "0" counter(ednav);
        font-family: var(--ed-sans);
        font-weight: 600;
        font-size: 12px;
        letter-spacing: .12em;
        color: var(--ed-coral);
    }
    .header nav ul:not(.language-chooser) span {
        color: var(--ed-coral) !important;
    }
    .header .mobil-lang-box {
        display: block !important;
        margin-top: auto;
        padding-top: 30px;
        text-align: left;
    }
    .header .mobil-lang-box a,
    .header .mobil-lang-box span {
        font-size: 14px;
        padding: 0 14px 0 0;
    }
    .header .header-cta-mobile {
        display: inline-flex;
        margin-top: 28px;
        align-self: flex-start;
    }
}
@media (min-width: 1280px) {
    .header .header-cta-mobile { display: none; }
}
@media (max-width: 767px) {
    .header .logo-box img { max-width: 72px; }
}
.header-cta-mobile { display: none; }

/* ==========================================================================
   HERO (home)
   ========================================================================== */
.ed-hero__title {
    margin: 0;
    padding: 0 0 24px;
    font-family: var(--ed-display);
    font-weight: 400;
    font-size: clamp(36px, 4.6vw, 76px);
    line-height: 1;
    letter-spacing: -.035em;
    text-transform: uppercase;
    color: var(--ed-white);
}
.ed-badge {
    position: absolute;
    right: 60px;
    bottom: 56px;
    width: 150px;
    height: 150px;
    pointer-events: none;
}
.ed-badge svg {
    width: 100%;
    height: 100%;
    animation: ed-spin 26s linear infinite;
}
.ed-badge text {
    font-family: var(--ed-sans);
    font-weight: 600;
    font-size: 10.5px;
    letter-spacing: .28em;
    fill: var(--ed-white);
    text-transform: uppercase;
}
.ed-badge__center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ed-display);
    font-size: 44px;
    color: var(--ed-coral);
}
@keyframes ed-spin { to { transform: rotate(360deg); } }
@media (max-width: 1024px) {
    .ed-badge { display: none; }
}

/* ---------- Facts strip ---------- */
.trust-strip {
    background: var(--ed-white);
    border-bottom: 1px solid var(--ed-line);
}
.trust-strip__list {
    max-width: 1400px;
    margin: 0 auto;
}
.trust-strip__item {
    padding: 44px var(--ed-gutter);
    border-right-color: var(--ed-line);
}
.trust-strip__value {
    font-family: var(--ed-display);
    font-size: clamp(28px, 2.8vw, 46px);
    letter-spacing: -.03em;
}
.trust-strip__label {
    font-family: var(--ed-sans);
    font-size: 13px;
    letter-spacing: .04em;
}
@media (max-width: 767px) {
    .trust-strip__item { padding: 22px var(--ed-gutter); }
    .trust-strip__value { font-size: 24px; }
}

/* ==========================================================================
   SPLIT LAYOUTS (intro, specialisation, features)
   ========================================================================== */
.ed-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 64px 110px;
}
.ed-split--wide-media { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.ed-split--wide-text { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.ed-split--reverse > :first-child { order: 2; }
.ed-split--top { align-items: start; }
@media (max-width: 1024px) {
    .ed-split,
    .ed-split--wide-media,
    .ed-split--wide-text { grid-template-columns: 1fr; gap: 56px; }
    .ed-split--reverse > :first-child { order: 0; }
}

/* Intro collage */
.ed-collage {
    position: relative;
    padding: 0 0 70px 0;
}
.ed-collage__main {
    aspect-ratio: 4 / 5;
    max-height: 760px;
    width: 82%;
}
.ed-collage__small {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 42%;
    aspect-ratio: 1;
    background: var(--ed-white);
    border: 10px solid var(--ed-white);
    box-shadow: 0 30px 60px -30px rgba(19, 19, 19, .35);
}
.ed-collage__small img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--ed-cream);
}
.ed-collage__seal {
    position: absolute;
    left: -24px;
    top: 40px;
    width: 120px;
    height: 120px;
}
.ed-collage__seal svg { width: 100%; height: 100%; animation: ed-spin 30s linear infinite; }
.ed-collage__seal text {
    font-family: var(--ed-sans);
    font-weight: 600;
    font-size: 10px;
    letter-spacing: .3em;
    fill: var(--ed-coral);
}
@media (max-width: 767px) {
    .ed-collage { padding-bottom: 40px; }
    .ed-collage__seal { display: none; }
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.ed-services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}
.ed-service {
    display: flex;
    flex-direction: column;
}
.ed-service__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 5;
    margin-bottom: 30px;
    overflow: hidden;
    background: var(--ed-svc, var(--ed-blush));
}
.ed-service__media img {
    width: 58%;
    height: auto;
    max-height: 78%;
    object-fit: contain;
    transition: transform .8s var(--ed-ease);
}
.ed-service__label {
    position: absolute;
    left: 26px;
    top: 24px;
    font-family: var(--ed-sans);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ed-ink);
}
.ed-service__num {
    position: absolute;
    right: 26px;
    bottom: 18px;
    font-family: var(--ed-display);
    font-size: 64px;
    line-height: 1;
    color: rgba(255, 255, 255, .85);
}
.ed-service .ed-title { margin-bottom: 14px; }
.ed-service .ed-text { flex: 1 1 auto; margin-bottom: 22px; }
.ed-service .ed-link { align-self: flex-start; }
.ed-svc--pink { --ed-svc: var(--ed-blush); }
.ed-svc--violet { --ed-svc: var(--ed-lavender); }
.ed-svc--orange { --ed-svc: var(--ed-peach); }
.ed-svc--light-pink { --ed-svc: var(--ed-cream); }
@media (hover: hover) {
    .ed-service:hover .ed-service__media img { transform: translateY(-8px) scale(1.04); }
}
@media (max-width: 1024px) {
    .ed-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .ed-services { grid-template-columns: 1fr; gap: 48px; }
    .ed-service__media { aspect-ratio: 5 / 4; }
}

/* Seal / big number block (1500 formulas) */
.ed-seal {
    display: flex;
    align-items: center;
    gap: 28px;
    justify-self: end;
}
.ed-seal__ring {
    position: relative;
    flex: 0 0 auto;
    width: 132px;
    height: 132px;
}
.ed-seal__ring svg { width: 100%; height: 100%; animation: ed-spin 30s linear infinite; }
.ed-seal__ring text {
    font-family: var(--ed-sans);
    font-weight: 600;
    font-size: 10px;
    letter-spacing: .3em;
    fill: var(--ed-coral);
}
.ed-seal__ring::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 12px;
    margin: -6px 0 0 -6px;
    border-radius: 50%;
    background: var(--ed-coral);
}
.ed-seal__number {
    display: block;
    font-family: var(--ed-display);
    font-size: clamp(56px, 6vw, 96px);
    line-height: .9;
    letter-spacing: -.04em;
    color: var(--ed-ink);
}
.ed-seal__text {
    display: block;
    max-width: 220px;
    margin-top: 8px;
    font-family: var(--ed-sans);
    font-size: 14px;
    line-height: 1.5;
    color: var(--ed-muted);
}
.ed-seal .ed-link { margin-top: 14px; }
@media (max-width: 1024px) {
    .ed-seal { justify-self: start; }
}
@media (max-width: 767px) {
    .ed-seal__ring { width: 96px; height: 96px; }
}

/* ==========================================================================
   CATEGORIES CATALOGUE
   ========================================================================== */
.ed-catalogue {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 56px 32px;
}
.ed-cat { grid-column: span 6; }
.ed-cat:nth-child(4n + 1) { grid-column: span 7; }
.ed-cat:nth-child(4n + 2) { grid-column: span 5; margin-top: 96px; }
.ed-cat:nth-child(4n + 3) { grid-column: span 5; }
.ed-cat:nth-child(4n + 4) { grid-column: span 7; margin-top: 96px; }
.ed-cat__media {
    position: relative;
    aspect-ratio: 4 / 3;
    margin-bottom: 26px;
    overflow: hidden;
    background: var(--ed-cream);
}
.ed-cat:nth-child(4n + 2) .ed-cat__media,
.ed-cat:nth-child(4n + 3) .ed-cat__media { aspect-ratio: 4 / 5; }
.ed-cat__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ed-ease);
}
@media (hover: hover) {
    .ed-cat:hover .ed-cat__media img { transform: scale(1.04); }
}
.ed-cat__head .ed-title { min-width: 0; }
.ed-cat__head {
    display: flex;
    align-items: baseline;
    gap: 18px;
    margin-bottom: 16px;
}
.ed-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ed-tags li {
    padding: 6px 14px;
    border: 1px solid var(--ed-line);
    border-radius: 100px;
    font-family: var(--ed-sans);
    font-size: 13px;
    line-height: 1.3;
    color: var(--ed-body);
    background: var(--ed-white);
}
.ed-list {
    margin: 0;
    padding: 0;
    list-style: none;
    columns: 2;
    column-gap: 32px;
}
.ed-list li {
    position: relative;
    break-inside: avoid;
    margin-bottom: 10px;
    padding-left: 22px;
    font-family: var(--ed-sans);
    font-size: 15px;
    line-height: 1.5;
    color: var(--ed-body);
}
.ed-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .62em;
    width: 8px;
    height: 1px;
    background: var(--ed-coral);
}
.ed-list--single { columns: 1; }
@media (max-width: 1024px) {
    .ed-cat,
    .ed-cat:nth-child(n) { grid-column: span 6; margin-top: 0; }
    .ed-cat:nth-child(n) .ed-cat__media { aspect-ratio: 4 / 3; }
}
@media (max-width: 767px) {
    .ed-catalogue { grid-template-columns: 1fr; gap: 44px; }
    .ed-cat,
    .ed-cat:nth-child(n) { grid-column: auto; }
    .ed-list { columns: 1; }
}

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.ed-marquee {
    overflow: hidden;
    padding: 34px 0;
    border-top: 1px solid var(--ed-line);
    border-bottom: 1px solid var(--ed-line);
    background: var(--ed-white);
}
.ed-marquee__track {
    display: flex;
    width: max-content;
    animation: ed-marquee 48s linear infinite;
}
.ed-marquee__group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.ed-marquee__item {
    display: inline-flex;
    align-items: center;
    gap: 44px;
    padding-right: 44px;
    font-family: var(--ed-display);
    font-size: clamp(34px, 4.4vw, 72px);
    line-height: 1;
    letter-spacing: -.02em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--ed-ink);
}
.ed-marquee__item:nth-child(even) {
    color: transparent;
    -webkit-text-stroke: 1px var(--ed-coral);
}
.ed-marquee__item::after {
    content: "✦";
    font-size: .38em;
    color: var(--ed-coral);
    -webkit-text-stroke: 0;
}
@keyframes ed-marquee { to { transform: translateX(-50%); } }
@media (max-width: 767px) {
    .ed-marquee { padding: 22px 0; }
    .ed-marquee__item { gap: 26px; padding-right: 26px; }
}

/* ==========================================================================
   SPECIALISATION
   ========================================================================== */
.ed-spec {
    position: relative;
}
.ed-spec::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 42%;
    background: var(--ed-peach);
    opacity: .35;
}
.ed-spec__media {
    aspect-ratio: 5 / 6;
    max-height: 720px;
}
.ed-spec .ed-container { position: relative; }

/* ==========================================================================
   TIMELINE (experience)
   ========================================================================== */
.ed-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(var(--ed-cols, 6), minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}
.ed-timeline::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 9px;
    height: 1px;
    background: rgba(19, 19, 19, .14);
}
.ed-timeline__item {
    position: relative;
    padding: 46px 28px 0 0;
}
.ed-timeline__item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 1px solid var(--ed-coral);
    background: var(--ed-white);
    transition: background-color .3s var(--ed-ease);
}
.ed-timeline__item:hover::before { background: var(--ed-coral); }
.ed-timeline__year {
    display: block;
    margin-bottom: 14px;
    font-family: var(--ed-display);
    font-size: clamp(30px, 2.6vw, 44px);
    line-height: 1;
    letter-spacing: -.03em;
    color: var(--ed-coral);
}
.ed-timeline__text {
    margin: 0;
    padding: 0;
    font-family: var(--ed-sans);
    font-size: 14px;
    line-height: 1.6;
    color: var(--ed-body);
}
@media (max-width: 1024px) {
    .ed-timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 44px; }
    .ed-timeline::before { display: none; }
    .ed-timeline__item { padding-top: 0; padding-left: 26px; }
    .ed-timeline__item::before { top: 12px; }
}
@media (max-width: 767px) {
    .ed-timeline { grid-template-columns: 1fr; row-gap: 0; }
    .ed-timeline::before { display: block; left: 6px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
    .ed-timeline__item { padding: 0 0 32px 34px; }
    .ed-timeline__item::before { top: 6px; }
}

/* ==========================================================================
   PROCESS (template-parts/process.php) — editorial tuning
   ========================================================================== */
.process-section { text-align: left; }
.process-section .ed-head--center { text-align: center; }
.process-list {
    gap: 0;
    background: transparent !important;
    border-top: 1px solid var(--ed-line);
    border-left: 1px solid var(--ed-line);
}
.process-list__item {
    border-right: 1px solid var(--ed-line) !important;
    border-bottom: 1px solid var(--ed-line) !important;
    background-color: var(--ed-white);
}
.process-section--inner .process-list__item:not(.is-current) { background-color: var(--ed-white); }
.process-list__num {
    font-family: var(--ed-display);
    font-size: 64px;
    color: transparent;
    -webkit-text-stroke: 1px var(--ed-coral);
}
.process-list__item.is-current .process-list__num {
    color: transparent;
    -webkit-text-stroke: 1px var(--ed-white);
}
.process-list__title {
    font-family: var(--ed-display);
    color: var(--ed-ink);
}
.process-list__link {
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

/* ==========================================================================
   PAGE HERO (inner pages)
   ========================================================================== */
.ed-page-hero {
    position: relative;
    padding: 150px 0 110px;
    overflow: hidden;
}
.ed-page-hero::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 30%;
    background: var(--ed-page, var(--ed-cream));
    opacity: .55;
    z-index: -1;
}
.ed-page-hero--lavender { --ed-page: var(--ed-lavender); }
.ed-page-hero--blush { --ed-page: var(--ed-blush); }
.ed-page-hero--peach { --ed-page: var(--ed-peach); }
.ed-page-hero .ed-split { align-items: center; }
.ed-page-hero__text .breadcrumbs { margin-bottom: 40px; }
.ed-page-hero__text .breadcrumbs__list { justify-content: flex-start; }
.ed-page-hero__lead {
    max-width: 520px;
    margin-top: 28px;
}
.ed-page-hero__media {
    position: relative;
    aspect-ratio: 4 / 5;
    max-height: calc(100vh - 220px);
    min-height: 420px;
    margin-left: auto;
    width: 100%;
}
.ed-page-hero__deco {
    position: absolute;
    left: -60px;
    bottom: -40px;
    width: 170px;
    z-index: 2;
}
.ed-page-hero__deco img { width: 100%; height: auto; }
@media (max-width: 1024px) {
    .ed-page-hero { padding: 120px 0 80px; }
    .ed-page-hero::after { width: 100%; top: auto; height: 38%; }
    .ed-page-hero__media { max-height: none; min-height: 0; aspect-ratio: 4 / 3; }
    .ed-page-hero__deco { display: none; }
}
@media (max-width: 767px) {
    .ed-page-hero { padding: 100px 0 64px; }
    .ed-page-hero__text .breadcrumbs { margin-bottom: 24px; }
}

/* ==========================================================================
   FEATURE ROWS (R&D capabilities, production)
   ========================================================================== */
.ed-features { display: grid; gap: 120px; }
.ed-feature__media { aspect-ratio: 5 / 4; }
.ed-feature__body .ed-num { margin-bottom: 18px; }
.ed-feature__body .ed-title { margin-bottom: 20px; }
@media (max-width: 767px) {
    .ed-features { gap: 72px; }
}

/* ==========================================================================
   CARDS (branding materials, R&D categories)
   ========================================================================== */
.ed-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}
.ed-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ed-card {
    display: flex;
    flex-direction: column;
    padding: 44px 40px 46px;
    background: var(--ed-white);
    border: 1px solid var(--ed-line);
    transition: border-color .4s var(--ed-ease), box-shadow .4s var(--ed-ease), transform .4s var(--ed-ease);
}
@media (hover: hover) {
    .ed-card:hover {
        border-color: transparent;
        box-shadow: 0 34px 70px -40px rgba(19, 19, 19, .3);
        transform: translateY(-4px);
    }
}
.ed-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    margin-bottom: 34px;
    background: var(--ed-svc, var(--ed-blush));
}
.ed-card__icon img { width: 56%; height: auto; }
.ed-card .ed-title { margin-bottom: 14px; }
.ed-card .ed-text { margin-bottom: 22px; }
.ed-card--media { padding: 0; }
.ed-card--media .ed-card__body { padding: 34px 36px 40px; }
.ed-card__media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--ed-cream);
}
.ed-card__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1024px) {
    .ed-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .ed-cards, .ed-cards--2 { grid-template-columns: 1fr; gap: 20px; }
    .ed-card { padding: 32px 24px; }
    .ed-card--media { padding: 0; }
    .ed-card--media .ed-card__body { padding: 26px 22px 30px; }
}

/* Certificates */
.ed-certs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    max-width: 980px;
    margin: 0 auto;
}
.ed-cert {
    display: block;
    text-align: center;
}
.ed-cert__frame {
    display: block;
    padding: 18px;
    margin-bottom: 22px;
    background: var(--ed-white);
    box-shadow: 0 30px 60px -36px rgba(19, 19, 19, .35);
    transition: transform .5s var(--ed-ease);
}
.ed-cert__frame img { width: 100%; height: auto; display: block; }
@media (hover: hover) {
    .ed-cert:hover .ed-cert__frame { transform: translateY(-6px) rotate(-.6deg); }
}
.ed-cert__title {
    font-family: var(--ed-sans);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ed-ink);
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.ed-contact {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    min-height: 680px;
    background: var(--ed-cream);
}
.ed-contact__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 110px var(--ed-gutter) 110px max(var(--ed-gutter), calc((100vw - 1400px) / 2 + var(--ed-gutter)));
}
.ed-contact__list {
    display: grid;
    gap: 0;
    margin: 44px 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(19, 19, 19, .12);
}
.ed-contact__row {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(19, 19, 19, .12);
}
.ed-contact__label {
    font-family: var(--ed-sans);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ed-muted);
    padding-top: 4px;
}
.ed-contact__value,
.ed-contact__value a {
    font-family: var(--ed-display);
    font-size: 20px;
    line-height: 1.35;
    color: var(--ed-ink);
}
.ed-contact__value a:hover { color: var(--ed-coral); }
.ed-contact__map {
    position: relative;
    min-height: 420px;
}
.ed-contact__map #map {
    background: radial-gradient(circle at 60% 40%, rgba(254, 116, 116, .14), transparent 45%), #EFEAE8;
    position: absolute;
    inset: 0;
    min-height: 0 !important;
    height: 100%;
}
.ed-staff {
    display: flex;
    flex-wrap: wrap;
    gap: 22px 40px;
    margin-top: 34px;
}
.ed-staff__name {
    display: block;
    font-family: var(--ed-display);
    font-size: 17px;
    color: var(--ed-ink);
}
.ed-staff__role {
    display: block;
    font-family: var(--ed-sans);
    font-size: 13px;
    color: var(--ed-muted);
}
@media (max-width: 1024px) {
    .ed-contact { grid-template-columns: 1fr; }
    .ed-contact__body { padding: var(--ed-section) var(--ed-gutter); }
    .ed-contact__map { min-height: 380px; }
}
@media (max-width: 767px) {
    .ed-contact__row { grid-template-columns: 1fr; gap: 4px; }
    .ed-contact__value, .ed-contact__value a { font-size: 18px; }
}

/* Instagram */
.instagram-section { padding: 90px 0 0; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.ed-footer {
    padding: 110px 0 36px;
    background: var(--ed-ink);
    color: rgba(255, 255, 255, .72);
}
.ed-footer a { color: rgba(255, 255, 255, .86); transition: color .25s var(--ed-ease); }
.ed-footer a:hover { color: var(--ed-coral); }
.ed-footer__top {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
    gap: 40px;
    padding-bottom: 70px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.ed-footer__claim {
    margin: 0;
    padding: 0;
    font-family: var(--ed-display);
    font-weight: 400;
    font-size: clamp(32px, 4vw, 64px);
    line-height: 1.04;
    letter-spacing: -.03em;
    text-transform: uppercase;
    color: var(--ed-white);
}
.ed-footer__claim em {
    font-style: normal;
    color: var(--ed-coral);
}
.ed-footer__top .ed-actions { justify-content: flex-end; margin-top: 0; }
.ed-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.6fr));
    gap: 40px;
    padding: 64px 0;
}
.ed-footer__brand img {
    max-width: 120px;
    filter: brightness(0) invert(1);
    opacity: .95;
}
.ed-footer__tagline {
    max-width: 280px;
    margin-top: 20px;
    font-family: var(--ed-sans);
    font-size: 14px;
    line-height: 1.6;
}
.ed-footer__h {
    display: block;
    margin-bottom: 20px;
    font-family: var(--ed-sans);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ed-coral);
}
.ed-footer__nav a,
.ed-footer__nav span,
.ed-footer__contacts a,
.ed-footer__contacts span {
    display: block;
    margin-bottom: 12px;
    font-family: var(--ed-sans);
    font-size: 15px;
    line-height: 1.5;
}
.ed-footer__nav span { color: var(--ed-coral); }
.ed-footer__social {
    display: flex;
    gap: 10px;
}
.ed-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    transition: background-color .3s var(--ed-ease), border-color .3s var(--ed-ease);
}
.ed-footer__social a:hover {
    background: var(--ed-coral);
    border-color: var(--ed-coral);
}
.ed-footer__social a:hover path { fill: var(--ed-white); }
.ed-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-family: var(--ed-sans);
    font-size: 13px;
}
.ed-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
}
.ed-footer__legal .footer-bottom-block__item,
.ed-footer__legal a,
.ed-footer__legal span {
    display: inline;
    flex: none !important;
    text-align: left !important;
    font-size: 13px;
}
@media (max-width: 1024px) {
    .ed-footer__top { grid-template-columns: 1fr; }
    .ed-footer__top .ed-actions { justify-content: flex-start; }
    .ed-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .ed-footer { padding: 72px 0 28px; }
    .ed-footer__top { padding-bottom: 48px; }
    .ed-footer__grid { grid-template-columns: 1fr; gap: 34px; padding: 44px 0; }
    .ed-footer__bottom { flex-direction: column; }
}

/* ==========================================================================
   ARTICLE (policies, default pages)
   ========================================================================== */
.ed-page-head {
    padding: 160px 0 70px;
    background: var(--ed-cream);
    text-align: center;
}
.ed-page-head .breadcrumbs { margin-bottom: 30px; }
.ed-article {
    padding: 80px 0 var(--ed-section);
}
.ed-article .privacy-block {
    max-width: 820px;
    padding: 0 var(--ed-gutter);
}
.ed-article .privacy-block h2 {
    font-family: var(--ed-display);
}
@media (max-width: 767px) {
    .ed-page-head { padding: 110px 0 44px; }
    .ed-article { padding-top: 48px; }
}

/* ==========================================================================
   404
   ========================================================================== */
.ed-404 {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 140px 0 100px;
    text-align: center;
    background: var(--ed-cream);
}
.ed-404__code {
    display: block;
    font-family: var(--ed-display);
    font-size: clamp(120px, 22vw, 320px);
    line-height: .9;
    letter-spacing: -.06em;
    color: transparent;
    -webkit-text-stroke: 2px var(--ed-coral);
}
.ed-404 .ed-actions { justify-content: center; }
.ed-404 .error-links { margin-top: 36px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .ed-badge svg, .ed-seal__ring svg, .ed-collage__seal svg, .ed-marquee__track { animation: none !important; }
    .reveal-on [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ---------- v3 fixes ---------- */
.process-section .ed-head h2 { max-width: none; margin: 0; }
.process-section .ed-head { margin-bottom: 56px; }
.hero-overlay .ed-eyebrow { margin-bottom: 26px; }
@media (max-width: 767px) {
    .hero-overlay .ed-eyebrow { display: none; }
    .ed-hero__title { font-size: 30px; padding-bottom: 12px; }
    .hero-overlay__actions { flex-direction: column; flex-wrap: nowrap; gap: 10px; }
    .hero-overlay__actions .ed-btn { width: 100%; min-height: 48px; }
}
.ed-intro-mark { width: 110px; margin-top: 34px; }
.ed-intro-mark img { width: 100%; height: auto; }
.ed-text--lg p { font-size: 18px; color: var(--ed-muted); }
@media (max-width: 1279px) {
    .header .logo-box { position: relative; z-index: 3; }
}

/* ---------- Intro: single photo shown in full (no crop, no overlay photo) ---------- */
.ed-collage {
    padding: 0 28px 28px 0;
}
.ed-collage__main {
    width: 100%;
    max-height: none;
    aspect-ratio: auto;
}
.ed-collage__main img {
    width: 100%;
    height: auto;
    object-fit: initial;
}
@media (max-width: 767px) {
    .ed-collage { padding: 0 14px 14px 0; }
}

/* ---------- v3.0.2 tweaks ---------- */
/* Centered eyebrows: no leading dash */
.ed-eyebrow--center::before { display: none; }

/* Process numbers: solid saturated coral instead of outline */
.process-list__num {
    color: var(--ed-coral);
    -webkit-text-stroke: 0;
}
.process-list__item.is-current .process-list__num {
    color: var(--ed-white);
    -webkit-text-stroke: 0;
}

/* Marquee: light pink fill instead of outline */
.ed-marquee__item:nth-child(even) {
    color: #FCB9B9;
    -webkit-text-stroke: 0;
}

/* Hero badge: bigger monogram */
.ed-badge__center {
    font-size: 80px;
    line-height: 1;
    padding-top: 4px;
}

/* Rotating ring texts: evenly spread around the whole circle (textLength) */
.ed-badge text,
.ed-seal__ring text,
.ed-collage__seal text {
    letter-spacing: 0;
    text-transform: uppercase;
}
.ed-seal__ring text,
.ed-collage__seal text {
    font-size: 11.5px;
}

/* Hero badge monogram: optically centred SVG letter (does not rotate) */
.ed-badge .ed-badge__mono {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: none;
}
.ed-badge__mono text {
    font-family: var(--ed-display);
    font-size: 80px;
    letter-spacing: 0;
    text-transform: none;
    fill: var(--ed-coral);
}


/* Inner page hero title: two lines, second line kept together */
.ed-nowrap { white-space: nowrap; }
.ed-page-hero .ed-title--xl { font-size: clamp(30px, 4.3vw, 74px); }

/* ---------- Front page: R&D lab feature ---------- */
.ed-labfeature__media { aspect-ratio: 4 / 3; }
.ed-labfeature__body .ed-title { font-size: clamp(30px, 3.2vw, 50px); }

/* Hero badge monogram: the letter is an outline path (Tenor Sans "A"),
   geometrically centred in the ring and independent of font loading */
.ed-badge__mono path { fill: var(--ed-coral); }

/* ==========================================================================
   PAGE TRANSITION — cream curtain with the coral monogram
   ========================================================================== */
.ed-pt {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    background: var(--ed-cream);
    transform: translate3d(0, 100%, 0);
    pointer-events: none;
    will-change: transform;
}
.ed-pt__mono { width: 64px; height: 64px; opacity: 0; transform: translateY(12px); }
.ed-pt__mono path { fill: var(--ed-coral); }
.ed-pt__line { display: block; width: 72px; height: 1px; background: var(--ed-coral); transform: scaleX(0); transform-origin: left; }

/* leaving: curtain rises from the bottom */
html.pt-leave .ed-pt {
    transform: none;
    pointer-events: auto;
    transition: transform .55s cubic-bezier(.76, 0, .24, 1);
}
html.pt-leave .ed-pt__mono { opacity: 1; transform: none; transition: opacity .35s .25s, transform .45s .25s cubic-bezier(.2, .7, .2, 1); }
html.pt-leave .ed-pt__line { transform: scaleX(1); transition: transform .6s .3s cubic-bezier(.65, 0, .35, 1); }

/* arriving: curtain is closed on first paint ... */
html.pt-in .ed-pt { transform: none; }
html.pt-in .ed-pt__mono { opacity: 1; transform: none; }
html.pt-in .ed-pt__line { transform: scaleX(1); }
/* ... then lifts away upwards */
html.pt-reveal .ed-pt {
    transform: translate3d(0, -100%, 0);
    transition: transform .7s cubic-bezier(.76, 0, .24, 1);
}
html.pt-reveal .ed-pt__mono { opacity: 0; transition: opacity .25s; }

@media (prefers-reduced-motion: reduce) {
    .ed-pt { display: none; }
}
@media print { .ed-pt { display: none; } }

/* ==========================================================================
   ALL SCREEN FORMATS
   ========================================================================== */
/* Long words never push out of their box */
.ed-title, .ed-hero__title, .ed-lead, .ed-text { overflow-wrap: break-word; }

/* Small phones (≤ 480px): headline scale for narrow columns */
@media (max-width: 480px) {
    .ed-title--xl, h1.ed-title--xl { font-size: clamp(26px, 8.4vw, 40px); }
    .ed-nowrap { white-space: normal; }
}

/* Wide and ultra-wide screens: contact text column keeps a readable width
   (the left padding grows with the screen, so the column grows with it too) */
@media (min-width: 1600px) {
    .ed-contact { grid-template-columns: calc((100vw - 1400px) / 2 + 620px) minmax(0, 1fr); }
}

/* Landscape phones and other short screens: the hero fills the screen and
   grows with its content (video becomes a background), compact typography */
@media (orientation: landscape) and (max-height: 600px) and (max-width: 1024px) {
    .top-section1 .video-box { position: absolute; inset: 0; }
    .top-section1 .video-box video { width: 100%; height: 100%; aspect-ratio: auto; }
    .top-section1 .video-box::after { background: linear-gradient(90deg, rgba(19, 19, 19, .72) 0%, rgba(19, 19, 19, .42) 55%, rgba(19, 19, 19, .1) 100%); }
    .hero-overlay { position: relative; min-height: 100vh; min-height: 100svh; padding: 84px max(40px, env(safe-area-inset-right)) 24px max(40px, env(safe-area-inset-left)); align-items: center; }
    .hero-overlay__inner { max-width: 560px; }
    .hero-overlay .ed-eyebrow { display: none; }
    .ed-hero__title { font-size: clamp(24px, 7.2vh, 34px); padding-bottom: 10px; }
    .hero-overlay__text { font-size: 14px; line-height: 1.5; padding-bottom: 16px; max-width: 480px; }
    .hero-overlay__actions { flex-direction: row; flex-wrap: wrap; gap: 10px; }
    .hero-overlay__actions .ed-btn { width: auto; min-height: 44px; padding-top: 0; padding-bottom: 0; line-height: 44px; }
}

/* Notched phones (iPhone landscape, Android cut-outs): keep content clear of
   the notch and the home indicator; backgrounds still run edge to edge */
@supports (padding: max(0px)) {
    :root { --ed-gutter: max(40px, env(safe-area-inset-left), env(safe-area-inset-right)); }
    @media (max-width: 1024px) { :root { --ed-gutter: max(30px, env(safe-area-inset-left), env(safe-area-inset-right)); } }
    @media (max-width: 767px)  { :root { --ed-gutter: max(20px, env(safe-area-inset-left), env(safe-area-inset-right)); } }
    .ed-footer { padding-bottom: max(36px, calc(env(safe-area-inset-bottom) + 20px)); }
}

/* Mobile browsers: full-screen blocks follow the visible screen height */
.ed-404 { min-height: 100svh; }

/* Very narrow screens (Galaxy Fold, 280–319px) */
@media (max-width: 340px) {
    :root { --ed-gutter: 16px; }
    .ed-title, h1.ed-title, h2.ed-title, h3.ed-title { font-size: 25px; }
    .ed-hero__title { font-size: 25px; }
    .ed-btn { padding-left: 18px; padding-right: 18px; letter-spacing: .08em; }
}
/* Legacy 320px minimum removed: header/footer fit 280px foldables too */
body, .header, .footer, .container, .privacy-block { min-width: 0 !important; }

/* Very narrow phones: the tagline next to the logo would touch the menu button */
@media (max-width: 359px) { .header .logo-box span { display: none !important; } }

/* Footer claim across the whole block (no button) */
.ed-footer__top { display: block; container-type: inline-size; }
.ed-footer__claim { font-size: clamp(30px, 7.4cqi, 120px); line-height: 1; letter-spacing: -.035em; }
.ed-footer__claim span, .ed-footer__claim em { display: block; white-space: nowrap; }
@media (max-width: 767px) {
    .ed-footer__claim { font-size: clamp(30px, 10.5vw, 48px) !important; }
    .ed-footer__claim span, .ed-footer__claim em { white-space: normal; }
}

/* Menu button: classic three-line "hamburger" that turns into a cross */
@media (max-width: 1279px) {
    .header .burger {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        top: 50%;
        left: auto;
        right: calc(var(--ed-gutter) - 9px);
        width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
        transform: translateY(-50%) !important;
        -webkit-tap-highlight-color: transparent;
    }
    .header .burger .burger__item {
        position: static !important;
        display: block;
        width: 26px !important;
        height: 2px !important;
        border-radius: 2px;
        background-color: var(--ed-coral);
        transform: none !important;
        transition: transform .3s var(--ed-ease), opacity .2s var(--ed-ease);
    }
    .header.menu-open .burger .burger__item:nth-child(1) { transform: translateY(8px) rotate(45deg) !important; }
    .header.menu-open .burger .burger__item:nth-child(2) { opacity: 0; }
    .header.menu-open .burger .burger__item:nth-child(3) { transform: translateY(-8px) rotate(-45deg) !important; }
}

/* ==========================================================================
   VACANCIES
   ========================================================================== */
.ed-vacancies { background: var(--ed-white); }
.ed-vacancies--page { padding-top: 90px; }
.ed-vac-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--ed-line);
}
.ed-vac { border-bottom: 1px solid var(--ed-line); }
.ed-vac__link {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto 48px;
    align-items: center;
    gap: 24px;
    padding: 30px 24px 30px 0;
    color: var(--ed-ink);
    text-decoration: none;
    transition: background-color .35s var(--ed-ease), padding .35s var(--ed-ease);
}
.ed-vac__num {
    font-family: var(--ed-display);
    font-size: 18px;
    color: var(--ed-coral);
    padding-left: 4px;
}
.ed-vac__main { display: grid; gap: 8px; min-width: 0; }
.ed-vac__title {
    font-family: var(--ed-display);
    font-size: clamp(21px, 2vw, 30px);
    line-height: 1.15;
    letter-spacing: -.01em;
    text-transform: uppercase;
    overflow-wrap: break-word;
}
.ed-vac__meta {
    font-family: var(--ed-sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ed-muted, #8a8380);
}
.ed-vac__excerpt {
    max-width: 680px;
    margin-top: 4px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ed-text);
}
.ed-vac__salary {
    font-family: var(--ed-sans);
    font-weight: 600;
    font-size: 16px;
    white-space: nowrap;
    color: var(--ed-ink);
}
.ed-vac__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--ed-line);
    border-radius: 50%;
    transition: background-color .35s var(--ed-ease), border-color .35s var(--ed-ease), transform .35s var(--ed-ease);
}
.ed-vac__arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
@media (hover: hover) {
    .ed-vac__link:hover { background: var(--ed-cream); padding-left: 18px; }
    .ed-vac__link:hover .ed-vac__arrow { background: var(--ed-coral); border-color: var(--ed-coral); color: var(--ed-white); transform: translateX(4px); }
}
.ed-vac__link:focus-visible { outline: 2px solid var(--ed-coral); outline-offset: 2px; }
.ed-vac-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 40px;
    margin-top: 44px;
}
.ed-vac-foot__note { margin: 0; color: var(--ed-text); }
.ed-vac-foot__note .ed-link { margin-left: 10px; }
.ed-vac-empty { max-width: 720px; padding: 20px 0 10px; }
.ed-vac-empty .ed-lead { margin-top: 18px; }

/* Head of the vacancies pages */
.ed-vac-head__lead { max-width: 640px; margin: 22px auto 0; }
.ed-vac-head__count {
    margin: 18px 0 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ed-coral);
}
.ed-vac-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}
.ed-vac-chips li {
    padding: 9px 18px;
    border: 1px solid rgba(19, 19, 19, .16);
    border-radius: 999px;
    font-size: 14px;
    color: var(--ed-ink);
    background: var(--ed-white);
}
.ed-vac-chips li.is-accent { border-color: var(--ed-coral); background: var(--ed-coral); color: var(--ed-white); }

/* One vacancy */
.ed-vac-single { padding-top: 80px; }
.ed-vac-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 70px;
    align-items: start;
}
.ed-vac-content.privacy-block { max-width: none; min-width: 0; margin: 0; padding: 0; }
.ed-vac-content h2, .ed-vac-content h3 {
    margin: 36px 0 14px;
    font-family: var(--ed-display);
    font-weight: 400;
    font-size: 24px;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--ed-ink);
}
.ed-vac-content > :first-child { margin-top: 0; }
.ed-vac-content p, .ed-vac-content li { font-size: 17px; line-height: 1.7; color: var(--ed-text); }
.ed-vac-content ul { padding-left: 0; list-style: none; }
.ed-vac-content ul li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.ed-vac-content ul li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 12px; height: 1px; background: var(--ed-coral); }
.ed-vac-apply {
    position: sticky;
    top: 110px;
    padding: 36px 32px;
    background: var(--ed-cream);
    border: 1px solid var(--ed-line);
}
.ed-vac-apply__title {
    margin: 0 0 22px;
    font-family: var(--ed-display);
    font-size: 24px;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--ed-ink);
}
.ed-vac-apply__facts { margin: 0 0 26px; border-top: 1px solid rgba(19, 19, 19, .12); }
.ed-vac-apply__facts > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(19, 19, 19, .12);
}
.ed-vac-apply__facts dt { font-size: 13px; color: var(--ed-muted, #8a8380); }
.ed-vac-apply__facts dd { margin: 0; font-weight: 600; font-size: 14px; text-align: right; color: var(--ed-ink); }
.ed-vac-apply__actions { display: grid; gap: 10px; }
.ed-vac-apply__actions .ed-btn { width: 100%; }
.ed-vac-apply__note { margin: 18px 0 0; font-size: 14px; color: var(--ed-text); overflow-wrap: anywhere; }
.ed-vac-apply__note a { color: var(--ed-coral); }
.ed-vac-closed {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
    margin-bottom: 40px;
    padding: 20px 24px;
    border-left: 3px solid var(--ed-coral);
    background: var(--ed-cream);
}
.ed-vac-back { margin: 60px 0 0; }
.ed-link--back { flex-direction: row-reverse; }
.ed-link--back::after { transform: scaleX(-1); }

@media (max-width: 1024px) {
    .ed-vac-layout { grid-template-columns: 1fr; gap: 44px; }
    .ed-vac-apply { position: static; }
}
@media (max-width: 767px) {
    .ed-vac__link { grid-template-columns: minmax(0, 1fr) 40px; gap: 10px 14px; padding: 24px 0; }
    .ed-vac__num { display: none; }
    .ed-vac__salary { grid-column: 1; grid-row: 2; font-size: 15px; color: var(--ed-coral); }
    .ed-vac__arrow { grid-column: 2; grid-row: 1 / span 2; width: 40px; height: 40px; }
    .ed-vacancies--page, .ed-vac-single { padding-top: 48px; }
    .ed-vac-apply { padding: 28px 22px; }
    .ed-vac-content p, .ed-vac-content li { font-size: 16px; }
    .ed-vac-foot { flex-direction: column; align-items: flex-start; }
    .ed-vac-foot .ed-btn { width: 100%; }
}

/* Safety: the fitted footer claim never causes sideways scrolling */
.ed-footer { overflow-x: clip; }
.ed-vac__link, .ed-vac__excerpt, .ed-vac-foot__note { font-family: var(--ed-sans); }
.ed-vac-content h2, .ed-vac-content h3, .ed-vac-content h4 { text-align: left; }
.ed-vac-apply__note, .ed-vac-apply__facts { font-family: var(--ed-sans); }

/* Header with six menu items: languages never wrap, spacing tightens on laptops */
.header .lang-box { flex-shrink: 0; white-space: nowrap; }
.header .lang-box ul, .header .lang-box li { white-space: nowrap; }
@media (min-width: 1280px) and (max-width: 1439px) {
    .header { gap: 20px; }
    .header nav ul:not(.language-chooser) { gap: 22px; }
    .header .header-cta { padding-left: 18px; padding-right: 18px; }
}

/* CV contact: e-mail address */
.ed-cv__email {
    font-weight: 600;
    color: var(--ed-coral);
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    overflow-wrap: anywhere;
}
.ed-vac-foot__note { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 16px; }
.ed-vac-apply__note { display: grid; gap: 6px; }

/* Links inside the «Як ми працюємо» step texts (ISO 22716) */
.process-list__text a { color: var(--ed-coral); text-decoration: underline; text-underline-offset: 3px; }
.process-list__text a { color: inherit; }



/* ==========================================================================
   FULL PRODUCT RANGE (home): category tiles that open their product list
   ========================================================================== */
.ed-range { background: var(--ed-white); }
.ed-range__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px 40px;
    margin-bottom: 44px;
}
.ed-range__info { display: grid; gap: 6px; text-align: right; }
.ed-range__meta {
    margin: 0;
    font-family: var(--ed-sans);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ed-coral);
}
.ed-range__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: row dense;
    gap: 12px;
    align-items: start;
}
/* Without JS the opened category becomes a full-width panel */
.ed-range__grid:not(.is-js) .ed-range__group[open] { grid-column: 1 / -1; }
.ed-range__grid:not(.is-js) .ed-range__group[open] .ed-range__list { columns: 4 200px; column-gap: 40px; }
/* With JS: tiles keep their order, the products open in a panel under the row */
.ed-range__grid.is-js { grid-auto-flow: row; }
.ed-range__grid.is-js .ed-range__group > .ed-range__list { display: none; }
.ed-range__panel {
    grid-column: 1 / -1;
    padding: 22px 28px 20px;
    border: 1px solid var(--ed-coral);
    background: var(--ed-cream);
    animation: ed-range-in .3s var(--ed-ease);
}
.ed-range__panel .ed-range__list { padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 40px; }
@media (max-width: 1100px) { .ed-range__panel .ed-range__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .ed-range__panel .ed-range__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ed-range__list li { break-inside: avoid; }
@media (max-width: 1100px) { .ed-range__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .ed-range__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ed-range__group {
    border: 1px solid var(--ed-line);
    background: var(--ed-white);
    transition: border-color .25s var(--ed-ease), background-color .25s var(--ed-ease), box-shadow .25s var(--ed-ease);
}
.ed-range__summary {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding: 14px 18px;
    list-style: none;
    cursor: pointer;
    user-select: none;
}
.ed-range__summary::-webkit-details-marker { display: none; }
.ed-range__summary:focus-visible { outline: 2px solid var(--ed-coral); outline-offset: -2px; }
.ed-range__num { font-family: var(--ed-display); font-size: 14px; color: var(--ed-coral); }
.ed-range__name {
    flex: 1;
    margin: 0;
    font-family: var(--ed-display);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--ed-ink);
}
.ed-range__count {
    min-width: 26px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--ed-blush, #FDD9E4);
    font-family: var(--ed-sans);
    font-weight: 600;
    font-size: 12px;
    text-align: center;
    color: var(--ed-ink);
}
.ed-range__toggle {
    position: relative;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(19, 19, 19, .18);
    border-radius: 50%;
    transition: background-color .25s var(--ed-ease), border-color .25s var(--ed-ease), transform .3s var(--ed-ease);
}
.ed-range__toggle::before,
.ed-range__toggle::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 1.5px;
    margin: -.75px 0 0 -5px;
    background: var(--ed-ink);
    transition: background-color .25s var(--ed-ease);
}
.ed-range__toggle::after { transform: rotate(90deg); }
.ed-range__group[open],
.ed-range__group.is-active { border-color: var(--ed-coral); background: var(--ed-cream); }
.ed-range__group[open] .ed-range__toggle,
.ed-range__group.is-active .ed-range__toggle { transform: rotate(45deg); background: var(--ed-coral); border-color: var(--ed-coral); }
.ed-range__group[open] .ed-range__toggle::before,
.ed-range__group[open] .ed-range__toggle::after,
.ed-range__group.is-active .ed-range__toggle::before,
.ed-range__group.is-active .ed-range__toggle::after { background: var(--ed-white); }
@media (hover: hover) {
    .ed-range__group:not([open]):not(.is-active):hover { border-color: var(--ed-coral); box-shadow: 0 10px 24px -18px rgba(254, 116, 116, .55); }
    .ed-range__group:not([open]):not(.is-active):hover .ed-range__toggle { border-color: var(--ed-coral); }
}
.ed-range__list { margin: 0; padding: 2px 18px 16px 44px; list-style: none; }
.ed-range__group[open] .ed-range__list { animation: ed-range-in .3s var(--ed-ease); }
@keyframes ed-range-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.ed-range__list li {
    position: relative;
    padding: 5px 0 5px 18px;
    font-family: var(--ed-sans);
    font-size: 15px;
    line-height: 1.45;
    color: var(--ed-text);
}
.ed-range__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 15px;
    width: 9px;
    height: 1px;
    background: var(--ed-coral);
}
.ed-range__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 40px;
    margin-top: 40px;
    padding: 34px 40px;
    background: var(--ed-cream);
}
.ed-range__cta p {
    margin: 0;
    font-family: var(--ed-display);
    font-size: clamp(20px, 1.8vw, 26px);
    line-height: 1.25;
    text-transform: uppercase;
    color: var(--ed-ink);
}
@media (max-width: 767px) {
    .ed-range__head { margin-bottom: 22px; }
    .ed-range__info { text-align: left; }
    .ed-range__grid { grid-template-columns: 1fr; gap: 8px; }
    .ed-range__group[open] .ed-range__list, .ed-range__panel .ed-range__list { columns: 1; grid-template-columns: 1fr; }
    .ed-range__panel { padding: 16px 18px 14px; }
    .ed-range__summary { min-height: 56px; padding: 12px 14px; }
    .ed-range__list { padding-left: 40px; }
    .ed-range__cta { padding: 26px 22px; margin-top: 30px; }
    .ed-range__cta .ed-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .ed-range__group[open] .ed-range__list, .ed-range__panel { animation: none; }
}

.ed-range__group[open] .ed-range__toggle,
.ed-range__group.is-active .ed-range__toggle { transform: rotate(180deg); }
.ed-range__group[open] .ed-range__toggle::before,
.ed-range__group.is-active .ed-range__toggle::before { border-color: var(--ed-white); }

/* ==========================================================================
   HERO VIDEO: exactly one screen on every resolution
   The section is as tall as the visible screen (svh: no jump when mobile
   browser bars hide), the video covers it edge to edge (object-fit: cover),
   and the text grows the section only if it really doesn't fit.
   ========================================================================== */
.top-section1 { position: relative; overflow: hidden; }
.top-section1 .video-box { position: absolute; inset: 0; }
.top-section1 .video-box video {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    object-fit: cover;
    object-position: 50% 50%;
}
.hero-overlay {
    position: relative;
    inset: auto;
    box-sizing: border-box;
    min-height: 100vh;
    min-height: 100svh;
}
/* very short windows (e.g. a laptop with a docked browser): keep a sane minimum */
@media (min-width: 1025px) and (max-height: 620px) {
    .hero-overlay { min-height: 620px; }
}
/* the "A" badge always sits inside the visible hero, scaled for smaller laptops */
.ed-badge { z-index: 2; }
@media (min-width: 1025px) and (max-width: 1440px), (min-width: 1025px) and (max-height: 820px) {
    .ed-badge { width: 124px; height: 124px; right: 40px; bottom: 40px; }
}
@media (min-width: 1025px) and (max-height: 700px) {
    .ed-badge { display: none; }
}

/* «Асортимент продукції» page head */
.ed-range-head__lead { max-width: 720px; margin: 22px auto 0; }
.ed-range-head__count {
    margin: 18px 0 0;
    font-family: var(--ed-sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ed-coral);
}
.ed-range-head + .ed-range { padding-top: 70px; }
@media (max-width: 767px) { .ed-range-head + .ed-range { padding-top: 40px; } }

/* Header with seven menu items on laptops: everything fits in one line */
.header .header-cta { flex-shrink: 0; white-space: nowrap; }
@media (min-width: 1280px) and (max-width: 1439px) {
    .header { padding-left: 36px !important; padding-right: 36px !important; gap: 18px; }
    .header nav ul:not(.language-chooser) { gap: 18px; }
    .header nav ul:not(.language-chooser) a,
    .header nav ul:not(.language-chooser) span { font-size: 13.5px; }
}
@media (min-width: 1440px) and (max-width: 1599px) {
    .header nav ul:not(.language-chooser) { gap: 22px; }
}

/* The tagline next to the logo shows only where seven menu items still fit */
@media (min-width: 1280px) and (max-width: 1759px) {
    .header .logo-box span { display: none !important; }
}

/* Category toggle: chevron down (closed) / chevron up (open) instead of + / × */
.ed-range__toggle::after { display: none; }
.ed-range__toggle::before {
    width: 7px;
    height: 7px;
    margin: -5.5px 0 0 -3.5px;
    background: none !important;
    border-right: 1.5px solid var(--ed-ink);
    border-bottom: 1.5px solid var(--ed-ink);
    transform: rotate(45deg);
    transition: border-color .25s var(--ed-ease);
}
.ed-range__name { padding: 0 !important; line-height: 1.2 !important; align-self: center; }

/* ==========================================================================
   SCALABLE MENU (js/nav.js): dropdowns + automatic «Ще» on desktop
   ========================================================================== */
.nav-more[hidden] { display: none !important; }
.submenu-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
}
.submenu-toggle::after {
    content: "";
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform .25s var(--ed-ease);
}
.menu-item-has-children.is-open > .submenu-toggle::after { transform: translateY(1px) rotate(225deg); }
.submenu-toggle:focus-visible { outline: 2px solid var(--ed-coral); outline-offset: 2px; border-radius: 4px; }

@media (min-width: 1280px) {
    .header .logo-box,
    .header .lang-box,
    .header .header-cta { flex-shrink: 0; }
    .header nav,
    .header nav > div { min-width: 0; }
    .header nav > div > ul { flex-wrap: nowrap; min-width: 0; }
    .header nav > div > ul > li { position: relative; flex-shrink: 0; }

    .header nav .menu-item-has-children { display: flex; align-items: center; gap: 6px; }
    .header nav .submenu-toggle { width: 18px; height: 28px; color: var(--astra-black, #131313); }
    .header nav .menu-item-has-children:hover > .submenu-toggle,
    .header nav .menu-item-has-children.is-open > .submenu-toggle { color: var(--ed-coral); }

    /* «Ще» looks exactly like a menu link */
    .header nav .nav-more__btn {
        width: auto;
        gap: 8px;
        padding: 8px 0;
        font-family: "Manrope", sans-serif;
        font-weight: 600;
        font-size: inherit;
        line-height: 18px;
        white-space: nowrap;
        color: var(--astra-black, #131313);
    }
    .header nav ul:not(.language-chooser) .nav-more__btn { font-size: 14px; }
    .header nav .nav-more.has-current > .nav-more__btn,
    .header nav .nav-more:hover > .nav-more__btn,
    .header nav .nav-more.is-open > .nav-more__btn { color: var(--ed-coral); }

    /* dropdown panel */
    .header nav ul.sub-menu {
        position: absolute;
        top: 100%;
        left: -22px;
        z-index: 20;
        display: block;
        min-width: 240px;
        margin: 0;
        padding: 10px 0;
        list-style: none;
        background: var(--ed-white);
        border: 1px solid var(--ed-line);
        box-shadow: 0 22px 44px -24px rgba(19, 19, 19, .28);
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transition: opacity .2s var(--ed-ease), transform .25s var(--ed-ease), visibility .2s;
    }
    .header nav .nav-more > ul.sub-menu { left: auto; right: -22px; }
    /* invisible bridge so the panel doesn't close on the way down */
    .header nav ul.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
    .header nav .menu-item-has-children:hover > ul.sub-menu,
    .header nav .menu-item-has-children:focus-within > ul.sub-menu,
    .header nav .menu-item-has-children.is-open > ul.sub-menu {
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .header nav ul.sub-menu li { display: block; position: relative; }
    .header nav ul.sub-menu a,
    .header nav ul.sub-menu span {
        display: block;
        padding: 10px 24px !important;
        font-size: 14px;
        line-height: 1.35;
        white-space: nowrap;
        color: var(--astra-black, #131313);
        transition: background-color .2s var(--ed-ease), color .2s var(--ed-ease);
    }
    .header nav ul.sub-menu a::after,
    .header nav ul.sub-menu span::after { display: none !important; }
    .header nav ul.sub-menu a:hover,
    .header nav ul.sub-menu a:focus-visible { background: var(--ed-cream) !important; color: var(--ed-coral); }
    .header nav ul.sub-menu span { color: var(--ed-coral); }
    /* a nested group inside «Ще» or a 3rd level: show inline, indented */
    .header nav ul.sub-menu .menu-item-has-children { display: block; }
    .header nav ul.sub-menu .submenu-toggle { display: none; }
    .header nav ul.sub-menu ul.sub-menu {
        position: static;
        min-width: 0;
        padding: 0 0 6px 14px;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .header nav ul.sub-menu ul.sub-menu::before { display: none; }
    .header nav ul.sub-menu ul.sub-menu a { padding-top: 7px !important; padding-bottom: 7px !important; font-weight: 500; }
}

/* Mobile full-screen menu: nested items expand under their parent */
@media (max-width: 1279px) {
    .header nav > div > ul > li.menu-item-has-children { position: relative; }
    .header nav > div > ul > li.menu-item-has-children > a,
    .header nav > div > ul > li.menu-item-has-children > span { padding-right: 56px !important; }
    .header nav .submenu-toggle {
        position: absolute;
        top: 12px;
        right: 0;
        width: 44px;
        height: 44px;
        border: 1px solid var(--ed-line);
        border-radius: 50%;
        color: var(--ed-ink);
    }
    .header nav ul.sub-menu { display: none; margin: 0; padding: 4px 0 14px 34px; list-style: none; border-bottom: 1px solid var(--ed-line); }
    .header nav .menu-item-has-children.is-open > ul.sub-menu { display: block; }
    .header nav ul:not(.language-chooser) ul.sub-menu a,
    .header nav ul:not(.language-chooser) ul.sub-menu span {
        padding: 10px 0 !important;
        border-bottom: 0 !important;
        font-family: var(--ed-sans);
        font-size: 17px;
        letter-spacing: 0;
        text-transform: none;
    }
    .header nav ul:not(.language-chooser) ul.sub-menu li a::before,
    .header nav ul:not(.language-chooser) ul.sub-menu li > span::before { content: none; counter-increment: none; }
}
.header nav ul:not(.language-chooser) .nav-more__label { position: static; padding: 0 !important; color: inherit !important; font: inherit; }
.header nav ul:not(.language-chooser) .nav-more__label::after { content: none !important; }

/* ==========================================================================
   COOKIE CONSENT BANNER (analytics)
   ========================================================================== */
.ed-consent {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 9990;
    display: flex;
    align-items: center;
    gap: 22px 28px;
    max-width: 760px;
    padding: 22px 26px;
    background: var(--ed-white);
    border: 1px solid var(--ed-line);
    box-shadow: 0 24px 60px -28px rgba(19, 19, 19, .35);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .3s var(--ed-ease), transform .35s var(--ed-ease);
}
.ed-consent[hidden] { display: none; }
.ed-consent.is-visible { opacity: 1; transform: none; }
.ed-consent__title {
    margin: 0 0 6px;
    font-family: var(--ed-display);
    font-size: 17px;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--ed-ink);
}
.ed-consent__text p:not(.ed-consent__title) { margin: 0; font-family: var(--ed-sans); font-size: 14px; line-height: 1.55; color: var(--ed-text); }
.ed-consent__text a { color: var(--ed-coral); text-decoration: underline; text-underline-offset: 3px; }
.ed-consent__actions { display: flex; flex-shrink: 0; gap: 10px; }
.ed-consent .ed-btn { min-height: 46px; padding: 0 20px; font-size: 12px; }
.ed-footer__cookies {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.ed-footer__cookies:hover { color: var(--ed-coral); }
@media (max-width: 767px) {
    .ed-consent {
        left: 12px;
        right: 12px;
        bottom: max(12px, env(safe-area-inset-bottom));
        flex-direction: column;
        align-items: stretch;
        padding: 18px 18px 16px;
    }
    .ed-consent__actions .ed-btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .ed-consent { transition: none; } }
@media print { .ed-consent { display: none !important; } }
@media (min-width: 768px) { .ed-consent { left: auto; right: 24px; } }



/* Desktop: parent items open on hover / keyboard focus, so the separate toggle
   button is hidden and a small chevron is drawn inside the link (saves width) */
@media (min-width: 1280px) {
    .header nav > div > ul > li.menu-item-has-children:not(.nav-more) > .submenu-toggle { display: none; }
    .header nav > div > ul > li.menu-item-has-children:not(.nav-more) { gap: 0; }
    .header nav > div > ul > li.menu-item-has-children:not(.nav-more) > a,
    .header nav > div > ul > li.menu-item-has-children:not(.nav-more) > span { padding-right: 14px !important; }
    .header nav > div > ul > li.menu-item-has-children:not(.nav-more) > a::before,
    .header nav > div > ul > li.menu-item-has-children:not(.nav-more) > span::before {
        content: ""; position: absolute; right: 1px; top: 50%; width: 5px; height: 5px; margin-top: -4px;
        border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
    }
}
@media (min-width: 1280px) and (max-width: 1439px) { .header nav ul:not(.language-chooser) { gap: 16px; } }
@media (min-width: 1440px) and (max-width: 1599px) { .header nav ul:not(.language-chooser) { gap: 20px; } }

/* All footer column headings look the same */
.ed-footer .ed-footer__h { display: block; margin-bottom: 18px; font-size: 15px; line-height: 1.5; color: var(--ed-coral); }
.ed-range-head__note { max-width: 720px; margin: 12px auto 0; font-family: var(--ed-sans); font-size: 16px; line-height: 1.6; color: var(--ed-text); }
.ed-range-head__note a { color: var(--ed-coral); text-decoration: underline; text-underline-offset: 3px; }
