/* Shared visual system for the association and its working surfaces. */
:root {
  --ink: #1d1d1f;
  --muted: #62626b;
  --line: #e3e3e8;
  --canvas: #f5f5f7;
  --surface: #fff;
  --surface-soft: #f5f5f7;
  --primary-soft: #f0e9fb;
  --header-height: 5rem;
  --header-min-height: 5rem;
  --sidebar-width: 21rem;
  --shadow: 0 8px 32px #1d1d1f07, 0 1px 3px #1d1d1f04;
  font-optical-sizing: auto;
}
body { -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a { touch-action: manipulation; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible,
[tabindex]:focus-visible { outline-color: var(--primary); }
button, .button-link, .member-button, .owner-signin a {
  transition: background-color 160ms ease, color 160ms ease, transform 120ms ease;
}
button:not(:disabled):active, .button-link:active, .member-button:active,
.owner-signin a:active { transform: scale(.97); transition-duration: 60ms; }
input, select, textarea { accent-color: var(--primary); }
.association-page { background: var(--surface); }
.association-page h1, .association-page h2, .association-page h3 {
  font-weight: 700; letter-spacing: -.035em; text-wrap: balance;
}
.association-page p { line-height: 1.65; }
.association-page .eyebrow, .eyebrow {
  font-size: .8125rem; line-height: 1.5; letter-spacing: .055em; font-weight: 700;
}
.page-shell { width: min(1200px, calc(100% - 4rem)); }

/* Navigation is a quiet, floating layer. The current location stays explicit. */
.association-header {
  height: auto; min-height: var(--header-min-height); padding: 1rem 2rem; gap: 1.5rem;
  background: #fffffff0; color: var(--ink); border: 0;
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 1px 0 #1d1d1f08;
}
.association-page .association-header { position: sticky; top: 0; }
.association-header .brand { gap: .75rem; min-width: 0; flex-shrink: 1; }
.association-header .brand-mark {
  width: 2.375rem; height: 2.375rem; border: 0; border-radius: .8rem; flex-shrink: 0;
  background: var(--primary); color: #fff; font-size: 1.4rem;
}
.brand-copy { gap: .25rem; min-width: 0; overflow-wrap: anywhere; }
.association-header .brand-name { font-size: .9375rem; letter-spacing: .035em; line-height: 1.2; }
.association-header .brand-subtitle { color: var(--muted); font-size: .8125rem; letter-spacing: 0; }
.association-header .site-nav {
  position: static; align-self: auto; height: 2.75rem; margin-left: auto;
  gap: .25rem; overflow-x: auto; overscroll-behavior-x: contain;
  scrollbar-width: none; min-width: 0; flex-shrink: 1; max-width: 100%;
}
.site-nav::-webkit-scrollbar { display: none; }
.association-header .site-nav > a:focus-visible { outline-offset: -3px; }
.association-header .site-nav > a {
  padding: 0 1rem; border: 0; border-radius: 2rem;
  font-size: .875rem; font-weight: 600; color: var(--muted);
}
.association-header .site-nav > a:hover { color: var(--ink); background: var(--surface-soft); }
.association-header .site-nav > a[aria-current] { color: var(--primary-hover); background: var(--primary-soft); }
.association-header .header-actions { gap: .5rem; margin-left: 0; }
.association-header .source-link {
  min-height: 2.75rem; padding: .625rem .875rem; border: 0; border-radius: .8rem;
  color: var(--muted); background: var(--surface-soft); font-size: .875rem;
}
.association-header .source-link:hover { background: #eaeaec; color: var(--ink); }
.association-header .mobile-panel-toggle { color: var(--primary); background: var(--primary-soft); }
.association-header a:focus-visible, .association-header button:focus-visible { outline-color: var(--primary); }
.skip-link { border-radius: .75rem; }
.site-menu-toggle { display: none; }
.site-menu-toggle .menu-close-icon { display: none; }

/* Spacious content, with the enclave plan carrying the visual interest. */
.hero { gap: 4rem; padding-top: 3.5rem; padding-bottom: 3.5rem; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.hero-copy { min-width: 0; }
.hero h1 { font-size: clamp(2.5rem, 4.6vw, 4.25rem); line-height: 1.06; margin-bottom: 1.5rem; }
.hero h1 span { font-size: clamp(1.5rem, 2.6vw, 2.375rem); line-height: 1.22; margin-top: .7rem; letter-spacing: -.025em; }
.hero-copy > p:not(.eyebrow) { font-size: 1.0625rem; line-height: 1.65; margin-bottom: 1.75rem; }
.hero-actions { gap: 1rem 1.5rem; }
.button-link, .member-button, .focus-button, .owner-signin a {
  min-height: 3rem; border-radius: 1.5rem; padding: .75rem 1.375rem;
  font-size: .9375rem; line-height: 1.5; font-weight: 650;
}
.text-link { font-size: .9375rem; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.featured-enclave { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 1.75rem; box-shadow: var(--shadow); }
.featured-heading { padding: 1.5rem; }
.featured-heading span { color: var(--muted); font-size: .8125rem; letter-spacing: .035em; }
.featured-heading strong { font-size: 1.125rem; letter-spacing: -.02em; font-weight: 700; }
.featured-map { height: clamp(17rem, 25vw, 22rem); margin: 0 1rem; border-radius: 1rem; background: var(--surface-soft); background-image: none; }
.featured-map img { width: calc(100% - 2rem); height: calc(100% - 2rem); filter: none; }
.featured-footer { padding: 1.25rem 1.5rem; flex-wrap: wrap; }
.featured-footer p { color: var(--muted); font-size: .875rem; }
.featured-footer a { color: var(--primary); font-size: .9375rem; text-decoration: none; }
.featured-footer a:hover { text-decoration: underline; }
.welcome-section { gap: 4rem; padding: 3.5rem 0 4rem; border-color: var(--line); }
.welcome-section h2 { font-size: clamp(1.75rem, 2.5vw, 2.25rem); }
.welcome-copy > p { font-size: 1rem; line-height: 1.7; margin-bottom: 1.25rem; }
.site-footer { background: var(--surface-soft); border: 0; }
.footer-inner { padding-top: 1.75rem; padding-bottom: 1.75rem; }
.footer-name { font-size: .875rem; }
.page-intro { padding-top: 3rem; padding-bottom: 2.5rem; }
.page-intro h1 { font-size: clamp(2.375rem, 4vw, 3.5rem); margin-bottom: 1rem; }
.page-intro > p:last-child { font-size: 1.0625rem; line-height: 1.65; }
.breadcrumbs { margin-bottom: 1.75rem; }
.directory-label { border: 0; padding-bottom: 0; margin-bottom: 1.25rem; }
.directory-label h2 { font-size: 1.125rem; }
.directory-label span { font-size: .875rem; }
.enclave-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); border-radius: 1.5rem; box-shadow: var(--shadow); }
.directory-section > .enclave-card + .enclave-card { margin-top: 1.5rem; }
.enclave-preview { height: 24rem; padding: 1.75rem; border: 0; background: var(--surface-soft); background-image: none; gap: 1rem; }
.enclave-preview img { filter: none; }
.preview-label { font-size: .8125rem; color: var(--muted); letter-spacing: .04em; }
.enclave-summary { padding: 2rem 2.5rem; }
.enclave-summary h3 { font-size: 2rem; margin-bottom: 1rem; }
.enclave-summary > p:not(.eyebrow) { margin-bottom: 1.5rem; }
.enclave-facts { gap: 1rem 2rem; margin-bottom: 1.5rem; padding-top: 1.25rem; }
.enclave-facts dt { font-size: .875rem; }
.enclave-facts dd { line-height: 1.5; }
.enclave-facts .parcel-count { font-size: 1.75rem; line-height: 1.2; letter-spacing: -.025em; }
.enclave-actions { gap: .75rem 1.25rem; }
.enclave-pending-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 1rem; margin-top: 1rem; }
.enclave-pending-card { border: 1px solid var(--line); border-radius: 1.25rem; padding: 1.5rem; gap: 1.25rem; background: var(--surface); }
.enclave-pending-card h3 { font-size: 1.25rem; }
.enclave-plan-status { background: var(--surface-soft); color: var(--muted); border: 0; border-radius: 2rem; padding: .375rem .75rem; font-size: .8125rem; font-weight: 600; }
.directory-note { max-width: 760px; line-height: 1.65; }
.about-layout { gap: 4rem; }
.about-aside { border-radius: 1.5rem; background: var(--surface-soft); color: var(--ink); padding: 2rem; }
.about-aside .eyebrow, .about-aside h2 { color: var(--ink); }
.about-aside > p:not(.eyebrow) { color: var(--muted); }
.about-aside .button-link { background: var(--primary); color: #fff; border-color: var(--primary); }
.about-aside .button-link:hover { background: var(--primary-hover); border-color: var(--primary-hover); }

/* Account and administration use the same controls and spacing rhythm. */
.member-page .page-intro { padding-top: 3rem; padding-bottom: 2rem; }
.member-page .page-intro h1 { font-size: clamp(2rem, 3.4vw, 2.75rem); }
.account-page .page-shell { max-width: 50rem; }
.member-content { max-width: none; }
.member-box { border-radius: 1.5rem; padding: 2rem; box-shadow: var(--shadow); }
.member-box h2 { font-size: 1.375rem; letter-spacing: -.025em; line-height: 1.3; }
.auth-tabs { display: inline-flex; border: 0; border-radius: .875rem; padding: .25rem; margin: 1.25rem 0 .5rem; gap: .25rem; background: var(--surface-soft); }
.auth-tabs button { font-size: .9375rem; border: 0; border-radius: .65rem; padding: .625rem 1.125rem; min-height: 2.75rem; }
.auth-tabs button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 5px #1d1d1f14; }
.membership-form { max-width: none; }
.membership-form label, .owner-form label { font-size: .875rem; line-height: 1.5; font-weight: 650; }
.membership-form input, .membership-form select, .owner-form input {
  min-height: 3rem; font-size: 1rem; border-radius: .75rem; padding: .75rem .875rem;
  background: var(--surface); border-color: #cfcfd5;
}
.membership-form input:focus, .membership-form select:focus, .owner-form input:focus { border-color: var(--primary); }
.member-button.secondary { background: var(--surface-soft); color: var(--primary); border-color: transparent; }
.member-button.secondary:hover:enabled { background: #ececf0; }
.member-actions { gap: .75rem; margin-top: 1.5rem; }
.member-badge { border: 0; border-radius: 2rem; padding: .4rem .75rem; background: var(--primary-soft); color: var(--primary-hover); }
.auth-confirmation { border: 1px solid var(--line); border-radius: 1rem; background: var(--surface-soft); }
.assigned-plot { border: 1px solid var(--line); border-radius: 1rem; padding: 1.25rem; }
.assigned-plot:hover { background: var(--surface-soft); border-color: #c4b5de; }
.admin-counts { gap: 1.5rem 2.5rem; }
.admin-counts strong { font-size: 2rem; letter-spacing: -.04em; font-weight: 700; }
.admin-grid { gap: 1.5rem; }
.admin-grid .member-box { padding: 1.75rem; }
.member-card-heading { flex-wrap: wrap; }

/* Canvas chrome floats above the plan; property colours remain data. */
.enclave-canvas .workspace { height: calc(100dvh - var(--header-height)); }
.enclave-canvas .sidebar { width: var(--sidebar-width); background: var(--surface); border-color: var(--line); scrollbar-color: #d5d5dc transparent; }
.sidebar-title, .plot-navigation, .inspector, .legend-section { padding-left: 1.5rem; padding-right: 1.5rem; }
.sidebar-title { position: relative; padding-top: 1.5rem; padding-bottom: 1.5rem; }
.enclave-back { font-size: .875rem; margin-bottom: 1.25rem; text-decoration: none; }
.enclave-back:hover { text-decoration: underline; }
.enclave-canvas .sidebar-title h1 { font-size: 1.75rem; letter-spacing: -.035em; font-weight: 700; }
.sidebar-title p { font-size: .875rem; color: var(--muted); }
.sidebar-close { display: none; }
.plot-navigation label { font-size: .875rem; color: var(--ink); }
.plot-input-wrap { height: 3rem; padding-left: .75rem; border-color: #cfcfd5; border-radius: .875rem; background: var(--surface); }
.plot-input-wrap input { font-size: 1rem; }
.plot-input-wrap input::placeholder { font-size: .875rem; color: var(--muted); }
.plot-input-wrap button { height: 2.5rem; width: 2.5rem; border-radius: .625rem; color: var(--primary); background: var(--primary-soft); }
.navigation-error { font-size: .875rem; line-height: 1.5; }
.section-label h2, .owner-heading-row h2, .photos-heading-row h2 { font-size: .875rem; letter-spacing: 0; color: var(--ink); font-weight: 700; }
.section-label > span, .selected-prefix, .detail-label { font-size: .8125rem; color: var(--muted); letter-spacing: .035em; }
.small-icon-button { width: 2.75rem; height: 2.75rem; border-radius: .75rem; }
.small-icon-button:hover { background: var(--surface-soft); }
.empty-details { border: 0; border-radius: 1rem; padding: 1.5rem 1rem; background: var(--surface-soft); }
.empty-symbol { background: var(--surface); border: 0; color: var(--primary); width: 2.5rem; height: 2.5rem; }
.empty-details p { color: var(--muted); }
.selected-swatch { border-radius: .875rem; box-shadow: none; }
#selected-id { font-size: 2.25rem; letter-spacing: -.035em; font-weight: 700; }
.selected-category { font-size: 1.5rem; font-weight: 650; }
.category-note { color: var(--muted); font-size: .875rem; }
.focus-button { width: 100%; }
.parcel-stepper button { min-height: 2.75rem; font-size: .875rem; color: var(--primary); }
.parcel-stepper span { color: var(--muted); font-size: .8125rem; }
.legend-list { column-gap: 1rem; }
.legend-entry { min-height: 2.375rem; color: #4b4b53; font-size: .875rem; }
.legend-swatch { border-radius: .3rem; }
.legend-note { color: var(--muted); font-size: .8125rem; }
.sidebar-footer { color: var(--muted); letter-spacing: 0; }
.plot-owner, .plot-photos, .inspector, .sidebar-title { border-color: var(--line); }
.owner-summary dt, .owner-form-note, .owner-status { font-size: .875rem; }
.owner-summary dd { font-size: 1rem; }
.owner-heading-row button, .photos-heading-row button, .photo-viewer button, .owner-form-actions button {
  min-height: 2.75rem; border: 0; border-radius: 1.5rem; background: var(--primary-soft); color: var(--primary); padding: .625rem .875rem;
}
.owner-form label span, .owner-form input::placeholder { font-size: .8125rem; }
#owner-save { border: 0; color: #fff; background: var(--primary); }
#owner-cancel, #photo-close { background: var(--surface-soft); color: var(--muted); border: 0; }
.photo-thumbnail { border-radius: .875rem; background: var(--surface-soft); }
.photo-viewer { border-radius: 1.5rem; padding: 1.5rem; border: 0; box-shadow: 0 24px 90px #0003; }
.photo-viewer::backdrop { background: #1d1d1f99; }
#photo-full { background: var(--surface-soft); border-radius: .875rem; }
.photo-remove-confirm { border-radius: 1rem; }
#photo-remove-yes { color: #fff; background: #9b2c3d; }
.canvas-region { background: var(--canvas); }
.viewport { background-image: radial-gradient(#dcdce3 .8px, transparent .8px); }
.scene { border-radius: .5rem; box-shadow: 0 2px 5px #1d1d1f0a, 0 18px 60px #1d1d1f0c; }
.canvas-toolbar {
  top: 1rem; left: 1rem; right: 1rem; height: 3.5rem; padding: 0 1.25rem;
  border-radius: 1rem; background: #fffffff0; box-shadow: var(--shadow);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.view-label { color: var(--ink); font-size: .875rem; }
.view-label > svg { color: var(--primary); }
.view-count { background: var(--surface-soft); border: 0; color: var(--muted); border-radius: 1rem; padding: .25rem .625rem; }
.canvas-hint, .canvas-help { color: var(--muted); font-size: .8125rem; }
.north-marker { top: 5.5rem; color: var(--muted); }
.zoom-controls { padding: .375rem; gap: .125rem; bottom: 1.25rem; border: 0; border-radius: 1rem; background: #fffffff0; box-shadow: 0 4px 24px #1d1d1f12; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.icon-button { width: 2.75rem; height: 2.75rem; border-radius: .7rem; color: #494951; }
.icon-button:hover, .zoom-value:hover { background: var(--surface-soft); color: var(--primary); }
.zoom-value { min-width: 3.5rem; height: 2.75rem; font-size: .875rem; color: var(--ink); border-radius: .7rem; }
.control-divider { background: var(--line); }
.minimap { width: 7.5rem; bottom: 1.25rem; right: 1.25rem; padding: .625rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--surface); box-shadow: var(--shadow); }
.minimap > span { color: var(--muted); letter-spacing: .04em; }
.canvas-help { left: 1.5rem; bottom: 1.75rem; }
.hover-label { border-radius: .6rem; background: #1d1d1f; font-size: .8125rem; }
.canvas-exit { top: 1.375rem; right: 1.375rem; min-height: 2.75rem; border: 0; border-radius: 1.5rem; color: var(--primary); background: var(--primary-soft); box-shadow: none; }
.canvas-exit:hover { background: #e8dcf9; }

@media (max-width: 1120px) {
  :root { --header-height: 7rem; --header-min-height: 7rem; --sidebar-width: 19rem; }
  .association-header { height: auto; min-height: var(--header-min-height); padding: .75rem 1.5rem 3.5rem; gap: 1rem; }
  .association-header .site-nav { position: absolute; left: 1.5rem; right: 1.5rem; bottom: .5rem; height: 2.75rem; margin: 0; gap: .25rem; }
  .association-header .site-nav > a { padding: 0 1rem; font-size: .875rem; }
  .association-header .header-actions { margin-left: auto; }
  .enclave-canvas .workspace { height: calc(100dvh - var(--header-height)); }
  .hero { gap: 2rem; }
  .welcome-section, .about-layout { gap: 2.5rem; }
  .enclave-summary { padding: 1.75rem; }
  .canvas-help { bottom: 5.75rem; }
  .canvas-hint { display: none; }
}
@media (max-width: 760px) {
  .page-shell { width: calc(100% - 2rem); }
  .association-header { height: auto; padding-left: 1rem; padding-right: 1rem; gap: .5rem; }
  .association-header .brand { gap: .625rem; }
  .association-header .brand-mark { width: 2rem; height: 2rem; font-size: 1.25rem; }
  .association-header .brand-name { font-size: .875rem; letter-spacing: .02em; }
  .association-header .brand-subtitle { font-size: .75rem; }
  .association-header .site-nav { left: 1rem; right: 1rem; }
  .association-header .site-nav > a { padding: 0 .875rem; }
  .association-header .source-link { padding: .625rem; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 2rem; padding-bottom: 2.5rem; gap: 2rem; }
  .hero h1 { font-size: clamp(2.375rem, 8vw, 3.25rem); margin-bottom: 1.25rem; }
  .hero h1 span { font-size: clamp(1.5rem, 4.5vw, 1.875rem); }
  .hero-copy > p:not(.eyebrow) { font-size: 1rem; }
  .featured-map { height: 18rem; }
  .featured-heading { padding: 1.25rem; }
  .featured-footer { padding: 1rem 1.25rem; flex-wrap: wrap; }
  .welcome-section { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding: 2.5rem 0; }
  .welcome-section h2 { max-width: none; }
  .page-intro, .member-page .page-intro { padding-top: 2rem; padding-bottom: 2rem; }
  .page-intro h1 { font-size: 2.375rem; }
  .page-intro > p:last-child { font-size: 1rem; }
  .directory-label { gap: .5rem; align-items: flex-start; }
  .enclave-card { grid-template-columns: minmax(0, 1fr); }
  .enclave-preview { height: 17rem; padding: 1.25rem; }
  .enclave-summary { padding: 1.5rem; }
  .enclave-facts { gap: 1rem 1.5rem; }
  .enclave-pending-card { padding: 1.25rem; }
  .about-layout { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .about-aside, .member-box, .admin-grid .member-box { padding: 1.5rem; }
  .member-content { padding-bottom: 2.5rem; }
  .admin-grid { grid-template-columns: minmax(0, 1fr); }
  .admin-toolbar { align-items: flex-start; flex-wrap: wrap; }
  .admin-counts { gap: 1.25rem; }
  .account-identity, .account-title-row { flex-wrap: wrap; }
  .auth-tabs { width: 100%; }
  .auth-tabs button { flex: 1; padding-left: .75rem; padding-right: .75rem; }
  .enclave-canvas .sidebar {
    position: absolute; top: auto; bottom: 0; left: 0; right: 0; width: 100%;
    height: min(74dvh, calc(100dvh - var(--header-height) - 1rem));
    border: 1px solid var(--line); border-bottom: 0; border-radius: 1.5rem 1.5rem 0 0;
    padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -12px 60px #1d1d1f20;
    transform: translateY(calc(100% + 2rem));
    transition: transform 300ms cubic-bezier(.22, .85, .25, 1);
  }
  .enclave-canvas .sidebar.is-open { transform: translateY(0); }
  .enclave-canvas .sidebar-title { padding-top: 1.5rem; }
  .sidebar-close { display: grid; position: absolute; top: 1rem; right: 1rem; width: 2.75rem; height: 2.75rem; background: var(--surface-soft); color: var(--ink); }
  .enclave-canvas .sidebar-title .enclave-back { padding-right: 3rem; }
  .enclave-canvas .canvas-toolbar { height: 3.5rem; padding-left: 1rem; padding-right: 6.5rem; top: .75rem; left: .75rem; right: .75rem; }
  .canvas-exit { top: 1.125rem; right: 1.125rem; }
  .north-marker { top: 5rem; right: 1.25rem; }
  .zoom-controls { bottom: max(1rem, env(safe-area-inset-bottom)); }
  .minimap { width: 5.75rem; bottom: 5.5rem; right: 1rem; padding: .5rem; }
  .canvas-help { bottom: 5.75rem; left: 1rem; right: 7.5rem; font-size: .75rem; }
  .photo-viewer { padding: 1rem; border-radius: 1.25rem; }
  .footer-inner { gap: .75rem; padding-top: 1.5rem; padding-bottom: 1.5rem; }
  .footer-nav { gap: .5rem 1.5rem; }
}
@media (max-width: 420px) {
  .enclave-canvas .association-header .source-link { display: none; }
  .featured-heading { align-items: flex-start; flex-direction: column; gap: .375rem; }
  .featured-footer { flex-direction: column; align-items: flex-start; gap: .25rem; }
  .zoom-controls { gap: 0; }
  .zoom-controls .control-divider { margin-left: .2rem; margin-right: .2rem; }
  .zoom-controls .icon-button { width: 2.5rem; }
  .zoom-controls .zoom-value { min-width: 3.125rem; }
  .enclave-summary { padding: 1.25rem; }
}
@media (prefers-reduced-transparency: reduce) {
  .association-header, .canvas-toolbar, .zoom-controls { background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --muted: #44444c; --line: #9b9ba4; }
  .association-header, .canvas-toolbar, .zoom-controls { background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; outline: 1px solid var(--line); }
  .member-button.secondary, .enclave-plan-status { border: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) {
  button, .button-link, .member-button, .owner-signin a { transition: none; }
  button:not(:disabled):active, .button-link:active, .member-button:active, .owner-signin a:active { transform: none; }
  .enclave-canvas .sidebar { transition: none; }
}

/* Without JavaScript the original navigation remains available. */
@media (max-width: 760px) {
  .association-header.is-menu-ready { min-height: 4.5rem; padding: .75rem 1rem; gap: .5rem; }
  .association-header.is-menu-ready .site-menu-toggle {
    display: grid; place-items: center; order: 3; flex-shrink: 0;
    width: 2.75rem; height: 2.75rem; padding: 0;
    border-radius: .75rem; background: var(--surface-soft); color: var(--ink);
  }
  .site-menu-toggle svg { width: 1.375rem; height: 1.375rem; }
  .association-header.is-menu-open .site-menu-toggle { background: var(--primary-soft); color: var(--primary); }
  .association-header.is-menu-open .menu-icon { display: none; }
  .association-header.is-menu-open .menu-close-icon { display: block; }
  .association-header.is-menu-ready .header-actions { order: 2; }
  .association-header.is-menu-ready .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; bottom: auto;
    height: auto; max-height: calc(100dvh - var(--menu-header-height, 4.5rem));
    max-width: 100%; margin: 0; padding: .75rem 1rem calc(1rem + env(safe-area-inset-bottom));
    flex-direction: column; gap: .25rem; overflow-x: hidden; overflow-y: auto;
    overscroll-behavior: contain; border-bottom: 1px solid var(--line);
    border-radius: 0 0 1.25rem 1.25rem; background: var(--surface);
    box-shadow: 0 16px 28px #1d1d1f12; z-index: 40;
  }
  .association-header.is-menu-open .site-nav { display: flex; }
  .association-header.is-menu-ready .site-nav > a {
    justify-content: flex-start; min-height: 3rem; padding: .75rem 1rem;
    border-radius: .75rem; font-size: 1rem; line-height: 1.5; white-space: normal;
  }
}
