.yuef-standard {
    --yuef-standard-bg: none;
    --yuef-standard-brown: #2f2419;
    --yuef-standard-muted: #6f5b47;
    --yuef-standard-gold: #b88a2f;
    --yuef-standard-panel: rgba(255, 251, 246, 0.94);
    --yuef-standard-panel-hover: rgba(255, 253, 249, 0.98);
    position: relative;
    overflow: hidden;
    padding: 28px 20px 84px;
    background: linear-gradient(180deg, #f8f2e9 0%, #f2e5d3 48%, #fbf7f1 100%);
}

.yuef-standard__shell {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
}

.yuef-standard__hero {
    position: relative;
    min-height: clamp(420px, 52vw, 720px);
    padding: clamp(42px, 5vw, 72px);
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    isolation: isolate;
    box-shadow: 0 24px 80px rgba(96, 68, 34, 0.16);
}

.yuef-standard__media,
.yuef-standard__overlay,
.yuef-standard__glow,
.yuef-standard__floats {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.yuef-standard__media {
    background-image: var(--yuef-standard-bg);
    background-position: center 32%;
    background-repeat: no-repeat;
    background-size: cover;
    transform: scale(1.02);
}

.yuef-standard__overlay {
    background:
        linear-gradient(180deg, rgba(40, 28, 17, 0.16) 0%, rgba(40, 28, 17, 0.08) 34%, rgba(31, 21, 13, 0.46) 100%),
        linear-gradient(180deg, rgba(248, 242, 233, 0.08) 0%, rgba(248, 242, 233, 0.18) 100%);
}

.yuef-standard__glow {
    background:
        radial-gradient(circle at 16% 18%, rgba(184, 138, 47, 0.16), transparent 34%),
        radial-gradient(circle at 82% 24%, rgba(255, 255, 255, 0.12), transparent 28%);
}

.yuef-standard__floats {
    z-index: 1;
}

.yuef-standard__float {
    position: absolute;
    width: clamp(40px, 5vw, 74px);
    opacity: 0.72;
    filter: drop-shadow(0 10px 24px rgba(53, 38, 19, 0.22));
    animation: yuefStandardFloat 8s ease-in-out infinite;
}

.yuef-standard__float img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.yuef-standard__float--1 { top: 9%; left: 5%; animation-delay: 0s; }
.yuef-standard__float--2 { top: 18%; left: 18%; animation-delay: -1.5s; }
.yuef-standard__float--3 { top: 10%; right: 18%; animation-delay: -3.4s; }
.yuef-standard__float--4 { top: 22%; right: 6%; animation-delay: -2.2s; }
.yuef-standard__float--5 { bottom: 22%; left: 11%; animation-delay: -4.1s; }
.yuef-standard__float--6 { bottom: 14%; left: 28%; animation-delay: -1s; }
.yuef-standard__float--7 { bottom: 14%; right: 24%; animation-delay: -3s; }
.yuef-standard__float--8 { bottom: 18%; right: 9%; animation-delay: -5s; }

@keyframes yuefStandardFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(-4deg);
    }

    50% {
        transform: translate3d(0, -14px, 0) rotate(4deg);
    }
}

.yuef-standard__hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
}

.yuef-standard__heading {
    max-width: 840px;
    margin: 0 auto;
    text-align: center;
}

.yuef-standard__eyebrow {
    margin: 0 0 12px;
    color: #f0cb77;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.yuef-standard__title {
    margin: 0;
    color: #fff9f1;
    font-family: "Cormorant Garamond", "Times New Roman", serif;
    font-size: clamp(2.5rem, 5.4vw, 4.8rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.02;
    text-transform: uppercase;
    text-shadow: 0 6px 22px rgba(0, 0, 0, 0.34);
}

.yuef-standard__intro {
    margin: 20px auto 0;
    max-width: 700px;
    color: rgba(255, 249, 241, 0.92);
    font-size: 1rem;
    line-height: 1.9;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.22);
}

.yuef-standard__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: -56px;
    padding: 0 28px;
}

.yuef-standard__card {
    border: 1px solid rgba(96, 68, 34, 0.1);
    border-radius: 24px;
    background: var(--yuef-standard-panel);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 34px 28px;
    box-shadow: 0 20px 44px rgba(101, 74, 41, 0.11);
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.yuef-standard__card:hover {
    transform: translateY(-4px);
    background: var(--yuef-standard-panel-hover);
    box-shadow: 0 28px 60px rgba(101, 74, 41, 0.16);
}

.yuef-standard__icon {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    color: var(--yuef-standard-gold);
    background: rgba(184, 138, 47, 0.12);
    border: 1px solid rgba(184, 138, 47, 0.22);
    font-size: 20px;
}

.yuef-standard__card-title {
    margin: 0 0 12px;
    color: var(--yuef-standard-brown);
    font-family: "Cormorant Garamond", "Times New Roman", serif;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.08;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.yuef-standard__card-text {
    color: var(--yuef-standard-muted);
    font-size: 0.95rem;
    line-height: 1.85;
}

.yuef-standard__card-text p:last-child {
    margin-bottom: 0;
}

.yuef-standard__actions {
    margin-top: 36px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.yuef-standard__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 210px;
    min-height: 52px;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: transform 0.24s ease, background 0.24s ease, color 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.yuef-standard__button:hover {
    transform: translateY(-2px);
}

.yuef-standard__button--primary {
    color: #fff9f0;
    background: var(--yuef-standard-gold);
    border: 1px solid var(--yuef-standard-gold);
    box-shadow: 0 14px 30px rgba(184, 138, 47, 0.18);
}

.yuef-standard__button--primary:hover {
    background: #c59639;
    border-color: #c59639;
    color: #fff9f0;
}

.yuef-standard__button--secondary {
    color: var(--yuef-standard-brown);
    background: rgba(255, 250, 244, 0.78);
    border: 1px solid rgba(96, 68, 34, 0.16);
}

.yuef-standard__button--secondary:hover {
    color: var(--yuef-standard-gold);
    background: rgba(255, 252, 247, 0.95);
    border-color: rgba(184, 138, 47, 0.24);
}

@media (max-width: 1024px) {
    .yuef-standard__hero {
        min-height: clamp(380px, 62vw, 580px);
    }

    .yuef-standard__grid {
        padding: 0 18px;
    }
}

@media (max-width: 767px) {
    .yuef-standard {
        padding: 18px 14px 64px;
    }

    .yuef-standard__hero {
        min-height: 400px;
        padding: 34px 20px 30px;
        border-radius: 24px;
    }

    .yuef-standard__media {
        background-position: center 28%;
        transform: none;
    }

    .yuef-standard__float {
        width: clamp(28px, 10vw, 44px);
        opacity: 0.58;
    }

    .yuef-standard__float--2,
    .yuef-standard__float--4,
    .yuef-standard__float--6,
    .yuef-standard__float--8 {
        display: none;
    }

    .yuef-standard__float--1 { top: 7%; left: 4%; }
    .yuef-standard__float--3 { top: 8%; right: 6%; }
    .yuef-standard__float--5 { bottom: 18%; left: 8%; }
    .yuef-standard__float--7 { bottom: 16%; right: 10%; }

    .yuef-standard__title {
        font-size: clamp(2rem, 10vw, 3rem);
        letter-spacing: 0.04em;
    }

    .yuef-standard__intro {
        font-size: 0.94rem;
        line-height: 1.8;
    }

    .yuef-standard__grid {
        margin-top: 18px;
        padding: 0;
    }

    .yuef-standard__card {
        padding: 28px 22px;
    }

    .yuef-standard__card-title {
        font-size: 1.7rem;
    }

    .yuef-standard__button {
        width: 100%;
        min-width: 0;
    }
}
