:root {
  color-scheme: light;
  --paper: #f7f3e9;
  --white: #fffdf6;
  --ink: #162b23;
  --green: #15382b;
  --deep: #102a21;
  --muted: #526459;
  --line: #d7dccf;
  --field-border: #728474;
  --sage: #e6ecdc;
  --lime: #ecd18e;
  --headline: "Arial", "Helvetica Neue", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { position: relative; isolation: isolate; margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--body); }
body::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: url('adire-cotton.jpg') repeat center top / 410px; opacity: .065; }
body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--headline); font-weight: 800; letter-spacing: -.048em; }
h1, h2 { line-height: .99; }
p { color: var(--muted); }
:focus-visible { outline: 3px solid #448857; outline-offset: 4px; }
::selection { background: var(--lime); color: var(--deep); }
[id] { scroll-margin-top: 28px; }

.wrap { width: min(100% - 88px, 1280px); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip-link:focus { position: absolute; top: 8px; left: 8px; z-index: 10; padding: 10px 18px; background: var(--lime); }

.masthead { border-bottom: 1px solid var(--line); background: #f7f3e9e8; }
.nav-row { min-height: 77px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.brand { display: inline-flex; justify-self: start; align-items: center; gap: 10px; text-decoration: none; flex: 0 0 auto; }
.brand-mark { height: 37px; width: 38px; background: var(--green); color: var(--white); display: grid; grid-auto-flow: column; align-content: center; justify-content: center; gap: 0; font: 900 19px/.9 var(--headline); letter-spacing: -.12em; }
.brand-mark span { color: var(--lime); }
.wordmark { font: 900 16px/.9 var(--headline); letter-spacing: -.05em; }
.wordmark span { display: block; margin-top: 4px; font-size: 10px; letter-spacing: .19em; }
.main-nav, .site-footer nav { display: flex; align-items: center; gap: clamp(14px, 3.1vw, 46px); }
.main-nav a, .site-footer nav a { text-decoration: none; font-size: .88rem; white-space: nowrap; font-weight: 625; }
.main-nav a:hover, .site-footer nav a:hover { text-decoration: underline; text-underline-offset: .25em; }
.nav-cta { justify-self: end; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 43px; padding: 9px 16px; border: 1px solid transparent; border-radius: 4px; text-decoration: none; color: var(--ink); white-space: nowrap; background: var(--white); font-weight: 700; font-size: .88rem; line-height: 1.2; transition: background .16s, color .16s, border-color .16s; }
.button span { font-size: 1.05rem; line-height: 1; }
.button.dark { background: var(--green); color: var(--white); }
.button.dark:hover { background: #235440; }
.button.lime { background: var(--lime); color: var(--deep); }
.button.lime:hover { background: #e7f5ac; }
.button.outline { background: transparent; border-color: var(--field-border); }
.button.outline:hover { background: var(--sage); }
.button.small { min-height: 37px; padding: 7px 11px; font-size: .8rem; }
.text-link, .hero-link { display: inline-flex; width: fit-content; align-items: center; gap: 9px; text-underline-offset: .27em; font-size: .88rem; font-weight: 700; }
.text-link:hover { color: #366b48; }
.hero-link { color: var(--white); }
.hero-link:hover { color: var(--lime); }

.hero { display: grid; grid-template-columns: .9fr 1.1fr; margin-top: 28px; border-radius: 7px; overflow: hidden; isolation: isolate; }
.hero-copy { position: relative; isolation: isolate; padding: clamp(34px, 5vw, 74px) clamp(30px, 4.6vw, 70px); background: var(--green); color: var(--paper); }
.hero-copy::after { position: absolute; inset: 0; z-index: -1; content: ""; background: url('adire-cotton.jpg') repeat center / 370px; opacity: .23; mask-image: linear-gradient(21deg, #000 4%, transparent 83%); pointer-events: none; }

.kicker { color: #486252; font-size: .72rem; font-weight: 800; letter-spacing: .155em; line-height: 1.3; text-transform: uppercase; }
.hero-location { display: flex; gap: 9px; align-items: center; margin-bottom: 24px; color: #dfebd4; }
.location-dot { width: 8px; height: 8px; display: inline-block; border-radius: 50%; flex: none; background: #346442; }
.hero-location .location-dot { background: var(--lime); }
.hero h1 { font-size: clamp(56px, 7.7vw, 114px); font-weight: 900; letter-spacing: -.088em; line-height: .84; }
.hero h1 span { color: var(--lime); display: inline-block; margin-left: .04em; }
.hero-intro { max-width: 34ch; margin-top: 28px; color: #e0e9db; font-size: clamp(.96rem, 1.25vw, 1.11rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin-top: 26px; }
.hero-exhibit { display: grid; align-content: center; justify-items: center; gap: 12px; padding: 22px 24px 20px; color: #2d3329; background: #e0d5bc; background-image: radial-gradient(ellipse at 47% 20%, #f4e8ca, #d7c7a4); }
.hero-object { display: grid; place-items: center; border: 1px solid #998c71; border-radius: 2px; background: #c7b99a; padding: 5px; box-shadow: 0 9px 18px #43331625; }
.hero-object img { width: auto; height: clamp(245px, 28vw, 350px); background: #bdb9aa; }
.hero-exhibit figcaption { width: 100%; max-width: 410px; display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 9px; }
.hero-exhibit figcaption .kicker, .hero-exhibit figcaption strong { grid-column: 1 / -1; }
.hero-exhibit figcaption .kicker { color: #514a37; font-size: .67rem; }
.hero-exhibit figcaption strong { font: 700 clamp(1.1rem, 2vw, 1.65rem)/1.18 Georgia, serif; }
.hero-exhibit figcaption strong span { font-size: .8em; font-weight: 400; }
.hero-exhibit figcaption p { color: #433f33; font-size: .78rem; }
.hero-exhibit figcaption .text-link { font-size: .74rem; }

.section { margin-top: clamp(53px, 6.3vw, 90px); }
.members-section { margin-top: clamp(43px, 5.1vw, 73px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 14px 25px; margin-bottom: 24px; }
.section-heading .kicker { margin-bottom: 9px; }
.section-heading h2, .chapter-intro h2 { font-size: clamp(34px, 4.35vw, 61px); }
.section-heading p:not(.kicker) { margin-top: 12px; }
.search-field { min-width: min(100%, 240px); }
.search-field input, .form-grid :is(input, select, textarea) { width: 100%; min-height: 43px; padding: 8px 12px; color: var(--ink); background: var(--white); border: 1px solid var(--field-border); border-radius: 4px; }
.search-field input::placeholder, input::placeholder, textarea::placeholder { color: #59695c; opacity: 1; }
.member-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.member-card { display: grid; grid-template-columns: minmax(130px, 33%) minmax(0, 1fr); min-height: 208px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--white); }
.member-art { display: grid; position: relative; isolation: isolate; place-items: center; min-height: 138px; height: 100%; color: var(--deep); background: repeating-linear-gradient(132deg, #dce7ce 0 2px, #d0dfbf 2px 14px); overflow: hidden; }
.member-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.member-art .initials { font: 900 clamp(44px, 5.1vw, 67px)/1 var(--headline); letter-spacing: -.08em; }
.member-card:nth-child(even) .member-art { background: repeating-linear-gradient(132deg, #e5d8c7 0 2px, #dacbb7 2px 14px); }
.member-info { display: flex; align-items: start; flex-direction: column; padding: clamp(15px, 2vw, 26px); }
.member-meta { display: flex; gap: 8px 10px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; color: #486252; font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.member-id { background: var(--sage); color: var(--green); padding: 3px 7px; border-radius: 3px; letter-spacing: .035em; }
.member-info h3 { font-size: clamp(1.5rem, 2.5vw, 2.3rem); line-height: 1.08; overflow-wrap: anywhere; }
.member-info p { overflow-wrap: anywhere; margin: 9px 0 13px; font-size: .92rem; }
.member-info .card-bio { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.card-button { margin-top: auto; padding: 0; border: 0; background: transparent; color: var(--green); }
.member-note { margin-top: 13px; font-size: .84rem; }

.chapter-panel { display: grid; grid-template-columns: .86fr 1.14fr; margin-top: clamp(54px, 7vw, 102px); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.chapter-intro { background: var(--sage); padding: clamp(26px, 4vw, 56px); }
.chapter-intro .kicker { margin-bottom: 14px; }
.chapter-intro p:not(.kicker) { max-width: 38ch; margin-top: 18px; }
.joining { padding: clamp(26px, 4vw, 55px); background: var(--white); }
.joining-head { display: flex; align-items: center; gap: 9px 16px; flex-wrap: wrap; }
.joining h3, .meetup-card h3 { font-size: clamp(1.25rem, 2.2vw, 1.8rem); line-height: 1.1; }
.pill { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; padding: 3px 9px; background: var(--sage); border-radius: 20px; color: var(--green); font-size: .74rem; font-weight: 750; }
.pill .location-dot { width: 6px; height: 6px; }
.join-steps { padding: 0; margin: 17px 0 15px 1.25rem; }
.join-steps li { padding-left: 6px; margin: 12px 0; }
.join-steps li::marker { color: #416c4e; font-weight: 800; }
.join-steps li span { display: block; font-size: .88rem; color: var(--muted); }
.meetup-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(12px, 2vw, 26px); padding: clamp(20px, 3.2vw, 32px); background: var(--white); border: 1px solid var(--line); border-radius: 6px; }
.meetup-card p { margin-top: 6px; }
.calendar-mark { width: 50px; height: 48px; padding: 20px 10px 0; border: 2px solid var(--green); border-radius: 5px; background: linear-gradient(var(--sage) 13px, var(--green) 13px 15px, transparent 15px); display: flex; align-items: start; justify-content: space-between; }
.calendar-mark span { width: 6px; height: 6px; background: #457558; border-radius: 2px; }
.resource-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.resource-card { position: relative; padding: 21px; min-height: 139px; background: var(--deep); color: var(--paper); border-radius: 5px; text-decoration: none; display: flex; flex-direction: column; justify-content: end; transition: background .16s; }
.resource-card:hover { background: #22523d; }
.resource-arrow { position: absolute; right: 17px; top: 12px; color: var(--lime); font-size: 1.2rem; }
.resource-card h3 { font-size: clamp(1.2rem, 2vw, 1.65rem); line-height: 1.08; margin-bottom: 7px; }
.resource-card p { color: #dfe8da; font-size: .82rem; }
.site-footer { margin-top: clamp(44px, 6vw, 90px); border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 23px; min-height: 94px; padding-block: 18px; }
.footer-row p { font-size: .84rem; }
.footer-row nav { margin-left: auto; }

dialog { position: fixed; width: min(520px, calc(100% - 28px)); max-height: calc(100% - 26px); padding: 0; background: var(--white); border: 1px solid var(--line); border-radius: 8px; color: var(--ink); box-shadow: 0 16px 50px #05141238; overflow: auto; }
dialog::backdrop { background: #081e17b8; }
.dialog-close { position: absolute; top: 13px; right: 13px; z-index: 1; width: 38px; height: 38px; border: 1px solid #93a899; border-radius: 50%; background: var(--white); color: var(--green); font-size: 24px; line-height: 1; }
.dialog-close:hover { background: var(--lime); }
.profile-head { display: flex; align-items: center; gap: 16px; padding: 24px 55px 21px 24px; background: var(--sage); }
.profile-head .member-art { width: 86px; height: 86px; min-height: unset; flex: 0 0 auto; border-radius: 5px; }
.profile-head .initials { font-size: 2.3rem; }
.profile-head h2 { font-size: clamp(1.6rem, 5vw, 2.5rem); overflow-wrap: anywhere; }
.profile-head > div + div { min-width: 0; }
.profile-body { padding: 22px 24px 26px; }
.profile-body p { white-space: pre-wrap; overflow-wrap: anywhere; }
.profile-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }

.sub-main { padding-top: clamp(39px, 7vw, 90px); min-height: 62vh; }
.page-intro { max-width: 77ch; margin-bottom: clamp(25px, 4vw, 48px); }
.page-intro .kicker { margin-bottom: 11px; }
.page-intro h1 { font-size: clamp(45px, 7.5vw, 93px); line-height: .94; }
.page-intro p:not(.kicker) { margin-top: 16px; font-size: 1.07rem; }
.studio-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px; align-items: start; }
.studio-panel { border: 1px solid var(--line); border-radius: 6px; background: var(--white); padding: clamp(17px, 2.5vw, 29px); }
.studio-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 11px; margin-bottom: 20px; }
.studio-heading h2 { font-size: clamp(1.6rem, 3.2vw, 2.45rem); }
.roster-list { display: grid; gap: 5px; }
.roster-item { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); color: var(--ink); text-align: left; font-size: .93rem; }
.roster-item strong { overflow-wrap: anywhere; }
.roster-item:hover, .roster-item[aria-pressed="true"] { background: var(--sage); border-color: #8faa89; }
.roster-item .pill { background: var(--paper); }
.studio-tools, .form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 19px; }
.microcopy { font-size: .8rem; margin-top: 10px; }
.form-status { color: #254a37; font-weight: 650; font-size: .88rem; margin-top: 7px; }
.form-status:empty { display: none; }
.form-status.error { color: #963719; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.form-grid label { display: grid; gap: 5px; font-size: .83rem; font-weight: 700; }
.form-grid label.wide { grid-column: 1 / -1; }
.form-grid textarea { resize: vertical; min-height: 112px; }
.checkbox-field { display: flex; align-items: center; gap: 7px; margin-top: 16px; font-size: .9rem; font-weight: 650; }
.checkbox-field input { accent-color: var(--green); width: 17px; height: 17px; flex-shrink: 0; }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-bottom: 34px; overflow: hidden; background: #4a6355; border-radius: 5px; }
.stat-row > div { background: var(--green); color: var(--white); padding: clamp(14px, 2.8vw, 32px); display: flex; flex-direction: column; }
.stat-row dt { color: #dbebd8; font-size: .8rem; font-weight: 650; }
.stat-row dd { order: -1; margin: 0 0 4px; font: 900 clamp(1.75rem, 4vw, 3.55rem)/1 var(--headline); color: var(--lime); letter-spacing: -.055em; }
.guide-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.guide-facts article { padding: clamp(18px, 2.5vw, 32px); background: var(--white); }
.guide-facts h3 { font-size: 1.38rem; margin-bottom: 7px; }
.guide-facts .text-link { margin-top: 9px; }
.directory-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-bottom: 14px; }
.directory-controls .search-field { flex: 1 1 220px; }
.directory-controls label { font-size: .83rem; font-weight: 700; }
.directory-controls select { background: var(--white); border: 1px solid var(--field-border); border-radius: 4px; padding: 9px 12px; min-height: 43px; color: var(--ink); }
.directory-count { font-size: .85rem; margin-bottom: 9px; }
.directory-table { width: 100%; border-collapse: collapse; text-align: left; background: var(--white); font-size: .9rem; }
.directory-table th, .directory-table td { border-bottom: 1px solid var(--line); padding: 10px 13px; }
.directory-table th { background: var(--sage); color: var(--deep); }
.directory-table tbody tr:hover { background: #f0f4e9; }
.directory-table th:last-child, .directory-table td:last-child { text-align: right; }
.directory-table a { text-underline-offset: .22em; font-weight: 670; }
.table-scroll { overflow: auto; max-height: 495px; }
.table-scroll th { position: sticky; top: 0; }
.link-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; list-style: none; gap: 0 18px; }
.link-list li { display: flex; flex-direction: column; padding-block: 12px; border-top: 1px solid var(--line); }
.link-list li span { color: var(--muted); font-size: .88rem; }

@media (max-width: 980px) {
  .wrap { width: min(100% - 48px, 1280px); }
  .nav-row { gap: 12px; }
  .main-nav { gap: 17px; }
  .hero-copy { padding-inline: 31px; }
  .hero h1 { font-size: clamp(54px, 8.6vw, 88px); }
  .hero-actions { margin-top: 18px; }
  .member-card { grid-template-columns: minmax(108px, 31%) minmax(0, 1fr); min-height: 184px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 30px); }
  .nav-row { grid-template-columns: 1fr auto; min-height: unset; padding-block: 12px 10px; row-gap: 10px; }
  .main-nav { grid-row: 2; grid-column: 1 / -1; gap: 2px 8px; justify-content: space-between; flex-wrap: wrap; }
  .main-nav a { display: inline-flex; align-items: center; min-height: 32px; font-size: .8rem; }
  .nav-cta { grid-row: 1; grid-column: 2; }
  .hero { grid-template-columns: 1fr; margin-top: 14px; }
  .hero-copy { padding: 32px 24px 31px; }
  .hero-location { margin-bottom: 19px; }
  .hero h1 { font-size: clamp(54px, 13.8vw, 91px); }
  .hero-intro { margin-top: 20px; }
  .hero-actions { margin-top: 20px; }

  .member-grid, .chapter-panel, .studio-grid { grid-template-columns: 1fr; }
  .chapter-panel .chapter-intro { padding-bottom: 29px; }
  .meetup-card { grid-template-columns: auto 1fr; align-items: start; }
  .meetup-card .button { grid-column: 2; justify-self: start; }
  .resource-grid, .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-card { min-height: 123px; padding: 16px; }
  .footer-row nav { margin-left: 0; }
  .guide-facts { grid-template-columns: 1fr; }
  .directory-table th, .directory-table td { padding-inline: 8px; }
}
@media (max-width: 380px) {
  .member-card { grid-template-columns: minmax(99px, 34%) minmax(0, 1fr); }
  .member-info { padding: 12px; }
  .member-meta { gap: 5px; }
  .form-grid, .link-list { grid-template-columns: 1fr; }
  .hero-actions { gap: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.bayc-tools { margin-top: 20px; }
.bayc-tools h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); margin-bottom: 8px; }

.directory-summary { margin: -10px 0 12px; font-size: .83rem; font-weight: 700; }
.directory-summary.error { color: #963719; }
.member-card.private-card { min-height: 138px; border-color: #d9ddd6; background: #f1f2ed; }
.private-card .member-art.private-art { min-height: 132px; background: repeating-linear-gradient(135deg, #e0e3db 0 2px, #e8eae5 2px 13px); }
.private-card .member-info { justify-content: center; }
.private-card :is(h3, .member-meta) { color: #545d54; }
.private-card h3 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); }
.lock-mark { width: 23px; height: 18px; border: 2px solid #6d766b; border-radius: 4px; position: relative; margin-top: 7px; }
.lock-mark::before { content: ""; position: absolute; width: 12px; height: 11px; left: 50%; bottom: 100%; transform: translateX(-50%); border: 2px solid #6d766b; border-bottom: 0; border-radius: 7px 7px 0 0; }
.lock-mark::after { content: ""; position: absolute; left: calc(50% - 1.5px); top: 5px; width: 3px; height: 5px; border-radius: 2px; background: #6d766b; }
.redacted-bio { width: min(100%, 145px); display: grid; gap: 5px; margin-top: 10px; }
.redacted-bio span { height: 4px; background: #d2d7ce; border-radius: 4px; }
.redacted-bio span + span { width: 62%; }
.private-preview-title { font-size: 1.85rem; margin-bottom: 16px; }
.private-preview { padding-top: 26px; }
.profile-communities { margin-top: 22px; }
.profile-communities h3 { font-size: 1.15rem; margin-bottom: 6px; }
.community-list { list-style: none; margin: 0; padding: 0; }
.community-list li { padding: 9px 0; display: flex; align-items: center; gap: 5px 12px; flex-wrap: wrap; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.community-list li .pill { margin-left: auto; }
.holder-form { display: grid; gap: 18px; max-width: 930px; }
.access-panel { max-width: 650px; }
.access-panel h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); margin-bottom: 10px; }
.visibility-panel { margin: 0; min-inline-size: 0; }
.visibility-panel legend { padding-inline: 7px; font: 800 clamp(1.4rem, 2.5vw, 2.15rem)/1 var(--headline); letter-spacing: -.04em; }
.visibility-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.visibility-option { display: flex; align-items: start; padding: 13px; border: 1px solid var(--line); border-radius: 5px; gap: 8px; cursor: pointer; }
.visibility-option:has(input:checked) { background: var(--sage); border-color: var(--field-border); }
.visibility-option input { margin: 5px 0 0; accent-color: var(--green); }
.visibility-option small { display: block; color: var(--muted); font-size: .76rem; }
.community-heading { align-items: start; margin-top: 22px; margin-bottom: 11px; }
.community-heading h3 { font-size: 1.25rem; }
.community-heading p { font-size: .85rem; margin-top: 4px; }
.community-fields { display: grid; gap: 6px; }
.community-edit-row { display: grid; grid-template-columns: 1fr auto 1fr auto; align-items: end; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); }
.community-edit-row label, .invite-result label, .add-holder label { font-size: .82rem; font-weight: 700; }
.community-edit-row :is(input, select), .invite-controls input { width: 100%; display: block; min-height: 37px; margin-top: 3px; padding: 5px 8px; color: var(--ink); background: var(--white); border: 1px solid var(--field-border); border-radius: 4px; }
.profile-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.profile-actions p { margin: 0 0 0 5px; }
.button:disabled { opacity: .55; cursor: wait; }
.roster-slot { background: var(--paper); }
.roster-slot small { display: block; color: var(--muted); font-size: .76rem; }
.invite-form { margin-top: 12px; }
.invite-result { margin-top: 15px; padding: 10px; background: var(--sage); border-radius: 4px; }
.invite-controls { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 8px; }
.add-holder { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 18px; }

@media (max-width: 700px) {
  .visibility-options { grid-template-columns: 1fr; }
  .community-edit-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .community-edit-row button { justify-self: start; }
  .profile-actions p { flex-basis: 100%; margin: 3px 0 0; }
}
@media (max-width: 380px) {
  .community-edit-row { grid-template-columns: minmax(0, 1fr); }
}
.auth-access { flex-basis: 100%; padding-bottom: 4px; }
.auth-fields { margin-top: 4px; }
.auth-form .form-actions { margin-top: 11px; }
.auth-form .card-button { margin: 0 0 0 3px; }
@media (max-width: 500px) {
  .auth-fields { grid-template-columns: 1fr; }
}


.heritage-grid { display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.heritage-card { display:grid; grid-template-columns:minmax(100px, 31%) minmax(0, 1fr); align-items:stretch; min-height: 195px; overflow:hidden; border:1px solid #d8d0bd; border-radius:6px; background:#fffaf0; }
.heritage-image { display:grid; place-items:center; padding: 8px; background:#d5c8af; }
.heritage-image img { height: clamp(140px,15vw,192px); width: auto; max-width: 100%; object-fit: contain; }
.heritage-copy { display:grid; align-content:center; justify-items:start; gap:7px; padding: clamp(12px,2vw,27px); }
.heritage-copy h3 { font: 700 clamp(1.22rem, 2.9vw, 2rem)/1.13 Georgia, serif; letter-spacing: -.037em; }
.heritage-copy p:not(.kicker) { font-size:.88rem; }
.heritage-copy .text-link { min-height:29px; }
.heritage-note a { color:var(--green); text-underline-offset:.2em; }
@media (max-width: 700px) {
  .nav-row { padding-block: 10px 6px; row-gap: 5px; }
  .main-nav { justify-content: flex-start; gap: 0 clamp(10px,3.1vw,20px); }
  .main-nav a { min-height:40px; }
  .nav-cta { min-height:44px; }
  .hero-copy { padding: 26px 21px; }
  .hero-location { margin-bottom: 15px; }
  .hero-intro, .hero-actions { margin-top: 17px; }
  .hero-exhibit { padding: 13px 14px 14px; gap: 10px; }
  .hero-object img { height: clamp(182px, 55vw, 290px); }
  .hero-exhibit figcaption { max-width: 330px; }
  .hero-exhibit figcaption strong { font-size: 1.21rem; }
  .member-card.private-card { grid-template-columns: 68px minmax(0, 1fr); min-height: 83px; }
  .private-card .member-art.private-art { min-height:83px; }
  .private-card .member-info { padding: 8px 12px; }
  .private-card .member-meta { margin-bottom: 3px; }
  .redacted-bio { margin-top:6px; }
  .heritage-grid { grid-template-columns: 1fr; gap: 9px; }
  .heritage-card { grid-template-columns: 110px minmax(0, 1fr); min-height: 140px; }
  .heritage-image img { height: 126px; }
  .hero-actions .button, .profile-actions .button, .form-actions .button, .member-info button { min-height:44px; }
  .form-grid :is(input, select, textarea), .community-edit-row :is(input, select), .invite-controls input { min-height:44px;font-size:1rem; }
  .directory-table { min-width: 510px; }
}
@media (max-width: 360px) {
  .hero h1 { font-size: clamp(48px, 14vw, 57px); }
  .hero-actions .button { gap: 7px; padding-inline: 10px; }
  .hero-actions { column-gap: 9px; }
  .hero-exhibit figcaption { grid-template-columns:1fr;}
  .heritage-card { grid-template-columns:92px minmax(0,1fr); }
}

@media (max-width: 380px) {
  .main-nav { gap: 0 10px; }
  .main-nav a { font-size: .77rem; }
}
