:root {
    --am-paper: #fcfbf9;
    --am-white: #ffffff;
    --am-ink: #241f27;
    --am-muted: #716a75;
    --am-purple: #51306c;
    --am-purple-deep: #3d2057;
    --am-lilac: #9271aa;
    --am-mist: #f4f0f6;
    --am-line: #e5dfe8;
    --am-warm-line: #e9e4de;
    --am-font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
    --am-font-body: Aptos, "Segoe UI", Arial, sans-serif;
    --am-shell: 1180px;
    --am-reading: 760px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--am-ink);
    background: var(--am-paper);
    font-family: var(--am-font-body);
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: var(--am-purple); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--am-purple-deep); }
button, input, textarea, select { font: inherit; }

.screen-reader-text,
.am-skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.am-skip-link:focus {
    width: auto;
    height: auto;
    clip: auto;
    margin: 10px;
    padding: 10px 14px;
    background: #fff;
    z-index: 99999;
}
.am-shell { width: min(var(--am-shell), calc(100% - 40px)); margin-inline: auto; }

.am-topbar {
    border-bottom: 1px solid var(--am-line);
    background: #f5f1f7;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.am-topbar__inner { min-height: 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.am-topbar a { color: var(--am-ink); text-decoration: none; }

.am-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(252, 251, 249, .96);
    border-bottom: 1px solid var(--am-warm-line);
    backdrop-filter: blur(10px);
}
.admin-bar .am-header { top: 32px; }
.am-header__inner { min-height: 78px; display: grid; grid-template-columns: 210px minmax(0, 1fr) auto; gap: 18px; align-items: center; }
.am-logo-wrap { min-width: 0; }
.am-brand, .custom-logo-link { display: inline-flex; align-items: center; text-decoration: none; }
.am-brand img, .custom-logo { display: block; width: auto; max-width: 210px; max-height: 60px; object-fit: contain; }
.am-nav { min-width: 0; justify-self: end; }
.am-nav__list { display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-end; gap: 18px; margin: 0; padding: 0; list-style: none; }
.am-nav__list > li { flex: 0 0 auto; }
.am-nav__list a { position: relative; white-space: nowrap; color: var(--am-ink); text-decoration: none; font-size: 14px; font-weight: 650; line-height: 1.3; }
.am-nav__list a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--am-purple); transition: right .2s ease; }
.am-nav__list a:hover::after, .am-nav__list .current-menu-item > a::after { right: 0; }
.am-header-cta, .am-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 18px;
    border: 1px solid var(--am-purple);
    border-radius: 3px;
    background: var(--am-purple);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .18s ease, background .18s ease;
}
.am-header-cta:hover, .am-button:hover { color: #fff; background: var(--am-purple-deep); transform: translateY(-1px); }
.am-button--full { width: 100%; }
.am-menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--am-line); background: transparent; padding: 10px; }
.am-menu-toggle span:not(.screen-reader-text) { display: block; height: 1px; background: var(--am-ink); margin: 5px 0; }

.am-hero { border-bottom: 1px solid var(--am-warm-line); background: var(--am-paper); }
.am-hero__grid { min-height: 610px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: 90px; align-items: center; padding-block: 78px; }
.am-kicker, .am-eyebrow { display: inline-block; color: var(--am-purple); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.am-hero h1,
.am-section-heading h2,
.am-editorial-cta h2,
.am-archive-header h1,
.am-article__header h1,
.am-prose h2,
.am-prose h3,
.am-pillar-box h2,
.am-related-section h2 {
    font-family: var(--am-font-display);
    font-weight: 500;
    letter-spacing: -.025em;
    color: var(--am-ink);
}
.am-hero h1 { max-width: 740px; margin: 15px 0 22px; font-size: clamp(56px, 7vw, 92px); line-height: .98; }
.am-hero__copy > p { max-width: 700px; margin: 0; color: #514a54; font-size: clamp(18px, 2vw, 21px); line-height: 1.75; }
.am-hero__actions { display: flex; align-items: center; gap: 24px; margin-top: 34px; }
.am-text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--am-ink); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--am-lilac); }
.am-text-link span { color: var(--am-purple); }
.am-hero__index { align-self: stretch; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--am-line); padding-left: 38px; }
.am-hero__index-title { margin-bottom: 18px; color: var(--am-muted); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.am-hero__index ol { list-style: none; margin: 0; padding: 0; }
.am-hero__index li { display: grid; grid-template-columns: 44px 1fr; gap: 15px; align-items: baseline; padding: 15px 0; border-top: 1px solid var(--am-line); }
.am-hero__index li:last-child { border-bottom: 1px solid var(--am-line); }
.am-hero__index li > span { color: var(--am-lilac); font-size: 11px; font-weight: 800; }
.am-hero__index a { color: var(--am-ink); font-family: var(--am-font-display); font-size: 21px; text-decoration: none; }

.am-section { padding-block: 92px; }
.am-section--soft { background: var(--am-mist); border-block: 1px solid var(--am-line); }
.am-section-heading { max-width: 760px; margin-bottom: 42px; }
.am-section-heading--split { max-width: none; display: grid; grid-template-columns: 1.1fr .9fr; gap: 90px; align-items: end; }
.am-section-heading h2, .am-editorial-cta h2 { margin: 10px 0 0; font-size: clamp(38px, 4vw, 56px); line-height: 1.08; }
.am-section-heading p { margin: 0; color: var(--am-muted); }

.am-service-list { border-top: 1px solid var(--am-ink); }
.am-service-row { display: grid; grid-template-columns: 70px minmax(0, 1fr) 44px; gap: 24px; align-items: center; min-height: 142px; padding: 26px 0; border-bottom: 1px solid var(--am-line); }
.am-service-row__number { align-self: start; padding-top: 6px; color: var(--am-lilac); font-size: 12px; font-weight: 800; }
.am-service-row h3 { margin: 0 0 6px; font-family: var(--am-font-display); font-size: clamp(28px, 3vw, 39px); font-weight: 500; }
.am-service-row h3 a { color: var(--am-ink); text-decoration: none; }
.am-service-row p { max-width: 700px; margin: 0; color: var(--am-muted); }
.am-service-row__arrow { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--am-line); border-radius: 50%; color: var(--am-purple); text-decoration: none; }
.am-service-row:hover .am-service-row__arrow { border-color: var(--am-purple); }

.am-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.am-post-grid--archive { margin-top: 44px; }
.am-post-card { min-width: 0; }
.am-post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #ede8ef; text-decoration: none; }
.am-post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.am-post-card:hover .am-post-card__media img { transform: scale(1.025); }
.am-post-card__placeholder { display: grid; place-items: center; height: 100%; color: var(--am-lilac); font-family: Georgia, serif; font-size: 48px; }
.am-post-card__body { padding-top: 18px; }
.am-post-card__cat { color: var(--am-purple); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.am-post-card h3 { margin: 8px 0 10px; font-family: var(--am-font-display); font-size: 25px; line-height: 1.2; font-weight: 500; }
.am-post-card h3 a { color: var(--am-ink); text-decoration: none; }
.am-post-card p { margin: 0 0 14px; color: var(--am-muted); font-size: 15px; }


.am-practitioner { background: #fff; border-block: 1px solid var(--am-warm-line); overflow: hidden; }
.am-practitioner__grid { display: grid; grid-template-columns: minmax(280px, 420px) minmax(0, 650px); gap: clamp(48px, 7vw, 96px); align-items: center; }
.am-practitioner__portrait { position: relative; align-self: end; min-height: 390px; display: flex; align-items: flex-end; justify-content: center; }
.am-practitioner__portrait::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; left: 8%; bottom: 3%; border-radius: 50%; background: var(--am-mist); }
.am-practitioner__portrait img { position: relative; z-index: 1; display: block; width: min(100%, 410px); height: auto; object-fit: contain; }
.am-practitioner__copy { padding-block: 24px; }
.am-practitioner__copy h2 { margin: 8px 0 12px; font-family: var(--am-font-display); font-size: clamp(36px, 4vw, 52px); line-height: 1.08; font-weight: 500; letter-spacing: -.025em; }
.am-practitioner__copy p { margin: 0 0 16px; color: var(--am-muted); font-size: 17px; }

.am-editorial-cta { background: var(--am-white); }
.am-editorial-cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; padding-top: 22px; border-top: 1px solid var(--am-ink); }
.am-editorial-cta p { color: var(--am-muted); }

.am-main { padding: 34px 0 90px; }
.am-breadcrumbs, .rank-math-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 34px; color: var(--am-muted); font-size: 12px; }
.am-breadcrumbs a, .rank-math-breadcrumb a { color: var(--am-muted); text-decoration: none; }
.am-content-layout { display: grid; grid-template-columns: minmax(0, 790px) minmax(260px, 310px); gap: 80px; align-items: start; }
.am-article { min-width: 0; }
.am-article__header { margin-bottom: 34px; }
.am-article__header h1, .am-archive-header h1 { margin: 8px 0 14px; font-size: clamp(42px, 5.6vw, 68px); line-height: 1.04; }
.am-article__meta { color: var(--am-muted); font-size: 13px; }
.am-featured-image { margin: 0 0 40px; }
.am-featured-image img { display: block; width: 100%; border-radius: 2px; }

.am-prose { font-size: 18px; line-height: 1.82; color: #332e35; }
.am-prose > * { max-width: var(--am-reading); }
.am-prose > .alignwide { max-width: 1100px; }
.am-prose > .alignfull { max-width: none; }
.am-prose p { margin: 0 0 1.45em; }
.am-prose h2 { scroll-margin-top: 125px; margin: 2.15em 0 .7em; font-size: clamp(31px, 4vw, 42px); line-height: 1.15; }
.am-prose h3 { scroll-margin-top: 125px; margin: 1.8em 0 .55em; font-size: 26px; line-height: 1.2; }
.am-prose h4 { margin-top: 1.7em; font-size: 19px; }
.am-prose ul, .am-prose ol { padding-left: 1.35em; margin-bottom: 1.5em; }
.am-prose li + li { margin-top: .4em; }
.am-prose blockquote { margin: 2em 0; padding: 8px 0 8px 28px; border-left: 2px solid var(--am-purple); color: #514a54; font-family: var(--am-font-display); font-size: 24px; line-height: 1.5; }
.am-prose table { width: 100%; border-collapse: collapse; margin: 2em 0; font-size: 15px; }
.am-prose th, .am-prose td { padding: 12px 14px; border: 1px solid var(--am-line); text-align: left; vertical-align: top; }
.am-prose th { background: var(--am-mist); }
.am-prose img { border-radius: 2px; }

.am-toc { max-width: var(--am-reading); margin: 34px 0 44px; padding: 22px 24px; border: 1px solid var(--am-line); border-left: 3px solid var(--am-purple); background: #fff; }
.am-toc__title { margin-bottom: 10px; color: var(--am-ink); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.am-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 36px; }
.am-toc li { break-inside: avoid; margin: 6px 0; color: var(--am-lilac); }
.am-toc__level-3 { margin-left: 14px !important; font-size: 14px; }
.am-toc a { color: #4b454d; text-decoration: none; }
.am-toc a:hover { color: var(--am-purple); text-decoration: underline; }

.am-sidebar { position: sticky; top: 130px; display: grid; gap: 26px; }
.am-sidebar__block { padding-top: 18px; border-top: 1px solid var(--am-ink); }
.am-sidebar__title { margin-bottom: 10px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.am-sidebar__links, .am-sidebar__recent { margin: 0; padding: 0; list-style: none; }
.am-sidebar__links li, .am-sidebar__recent li { border-bottom: 1px solid var(--am-line); }
.am-sidebar__links a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; color: var(--am-ink); text-decoration: none; font-family: var(--am-font-display); font-size: 17px; }
.am-sidebar__recent a { display: block; padding: 10px 0; color: var(--am-ink); text-decoration: none; font-size: 14px; line-height: 1.45; }
.am-sidebar__cta { padding: 22px; border: 1px solid var(--am-line); background: var(--am-mist); }
.am-sidebar__cta-title { margin: 8px 0 18px; font-family: var(--am-font-display); font-size: 23px; line-height: 1.25; }

.am-pillar-box { margin: 50px 0; padding: 30px; border: 1px solid var(--am-line); background: var(--am-mist); }
.am-pillar-box h2 { margin: 8px 0 8px; font-size: 31px; }
.am-pillar-box p { margin: 0 0 16px; color: var(--am-muted); }
.am-related-section { margin-top: 60px; padding-top: 28px; border-top: 1px solid var(--am-ink); }
.am-related-section header { margin-bottom: 26px; }
.am-related-section h2 { margin: 5px 0 0; font-size: 38px; }
.am-related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.am-compact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 20px 0 22px; }
.am-compact-list a { display: flex; justify-content: space-between; gap: 15px; padding: 13px 0; border-bottom: 1px solid var(--am-line); color: var(--am-ink); text-decoration: none; }

.am-archive-header { max-width: 850px; padding: 32px 0 18px; }
.am-archive-description { max-width: 760px; color: var(--am-muted); font-size: 18px; }
.am-pillar-strip { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 24px; padding: 22px 0; border-block: 1px solid var(--am-line); }
.am-pillar-strip strong { display: block; margin-top: 3px; font-family: var(--am-font-display); font-size: 25px; font-weight: 500; }
.am-pagination { margin-top: 48px; }
.am-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.am-pagination a, .am-pagination span { display: inline-grid; place-items: center; min-width: 42px; min-height: 42px; padding: 8px 12px; border: 1px solid var(--am-line); color: var(--am-ink); text-decoration: none; }
.am-pagination .current { border-color: var(--am-purple); color: var(--am-purple); }
.am-empty-state { max-width: 760px; padding-block: 100px; }
.am-empty-state h1 { margin: 8px 0 14px; font-family: var(--am-font-display); font-size: 58px; line-height: 1.05; font-weight: 500; }

.search-form { display: flex; max-width: 700px; margin: 20px 0 40px; }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--am-line); background: #fff; }
.search-submit { min-height: 48px; padding: 10px 18px; border: 1px solid var(--am-purple); background: var(--am-purple); color: #fff; }

.am-footer { border-top: 1px solid var(--am-warm-line); background: #f7f4f1; padding: 64px 0 24px; }
.am-footer__grid { display: grid; grid-template-columns: 1.6fr .7fr .7fr; gap: 80px; }
.am-footer__brand .am-brand img, .am-footer__brand .custom-logo { max-width: 220px; }
.am-footer__brand p { max-width: 470px; color: var(--am-muted); }
.am-footer h2 { margin: 5px 0 14px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.am-footer__links { margin: 0; padding: 0; list-style: none; }
.am-footer__links li + li { margin-top: 7px; }
.am-footer__links a { color: var(--am-ink); text-decoration: none; font-size: 14px; }
.am-footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 20px; border-top: 1px solid #ded8d2; color: var(--am-muted); font-size: 12px; }

@media (max-width: 1180px) {
    .am-header__inner { grid-template-columns: 190px minmax(0, 1fr); gap: 16px; }
    .am-brand img, .custom-logo { max-width: 190px; max-height: 56px; }
    .am-header-cta { display: none; }
    .am-nav__list { gap: 15px; }
    .am-nav__list a { font-size: 13.5px; }
}

@media (max-width: 1080px) {
    .am-header__inner { grid-template-columns: 180px minmax(0, 1fr); }
    .am-nav__list { gap: 13px; }
    .am-nav__list a { font-size: 13px; }
    .am-hero__grid { gap: 55px; }
    .am-content-layout { gap: 48px; }
}

@media (max-width: 900px) {
    .admin-bar .am-header { top: 46px; }
    .am-topbar__inner a { display: none; }
    .am-header__inner { min-height: 74px; grid-template-columns: 1fr auto; gap: 14px; }
    .am-brand img, .custom-logo { max-width: 205px; max-height: 58px; }
    .am-menu-toggle { display: block; justify-self: end; }
    .am-header-cta { display: none; }
    .am-nav { display: none; grid-column: 1 / -1; width: 100%; justify-self: stretch; padding: 8px 0 18px; }
    .am-nav.is-open { display: block; }
    .am-nav__list { display: block; }
    .am-nav__list li { border-top: 1px solid var(--am-line); }
    .am-nav__list a { display: block; padding: 12px 0; font-size: 15px; }
    .am-nav__list a::after { display: none; }
    .am-hero__grid { min-height: auto; grid-template-columns: 1fr; gap: 48px; padding-block: 64px; }
    .am-hero__index { border-left: 0; border-top: 1px solid var(--am-line); padding: 28px 0 0; }
    .am-section-heading--split, .am-editorial-cta__grid, .am-practitioner__grid { grid-template-columns: 1fr; gap: 24px; }
    .am-practitioner__grid { max-width: 760px; }
    .am-practitioner__portrait { min-height: 0; justify-content: flex-start; }
    .am-practitioner__portrait::before { width: 340px; max-width: 78%; left: 3%; }
    .am-practitioner__portrait img { width: min(440px, 88%); }
    .am-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .am-content-layout { grid-template-columns: 1fr; }
    .am-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .am-sidebar__cta { grid-column: 1 / -1; }
    .am-footer__grid { grid-template-columns: 1fr 1fr; gap: 45px; }
    .am-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .am-shell { width: min(100% - 28px, var(--am-shell)); }
    .am-topbar__inner { min-height: 30px; justify-content: center; text-align: center; font-size: 10px; }
    .am-header { backdrop-filter: none; }
    .am-header__inner { min-height: 68px; }
    .am-brand img, .custom-logo { max-width: 182px; max-height: 52px; }
    .am-hero__grid { padding-block: 48px; }
    .am-hero h1 { font-size: clamp(48px, 15vw, 66px); }
    .am-hero__copy > p { font-size: 17px; }
    .am-hero__actions { align-items: flex-start; flex-direction: column; gap: 16px; }
    .am-section { padding-block: 64px; }
    .am-practitioner__portrait { justify-content: center; margin-inline: -14px; }
    .am-practitioner__portrait::before { width: 74%; left: 13%; }
    .am-practitioner__portrait img { width: min(390px, 100%); }
    .am-practitioner__copy { padding-block: 0; }
    .am-section-heading h2, .am-editorial-cta h2 { font-size: 38px; }
    .am-service-row { grid-template-columns: 42px 1fr; gap: 14px; min-height: 0; }
    .am-service-row__arrow { display: none; }
    .am-service-row h3 { font-size: 30px; }
    .am-post-grid, .am-related-grid, .am-sidebar, .am-compact-list { grid-template-columns: 1fr; }
    .am-main { padding-top: 22px; }
    .am-breadcrumbs { margin-bottom: 22px; }
    .am-article__header h1, .am-archive-header h1 { font-size: clamp(38px, 12vw, 52px); }
    .am-prose { font-size: 17px; line-height: 1.78; }
    .am-prose h2 { font-size: 31px; }
    .am-prose h3 { font-size: 24px; }
    .am-toc ol { columns: 1; }
    .am-footer__grid { grid-template-columns: 1fr; }
    .am-footer__brand { grid-column: auto; }
    .am-footer__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
