/* ======================================================
   Agents — Listing Page & Detail / Biography Page
   Editorial real-estate design system
   All classes use `ag-` prefix to avoid collisions
   ====================================================== */

/* ── Design Tokens ──────────────────────────────────── */
:root {
    --ag-accent: #717fe0;
    --ag-accent-ink: #5b69c9;
    --ag-accent-tint: rgba(113,127,224,.12);
    --ag-page: #ffffff;
    --ag-sec-bg: #f6f5f2;
    --ag-ink-900: #16181d;
    --ag-ink-600: #5b5f66;
    --ag-ink-400: #9aa0a8;
    --ag-line: #e7e6e2;
    --ag-soft: #efeeea;
    --ag-ease: cubic-bezier(.2,.7,.2,1);
}

/* ══════════════════════════════════════════════════════
   DARK HERO BANNER  (listing + detail pages)
   ══════════════════════════════════════════════════════ */

.ag-banner {
    background: #0e1014;
    padding: 130px 0 52px;
    text-align: left;
}

.ag-banner__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 64px);
}

.ag-banner__eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ag-accent);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.ag-banner__eyebrow::before {
    content: "";
    width: 24px;
    height: 1px;
    background: var(--ag-accent);
    display: inline-block;
}

.ag-banner__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    font-size: clamp(28px, 3.8vw, 50px);
    line-height: 1.1;
    letter-spacing: -.01em;
    margin: 14px 0 0;
    color: #f3f4f6;
    max-width: 24ch;
}
.ag-banner__title em {
    font-style: italic;
    color: var(--ag-accent);
}

.ag-banner__text {
    margin: 14px 0 0;
    max-width: 52ch;
    font-size: clamp(13px, 1.1vw, 15px);
    line-height: 1.65;
    color: #6b7280;
    font-weight: 300;
}

.ag-banner__scroll {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #6b7280;
}
.ag-banner__dot {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.15);
    display: grid;
    place-items: center;
    color: var(--ag-accent);
    animation: ag-bounce 2.4s ease-in-out infinite;
}
.ag-banner__dot .material-icons { font-size: 18px; }

@keyframes ag-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

@media (max-width: 600px) {
    .ag-banner { padding: 110px 0 40px; }
    .ag-banner__title { max-width: none; }
}

/* ══════════════════════════════════════════════════════
   AGENTS LISTING PAGE
   ══════════════════════════════════════════════════════ */

/* ── Page background ────────────────────────────────── */
.ag-listing-page { background: var(--ag-sec-bg); }

/* ── Section scaffold ───────────────────────────────── */
.ag-sec { padding: clamp(48px, 8vh, 96px) 0 clamp(56px, 9vh, 110px); background: var(--ag-sec-bg); }
.ag-wrap { max-width: 1280px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }

/* ── Section header ─────────────────────────────────── */
.ag-eyebrow {
    font-size: 12px; font-weight: 600; letter-spacing: .22em;
    text-transform: uppercase; color: var(--ag-accent);
    display: inline-flex; align-items: center; gap: 10px;
}
.ag-eyebrow::before {
    content: ""; width: 28px; height: 1px;
    background: var(--ag-accent); display: inline-block;
}

.ag-sec-head h1,
.ag-sec-head h2 {
    font-family: 'Playfair Display', Georgia, serif; font-weight: 500;
    font-size: clamp(28px, 4vw, 48px); line-height: 1.06;
    margin: 14px 0 0; letter-spacing: -.01em; text-wrap: balance;
    color: var(--ag-ink-900);
}

.ag-sec-head .ag-lead {
    color: var(--ag-ink-600); font-weight: 300;
    font-size: clamp(14px, 1.3vw, 16px); line-height: 1.7;
    max-width: 56ch; margin: 14px 0 0;
}

/* ── Toolbar (count + search) ───────────────────────── */
.ag-toolbar {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 18px;
    margin-bottom: clamp(22px, 3.5vh, 38px);
}

.ag-count-pill {
    display: inline-flex; align-items: center; gap: 9px;
    font-size: 13px; font-weight: 500; color: var(--ag-ink-600);
}
.ag-count-pill b { color: var(--ag-ink-900); font-weight: 600; }
.ag-count-pill .material-icons { font-size: 19px; color: var(--ag-accent); }

.ag-search { position: relative; flex: 0 1 320px; min-width: 220px; }
.ag-search .material-icons {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    font-size: 19px; color: var(--ag-ink-400); pointer-events: none;
}
.ag-search input {
    width: 100%; font-family: inherit; font-size: 14px;
    background: var(--ag-page); color: var(--ag-ink-900);
    border: 1px solid var(--ag-line); border-radius: 999px;
    padding: 12px 18px 12px 42px; outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.ag-search input::placeholder { color: var(--ag-ink-400); }
.ag-search input:focus {
    border-color: var(--ag-accent);
    box-shadow: 0 0 0 4px var(--ag-accent-tint);
}

/* ── Agent grid ─────────────────────────────────────── */
.ag-agents-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: clamp(18px, 2vw, 26px);
}
@media (max-width: 1100px) {
    .ag-agents-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
    .ag-agents-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .ag-agents-grid { grid-template-columns: 1fr; max-width: 380px; margin-left: auto; margin-right: auto; }
}

/* ── Agent card ─────────────────────────────────────── */
.ag-agent-card {
    display: flex; flex-direction: column;
    background: var(--ag-page); border: 1px solid var(--ag-line);
    border-radius: 18px; overflow: hidden; text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 3px rgba(0,0,0,.05), 0 14px 36px rgba(0,0,0,.06);
    transition: transform .4s var(--ag-ease), box-shadow .4s ease, border-color .4s ease;
}
.ag-agent-card:hover,
.ag-agent-card:focus {
    transform: translateY(-6px);
    box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 26px 56px rgba(0,0,0,.16);
    border-color: color-mix(in srgb, var(--c, var(--ag-accent)) 40%, var(--ag-line));
    text-decoration: none; color: inherit;
}
.ag-agent-card *,
.ag-agent-card:hover *,
.ag-agent-card:focus * {
    text-decoration: none;
}

/* ── Card cover (gradient header) ───────────────────── */
.ag-agent-cover {
    position: relative; height: 92px; overflow: hidden;
    background:
        radial-gradient(ellipse 140% 160% at 20% -40%, color-mix(in srgb, var(--c, var(--ag-accent)) 60%, transparent) 0%, transparent 70%),
        radial-gradient(ellipse 100% 180% at 90% 120%, color-mix(in srgb, var(--c, var(--ag-accent)) 40%, transparent) 0%, transparent 60%),
        var(--c, var(--ag-accent));
}
.ag-agent-cover::after {
    content: "";
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(circle 60px at 70% 30%, rgba(255,255,255,.18), transparent),
        radial-gradient(circle 40px at 30% 70%, rgba(255,255,255,.12), transparent),
        radial-gradient(circle 80px at 85% 80%, rgba(255,255,255,.08), transparent);
}
.ag-agent-cover .material-icons {
    position: absolute; right: -8px; bottom: -14px;
    font-size: 96px; color: #fff; opacity: .14;
    transform: rotate(-8deg);
    transition: transform .5s var(--ag-ease);
}
.ag-agent-card:hover .ag-agent-cover .material-icons {
    transform: scale(1.08) translateY(-4px) rotate(-8deg);
}

/* ── Card avatar ────────────────────────────────────── */
.ag-agent-avatar {
    width: 86px; height: 86px; border-radius: 999px;
    margin: -46px auto 0; position: relative; z-index: 2;
    background: var(--c, var(--ag-accent));
    color: #fff;
    border: 4px solid var(--ag-page);
    box-shadow: 0 4px 16px color-mix(in srgb, var(--c, var(--ag-accent)) 38%, transparent);
    overflow: hidden;
    display: grid; place-items: center;
    transition: transform .3s var(--ag-ease);
}
.ag-agent-card:hover .ag-agent-avatar { transform: scale(1.05); }
.ag-agent-avatar img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.ag-agent-avatar .ag-agent-initial {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600; font-size: 38px; line-height: 1;
}

/* ── Card body ──────────────────────────────────────── */
.ag-agent-body {
    padding: 14px 22px 18px; text-align: center;
    flex: 1; display: flex; flex-direction: column;
}
.ag-agent-role {
    font-size: 10.5px; font-weight: 600; letter-spacing: .14em;
    text-transform: uppercase; color: var(--ag-accent);
}
.ag-agent-name {
    font-family: 'Playfair Display', Georgia, serif; font-weight: 500;
    font-size: 21px; line-height: 1.18; margin: 6px 0 0;
    color: var(--ag-ink-900);
}

/* ── Card contact rows ──────────────────────────────── */
.ag-agent-contact {
    display: flex; flex-direction: column; gap: 9px;
    margin-top: 16px; padding-top: 16px;
    border-top: 1px solid var(--ag-line); text-align: left;
}
.ag-ac-row { display: flex; align-items: flex-start; gap: 10px; }
.ag-ac-ico {
    flex: 0 0 30px; width: 30px; height: 30px;
    border-radius: 9px; background: var(--ag-accent-tint);
    color: var(--ag-accent);
    display: grid; place-items: center;
}
.ag-ac-ico .material-icons { font-size: 16px; }
.ag-ac-text { min-width: 0; }
.ag-ac-k {
    font-size: 9.5px; font-weight: 600; letter-spacing: .1em;
    text-transform: uppercase; color: var(--ag-ink-400); line-height: 1.3;
}
.ag-ac-v {
    font-size: 13.5px; font-weight: 500; color: var(--ag-ink-900);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ── Card footer ────────────────────────────────────── */
.ag-agent-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 14px 22px; border-top: 1px solid var(--ag-line);
    background: var(--ag-soft);
}
.ag-agent-props {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 500; color: var(--ag-ink-600);
}
.ag-agent-props .material-icons { font-size: 18px; color: var(--ag-accent); }
.ag-agent-props b { color: var(--ag-ink-900); font-weight: 600; }

.ag-agent-cta {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--ag-ink-900); color: var(--ag-page);
    border-radius: 999px; padding: 9px 16px;
    font-family: inherit; font-size: 12.5px; font-weight: 600;
    text-decoration: none; border: 0; cursor: pointer;
    transition: background .2s, gap .3s var(--ag-ease), transform .2s;
}
.ag-agent-cta .material-icons { font-size: 15px; }
.ag-agent-cta:hover {
    background: var(--ag-accent); color: #fff;
    gap: 9px;
}

/* ── Empty search state ─────────────────────────────── */
.ag-empty {
    display: none; text-align: center;
    color: var(--ag-ink-600); padding: 64px 0;
    font-weight: 300; font-size: 15px;
}
.ag-empty .material-icons {
    font-size: 40px; color: var(--ag-ink-400);
    display: block; margin: 0 auto 12px;
}

/* ── Reveal animations (listing) ────────────────────── */
.ag-reveal-up { will-change: transform, opacity; }

@media (prefers-reduced-motion: no-preference) {
    .ag-reveal-up {
        opacity: 0; transform: translateY(28px);
        transition: opacity .7s var(--ag-ease), transform .7s var(--ag-ease);
    }
    .ag-reveal-up.inview { opacity: 1; transform: none; }

    .ag-agents-grid .ag-agent-card {
        opacity: 0; transform: translateY(36px) scale(.985);
        transition: opacity .6s var(--ag-ease), transform .6s var(--ag-ease);
    }
    .ag-agents-grid .ag-agent-card.inview { opacity: 1; transform: none; }

    /* stagger: (column % 4) * 0.07 + 0.04 */
    .ag-agents-grid .ag-agent-card:nth-child(4n+1) { transition-delay: .04s; }
    .ag-agents-grid .ag-agent-card:nth-child(4n+2) { transition-delay: .11s; }
    .ag-agents-grid .ag-agent-card:nth-child(4n+3) { transition-delay: .18s; }
    .ag-agents-grid .ag-agent-card:nth-child(4n+4) { transition-delay: .25s; }
}


/* ══════════════════════════════════════════════════════
   AGENT DETAIL / BIOGRAPHY PAGE
   ══════════════════════════════════════════════════════ */

/* ── Page background ────────────────────────────────── */
.ag-detail-page { background: var(--ag-page); }

/* ── Breadcrumb ─────────────────────────────────────── */
.ag-crumb { padding: clamp(22px, 3.5vh, 34px) 0 0; }
.ag-crumb nav {
    display: flex; align-items: center; gap: 8px;
    font-size: 12.5px; color: var(--ag-ink-400);
}
.ag-crumb nav a {
    color: var(--ag-ink-600); text-decoration: none;
    transition: color .2s;
}
.ag-crumb nav a:hover { color: var(--ag-accent); }
.ag-crumb nav .material-icons { font-size: 16px; }
.ag-crumb .ag-here {
    color: var(--ag-ink-900); font-weight: 500;
}

/* ── Hero section ───────────────────────────────────── */
.ag-hero { padding: clamp(26px, 4vh, 44px) 0 clamp(34px, 5vh, 56px); }

.ag-hero-grid {
    display: grid; grid-template-columns: 320px 1fr;
    gap: clamp(28px, 4vw, 64px); align-items: start;
}

/* ── ID Card (left, sticky) ─────────────────────────── */
.ag-id-card { position: sticky; top: 28px; }

.ag-portrait {
    border-radius: 22px; overflow: hidden;
    background: var(--ag-page); border: 1px solid var(--ag-line);
    box-shadow: 0 1px 3px rgba(0,0,0,.05), 0 20px 50px rgba(0,0,0,.08);
}

/* portrait cover */
.ag-portrait-cover {
    position: relative; height: 120px; overflow: hidden;
    background:
        radial-gradient(ellipse 140% 160% at 20% -40%, color-mix(in srgb, var(--c, var(--ag-accent)) 60%, transparent) 0%, transparent 70%),
        radial-gradient(ellipse 100% 180% at 90% 120%, color-mix(in srgb, var(--c, var(--ag-accent)) 40%, transparent) 0%, transparent 60%),
        var(--c, var(--ag-accent));
}
.ag-portrait-cover .material-icons {
    position: absolute; right: -10px; bottom: -18px;
    font-size: 120px; color: #fff; opacity: .14;
    transform: rotate(-8deg);
}

/* portrait avatar */
.ag-portrait-avatar {
    width: 132px; height: 132px; border-radius: 999px;
    margin: -72px auto 0; position: relative; z-index: 2;
    background: var(--c, var(--ag-accent));
    color: #fff;
    border: 5px solid var(--ag-page);
    box-shadow: 0 6px 24px color-mix(in srgb, var(--c, var(--ag-accent)) 40%, transparent);
    overflow: hidden;
    display: grid; place-items: center;
}
.ag-portrait-avatar img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.ag-portrait-avatar .ag-ini {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600; font-size: 58px; line-height: 1;
}

/* ID meta */
.ag-id-meta { padding: 16px 24px 24px; text-align: center; }
.ag-id-role {
    font-size: 10.5px; font-weight: 600; letter-spacing: .14em;
    text-transform: uppercase; color: var(--ag-accent);
}
.ag-id-name {
    font-family: 'Playfair Display', Georgia, serif; font-weight: 500;
    font-size: 25px; line-height: 1.15; margin: 8px 0 0;
    color: var(--ag-ink-900);
}

/* ID rows */
.ag-id-rows {
    display: flex; flex-direction: column; gap: 2px;
    margin-top: 18px; text-align: left;
}
.ag-id-row {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 11px 4px; border-top: 1px solid var(--ag-line);
}
.ag-id-row .ag-ico {
    flex: 0 0 34px; width: 34px; height: 34px;
    border-radius: 10px; background: var(--ag-accent-tint);
    color: var(--ag-accent);
    display: grid; place-items: center;
}
.ag-id-row .ag-ico .material-icons { font-size: 18px; }
.ag-id-row .ag-k {
    font-size: 9.5px; font-weight: 600; letter-spacing: .1em;
    text-transform: uppercase; color: var(--ag-ink-400); line-height: 1.3;
}
.ag-id-row .ag-v {
    font-size: 13.5px; font-weight: 500; color: var(--ag-ink-900);
    word-break: break-word;
}
.ag-id-row .ag-v a {
    color: var(--ag-accent); text-decoration: none;
}
.ag-id-row .ag-v a:hover { text-decoration: none; }

/* ID actions */
.ag-id-actions {
    display: flex; flex-direction: column; gap: 10px;
    margin-top: 20px;
}
.ag-btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 9px; border-radius: 12px; padding: 13px 18px;
    font-family: inherit; font-size: 14px; font-weight: 600;
    text-decoration: none; border: 0; cursor: pointer;
    transition: all .2s;
}
.ag-btn .material-icons { font-size: 18px; }

.ag-btn-primary {
    background: var(--ag-accent); color: #fff;
}
.ag-btn-primary:hover {
    background: var(--ag-accent-ink); color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(113,127,224,.32);
}

.ag-btn-ghost {
    background: var(--ag-page); color: var(--ag-ink-900);
    border: 1px solid var(--ag-line);
}
.ag-btn-ghost:hover {
    border-color: var(--ag-accent); color: var(--ag-accent);
    transform: translateY(-2px);
}

/* ── Bio column (right) ─────────────────────────────── */
.ag-bio-head h1 {
    font-family: 'Playfair Display', Georgia, serif; font-weight: 500;
    font-size: clamp(38px, 5.2vw, 70px); line-height: 1.0;
    margin: 0; letter-spacing: -.01em; color: var(--ag-ink-900);
}
.ag-bio-lead {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic; font-weight: 400;
    color: var(--ag-ink-600);
    font-size: clamp(17px, 1.8vw, 22px); line-height: 1.5;
    max-width: 46ch; margin: 16px 0 0;
}

/* ── Stats strip ────────────────────────────────────── */
.ag-stats {
    display: flex; flex-wrap: wrap;
    gap: clamp(20px, 4vw, 56px);
    margin-top: 30px; padding: 24px 0;
    border-top: 1px solid var(--ag-line);
    border-bottom: 1px solid var(--ag-line);
}
.ag-stat-n {
    font-family: 'Playfair Display', Georgia, serif; font-weight: 600;
    font-size: clamp(28px, 3vw, 40px); line-height: 1;
    color: var(--ag-ink-900); font-variant-numeric: tabular-nums;
}
.ag-stat-n .material-icons { font-size: .7em; color: var(--ag-accent); }
.ag-stat-l {
    font-size: 11px; font-weight: 600; letter-spacing: .1em;
    text-transform: uppercase; color: var(--ag-ink-400);
    margin-top: 8px;
}

/* ── Bio body ───────────────────────────────────────── */
.ag-bio-eyebrow { margin-bottom: 14px; }
.ag-bio-body { margin-top: 30px; }
.ag-bio-prose p {
    color: var(--ag-ink-600); font-weight: 300;
    font-size: clamp(15px, 1.25vw, 16.5px); line-height: 1.85;
    max-width: 64ch; margin: 0 0 18px;
}
.ag-bio-prose p strong { color: var(--ag-ink-900); font-weight: 600; }
.ag-bio-prose p:first-of-type::first-letter {
    font-family: 'Playfair Display', Georgia, serif; font-weight: 600;
    float: left; font-size: 3.4em; line-height: .82;
    padding: 6px 14px 0 0; color: var(--ag-accent);
}

.ag-pullquote {
    margin: 26px 0; padding: 4px 0 4px 26px;
    border-left: 3px solid var(--ag-accent);
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic; font-weight: 400;
    font-size: clamp(18px, 1.9vw, 23px); line-height: 1.5;
    color: var(--ag-ink-900); max-width: 52ch;
}

/* ── Properties section ─────────────────────────────── */
.ag-props-sec {
    background: var(--ag-sec-bg);
    padding: clamp(48px, 8vh, 96px) 0;
}

.ag-props-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    flex-wrap: wrap; gap: 20px;
    margin-bottom: clamp(26px, 4vh, 44px);
}
.ag-props-head h2 {
    font-family: 'Playfair Display', Georgia, serif; font-weight: 500;
    font-size: clamp(26px, 3.4vw, 44px); line-height: 1.06;
    margin: 0; color: var(--ag-ink-900);
}
.ag-props-count {
    font-size: 13px; font-weight: 500; color: var(--ag-ink-600);
}
.ag-props-count b { color: var(--ag-ink-900); font-weight: 600; }

/* Properties grid — uses ix-prop-card classes from index-sections.css */
.ag-props-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: clamp(18px, 2vw, 28px);
}

/* ── Empty state (no properties) ────────────────────── */
.ag-props-empty {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; text-align: center; gap: 6px;
    padding: 56px 24px;
    background: var(--ag-page); border: 1px dashed var(--ag-line);
    border-radius: 16px; color: var(--ag-ink-600);
}
.ag-props-empty .material-icons {
    font-size: 44px; color: var(--ag-ink-400);
}
.ag-props-empty h3 {
    font-family: 'Playfair Display', Georgia, serif; font-weight: 500;
    font-size: 22px; color: var(--ag-ink-900); margin: 0;
}
.ag-props-empty p {
    font-weight: 300; font-size: 14.5px; max-width: 40ch; margin: 0;
}

/* ── Pagination ─────────────────────────────────────── */
.ag-pagination {
    margin-top: clamp(32px, 5vh, 56px);
    display: flex; justify-content: center;
}
.ag-pagination nav { display: flex; align-items: center; gap: 4px; }
.ag-pagination .pagination { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.ag-pagination .page-item .page-link {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; padding: 0 12px;
    border-radius: 10px; border: 1px solid var(--ag-line);
    background: var(--ag-page); color: var(--ag-ink-600);
    font-size: 14px; font-weight: 500; text-decoration: none;
    transition: all .2s;
}
.ag-pagination .page-item .page-link:hover {
    border-color: var(--ag-accent); color: var(--ag-accent);
    background: var(--ag-accent-tint);
}
.ag-pagination .page-item.active .page-link {
    background: var(--ag-accent); color: #fff;
    border-color: var(--ag-accent);
}
.ag-pagination .page-item.disabled .page-link {
    opacity: .4; pointer-events: none;
}

/* ── Reveal animations (detail) ─────────────────────── */
@media (prefers-reduced-motion: no-preference) {
    .ag-props-grid .ix-prop-card {
        opacity: 0; transform: translateY(36px) scale(.985);
        transition: opacity .6s var(--ag-ease), transform .6s var(--ag-ease);
    }
    .ag-props-grid .ix-prop-card.inview { opacity: 1; transform: none; }

    /* stagger: (column % 3) * 0.07 + 0.04 */
    .ag-props-grid .ix-prop-card:nth-child(3n+1) { transition-delay: .04s; }
    .ag-props-grid .ix-prop-card:nth-child(3n+2) { transition-delay: .11s; }
    .ag-props-grid .ix-prop-card:nth-child(3n+3) { transition-delay: .18s; }
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE — DETAIL PAGE
   ══════════════════════════════════════════════════════ */
@media (max-width: 980px) {
    .ag-hero-grid {
        grid-template-columns: 1fr;
    }
    .ag-id-card {
        position: static; max-width: 420px;
        margin-left: auto; margin-right: auto;
    }
    .ag-props-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .ag-props-grid {
        grid-template-columns: 1fr;
        max-width: 420px; margin-left: auto; margin-right: auto;
    }
}
