:root {
    --paper: #f7f0e6;
    --paper-soft: #fcf8f1;
    --paper-deep: #f0e4d2;
    --ink: #112552;
    --ink-soft: #31466f;
    --gold: #d39b42;
    --gold-soft: #ead4ab;
    --line: rgba(17, 37, 82, 0.1);
    --shadow: 0 28px 60px -34px rgba(17, 37, 82, 0.28);
    --header-h: 92px;
    --container: 1340px;
    --hero-stage-w: 1620px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
    background:
        radial-gradient(circle at top left, rgba(211, 155, 66, 0.08), transparent 20%),
        linear-gradient(180deg, #fbf7f0 0%, #f6efe4 100%);
}

img {
    display: block;
    max-width: 100%;
}

.icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

a {
    color: inherit;
}

.page-shell {
    min-height: 100vh;
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 40;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 max(44px, calc((100vw - var(--hero-stage-w)) / 2 + 44px));
    border-bottom: 1px solid var(--line);
    background: rgba(250, 246, 239, 0.94);
    backdrop-filter: blur(14px);
    font-family: "Inter", sans-serif;
}

.logo-link {
    display: inline-flex;
    align-self: flex-start;
    margin-top: 0;
    text-decoration: none;
}

.ribbon-logo {
    width: 204px;
    height: 170px;
    padding: 8px 17px 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #112552 0%, #112552 100%);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 18px 36px -28px rgba(17, 37, 82, 0.72);
}

.ribbon-logo::after {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px dashed rgba(251, 247, 240, 0.2);
    border-radius: 0 0 7px 7px;
    pointer-events: none;
}

.ribbon-logo img {
    width: 168px;
    height: 145px;
    object-fit: contain;
    transform: translateY(-2px);
}

.nav-desktop {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(28px, 3.8vw, 54px);
    margin-left: auto;
    margin-right: clamp(32px, 5vw, 88px);
    padding-top: 0;
}

.nav-desktop a,
.lang-switch a {
    text-decoration: none;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 500;
    transition: color 180ms ease;
}

.nav-desktop a:hover,
.lang-switch a:hover {
    color: var(--gold);
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 0;
}

.lang-switch .current {
    color: var(--gold);
}

.menu-button {
    display: none;
}

.mobile-nav {
    display: none;
}

.hero {
    padding-top: var(--header-h);
}

.hero-stage {
    min-height: 100dvh;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(17, 37, 82, 0.06);
    background: #fbf5ec;
}

.hero-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    left: 50%;
    width: min(100%, var(--hero-stage-w));
    transform: translateX(-50%);
    background: url("./assets/hero_mother_final.png") right top / cover no-repeat;
}

.hero-stage::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 1;
    width: min(58%, 820px);
    background: linear-gradient(90deg, #fbf5ec 0%, rgba(251, 245, 236, 0.86) 64%, rgba(251, 245, 236, 0) 100%);
    pointer-events: none;
}

.hero-stage-inner {
    position: relative;
    z-index: 2;
    min-height: 100dvh;
    width: min(100%, var(--hero-stage-w));
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 42px clamp(42px, 4vw, 72px) 44px clamp(64px, 5vw, 96px);
}

.hero-copy {
    width: min(100%, 650px);
    margin-left: clamp(12px, 2vw, 44px);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.34em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 62px;
    height: 1px;
    background: rgba(211, 155, 66, 0.62);
}

.hero .eyebrow {
    display: none;
}

.hero-title,
.section-title,
.cta-title {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
    letter-spacing: -0.045em;
    color: var(--ink);
}

.hero-title {
    max-width: 720px;
    font-size: clamp(5rem, 5vw, 6rem);
    line-height: 0.9;
}

.hero-title .accent,
.cta-title .accent {
    color: var(--gold);
    font-style: italic;
}

.hero-body,
.hero-subcopy,
.section-copy,
.feature-copy,
.cta-copy {
    color: var(--ink-soft);
    line-height: 1.62;
}

.hero-body,
.hero-subcopy {
    max-width: 480px;
    font-size: 1.12rem;
}

.hero-body {
    margin: 26px 0 0;
}

.hero-subcopy {
    margin: 12px 0 0;
}

.store-badge {
    display: inline-flex;
    margin-top: 22px;
    transition: transform 180ms ease, filter 180ms ease;
}

.hero .store-badge {
    display: flex;
    width: fit-content;
    margin: 30px 0 0 clamp(108px, 10vw, 132px);
}

.store-badge:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

.store-badge img {
    height: 58px;
    width: auto;
}

.hero .store-badge img {
    height: 74px;
}

.features .eyebrow {
    margin-bottom: 28px;
}

@media (min-width: 1200px) {
    .hero-copy {
        width: min(100%, 650px);
    }

    .hero-body,
    .hero-subcopy {
        max-width: 480px;
    }
}

.section-shell {
    scroll-margin-top: calc(var(--header-h) + 20px);
    padding: 64px clamp(30px, 4vw, 56px) 88px;
}

.section-inner {
    max-width: var(--container);
    margin: 0 auto;
}

.features {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(252, 247, 239, 0.98) 100%);
    overflow: hidden;
}

.features .eyebrow {
    margin-bottom: 24px;
}

.features .section-title {
    margin-top: 24px;
}

.features-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.82fr) minmax(460px, 1.18fr);
    gap: clamp(34px, 4vw, 68px);
    align-items: center;
}

.section-title {
    max-width: 440px;
    font-size: clamp(4rem, 4.6vw, 5rem);
    line-height: 0.92;
}

.section-copy {
    max-width: 330px;
    margin: 20px 0 0;
    font-size: 1rem;
}

.features .section-copy {
    max-width: 470px;
}

.feature-list {
    margin: 36px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 28px;
}

.feature-item {
    display: grid;
    grid-template-columns: 66px 1fr;
    gap: 16px;
    align-items: start;
}

.feature-icon {
    width: 66px;
    height: 66px;
    border-radius: 999px;
    border: 1px solid rgba(211, 155, 66, 0.38);
    display: grid;
    place-items: center;
    color: var(--gold);
    font-size: 1.65rem;
    background: rgba(255, 255, 255, 0.72);
}

.feature-icon svg,
.mini-value-icon svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-name {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    line-height: 0.96;
    font-weight: 500;
}

.feature-copy {
    margin: 8px 0 0;
    max-width: 320px;
    font-size: 0.96rem;
}

.phone-scene {
    position: relative;
    width: min(100%, 700px);
    min-height: 690px;
    justify-self: center;
    isolation: isolate;
    overflow: visible;
    perspective: 2500px;
    transform-style: preserve-3d;
}

.phone-glow {
    position: absolute;
    top: 48%;
    left: 50%;
    z-index: 0;
    width: 62%;
    height: 62%;
    border-radius: 999px;
    background: rgba(232, 192, 130, 0.14);
    filter: blur(86px);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.online-phone-container {
    position: absolute;
    inset: 0;
    z-index: 1;
    transform: rotateX(55deg) rotateZ(-40deg) translateZ(0);
    transform-style: preserve-3d;
    will-change: transform;
}

.online-phone {
    position: absolute;
    width: clamp(218px, 17vw, 280px);
    aspect-ratio: 280 / 580;
    overflow: hidden;
    border: 10px solid #0a1128;
    border-radius: 40px;
    background: #0a1128;
    box-shadow:
        -1px 1px 0 #444,
        -2px 2px 0 #444,
        -3px 3px 0 #444,
        -4px 4px 0 #3a3a40,
        -5px 5px 0 #3a3a40,
        -6px 6px 0 #3a3a40,
        -7px 7px 0 #2a2a30,
        -8px 8px 0 #2a2a30,
        -9px 9px 0 #2a2a30,
        -10px 10px 0 #1a1a24,
        -11px 11px 0 #1a1a24,
        -12px 12px 0 #1a1a24,
        -13px 13px 0 #0d0d12,
        -14px 14px 0 #0d0d12,
        -15px 15px 0 #0d0d12,
        -16px 16px 0 #000,
        -40px 40px 60px rgba(10, 17, 40, 0.36);
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform;
}

.online-notch {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 3;
    width: 110px;
    height: 26px;
    border-radius: 0 0 14px 14px;
    background: #0a1128;
    transform: translateX(-50%) translateZ(2px);
}

.online-phone img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transform: translateZ(1px);
}

.online-phone-one {
    top: 45%;
    left: 0%;
    z-index: 1;
    animation: float-bot 6s ease-in-out infinite;
}

.online-phone-two {
    top: 20%;
    left: 25%;
    z-index: 2;
    animation: float-mid 6s ease-in-out infinite 1s;
}

.online-phone-three {
    top: -5%;
    left: 50%;
    z-index: 3;
    animation: float-top 6s ease-in-out infinite 2s;
}

@keyframes float-bot {
    0%, 100% {
        transform: translateZ(0);
    }

    50% {
        transform: translateZ(15px);
    }
}

@keyframes float-mid {
    0%, 100% {
        transform: translateZ(90px);
    }

    50% {
        transform: translateZ(110px);
    }
}

@keyframes float-top {
    0%, 100% {
        transform: translateZ(180px);
    }

    50% {
        transform: translateZ(205px);
    }
}

.guides {
    background:
        radial-gradient(circle at 18% 10%, rgba(211, 155, 66, 0.09), transparent 14%),
        linear-gradient(180deg, #fcf8f1 0%, #f9f3e8 100%);
}

.guides-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.guides-head .eyebrow {
    margin-bottom: 18px;
}

.guides .section-title {
    max-width: none;
    white-space: nowrap;
    font-size: clamp(3.6rem, 4.4vw, 4.8rem);
}

.guides-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.guides-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--ink);
    font-size: 1rem;
}

.guide-arrow {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(211, 155, 66, 0.34);
    border-radius: 999px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.82);
    cursor: pointer;
    font-size: 1.36rem;
    transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.guide-arrow:hover {
    border-color: rgba(211, 155, 66, 0.8);
    color: var(--gold);
    transform: translateY(-1px);
}

.guides-carousel {
    position: relative;
    margin-top: 38px;
}

.guide-arrow-left,
.guide-arrow-right {
    position: absolute;
    top: 50%;
    z-index: 4;
    transform: translateY(-50%);
    box-shadow: 0 18px 36px -28px rgba(17, 37, 82, 0.42);
}

.guide-arrow-left {
    left: -32px;
}

.guide-arrow-right {
    right: -32px;
}

.guide-arrow-left:hover,
.guide-arrow-right:hover {
    transform: translateY(-50%) scale(1.03);
}

.guides-link span:last-child {
    color: var(--gold);
}

.guides-rail {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.guides-rail::-webkit-scrollbar {
    display: none;
}

.guide-card {
    flex: 0 0 clamp(350px, 30vw, 430px);
    position: relative;
    aspect-ratio: 0.86;
    overflow: hidden;
    contain: paint;
    border-radius: 18px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.36);
    text-decoration: none;
}

.guide-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: translateZ(0);
}

.guide-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(17, 37, 82, 0.02) 0%, rgba(17, 37, 82, 0.18) 44%, rgba(17, 37, 82, 0.84) 100%),
        linear-gradient(90deg, rgba(17, 37, 82, 0.28), transparent 50%, rgba(17, 37, 82, 0.2));
}

.guide-content {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 1;
    padding: 20px 22px 24px;
    color: white;
}

.guide-brand-strip {
    position: absolute;
    inset: auto 22px 118px 22px;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 36px 1fr;
    align-items: center;
    gap: 10px;
    color: white;
    text-align: center;
    text-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

.guide-logo {
    font-size: clamp(0.92rem, 1.22vw, 1.26rem);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.guide-logo.serif {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1.28rem, 1.62vw, 1.74rem);
    font-weight: 600;
    letter-spacing: 0.08em;
}

.guide-vs-dot {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    justify-self: center;
    border-radius: 999px;
    color: white;
    background: rgba(211, 155, 66, 0.84);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.guide-tag {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.guide-title {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1.78rem, 1.9vw, 2.22rem);
    line-height: 0.95;
    font-weight: 500;
}

.guide-mark {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 1;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: white;
    font-size: 1rem;
    background: rgba(211, 155, 66, 0.78);
    box-shadow: 0 12px 22px -16px rgba(17, 37, 82, 0.42);
}

.latest-posts {
    background:
        radial-gradient(circle at 82% 12%, rgba(211, 155, 66, 0.1), transparent 16%),
        linear-gradient(180deg, #f9f3e8 0%, #fbf7f0 100%);
    padding-top: 70px;
    padding-bottom: 76px;
}

.latest-posts-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 34px;
}

.latest-posts-head .section-title {
    max-width: 620px;
    font-size: clamp(3.5rem, 4.2vw, 4.7rem);
}

.latest-posts-head .section-copy {
    max-width: 560px;
}

.latest-posts-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
    color: var(--ink);
    text-decoration: none;
    font-size: 1rem;
}

.latest-posts-link span:last-child {
    color: var(--gold);
}

.latest-posts-grid {
    margin-top: 38px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.latest-post-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(17, 37, 82, 0.08);
    border-radius: 18px;
    background: rgba(255, 250, 243, 0.86);
    color: var(--ink);
    text-decoration: none;
    box-shadow: 0 28px 70px -50px rgba(17, 37, 82, 0.62);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.latest-post-card:hover,
.latest-post-card:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(211, 155, 66, 0.32);
    box-shadow: 0 34px 84px -50px rgba(17, 37, 82, 0.72);
}

.latest-post-card:focus-visible {
    outline: 3px solid rgba(211, 155, 66, 0.62);
    outline-offset: 4px;
}

.latest-post-card img {
    width: 100%;
    aspect-ratio: 1.55;
    object-fit: cover;
    object-position: center;
}

.latest-post-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px 22px 24px;
}

.latest-post-tag {
    width: fit-content;
    margin-bottom: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(211, 155, 66, 0.28);
    color: var(--gold);
    background: rgba(255, 250, 243, 0.82);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.latest-post-card h3 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2rem, 2.25vw, 2.55rem);
    line-height: 0.98;
    font-weight: 600;
}

.latest-post-card p {
    margin: 14px 0 0;
    color: var(--ink-soft);
    line-height: 1.58;
}

.brands {
    padding: 30px 0 88px;
    margin-top: -1px;
    margin-bottom: -76px;
    background:
        linear-gradient(180deg, rgba(251, 247, 240, 0) 0%, rgba(251, 247, 240, 0.98) 18%, #fbf7f0 44%, #f5ecd9 72%, #ead8b8 100%);
    overflow: hidden;
}

.brands-inner {
    max-width: none;
    margin: 0;
}

.brands-head {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(30px, 4vw, 56px);
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 0.82rem;
    font-weight: 600;
}

.brands-head::before,
.brands-head::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(211, 155, 66, 0.42);
}

.brand-marquee {
    position: relative;
    margin-top: 36px;
    overflow: hidden;
}

.brand-marquee::before,
.brand-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: min(18vw, 220px);
    pointer-events: none;
}

.brand-marquee::before {
    left: 0;
    background: linear-gradient(90deg, rgba(251, 247, 240, 1), rgba(251, 247, 240, 0));
}

.brand-marquee::after {
    right: 0;
    background: linear-gradient(270deg, rgba(251, 247, 240, 1), rgba(251, 247, 240, 0));
}

.brand-track {
    margin-top: 0;
    width: max-content;
    display: flex;
    align-items: center;
    gap: clamp(46px, 5vw, 86px);
    padding: 0 clamp(30px, 4vw, 56px);
    animation: brand-marquee 42s linear infinite;
}

.brand-track:hover {
    animation-play-state: paused;
}

@keyframes brand-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.brand-track img {
    margin: 0 auto;
    max-height: 42px;
    width: auto;
}

.brand-track > * {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-word {
    text-align: center;
    color: var(--ink);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.brand-word.small {
    font-size: 1.72rem;
}

.cta {
    padding: 116px clamp(30px, 4vw, 56px) 72px;
    margin-top: -76px;
    margin-bottom: -1px;
    background:
        radial-gradient(circle at 18% 18%, rgba(211, 155, 66, 0.12), transparent 16%),
        radial-gradient(circle at 82% 22%, rgba(255, 255, 255, 0.45), transparent 18%),
        linear-gradient(180deg, rgba(234, 216, 184, 0) 0%, #ead8b8 18%, #dfc9a3 48%, #f0e4d2 78%, #fbf7f0 100%);
}

.cta-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 760px);
    gap: 34px;
    align-items: center;
    justify-content: center;
}

.cta-column,
.cta-values {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.mini-value {
    text-align: center;
    color: var(--ink-soft);
    font-size: 0.94rem;
}

.mini-value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    margin-bottom: 12px;
    border-radius: 999px;
    border: 1px solid rgba(211, 155, 66, 0.36);
    color: var(--gold);
    font-size: 1.9rem;
    background: rgba(255, 255, 255, 0.6);
}

.cta-center {
    text-align: center;
}

.cta-title {
    font-size: clamp(4rem, 4.6vw, 5rem);
    line-height: 1;
}

.cta-title .line {
    display: block;
}

.cta-copy {
    max-width: 360px;
    margin: 18px auto 0;
    font-size: 1rem;
}

.cta .store-badge {
    margin-top: 22px;
}

.site-footer {
    padding: 34px clamp(30px, 4vw, 56px) 44px;
    background: rgba(252, 248, 241, 0.96);
}

.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    color: rgba(49, 70, 111, 0.72);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-brand img {
    width: 92px;
    height: auto;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(49, 70, 111, 0.82);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 180ms ease;
}

.footer-links a:hover {
    color: var(--gold);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 640ms ease, transform 640ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.menu-button-label {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: minmax(280px, 0.78fr) minmax(420px, 1.22fr);
        gap: clamp(28px, 3vw, 48px);
    }

    .phone-scene {
        min-height: 580px;
        width: min(100%, 620px);
    }

    .guides-rail {
        gap: 20px;
    }

    .guide-card {
        flex-basis: clamp(330px, 40vw, 410px);
    }

    .brand-track {
        animation-duration: 34s;
    }

    .cta-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 960px) {
    :root {
        --header-h: 84px;
    }

    .site-header {
        padding: 0 18px;
    }

    .ribbon-logo {
        width: 100px;
        height: 76px;
        padding: 7px 10px;
        border-radius: 0 0 8px 8px;
    }

    .ribbon-logo img {
        width: 70px;
        height: 54px;
        transform: translateY(0);
    }

    .nav-desktop {
        display: none;
    }

    .lang-switch {
        display: none;
    }

    .menu-button {
        position: absolute;
        top: 20px;
        right: 18px;
        display: inline-flex;
        margin: 0;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        border: 1px solid var(--line);
        background: rgba(255, 255, 255, 0.72);
        color: var(--ink);
        font-size: 1.2rem;
        line-height: 1;
    }

    .mobile-nav[data-open="true"] {
        position: fixed;
        inset: var(--header-h) 14px auto 14px;
        z-index: 39;
        display: grid;
        gap: 14px;
        padding: 18px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: rgba(251, 247, 240, 0.98);
        box-shadow: var(--shadow);
    }

    .mobile-nav a {
        text-decoration: none;
        font-size: 1rem;
    }

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

    .latest-posts-grid {
        grid-template-columns: 1fr;
    }

    .latest-post-card {
        display: grid;
        grid-template-columns: minmax(220px, 0.82fr) minmax(0, 1fr);
    }

    .latest-post-card img {
        height: 100%;
        aspect-ratio: auto;
    }

    .hero-stage {
        min-height: clamp(640px, calc(100svh - var(--header-h)), 760px);
    }

    .hero-stage::before {
        background-position: 72% top;
        background-size: cover;
    }

    .hero-stage::after {
        width: 100%;
        background:
            linear-gradient(90deg, rgba(251, 245, 236, 0.92) 0%, rgba(251, 245, 236, 0.72) 46%, rgba(251, 245, 236, 0.24) 78%, rgba(251, 245, 236, 0.04) 100%),
            linear-gradient(180deg, rgba(251, 245, 236, 0.04) 0%, rgba(251, 245, 236, 0.14) 100%);
    }

    .hero-stage-inner {
        min-height: clamp(640px, calc(100svh - var(--header-h)), 760px);
        align-items: center;
        padding: 42px 22px 32px;
    }

    .hero-copy {
        margin-left: 0;
        width: min(100%, 580px);
    }

    .hero-title {
        font-size: clamp(4rem, 12vw, 5.2rem);
    }

    .hero-body,
    .hero-subcopy {
        max-width: 560px;
    }

    .phone-scene {
        min-height: 500px;
        overflow: hidden;
    }

    .online-phone {
        width: 190px;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .hero-stage {
        min-height: clamp(620px, calc(100svh - var(--header-h)), 720px);
    }

    .hero-stage::before {
        background-position: 70% top;
        background-size: cover;
    }

    .hero-stage::after {
        width: 100%;
        background:
            linear-gradient(90deg, rgba(251, 245, 236, 0.94) 0%, rgba(251, 245, 236, 0.7) 50%, rgba(251, 245, 236, 0.22) 78%, rgba(251, 245, 236, 0.04) 100%),
            linear-gradient(180deg, rgba(251, 245, 236, 0.02) 0%, rgba(251, 245, 236, 0.12) 100%);
    }

    .hero-stage-inner {
        min-height: clamp(620px, calc(100svh - var(--header-h)), 720px);
        padding: 36px 18px 30px;
    }

    .hero-title {
        font-size: clamp(3.4rem, 14vw, 4.4rem);
    }

    .hero-body,
    .hero-subcopy {
        font-size: 1rem;
    }

    .store-badge img {
        height: 48px;
    }

    .hero .store-badge img {
        height: 58px;
    }

    .section-shell,
    .guides,
    .cta,
    .brands {
        padding-left: 18px;
        padding-right: 18px;
    }

    .brand-marquee {
        margin-top: 30px;
    }

    .brands-head {
        justify-content: center;
        padding: 0;
        gap: 14px;
        text-align: center;
        line-height: 1.4;
    }

    .brands-head::before,
    .brands-head::after {
        flex: 0 1 58px;
    }

    .section-title,
    .cta-title {
        font-size: clamp(3.1rem, 13vw, 4rem);
    }

    .cta-title {
        line-height: 1.1;
    }

    .feature-item {
        grid-template-columns: 54px 1fr;
    }

    .feature-icon {
        width: 54px;
        height: 54px;
        font-size: 1.3rem;
    }

    .feature-name {
        font-size: 1.8rem;
    }

    .guides-head {
        align-items: start;
        flex-direction: column;
    }

    .latest-posts-head {
        align-items: start;
        flex-direction: column;
        gap: 18px;
    }

    .latest-posts-grid {
        grid-template-columns: 1fr;
    }

    .latest-post-card {
        display: flex;
        flex-direction: column;
        border-radius: 16px;
    }

    .latest-post-card img {
        aspect-ratio: 1.52;
    }

    .guides-actions {
        width: 100%;
        justify-content: space-between;
    }

    .guides .section-title {
        white-space: normal;
        font-size: clamp(3.1rem, 13vw, 4rem);
    }

    .guides-rail {
        gap: 16px;
    }

    .guide-card {
        flex-basis: min(86vw, 420px);
        aspect-ratio: 1;
    }

    .guide-card img {
        object-position: center center;
    }

    .guide-arrow-left {
        left: 10px;
    }

    .guide-arrow-right {
        right: 10px;
    }

    .guide-arrow {
        width: 54px;
        height: 54px;
        font-size: 1.18rem;
    }

    .cta-column {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta {
        padding-top: 88px;
    }

    .cta-values {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 18px;
    }

    .phone-scene {
        min-height: auto;
        width: 100%;
        overflow: visible;
        perspective: none;
        transform-style: flat;
    }

    .online-phone-container {
        position: relative;
        inset: auto;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        transform: none;
        transform-style: flat;
        will-change: auto;
    }

    .phone-glow {
        display: none;
    }

    .online-phone {
        position: relative;
        top: auto;
        left: auto;
        width: min(100%, 168px);
        justify-self: center;
        border-width: 6px;
        border-radius: 24px;
        box-shadow: 0 18px 34px -22px rgba(10, 17, 40, 0.42);
        animation: none;
        transform: none;
    }

    .online-phone-three {
        display: none;
    }

    .online-notch {
        width: 66px;
        height: 16px;
        border-radius: 0 0 9px 9px;
    }

    .features.section-shell {
        padding-bottom: 46px;
    }

    .guides.section-shell {
        padding-top: 42px;
    }

    .guide-brand-strip {
        inset: auto 18px 102px 18px;
    }

    .footer-brand {
        align-items: center;
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        gap: 16px;
    }

    .footer-inner {
        align-items: center;
        text-align: center;
    }
}
