/* ============================================================
   Imagery layer.

   The site shipped with zero images, which is what made it read as
   unfinished. These styles carry SVG placeholders today and real
   photography later — the markup and aspect ratios do not change when
   the files in /images are swapped.
   ============================================================ */

/* ---- Hero: headline column + visual column ---- */
.hero-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-10, 40px);
    align-items: center;
}
.hero-layout .hero-copy { text-align: left; }
.hero-layout .hero-cta { justify-content: flex-start; }

.hero-media {
    position: relative;
    isolation: isolate;
}
.hero-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-2xl, 28px);
}
/* Soft brand glow behind the visual so it sits in the page, not on it */
.hero-media::before {
    content: "";
    position: absolute;
    inset: 8% -6% -8% -6%;
    background: radial-gradient(60% 60% at 50% 50%, rgba(124, 58, 237, 0.20), transparent 70%);
    filter: blur(28px);
    z-index: -1;
}

@media (max-width: 900px) {
    .hero-layout { grid-template-columns: 1fr; gap: var(--space-8, 32px); }
    .hero-layout .hero-copy { text-align: center; }
    .hero-layout .hero-cta { justify-content: center; }
    /* On a phone the visual is decoration — copy and CTAs come first */
    .hero-media { order: 2; max-width: 460px; margin: 0 auto; }
}

/* ---- Media cards (category tiles, step cards) ---- */
.media-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl, 20px);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform var(--duration, .18s) var(--ease-out, ease),
                box-shadow var(--duration, .18s) var(--ease-out, ease),
                border-color var(--duration, .18s) var(--ease-out, ease);
}
.media-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover, 0 12px 28px rgba(15, 23, 42, .12));
    border-color: var(--border-strong, #CBD5E1);
}

.media-card-figure {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--surface-2, #F1F5F9);
}
.media-card-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s var(--ease-out, ease);
}
.media-card:hover .media-card-figure img { transform: scale(1.04); }

/* Price/meta chip floating on the image */
.media-card-chip {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--text-primary, #0F172A);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -0.2px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.14);
}

.media-card-body { padding: var(--space-4, 16px) var(--space-5, 20px) var(--space-5, 20px); }
.media-card-title {
    font-size: var(--text-base, 15px);
    font-weight: var(--weight-semibold, 600);
    margin: 0 0 2px;
}
.media-card-desc {
    font-size: var(--text-sm, 13px);
    color: var(--text-tertiary, #64748B);
    margin: 0;
    line-height: var(--leading-normal, 1.5);
}

/* ---- Avatars backed by an image file ---- */
.avatar-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--surface-2, #F1F5F9);
}
.avatar-img.is-lg { width: 64px; height: 64px; }

/* Placeholder marker: makes unswapped art obvious in review, invisible in print */
.is-placeholder { position: relative; }
