@media (prefers-reduced-motion: no-preference) {
    .products__grid .reveal:nth-child(1) { transition-delay: 0s; }
    .products__grid .reveal:nth-child(2) { transition-delay: 0.12s; }
    .products__grid .reveal:nth-child(3) { transition-delay: 0.24s; }

    .why__features .reveal:nth-child(1) { transition-delay: 0s; }
    .why__features .reveal:nth-child(2) { transition-delay: 0.12s; }
    .why__features .reveal:nth-child(3) { transition-delay: 0.24s; }

    .about__bottom.reveal {
        transition-delay: 0.15s;
    }
}

.site-header:not(.is-scrolled) .site-header__nav-left a.is-active,
.site-header:not(.is-scrolled) .site-header__nav-right a.is-active {
    color: var(--color-white);
}

.site-header:not(.is-scrolled) .site-header__nav-left a.is-active::after,
.site-header:not(.is-scrolled) .site-header__nav-right a.is-active::after {
    background-color: var(--color-white);
}

@keyframes hero-image-in {
    from { opacity: 0; transform: scale(1.06); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero__image-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    animation: hero-image-in 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(to bottom, rgba(0,0,0,0.20) 0%, rgba(0,0,0,0.00) 35%),
        linear-gradient(to bottom, rgba(0,0,0,0.07) 0%, rgba(0,0,0,0.73) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: clamp(480px, 45.833vw, 900px);
    margin: 0 auto;
    padding-bottom: clamp(40px, 4.236vw, 100px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(20px, 1.667vw, 40px);
    text-align: center;
}

.hero__wordmark {
    width: 100%;
    max-width: clamp(480px, 45.833vw, 900px);
    height: auto;
    display: block;
    animation: fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

.hero__subtitle {
    font-size: var(--text-lead);
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0;
    color: var(--color-vanilla-cream);
    max-width: 20.25em;
    animation: fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

.hero__subtitle-light {
    font-weight: 400;
}

.hero__subtitle-strong {
    font-weight: 500;
}

.hero__newsletter {
    animation: fade-in 0.8s ease 1.0s both;
    position: absolute;
    z-index: 2;
    right: clamp(20px, 2.64vw, 38px);
    bottom: clamp(30px, 3.472vw, 80px);
    width: clamp(80px, 7.778vw, 160px);
    height: clamp(81px, 7.847vw, 161px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.hero__newsletter:hover {
    transform: scale(1.05);
}

.hero__newsletter--mobile {
    display: none;
}

.hero__newsletter-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: spin-slow 14s linear infinite;
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.hero__newsletter-icon {
    position: relative;
    z-index: 1;
    width: clamp(34px, 3.194vw, 66px);
    height: clamp(28px, 2.569vw, 52px);
}

@media (max-width: 1024px) and (orientation: portrait) {
    .hero {
        height: calc(100vh - clamp(74px, 13.021vw, 100px));
    }

    .hero__image {
        object-position: 20% center;
    }

    .hero__content {
        padding: 0 var(--edge-inset) clamp(80px, 15.625vw, 160px);
        max-width: 100%;
    }

    .hero__wordmark {
        max-width: 100%;
    }

    .hero__subtitle {
        max-width: 100%;
    }

    .hero__newsletter {
        display: none;
    }

    .hero__newsletter--mobile {
        animation: fade-in 0.8s ease 1.0s both;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: clamp(80px, 10.417vw, 100px);
        height: clamp(81px, 10.547vw, 101px);
        cursor: pointer;
    }
}

@media (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {
    .hero__subtitle {
        max-width: 46rem;
        margin: 0 auto;
    }
}

.about {
    display: flex;
    min-height: 98vh;
}

.about__left {
    flex: 0 0 50%;
    background-color: var(--color-dark-green);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding:
        clamp(40px, 4.167vw, 96px)
        clamp(48px, 6vw, 100px)
        clamp(40px, 4.306vw, 96px)
        var(--edge-inset);
}

.about__top {
    display: flex;
    flex-direction: column;
    gap: clamp(14px, 1.25vw, 26px);
}

.about__label {
    font-size: var(--text-m);
    font-weight: 500;
    color: var(--color-matcha-green);
}

.about__heading {
    font-size: var(--text-h2);
    font-weight: 500;
    line-height: 1;
    color: var(--color-vanilla-cream);
    max-width: 600px;
}

.about__bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(28px, 2.778vw, 56px);
}

.about__body {
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 1.389vw, 28px);
}

.about__body p {
    font-size: var(--text-body);
    font-weight: 400;
    line-height: 1.25;
    color: var(--color-vanilla-cream);
    max-width: 900px;
}

.about__right {
    flex: 0 0 50%;
    overflow: hidden;
    position: relative;
}

.about__image {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: contrast(1.08) saturate(1.25);
    will-change: transform;
}

@media (max-width: 1024px) and (orientation: portrait) {
    .about {
        flex-direction: column;
        height: auto;
    }

    .about__left,
    .about__right {
        flex: none;
        width: 100%;
    }

    .about__right {
        aspect-ratio: 1 / 1;
        height: auto;
    }

    .about__left {
        align-items: center;
        text-align: center;
        padding: clamp(80px, 15.625vw, 160px) var(--edge-inset);
        justify-content: center;
        gap: clamp(24px, 4.167vw, 32px);
    }

    .about__top {
        gap: clamp(18px, 3.125vw, 24px);
    }

    .about__body {
        gap: clamp(20px, 3.516vw, 27px);
    }

    .about__bottom {
        align-items: center;
        gap: clamp(40px, 7.031vw, 54px);
    }
}

@media (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {
    .about__heading,
    .about__body p {
        max-width: 46rem;
    }
}

@media (min-width: 1025px) and (max-height: 900px), (orientation: landscape) and (max-height: 500px) {
    .about__left {
        gap: clamp(24px, 4.167vw, 32px);
    }
}

@media (orientation: landscape) and (hover: none) and (pointer: coarse) and (min-height: 501px) {
    .about {
        min-height: 70vh;
    }
}

.products {
    background-color: var(--color-vanilla-cream);
}

.products__inner {
    padding-top: clamp(60px, 6.944vw, 161px);
    padding-bottom: clamp(60px, 6.944vw, 161px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.products__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
    margin-bottom: clamp(40px, 5.556vw, 80px);
}

.products__label {
    font-size: var(--text-m);
    font-weight: 500;
    line-height: var(--lh-lead);
    color: var(--color-dark-green);
}

.products__heading {
    font-size: var(--text-h2);
    font-weight: 500;
    line-height: var(--lh-headings);
    color: var(--color-dark-green);
    max-width: 12.73em;
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(12px, 1.667vw, 24px);
    width: 100%;
}

.product-card {
    position: relative;
    border-radius: clamp(16px, 1.667vw, 24px);
    overflow: hidden;
    aspect-ratio: 432 / 543;
    cursor: pointer;
}

.product-card__default-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    transition: opacity 0.5s ease;
}

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

.product-card__hover-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.product-card__hover-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(183.58deg, rgba(0,0,0,0.51) 2.36%, rgba(0,0,0,0) 36.88%);
}

.product-card__info {
    position: absolute;
    top: clamp(24px, 2.778vw, 40px);
    left: 0;
    right: 0;
    padding: 0 clamp(20px, 2.222vw, 32px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    z-index: 2;
    transition: opacity 0.5s ease;
}

.product-card__name {
    font-size: var(--text-h3);
    font-weight: 500;
    line-height: 1;
    color: var(--color-dark-green);
}

.product-card__desc {
    font-size: var(--text-body);
    font-weight: 400;
    line-height: 1.25;
    color: var(--color-dark-green);
}

.product-card__badge {
    background-color: var(--color-dark-green);
    color: var(--color-matcha-green);
    font-size: var(--text-body);
    font-weight: 500;
    letter-spacing: 0.16px;
    line-height: 1.25;
    padding: 4px 10px;
    border-radius: 100px;
    white-space: nowrap;
}

.product-card__hover-name {
    position: absolute;
    top: clamp(24px, 2.778vw, 40px);
    left: 0;
    right: 0;
    padding: 0 clamp(20px, 2.222vw, 32px);
    font-size: var(--text-h3);
    font-weight: 500;
    line-height: 1;
    color: var(--color-vanilla-cream);
    text-align: center;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.5s ease;
    margin: 0;
}

.product-card__bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 4;
    overflow: hidden;
    border-radius: 0 0 clamp(16px, 1.667vw, 24px) clamp(16px, 1.667vw, 24px);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card__weights-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: var(--color-dark-vanilla);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: clamp(16px, 1.667vw, 24px) clamp(16px, 1.667vw, 24px) 0 0;
}

.product-card__weights {
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-card__weight {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--text-body);
    font-weight: 500;
    letter-spacing: 0.16px;
    line-height: 1.25;
    color: var(--color-dark-green);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: var(--font-primary);
    opacity: 0.45;
    transition: opacity 0.5s ease;
}

.product-card__weight.is-selected {
    opacity: 1;
}

.product-card__weight-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1.5px solid var(--color-dark-green);
    background-color: transparent;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card__weight-dot::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-dark-green);
    opacity: 0;
    transition: opacity 0.5s ease;
    display: block;
}

.product-card__weight.is-selected .product-card__weight-dot::after {
    opacity: 1;
}

.product-card__cta {
    flex-shrink: 0;
    white-space: nowrap;
}

.product-card__link {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-dark-green);
    color: var(--color-vanilla-cream);
    font-size: var(--text-body);
    font-weight: 500;
    letter-spacing: 0.16px;
    line-height: 1.25;
    padding: 18px 24px;
    min-height: 56px;
    text-align: center;
    transition: background-color 0.5s ease, color 0.5s ease;
}

@media (hover: hover) and (pointer: fine) {
    .product-card__link:hover {
        background-color: var(--color-matcha-green);
        color: var(--color-dark-green);
    }

    .product-card:hover .product-card__default-layer { opacity: 0; }
    .product-card:hover .product-card__info          { opacity: 0; }
    .product-card:hover .product-card__hover-layer   { opacity: 1; }
    .product-card:hover .product-card__hover-name    { opacity: 1; }
    .product-card:hover .product-card__bottom        { transform: translateY(0); }
}

@media (max-width: 1024px) and (orientation: portrait) {
    .products__inner {
        padding-left: var(--edge-inset);
        padding-right: var(--edge-inset);
        padding-top: clamp(80px, 15.625vw, 160px);
        padding-bottom: clamp(80px, 15.625vw, 160px);
    }

    .products__heading {
        max-width: 46rem;
    }

    .products__grid {
        display: flex;
        grid-template-columns: none;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: clamp(16px, 2.865vw, 22px);
        max-width: 100%;
        scrollbar-width: none;
    }

    .products__grid::-webkit-scrollbar {
        display: none;
    }

    .product-card {
        flex: 0 0 100%;
        scroll-snap-align: center;
        aspect-ratio: auto;
        min-height: clamp(543px, 95.573vw, 734px);
        border-radius: clamp(24px, 4.167vw, 32px);
        background-color: var(--color-dark-vanilla);
    }

    .js-reveal-ready .product-card.reveal {
        opacity: 1;
        transform: none;
    }

    .product-card__info {
        top: clamp(40px, 7.031vw, 54px);
        padding: 0 clamp(24px, 4.167vw, 32px);
        opacity: 1;
    }

    .product-card__bottom {
        transform: none;
        transition: none;
        border-radius: 0 0 clamp(24px, 4.167vw, 32px) clamp(24px, 4.167vw, 32px);
    }

    .product-card__weights-bar {
        justify-content: center;
        gap: clamp(24px, 4.167vw, 32px);
        border-radius: clamp(24px, 4.167vw, 32px) clamp(24px, 4.167vw, 32px) 0 0;
    }

    .product-card__link {
        min-height: clamp(58px, 10.156vw, 78px);
    }

    .product-card__hover-layer,
    .product-card__hover-name {
        display: none;
    }

    .products__dots {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: clamp(10px, 1.823vw, 14px);
        margin-top: clamp(24px, 4.167vw, 32px);
    }

    .products__dot {
        width: clamp(10px, 1.823vw, 14px);
        height: clamp(10px, 1.823vw, 14px);
        border-radius: 50%;
        border: none;
        padding: 0;
        background-color: var(--color-dark-green-30);
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .products__dot.is-active {
        background-color: var(--color-dark-green);
    }
}

@media (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {
    .products__grid {
        width: 100%;
        padding-left: 15vw;
        padding-right: 15vw;
        scroll-padding-left: 15vw;
        scroll-padding-right: 15vw;
    }

    .product-card {
        flex: 0 0 100%;
        aspect-ratio: 432 / 543;
        min-height: 0;
    }
}

@media (orientation: landscape) and (max-height: 500px) {
    .products__inner {
        padding-left: var(--edge-inset);
        padding-right: var(--edge-inset);
        min-height: 100vh;
        justify-content: center;
    }

    .product-card__name {
        font-size: var(--text-h5);
    }

    .product-card__desc {
        font-size: var(--text-s);
        line-height: 1.2;
    }

    .product-card__info {
        top: clamp(12px, 2.222vw, 20px);
        gap: 4px;
    }

    .product-card__bottom {
        transform: none;
        transition: none;
    }

    .product-card__weights-bar {
        padding: 12px 16px;
    }

    .product-card__weight {
        font-size: var(--text-s);
    }

    .product-card__cta > span:not(.btn__arrow) {
        display: none;
    }

    .product-card__cta {
        padding: 5px;
    }

    .product-card__link {
        font-size: var(--text-s);
        min-height: 40px;
        padding: 10px 16px;
    }
}

@media (orientation: landscape) and (hover: none) and (pointer: coarse) {
    .products__inner {
        padding-left: var(--edge-inset);
        padding-right: var(--edge-inset);
    }

    .product-card {
        aspect-ratio: 432 / 620;
    }

    .product-card__bottom {
        transform: none;
        transition: none;
    }

    .product-card__hover-layer,
    .product-card__hover-name {
        display: none;
    }
}

@media (min-width: 1025px), (orientation: landscape) {
    .products__dots {
        display: none;
    }
}

.why {
    position: relative;
    height: 98vh;
    background-color: var(--color-dark-green);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.why__inner {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: clamp(40px, 4.167vw, 97px);
    padding-bottom: clamp(40px, 4.167vw, 97px);
}

.why::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.2) 100%),
        linear-gradient(180deg, rgba(0,0,0,0) 34%, rgba(0,0,0,0.9) 83%);
}

.why__top {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 1.25vw, 18px);
}

.why__label {
    font-size: var(--text-m);
    font-weight: 500;
    color: var(--color-matcha-green);
}

.why__heading {
    font-size: var(--text-h2);
    font-weight: 500;
    line-height: 1;
    color: var(--color-vanilla-cream);
    max-width: 8.95em;
}

.why__features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 1.389vw, 40px);
}

.why__feature {
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 1.111vw, 24px);
}

.why__feature-icon {
    height: clamp(48px, 3.333vw, 70px);
    width: auto;
    display: block;
    align-self: flex-start;
}

.why__feature-content {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 0.694vw, 14px);
}

.why__feature-title {
    font-size: var(--text-h4);
    font-weight: 500;
    line-height: 1;
    color: var(--color-vanilla-cream);
}

.why__feature-body {
    font-size: var(--text-body);
    font-weight: 400;
    line-height: 1.25;
    color: var(--color-vanilla-cream);
}

@media (max-width: 1024px) and (orientation: portrait) {
    .why {
        height: auto;
    }

    .why__inner {
        align-items: center;
        text-align: center;
        gap: clamp(24px, 4.167vw, 32px);
        padding: clamp(80px, 15.625vw, 160px) var(--edge-inset);
    }

    .why__top {
        align-items: center;
    }

    .why__heading {
        max-width: 46rem;
    }

    .why__features {
        grid-template-columns: 1fr;
        gap: clamp(40px, 7.031vw, 54px);
    }

    .why__feature {
        align-items: center;
    }

    .why__feature-body {
        max-width: 46rem;
    }

    .why__feature-icon {
        align-self: center;
    }
}

@media (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {
    .why__feature-icon {
        height: 80px;
    }
}

@media (orientation: landscape) and (max-height: 500px) {
    .why {
        height: auto;
    }

    .why__inner {
        gap: clamp(40px, 6.25vw, 56px);
    }

    .why__heading {
        max-width: 16em;
    }

    .why__features {
        gap: clamp(32px, 5vw, 56px);
    }
}

@media (orientation: landscape) and (hover: none) and (pointer: coarse) and (min-height: 501px) {
    .why {
        height: 70vh;
    }
}

.instagram {
    background-color: var(--color-vanilla-cream);
}

.instagram__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 1fr);
}

.instagram__item {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    display: block;
    isolation: isolate;
    -webkit-tap-highlight-color: transparent;
}

.instagram__item:focus:not(:focus-visible) {
    outline: none;
}

.instagram__media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform 0.5s ease;
}

.instagram__hover {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0);
    -webkit-backdrop-filter: blur(0px) grayscale(0%);
    backdrop-filter: blur(0px) grayscale(0%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.5s ease, backdrop-filter 0.5s ease, -webkit-backdrop-filter 0.5s ease;
    z-index: 1;
}

.instagram__hover-icon {
    width: clamp(100px, 6.944vw, 132px);
    height: auto;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.instagram__item:hover .instagram__media {
    transform: scale(1.07);
}

.instagram__item:hover .instagram__hover {
    background-color: rgba(0, 0, 0, 0.55);
    -webkit-backdrop-filter: blur(4px) grayscale(100%);
    backdrop-filter: blur(4px) grayscale(100%);
}

.instagram__item:hover .instagram__hover-icon {
    opacity: 1;
}

@media (max-width: 1024px) {
    .instagram {
        aspect-ratio: 1 / 1;
        overflow: hidden;
    }

    .instagram__grid {
        display: flex;
        height: 100%;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .instagram__grid::-webkit-scrollbar {
        display: none;
    }

    .instagram__item {
        flex: none;
        height: 100%;
        width: auto;
        aspect-ratio: auto;
    }

    .instagram__media {
        width: auto;
        height: 100%;
    }

    .instagram__item.is-active .instagram__media {
        transform: scale(1.07);
    }

    .instagram__item.is-active .instagram__hover {
        background-color: rgba(0, 0, 0, 0.55);
        -webkit-backdrop-filter: blur(4px) grayscale(100%);
        backdrop-filter: blur(4px) grayscale(100%);
    }

    .instagram__item.is-active .instagram__hover-icon {
        opacity: 1;
    }
}

@media (orientation: landscape) and (max-height: 500px),
       (orientation: landscape) and (hover: none) and (pointer: coarse) and (min-height: 501px) {
    .instagram {
        aspect-ratio: auto;
        height: 80vh;
    }
}

@media (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {
    .instagram__hover-icon {
        width: 180px;
    }
}

