/* ============================================================
   GrillMate AI — voice ordering landing (Holly)
   Always loaded via dedicated stylesheet + @stack('head')
   ============================================================ */

.gm-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: min(88vh, 820px);
    padding: clamp(5.5rem, 12vw, 8rem) 0 clamp(3.5rem, 8vw, 5.5rem);
    background:
        radial-gradient(ellipse 70% 55% at 12% 10%, rgba(232, 114, 42, 0.22), transparent 55%),
        radial-gradient(ellipse 55% 45% at 88% 30%, rgba(196, 30, 58, 0.18), transparent 50%),
        linear-gradient(165deg, #0a0c10 0%, #12161e 45%, #0d1016 100%);
    color: #f5f3f0;
}

.gm-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--gm-hero-img);
    background-size: cover;
    background-position: center;
    opacity: 0.14;
    mix-blend-mode: luminosity;
    pointer-events: none;
    z-index: 0;
}

.gm-hero__atmosphere {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.gm-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
}

.gm-hero__orb--a {
    width: 380px;
    height: 380px;
    top: -100px;
    left: -80px;
    background: rgba(232, 114, 42, 0.35);
    animation: gm-float 9s ease-in-out infinite;
}

.gm-hero__orb--b {
    width: 300px;
    height: 300px;
    right: 8%;
    bottom: 5%;
    background: rgba(201, 162, 39, 0.28);
    animation: gm-float 11s ease-in-out infinite reverse;
}

.gm-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}

@keyframes gm-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(18px); }
}

.gm-hero__layout {
    position: relative;
    z-index: 1;
    display: grid;
    gap: clamp(2.5rem, 5vw, 4rem);
    align-items: center;
}

@media (min-width: 960px) {
    .gm-hero__layout {
        grid-template-columns: 1.15fr 0.85fr;
    }
}

.gm-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.85rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(232, 114, 42, 0.35);
    background: rgba(232, 114, 42, 0.1);
    color: #ffb347;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.gm-hero__brand {
    margin: 0 0 0.35rem;
    font-size: clamp(1.1rem, 2.2vw, 1.45rem);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #c9a227;
}

.gm-hero__title {
    margin: 0 0 1rem;
    max-width: 16ch;
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #fff;
}

.gm-hero__lede {
    margin: 0;
    max-width: 34rem;
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    line-height: 1.65;
    color: rgba(245, 243, 240, 0.72);
}

.gm-hero__cta {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
}

.gm-hero__call {
    min-height: 54px;
    padding-inline: 1.6rem;
    font-size: 1.05rem;
    box-shadow: 0 16px 40px rgba(232, 114, 42, 0.35);
}

.gm-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
}

.gm-hero__number {
    font-size: 1.55rem;
    color: #ffb347;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.gm-hero__number:hover {
    color: #fff;
}

.gm-hero__hours {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    color: rgba(245, 243, 240, 0.55);
}

/* Holly stage */
.gm-stage {
    position: relative;
    margin-inline: auto;
    width: min(100%, 380px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
}

.gm-stage__rings span {
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    border: 1px solid rgba(201, 162, 39, 0.22);
    animation: gm-ring 5s ease-in-out infinite;
}

.gm-stage__rings span:nth-child(2) {
    inset: 0;
    animation-delay: 0.6s;
    border-color: rgba(232, 114, 42, 0.18);
}

.gm-stage__rings span:nth-child(3) {
    inset: 16%;
    animation-delay: 1.2s;
}

@keyframes gm-ring {
    0%, 100% { transform: scale(1); opacity: 0.35; }
    50% { transform: scale(1.04); opacity: 0.75; }
}

.gm-stage__core {
    position: relative;
    z-index: 1;
    width: 78%;
    padding: 2.25rem 1.5rem 1.75rem;
    border-radius: 28px;
    text-align: center;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(18px);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.gm-stage__mic {
    width: 88px;
    height: 88px;
    margin: 0 auto 1rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffb347;
    background: radial-gradient(circle at 35% 30%, rgba(255, 179, 71, 0.35), rgba(232, 114, 42, 0.12));
    box-shadow: 0 0 0 8px rgba(232, 114, 42, 0.1);
}

.gm-stage__name {
    margin: 0;
    font-size: 2rem;
    color: #fff;
    letter-spacing: -0.02em;
}

.gm-stage__role {
    margin: 0.25rem 0 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #c9a227;
}

.gm-stage__wave {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 5px;
    height: 36px;
    margin-bottom: 1rem;
}

.gm-stage__wave i {
    display: block;
    width: 4px;
    height: 10px;
    border-radius: 4px;
    background: linear-gradient(180deg, #ffb347, #e8722a);
    animation: gm-wave 1.15s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.1s);
}

@keyframes gm-wave {
    0%, 100% { height: 10px; opacity: 0.4; }
    50% { height: 30px; opacity: 1; }
}

.gm-stage__live {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    font-size: 0.85rem;
    color: rgba(245, 243, 240, 0.65);
}

.gm-stage__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9ca3af;
}

.gm-stage__live.is-open .gm-stage__dot {
    background: #22c55e;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.7);
}

/* Features */
.gm-features {
    background: var(--color-bg, #faf7f2);
}

.gm-features__grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .gm-features__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gm-feature {
    padding: 1.75rem 1.5rem;
    border-radius: 22px;
    background: var(--color-card, #fff);
    border: 1px solid var(--color-border, #e8e2d9);
    box-shadow: 0 10px 28px rgba(28, 25, 23, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gm-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(28, 25, 23, 0.1);
}

.gm-feature__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 1.1rem;
    border-radius: 16px;
    color: #e8722a;
    background: rgba(232, 114, 42, 0.1);
}

.gm-feature__title {
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
    color: var(--color-ink, #1c1917);
}

.gm-feature__desc {
    margin: 0;
    line-height: 1.65;
    color: var(--color-muted, #6b6560);
}

/* Story */
.gm-story {
    background: var(--color-bg-alt, #f3ede4);
}

.gm-story__panel {
    padding: clamp(1.75rem, 4vw, 2.5rem);
    border-radius: 24px;
    background: var(--color-card, #fff);
    border: 1px solid var(--color-border, #e8e2d9);
}

.gm-story__body {
    margin-top: 1rem;
    color: var(--color-muted, #6b6560);
}

/* Quote */
.gm-quote {
    padding: clamp(3.5rem, 8vw, 5.5rem) 0;
    background:
        radial-gradient(ellipse 50% 80% at 50% 0%, rgba(232, 114, 42, 0.08), transparent 60%),
        var(--color-bg, #faf7f2);
}

.gm-quote__mark {
    display: block;
    font-size: clamp(4rem, 10vw, 6rem);
    line-height: 0.8;
    color: #c9a227;
    opacity: 0.7;
}

.gm-quote__text {
    margin: 0.5rem auto 0;
    max-width: 36rem;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    line-height: 1.45;
    color: var(--color-ink, #1c1917);
}

.gm-quote__cite {
    margin-top: 1.25rem;
    font-size: 0.95rem;
    color: var(--color-muted, #6b6560);
}

/* VIP */
.gm-vip {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.75rem;
    padding: clamp(1.75rem, 4vw, 2.5rem);
    border-radius: 28px;
    background: linear-gradient(135deg, #1a2f4b 0%, #0f1a2a 55%, #1c1917 100%);
    color: #fff;
    border: 1px solid rgba(201, 162, 39, 0.25);
}

.gm-vip__glow {
    position: absolute;
    width: 280px;
    height: 280px;
    right: -60px;
    top: -80px;
    border-radius: 50%;
    background: rgba(232, 114, 42, 0.25);
    filter: blur(60px);
    pointer-events: none;
}

.gm-vip__copy {
    position: relative;
    z-index: 1;
    max-width: 36rem;
}

.gm-vip__label {
    margin: 0 0 0.35rem;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #c9a227;
}

.gm-vip__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #ffb347;
}

.gm-vip__desc {
    margin: 0 0 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
}

.gm-vip__code {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    border: 1px dashed rgba(201, 162, 39, 0.65);
    background: rgba(201, 162, 39, 0.12);
    color: #ffb347;
    font-weight: 700;
    letter-spacing: 0.1em;
    cursor: pointer;
}

.gm-vip__copied {
    display: inline-block;
    margin-left: 0.75rem;
    font-size: 0.85rem;
    color: #22c55e;
}

.gm-vip__cta {
    position: relative;
    z-index: 1;
}

/* Final CTA */
.gm-final {
    background: var(--color-bg, #faf7f2);
}

.gm-final__lede {
    margin: 0 auto 1.75rem;
    max-width: 32rem;
    color: var(--color-muted, #6b6560);
    line-height: 1.65;
}

/* Dark theme */
[data-theme="dark"] .gm-features,
[data-theme="dark"] .gm-quote,
[data-theme="dark"] .gm-final {
    background: #0c0e14;
}

[data-theme="dark"] .gm-story {
    background: #141820;
}

[data-theme="dark"] .gm-feature,
[data-theme="dark"] .gm-story__panel {
    background: #1a1e28;
    border-color: #2d3344;
}

[data-theme="dark"] .gm-feature__title,
[data-theme="dark"] .gm-quote__text {
    color: #f5f3f0;
}

[data-theme="dark"] .gm-feature__desc,
[data-theme="dark"] .gm-story__body,
[data-theme="dark"] .gm-quote__cite,
[data-theme="dark"] .gm-final__lede {
    color: #9ca3af;
}

@media (prefers-reduced-motion: reduce) {
    .gm-hero__orb,
    .gm-stage__rings span,
    .gm-stage__wave i {
        animation: none !important;
    }
}
