/* ================================================================
   MEOWGICAL — HOME PAGE STYLES
   ================================================================ */

/* ---------------------------------------------------------------
   Shared section tokens
   --------------------------------------------------------------- */
.home-page section {
    overflow: hidden;
}

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: var(--fw-bold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary);
    background: var(--color-secondary);
    padding: 0.3rem 0.9rem;
    border-radius: 2rem;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, var(--text-title3));
    line-height: var(--lh-title3);
    letter-spacing: var(--ls-title3);
    color: var(--color-dark-purple);
    margin-bottom: 1rem;
}

.section-desc {
    font-size: var(--text-copy);
    line-height: var(--lh-copy);
    letter-spacing: var(--ls-copy);
    color: var(--color-text);
    max-width: 600px;
}

.text-accent { color: var(--color-accent-01); }

.btn-lg {
    padding: 0.85rem 2rem;
    font-size: 1rem;
}

.btn-outline-light {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: var(--radius);
    font-weight: var(--fw-bold);
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: var(--color-white);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-white);
    color: var(--color-white);
}

.btn-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: var(--fw-semibold);
    font-size: 0.9rem;
    color: var(--color-primary);
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

.btn-text-link:hover {
    gap: 0.65rem;
    color: var(--color-dark-purple);
}

/* ================================================================
   HERO
   ================================================================ */
.home-hero {
    position: relative;
    min-height: 100vh;
    /* background-image set via inline style in hero.php */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #1e1b4b; /* fallback while image loads */
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding-bottom shifts the flex centre upward to sit inside the
       white TV screen area, which occupies the upper ~64% of the image */
    padding: 0 1.5rem 25vh;
    overflow: hidden;
}

.home-hero__inner {
    position: relative;
    z-index: 1;
    /* on mobile: near full-width; on desktop: tracks 48% of viewport
       so content stays inside the white screen regardless of display size */
    width: calc(100vw - 3rem);
    max-width: 780px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (min-width: 900px) {
    .home-hero__inner {
        width: 48vw;
        max-width: 780px;
        margin-top: 5rem;
    }
}

/* ---- TV screen frame ---- */
.home-hero__screen {
    text-align: center;
}

.home-hero__screen-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ---- Title ---- */
.home-hero__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    line-height: 1.25;
    letter-spacing: var(--ls-title3);
    color: var(--color-dark-purple);
    margin-bottom: 1.25rem;
}

/* ---- Description ---- */
.home-hero__desc {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    max-width: 520px;
    margin-bottom: 2rem;
}

.home-hero__desc strong {
    color: var(--color-dark-purple);
    font-weight: var(--fw-bold);
}

/* ---- CTA button ---- */
.home-hero__actions {
    display: flex;
    justify-content: center;
}

/* Outer wrapper */
.hero-btn {
    display: inline-flex;
    align-items: stretch;
    gap: 4px;
    border-radius: 104px;
    height: 52px;
    text-decoration: none;
    cursor: pointer;
}

.hero-btn:focus-visible {
    outline: 2px solid var(--color-accent-01);
    outline-offset: 3px;
    border-radius: 104px;
}

/* Text pill */
.hero-btn__text {
    background-color: var(--color-accent-01);
    border-radius: 104px;
    display: flex;
    align-items: center;
}

.hero-btn__text span {
    font-family: var(--font-body);
    font-size: var(--text-title6);
    font-weight: var(--fw-bold);
    color: var(--color-dark-purple);
    padding: 0 2rem;
    white-space: nowrap;
}

/* Arrow circle badge */
.hero-btn__icon {
    background-color: var(--color-accent-01);
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-btn__arrow {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-dark-purple);
}

/* ================================================================
   SERVICES
   ================================================================ */
.home-services {
    padding: 0 0 4rem;
    background: var(--color-primary);
    color: var(--color-white);
}

.home-services__header {
    text-align: center;
    max-width: 961px;
    margin: 0 auto 3rem;
}

.home-services__title {
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, var(--text-h2));
    font-weight: var(--fw-bold);
    line-height: var(--lh-h2);
    letter-spacing: 0;
    margin: 0 0 0.5rem;
}

.home-services__title em {
    font-style: italic;
}

.home-services__desc {
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: var(--text-title5);
    line-height: var(--lh-title5);
    letter-spacing: 0;
    margin: 0 auto;
    max-width: 949px;
}

.home-services__grid {
    display: grid;
    grid-template-columns: repeat(4, 322px);
    justify-content: center;
    gap: 21px;
    margin-bottom: 3.5rem;
}

.service-card {
    position: relative;
    min-height: 374px;
    background: var(--color-primary);
    border: 1px solid var(--color-soft-purple);
    border-radius: 12px;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    overflow: hidden;
    padding: 3.5rem 1.5rem 5rem;
    color: var(--color-white);
    text-align: center;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    border-color: var(--color-secondary);
    box-shadow: inset 0 -96px 88px -72px rgba(255, 216, 97, 0.78);
}

.service-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 0;
    background: transparent;
    color: var(--color-accent-01);
}

.service-card__icon {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.service-card__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.service-card__title {
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: var(--text-title4);
    font-weight: var(--fw-bold);
    line-height: var(--lh-title4);
    letter-spacing: 0;
    margin: 0;
}

.service-card__desc {
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: var(--text-copy);
    line-height: var(--lh-copy);
    margin: 0;
    max-width: 274px;
}

.home-services__cta {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    min-height: 9rem;
}

.home-services__cta::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(460px, 90vw);
    height: 180px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0.42;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, #000 0 48%, transparent 76%);
}

.home-services__button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.5rem;
    min-width: 277px;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    border: 1px solid var(--color-accent-01);
    background: var(--color-accent-01);
    color: var(--color-dark-purple);
    font-family: var(--font-body);
    font-size: var(--text-title6);
    font-weight: var(--fw-semibold);
    line-height: var(--lh-title6);
}

.home-services__button:hover {
    color: var(--color-dark-purple);
}

@media (max-width: 1180px) {
    .home-services__grid {
        grid-template-columns: repeat(2, 322px);
    }
}

@media (max-width: 680px) {
    .home-services {
        padding-bottom: 4rem;
    }

    .home-services__grid {
        grid-template-columns: minmax(0, 322px);
    }

    .home-services__cta {
        flex-direction: column;
        gap: 1rem;
    }

    .home-services__button {
        width: 100%;
    }
}

/* ================================================================
   STATS / CTA BAND
   ================================================================ */
.home-stats {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--color-dark-purple) 0%, var(--color-primary) 100%);
    position: relative;
}

.home-stats__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

/* Content */
.home-stats__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, var(--text-title3));
    line-height: var(--lh-title3);
    letter-spacing: var(--ls-title3);
    color: var(--color-white);
    margin-bottom: 1.25rem;
}

.home-stats__title .text-accent { color: var(--color-accent-01); }

.home-stats__desc {
    font-size: var(--text-copy);
    line-height: var(--lh-copy);
    letter-spacing: var(--ls-copy);
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
}

/* Numbers grid */
.home-stats__numbers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1rem;
}

.stat-item__number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: var(--fw-bold);
    color: var(--color-accent-01);
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

.stat-item__label {
    display: block;
    font-size: 0.875rem;
    font-weight: var(--fw-medium);
    color: rgba(255,255,255,0.8);
    letter-spacing: 0.02em;
}

@media (max-width: 900px) {
    .home-stats__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .home-stats__desc { margin-inline: auto; max-width: 540px; }
}

@media (max-width: 480px) {
    .home-stats__numbers { grid-template-columns: 1fr 1fr; gap: 1rem; }
}

/* ================================================================
   WHY CHOOSE US
   ================================================================ */
.home-why {
    padding: 6rem 0;
    background: var(--color-white);
}

.home-why__header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.home-why__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.why-card {
    background: var(--color-light);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    animation: fadeInUp 0.5s ease both;
    animation-delay: var(--card-delay, 0s);
}

.why-card:hover {
    transform: translateY(-4px);
    background: var(--color-secondary);
    box-shadow: var(--shadow-lg);
}

.why-card__icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
    line-height: 1;
}

.why-card__title {
    font-family: var(--font-body);
    font-size: var(--text-title6);
    font-weight: var(--fw-bold);
    line-height: var(--lh-title6);
    letter-spacing: var(--ls-title6);
    color: var(--color-dark-purple);
    margin-bottom: 0.6rem;
}

.why-card__desc {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--color-text);
    margin: 0;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1024px) {
    .home-why__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
    .home-why__grid { grid-template-columns: 1fr; }
}

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.home-testimonials {
    padding: 6rem 0;
    background: var(--color-light);
}

.home-testimonials__header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.home-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-bottom: 2.5rem;
}

/* Review card */
.review-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.review-card__stars {
    color: var(--color-accent-01);
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    line-height: 1;
}

.review-card__text {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--color-text);
    font-style: italic;
    flex: 1;
    border: none;
    margin: 0;
    padding: 0;
}

.review-card__author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.review-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-soft-purple));
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: var(--fw-bold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.review-card__name {
    display: block;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: var(--fw-bold);
    color: var(--color-dark-purple);
}

.review-card__role {
    display: block;
    font-size: 0.8rem;
    color: var(--color-muted);
    margin-top: 0.15rem;
}

/* Dot nav */
.home-testimonials__nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.t-dot {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-border);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.t-dot--active {
    width: 28px;
    border-radius: 4px;
    background: var(--color-primary);
}

@media (max-width: 900px) {
    .home-testimonials__grid { grid-template-columns: 1fr; }
}

@media (min-width: 540px) and (max-width: 900px) {
    .home-testimonials__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================================
   ABOUT — STICKY SCROLL CARD STACK
   ================================================================ */

/* Legacy sticky rules kept for fallback; GSAP section overrides these below. */
.about-section__sticky {
    overflow: visible;
}

/* Outer section: tall enough for 3 card phases.
   animation range = height - 100vh = 180vh */
.about-section {
    position: relative;
    height: 280vh;
    background: var(--color-light);
}

/* Sticky viewport — stays locked at top while parent scrolls through its height */
.about-section__sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
}

/* Two-column layout */
.about-section__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
}

/* ── Left: text ───────────────────────────────────────────────── */
.about-section__heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, var(--text-title2));
    line-height: 1.22;
    letter-spacing: var(--ls-title2);
    color: var(--color-dark-purple);
    margin-bottom: 1.5rem;
}

.about-section__heading em {
    font-style: italic;
}

.about-section__desc {
    font-family: var(--font-body);
    font-size: var(--text-copy);
    line-height: var(--lh-copy);
    letter-spacing: var(--ls-copy);
    color: var(--color-text);
    max-width: 480px;
}

.about-section__desc strong {
    font-weight: var(--fw-bold);
    color: var(--color-dark-purple);
}

/* ── Right: card stack ────────────────────────────────────────── */
/* Tall enough to accommodate rotated/offset cards without clipping */
.about-section__cards {
    position: relative;
    height: 480px;
    /* Horizontally centred within the column */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Base card */
.about-card {
    position: absolute;
    width: 300px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(45, 44, 108, 0.22),
                0  8px 20px rgba(45, 44, 108, 0.10);
    transform-origin: center center;  /* rotate around card's own centre */
    will-change: transform, opacity;
    /* Cards start invisible; JS sets transform + opacity per phase */
    opacity: 0;
}

/* z-order: card 1 = front */
.about-card--1 { z-index: 3; background: var(--color-primary); }
.about-card--2 { z-index: 2; background: var(--color-accent-01); }
.about-card--3 { z-index: 1; background: var(--color-white); }

/* ── Illustration area ────────────────────────────────────────── */
.about-card__art {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.about-card__art-inner {
    position: absolute;
    inset: 0;
}

/* Card 1 (purple) — art: soft window/light scene */
.about-card__art--live {
    background:
        radial-gradient(ellipse 60% 70% at 50% 80%, rgba(255,255,255,0.12) 0%, transparent 70%),
        linear-gradient(160deg, rgba(255,255,255,0.08) 0%, rgba(73, 71, 184, 0) 60%);
    background-color: rgba(255,255,255,0.07);
    border-radius: 0;
}

.about-card__art--live::before {
    content: '🐱';
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4.5rem;
    line-height: 1;
    filter: drop-shadow(0 4px 16px rgba(0,0,0,0.15));
}

.about-card__art--live::after {
    content: '✨ 🎵';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    opacity: 0.7;
    letter-spacing: 0.25em;
}

/* Card 2 (yellow) — art: craft/design */
.about-card__art--craft {
    background: linear-gradient(160deg, rgba(255,216,97,0.4) 0%, rgba(255,255,255,0.2) 100%);
    background-color: rgba(255,255,255,0.25);
}

.about-card__art--craft::before {
    content: '🎨';
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4.5rem;
    line-height: 1;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.10));
}

.about-card__art--craft::after {
    content: '🐾 ⭐';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    opacity: 0.6;
    letter-spacing: 0.25em;
}

/* Card 3 (white) — art: results */
.about-card__art--prove {
    background: var(--color-secondary);
}

.about-card__art--prove::before {
    content: '📈';
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4.5rem;
    line-height: 1;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.08));
}

.about-card__art--prove::after {
    content: '💜 ✨';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    opacity: 0.6;
    letter-spacing: 0.25em;
}

/* ── Card body ────────────────────────────────────────────────── */
.about-card__body {
    padding: 1.5rem 1.75rem 2rem;
}

.about-card__title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: var(--fw-bold);
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.about-card__title em {
    font-style: italic;
}

/* Card 1 (purple) — white text */
.about-card--1 .about-card__title { color: var(--color-white); }
.about-card--1 .about-card__desc  { color: rgba(255, 255, 255, 0.82); }

/* Card 2 (yellow) — dark text */
.about-card--2 .about-card__title { color: var(--color-dark-purple); }
.about-card--2 .about-card__desc  { color: var(--color-text); }

/* Card 3 (white) — dark text */
.about-card--3 .about-card__title { color: var(--color-dark-purple); }
.about-card--3 .about-card__desc  { color: var(--color-text); }

.about-card__desc {
    font-family: var(--font-body);
    font-size: 0.875rem;
    line-height: 1.65;
    margin: 0;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 900px) {
    /* Disable sticky scroll on mobile — just show the cards stacked */
    .about-section {
        height: auto;
        padding: 5rem 0;
    }

    .about-section__sticky {
        position: static;
        height: auto;
    }

    .about-section__inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-section__cards {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }

    .about-card {
        position: static;
        width: 100%;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ================================================================
   SURVEY — FIGMA FRAME 5001:10219
   ================================================================ */
.home-survey {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 10rem 0 8rem;
}

.home-survey__header {
    text-align: center;
    margin: 0 auto 3.5rem;
}

.home-survey__title {
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, var(--text-h2));
    font-weight: var(--fw-bold);
    line-height: var(--lh-h2);
    letter-spacing: 0;
    margin: 0 0 0.5rem;
}

.home-survey__title em {
    font-style: italic;
}

.home-survey__intro {
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: var(--text-title5);
    line-height: var(--lh-title5);
    letter-spacing: 0;
    margin: 0;
}

.home-survey__intro strong {
    color: var(--color-white);
    font-weight: var(--fw-semibold);
}

.home-survey__toggle--desktop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 0 auto 7.25rem;
}

.home-survey__toggle--mobile {
    display: none;
    position: relative;
    max-width: 360px;
    margin: 0 auto 3rem;
    padding: 4px;
    border-radius: 100px;
    background: var(--color-light-purple);
}

.home-survey__toggle-label {
    border: 0;
    background: transparent;
    color: var(--color-white);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: var(--text-body);
    font-weight: var(--fw-bold);
    line-height: var(--lh-body);
    padding: 0.5rem 0.75rem;
    white-space: nowrap;
}

.home-survey__toggle-label:not(.is-active) {
    opacity: 0.95;
}

.home-survey__toggle-track {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: 118px;
    height: 52px;
    padding: 2px;
    border-radius: 100px;
    background: var(--color-light-purple);
}

.home-survey__toggle-thumb {
    width: 60px;
    height: 44px;
    border: 0;
    border-radius: 100px;
    background: var(--color-accent-01);
    cursor: pointer;
    transition: transform 0.25s ease;
}

.home-survey__toggle-track.is-boarding .home-survey__toggle-thumb {
    transform: translateX(54px);
}

.home-survey__mobile-tab {
    position: relative;
    z-index: 1;
    flex: 1;
    border: 0;
    border-radius: 100px;
    background: transparent;
    color: var(--color-dark-purple);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: var(--text-body);
    font-weight: var(--fw-semibold);
    padding: 0.85rem 1rem;
}

.home-survey__mobile-highlight {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    border-radius: 100px;
    background: var(--color-accent-01);
    pointer-events: none;
    transition: transform 0.25s ease;
}

.home-survey__mobile-highlight.is-boarding {
    transform: translateX(100%);
}

.home-survey__panels {
    position: relative;
}

.home-survey__panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.home-survey__panel.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.home-survey__panel.is-active::before {
    content: "";
    position: absolute;
    inset: -1.75rem -1.75rem -1.75rem 2.125rem;
    z-index: 0;
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(1.45deg);
    transform-origin: center;
}

.home-survey__paper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    background: var(--color-white);
    color: var(--color-dark-purple);
    padding: 3.5rem;
}

.home-survey__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(520px, 1fr);
    gap: 3.5rem;
    align-items: start;
}

.home-survey__story {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding: 2.5rem 1.5rem;
}

.home-survey__copy-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.home-survey__section-heading,
.home-survey__stat-label {
    color: var(--color-dark-purple);
    font-family: var(--font-display);
    font-size: var(--text-title4);
    font-weight: var(--fw-bold);
    line-height: var(--lh-title4);
    letter-spacing: 0;
    margin: 0;
}

.home-survey__story-copy,
.home-survey__gap-copy,
.home-survey__stat-text {
    color: var(--color-dark-purple);
    font-family: var(--font-body);
    font-size: var(--text-copy);
    line-height: var(--lh-copy);
    letter-spacing: 0;
    margin: 0;
}

.home-survey__story-copy strong,
.home-survey__gap-copy strong,
.home-survey__stat-text strong {
    font-weight: var(--fw-bold);
}

.home-survey__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
    justify-content: center;
    padding: 2.5rem 1.5rem;
}

.home-survey__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.home-survey__stat-img {
    display: block;
    width: 250px;
    max-width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
}

.home-survey__counter {
    color: var(--color-dark-purple);
    font-family: var(--font-body);
    font-size: var(--text-title2);
    font-weight: var(--fw-bold);
    line-height: 1;
    letter-spacing: 0;
}

.home-survey__stat-text {
    max-width: 214px;
    font-size: var(--text-copy);
    line-height: var(--lh-copy);
}

.home-survey__stat-text em {
    font-style: normal;
}

.home-survey__stat-text em strong {
    display: inline;
}

.home-survey__rule {
    width: 100%;
    height: 1px;
    background:
        repeating-linear-gradient(
            90deg,
            rgba(73, 71, 184, 0.35) 0 10px,
            transparent 10px 14px
        );
}

.home-survey__needs {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.home-survey__needs-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.home-survey__need {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    min-height: 13rem;
    padding: 1.5rem 2.5rem 1.5rem 0;
}

.home-survey__need + .home-survey__need {
    border-left: 1px solid rgba(73, 71, 184, 0.35);
    padding-left: 2.5rem;
}

.home-survey__need-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    color: var(--color-dark-purple);
    font-family: var(--font-body);
    font-size: var(--text-title5);
    font-weight: var(--fw-medium);
    line-height: 1;
}

.home-survey__need--1 .home-survey__need-num {
    background: #ff8d28;
}

.home-survey__need--2 .home-survey__need-num {
    background: var(--color-accent-01);
}

.home-survey__need--3 .home-survey__need-num {
    background: var(--color-accent-02);
}

.home-survey__need-title {
    color: var(--color-dark-purple);
    font-family: var(--font-body);
    font-size: var(--text-title6);
    font-weight: var(--fw-semibold);
    line-height: var(--lh-title6);
    letter-spacing: 0;
    margin: 0;
}

.home-survey__need-desc {
    color: var(--color-dark-purple);
    font-family: var(--font-body);
    font-size: var(--text-title6);
    font-style: italic;
    line-height: var(--lh-title6);
    letter-spacing: 0;
    margin: 0;
}

.home-survey__quote-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: 3rem;
    align-items: center;
}

.home-survey__quote-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 0;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    background: var(--color-secondary);
}

.home-survey__quote {
    color: var(--color-dark-purple);
    font-family: var(--font-body);
    font-size: var(--text-title6);
    font-style: italic;
    line-height: var(--lh-title6);
    letter-spacing: 0;
    margin: 0;
}

.home-survey__mascot {
    display: block;
    width: 190px;
    max-width: 100%;
    height: auto;
}

@media (max-width: 1100px) {
    .home-survey {
        padding: 7rem 0 6rem;
    }

    .home-survey__top,
    .home-survey__quote-row {
        grid-template-columns: 1fr;
    }

    .home-survey__mascot {
        justify-self: center;
    }
}

@media (max-width: 768px) {
    .home-survey {
        padding: 5rem 0;
    }

    .home-survey__toggle--desktop {
        display: none;
    }

    .home-survey__toggle--mobile {
        display: flex;
    }

    .home-survey__paper {
        gap: 2.5rem;
        padding: 1.5rem;
    }

    .home-survey__panel.is-active::before {
        inset: -0.875rem;
    }

    .home-survey__story,
    .home-survey__stats {
        padding: 0;
    }

    .home-survey__stats,
    .home-survey__needs-list {
        grid-template-columns: 1fr;
    }

    .home-survey__need,
    .home-survey__need + .home-survey__need {
        min-height: 0;
        padding: 1.5rem 0;
        border-left: 0;
        border-top: 1px solid rgba(73, 71, 184, 0.25);
    }

    .home-survey__need:first-child {
        border-top: 0;
    }
}

/* ================================================================
   FAQ / "LET'S BUILD" — CTA + accordion
   ================================================================ */
.home-faq {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 6rem 0;
}

.home-faq__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(3rem, 6vw, 7rem);
}

/* ── Left column: heading + CTA ──────────────────────────────── */
.home-faq__title {
    font-family: var(--font-display);
    color: var(--color-white);
    max-width: 27rem;
    margin: 0 0 2.25rem;
}

.home-faq__title-lead {
    display: block;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: var(--fw-bold);
    line-height: 1.02;
}

.home-faq__title-sub {
    display: block;
    font-size: clamp(1.5rem, 3.2vw, 3rem);
    font-weight: var(--fw-regular);
    line-height: 1.15;
    margin-top: 0.5rem;
}

.home-faq__cta {
    display: inline-block;
    background: var(--color-accent-01);
    color: var(--color-dark-purple);
    font-family: var(--font-body);
    font-size: var(--text-copy);
    font-weight: var(--fw-bold);
    line-height: 1;
    padding: 1rem 2rem;
    border-radius: 100px;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.home-faq__cta:hover {
    color: var(--color-dark-purple);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

/* ── Right column: accordion ─────────────────────────────────── */
.home-faq__list {
    display: flex;
    flex-direction: column;
    gap: 2.75rem;
}

.home-faq__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    width: 100%;
    background: none;
    border: none;
    padding: 0 0 1rem;
    cursor: pointer;
    text-align: left;
}

.home-faq__q {
    font-family: var(--font-body);
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    font-weight: var(--fw-regular);
    line-height: 1.2;
    color: var(--color-white);
}

/* Plus / minus icon */
.home-faq__icon {
    position: relative;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.home-faq__icon::before,
.home-faq__icon::after {
    content: "";
    position: absolute;
    background: var(--color-accent-01);
    border-radius: 2px;
}

.home-faq__icon::before {          /* horizontal bar */
    top: 50%;
    left: 3px;
    right: 3px;
    height: 2.5px;
    transform: translateY(-50%);
}

.home-faq__icon::after {           /* vertical bar — collapses to a minus when open */
    left: 50%;
    top: 3px;
    bottom: 3px;
    width: 2.5px;
    transform: translateX(-50%);
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.home-faq__trigger[aria-expanded="true"] .home-faq__icon::after {
    transform: translateX(-50%) scaleY(0);
    opacity: 0;
}

/* Hand-drawn squiggle underline */
.home-faq__squiggle {
    display: block;
    height: 10px;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='80'%20height='10'%20viewBox='0%200%2080%2010'%3E%3Cpath%20d='M0%205%20C%205%203%209%203%2014%205%20C%2018%207%2022%207%2027%205%20C%2032%203%2036%204%2041%205%20C%2046%206%2050%207%2055%205%20C%2060%203%2064%203%2069%205%20C%2073%206%2077%206%2080%205'%20fill='none'%20stroke='%23ffffff'%20stroke-width='1.8'%20stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-position: left center;
    background-size: auto 100%;
    opacity: 0.9;
}

/* Answer panel — animated open/close via grid-rows trick */
.home-faq__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.home-faq__item.is-open .home-faq__panel {
    grid-template-rows: 1fr;
}

.home-faq__panel-inner {
    overflow: hidden;
}

.home-faq__a {
    font-family: var(--font-body);
    font-size: var(--text-body);
    line-height: var(--lh-copy);
    color: rgba(255, 255, 255, 0.85);
    margin: 1rem 0 0;
    max-width: 46ch;
}

/* ── FAQ responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
    .home-faq {
        padding: 4rem 0;
    }

    .home-faq__inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .home-faq__title {
        margin-bottom: 1.5rem;
    }
}

/* ================================================================
   TEAM — FIGMA FRAME 3090:6617
   ================================================================ */
.home-team {
    position: relative;
    overflow: hidden;
    background: var(--color-white);
    padding: 9.9375rem 0 14rem;
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.home-team__header {
    max-width: 900px;
    margin: 0 auto 6.25rem;
    text-align: center;
}

.home-team__title {
    color: var(--color-dark-purple);
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    letter-spacing: 0;
    margin: 0 0 2.5rem;
}

.home-team__title span {
    display: block;
}

.home-team__title span:first-child {
    font-size: clamp(3.5rem, 5.4vw, var(--text-display));
    font-style: italic;
    line-height: var(--lh-display);
}

.home-team__title span:last-child {
    font-size: clamp(2.5rem, 4vw, var(--text-h2));
    line-height: var(--lh-h2);
}

.home-team__intro {
    color: var(--color-dark-purple);
    font-family: var(--font-body);
    font-size: var(--text-title5);
    font-weight: var(--fw-medium);
    line-height: var(--lh-title5);
    letter-spacing: 0;
    margin: 0 auto;
    max-width: 900px;
}

.home-team__members {
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 381px));
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.team-member {
    position: relative;
    margin: 0;
    text-align: center;
}

.team-member__portrait-wrap {
    position: relative;
    min-height: 462px;
    margin-bottom: 1.4375rem;
}

.team-member__frame {
    position: relative;
    width: 381px;
    max-width: 100%;
    height: 462px;
    margin: 0 auto;
}

.team-member__frame-img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
    pointer-events: none;
}

.team-member__photo {
    position: absolute;
    left: 50%;
    top: 72px;
    z-index: 1;
    display: block;
    width: 220px;
    height: 318px;
    transform: translateX(-50%);
    object-fit: cover;
    object-position: bottom;
}

.team-member__cat {
    position: absolute;
    z-index: 3;
    bottom: -4px;
    width: 284px;
    max-width: 72vw;
    height: auto;
    pointer-events: none;
}

.team-member__cat--left {
    left: -210px;
}

.team-member__cat--right {
    right: -186px;
    width: 253px;
}

.team-member__name {
    color: var(--color-dark-purple);
    font-family: var(--font-display);
    font-size: var(--text-title4);
    font-weight: var(--fw-bold);
    line-height: var(--lh-title4);
    letter-spacing: 0;
    margin: 0 0 0.25rem;
}

.team-member__role {
    color: var(--color-dark-purple);
    font-family: var(--font-body);
    font-size: var(--text-title6);
    font-weight: var(--fw-bold);
    line-height: var(--lh-title6);
    letter-spacing: 0;
    margin: 0 0 0.5rem;
}

.team-member__traits {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4375rem;
    color: var(--color-dark-purple);
    font-family: var(--font-body);
    font-size: var(--text-copy);
    line-height: var(--lh-copy);
    letter-spacing: 0;
    margin: 0;
}

.home-team__gallery {
    position: relative;
    min-height: 600px;
    pointer-events: none;
}

.home-team__gallery-decor {
    position: absolute;
    display: block;
    pointer-events: none;
}

.home-team__gallery-decor--circle {
    left: 25%;
    top: 0.75rem;
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.home-team__gallery-decor--cat {
    right: 27%;
    top: 1rem;
    width: 119px;
    height: 121px;
    object-fit: contain;
}

.home-team__gallery-decor--spark {
    z-index: 3;
    left: 50%;
    top: 30rem;
    width: 104px;
    height: 104px;
    transform: translateX(-50%);
    object-fit: contain;
}

.home-team__gallery-decor--grid {
    left: 50%;
    top: 20rem;
    width: min(720px, 82vw);
    height: 522px;
    transform: translateX(-50%);
    opacity: 0.35;
    object-fit: contain;
}

.home-team__track {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 0;
    align-items: flex-start;
    width: 100vw;
    overflow-x: auto;
    overflow-y: visible;
    padding: 2rem 0 5rem;
    pointer-events: auto;
    scroll-snap-type: none;
    scrollbar-width: none;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    -webkit-overflow-scrolling: touch;
}

.home-team__track::-webkit-scrollbar {
    display: none;
}

.home-team__track.is-looping {
    scroll-behavior: auto;
}

.home-team__track.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}

.home-team__track.is-dragging .team-polaroid,
.home-team__track.is-dragging .team-polaroid__image {
    pointer-events: none;
}

.team-polaroid {
    position: relative;
    flex: 0 0 350px;
    width: 350px;
    height: 428px;
    margin: 0 0 0 -18px;
    padding: 20px 20px 98px;
    background: var(--color-white);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.10);
    transform: translateY(var(--polaroid-offset)) rotate(var(--polaroid-rotation));
}

.team-polaroid.is-set-start {
    margin-left: 0;
}

.team-polaroid.is-clone {
    pointer-events: none;
}

.team-polaroid__image {
    display: block;
    width: 310px;
    height: 310px;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 1200px) {
    .home-team__members {
        gap: 1.5rem;
    }

    .team-member__cat--left {
        left: -120px;
    }

    .team-member__cat--right {
        right: -110px;
    }
}

@media (max-width: 820px) {
    .home-team {
        padding: 6rem 0 8rem;
    }

    .home-team__header {
        margin-bottom: 4rem;
    }

    .home-team__members {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-bottom: 3rem;
    }

    .team-member__cat {
        width: 150px;
    }

    .team-member__cat--left {
        left: -20px;
    }

    .team-member__cat--right {
        right: -20px;
    }

    .home-team__gallery {
        min-height: 430px;
    }

    .home-team__gallery-decor--circle,
    .home-team__gallery-decor--cat,
    .home-team__gallery-decor--spark {
        display: none;
    }

    .home-team__track {
        padding-top: 1rem;
    }

    .team-polaroid {
        flex-basis: 250px;
        width: 250px;
        height: 305px;
        padding: 14px 14px 70px;
    }

    .team-polaroid.is-set-start {
        margin-left: 0;
    }

    .team-polaroid__image {
        width: 222px;
        height: 222px;
    }
}

/* ================================================================
   GIVING BACK — Soi Dog donation
   ================================================================ */
.home-giving {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 6rem 0;
}

.home-giving__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(2.5rem, 5vw, 5rem);
}

.home-giving__title {
    font-family: var(--font-display);
    color: var(--color-white);
    margin: 0 0 1.5rem;
}

.home-giving__title-lead {
    display: block;
    font-style: italic;
    font-weight: var(--fw-bold);
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    line-height: 1.05;
}

.home-giving__title-rest {
    display: block;
    font-weight: var(--fw-bold);
    font-size: clamp(1.6rem, 3.4vw, 2.75rem);
    line-height: 1.12;
    margin-top: 0.4rem;
}

.home-giving__desc {
    font-family: var(--font-body);
    font-size: var(--text-copy);
    line-height: var(--lh-copy);
    color: rgba(255, 255, 255, 0.9);
    max-width: 480px;
    margin: 0 0 2.5rem;
}

/* Soi Dog card */
.home-giving__card {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    background: #000;
    border-radius: 18px;
    padding: 1.25rem 1.5rem;
    flex-wrap: wrap;
}

.home-giving__logo {
    width: 92px;
    height: auto;
    flex-shrink: 0;
}

.home-giving__card-text {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: var(--fw-bold);
    line-height: 1.35;
    color: var(--color-white);
    margin: 0;
}

.home-giving__donate {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f47a20;
    color: var(--color-white);
    font-family: var(--font-body);
    font-weight: var(--fw-bold);
    font-size: 1.05rem;
    padding: 0.7rem 1.4rem;
    border-radius: 100px;
    transition: background 0.2s ease, transform 0.15s ease;
}

.home-giving__donate:hover {
    background: #d96712;
    color: var(--color-white);
    transform: translateY(-1px);
}

/* Right media card */
.home-giving__media {
    display: flex;
    justify-content: center;
}

.home-giving__carousel {
    width: 100%;
    max-width: 520px;
}

.home-giving__slides {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 28px;
}

.home-giving__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.025);
    transition: opacity 700ms ease, transform 1200ms ease;
    pointer-events: none;
}

.home-giving__slide.is-active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.home-giving__photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 900px) {
    .home-giving {
        padding: 4rem 0;
        text-align: center;
    }

    .home-giving__inner {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 2.5rem;
    }

    .home-giving__content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .home-giving__desc {
        margin-inline: auto;
    }

    .home-giving__media {
        order: -1;
        width: 100%;
        justify-content: center;
    }

    .home-giving__carousel {
        width: min(100%, 420px);
    }

    .home-giving__card {
        justify-content: center;
        max-width: min(100%, 520px);
    }
}

@media (max-width: 540px) {
    .home-giving {
        padding: 3rem 0;
    }

    .home-giving__title-lead {
        font-size: clamp(2.25rem, 12vw, 3.25rem);
    }

    .home-giving__title-rest {
        font-size: clamp(1.5rem, 8vw, 2.25rem);
    }

    .home-giving__carousel {
        width: min(100%, 340px);
    }

    .home-giving__slides {
        border-radius: 20px;
    }

    .home-giving__card {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: min(100%, 340px);
        gap: 1rem;
        padding: 1.25rem;
        text-align: center;
    }

    .home-giving__logo {
        width: 84px;
    }

    .home-giving__card-text {
        font-size: 1rem;
    }

    .home-giving__donate {
        justify-content: center;
        width: 100%;
    }
}

/* ================================================================
   FIGMA FRAME 3090:6800 — HERO + ABOUT
   ================================================================ */
.home-page {
    background: var(--color-light-purple);
}

.home-hero {
    display: block;
    min-height: 0;
    padding: 4rem 0 0;
    background: var(--color-light-purple);
    color: var(--color-dark-purple);
    text-align: center;
    overflow: hidden;
}

.home-hero__intro {
    width: min(763px, calc(100% - 3rem));
    margin: 0 auto 2.625rem;
}

.home-hero__title {
    color: var(--color-dark-purple);
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.1vw, var(--text-title3));
    font-weight: var(--fw-bold);
    line-height: 1.4;
    letter-spacing: 0;
    margin: 0 0 0.5625rem;
}

.home-hero__desc {
    color: #636779;
    font-family: var(--font-body);
    font-size: var(--text-copy);
    line-height: var(--lh-copy);
    letter-spacing: 0;
    max-width: none;
    margin: 0;
}

.home-hero__desc strong {
    color: #636779;
    font-weight: var(--fw-bold);
}

.home-hero__media {
    width: 100%;
    margin: 0;
}

.home-hero__image {
    display: block;
    width: 100%;
    height: auto;
    min-height: 420px;
    object-fit: cover;
    object-position: center top;
}

.about-section {
    position: relative;
    height: auto;
    overflow: hidden;
    padding: 4.125rem 0 15rem;
    background: var(--color-light-purple);
}

.about-section__inner {
    display: grid;
    grid-template-columns: minmax(0, 519px) minmax(420px, 550px);
    align-items: center;
    justify-content: space-between;
    gap: clamp(4rem, 14vw, 15rem);
    min-height: min(100vh, 900px);
}

.about-section__text {
    color: var(--color-dark-purple);
}

.about-section__heading {
    color: var(--color-dark-purple);
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, var(--text-h2));
    font-weight: var(--fw-bold);
    line-height: var(--lh-h2);
    letter-spacing: 0;
    margin: 0 0 1.5rem;
}

.about-section__desc {
    color: var(--color-dark-purple);
    font-family: var(--font-body);
    font-size: var(--text-title6);
    line-height: var(--lh-title6);
    letter-spacing: 0;
    margin: 0;
    max-width: 519px;
}

.about-section__desc strong {
    color: var(--color-dark-purple);
    font-weight: var(--fw-bold);
}

.about-section__cards {
    display: grid;
    width: min(550px, 100%);
    height: auto;
    min-height: 704px;
    margin: 0;
    position: relative;
    perspective: 1200px;
    isolation: isolate;
}

.about-card {
    grid-area: 1 / 1;
    position: relative;
    width: min(496px, 100%);
    border-radius: 32px;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    overflow: hidden;
    opacity: 1;
    padding: 3rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-card:hover {
    box-shadow: 0 24px 50px rgba(45, 44, 108, 0.14);
}

.about-card--share:hover {
    box-shadow: 0 24px 50px rgba(45, 44, 108, 0.14);
}

.about-card--craft:hover {
    box-shadow: 0 24px 50px rgba(45, 44, 108, 0.14);
}

.about-card--live:hover {
    box-shadow: 0 24px 50px rgba(45, 44, 108, 0.14);
}

.about-card--share {
    z-index: 1;
    background: var(--color-white);
    transform: translate(2rem, -0.25rem) rotate(5deg);
}

.about-card--craft {
    z-index: 2;
    background: var(--color-accent-01);
    transform: translate(1.625rem, 3.25rem);
}

.about-card--live {
    z-index: 3;
    background: var(--color-primary);
    transform: translate(0, 2.75rem) rotate(5deg);
}

.about-card__img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin: 0;
}

.about-card__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8125rem;
    width: 100%;
    padding: 0;
    text-align: center;
}

.about-card__title {
    color: var(--color-dark-purple);
    font-family: var(--font-display);
    font-size: var(--text-title4);
    font-weight: var(--fw-bold);
    line-height: var(--lh-title4);
    letter-spacing: 0;
    margin: 0;
}

.about-card__title em {
    font-style: italic;
}

.about-card__desc {
    color: var(--color-dark-purple);
    font-family: var(--font-body);
    font-size: var(--text-copy);
    line-height: 1.3333;
    letter-spacing: 0;
    margin: 0;
}

.about-card__desc a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.16em;
}

.about-card--live .about-card__title,
.about-card--live .about-card__desc {
    color: var(--color-white);
}

.about-section__pattern {
    position: absolute;
    right: 0;
    bottom: -1rem;
    width: min(522px, 40vw);
    aspect-ratio: 1;
    pointer-events: none;
    opacity: 0.55;
    background-image:
        linear-gradient(rgba(73, 71, 184, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(73, 71, 184, 0.12) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle at 50% 50%, #000 0 54%, transparent 72%);
}

@media (max-width: 1100px) {
    .about-section {
        padding-bottom: 7rem;
    }

    .about-section__inner {
        grid-template-columns: 1fr;
        gap: 3rem;
        min-height: 0;
    }

    .about-section__cards {
        justify-self: center;
    }
}

@media (max-width: 640px) {
    .home-hero {
        padding-top: 3rem;
    }

    .home-hero__image {
        min-height: 300px;
    }

    .about-section {
        padding-top: 3rem;
    }

    .about-section__cards {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        min-height: 0;
    }

    .about-card {
        width: 100%;
        padding: 1.5rem;
        transform: none;
    }

    .about-section__pattern {
        display: none;
    }
}

/* ================================================================
   HOME GRID MIGRATION
   ================================================================ */
.home-hero.is-grid-migrated > .home-hero__grid {
    align-items: start;
}

.home-hero.is-grid-migrated > .home-hero__grid > .home-hero__intro {
    grid-column: 3 / 11;
    width: auto;
    margin: 0 0 2.625rem;
}

.home-hero.is-grid-migrated > .home-hero__grid > .home-hero__media {
    grid-column: 1 / -1;
}

.home-hero.is-grid-migrated .home-hero__image {
    width: 100%;
}

.about-section.is-grid-migrated > .container.grid > .about-section__inner,
.home-giving.is-grid-migrated > .container.grid > .home-giving__inner {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
    gap: var(--grid-gap);
}

.about-section.is-grid-migrated > .container.grid > .about-section__inner {
    align-items: start;
    min-height: min(100vh, 900px);
}

.about-section.is-grid-migrated > .container.grid > .about-section__inner > .about-section__text {
    grid-column: 1 / span 5;
    grid-row: 1;
    min-width: 0;
    max-width: 100%;
}

.about-section.is-grid-migrated .about-section__heading {
    font-size: clamp(2.5rem, 4vw, var(--text-h2));
    margin: 0 0 1.5rem;
    overflow-wrap: break-word;
}

.about-section.is-grid-migrated .about-section__desc {
    max-width: 519px;
}

.about-section.is-grid-migrated > .container.grid > .about-section__inner > .about-section__cards {
    grid-column: 9 / -1;
    grid-row: 1;
    align-self: start;
    justify-self: stretch;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    min-height: clamp(390px, 30vw, 520px);
}

.about-section.is-grid-migrated .about-card {
    width: min(100%, 420px);
    padding: clamp(1.5rem, 2vw, 2.25rem);
}

.about-section.is-grid-migrated .about-card--share {
    transform: translate(0.25rem, -0.5rem) rotate(5deg);
}

.about-section.is-grid-migrated .about-card--craft {
    transform: translate(0.125rem, 0.5rem);
}

.about-section.is-grid-migrated .about-card--live {
    transform: translate(0, 0.875rem) rotate(5deg);
}

.home-survey.is-grid-migrated > .container.grid > .home-survey__header {
    grid-column: 2 / 12;
}

.home-survey.is-grid-migrated > .container.grid > .home-survey__toggle,
.home-survey.is-grid-migrated > .container.grid > .home-survey__panels {
    grid-column: 1 / -1;
}

.home-services.is-grid-migrated > .container.grid > .home-services__header,
.home-services.is-grid-migrated > .container.grid > .home-services__cta {
    grid-column: 2 / 12;
}

.home-services.is-grid-migrated > .container.grid > .home-services__grid,
.home-team.is-grid-migrated > .container.grid > .home-team__members {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
    gap: var(--grid-gap);
    justify-content: stretch;
}

.home-services.is-grid-migrated .home-services__grid > .service-card {
    grid-column: span 3;
    width: 100%;
}

.home-team.is-grid-migrated > .container.grid > .home-team__header {
    grid-column: 3 / 11;
    width: 100%;
    max-width: none;
    min-width: 0;
}

.home-team.is-grid-migrated .home-team__title,
.home-team.is-grid-migrated .home-team__intro {
    max-width: 100%;
    overflow-wrap: break-word;
}

.home-team.is-grid-migrated > .container.grid > .home-team__members {
    grid-column: 2 / 12;
}

.home-team.is-grid-migrated .home-team__members > .team-member {
    grid-column: span 6;
    min-width: 0;
}

.home-team.is-grid-migrated .team-member__portrait-wrap {
    max-width: 100%;
}

.home-team.is-grid-migrated .team-member__cat {
    max-width: min(44%, 12rem);
}

.home-team.is-grid-migrated .team-member__cat--left {
    left: clamp(-4rem, -5vw, -2rem);
}

.home-team.is-grid-migrated .team-member__cat--right {
    right: clamp(-4rem, -5vw, -2rem);
}

.home-giving.is-grid-migrated .home-giving__inner {
    align-items: center;
}

.home-giving.is-grid-migrated .home-giving__content {
    grid-column: 1 / span 5;
}

.home-giving.is-grid-migrated .home-giving__media {
    grid-column: 7 / -1;
}

@media (max-width: 1024px) {
    .home-hero.is-grid-migrated > .home-hero__grid > .home-hero__intro,
    .home-survey.is-grid-migrated > .container.grid > .home-survey__header,
    .home-survey.is-grid-migrated > .container.grid > .home-survey__toggle,
    .home-survey.is-grid-migrated > .container.grid > .home-survey__panels,
    .home-services.is-grid-migrated > .container.grid > .home-services__header,
    .home-services.is-grid-migrated > .container.grid > .home-services__cta,
    .home-team.is-grid-migrated > .container.grid > .home-team__header {
        grid-column: 1 / -1;
    }

    .about-section.is-grid-migrated > .container.grid > .about-section__inner > .about-section__text,
    .about-section.is-grid-migrated > .container.grid > .about-section__inner > .about-section__cards,
    .home-giving.is-grid-migrated .home-giving__content,
    .home-giving.is-grid-migrated .home-giving__media {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .about-section.is-grid-migrated > .container.grid > .about-section__inner,
    .home-giving.is-grid-migrated .home-giving__inner {
        gap: clamp(2.5rem, 6vw, 4rem);
    }

    .about-section.is-grid-migrated > .container.grid > .about-section__inner > .about-section__cards {
        justify-self: center;
    }

    .home-services.is-grid-migrated .home-services__grid > .service-card,
    .home-team.is-grid-migrated .home-team__members > .team-member {
        grid-column: span 3;
    }

    .home-team.is-grid-migrated > .container.grid > .home-team__members {
        grid-column: 1 / -1;
    }

    .home-team.is-grid-migrated .team-member__cat--left {
        left: -1.5rem;
    }

    .home-team.is-grid-migrated .team-member__cat--right {
        right: -1.5rem;
    }
}

@media (max-width: 820px) {
    .home-team.is-grid-migrated > .container.grid > .home-team__members,
    .home-team.is-grid-migrated .home-team__members > .team-member {
        grid-column: 1 / -1;
    }

    .home-team.is-grid-migrated .team-member__cat--left {
        left: 0;
    }

    .home-team.is-grid-migrated .team-member__cat--right {
        right: 0;
    }
}

@media (max-width: 768px) {
    .about-section.is-grid-migrated > .container.grid > .about-section__inner > .about-section__cards {
        display: flex;
        flex-direction: column;
        max-width: none;
        min-height: 0;
    }

    .about-section.is-grid-migrated > .container.grid > .about-section__inner .about-card {
        width: 100%;
        transform: none;
    }

    .home-services.is-grid-migrated .home-services__grid > .service-card {
        grid-column: 1 / -1;
    }
}
