.agents-page { background: var(--color-paper); }
.agents-page .site-header { position: sticky; top: 0; border-bottom: 1px solid rgba(80, 82, 82, .16); background: var(--color-paper); }
body.agents-page .site-header.is-scrolled { position: sticky; top: 0; }
.agents-page .main-nav__link { color: var(--color-text); }
.agents-page .main-nav__link::after { background: var(--color-text); }
.agents-page .site-header .button--light { border-color: var(--color-taupe); background: var(--color-taupe); color: var(--color-white); }
.section-rule { display: block; width: 38px; height: 1px; margin: 20px 0; background: var(--color-taupe); }
.agents-hero { height: 590px; min-height: 590px; display: grid; grid-template-columns: 50% 50%; background: var(--color-cream); }
.agents-hero__copy { padding: 38px clamp(42px, 7vw, 112px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.agents-hero h1 { margin-top: 13px; font: 500 clamp(3.3rem, 5.2vw, 5.9rem)/.92 var(--font-heading); letter-spacing: -.055em; }
.agents-hero h1 em { font-weight: 500; }
.agents-hero__description { max-width: 530px; color: #5f5a56; font-size: .87rem; line-height: 1.72; }
.agents-hero .button { margin-top: 25px; gap: 18px; background: var(--color-black); border-color: var(--color-black); }
.agents-values { width: 100%; margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.agents-values li { padding-left: 26px; position: relative; font-size: .61rem; font-weight: 700; letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; }
.agents-values li::before { width: 16px; height: 16px; position: absolute; left: 0; top: 1px; border: 1px solid var(--color-taupe); border-radius: 50%; content: ""; }
.agents-values span { display: block; }
.agents-hero__visual { min-height: 590px; position: relative; overflow: hidden; background: #242321; }
.agents-hero__visual::after { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 62%, rgba(15,14,13,.42)); content: ""; }
.agents-hero__visual img, .agents-hero__visual video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.agents-hero__note { position: absolute; right: 8%; bottom: 9%; z-index: 1; color: #fff; font: 500 1.4rem/1 var(--font-heading); text-align: right; transform: rotate(-5deg); }
.agent-testimonial { min-height: 450px; padding: 34px clamp(28px, 7vw, 110px); display: grid; grid-template-columns: 52% 48%; align-items: center; gap: clamp(40px, 7vw, 110px); }
.agent-testimonial__visual { height: 350px; position: relative; }
.agent-testimonial__visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.agent-testimonial__content { max-width: 600px; }
.agent-testimonial h2, .agent-application h2, .agent-resources h2, .agents-final-cta h2 { font-family: var(--font-heading); font-weight: 500; letter-spacing: -.045em; }
.agent-testimonial h2 { margin-top: 12px; font-size: clamp(2.8rem, 4vw, 4.6rem); line-height: .98; }
.agent-testimonial blockquote { margin: 24px 0 0; color: #4f4a47; font-size: .88rem; line-height: 1.75; }
.agent-testimonial__person { margin-top: 24px; }
.agent-testimonial__person strong, .agent-testimonial__person span { display: block; }
.agent-testimonial__person strong { font-size: .75rem; }
.agent-testimonial__person span { margin-top: 3px; color: #746b65; font-size: .65rem; }
.agent-testimonial__stars { color: #b18b5d !important; }
.agent-testimonial__stars .site-icon { display: inline-block; margin: 0 3px 0 0; }
.agent-reviews { padding: 34px clamp(38px, 8vw, 126px) 40px; background: #dcdbd6; }
.agent-reviews__heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.agent-reviews__heading h2 { margin-top: 7px; font: 500 clamp(2.3rem, 3.6vw, 3.9rem)/1 var(--font-heading); letter-spacing: -.045em; }
.agent-reviews__heading > p { max-width: 310px; color: #626466; font-size: .72rem; line-height: 1.6; }
.agent-reviews__carousel { margin-top: 28px; display: grid; grid-template-columns: 42px minmax(0, 1fr) 42px; align-items: center; gap: 18px; }
.agent-reviews__carousel > button { width: 42px; height: 42px; display: grid; border: 1px solid #b8b8b3; border-radius: 50%; color: #292b2c; background: rgba(255,255,255,.45); cursor: pointer; place-items: center; }
.agent-reviews__viewport { padding: 14px 4px 22px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.agent-reviews__viewport::-webkit-scrollbar { display: none; }
.agent-reviews__track { display: flex; gap: 22px; }
.agent-review-card { width: calc((100% - 44px) / 3); min-width: 0; flex: 0 0 calc((100% - 44px) / 3); overflow: hidden; scroll-snap-align: start; background: #f7f6f3; box-shadow: 0 12px 28px rgba(39,41,42,.08); cursor: pointer; transition: transform var(--motion-fast) var(--ease-standard), box-shadow var(--motion-fast) var(--ease-standard); }
.agent-review-card:hover, .agent-review-card:focus-visible { outline: 2px solid rgba(41,43,44,.34); outline-offset: 3px; box-shadow: 0 18px 38px rgba(39,41,42,.15); transform: translateY(-4px); }
.agent-review-card__media { height: 190px; overflow: hidden; background: #c9c8c3; }
.agent-review-card__media img { width: 100%; height: 100%; display: block; }
.agent-review-card__body { min-height: 245px; padding: 28px; display: flex; flex-direction: column; }
.agent-review-card__stars { margin-bottom: 16px; color: #777974; letter-spacing: .12em; }
.agent-review-card blockquote { margin: 0; display: -webkit-box; overflow: hidden; color: #454849; font: 500 clamp(1.05rem, 1.5vw, 1.35rem)/1.5 var(--font-heading); -webkit-box-orient: vertical; -webkit-line-clamp: 5; }
.agent-review-card__show-more { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; color: #666967; font-size: .67rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.agent-review-card__show-more-arrow { width: 8px; height: 8px; display: inline-block; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform var(--motion-fast) var(--ease-standard); }
.agent-review-card:hover .agent-review-card__show-more-arrow,
.agent-review-card:focus-visible .agent-review-card__show-more-arrow { transform: translateY(1px) rotate(45deg); }
.agent-review-card__person { margin-top: auto; padding-top: 24px; border-top: 1px solid #d8d7d2; }
.agent-review-card__person strong, .agent-review-card__person span { display: block; }
.agent-review-card__person strong { font-size: .78rem; }
.agent-review-card__person span { margin-top: 4px; color: #747775; font-size: .65rem; }
.agent-review-card--text-only .agent-review-card__body { min-height: 435px; justify-content: center; }
.agent-reviews__empty { margin-top: 25px; color: #626466; }
.agent-review-modal { width: min(720px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 0; overflow-y: auto; border: 0; border-radius: 12px; color: #292b2c; background: #f7f6f3; box-shadow: 0 30px 90px rgba(20,21,21,.32); }
.agent-review-modal::backdrop { background: rgba(25,26,26,.68); backdrop-filter: blur(4px); }
.agent-review-modal[open] { display: block; }
.agent-review-modal--text-only .agent-review-modal__content { padding-top: clamp(58px, 8vw, 82px); }
.agent-review-modal__close { width: 42px; height: 42px; position: absolute; top: 14px; right: 14px; z-index: 2; display: grid; border: 1px solid rgba(41,43,44,.18); border-radius: 50%; color: #292b2c; background: rgba(247,246,243,.9); cursor: pointer; place-items: center; }
.agent-review-modal__media { width: 100%; height: clamp(240px, 42vh, 360px); overflow: hidden; background: #c9c8c3; }
.agent-review-modal__media img { width: 100%; height: 100%; display: block; }
.agent-review-modal__content { padding: clamp(38px, 6vw, 62px); }
.agent-review-modal__stars { margin: 22px 0 16px; color: #777974; letter-spacing: .12em; }
.agent-review-modal blockquote { margin: 0; color: #3f4243; font: 500 clamp(1rem, 1.35vw, 1.3rem)/1.55 var(--font-heading); }
.agent-review-modal__person { margin-top: 32px; padding-top: 22px; border-top: 1px solid #d8d7d2; }
.agent-review-modal__person strong, .agent-review-modal__person span { display: block; }
.agent-review-modal__person span { margin-top: 5px; color: #747775; font-size: .72rem; }
.resource-carousel > button { width: 39px; height: 39px; border: 1px solid #d7cec5; border-radius: 50%; background: transparent; color: var(--color-line); }
.agent-application { padding: 42px clamp(28px, 8vw, 126px); display: grid; grid-template-columns: minmax(250px, .7fr) minmax(520px, 1.3fr); gap: clamp(42px, 7vw, 105px); background: #f2ece5; }
.agent-application__intro h2 { margin-top: 12px; font-size: clamp(3rem, 4.4vw, 4.8rem); line-height: .92; }
.agent-application__intro > p:nth-of-type(2) { max-width: 360px; margin-top: 24px; color: #5f5955; font-size: .82rem; line-height: 1.7; }
.agent-application__intro ul { margin-top: 28px; display: grid; gap: 13px; }
.agent-application__intro li { position: relative; padding-left: 30px; font-size: .62rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.agent-application__intro li::before { width: 18px; height: 18px; position: absolute; left: 0; top: -2px; display: grid; border-radius: 50%; background: #aea293; color: #fff; content: "✓"; font-size: .62rem; place-items: center; }
.agent-application__form { padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; background: rgba(255,255,255,.62); }
.form-field { min-width: 0; display: flex; flex-direction: column; }
.form-field--honeypot[hidden] { display: none !important; }
.form-field label { margin-bottom: 7px; font-size: .66rem; font-weight: 700; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 45px; padding: 11px 12px; border: 1px solid #d9d1c9; border-radius: 2px; background: rgba(255,255,255,.8); color: var(--color-text); font: .75rem var(--font-body); }
.form-field textarea { min-height: 102px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--color-line); outline: 2px solid rgba(117,104,95,.12); }
.form-field [aria-invalid="true"] { border-color: #985d58; }
.form-error { min-height: 16px; margin-top: 4px; color: #985d58; font-size: .6rem; }
.agent-application__submit { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; }
.agent-application__submit .button { gap: 18px; background: var(--color-black); border-color: var(--color-black); }
.agent-application__submit p { color: #5f5955; font-size: .7rem; }
.agent-resources { padding: 38px clamp(38px, 8vw, 126px) 44px; background: #f5f4f1; }
.agent-resources__heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; }
.agent-resources h2 { margin-top: 7px; font-size: clamp(2.2rem, 3.4vw, 3.7rem); }
.agent-resources__heading > a { margin-bottom: 8px; font-size: .65rem; font-weight: 700; text-transform: uppercase; }
.resource-carousel { margin-top: 20px; display: grid; grid-template-columns: 42px minmax(0, 1fr) 42px; align-items: center; gap: 18px; }
.resource-carousel__viewport { overflow: hidden; }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; transition: transform var(--motion-base) var(--ease-standard); }
.resource-card a { display: block; }
.resource-card img { width: 100%; aspect-ratio: 16/8.5; object-fit: cover; transition: transform var(--motion-base) var(--ease-standard); }
.resource-card a:hover img { transform: scale(1.018); }
.resource-card span, .resource-card time { display: block; color: #8c7e73; font-size: .56rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.resource-card span { margin-top: 14px; }
.resource-card h3 { margin: 7px 0; font: 500 1.15rem/1.2 var(--font-heading); }
.agents-final-cta { min-height: 270px; margin-bottom: 16px; position: relative; isolation: isolate; display: grid; background: #242220 url("/static/site/images/agents-feature.jpg") center/cover; color: #fff; place-items: center; text-align: center; }
.agents-final-cta::before { position: absolute; inset: 0; z-index: 0; background: rgba(18,19,19,.58); content: ""; }
.agents-final-cta > div { position: relative; z-index: 1; }
.agents-final-cta h2 { margin-top: 12px; font-size: clamp(2.5rem, 4vw, 4.5rem); }
.agents-final-cta .button { margin-top: 25px; gap: 18px; }
@media (max-width: 980px) {
    .agents-hero { height: auto; min-height: 0; grid-template-columns: 1fr; }.agents-hero__copy { min-height: 500px; padding-top: 55px; }.agents-hero__visual { min-height: 480px; }
    .agent-testimonial { grid-template-columns: 1fr; }.agent-testimonial__visual { max-width: 720px; width: calc(100% - 30px); }
    .agent-application { grid-template-columns: 1fr; }.agent-application__intro { max-width: 600px; }
    .resource-grid { grid-template-columns: repeat(3, minmax(280px, 1fr)); }.resource-carousel__viewport { overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }.resource-card { scroll-snap-align: start; }
    .agent-review-card { width: calc((100% - 22px) / 2); flex-basis: calc((100% - 22px) / 2); }
}

@media (max-width: 1180px) {
    .agents-page .mobile-nav {
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px) scale(.985);
        transform-origin: top right;
        visibility: hidden;
        transition: opacity 180ms ease, transform 220ms ease, visibility 0s linear 220ms;
    }

    .agents-page .mobile-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1);
        visibility: visible;
        transition-delay: 0s;
    }

    .agents-page .mobile-menu-button span {
        transform-origin: center;
        transition: opacity 160ms ease, transform 220ms ease;
    }

    .agents-page .mobile-menu-button[aria-expanded="true"] span:first-child {
        transform: translateY(7px) rotate(45deg);
    }

    .agents-page .mobile-menu-button[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .agents-page .mobile-menu-button[aria-expanded="true"] span:last-child {
        transform: translateY(-7px) rotate(-45deg);
    }
}
@media (max-width: 680px) {
    .agents-hero__copy { min-height: 510px; padding: 42px 24px 32px; }.agents-hero h1 { font-size: clamp(3.1rem, 15vw, 4.4rem); }.agents-values { grid-template-columns: 1fr; margin-top: 28px; }.agents-hero__visual { min-height: 400px; }
    .agent-testimonial { padding: 34px 24px; gap: 32px; }.agent-testimonial__visual { height: 310px; }
    .agent-application { padding: 36px 24px; gap: 30px; }.agent-application__form { padding: 18px; grid-template-columns: 1fr; }.agent-application__submit { align-items: flex-start; flex-direction: column; }
    .agent-resources { padding: 36px 18px; }.agent-resources__heading { align-items: flex-start; flex-direction: column; }.resource-carousel { grid-template-columns: 1fr; }.resource-carousel > button { display: none; }.resource-grid { grid-template-columns: repeat(3, 82vw); gap: 16px; }
    .agents-final-cta { min-height: 250px; padding: 30px 22px; }
}
@media (prefers-reduced-motion: reduce) {
    .resource-grid,
    .resource-card img,
    .agents-page .mobile-nav,
    .agents-page .mobile-menu-button span { transition: none; }
}

.agents-page--editor-preview [data-editor-region] { position: relative; cursor: pointer; outline: 1px solid transparent; outline-offset: -4px; transition: outline-color .16s ease, box-shadow .16s ease; }
.agents-page--editor-preview [data-editor-region]::before { padding: 6px 9px; position: absolute; top: 10px; right: 10px; z-index: 30; border-radius: 999px; color: #fff; background: rgba(30,32,33,.86); content: attr(data-editor-label); font: 600 .62rem/1 "Manrope", sans-serif; opacity: 0; pointer-events: none; transform: translateY(-3px); transition: opacity .16s ease, transform .16s ease; }
.agents-page--editor-preview [data-editor-region]:hover, .agents-page--editor-preview [data-editor-region]:focus-visible, .agents-page--editor-preview [data-editor-region].is-selected { outline-color: rgba(91,95,94,.95); box-shadow: inset 0 0 0 3px rgba(91,95,94,.13); }
.agents-page--editor-preview [data-editor-region]:hover::before, .agents-page--editor-preview [data-editor-region]:focus-visible::before, .agents-page--editor-preview [data-editor-region].is-selected::before { opacity: 1; transform: translateY(0); }
.agents-page--editor-preview .site-header, .agents-page--editor-preview .site-footer, .agents-page--editor-preview .agent-application__form, .agents-page--editor-preview .agents-mentor-card__actions { pointer-events: none; }

.agents-page .agent-testimonial__visual img {
    object-fit: var(--agents-image-fit, cover);
    object-position: var(--agents-image-position, center);
    transform: scale(var(--agents-image-zoom, 1));
    transform-origin: var(--agents-image-position, center);
}

.agent-testimonial__visual { overflow: hidden; }

.agents-page .agents-final-cta {
    overflow: hidden;
    background: var(--agents-charcoal);
    --agents-cta-image: url("/static/site/images/agents-feature.jpg");
    --agents-cta-position: center;
    --agents-cta-fit: cover;
    --agents-cta-zoom: 1;
}

.agents-page .agents-final-cta::after {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: var(--agents-cta-image);
    background-position: var(--agents-cta-position);
    background-repeat: no-repeat;
    background-size: var(--agents-cta-fit);
    content: "";
    transform: scale(var(--agents-cta-zoom));
    transform-origin: var(--agents-cta-position);
}

.agents-page .agents-final-cta::before { z-index: 1; }
.agents-page .agents-final-cta > div { z-index: 2; }

/* Cooler editorial palette for the agent experience. */
.agents-page {
    --agents-paper: #f1f0ed;
    --agents-greige: #deddd8;
    --agents-mid: #aaa9a3;
    --agents-muted: #626466;
    --agents-charcoal: #292b2c;
    background: var(--agents-paper);
}
.agents-page .site-header { background: var(--agents-paper); }
.agents-page .site-header .button--light,
.agents-page .agents-hero .button,
.agents-page .agent-application__submit .button { border-color: var(--agents-charcoal); background: var(--agents-charcoal); }
.agents-page .eyebrow { color: #777873; }
.agents-page .section-rule { background: var(--agents-mid); }
.agents-page .agents-hero { background: #e9e8e4; }
.agents-page .agents-hero__description,
.agents-page .agent-application__intro > p:nth-of-type(2),
.agents-page .agent-application__submit p { color: var(--agents-muted); }
.agents-page .agents-values li::before { border-color: #858681; }
.agents-page .agents-hero__visual { background: var(--agents-charcoal); }
.agents-page .agents-hero__visual::after { background: linear-gradient(90deg, rgba(42,44,45,.03) 45%, rgba(30,32,33,.58)); }
.agents-page .agents-hero__visual img,
.agents-page .agent-testimonial__visual img,
.agents-page .resource-card img { filter: saturate(.58) contrast(1.08); }
.agents-page .agent-testimonial { background: #f5f4f1; }
.agents-page .agent-testimonial blockquote { color: #505354; }
.agents-page .agent-application__intro li::before { background: #858782; }
.agents-page .agent-testimonial__person span,
.agents-page .resource-card span,
.agents-page .resource-card time { color: #747775; }
.agents-page .agent-testimonial__stars { color: #777974 !important; }
.agents-page .resource-carousel > button { border-color: #c9c9c5; color: var(--agents-charcoal); }
.agents-page .agent-application { background: #dcdbd6; }
.agents-page .agent-application__form { background: rgba(246,246,243,.82); }
.agents-page .form-field input,
.agents-page .form-field select,
.agents-page .form-field textarea { border-color: #c7c7c2; background: rgba(255,255,255,.76); }
.agents-page .form-field input:focus,
.agents-page .form-field select:focus,
.agents-page .form-field textarea:focus { border-color: #696b6b; outline-color: rgba(80,83,84,.12); }
.agents-page .agents-final-cta { background-color: var(--agents-charcoal); background-blend-mode: normal; }
.agents-page .agents-final-cta::before { background: rgba(18,19,19,.58); }
.agents-page .site-footer { background: #242728; }

/* Editorial mentorship-card Hero. */
.agents-page .agents-hero {
    height: auto;
    min-height: 0;
    padding: 34px clamp(24px, 4vw, 66px) 42px;
    display: block;
    background: var(--agents-paper);
}
.agents-hero__intro {
    max-width: 900px;
    margin: 0 auto 30px;
    text-align: center;
}
.agents-hero__intro .eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}
.agents-hero__intro .eyebrow span { width: 40px; height: 1px; background: #898a86; }
.agents-page .agents-hero__intro h1 {
    margin-top: 13px;
    font: 500 clamp(3.5rem, 5.5vw, 6.2rem)/.9 var(--font-heading);
    letter-spacing: -.06em;
}
.agents-hero__intro h1 em { font-weight: 500; }
.agents-hero__intro > p:last-child {
    max-width: 780px;
    margin: 17px auto 0;
    color: var(--agents-muted);
    font-size: clamp(.88rem, 1.15vw, 1.04rem);
    line-height: 1.75;
}
.agents-hero__cards {
    width: min(100%, 1440px);
    height: 500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(380px, .92fr) minmax(520px, 1.08fr);
    gap: 24px;
}
.agents-mentor-card {
    min-height: 0;
    height: 500px;
    padding: clamp(34px, 3.5vw, 52px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid #d3d2cd;
    border-radius: 20px;
    background: rgba(246,245,242,.78);
}
.agents-mentor-card h2 {
    margin-top: 14px;
    font: 500 clamp(2.55rem, 3.4vw, 4rem)/.98 var(--font-heading);
    letter-spacing: -.05em;
}
.agents-mentor-card h2 em { font-weight: 500; }
.agents-mentor-card > p:not(.eyebrow) {
    max-width: 620px;
    margin-top: 20px;
    color: #56595a;
    font-size: .84rem;
    line-height: 1.7;
}
.agents-mentor-card ul { margin-top: 18px; display: grid; grid-template-columns: 1fr; gap: 8px; }
.agents-mentor-card li { display: flex; align-items: center; gap: 11px; color: #5d6060; font-size: .76rem; }
.agents-mentor-card li > span { width: 31px; height: 31px; flex: 0 0 31px; display: grid; border-radius: 50%; background: #dcdbd6; color: var(--agents-charcoal); font-size: .92rem; place-items: center; }
.agents-mentor-card__actions { margin-top: 21px; display: flex; align-items: center; gap: 30px; }
.agents-mentor-card__actions .button { gap: 18px; border-color: var(--agents-charcoal); background: var(--agents-charcoal); }
.agents-mentor-card__link { padding: 9px 0 7px; border-bottom: 1px solid #696b6b; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.agents-page .agents-hero__visual {
    min-height: 0;
    height: 500px;
    margin: 0;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: var(--agents-charcoal);
}
.agents-page .agents-hero__visual::after { background: linear-gradient(90deg, transparent 58%, rgba(30,32,33,.28)); }
.agents-page .agents-hero__visual img {
    width: 100%;
    height: 100%;
    object-fit: var(--agents-image-fit, cover);
    object-position: var(--agents-image-position, center);
    transform: scale(var(--agents-image-zoom, 1));
    transform-origin: var(--agents-image-position, center);
}
@media (max-width: 980px) {
    .agents-page .agents-hero { padding-top: 30px; }
    .agents-hero__cards { height: auto; grid-template-columns: 1fr; }
    .agents-mentor-card { height: auto; min-height: 390px; }
    .agents-page .agents-hero__visual { order: -1; height: auto; min-height: 390px; }
    .agents-mentor-card ul { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .agents-page .agents-hero { padding: 28px 16px 32px; }
    .agents-hero__intro { margin-bottom: 24px; }
    .agents-page .agents-hero__intro h1 { font-size: clamp(3rem, 14vw, 4.35rem); }
    .agents-hero__intro > p:last-child { font-size: .82rem; }
    .agents-mentor-card { min-height: 0; padding: 30px 22px; border-radius: 14px; }
    .agents-mentor-card h2 { font-size: clamp(2.35rem, 11vw, 3.25rem); }
    .agents-mentor-card__actions { align-items: flex-start; flex-direction: column; gap: 16px; }
    .agents-page .agents-hero__visual { min-height: 330px; border-radius: 14px; }
}

/* Streamlined, single-column agent application. */
.agents-page .agent-application__form {
    padding: 30px clamp(24px, 3vw, 42px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    background: rgba(246,246,243,.58);
    order: 1;
}
.agents-page .agent-application__intro { order: 2; }
.agents-page .agent-application__intro .eyebrow { font-weight: 700; }
.agents-page .agent-application__intro h2 { font-weight: 600; }
.agents-page .agent-application__intro > p:nth-of-type(2) { font-size: .86rem; font-weight: 500; }
.agents-page .agent-application__intro li { font-weight: 700; }
.agents-page .form-field label { margin-bottom: 3px; color: #46494a; font-size: .7rem; font-weight: 700; }
.agents-page .form-field input,
.agents-page .form-field select,
.agents-page .form-field textarea {
    min-height: 42px;
    padding: 8px 2px;
    border: 0;
    border-bottom: 1px solid #999b98;
    border-radius: 0;
    outline: 0;
    background: transparent;
    font-size: .8rem;
    font-weight: 500;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}
.agents-page .form-field textarea { min-height: 92px; padding-top: 10px; }
.agents-page .form-field input:focus,
.agents-page .form-field select:focus,
.agents-page .form-field textarea:focus {
    border-color: var(--agents-charcoal);
    outline: 0;
    box-shadow: 0 1px 0 var(--agents-charcoal);
}
.agents-page .form-field [aria-invalid="true"] { border-color: #985d58; box-shadow: 0 1px 0 #985d58; }
.agents-page .agent-application__submit { grid-column: auto; margin-top: 3px; }
.agents-page .agent-application__submit .button { font-weight: 700; }
.agents-page .agent-application__submit p,
.agents-page .form-error { font-weight: 600; }
@media (max-width: 980px) {
    .agents-page .agent-application__intro { order: 1; }
    .agents-page .agent-application__form { order: 2; }
}

/* Two-column editorial application layout. */
.agents-page .agent-application {
    padding: 56px clamp(28px, 4.5vw, 76px);
    grid-template-columns: minmax(410px, .92fr) minmax(520px, 1.08fr);
    align-items: start;
    gap: clamp(28px, 2.7vw, 42px);
    background: #efefec;
}
.agents-page .agent-application__intro { grid-column: 1; grid-row: 1; order: 1; padding: 10px 18px 12px 0; }
.agents-page .agent-application__form {
    grid-column: 2;
    grid-row: 1;
    order: 2;
    width: min(100%, 680px);
    padding: 28px clamp(24px, 2.5vw, 34px);
    justify-self: start;
    gap: 20px;
    border: 0;
    border-radius: 10px;
    background: rgba(250, 250, 247, .58);
}
.agents-page .agent-application__intro h2 {
    margin-top: 0;
    font-size: clamp(3rem, 4vw, 4.8rem);
    font-style: italic;
    font-weight: 600;
    line-height: 1.05;
}
.agents-page .agent-application__intro h2 { white-space: normal; }
.application-title__compact-break { display: none; }
.agents-page .agent-application__intro > p:nth-of-type(2) {
    max-width: 350px;
    margin-top: 22px;
    color: #626565;
    font-size: 1.06rem;
    font-weight: 500;
    line-height: 1.65;
}
.agent-application__rule {
    width: 100%;
    height: 1px;
    margin: 30px 0;
    display: block;
    background: #d2d2ce;
}
.agents-page .agent-application__intro ul { margin-top: 0; padding-block: 6px 12px; display: grid; gap: 18px; }
.agents-page .agent-application__intro li { padding-left: 0; display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: center; gap: 14px; color: #454849; font-size: clamp(1rem, 1.2vw, 1.15rem); font-weight: 700; letter-spacing: .01em; line-height: 1.4; text-transform: none; }
.agents-page .agent-application__intro li::before { display: none; content: none; }
.agent-application__benefit-icon { width: 44px; height: 44px; display: grid; border: 1px solid rgba(80,83,84,.2); border-radius: 50%; color: #555958; background: rgba(250,250,247,.68); place-items: center; }
.agents-page .agent-application .eyebrow { font-size: .8rem; }
.agents-page .agent-application__form .form-field { gap: 5px; }
.agents-page .agent-application__form .form-field label { color: #505353; font-size: .72rem; letter-spacing: .025em; }
.agents-page .agent-application__form .form-field input,
.agents-page .agent-application__form .form-field select { min-height: 40px; padding: 7px 2px 10px; border-color: rgba(80,83,84,.42); }
.agents-page .agent-application__form .form-field textarea { min-height: 88px; padding: 10px 2px; border: 0; border-bottom: 1px solid rgba(80,83,84,.42); border-radius: 0; }
.agents-page .agent-application__form .form-error:empty { display: none; }
.agents-page .agent-application__submit { margin-top: 5px; display: grid; gap: 9px; }
.agents-page .agent-application__submit .button { width: min(100%, 310px); }
@media (max-width: 1100px) {
    .agents-page .agent-application { grid-template-columns: minmax(330px, .85fr) minmax(430px, 1.15fr); align-items: start; }
    .agents-page .agent-application__form { grid-column: 2; grid-row: 1; }
    .agents-page .agent-application__intro { grid-column: 1; }
}
@media (min-width: 901px) and (max-width: 1100px) {
    .application-title__compact-break { display: block; }
}
@media (max-width: 900px) {
    .agents-page .agent-application { padding: 40px 20px; grid-template-columns: 1fr; }
    .agents-page .agent-application__intro,
    .agents-page .agent-application__form { grid-column: 1; grid-row: auto; }
    .agents-page .agent-application__intro { order: 1; }
    .agents-page .agent-application__form { order: 2; }
    .agents-page .agent-application__intro h2 { white-space: normal; }
    .agents-page .agent-application__intro { padding-right: 0; }
    .agents-page .agent-application__form { padding: 24px 20px; }
    .agents-page .agent-application__submit .button { width: 100%; }
}
@media (max-width: 680px) {
    .agent-reviews { padding: 30px 20px 34px; }
    .agent-reviews__heading { align-items: start; flex-direction: column; }
    .agent-reviews__carousel { grid-template-columns: 34px minmax(0, 1fr) 34px; gap: 8px; }
    .agent-reviews__carousel > button { width: 34px; height: 34px; }
    .agent-review-card { width: 100%; flex-basis: 100%; }
    .agent-review-modal__media { height: 240px; min-height: 0; }
    .agent-review-modal__content { max-height: none; padding: 46px 28px 34px; overflow: visible; }
}
