/* ===========================
   ABOUT INTRO
=========================== */

.about-intro {
    padding-block: clamp(5rem, 10vw, 9rem);
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(to right,
            rgba(248, 249, 245, .97) 0%,
            rgba(248, 249, 245, .92) 35%,
            rgba(248, 249, 245, .55) 70%,
            rgba(248, 249, 245, .15) 100%),
        url("../images/tree.png");

    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: cover;
}

.about-intro-label,
.section-label {
    margin: 0 0 1rem;

    color: var(--primary-color);
    font-weight: 700;
}

.about-intro-title {
    margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);

    font-size: clamp(3.5rem, 7vw, 7rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.about-intro-description {
    max-width: 58ch;
    margin: 0;

    font-size: clamp(1rem, 1.4vw, 1.25rem);
    line-height: 1.7;

    color: var(--secondary-text-color);
}

/* ===========================
   TABLET
=========================== */

@media (max-width: 64rem) {

    .about-story-grid,
    .about-beginning-inner {
        grid-template-columns: 1fr;
    }

    .about-story-image {
        max-width: 42rem;
    }

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




    .timeline-row {
        grid-template-columns:
            minmax(0, 0.9fr) minmax(0, 1.1fr);

        gap: 2rem;
    }

    .timeline-info {
        grid-template-columns: 4rem minmax(0, 1fr);

        padding-left: 3.5rem;
    }

    .timeline-list::before {
        left: 2rem;
    }

    .timeline-info::before {
        left: 1.6rem;
    }

}


/* ===========================
   MOBILE
=========================== */

@media (max-width: 48rem) {

    .about-intro {
        padding-block: 4rem;
    }

    .about-intro-title {
        font-size: clamp(3rem, 14vw, 4.5rem);
    }

    .about-story-content h2,
    .about-beginning h2,
    .section-heading h2 {
        font-size: clamp(2.25rem, 10vw, 3.25rem);
    }

    .about-story-image img {
        aspect-ratio: 4 / 4.5;
    }

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

    .mission-card,
    .value-card {
        padding: 1.5rem;
    }




    .about-timeline .timeline-list {
        gap: 4rem;
        margin-top: 3rem;
    }

    .about-timeline .timeline-list::before {
        left: 0.75rem;
    }

    .about-timeline .timeline-row,
    .about-timeline .timeline-row.timeline-row-reverse {
        display: flex;
        flex-direction: column;

        gap: 1.5rem;
        width: 100%;
        padding-left: 2.75rem;
    }

    .about-timeline .timeline-row .timeline-info,
    .about-timeline .timeline-row .timeline-photo,
    .about-timeline .timeline-row-reverse .timeline-info,
    .about-timeline .timeline-row-reverse .timeline-photo {
        order: initial;
        width: 100%;
    }

    .about-timeline .timeline-info {
        display: block;

        width: 100%;
        padding-left: 0;
    }

    .about-timeline .timeline-info::before {
        top: 0.3rem;
        left: -2.4rem;
    }

    .about-timeline .timeline-year {
        display: block;

        margin-bottom: 0.75rem;
    }

    .about-timeline .timeline-text {
        width: 100%;
    }

    .about-timeline .timeline-text h3 {
        width: 100%;
        margin-bottom: 0.75rem;

        font-size: clamp(1.8rem, 9vw, 2.5rem);
        line-height: 1.1;
    }

    .about-timeline .timeline-text p {
        width: 100%;
        max-width: none;

        font-size: 1rem;
        line-height: 1.65;
    }

    .about-timeline .timeline-photo {
        width: 100%;
    }

    .about-timeline .timeline-photo img {
        display: block;
        width: 100%;
        height: auto;

        aspect-ratio: 4 / 3;
        object-fit: cover;
    }

}



/* Блок із великим 2013 і колажем */
/* ==================================================
   HISTORY OPENING
================================================== */


.history-opening {

    min-height: auto;

    padding-top: clamp(3rem, 4vw, 4.5rem);
    padding-bottom: clamp(3rem, 4vw, 4.5rem);
    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 72% 43%,
            rgba(46, 125, 50, 0.08),
            transparent 31%
        ),
        linear-gradient(
            135deg,
            #fbfaf5 0%,
            #f7f3e9 58%,
            #efe9da 100%
        );
}

.history-opening-background-year {
    position: absolute;
    z-index: 0;

    top: clamp(0.5rem, 2vw, 2rem);
    left: clamp(17rem, 23vw, 26rem);

    color: rgba(92, 77, 49, 0.09);

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(15rem, 29vw, 31rem);
    font-weight: 700;
    line-height: 0.78;
    letter-spacing: -0.09em;

    white-space: nowrap;

    pointer-events: none;
    user-select: none;
}

.history-opening::before {
    content: "";

    position: absolute;
    z-index: 0;

    top: -4rem;
    right: -2rem;

    width: clamp(14rem, 32vw, 35rem);
    aspect-ratio: 1;

    background:
        radial-gradient(circle,
            rgba(46, 125, 50, 0.07) 0%,
            rgba(46, 125, 50, 0) 70%);

    pointer-events: none;
}

.history-opening .container {
    position: relative;
    z-index: 3;
}
.history-opening-grid {
    display: grid;
    grid-template-columns:
        minmax(18rem, 0.65fr)
        minmax(40rem, 1.35fr);

    align-items: center;
    gap: clamp(1rem, 3vw, 3rem);

    min-height: auto
}

/* Ліва частина з текстом */
.history-opening-content {
    position: relative;
    z-index: 8;

    max-width: 34rem;
    min-width: 0;
}

.history-opening-content .section-label {
    margin: 0 0 1.2rem;

    color: var(--primary-color);

    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Рукописне «Наша історія» */
.history-opening-script {
    margin: 0 0 0.65rem;

    color: var(--primary-color);

    font-family:
        "Segoe Script",
        "Brush Script MT",
        "Bradley Hand",
        cursive;

    font-size: clamp(2.7rem, 4vw, 4.8rem);
    font-weight: 400;
    line-height: 1;
}

/* osnovnii zagolovok */

.history-opening-title {
    max-width: 11ch;
    margin: 0 0 1.6rem;

    color: var(--text-color);

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.65rem, 3.45vw, 4rem);
    line-height: 0.97;
    letter-spacing: -0.04em;
}

/* Основний текст */
.history-opening-lead {
    max-width: 33rem;
    margin: 0;

    color: var(--text-color);

    font-size: clamp(1.02rem, 1.25vw, 1.2rem);
    line-height: 1.7;
}

.history-opening-description {
    max-width: 34rem;
    margin: 1.15rem 0 0;

    color: var(--secondary-text-color);

    font-size: 0.98rem;
    line-height: 1.75;
}

/* second abzaz */
.history-opening-description {
    max-width: 34rem;
    margin: 1.15rem 0 0;

    color: var(--secondary-text-color);

    font-size: 0.98rem;
    line-height: 1.75;
}

/* posylania pid zagolovkom */
.history-opening-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;

    margin-top: 2rem;

    color: #183f24;

    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;

    transition:
        gap var(--transition),
        opacity var(--transition);
}

.history-opening-link span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 2.4rem;
    height: 2.4rem;

    color: #ffffff;
    background-color: #183f24;
    border-radius: 50%;
}

.history-opening-link:hover {
    gap: 1.05rem;
    opacity: 0.75;
}

/* Цитата */
.history-opening-quote {
    position: relative;

    margin: 2rem 0 0;
    padding: 1.35rem 1.5rem 1.35rem 1.75rem;

    background-color: rgba(46, 125, 50, 0.08);
    border-left: 3px solid var(--primary-color);
    border-radius:
        0 clamp(1rem, 2vw, 1.5rem) clamp(1rem, 2vw, 1.5rem) 0;
}

.history-opening-quote p {
    margin: 0;

    color: var(--primary-color);

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    font-weight: 700;
    line-height: 1.3;
}

/* Колаж */

/* ==================================================
   HISTORY COLLAGE
================================================== */

.history-collage {
    position: relative;

    min-height: clamp(34rem, 43vw, 43rem);;

    margin-left: clamp(-5rem, -4vw, -2rem);
}

/* Загальний стиль фотокарток */
.history-photo {
    position: absolute;

    margin: 0;
    padding: 0.65rem 0.65rem 2.8rem;

    overflow: visible;

    background-color: #ffffff;

    box-shadow:
        0 1.6rem 3.8rem rgba(45, 48, 35, 0.18);

    transform-origin: center;

    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease;
}

.history-photo:hover {
    z-index: 30;

    transform:
        rotate(0deg)
        translateY(-0.45rem);

    box-shadow:
        0 2rem 4.8rem rgba(45, 48, 35, 0.24);
}

.history-photo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.history-photo figcaption {
    position: absolute;

    left: 1rem;
    right: 1rem;
    bottom: 0.7rem;

    color: #27472e;

    font-family:
        "Segoe Script",
        "Brush Script MT",
        cursive;

    font-size: clamp(0.82rem, 1vw, 1.05rem);
    line-height: 1.25;
}

/* Ефект скотчу */
.history-photo::before {
    content: "";

    position: absolute;
    z-index: 5;

    top: -0.75rem;
    left: 50%;

    width: clamp(4.5rem, 7vw, 6.5rem);
    height: 1.55rem;

    background-color: rgba(213, 196, 160, 0.62);

    box-shadow:
        inset 0 0 0 1px rgba(119, 102, 73, 0.08);

    transform:
        translateX(-50%) rotate(-2deg);

    pointer-events: none;
}

.history-photo-top::before {
    transform:
        translateX(-50%) rotate(4deg);
}

.history-photo-bottom::before {
    transform:
        translateX(-50%) rotate(-5deg);
}

/* Головна фотографія */
.history-photo-main {
    z-index: 4;

    left: 2%;
    bottom: 9%;

    width: 73%;
    height: 61%;

    transform: rotate(-1.3deg);
}

/* Верхня права фотографія */
.history-photo-top {
    z-index: 8;

    top: 4%;
    right: 3%;

    width: 34%;
    height: 39%;

    transform: rotate(3.2deg);
}

/* Нижня права фотографія */
.history-photo-bottom {
    z-index: 7;

    right: -1%;
    bottom: 0;

    width: 37%;
    height: 37%;

    transform: rotate(3.4deg);
}

/* Паперові записки */
.history-note {
    position: absolute;
    z-index: 15;

    padding: 1rem 1.2rem;

    color: #423f32;
    background-color: #f1e6cf;

    box-shadow:
        0 0.9rem 2rem rgba(66, 56, 37, 0.15);

    font-family:
        "Segoe Script",
        "Brush Script MT",
        cursive;

    font-size: clamp(0.85rem, 1vw, 1.05rem);
    line-height: 1.45;
}

.history-note::before {
    content: "";

    position: absolute;

    top: -0.5rem;
    left: 50%;

    width: 3.8rem;
    height: 1rem;

    background-color: rgba(220, 202, 164, 0.52);

    transform:
        translateX(-50%)
        rotate(-3deg);
}




/* Позиції записок */
.history-note-top {
    top: 28%;
    right: -1%;

    transform: rotate(2.5deg);
}

.history-note-bottom {
    left: 18%;
    bottom: 1.5rem;

    max-width: 14rem;

    transform: rotate(-3deg);
}



/* робимо скотч реалістичним */
.history-photo::before {
    content: "";

    position: absolute;
    z-index: 10;

    top: -0.7rem;
    left: 50%;

    width: clamp(4.8rem, 6vw, 6.3rem);
    height: 1.45rem;

    background:
        linear-gradient(
            to right,
            rgba(218, 201, 165, 0.46),
            rgba(229, 214, 182, 0.7),
            rgba(210, 191, 151, 0.48)
        );

    box-shadow:
        inset 0 0 0 1px rgba(95, 76, 43, 0.06);

    transform:
        translateX(-50%)
        rotate(-2deg);

    pointer-events: none;
}

.history-photo-top::before {
    transform:
        translateX(-50%)
        rotate(4deg);
}

.history-photo-bottom::before {
    transform:
        translateX(-50%)
        rotate(-5deg);
}


/* Декоративні листочки */
.history-opening-leaf {
    position: absolute;
    z-index: 1;

    width: clamp(9rem, 20vw, 30rem);
    aspect-ratio: 1;

    background-image: url("../images/leaf-decoration.png");
    background-repeat: no-repeat;
    background-size: contain;

    opacity: 0.45;

    pointer-events: none;
}


/* up */
.history-opening-leaf--top {
    top: -2rem;
    right: -3rem;

    transform: rotate(100deg);
}

/* down */
.history-opening-leaf--bottom {
    right: 60%;
    bottom: -12rem;

    transform: rotate(-35deg);
}

/* strylka down first ekran */
.history-opening-scroll {
    position: absolute;
    z-index: 20;

    left: 50%;
    bottom: 1.2rem;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 2.8rem;
    height: 2.8rem;

    color: #183f24;
    background-color: rgba(255, 255, 255, 0.82);

    border: 1px solid rgba(24, 63, 36, 0.28);
    border-radius: 50%;

    text-decoration: none;

    transform: translateX(-50%);

    transition:
        color var(--transition),
        background-color var(--transition),
        transform var(--transition);
}

.history-opening-scroll:hover {
    color: #ffffff;
    background-color: #183f24;

    transform:
        translateX(-50%)
        translateY(0.25rem);
}

/* Темно-зелений блок/ Ущільнюємо зелений блок*/
/* ==================================================
   HISTORY IMPACT
================================================== */

/* ==================================================
   HISTORY IMPACT — FINAL DESIGN
================================================== */

.history-impact {
    position: relative;

    margin: 0;
    padding-block: clamp(3.5rem, 5vw, 5rem);

    overflow: hidden;

    color: #ffffff;

    background:
        linear-gradient(
            90deg,
            rgba(11, 53, 27, 0.97) 0%,
            rgba(21, 91, 48, 0.91) 48%,
            rgba(12, 57, 30, 0.96) 100%
        ),
        url("../images/about/help2.jpg");

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.history-impact::before {
    content: "";

    position: absolute;
    inset: 0;
    z-index: 0;

    background:
        radial-gradient(
            circle at 73% 50%,
            rgba(255, 255, 255, 0.09),
            transparent 32%
        ),
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.02),
            rgba(0, 0, 0, 0.15)
        );

    pointer-events: none;
}

.history-impact .container {
    position: relative;
    z-index: 2;
}
/* Сітка темного блоку */
.history-impact-grid {
    display: grid;
    grid-template-columns:
        minmax(18rem, 0.72fr)
        minmax(42rem, 1.28fr);

    align-items: center;
    gap: clamp(3rem, 6vw, 7rem);
}
/* Цитата зліва */
.history-impact-quote {
    max-width: 32rem;
}

.history-impact-mark {
    display: block;

    margin-bottom: 0.4rem;

    color: rgba(255, 255, 255, 0.86);

    font-family: Georgia, "Times New Roman", serif;
    font-size: 3.8rem;
    line-height: 0.65;
}

.history-impact-quote h2 {
    max-width: 15ch;
    margin: 0 0 1.25rem;

    color: #ffffff;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.1rem, 3vw, 3.45rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.history-impact-quote p {
    max-width: 30rem;
    margin: 0;

    color: rgba(255, 255, 255, 0.77);

    font-size: clamp(0.9rem, 1vw, 1rem);
    line-height: 1.7;
}

/* Статистика */
.history-impact-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    border: none;
}

.history-impact-stat {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-width: 0;
    min-height: 11.5rem;
    padding: 1.5rem 1rem;

    text-align: center;

    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.history-impact-stat:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}


.history-impact-stat::before {
    display: block;

    margin-bottom: 1rem;

    color: rgba(255, 255, 255, 0.92);

    font-size: 1.8rem;
    line-height: 1;
}

.history-impact-stat:nth-child(1)::before {
    content: "⌛";
}

.history-impact-stat:nth-child(2)::before {
    content: "✦";
}

.history-impact-stat:nth-child(3)::before {
    content: "♡";
}

.history-impact-stat:nth-child(4)::before {
    content: "◎";
}







.history-impact-stat strong {
    display: block;

    margin-bottom: 0.65rem;

    color: #ffffff;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3vw, 3.35rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.03em;
}

.history-impact-stat span {
    display: block;

    max-width: 15ch;
    margin-inline: auto;

    color: rgba(255, 255, 255, 0.72);

    font-size: 0.8rem;
    line-height: 1.45;
}

.history-impact-stat {
    transition:
        background-color 0.3s ease,
        transform 0.3s ease;
}

.history-impact-stat:hover {
    background-color: rgba(255, 255, 255, 0.06);
    transform: translateY(-0.25rem);
}


/* zybku */
.history-impact::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;

    height: 1.5rem;

    background:
        linear-gradient(
            135deg,
            transparent 33.33%,
            #fbfaf6 33.33%,
            #fbfaf6 66.66%,
            transparent 66.66%
        );

    background-size: 2rem 1.5rem;
    background-position: bottom;
}



/* Блок великого таймлайна */
/* ==================================================
   HISTORY BOARD
================================================== */

.history-board {
    position: relative;

    padding-block: clamp(4rem, 7vw, 7rem);

    overflow: hidden;

    background:
        linear-gradient(
            115deg,
            #f8f5ec 0%,
            #fbf9f3 52%,
            #f4efe3 100%
        );
}

.history-board__inner {
    position: relative;

    width: min(calc(100% - 4rem), 82rem);
    min-height: 92rem;
    margin-inline: auto;
}


/* ==================================================
   SVG PATH
================================================== */

.history-board__path {
    position: absolute;
    inset: 0;
    z-index: 0;

    width: 100%;
    height: 100%;

    overflow: visible;

    pointer-events: none;
}

.history-board__path path {
    fill: none;

    stroke: rgba(31, 76, 40, 0.55);
    stroke-width: 2;

    stroke-linecap: round;
    stroke-linejoin: round;

    stroke-dasharray: 5 9;
}




/* ==================================================
   COMMON SECTION
================================================== */

.history-board__section {
    position: relative;
    z-index: 2;

    min-width: 0;
}

.history-board__copy {
    min-width: 0;
}

.history-board__copy time {
    display: block;

    margin: 0 0 0.3rem;

    color: #154724;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.7rem, 6vw, 6.4rem);
    font-weight: 700;
    line-height: 0.8;
    letter-spacing: -0.055em;
}

.history-board__script {
    margin: 0 0 1rem;

    color: #244f2d;

    font-family:
        "Segoe Script",
        "Brush Script MT",
        "Bradley Hand",
        cursive;

    font-size: clamp(1rem, 1.4vw, 1.4rem);
    line-height: 1.35;
}

.history-board__text {
    max-width: 32ch;
    margin: 0;

    color: #242424;

    font-size: clamp(0.86rem, 1vw, 0.96rem);
    line-height: 1.65;
}


/* ==================================================
   POLAROID
================================================== */

.history-board__polaroid {
    position: relative;

    margin: 0;
    padding: 0.55rem;

    background-color: #ffffff;

    box-shadow:
        0 1.2rem 2.8rem rgba(56, 50, 36, 0.15);
}

.history-board__polaroid::before {
    content: "";

    position: absolute;
    z-index: 4;

    top: -0.62rem;
    left: 50%;

    width: 5.2rem;
    height: 1.2rem;

    background:
        linear-gradient(
            to right,
            rgba(210, 192, 153, 0.42),
            rgba(233, 217, 181, 0.76),
            rgba(207, 186, 142, 0.46)
        );

    transform:
        translateX(-50%)
        rotate(-3deg);
}

.history-board__polaroid img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* ==================================================
   2014
================================================== */

.history-board__section--2014 {
    display: grid;
    grid-template-columns:
        15rem
        minmax(21rem, 1fr)
        minmax(22rem, 0.95fr);

    grid-template-areas:
        "copy2014 photo2014 side2014";

    align-items: start;
    gap: 2.2rem;

    min-height: 24rem;
}

.history-board__copy--2014 {
    grid-area: copy2014;
}

.history-board__photo--2014 {
    grid-area: photo2014;

    width: 100%;

    transform: rotate(-2.2deg);
}

.history-board__photo--2014 img {
    aspect-ratio: 4 / 3;
}

.history-board__facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    background-color: rgba(255, 255, 255, 0.68);

    box-shadow:
        0 0.6rem 1.5rem rgba(49, 44, 34, 0.06);
}

.history-board__fact {
    min-width: 0;
    padding: 1rem 0.5rem;

    text-align: center;

    border-left: 1px solid rgba(35, 76, 42, 0.12);
}

.history-board__fact:first-child {
    border-left: 0;
}

.history-board__fact-icon {
    display: block;

    margin-bottom: 0.45rem;

    color: #214d2c;

    font-size: 2.35rem;
    line-height: 1;
}

.history-board__fact strong,
.history-board__fact small {
    display: block;
}

.history-board__fact strong {
    font-size: 1rem;
    line-height: 1.2;
}

.history-board__fact small {
    margin-top: 0.2rem;

    color: #626262;

    font-size: 0.84rem;
    line-height: 1.25;
}

.history-board__section--2014 > :last-child {
    grid-area: side2014;
}

.history-board__quote {
    position: absolute;

    right: 2rem;
    top: 8.2rem;

    width: 21rem;
    margin: 0;
    padding: 1.2rem 1rem 1rem 2.5rem;

    color: #244d2d;
}

.history-board__quote > span {
    position: absolute;

    top: 0.5rem;
    left: 0;

    font-family: Georgia, serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
}

.history-board__quote p {
    margin: 0;

    font-family: Georgia, serif;
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.35;
}

.history-board__quote cite {
    display: block;

    margin-top: 0.55rem;

    color: #676767;

    font-size: 0.72rem;
    font-style: normal;
}


/* ==================================================
   2015–2017
================================================== */

.history-board__section--growth {
    display: grid;
    grid-template-columns:
        15rem
        minmax(29rem, 1fr)
        12rem;

    align-items: center;
    gap: 2.2rem;

    min-height: 25rem;
    margin-top: 1rem;
}

.history-board__copy--growth {
    align-self: start;

    padding-top: 2rem;
}

.history-board__growth-media {
    position: relative;
}

.history-board__photo--growth {
    padding-bottom: 0;
}

.history-board__photo--growth img {
    aspect-ratio: 16 / 8.5;
}

.history-board__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    margin-top: -0.1rem;

    color: #ffffff;
    background-color: #174526;

    border-radius: 0 0 1rem 1rem;
}

.history-board__stats div {
    padding: 0.9rem 0.45rem;

    text-align: center;

    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.history-board__stats div:first-child {
    border-left: 0;
}

.history-board__stats strong,
.history-board__stats span {
    display: block;
}

.history-board__stats strong {
    margin-bottom: 0.2rem;

    font-family: Georgia, serif;
    font-size: 1.35rem;
}

.history-board__stats span {
    color: rgba(255, 255, 255, 0.75);

    font-size: 0.63rem;
    line-height: 1.25;
}

.history-board__photo--child {
    width: 100%;

    transform: rotate(4deg);
}

.history-board__photo--child img {
    aspect-ratio: 4 / 5;
}


/* ==================================================
   2018–2021
================================================== */

.history-board__section--expansion {
    display: grid;
    grid-template-columns:
        minmax(25rem, 1.1fr)
        minmax(17rem, 0.72fr)
        minmax(14rem, 0.55fr);

    align-items: center;
    gap: 2rem;

    min-height: 24rem;
}

.history-board__mini-collage {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    align-items: end;
    gap: 0.3rem;
}

.history-board__mini {
    padding: 0.35rem;
}

.history-board__mini::before {
    width: 4rem;
    height: 1rem;
}

.history-board__mini img {
    aspect-ratio: 4 / 5;
}

.history-board__mini--one {
    transform: rotate(-4deg);
}

.history-board__mini--two {
    z-index: 2;

    transform: rotate(1deg);
}

.history-board__mini--three {
    transform: rotate(4deg);
}

.history-board__directions {
    display: grid;
    gap: 0.75rem;

    margin: 0;
    padding: 0;

    list-style: none;
}

.history-board__directions li {
    display: grid;
    grid-template-columns: 1.4rem minmax(0, 1fr);

    align-items: center;
    gap: 0.5rem;

    color: #333333;

    font-size: 1.1rem;
}

.history-board__directions li span {
    color: #1f512d;

    font-size: 1.3rem;
}


/* ==================================================
   2022 — TODAY
================================================== */

.history-board__section--today {
    display: grid;
    grid-template-columns:
        16rem
        minmax(38rem, 1fr);

    grid-template-areas:
        "today-copy today-gallery"
        "today-facts today-facts";

    align-items: center;
    gap: 2.3rem;

    min-height: 27rem;
}

.history-board__copy--today {
    grid-area: today-copy;
}

.history-board__today-gallery {
    grid-area: today-gallery;

    display: grid;
    grid-template-columns:
        1.3fr
        1fr
        1fr;

    align-items: end;
    gap: 0.45rem;
}

.history-board__today-photo {
    padding: 0.4rem;
}

.history-board__today-photo img {
    aspect-ratio: 4 / 3.2;
}

.history-board__today-photo--one {
    transform: rotate(-1.5deg);
}

.history-board__today-photo--two {
    transform: rotate(1deg);
}

.history-board__today-photo--three {
    transform: rotate(2.3deg);
}

.history-board__bottom-facts {
    grid-area: today-facts;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    margin-top: -0.4rem;

    background-color: rgba(255, 255, 255, 0.88);

    box-shadow:
        0 0.8rem 1.8rem rgba(48, 44, 34, 0.08);
}

.history-board__bottom-facts div {
    padding: 1.2rem 0.8rem;

    text-align: center;

    border-left: 1px solid rgba(34, 78, 42, 0.12);
}

.history-board__bottom-facts div:first-child {
    border-left: 0;
}

.history-board__bottom-facts strong,
.history-board__bottom-facts span {
    display: block;
}

.history-board__bottom-facts strong {
    margin-bottom: 0.45rem;

    color: #214e2c;

    font-size: 2.35rem;
}

.history-board__bottom-facts span {
    color: #4c4c4c;

    font-size: 1rem;
    line-height: 1.35;
}


/* ==================================================
   DECORATIVE BRANCH
================================================== */

.history-board__branch {
    position: absolute;

    right: -12rem;
    bottom: -15rem;

    width: 15rem;
    height: 22rem;

    background:
        url("../images/leaf-decoration.png")
        no-repeat
        center / contain;

    opacity: 0.55;

    transform: rotate(-120deg);

    pointer-events: none;
}


/* ==================================================
   TABLET
================================================== */

@media (max-width: 64rem) {

    .history-board__inner {
        width: min(calc(100% - 2.5rem), 64rem);
        min-height: auto;
    }

    .history-board__path {
        display: none;
    }

    .history-board__section--2014,
    .history-board__section--growth,
    .history-board__section--expansion,
    .history-board__section--today {
        grid-template-columns:
            minmax(14rem, 0.7fr)
            minmax(24rem, 1.3fr);
    }

    .history-board__section--2014 {
        grid-template-areas:
            "copy2014 photo2014"
            "side2014 side2014";
    }

    .history-board__section--2014 > :last-child {
        position: static;

        width: auto;
    }

    .history-board__section--growth {
        grid-template-columns:
            minmax(14rem, 0.7fr)
            minmax(24rem, 1.3fr);
    }

    .history-board__photo--child {
        width: 14rem;

        justify-self: end;
    }

    .history-board__section--expansion {
        grid-template-columns:
            minmax(24rem, 1.2fr)
            minmax(17rem, 0.8fr);
    }

    .history-board__directions {
        grid-column: 1 / -1;

        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .history-board__section--today {
        grid-template-columns:
            minmax(14rem, 0.65fr)
            minmax(27rem, 1.35fr);
    }
}
/* =========================================================
   ABOUT PAGE — FINAL MOBILE REDESIGN
   ВСТАВИТИ В САМИЙ КІНЕЦЬ about.css
========================================================= */

@media (max-width: 768px) {

    /* =====================================================
       GLOBAL
    ===================================================== */

    .history-opening,
    .history-impact,
    .history-board {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .history-opening .container,
    .history-impact .container {
        width: calc(100% - 28px);
        max-width: none;
        margin-inline: auto;
        padding: 0;
    }


    /* =====================================================
       OPENING — HERO
    ===================================================== */

    .history-opening {
        min-height: 0;

        padding:
            44px
            0
            38px;

        background:
            radial-gradient(
                circle at 88% 12%,
                rgba(193, 211, 148, 0.15),
                transparent 28%
            ),
            linear-gradient(
                145deg,
                #f8f3e8 0%,
                #fffaf1 100%
            );
    }


    .history-opening-background-year {
        top: 22px;
        left: auto;
        right: -18px;

        font-size: 96px;

        line-height: 0.8;

        opacity: 0.035;
    }


    .history-opening-grid {
        display: flex;
        flex-direction: column;

        min-height: 0;

        gap: 34px;
    }


    .history-opening-content {
        width: 100%;
        max-width: none;
    }


    .history-opening-content .section-label {
        margin-bottom: 10px;

        font-size: 10px;
        line-height: 1.25;

        letter-spacing: 0.14em;
    }


    .history-opening-script {
        margin:
            0
            0
            12px;

        font-size: 18px;

        line-height: 1.2;
    }


    .history-opening-title {
        max-width: 8.5ch;

        margin:
            0
            0
            22px;

        font-size:
            clamp(46px, 12.5vw, 58px);

        line-height: 0.86;

        letter-spacing: -0.055em;
    }


    .history-opening-lead {
        max-width: 31ch;

        margin: 0;

        font-size: 15px;

        line-height: 1.55;
    }


    .history-opening-description {
        max-width: 31ch;

        margin:
            14px
            0
            0;

        font-size: 14px;

        line-height: 1.6;
    }


    .history-opening-link {
        display: inline-flex;
        align-items: center;

        gap: 11px;

        margin-top: 24px;

        font-size: 14px;
    }


    .history-opening-link span {
        width: 38px;
        height: 38px;

        flex-shrink: 0;
    }


    /* =====================================================
       COLLAGE — COMPACT MOBILE
    ===================================================== */

    .history-collage {
        position: relative;

        width: 100%;

        min-height: 0;
        height: 360px;

        margin: 0;
    }


    .history-photo {
        padding:
            6px
            6px
            26px;

        box-shadow:
            0 12px 28px
            rgba(48, 44, 34, 0.15);
    }


    .history-photo figcaption {
        left: 8px;
        right: 8px;
        bottom: 5px;

        font-size: 8px;
    }


    .history-photo::before {
        width: 56px;
        height: 12px;

        top: -6px;
    }


    .history-photo-main {
        left: 0;
        bottom: 0;

        width: 66%;
        height: 62%;

        transform: rotate(-2deg);
    }


    .history-photo-top {
        top: 0;
        right: 0;

        width: 47%;
        height: 42%;

        transform: rotate(3deg);
    }


    .history-photo-bottom {
        right: 2px;
        bottom: 2px;

        width: 43%;
        height: 38%;

        transform: rotate(3deg);
    }


    .history-note {
        padding:
            8px
            10px;

        font-size: 9px;

        line-height: 1.3;
    }


    .history-note-top {
        top: 35%;
        right: 2px;

        max-width: 110px;
    }


    .history-note-bottom {
        left: 6px;
        bottom: -2px;

        max-width: 120px;
    }


    .history-opening-leaf--top {
        width: 90px;

        top: -10px;
        right: -40px;

        opacity: 0.18;
    }


    .history-opening-leaf--bottom {
        width: 100px;

        right: auto;
        left: -48px;
        bottom: -50px;

        opacity: 0.18;
    }


    .history-opening-scroll {
        display: none;
    }


    /* =====================================================
       IMPACT — COMPACT GREEN BLOCK
    ===================================================== */

    .history-impact {
        padding:
            42px
            0
            46px;

        background-position: center;
    }


    .history-impact-grid {
        display: flex;
        flex-direction: column;

        gap: 28px;
    }


    .history-impact-quote {
        max-width: 100%;
    }


    .history-impact-mark {
        margin-bottom: 5px;

        font-size: 38px;
    }


    .history-impact-quote h2 {
        max-width: 12ch;

        margin-bottom: 12px;

        font-size:
            clamp(28px, 8.5vw, 38px);

        line-height: 0.98;
    }


    .history-impact-quote p {
        max-width: 31ch;

        font-size: 13px;

        line-height: 1.55;
    }


    .history-impact-stats {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        overflow: hidden;

        border:
            1px solid
            rgba(255, 255, 255, 0.12);

        border-radius: 18px;
    }


    .history-impact-stat {
        min-height: 105px;

        padding:
            14px
            8px;

        border: 0;
    }


    .history-impact-stat:nth-child(odd) {
        border-right:
            1px solid
            rgba(255, 255, 255, 0.12);
    }


    .history-impact-stat:nth-child(-n + 2) {
        border-bottom:
            1px solid
            rgba(255, 255, 255, 0.12);
    }


    .history-impact-stat::before {
        margin-bottom: 6px;

        font-size: 17px;
    }


    .history-impact-stat strong {
        margin-bottom: 5px;

        font-size: 23px;
    }


    .history-impact-stat span {
        max-width: 13ch;

        font-size: 9px;

        line-height: 1.3;
    }


    .history-impact::after {
        height: 10px;

        background-size:
            16px
            10px;
    }


    /* =====================================================
       HISTORY BOARD
    ===================================================== */

    .history-board {
        padding:
            46px
            0
            58px;

        background:
            linear-gradient(
                145deg,
                #f8f4ea,
                #fbf9f3
            );
    }


    .history-board__inner {
        width: calc(100% - 28px);

        min-height: 0;

        margin-inline: auto;
    }


    .history-board__path {
        display: none;
    }


    .history-board__section {
        position: relative;

        display: flex !important;
        flex-direction: column;

        width: 100%;

        min-height: 0 !important;

        margin: 0 !important;

        padding:
            38px
            0;

        gap: 18px;

        border-top:
            1px solid
            rgba(36, 87, 43, 0.12);
    }


    .history-board__section:first-child {
        padding-top: 0;

        border-top: 0;
    }


    .history-board__copy {
        width: 100%;
        max-width: 100%;
    }


    .history-board__copy time {
        margin:
            0
            0
            8px;

        font-size:
            clamp(45px, 12vw, 58px);

        line-height: 0.83;
    }


    .history-board__script {
        margin:
            0
            0
            10px;

        font-size: 15px;

        line-height: 1.25;
    }


    .history-board__text {
        max-width: 32ch;

        font-size: 13px;

        line-height: 1.55;
    }


    /* =====================================================
       2013
    ===================================================== */

    .history-board__section--2014 {
        display: flex !important;
    }


    .history-board__copy--2014 {
        order: 1;
    }


    .history-board__photo--2014 {
        order: 2;

        width: 100%;

        transform: rotate(-1deg);
    }


    .history-board__photo--2014 img {
        aspect-ratio: 16 / 10;

        object-fit: cover;
    }


    .history-board__facts {
        order: 3;

        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        width: 100%;

        overflow: hidden;

        border-radius: 14px;
    }


    .history-board__fact {
        min-height: 86px;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        padding:
            10px
            6px;

        border: 0;
    }


    .history-board__fact:nth-child(odd) {
        border-right:
            1px solid
            rgba(35, 76, 42, 0.10);
    }


    .history-board__fact:nth-child(-n + 2) {
        border-bottom:
            1px solid
            rgba(35, 76, 42, 0.10);
    }


    .history-board__fact-icon {
        margin-bottom: 4px;

        font-size: 19px;
    }


    .history-board__fact strong {
        font-size: 12px;
    }


    .history-board__fact small {
        font-size: 10px;
    }


    .history-board__quote {
        order: 4;

        position: relative;

        top: auto;
        right: auto;

        width: 100%;

        margin: 0;

        padding:
            15px
            14px
            15px
            40px;

        background:
            rgba(255, 255, 255, 0.55);

        border-radius: 14px;
    }


    .history-board__quote > span {
        top: 7px;
        left: 11px;

        font-size: 30px;
    }


    .history-board__quote p {
        font-size: 14px;

        line-height: 1.35;
    }


    .history-board__quote cite {
        margin-top: 5px;

        font-size: 10px;
    }


    /* =====================================================
       2015–2017
    ===================================================== */

    .history-board__section--growth {
        display: flex !important;
    }


    .history-board__copy--growth {
        order: 1;

        padding-top: 0;
    }


    .history-board__growth-media {
        order: 2;

        width: 100%;
    }


    .history-board__photo--growth {
        width: 100%;

        padding-bottom: 6px;
    }


    .history-board__photo--growth img {
        aspect-ratio: 16 / 9;

        object-fit: cover;
    }


    .history-board__stats {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        margin-top: 0;

        overflow: hidden;

        border-radius:
            0
            0
            14px
            14px;
    }


    .history-board__stats div {
        min-height: 63px;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        padding:
            7px
            5px;

        border: 0;
    }


    .history-board__stats div:nth-child(odd) {
        border-right:
            1px solid
            rgba(255, 255, 255, 0.12);
    }


    .history-board__stats div:nth-child(-n + 2) {
        border-bottom:
            1px solid
            rgba(255, 255, 255, 0.12);
    }


    .history-board__stats strong {
        font-size: 15px;
    }


    .history-board__stats span {
        font-size: 8px;
    }


    .history-board__photo--child {
        order: 3;

        width: 46%;

        align-self: flex-end;

        margin-top: -8px;

        transform: rotate(3deg);
    }


    .history-board__photo--child img {
        aspect-ratio: 4 / 5;

        object-fit: cover;
    }


    /* =====================================================
       2018–2021
    ===================================================== */

    .history-board__section--expansion {
        display: flex !important;
    }


    .history-board__copy--expansion {
        order: 1;
    }


    .history-board__mini-collage {
        order: 2;

        display: grid;

        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 5px;

        width: 100%;
    }


    .history-board__mini {
        padding: 4px;

        transform: none;
    }


    .history-board__mini::before {
        width: 42px;
        height: 9px;
    }


    .history-board__mini img {
        aspect-ratio: 3 / 4;

        object-fit: cover;
    }


    .history-board__mini--one {
        transform: rotate(-2deg);
    }


    .history-board__mini--two {
        transform: rotate(1deg);
    }


    .history-board__mini--three {
        transform: rotate(2deg);
    }


    .history-board__directions {
        order: 3;

        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 7px;

        width: 100%;

        margin: 0;

        padding: 0;
    }


    .history-board__directions li {
        min-height: 48px;

        display: grid;

        grid-template-columns:
            22px
            minmax(0, 1fr);

        gap: 7px;

        align-items: center;

        padding:
            8px
            9px;

        background:
            rgba(255, 255, 255, 0.56);

        border:
            1px solid
            rgba(36, 86, 43, 0.09);

        border-radius: 11px;

        font-size: 11px;

        line-height: 1.25;
    }


    .history-board__directions li:last-child {
        grid-column:
            1
            / 3;
    }


    .history-board__directions li span {
        font-size: 15px;
    }


    /* =====================================================
       2022 — TODAY
    ===================================================== */

    .history-board__section--today {
        display: flex !important;
    }


    .history-board__copy--today {
        order: 1;
    }


    .history-board__today-gallery {
        order: 2;

        display: grid;

        grid-template-columns:
            1.25fr
            1fr;

        grid-template-rows:
            repeat(2, 110px);

        gap: 5px;

        width: 100%;
    }


    .history-board__today-photo {
        padding: 4px;

        transform: none;
    }


    .history-board__today-photo img {
        width: 100%;
        height: 100%;

        object-fit: cover;
    }


    .history-board__today-photo--one {
        grid-row:
            1
            / 3;

        transform: rotate(-1deg);
    }


    .history-board__today-photo--two {
        transform: rotate(1deg);
    }


    .history-board__today-photo--three {
        transform: rotate(1deg);
    }


    .history-board__bottom-facts {
        order: 3;

        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        width: 100%;

        margin: 0;

        overflow: hidden;

        border-radius: 14px;
    }


    .history-board__bottom-facts div {
        min-height: 78px;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        padding:
            10px
            6px;

        border: 0;
    }


    .history-board__bottom-facts div:nth-child(odd) {
        border-right:
            1px solid
            rgba(34, 78, 42, 0.10);
    }


    .history-board__bottom-facts div:nth-child(-n + 2) {
        border-bottom:
            1px solid
            rgba(34, 78, 42, 0.10);
    }


    .history-board__bottom-facts strong {
        margin-bottom: 3px;

        font-size: 20px;
    }


    .history-board__bottom-facts span {
        font-size: 9px;

        line-height: 1.3;
    }


    /* =====================================================
       GENERIC POLAROID
    ===================================================== */

    .history-board__polaroid {
        padding: 5px;

        box-shadow:
            0 10px 24px
            rgba(50, 45, 34, 0.13);
    }


    .history-board__polaroid::before {
        top: -5px;

        width: 48px;
        height: 10px;
    }


    .history-board__branch {
        display: none;
    }

}



/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 390px) {

    .history-opening .container,
    .history-impact .container,
    .history-board__inner {
        width: calc(100% - 22px);
    }


    .history-opening {
        padding-top: 38px;
    }


    .history-opening-title {
        font-size: 43px;
    }


    .history-opening-lead {
        font-size: 14px;
    }


    .history-opening-description {
        font-size: 13px;
    }


    .history-collage {
        height: 330px;
    }


    .history-photo-main {
        width: 68%;
    }


    .history-photo-top {
        width: 46%;
    }


    .history-photo-bottom {
        width: 42%;
    }


    .history-impact-quote h2 {
        font-size: 27px;
    }


    .history-board__copy time {
        font-size: 42px;
    }


    .history-board__directions {
        grid-template-columns: 1fr;
    }


    .history-board__directions li:last-child {
        grid-column: auto;
    }


    .history-board__photo--child {
        width: 50%;
    }


    .history-board__today-gallery {
        grid-template-rows:
            repeat(2, 98px);
    }

}







/* fixing */
/* =========================================================
   ABOUT — STRONG MOBILE REDESIGN
   ВСТАВИТИ В САМИЙ КІНЕЦЬ about.css
========================================================= */

@media (max-width: 768px) {

    /* =====================================================
       OPENING — FULL WIDTH FEEL
    ===================================================== */

    .history-opening {
        min-height: auto !important;
        padding: 28px 0 26px !important;
    }

    .history-opening .container {
        width: calc(100% - 20px) !important;
        max-width: none !important;
        margin-inline: auto !important;
    }

    .history-opening-grid {
        display: flex !important;
        flex-direction: column !important;

        gap: 18px !important;

        min-height: 0 !important;
    }

    .history-opening-content {
        width: 100% !important;
        max-width: 100% !important;

        padding: 0 4px !important;
    }

    /* label — ширше */
    .history-opening-content .section-label {
        width: 100% !important;
        max-width: none !important;

        margin: 0 0 8px !important;

        font-size: 10px !important;
        line-height: 1.25 !important;
        letter-spacing: 0.16em !important;
    }

    /* handwritten */
    .history-opening-script {
        width: 100% !important;
        max-width: none !important;

        margin: 0 0 10px !important;

        font-size: 16px !important;
        line-height: 1.25 !important;
    }


    /* =====================================================
       MAIN TITLE — ШИРШИЙ, НЕ ЗАТИСНУТИЙ
    ===================================================== */

    .history-opening-title {
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 0 18px !important;

        font-size: clamp(42px, 11.2vw, 54px) !important;

        line-height: 0.96 !important;
        letter-spacing: -0.045em !important;
    }

    /* якщо в HTML є <br> */
    .history-opening-title br {
        display: block !important;
    }


    /* =====================================================
       TEXT UNDER TITLE — ТЕЖ ШИРШЕ
    ===================================================== */

    .history-opening-lead {
        width: 100% !important;
        max-width: 36ch !important;

        margin: 0 !important;

        font-size: 14px !important;
        line-height: 1.55 !important;
    }

    .history-opening-description {
        width: 100% !important;
        max-width: 36ch !important;

        margin: 12px 0 0 !important;

        font-size: 13px !important;
        line-height: 1.58 !important;
    }

    .history-opening-link {
        margin-top: 18px !important;

        gap: 9px !important;

        font-size: 13px !important;
    }

    .history-opening-link span {
        width: 36px !important;
        height: 36px !important;
    }


    /* =====================================================
       COLLAGE — МЕНШЕ ПУСТОТИ
    ===================================================== */

    .history-collage {
        position: relative !important;

        width: 100% !important;

        min-height: 0 !important;
        height: 270px !important;

        margin-top: -2px !important;
    }

    .history-photo-main {
        left: 0 !important;
        bottom: 0 !important;

        width: 62% !important;
        height: 59% !important;
    }

    .history-photo-top {
        top: 0 !important;
        right: 0 !important;

        width: 43% !important;
        height: 39% !important;
    }

    .history-photo-bottom {
        right: 1% !important;
        bottom: 0 !important;

        width: 39% !important;
        height: 35% !important;
    }

    .history-note-top {
        top: 32% !important;
        right: 1% !important;
    }

    .history-note-bottom {
        left: 4% !important;
        bottom: -2px !important;
    }


    /* =====================================================
       IMPACT — SHORTER
    ===================================================== */

    .history-impact {
        padding: 32px 0 34px !important;
    }

    .history-impact-grid {
        gap: 22px !important;
    }

    .history-impact-quote h2 {
        max-width: 14ch !important;

        font-size: 29px !important;
        line-height: 1 !important;
    }


    /* =====================================================
       BOARD — СИЛЬНО МЕНШЕ ПУСТИХ ЗОН
    ===================================================== */

    .history-board {
        padding: 30px 0 38px !important;
    }

    .history-board__inner {
        width: calc(100% - 20px) !important;
        min-height: 0 !important;
    }

    .history-board__section,
    .history-board__section--2014,
    .history-board__section--growth,
    .history-board__section--expansion,
    .history-board__section--today {
        min-height: 0 !important;

        margin: 0 0 26px !important;
        padding: 0 !important;

        gap: 11px !important;
    }

    .history-board__section:last-child {
        margin-bottom: 0 !important;
    }


    /* =====================================================
       YEARS + COPY
    ===================================================== */

    .history-board__copy {
        width: 100% !important;
        max-width: 100% !important;
    }

    .history-board__copy time {
        margin: 0 0 4px !important;

        font-size: clamp(36px, 9.5vw, 44px) !important;

        line-height: 0.9 !important;
    }

    .history-board__script {
        margin-bottom: 6px !important;

        font-size: 13px !important;
    }

    .history-board__text {
        width: 100% !important;
        max-width: 34ch !important;

        font-size: 12px !important;
        line-height: 1.5 !important;
    }


    /* =====================================================
       2015–2017 — COMPACT
    ===================================================== */

    .history-board__growth-media {
        width: 100% !important;
        margin: 0 !important;
    }

    .history-board__photo--growth {
        width: 100% !important;
        margin: 0 !important;
    }

    .history-board__photo--growth img {
        width: 100% !important;

        aspect-ratio: 16 / 8.5 !important;

        object-fit: cover !important;
    }

    .history-board__stats {
        margin-top: 0 !important;
    }

    .history-board__stats div {
        min-height: 56px !important;
        padding: 6px 4px !important;
    }

    .history-board__photo--child {
        width: 39% !important;

        margin: -10px 4% 0 auto !important;
    }


    /* =====================================================
       2018–2021
    ===================================================== */

    .history-board__mini-collage {
        margin: 0 !important;
        gap: 4px !important;
    }

    .history-board__mini {
        padding: 3px !important;
    }

    .history-board__directions {
        gap: 5px !important;
        margin-top: 0 !important;
    }

    .history-board__directions li {
        min-height: 40px !important;
        padding: 6px 7px !important;

        font-size: 10px !important;
    }


    /* =====================================================
       TODAY
    ===================================================== */

    .history-board__today-gallery {
        grid-template-rows: repeat(2, 82px) !important;

        gap: 4px !important;
    }

    .history-board__bottom-facts div {
        min-height: 64px !important;
        padding: 6px 4px !important;
    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 390px) {

    .history-opening .container,
    .history-board__inner {
        width: calc(100% - 16px) !important;
    }

    .history-opening-title {
        font-size: 40px !important;
    }

    .history-opening-lead,
    .history-opening-description {
        max-width: 100% !important;
    }

    .history-collage {
        height: 245px !important;
    }

}