#root {
    position: relative;
    isolation: isolate;
    background: #fffdf8;
}

.storybook-background {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
}

.storybook-background img {
    display: block;
    width: 100%;
    height: auto;
}

.story-opening {
    position: absolute;
    top: 0;
    left: 0;
    mask-image: linear-gradient(#000 0%, #000 35%, transparent 63%);
    opacity: .25;
}

.story-margin {
    position: absolute;
    left: 0;
    width: 100%;
    mask-image: linear-gradient(transparent, #000 18%, #000 80%, transparent),
    linear-gradient(to right, #000, transparent 10%, transparent 90%, #000);
    mask-composite: intersect;
    opacity: .35;
}

.story-margin-0 {
    top: 22%;
}

.story-margin-1 {
    top: 48%;
    transform: scaleX(-1);
}

.story-margin-2 {
    top: 74%;
}

.story-ending {
    position: absolute;
    bottom: 0;
    left: 0;
    mask-image: linear-gradient(transparent 35%, #000 72%);
}

.site-header,
.hero,
.activities-section,
.day-section,
.branches-section,
.vk-section,
.site-footer {
    background: transparent;
}

.site-footer {
    border-top: 0;
    border-radius: 0;
    padding-bottom: clamp(120px, 15vw, 260px);
}

.hero {
    padding-bottom: 64px;
}

.benefits-section {
    padding-bottom: 80px;
}

.kitchen-section {
    padding-bottom: 80px;
}

.founder-section {
    padding-bottom: 80px;
}

.footer-bottom {
    border-color: #d9d7c9;
    color: #676f64;
}

.footer-grid {
    padding-top: 32px;
    border-top: 1px solid #e8e2d8;
}

.branch-card,
.review-card {
    background: #fffdf8e8;
}

@media (max-width: 1200px) {
    .story-margin {
        mask-image: linear-gradient(transparent, #000 18%, #000 80%, transparent),
      linear-gradient(to right, #0009, transparent 7%, transparent 93%, #0009);
        mask-composite: intersect;
    }
}

@media (max-width: 700px) {
    .story-opening {
        width: 170%;
        max-width: none;
        left: -35%;
        opacity: .2;
    }

    .story-margin {
        opacity: .2;
        mask-image: linear-gradient(transparent, #000 18%, #000 80%, transparent),
      linear-gradient(to right, #000, transparent 6%, transparent 94%, #000);
        mask-composite: intersect;
    }

    .story-margin img {
        width: 160%;
        max-width: none;
        margin-left: -30%;
    }

    .storybook-background .story-ending {
        width: 180%;
        max-width: none;
        left: -40%;
    }

    .hero {
        padding-bottom: 40px;
    }

    .benefits-section,
  .kitchen-section,
  .founder-section {
        padding-bottom: 48px;
    }

    .site-footer {
        padding-bottom: 120px;
    }

    .footer-grid {
        padding-top: 24px;
    }
}

.hero {
    padding-bottom: 0;
    background: #fffdf8;
}

.hero-content {
    padding-top: clamp(120px, 9.6vw, 184px);
    padding-bottom: 72px;
    min-height: clamp(700px, 49vw, 920px);
    z-index: 1;
}

.hero-copy {
    width: 740px;
    max-width: 56%;
}

.hero-copy h1 {
    max-width: none;
    font-size: clamp(60px, 5.05vw, 78px);
    line-height: 1.02;
    letter-spacing: -2px;
    -webkit-text-stroke: 1px currentColor;
}

.hero-copy h1 em {
    white-space: nowrap;
}

.hero-visual {
    position: absolute;
    inset: 40px 0 auto auto;
    width: 51%;
    pointer-events: none;
    mask-image: linear-gradient(to right, transparent, #000 18%),
    linear-gradient(to bottom, #000 83%, transparent 100%);
    mask-composite: intersect;
}

.hero .hero-photo {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center top;
    mask-image: none;
}

.hero-copy > p {
    font-size: 23px;
    line-height: 1.4;
    margin-top: 28px;
}

.hero-actions {
    gap: 18px;
    margin-top: 28px;
}

.hero .button {
    min-height: 72px;
    padding: 18px 32px;
    font-size: 17px;
}

.hero .watch {
    min-width: 280px;
    font-size: 17px;
}

.hero .play {
    width: 40px;
    height: 40px;
}

.hero-note {
    margin-top: 24px;
    font-size: 30px;
}

.hero-flower {
    top: 56px;
    left: 8px;
}

.hero-flower-small {
    top: 88px;
    left: 96px;
}

.hero-cloud {
    top: 20px;
    left: 31%;
    width: 130px;
}

.site-header .location {
    display: flex;
}

@media (max-width: 1440px) {
    .hero-content {
        min-height: 700px;
        padding-top: 132px;
        padding-bottom: 64px;
    }

    .hero-copy {
        max-width: 57%;
    }

    .hero-copy h1 {
        font-size: clamp(54px, 4.95vw, 72px);
    }

    .hero-copy > p {
        font-size: 21px;
    }

    .hero .button {
        padding: 18px 26px;
        font-size: 15px;
        min-height: 66px;
    }

    .hero .watch {
        min-width: 248px;
        font-size: 15px;
    }

    .hero-note {
        font-size: 28px;
    }

    .header-contact {
        gap: 16px;
    }

    .nav {
        gap: 20px;
    }
}

@media (max-width: 1200px) {
    .hero-content {
        min-height: 590px;
        padding-top: 104px;
        padding-bottom: 48px;
    }

    .hero-copy {
        max-width: 61%;
    }

    .hero-copy h1 {
        font-size: clamp(40px, 4.9vw, 58px);
        letter-spacing: -1.5px;
        -webkit-text-stroke: .6px currentColor;
    }

    .hero-copy > p {
        font-size: 18px;
        margin-top: 24px;
    }

    .hero-visual {
        width: 47%;
        top: 80px;
    }

    .hero-actions {
        gap: 12px;
        margin-top: 24px;
        flex-wrap: wrap;
    }

    .hero .button {
        padding: 14px 20px;
        min-height: 58px;
        font-size: 13px;
        gap: 12px;
    }

    .hero .watch {
        min-width: 210px;
        font-size: 13px;
    }

    .hero .play {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
    }

    .hero-note {
        font-size: 24px;
        gap: 8px;
    }

    .hero-flower {
        width: 50px;
        height: 50px;
        top: 24px;
    }

    .hero-flower-small {
        left: 72px;
        top: 46px;
        width: 25px;
        height: 25px;
    }

    .hero-cloud {
        width: 100px;
        top: 0;
    }
}

@media (max-width: 700px) {
    .hero {
        display: flex;
        flex-direction: column;
        padding-bottom: 16px;
    }

    .hero-content {
        padding-top: 76px;
        padding-bottom: 0;
        min-height: 0;
        order: 1;
    }

    .hero-copy {
        width: 100%;
        max-width: none;
    }

    .hero-copy h1 {
        font-size: clamp(33px, 8.9vw, 58px);
        line-height: 1.07;
        letter-spacing: -1px;
        -webkit-text-stroke: .5px currentColor;
    }

    .hero-copy h1 em {
        white-space: normal;
    }

    .hero-copy > p {
        font-size: 17px;
        margin-top: 20px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
        margin-top: 24px;
    }

    .hero .button, .hero .watch {
        min-height: 58px;
        width: 100%;
        min-width: 0;
        font-size: 15px;
        padding: 14px 16px;
    }

    .hero-note {
        margin-top: 20px;
        font-size: 24px;
    }

    .hero-visual {
        position: relative;
        inset: auto;
        order: 2;
        width: 100%;
        margin-top: 24px;
        mask-image: linear-gradient(to bottom, transparent, #000 6%, #000 88%, transparent);
    }

    .hero .hero-photo {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .hero-flower {
        top: 12px;
        left: 4px;
        width: 42px;
        height: 42px;
    }

    .hero-flower-small {
        top: 34px;
        left: 58px;
        width: 24px;
        height: 24px;
    }

    .hero-cloud {
        left: auto;
        right: 12px;
        top: 0;
        width: 90px;
    }
}
