:root {
  --ink: #272821;
  --muted: #6e6c62;
  --paper: #f7f3eb;
  --paper-deep: #ebe3d5;
  --white: #fffdf8;
  --ochre: #a96824;
  --ochre-dark: #74471c;
  --olive: #4c5542;
  --line: rgba(39, 40, 33, .16);
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --sans: Avenir Next, Avenir, Montserrat, Helvetica Neue, Arial, sans-serif;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.section-pad { padding-left: max(5vw, calc((100vw - var(--max)) / 2)); padding-right: max(5vw, calc((100vw - var(--max)) / 2)); }

.site-header { min-height: 102px; padding: 15px max(4vw, calc((100vw - 1320px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 32px; background: rgba(247, 243, 235, .94); border-bottom: 1px solid var(--line); position: relative; z-index: 30; }
.brand img { width: 290px; height: 62px; object-fit: contain; object-position: left center; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.3vw, 38px); font-size: .84rem; letter-spacing: .015em; }
.site-nav a { padding: 12px 0; position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 1px; background: var(--ochre); transition: right .25s ease; }
.site-nav a:hover::after, .site-nav a.active::after { right: 0; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; background: transparent; border: 0; }
.menu-toggle > span:not(.sr-only) { display: block; height: 1px; background: var(--ink); margin: 6px 0; }

.eyebrow { margin: 0 0 20px; color: var(--ochre-dark); font-size: .76rem; font-weight: 650; letter-spacing: .17em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; }
h1, h2 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(3.4rem, 6.4vw, 6.7rem); letter-spacing: -.055em; }
h1 em { color: var(--ochre); font-weight: 400; }
h2 { font-size: clamp(2.35rem, 4vw, 4.7rem); letter-spacing: -.04em; }
h3 { font-size: 1.35rem; }
.lead { font-size: clamp(1.15rem, 1.7vw, 1.38rem); line-height: 1.65; }

.hero { min-height: 720px; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 8vw; padding-top: 85px; padding-bottom: 96px; overflow: hidden; }
.hero-copy { max-width: 720px; }
.hero h1 { margin-bottom: 30px; }
.hero-intro { max-width: 650px; color: #4c4c45; font-size: 1.2rem; line-height: 1.75; }
.button-row { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; margin-top: 38px; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: space-between; gap: 25px; padding: 13px 23px; border: 1px solid currentColor; font-size: .85rem; font-weight: 650; letter-spacing: .03em; transition: background .2s, color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--ochre-dark); border-color: var(--ochre-dark); }
.button-primary:hover { background: var(--ink); border-color: var(--ink); }
.button-light { color: var(--paper); }
.button-light:hover { color: var(--ink); background: var(--paper); }
.text-link, .card-link, .pathway-card a, .mini-profile a { width: fit-content; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: .88rem; font-weight: 650; }

.hero-portraits { height: 560px; position: relative; }
.portrait { margin: 0; position: absolute; overflow: hidden; border-radius: 50%; z-index: 2; box-shadow: 0 18px 40px rgba(40, 31, 20, .14); }
.portrait img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.06) saturate(.86); }
.portrait-one { width: 265px; height: 265px; left: 8%; top: 4%; }
.portrait-two { width: 300px; height: 300px; right: 2%; top: 30%; }
.portrait-three { width: 175px; height: 175px; left: 2%; bottom: 3%; }
.orbit { position: absolute; border: 1px solid rgba(116, 71, 28, .3); border-radius: 50%; }
.orbit-a { width: 440px; height: 440px; top: 38px; left: 5%; }
.orbit-b { width: 315px; height: 315px; bottom: -12px; right: -6%; }
.portrait-note { position: absolute; right: 6%; top: 4%; max-width: 180px; color: var(--olive); font-family: var(--serif); font-size: 1.05rem; font-style: italic; line-height: 1.35; }

.trust-bar { padding: 26px max(5vw, calc((100vw - var(--max)) / 2)); display: flex; align-items: center; gap: 45px; color: #f8f3ea; background: var(--olive); }
.trust-bar p { margin: 0; font-family: var(--serif); font-size: 1.08rem; }
.trust-bar ul { flex: 1; display: flex; justify-content: space-between; gap: 24px; margin: 0; padding: 0; list-style: none; font-size: .75rem; letter-spacing: .07em; text-transform: uppercase; }
.trust-bar li::before { content: "○"; margin-right: 10px; color: #d7ae75; }

.intro-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 12vw; padding-top: 145px; padding-bottom: 150px; }
.section-heading h2 { max-width: 560px; }
.reading-copy { max-width: 700px; }
.reading-copy p:not(.lead) { color: var(--muted); }
.reading-copy .text-link { display: inline-block; margin-top: 15px; }

.directory-feature { padding-top: 110px; padding-bottom: 120px; color: var(--paper); background: var(--ink); }
.directory-feature-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 65px; }
.directory-feature .eyebrow { color: #d6a66b; }
.directory-feature h2 { margin: 0; }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mini-profile { min-height: 430px; background: #34362f; border: 1px solid rgba(255,255,255,.1); }
.mini-profile > img { width: 100%; height: 228px; object-fit: cover; object-position: center 25%; filter: saturate(.75) contrast(.95); }
.mini-profile > div { padding: 27px; }
.mini-profile .role { color: #d6a66b; font-size: .7rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.mini-profile h3 { margin: 10px 0 12px; font-family: var(--serif); font-size: 1.65rem; font-weight: 400; }
.mini-profile p { min-height: 76px; color: #cbc9c1; font-size: .89rem; }

.pathways { padding-top: 145px; padding-bottom: 160px; }
.pathway-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 70px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pathway-card { min-height: 370px; padding: 34px 36px 40px 0; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.pathway-card + .pathway-card { padding-left: 36px; }
.pathway-card:last-child { border-right: 0; }
.card-number { color: var(--ochre); font-family: var(--serif); font-size: .9rem; font-style: italic; }
.pathway-card h3 { margin: 60px 0 20px; font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.pathway-card p { color: var(--muted); }
.pathway-card a { margin-top: auto; }

.closing-callout { padding-top: 110px; padding-bottom: 115px; text-align: center; background: var(--paper-deep); }
.closing-callout h2 { margin-bottom: 20px; }
.closing-callout p:not(.eyebrow) { color: var(--muted); }
.closing-callout .button { margin-top: 25px; }

.site-footer { padding: 65px max(5vw, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: 1fr 1.3fr .7fr; gap: 60px; align-items: start; color: #bbb9b0; background: #20221e; font-size: .78rem; }
.site-footer img { width: 230px; height: 52px; object-fit: contain; object-position: left center; filter: grayscale(1) brightness(2.5); opacity: .8; }
.site-footer p { margin: 14px 0 0; }
.footer-note { max-width: 530px; }
.footer-links { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; color: var(--paper); }

/* About SCASA */
.about-hero { padding-top: 42px; padding-bottom: 110px; }
.about-hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: end; gap: 9vw; margin-top: 82px; }
.about-hero h1 { max-width: 780px; margin: 0; font-size: clamp(2.3rem, 4.2vw, 4.25rem); line-height: 1.12; letter-spacing: -.04em; }
.about-hero-grid > .lead { max-width: 560px; margin: 0 0 8px; color: var(--muted); }
.about-story, .about-vision, .about-history, .about-community { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10vw; }
.about-story { padding-top: 112px; padding-bottom: 125px; background: var(--white); }
.about-story-intro h2, .about-vision h2, .about-history h2, .about-community h2 { max-width: 600px; margin: 0; }
.about-story-copy, .about-vision > div:last-child, .about-history > div:last-child, .about-community > div:last-child { max-width: 720px; }
.about-story-copy p:not(.lead), .about-vision > div:last-child p, .about-history > div:last-child p, .about-community > div:last-child p { color: var(--muted); }
.about-vision { padding-top: 120px; padding-bottom: 125px; color: var(--paper); background: var(--olive); }
.about-vision .eyebrow, .about-history .eyebrow, .about-community .eyebrow { color: #e1b781; }
.about-vision > div:last-child p { color: #d2d1c8; }
.about-history { padding-top: 120px; padding-bottom: 125px; background: var(--paper-deep); }
.about-community { padding-top: 120px; padding-bottom: 130px; color: var(--paper); background: var(--ink); }
.about-community > div:last-child p { color: #c7c5bc; }
.about-community .button { margin-top: 18px; }

/* Map-led homepage */
.map-introduction { display: grid; grid-template-columns: .95fr 1.05fr; align-items: start; gap: 8vw; padding-top: 38px; padding-bottom: 36px; }
.map-introduction h1 { max-width: 620px; margin: 0; font-size: clamp(2.45rem, 3.7vw, 4rem); line-height: 1.02; }
.map-intro-detail > p { max-width: 650px; margin: 2px 0 20px; color: var(--muted); font-size: 1rem; line-height: 1.65; }
.intro-standards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; margin: 0; padding: 16px 0 0; list-style: none; border-top: 1px solid var(--line); }
.intro-standards li { color: #4e5048; font-size: .76rem; font-weight: 650; letter-spacing: .025em; }
.intro-standards li::before { content: "○"; margin-right: 9px; color: var(--ochre); }
.map-explorer { color: var(--paper); background: var(--ink); }
.map-toolbar { min-height: 144px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.map-toolbar .eyebrow { margin-bottom: 4px; color: #d6a66b; }
.map-toolbar h2 { margin: 0 0 8px; color: var(--paper); font-family: var(--serif); font-size: clamp(2rem, 3vw, 3.25rem); }
.map-guidance { margin: 0; color: #c9c6bc; font-size: .93rem; }
.map-reset { padding: 8px 0; color: var(--paper); background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.55); cursor: pointer; font-size: .8rem; font-weight: 650; }
.map-reset[hidden] { display: none; }
.practitioner-map { height: 520px; background: #d9d4c8; outline: 0; }
.practitioner-map.map-unavailable { display: grid; place-items: center; padding: 30px; color: var(--ink); text-align: center; }
.map-fallback { margin: 0; padding: 20px 5vw; color: var(--ink); background: var(--paper-deep); }
.map-marker-shell { background: transparent; border: 0; }
.map-cluster-marker, .map-location-marker { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; flex-direction: column; color: var(--white); background: rgba(116,71,28,.94); border: 1px solid rgba(255,255,255,.75); border-radius: 50%; box-shadow: 0 8px 28px rgba(36,29,20,.25); text-align: center; transition: transform .22s ease, background .22s ease; }
.map-marker-shell:hover .map-cluster-marker, .map-marker-shell:focus .map-cluster-marker, .map-marker-shell:hover .map-location-marker, .map-marker-shell:focus .map-location-marker { transform: scale(1.06); background: var(--ink); }
.map-cluster-marker strong { font-family: var(--serif); font-size: 1.75rem; font-weight: 400; line-height: .95; }
.map-cluster-marker small { max-width: 78px; margin-top: 5px; font-size: .61rem; font-weight: 650; line-height: 1.1; }
.map-location-marker { color: var(--ink); background: rgba(247,243,235,.96); border: 1px solid var(--ochre-dark); }
.map-location-marker strong { color: var(--ochre-dark); font-family: var(--serif); font-size: 1.45rem; font-weight: 400; line-height: 1; }
.map-location-marker small { max-width: 62px; margin-top: 4px; font-size: .57rem; font-weight: 650; line-height: 1.05; }
.region-browser { display: grid; grid-template-columns: 240px 1fr; gap: 48px; padding-top: 34px; padding-bottom: 38px; border-top: 1px solid rgba(255,255,255,.12); }
.region-browser-label .eyebrow { margin-bottom: 2px; color: #d6a66b; }
.region-browser-label > p:last-child { margin: 0; color: #8f9188; font-size: .72rem; }
.region-links { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 6px 8px; }
.region-link { padding: 8px 10px; color: #d2d0c7; background: transparent; border: 1px solid transparent; cursor: pointer; font-size: .81rem; }
.region-link span { margin-left: 3px; color: #96988f; font-size: .67rem; }
.region-link:hover { color: var(--white); border-bottom-color: #d6a66b; }
.region-link.active { color: var(--white); background: rgba(169,104,36,.34); border-color: rgba(214,166,107,.7); }
.region-link.active span { color: #d6a66b; }
.map-data-note { margin: 0; padding-top: 0; padding-bottom: 30px; color: #8f9188; font-size: .69rem; }
.home-listing { scroll-margin-top: 18px; padding-top: 52px; padding-bottom: 110px; background: var(--white); border-top: 5px solid var(--ochre); }
.home-listing-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 55px; margin-bottom: 60px; }
.home-listing-head h2 { max-width: 760px; margin-bottom: 18px; }
.home-listing-head p:not(.eyebrow) { max-width: 650px; margin: 0; color: var(--muted); }
.result-actions { display: flex; align-items: flex-end; flex-direction: column; gap: 16px; }
.result-clear { padding: 5px 0; color: var(--ochre-dark); background: transparent; border: 0; border-bottom: 1px solid currentColor; cursor: pointer; font-size: .8rem; font-weight: 650; }
.result-clear[hidden] { display: none; }

.home-practitioner-grid .practitioner-card { animation: card-in .35s ease both; }
@keyframes card-in { from { opacity: .35; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.constellations-brief { display: grid; grid-template-columns: .83fr 1.17fr; gap: 10vw; padding-top: 135px; padding-bottom: 140px; }
.practice-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10vw; padding-top: 120px; padding-bottom: 120px; color: var(--paper); background: var(--olive); }
.practice-section .eyebrow { color: #e1b781; }
.practice-intro h2 { max-width: 570px; }
.practice-intro > p:last-child { max-width: 540px; color: #d2d1c8; }
.practice-principles { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.2); }
.practice-principles li { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 20px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.practice-principles span { color: #e1b781; font-family: var(--serif); font-size: .9rem; font-style: italic; }
.practice-principles strong { font-family: var(--serif); font-size: 1.55rem; font-weight: 400; }
.training-brief { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 10vw; padding-top: 115px; padding-bottom: 120px; background: var(--paper-deep); }
.training-brief h2 { max-width: 720px; margin: 0; }
.training-brief > div:last-child p { color: var(--muted); }
.training-brief .button { margin-top: 18px; }

/* Association-led homepage and geographic directory */
.association-intro { padding-top: 62px; padding-bottom: 72px; }
.association-heading, .association-copy { display: inline-block; vertical-align: top; }
.association-heading { width: 53%; padding-right: 8vw; }
.association-copy { width: 46%; }
.association-heading h1 { max-width: 680px; margin-bottom: 0; font-size: clamp(2rem, 3.2vw, 3.5rem); line-height: 1.12; }
.association-copy .lead { margin-bottom: 15px; color: var(--ink); }
.association-copy p:not(.lead) { color: var(--muted); }
.standards-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 58px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.standards-grid article { min-height: 190px; padding: 25px 24px 28px 0; border-right: 1px solid var(--line); }
.standards-grid article + article { padding-left: 24px; }
.standards-grid article:last-child { border-right: 0; }
.standards-grid span { color: var(--ochre); font-family: var(--serif); font-size: .82rem; font-style: italic; }
.standards-grid h2 { margin: 38px 0 10px; font-family: var(--serif); font-size: 1.5rem; letter-spacing: -.02em; }
.standards-grid p { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.55; }

.geographic-directory { scroll-margin-top: 0; background: var(--ink); }
.directory-map-head { display: grid; grid-template-columns: 1fr .75fr; align-items: end; gap: 8vw; padding-top: 72px; padding-bottom: 48px; color: var(--paper); }
.directory-map-head .eyebrow { color: #d6a66b; }
.directory-map-head h2 { max-width: 760px; margin: 0; color: var(--paper); }
.directory-map-head > p { max-width: 470px; margin: 0 0 8px; color: #c7c5bc; font-size: 1rem; }
.geo-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 44px; padding-top: 24px; padding-bottom: 38px; }
.geo-title { margin: 0 0 15px; color: #a7a89f; font-size: .7rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.south-africa-map-wrap { min-width: 0; }
.province-map { width: 100%; max-height: 600px; overflow: visible; }
.geo-region { outline: none; }
.geo-region { cursor: pointer; }
.geo-region .province-shape path { fill: #4b4e46; stroke: #20221e; stroke-width: 2.25; vector-effect: non-scaling-stroke; transition: fill .2s ease, opacity .2s ease; }
.geo-region.populated .province-shape path { fill: #d7cebf; }
.geo-region:hover .province-shape path, .geo-region:focus .province-shape path { fill: #e2b377; }
.geo-region.selected .province-shape path { fill: var(--ochre); }
.province-labels { pointer-events: none; }
.geo-label text { fill: #92948b; font-family: var(--sans); font-size: 17px; font-weight: 600; text-anchor: middle; transition: fill .2s ease, font-weight .2s ease; }
.geo-label .geo-count { font-family: var(--serif); font-size: 27px; font-weight: 400; }
.geo-label.populated text { fill: var(--ink); }
.geo-label.emphasised text { fill: var(--ink); font-weight: 700; }
.geo-label.selected text { fill: var(--white); }
.geo-label-callout { text-anchor: middle; }
.geo-label-callout.populated text { fill: var(--paper); }
.geo-label-callout.emphasised text { fill: #e2b377; }
.geo-label-callout.selected text { fill: var(--white); }
.geo-leader { fill: none; stroke: #a7a89f; stroke-width: 1.5; vector-effect: non-scaling-stroke; transition: stroke .2s ease; }
.geo-leader.emphasised { stroke: #e2b377; }
.geo-leader.selected { stroke: var(--ochre); }
.map-source { margin: 8px 0 0; color: #85877f; font-size: .68rem; line-height: 1.45; }
.map-source a { border-bottom: 1px solid currentColor; }
.country-regions { display: flex; flex-direction: column; }
.country-region { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0; color: #d7d5cd; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.16); cursor: pointer; text-align: left; }
.country-region span { font-family: var(--serif); font-size: 1.25rem; }
.country-region strong { min-width: 38px; height: 38px; display: grid; place-items: center; color: var(--paper); background: #4b4e46; border-radius: 50%; font-family: var(--serif); font-size: 1rem; font-weight: 400; }
.country-region:hover span, .country-region:focus span { color: #e2b377; }
.country-region.selected strong { background: var(--ochre); }
.country-region.selected span { color: var(--white); }
.region-browser { display: block; padding-top: 28px; padding-bottom: 30px; border-top: 1px solid rgba(255,255,255,.15); }
.region-browser .eyebrow { margin-bottom: 15px; color: #d6a66b; }
.region-links { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.region-link { padding: 8px 11px; }
.region-link:disabled { color: #6f716a; cursor: default; }
.directory-results { scroll-margin-top: 18px; padding-top: 52px; padding-bottom: 90px; color: var(--ink); background: var(--white); border-top: 5px solid var(--ochre); }
.directory-results .home-listing-head { margin-bottom: 45px; }
.directory-empty-state { grid-column: 1 / -1; max-width: 560px; margin: 0; padding: 28px 0 48px; color: var(--muted); font-family: var(--serif); font-size: 1.35rem; }
.directory-data-note { margin: 0; padding-top: 0; padding-bottom: 34px; color: #989a92; background: var(--white); font-size: .72rem; }
.scasa-editable-content { padding-top: 80px; padding-bottom: 90px; background: var(--paper-deep); }
.scasa-editable-content .editable-content { max-width: 920px; margin: 0 auto; }
.scasa-editable-content .content-block { position: relative; }
.learning-section { background: var(--paper); }
.learning-section .constellations-brief { padding-top: 125px; padding-bottom: 125px; }
.facilitator-pathway { display: grid; grid-template-columns: .85fr 1.15fr; gap: 10vw; padding-top: 100px; padding-bottom: 105px; color: var(--paper); background: var(--olive); }
.facilitator-pathway .eyebrow { color: #e1b781; }
.facilitator-pathway h2 { max-width: 590px; margin-bottom: 18px; }
.facilitator-pathway > div > p:last-child { max-width: 500px; color: #d2d1c8; }
.facilitator-links { border-top: 1px solid rgba(255,255,255,.25); }
.facilitator-links a { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.25); font-family: var(--serif); font-size: 1.15rem; }
.facilitator-links a:hover { color: #e1b781; }
.facilitator-links a.featured { padding-left: 16px; padding-right: 16px; color: var(--ink); background: #e1b781; }
.facilitator-links a.featured:hover { background: var(--paper); }

/* Directory */
.directory-intro { padding-top: 42px; padding-bottom: 68px; }
.breadcrumbs { display: flex; gap: 9px; color: var(--muted); font-size: .76rem; }
.breadcrumbs a:hover { color: var(--ochre); }
.directory-title { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 60px; margin-top: 80px; }
.directory-title h1 { margin: 0; }
.directory-title > p { max-width: 550px; margin-bottom: 12px; color: var(--muted); font-size: 1.08rem; }
.directory-browser { padding-top: 36px; padding-bottom: 130px; background: var(--white); }
.filter-bar { position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 26px; margin: 0 calc(-1 * max(5vw, calc((100vw - var(--max)) / 2))) 54px; padding: 18px max(5vw, calc((100vw - var(--max)) / 2)); background: rgba(255, 253, 248, .96); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.role-filters { display: flex; align-items: center; gap: 8px; }
.filter-button { padding: 9px 15px; background: transparent; border: 1px solid transparent; border-radius: 99px; cursor: pointer; font-size: .83rem; }
.filter-button span { margin-left: 4px; color: var(--muted); font-size: .72rem; }
.filter-button:hover { border-color: var(--line); }
.filter-button.active { color: var(--white); background: var(--ink); }
.filter-button.active span { color: #d5d1c7; }
.search-control { width: min(330px, 35vw); display: flex; align-items: center; gap: 10px; padding: 9px 2px; border-bottom: 1px solid var(--ink); }
.search-control svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.search-control input { width: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: .86rem; }
.results-meta { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 34px; }
.results-meta h2 { margin: 0; font-family: var(--sans); font-size: .9rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.results-meta p { margin: 0; color: var(--muted); font-size: .8rem; }
.practitioner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 52px 24px; }
.practitioner-card { min-width: 0; display: flex; flex-direction: column; }
.practitioner-card[hidden] { display: none; }
/* Portrait proportions retain more of the source image while keeping every card aligned. */
.card-photo { display: block; aspect-ratio: 4 / 5; position: relative; overflow: hidden; background: var(--paper-deep); }
.card-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,20,16,.24), transparent 42%); }
.card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 24%; filter: saturate(.75) contrast(.96); transition: filter .5s ease; }
.practitioner-card:hover .card-photo img { filter: saturate(.9); }
.status { position: absolute; z-index: 2; left: 15px; bottom: 15px; padding: 7px 10px; color: var(--white); background: rgba(39, 40, 33, .88); font-size: .68rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.status-dual { background: rgba(116, 71, 28, .92); }
.card-body { flex: 1; display: flex; flex-direction: column; padding: 24px 8px 0; }
.location { margin-bottom: 9px; color: var(--ochre-dark); font-size: .7rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
.card-body h3 { margin-bottom: 11px; font-family: var(--serif); font-size: 1.75rem; font-weight: 400; }
.professional-title { min-height: 50px; color: #4d4e46; font-size: .83rem; font-weight: 600; line-height: 1.45; }
.summary { color: var(--muted); font-size: .86rem; line-height: 1.62; }
.card-link { margin-top: auto; }
.no-results { padding: 80px 20px; text-align: center; }
.no-results h3 { font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.no-results .text-link { border: 0; border-bottom: 1px solid currentColor; background: transparent; cursor: pointer; }
.data-note { max-width: 760px; margin: 80px auto 0; color: var(--muted); font-size: .75rem; text-align: center; }

/* Profile */
.profile-hero { padding-top: 42px; padding-bottom: 110px; }
.profile-hero-grid { display: grid; grid-template-columns: .83fr 1.17fr; gap: 9vw; align-items: center; margin-top: 70px; }
.profile-image-wrap { min-height: 600px; position: relative; display: flex; align-items: center; justify-content: center; }
.profile-image-wrap > img { width: min(440px, 85%); aspect-ratio: .8; position: relative; z-index: 2; object-fit: cover; object-position: center top; filter: saturate(.72) contrast(.96); box-shadow: 0 24px 60px rgba(49,40,28,.16); }
.profile-image-shape { width: 78%; aspect-ratio: 1; position: absolute; left: 0; bottom: 0; border-radius: 50%; background: #d9c6a8; }
.profile-status { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 55px; }
.profile-status span { padding: 6px 10px; border: 1px solid var(--line); font-size: .68rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.profile-hero-grid > * { min-width: 0; }
.profile-heading h1 { overflow-wrap: anywhere; }
.profile-heading h1 { margin-bottom: 22px; font-size: clamp(4.2rem, 7.6vw, 8rem); }
.profile-title { max-width: 530px; color: var(--muted); font-size: 1.1rem; }
.profile-content { display: grid; grid-template-columns: .72fr 1.28fr; gap: 10vw; padding-top: 120px; padding-bottom: 140px; background: var(--white); }
.profile-facts { height: fit-content; padding: 35px; background: var(--paper); border-top: 3px solid var(--ochre); }
.profile-facts h2 { font-size: 1.9rem; }
.profile-facts dl { margin: 0; }
.profile-facts dl > div { padding: 20px 0; border-top: 1px solid var(--line); }
.profile-facts dt { margin-bottom: 5px; color: var(--ochre-dark); font-size: .68rem; font-weight: 650; letter-spacing: .11em; text-transform: uppercase; }
.profile-facts dd { margin: 0; font-size: .86rem; }
.profile-facts a { border-bottom: 1px solid var(--line); }
.profile-story { max-width: 720px; }
.profile-story > section { padding: 0 0 65px; margin-bottom: 65px; border-bottom: 1px solid var(--line); }
.profile-story h2 { font-size: clamp(2.35rem, 3.8vw, 4rem); }
.profile-story p:not(.eyebrow) { color: var(--muted); }
.practice-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; margin: 0; padding: 0; list-style: none; }
.practice-list li { padding: 18px 0; border-top: 1px solid var(--line); font-family: var(--serif); font-size: 1.25rem; }
.source-panel { padding: 28px !important; margin-bottom: 0 !important; background: var(--paper); border: 0 !important; }
.source-panel p { font-size: .82rem; }
.source-panel a { font-size: .82rem; font-weight: 650; border-bottom: 1px solid currentColor; }
.more-practitioners { padding-top: 90px; padding-bottom: 90px; display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; background: var(--paper-deep); }
.more-practitioners h2 { margin: 0; max-width: 650px; }

/* Authentication */
.login-shell { min-height: calc(100vh - 100px); display: grid; place-items: center; padding-top: 70px; padding-bottom: 100px; }
.login-card { width: min(520px, 100%); padding: 46px; background: var(--white); border-top: 4px solid var(--ochre); box-shadow: 0 24px 70px rgba(49,40,28,.12); }
.login-card h1 { margin-bottom: 12px; font-size: clamp(3rem, 7vw, 5rem); }
.login-card > p:not(.eyebrow) { color: var(--muted); }
.login-card form { display: grid; gap: 20px; margin-top: 30px; }
.login-card label { display: grid; gap: 7px; color: var(--ochre-dark); font-size: .72rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.login-card input { width: 100%; padding: 13px 12px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); font: inherit; letter-spacing: normal; text-transform: none; }
.login-card button { border: 0; cursor: pointer; }
.login-error { padding: 12px; color: #742d21 !important; background: #f6e3dd; }
.login-success { padding: 12px; color: #35563c !important; background: #e3eee4; }

.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition-duration: .01ms !important; } }

@media (max-width: 1000px) {
  .site-header { min-height: 84px; }
  .brand img { width: 235px; height: 54px; }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 24px 5vw 30px; flex-direction: column; align-items: flex-start; gap: 5px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(20,20,16,.08); }
  .site-nav.open { display: flex; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 74px; }
  .hero-copy { max-width: 780px; }
  .hero-portraits { width: min(650px, 100%); margin: 0 auto; }
  .trust-bar { align-items: flex-start; }
  .trust-bar ul { display: grid; grid-template-columns: 1fr 1fr; }
  .intro-grid { gap: 7vw; }
  .mini-grid, .practitioner-grid { grid-template-columns: 1fr 1fr; }
  .mini-profile:last-child { display: none; }
  .pathway-grid { grid-template-columns: 1fr; border-bottom: 0; }
  .pathway-card, .pathway-card + .pathway-card { min-height: 260px; padding: 30px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .pathway-card h3 { margin: 25px 0 15px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-links { align-items: flex-start; }
  .map-introduction { grid-template-columns: 1fr; gap: 28px; }
  .practitioner-map { height: 540px; }
  .region-browser { grid-template-columns: 1fr; gap: 18px; }
  .home-listing-head { grid-template-columns: 1fr; gap: 28px; }
  .constellations-brief, .practice-section, .training-brief { gap: 6vw; }
  .association-heading, .association-copy { width: 100%; padding-right: 0; }
  .association-copy { max-width: 760px; margin-top: 30px; }
  .about-hero-grid, .about-story, .about-vision, .about-history, .about-community { grid-template-columns: 1fr; gap: 34px; }
  .about-hero-grid { margin-top: 55px; }
  .about-story, .about-vision, .about-history, .about-community { padding-top: 85px; padding-bottom: 90px; }
  .standards-grid { grid-template-columns: 1fr 1fr; }
  .standards-grid article:nth-child(2) { border-right: 0; }
  .standards-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .geo-layout { grid-template-columns: 1fr 230px; gap: 25px; }
  .facilitator-pathway { gap: 6vw; }
  .profile-hero-grid { gap: 5vw; }
  .profile-image-wrap { min-height: 490px; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .site-header { padding: 10px 5vw; }
  .brand img { width: 200px; height: 50px; }
  .hero { padding-top: 55px; padding-bottom: 65px; gap: 25px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.8rem); }
  .hero-intro { font-size: 1.02rem; }
  .button-row { align-items: flex-start; flex-direction: column; gap: 21px; }
  .hero-portraits { height: 390px; margin-top: 20px; }
  .portrait-one { width: 180px; height: 180px; left: 3%; }
  .portrait-two { width: 205px; height: 205px; right: 0; top: 30%; }
  .portrait-three { width: 120px; height: 120px; bottom: 0; }
  .orbit-a { width: 295px; height: 295px; }
  .orbit-b { width: 220px; height: 220px; }
  .portrait-note { max-width: 135px; right: 0; font-size: .84rem; }
  .trust-bar { gap: 16px; flex-direction: column; }
  .trust-bar ul { width: 100%; grid-template-columns: 1fr; gap: 10px; }
  .intro-grid { grid-template-columns: 1fr; gap: 20px; padding-top: 90px; padding-bottom: 95px; }
  .directory-feature { padding-top: 75px; padding-bottom: 80px; }
  .directory-feature-head { align-items: flex-start; flex-direction: column; margin-bottom: 40px; }
  .mini-grid { grid-template-columns: 1fr; }
  .mini-profile:last-child { display: block; }
  .pathways { padding-top: 90px; padding-bottom: 95px; }
  .pathway-grid { margin-top: 35px; }
  .closing-callout { padding-top: 75px; padding-bottom: 80px; }
  .site-footer { grid-template-columns: 1fr; gap: 28px; }
  .map-introduction { gap: 22px; padding-top: 32px; padding-bottom: 32px; }
  .map-introduction h1 { font-size: clamp(2.35rem, 11vw, 3.35rem); }
  .map-intro-detail > p { font-size: .95rem; }
  .intro-standards { grid-template-columns: 1fr; gap: 6px; }
  .map-toolbar { min-height: 148px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 12px; }
  .map-toolbar h2 { font-size: 2.25rem; }
  .map-guidance { max-width: 330px; }
  .practitioner-map { height: 400px; }
  .map-cluster-marker { transform: scale(.86); }
  .region-browser { padding-top: 28px; padding-bottom: 32px; }
  .region-links { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
  .region-link { flex: 0 0 auto; }
  .home-listing { padding-top: 44px; padding-bottom: 90px; }
  .home-listing-head { margin-bottom: 38px; }
  .result-actions { align-items: flex-start; }

  .constellations-brief, .practice-section, .training-brief { grid-template-columns: 1fr; gap: 36px; padding-top: 82px; padding-bottom: 86px; }
  .practice-principles li { padding: 20px 0; }
  .training-brief { align-items: start; }
  .association-intro { padding-top: 45px; padding-bottom: 60px; }
  .association-heading h1 { font-size: clamp(2rem, 8vw, 2.6rem); }
  .standards-grid { grid-template-columns: 1fr; margin-top: 38px; }
  .standards-grid article, .standards-grid article + article { min-height: 0; padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .standards-grid article:last-child { border-bottom: 0; }
  .standards-grid h2 { margin: 16px 0 7px; }
  .directory-map-head { grid-template-columns: 1fr; gap: 22px; padding-top: 58px; padding-bottom: 34px; }
  .directory-map-head h2 { font-size: 2.55rem; }
  .geo-layout { grid-template-columns: 1fr; gap: 28px; padding-top: 4px; }
  .province-map { max-height: none; }
  .geo-label text { font-size: 15px; }
  .geo-label .geo-count { font-size: 24px; }
  .country-regions { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
  .country-regions .geo-title { grid-column: 1 / -1; }
  .country-region span { font-size: 1rem; }
  .region-browser { overflow: hidden; }
  .region-links { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
  .directory-results { padding-top: 42px; padding-bottom: 75px; }
  .learning-section .constellations-brief { padding-top: 80px; padding-bottom: 85px; }
  .facilitator-pathway { grid-template-columns: 1fr; gap: 35px; padding-top: 78px; padding-bottom: 82px; }
  .directory-intro { padding-bottom: 45px; }
  .directory-title { grid-template-columns: 1fr; gap: 15px; margin-top: 55px; }
  .directory-title h1 { font-size: 4.2rem; }
  .filter-bar { align-items: stretch; flex-direction: column; margin-bottom: 35px; }
  .role-filters { overflow-x: auto; }
  .filter-button { flex: 0 0 auto; }
  .search-control { width: 100%; }
  .results-meta { align-items: flex-start; flex-direction: column; gap: 5px; }
  .practitioner-grid { grid-template-columns: 1fr; gap: 50px; }

  .professional-title { min-height: 0; }
  .profile-hero { padding-bottom: 75px; }
  .profile-hero-grid { grid-template-columns: 1fr; gap: 45px; margin-top: 45px; }
  .profile-image-wrap { min-height: auto; padding-bottom: 35px; }
  .profile-image-wrap > img { width: 82%; }
  .profile-heading h1 { font-size: clamp(4rem, 19vw, 6rem); }
  .profile-status { margin-bottom: 35px; }
  .profile-content { grid-template-columns: 1fr; gap: 70px; padding-top: 80px; padding-bottom: 90px; }
  .practice-list { grid-template-columns: 1fr; }
  .more-practitioners { align-items: flex-start; flex-direction: column; padding-top: 70px; padding-bottom: 75px; }
}

/* Directory administration shares SCASA's typography, colours and buttons. */
.admin-shell { max-width: 1200px; margin: auto; padding-top: 2.5rem; padding-bottom: 4rem; }
.admin-nav, .admin-actions, .admin-heading, .admin-status { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.admin-nav form { margin: 0; }
.admin-nav button { background: none; border: 0; cursor: pointer; font: inherit; }
.admin-heading { justify-content: space-between; margin-bottom: 1.5rem; }
.admin-heading h1, .admin-confirm h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
.admin-help, .admin-notice, .admin-preview { background: #e7f1ec; border-left: 4px solid #386b53; padding: 1rem 1.25rem; }
.admin-error { background: #fff0ed; border-left: 4px solid #a43a30; padding: 1rem; }
.admin-list { display: grid; gap: 1rem; margin-top: 2rem; }
.admin-profile { display: grid; grid-template-columns: 2fr 1.2fr 1.5fr; align-items: center; gap: 1.5rem; padding: 1.5rem; border: 1px solid #d7dfdb; border-radius: 12px; background: white; }
.admin-profile h2 { font-size: 1.4rem; margin: 0; }
.admin-profile p { margin: .4rem 0; overflow-wrap: anywhere; }
.admin-status p { width: 100%; }
.status-badge { border-radius: 20px; padding: .3rem .7rem; background: #edf0ee; font-size: .85rem; font-weight: 700; }
.status-positive { background: #e0eee4; color: #245538; }
.status-muted { background: #f3e9db; color: #674820; }
.admin-form, .admin-confirm { max-width: 760px; }
.admin-form { display: grid; gap: .65rem; }
.admin-form label { font-weight: 700; margin-top: 1rem; }
.admin-form input, .admin-form textarea { width: 100%; min-width: 0; padding: .8rem; border: 1px solid #98a99f; border-radius: 6px; font: inherit; background: white; }
.admin-form .admin-actions { margin-top: 1.5rem; }
.admin-confirm p { margin: 1.5rem 0; }
.admin-actions a, .admin-nav a { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) {
  .admin-directory-page .site-header { flex-wrap: wrap; gap: 1rem; }
  .admin-nav { width: 100%; gap: 1.2rem; }
  .admin-profile { grid-template-columns: 1fr; gap: 1rem; }
  .admin-actions a, .admin-nav a { padding: .5rem 0; }
}

/* Users administration: compact surfaces adapted from Weft's administration patterns. */
.users-page .admin-shell { max-width: 1440px; }
.users-page .admin-heading h1 { margin-bottom: .4rem; }
.users-page .admin-heading p { margin-top: 0; }
.users-card { background: #fff; border: 1px solid #deddd5; border-radius: 18px; padding: 24px; margin-bottom: 20px; }
.users-page .muted { color: #696c64; font-size: .9rem; }
.create-account > summary { cursor: pointer; font-weight: 600; }
.create-account > summary span { margin-left: .75rem; font-weight: 400; }
.user-filters { display: flex; flex-wrap: wrap; gap: 4px; padding: 5px; border: 1px solid #e1e1d8; border-radius: 24px; background: #f4f4ed; width: fit-content; }
.user-filters a { padding: 9px 15px; border-radius: 20px; color: #596254; font-size: .88rem; text-decoration: none; }
.user-filters a.selected, .user-filters a:hover { background: #fff; color: #31533f; box-shadow: 0 1px 4px #263e3010; }
.user-list { display: grid; gap: 10px; }
.user-item { border: 1px solid #e1e2d9; border-radius: 12px; overflow: hidden; scroll-margin-top: 20px; }
.users-page .user-summary { display: flex; align-items: center; gap: 18px; padding: 16px 18px; width: 100%; text-align: left; background: #fafaf7; color: inherit; border: 0; cursor: pointer; font: inherit; }
.users-page .user-summary:hover { background: #f1f4ed; }
.users-page .user-summary[aria-expanded="true"] { background: #edf2e8; }
.user-identity { display: grid; gap: 4px; flex: 1 1 220px; min-width: 0; }
.private-email { color: #666d62; font-size: .85rem; overflow-wrap: anywhere; }
.user-chips { display: flex; flex: 2 1 400px; justify-content: flex-end; gap: 6px; flex-wrap: wrap; }
.users-page .status-badge { font-size: .75rem; line-height: 1.35; font-weight: 500; padding: 5px 9px; white-space: normal; }
.users-page .muted-chip { background: #eceee8; color: #62665d; }
.expand-label { font-size: .8rem; color: #526548; flex: 0 0 auto; }
.user-detail { padding: 22px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.user-detail[hidden] { display: none; }
.user-detail h2 { font-size: 1.05rem; margin-top: 0; }
.user-detail h3 { font-size: 1rem; }
.user-form { display: grid; gap: 14px; margin: 18px 0; }
.user-form label { display: grid; gap: 6px; font-size: .88rem; }
.user-form input { width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid #d3d8cb; border-radius: 7px; background: #fff; font: inherit; }
.user-form button { justify-self: start; }
.user-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.account-disclosure { margin-top: 18px; border-top: 1px solid #e4e7de; padding-top: 14px; }
.account-disclosure summary { cursor: pointer; font-size: .9rem; }
.permission-grid { display: grid; gap: 12px; }
.permission-grid fieldset { border: 1px solid #dde1d5; border-radius: 8px; min-width: 0; padding: 12px; }
.user-form .permission-option { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.permission-option input { width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; }
.permission-option small { display: block; color: #6b7264; font-size: .78rem; }
.migration-item { border-top: 1px solid #e2e4dc; padding: 16px 0; }
.migration-item summary { cursor: pointer; }
.migration-item .status-badge { margin-left: 8px; }
.users-page button:focus-visible, .users-page a:focus-visible, .users-page summary:focus-visible { outline: 3px solid #739158; outline-offset: 3px; }
@media (max-width: 760px) {
  .users-card { padding: 16px; border-radius: 12px; }
  .users-page .user-summary { flex-wrap: wrap; gap: 12px; padding: 14px; }
  .user-identity { flex: 1 1 65%; }
  .expand-label { margin-left: auto; order: 1; }
  .user-chips { flex-basis: 100%; justify-content: flex-start; order: 2; }
  .user-detail { grid-template-columns: minmax(0, 1fr); padding: 16px; gap: 24px; }
  .user-fields { grid-template-columns: minmax(0, 1fr); }
  .user-filters { border-radius: 14px; width: 100%; }
  .user-filters a { flex-grow: 1; text-align: center; padding: 8px 10px; }
  .create-account > summary span { display: block; margin: 6px 0 0; }
  .users-page .admin-nav { flex-wrap: wrap; }
}
.migration-profiles h2 { font-size: 1.2rem; margin: 0 0 12px; }

/* User-owned profiles: grouped membership and directory information. */
.directory-user-details:only-child { grid-column: 1 / -1; }
.directory-user-details .member-details { margin-top: 28px; }
.user-form select { width: 100%; padding: 10px 12px; border: 1px solid #d3d8cb; border-radius: 7px; background: #fff; font: inherit; }
.admin-form label:has(input[type="checkbox"]) { display: flex; gap: 10px; align-items: center; }
.admin-form input[type="checkbox"] { width: auto; }
.profile-facts dd span + span { display: block; }

/* Province disclosure shares the existing space beside the national map. */
.locality-panel[hidden], .country-regions[hidden] { display: none; }
.locality-panel .geo-title { color: #d6a66b; line-height: 1.6; }
.locality-panel .country-region { width: 100%; }
.locality-empty { color: #c7c5bc; }
.directory-type-filter { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.geo-region:focus-visible .province-shape path { stroke: #fff; stroke-width: 4; }
.locality-panel button:focus-visible, .country-region:focus-visible { outline: 2px solid #e2b377; outline-offset: 4px; }
@media (max-width: 1000px) {
  .geo-layout { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .geo-region .province-shape path { transition: none; }
}

.directory-name-search { margin-bottom: 28px; max-width: 760px; }
.directory-name-search label { display: block; font-weight: 600; margin-bottom: 10px; }
.directory-name-input { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.directory-name-input input { flex: 1 1 240px; min-width: 0; width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid var(--muted); border-radius: 4px; font: inherit; font-size: 16px; color: var(--ink); background: var(--white); }
.directory-name-input button { min-height: 48px; }
.directory-name-search p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.directory-name-input input:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; }
.directory-type-filter button:disabled, .region-link:disabled, .country-region:disabled, .geo-region[aria-disabled="true"] { opacity: .55; cursor: default; }

/* Shared Ringo shell adopts SCASA's existing palette. */
body { --ringo-shell-ink: #293e39; }
.ringo-sidebar-open .site-header { background: var(--paper); padding-inline: 3vw; gap: 1rem; }
.ringo-sidebar-open .site-nav { flex-wrap: wrap; justify-content: flex-end; }
.ringo-editing .content-block { scroll-margin-top: 110px; }
.user-form textarea { width: 100%; min-height: 90px; padding: .7rem; border: 1px solid var(--line); border-radius: 5px; font: inherit; }
.user-fields label:has(input[type="checkbox"]) { display: flex; align-items: center; gap: .5rem; }
.user-fields input[type="checkbox"] { width: auto; }

/* Directory refinements retain the existing card proportions and typography. */
.directory-type-filter {display:flex;align-items:center;gap:.65rem;flex-wrap:wrap;}
.directory-sort {margin-left:auto;display:flex;align-items:center;gap:.5rem;font-size:.9rem;}
.directory-sort select {font:inherit;padding:.55rem;border:1px solid var(--line);background:transparent;color:inherit;border-radius:4px;}
.practitioner-card {min-width:0;}
.practitioner-card h3,.practitioner-card .location,.professional-title {overflow-wrap:anywhere;}
.additional-locations {grid-column:1/-1;}
.photo-adjust-preview {width:min(100%,360px);aspect-ratio:4/3;object-fit:cover;}
@media(max-width:600px){.directory-sort{width:100%;margin-left:0;margin-top:.5rem;}}

/* Ethical Code: the association’s existing paper, serif and ochre palette. */
.ethics-hero { padding-top: 42px; padding-bottom: 54px; }
.ethics-hero h1 { margin: 48px 0 24px; font-size: clamp(2.5rem, 4.2vw, 4.25rem); }
.ethics-hero .lead { max-width: 760px; margin-bottom: 0; }
.ethics-content { padding-top: 12px; padding-bottom: 100px; }
.ethics-section { max-width: 800px; padding: 36px 0; border-top: 1px solid var(--line); }
.ethics-section h2 { font-size: clamp(1.7rem, 2.5vw, 2.3rem); margin-bottom: 24px; }
.ethics-section ol { padding-left: 1.5em; margin: 0; }
.ethics-section li { padding-left: .3em; margin-bottom: 12px; }
.ethics-section li > ol { margin-top: 12px; }

/* Compact public directory cards; profile and administration styles stay independent. */
.home-practitioner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 24px; }
.home-practitioner-grid .practitioner-card {
  position: relative; display: grid; grid-template-columns: 160px minmax(0, 1fr);
  gap: 22px; padding: 20px; border: 1px solid var(--line); border-radius: 5px;
}
.home-practitioner-grid .card-photo { width: 160px; height: 190px; aspect-ratio: auto; border-radius: 4px; }
.home-practitioner-grid .card-photo::after { content: none; }
.home-practitioner-grid .card-photo img { display: block; object-fit: contain; object-position: center; filter: none; }
.home-practitioner-grid .card-body { min-width: 0; padding: 0; }
.home-practitioner-grid .location { margin: 0 0 7px; }
.home-practitioner-grid h3 { margin: 0 0 8px; font-size: 1.75rem; line-height: 1.15; }
.home-practitioner-grid .card-roles { margin: 0 0 10px; color: var(--ochre-dark); font-size: .75rem; line-height: 1.4; }
.home-practitioner-grid .summary {
  margin: 0 0 16px; font-weight: 400; line-height: 1.5;
  max-height: 4.5em; overflow: hidden; display: -webkit-box;
  -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3;
}
.home-practitioner-grid .card-link { padding-top: 4px; align-self: flex-start; }
.home-practitioner-grid .card-link::after { content: ""; position: absolute; inset: 0; border-radius: 5px; }
.home-practitioner-grid .card-link:focus { outline: none; }
.home-practitioner-grid .card-link:focus::after { outline: 2px solid var(--ochre-dark); outline-offset: 4px; }
.home-practitioner-grid .practitioner-card:hover { border-color: var(--ochre-dark); }
@media (max-width: 1100px) {
  .home-practitioner-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .home-practitioner-grid { gap: 16px; }
  .home-practitioner-grid .practitioner-card { grid-template-columns: 104px minmax(0, 1fr); gap: 14px; padding: 14px; }
  .home-practitioner-grid .card-photo { width: 104px; height: 130px; }
  .home-practitioner-grid h3 { font-size: 1.4rem; }
  .home-practitioner-grid .location { font-size: .62rem; }
}

.payment-history { overflow-x:auto; }
.payment-history table { width:100%; border-collapse:collapse; text-align:left; }
.payment-history th,.payment-history td { padding:.8rem; border-bottom:1px solid #d7ded7; }
.renewal-total { display:grid; grid-template-columns:1fr auto; gap:1rem; margin:2rem 0; }
.renewal-total dd { margin:0; }
