/* Our Associates page (client's design). Everything is scoped under #assocPage. */
#assocPage {
    --as-green: #004238;
    --as-deep: #01372f;
    --as-hero: #173f33;
    --as-accent: #D5D52B;
    --as-accent-soft: #DDE48A;
    --as-cream: #F5F3EB;
    --as-sage: #E9EBE0;
    --as-ink: #0c1f1a;
    --as-muted: #5B6760;
    --as-line: #E3E1D6;
    --as-line-2: #D8D6CA;
    background: #fff;
    color: var(--as-ink);
    font-size: 16px;
    line-height: 1.5;
}
#assocPage *, #assocPage *::before, #assocPage *::after { box-sizing: border-box; }
#assocPage section { scroll-margin-top: var(--site-header-h, 76px); }
:where(#assocPage) h1, :where(#assocPage) h2, :where(#assocPage) h3 { margin: 0; color: var(--as-green); font-weight: 500; }
:where(#assocPage) p { margin: 0; }
:where(#assocPage) a { text-decoration: none; }
#assocPage img { display: block; max-width: 100%; }
#assocPage svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.as-wrap { max-width: 1240px; margin: 0 auto; padding: 88px 32px; }
.as-eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--as-green); display: flex; align-items: center; gap: 10px; margin-bottom: 18px !important; }
.as-eyebrow::before { content: ""; width: 7px; height: 7px; background: currentColor; }
.as-h2 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.12; letter-spacing: -0.02em; }
.as-muted { color: var(--as-muted); font-size: 15px; line-height: 1.7; }

/* buttons */
.as-actions { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.as-btn { display: inline-flex; align-items: center; gap: 18px; font-weight: 600; font-size: 14px; padding: 13px 20px; border-radius: 6px; border: 1px solid transparent; cursor: pointer; transition: transform .1s ease-out, background-color .15s, border-color .15s; }
.as-btn:active { transform: scale(.97); }
.as-btn svg { width: 18px !important; height: 18px !important; }
.as-btn-dark { background: var(--as-hero); color: #fff !important; }
.as-btn-dark:hover { background: var(--as-deep); }
.as-btn-accent { background: var(--as-accent-soft); color: var(--as-deep) !important; }
.as-btn-accent:hover { background: var(--as-accent); }
.as-btn-text { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--as-green) !important; }
.as-btn-text:hover { text-decoration: underline; }
.as-btn-text svg { width: 16px; height: 16px; }

/* hero */
.as-hero { background: var(--as-cream); }
.as-hero .as-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding-top: 56px; padding-bottom: 72px; }
.as-hero h1 { font-size: 60.72px; line-height: 1.04; letter-spacing: -0.025em; margin-bottom: 26px; }
.as-lead { font-size: 16px; color: var(--as-muted); line-height: 1.75; max-width: 46ch; margin-bottom: 32px !important; }
.as-hero-media { position: relative; padding-bottom: 34px; }
.as-hero-media > img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 10px; }
.as-note { position: absolute; left: 22px; right: 22px; bottom: 0; display: flex; gap: 14px; align-items: flex-start; background: var(--as-hero); color: #fff; border-radius: 8px; padding: 18px 20px; box-shadow: 0 18px 36px -18px rgba(12, 31, 26, .55); }
.as-note svg { color: var(--as-accent-soft); margin-top: 2px; }
.as-note b { display: block; font-weight: 600; font-size: 15px; }
.as-note small { font-size: 12.5px; color: rgba(255, 255, 255, .75); }

/* partnership */
.as-head-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: end; margin-bottom: 34px; }
.as-head-row > p { justify-self: end; max-width: 40ch; padding-bottom: 6px; }
.as-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.as-card { background: var(--as-cream); border-radius: 8px; padding: 26px 24px 30px; display: flex; flex-direction: column; gap: 10px; }
.as-card-ico { width: 46px; height: 46px; border-radius: 8px; background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--as-green); margin-bottom: 22px; }
.as-card-ico svg { width: 22px; height: 22px; }
.as-card h3 { font-size: 19px; }
.as-card p { color: var(--as-muted); font-size: 14px; line-height: 1.65; }

/* how it works */
.as-how { background: var(--as-hero); color: #fff; }
.as-how .as-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.as-how-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.as-how-cap { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.as-how .as-eyebrow { color: var(--as-accent-soft); }
.as-how h2 { color: #fff !important; font-size: clamp(32px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 18px; }
.as-how-lead { color: rgba(255, 255, 255, .82); font-size: 15.5px; line-height: 1.7; margin-bottom: 26px !important; }
.as-process { display: flex; flex-direction: column; gap: 22px; margin: 0 0 32px; padding: 0; list-style: none; }
.as-process li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; }
.as-process b { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(221, 228, 138, .6); color: var(--as-accent-soft); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; }
.as-process h3 { color: #fff !important; font-size: 17px; margin: 2px 0 4px; }
.as-process p { color: rgba(255, 255, 255, .78); font-size: 14px; line-height: 1.6; }

/* FAQ */
.as-faq .as-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 72px; align-items: start; }
.as-faq h2 { font-size: clamp(34px, 3.6vw, 46px); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 18px; }
.as-faq-list { border-top: 1px solid var(--as-line-2); }
.as-faq-list details { border-bottom: 1px solid var(--as-line-2); padding: 22px 0; }
.as-faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; font-weight: 500; font-size: 16px; color: var(--as-green); }
.as-faq-list summary::-webkit-details-marker { display: none; }
.as-faq-list summary::after { content: "+"; font-size: 22px; font-weight: 300; line-height: 1; color: var(--as-green); flex: none; }
.as-faq-list details[open] summary::after { content: "−"; }
.as-faq-list summary:focus-visible { outline: 2px solid var(--as-accent); outline-offset: 4px; }
.as-faq-list p { color: var(--as-muted); font-size: 14.5px; line-height: 1.7; margin-top: 12px !important; max-width: 70ch; }
.as-faq-list p a { color: var(--as-green); text-decoration: underline; }

/* become an associate */
.as-join { background: var(--as-sage); }
.as-join-card { background: #fff; border-radius: 12px; padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; box-shadow: 0 24px 50px -36px rgba(12, 31, 26, .45); }
.as-join-card h2 { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 18px; }
.as-join-card .as-muted { margin-bottom: 28px !important; max-width: 46ch; }
.as-join-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; }
.as-form { margin: 0; }
.as-step.d-none { display: none !important; }
.as-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.as-row[hidden] { display: none; }
.as-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.as-field label { font-size: 13px; font-weight: 600; color: var(--as-ink); margin: 0; }
.as-field label span { color: #c0392b; }
.as-input { position: relative; }
.as-input svg { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: #8A9189; pointer-events: none; }
#assocPage .as-field input, #assocPage .as-field select, #assocPage .as-field textarea { width: 100%; border: 1px solid var(--as-line-2); border-radius: 6px; background: #fff; padding: 12px 14px; font: inherit; font-size: 14px; color: var(--as-ink); box-shadow: none; height: auto; }
#assocPage .as-input input { padding-right: 40px; }
#assocPage .as-field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6760' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; cursor: pointer; }
#assocPage .as-field textarea { min-height: 110px; resize: vertical; }
#assocPage .as-field input:focus, #assocPage .as-field select:focus, #assocPage .as-field textarea:focus { outline: none; border-color: var(--as-green); box-shadow: 0 0 0 3px rgba(0, 66, 56, .08); }
#assocPage .as-field input::placeholder, #assocPage .as-field textarea::placeholder { color: #9AA39C; }
.as-submit { width: 100%; justify-content: center; margin-top: 6px; }
.as-step-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 6px; }
.as-btn-back { background: #fff; color: var(--as-green) !important; border-color: var(--as-line-2); justify-content: center; }
.as-btn-back:hover { border-color: var(--as-green); }
.as-step-note { font-size: 12px; color: var(--as-muted); margin-bottom: 16px !important; }

/* formats strip */
.as-formats .as-wrap { padding-top: 64px; padding-bottom: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.as-format { border-top: 1px solid var(--as-line-2); padding: 22px 4px 4px; display: flex; flex-direction: column; gap: 6px; color: var(--as-ink); transition: border-color .15s; }
.as-format svg { width: 22px; height: 22px; color: var(--as-green); margin-bottom: 10px; }
.as-format b { font-weight: 600; font-size: 15px; color: var(--as-green); }
.as-format small { font-size: 13px; color: var(--as-muted); }
.as-format:hover { border-top-color: var(--as-green); }

@media (max-width: 991px) {
    .as-wrap { padding: 60px 20px; }
    .as-hero .as-wrap, .as-how .as-wrap, .as-faq .as-wrap, .as-join-card { grid-template-columns: 1fr; gap: 44px; }
    .as-head-row { grid-template-columns: 1fr; gap: 10px; }
    .as-head-row > p { justify-self: start; }
    .as-cards { grid-template-columns: 1fr; }
    .as-join-card { padding: 32px 24px; }
    .as-formats .as-wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
    .as-hero h1 { font-size: 42px; }
    .as-wrap { padding: 48px 16px; }
    .as-row, .as-step-btns { grid-template-columns: 1fr; gap: 0; }
    .as-step-btns { gap: 12px; }
    .as-formats .as-wrap { grid-template-columns: 1fr; }
    .as-note { left: 12px; right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    #assocPage * { transition: none !important; }
}
