/* explicit-home.css version: 1.0.3 - the compact feature row under the examples */
/* explicit-home.css version: 1.0.2 - the hero can fade between more than one loop */

/* Hero: what you can start from, one tap to each card */
.eh-hero-starts {
    list-style: none;
    margin: var(--spacing-md, 16px) auto 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    max-width: 520px;
}
.eh-hero-starts a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(15, 13, 21, 0.55);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.eh-hero-starts a:hover,
.eh-hero-starts a:focus-visible {
    border-color: var(--accent-primary, #c8a45c);
    color: #fff;
}
.eh-hero-starts svg { width: 16px; height: 16px; flex-shrink: 0; }

.lander-hero-bg video.eh-hero-loop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.6s ease;
}
.lander-hero-bg video.eh-hero-loop.is-front {
    opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
    .lander-hero-bg video.eh-hero-loop { transition: none; }
}

/* Section */
.eh-lanes {
    padding: var(--spacing-2xl, 48px) 0;
    scroll-margin-top: 64px;
}
.eh-lanes-sub {
    margin: calc(-1 * var(--spacing-md, 16px)) auto var(--spacing-xl, 32px);
    max-width: 560px;
    text-align: center;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
    line-height: 1.55;
}
.eh-lanes-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

/* One card */
.eh-lane {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
    border: 1px solid rgba(255, 255, 255, 0.08);
    scroll-margin-top: 72px;
}
.eh-lane-head {
    display: flex;
    align-items: center;
    gap: 10px;
}
.eh-lane-step {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--accent-primary, #c8a45c);
    color: var(--on-accent, #16130c);
    font-size: 0.8rem;
    font-weight: 800;
    flex-shrink: 0;
}
.eh-lane-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-hover, #d9b97a);
}
.eh-lane-tag svg { width: 16px; height: 16px; }
.eh-lane-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 4.6vw, 1.55rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary, #f4f2ee);
}
.eh-lane-caption {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.66);
}

/* Input, wish, clip */
.eh-flow {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    min-width: 0;
}
.eh-flow-in {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}
.eh-inputs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
}
.eh-input {
    margin: 0;
    flex: 1 1 0;
    min-width: 0;
    max-width: 150px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.eh-inputs--1 .eh-input { max-width: 46%; }
.eh-input img,
.eh-input picture {
    display: block;
}
.eh-input img,
.eh-input picture,
.eh-input .eh-ph {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 12px;
    object-fit: cover;
}
.eh-input picture img { aspect-ratio: 3 / 4; }
.eh-input figcaption {
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}
.eh-plus {
    flex: 0 0 auto;
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.45);
    padding-bottom: 18px;
}

.eh-wish {
    position: relative;
    padding: 10px 14px 12px;
    border-radius: 14px;
    background: rgba(15, 13, 21, 0.8);
    border: 1px solid rgba(200, 164, 92, 0.35);
    box-shadow: 0 0 0 3px rgba(200, 164, 92, 0.06);
}
.eh-wish-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-hover, #d9b97a);
}
.eh-wish-label svg { width: 13px; height: 13px; }
.eh-wish-text {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.45;
    color: #fff;
}

.eh-flow-arrow {
    display: flex;
    justify-content: center;
    color: var(--accent-primary, #c8a45c);
}
.eh-flow-arrow svg { width: 22px; height: 22px; }

.eh-flow-out {
    position: relative;
    align-self: center;
    width: 100%;
    max-width: calc(64svh * 9 / 16);
    aspect-ratio: 9 / 16;
    border-radius: 16px;
    overflow: hidden;
    background: #0b0a10;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
@supports not (height: 1svh) {
    .eh-flow-out { max-width: calc(64vh * 9 / 16); }
}
.eh-flow-out video,
.eh-flow-out img,
.eh-flow-out picture {
    display: block;
}
.eh-flow-out video,
.eh-flow-out img,
.eh-flow-out picture,
.eh-flow-out .eh-ph {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.eh-out-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(10, 10, 20, 0.7);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    pointer-events: none;
}
.eh-flow-out.is-sound .eh-out-badge,
.eh-flow-out.is-sound .eh-wave { display: none; }

.eh-sound-btn {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: rgba(10, 10, 20, 0.72);
    color: #fff;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.eh-sound-btn svg { width: 18px; height: 18px; }
.eh-sound-btn--lead {
    background: var(--accent-primary, #c8a45c);
    color: var(--on-accent, #16130c);
    box-shadow: 0 6px 24px rgba(200, 164, 92, 0.35);
}
.eh-sound-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Sound card: moving bars over the clip */
.eh-wave {
    position: absolute;
    left: 50%;
    bottom: 70px;
    transform: translateX(-50%);
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 34px;
    pointer-events: none;
}
.eh-wave i {
    display: block;
    width: 5px;
    height: 100%;
    border-radius: 3px;
    background: var(--accent-hover, #d9b97a);
    transform-origin: bottom;
    animation: eh-wave 1.1s ease-in-out infinite;
}
.eh-wave i:nth-child(2) { animation-delay: -0.9s; }
.eh-wave i:nth-child(3) { animation-delay: -0.5s; }
.eh-wave i:nth-child(4) { animation-delay: -0.2s; }
.eh-wave i:nth-child(5) { animation-delay: -0.7s; }
.eh-wave i:nth-child(6) { animation-delay: -0.35s; }
.eh-wave i:nth-child(7) { animation-delay: -0.6s; }
@keyframes eh-wave {
    0%, 100% { transform: scaleY(0.25); }
    50% { transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) {
    .eh-wave i { animation: none; transform: scaleY(0.6); }
}

/* Missing media: dashed slot that says what goes there */
.eh-ph {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    box-sizing: border-box;
    border: 1.5px dashed rgba(200, 164, 92, 0.45);
    background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 10px, transparent 10px 20px);
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    font-size: 0.75rem;
    line-height: 1.3;
}
.eh-ph svg { width: 22px; height: 22px; color: var(--accent-primary, #c8a45c); }
.eh-ph--clip { border-radius: 16px; font-size: 0.85rem; }

/* Wider phones and tablets: inputs and wish beside the clip */
@media (min-width: 600px) {
    .eh-lane { padding: 20px; }
    .eh-flow { flex-direction: row; align-items: center; }
    .eh-flow-in { flex: 1 1 0; }
    .eh-flow-arrow { transform: rotate(-90deg); }
    .eh-flow-out { flex: 0 0 42%; width: 42%; max-width: 280px; }
}

/* Desktop: two cards per row */
@media (min-width: 1100px) {
    .eh-lanes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}

/* Compact feature row. The explicit home only. */
.lander-features--tight {
    padding: 22px 0 8px;
}
.lander-features--tight .lander-section-heading {
    margin-bottom: 12px;
    font-size: clamp(1.25rem, 2.6vw, 1.65rem);
}
.lander-features--tight .lander-features-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}
.lander-features--tight .lander-feature-card {
    padding: 10px 12px 12px;
    border-radius: 10px;
}
.lander-features--tight .lander-feature-card:hover {
    transform: none;
    box-shadow: none;
}
.lander-features--tight .lander-feature-icon {
    width: 26px;
    height: 26px;
    margin-bottom: 6px;
}
.lander-features--tight .lander-feature-icon svg,
.lander-features--tight .lander-feature-icon i { width: 14px; height: 14px; }
.lander-features--tight .lander-feature-title {
    font-size: 0.9rem;
    margin: 0 0 2px;
}
.lander-features--tight .lander-feature-desc {
    font-size: 0.75rem;
    line-height: 1.35;
}
@media (max-width: 980px) {
    .lander-features--tight .lander-features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
