@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/ibm-plex-mono.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --black: #080808;
  --panel: #101010;
  --white: #f7f7f6;
  --copy: #c3c3c3;
  --quiet: #a7a7a7;
  --rule: #343434;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --gutter: clamp(1.25rem, 6.4vw, 7rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--black); color: var(--white); font: 400 1rem/1.6 "DM Sans", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
main { flex: 1; min-width: 0; }
main:focus { outline: none; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-weight: 560; }
h1 { font-size: clamp(4.5rem, 7.7vw, 8.25rem); line-height: .96; letter-spacing: -.075em; }
h2 { font-size: clamp(2.9rem, 4.65vw, 5.1rem); line-height: 1.03; letter-spacing: -.063em; }
h1 em, h2 em { font: italic 400 1.1em/.85 var(--serif); letter-spacing: -.045em; }
p { overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
button, a, summary, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
::selection { color: #080808; background: #e6e6e6; }
.wrap { width: min(100% - var(--gutter) * 2, 88rem); margin-inline: auto; }
.skip { position: absolute; top: .55rem; left: .55rem; z-index: 20; padding: .65rem 1rem; color: #080808; background: white; transform: translateY(-155%); }
.skip:focus { transform: none; }
.icon { width: 1.2rem; height: 1.2rem; flex-shrink: 0; display: inline-block; vertical-align: middle; }
.eyebrow { display: flex; gap: .8rem; align-items: center; font: 400 .8rem/1.4 var(--mono); letter-spacing: .105em; text-transform: uppercase; color: #c8c8c8; }
.eyebrow::before { content: ""; width: 1.8rem; height: 1px; background: #9d9d9d; flex: 0 0 auto; }
.button, .nav-join { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 3rem; padding: .78rem 1.35rem; border: 1px solid transparent; border-radius: .2rem; font-size: .99rem; font-weight: 650; line-height: 1.35; letter-spacing: -.014em; text-align: center; transition: background-color .18s, color .18s, border-color .18s; }
.button.light, .nav-join { color: #0c0c0c; background: var(--white); }
.button.light:hover, .nav-join:hover { background: #d7d7d7; }
.button.outline { color: var(--white); border-color: #676767; background: transparent; }
.button.outline:hover { background: #202020; border-color: #bdbdbd; }
.button:disabled, .button[aria-disabled=true] { color: #adadad; background: #272727; border-color: #393939; cursor: default; }
.button.wide { width: 100%; }
.text-link, .aside-note a { color: var(--white); text-decoration: underline; text-underline-offset: .33em; text-decoration-thickness: 1px; text-decoration-color: #797979; }
.text-link { display: inline-block; font-size: .96rem; font-weight: 560; padding-block: .4rem; width: fit-content; }
.text-link:hover, .aside-note a:hover { text-decoration-color: white; }
.site-header { position: relative; z-index: 6; border-bottom: 1px solid #2a2a2a; background: #080808; }
.header-inner { min-height: 5.05rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; width: fit-content; white-space: nowrap; line-height: 1; color: #fff; }
.brand img { width: 1.4rem; height: 1.96rem; }
.brand span { font-size: clamp(1.3rem, 1.6vw, 1.65rem); font-weight: 780; letter-spacing: -.048em; }
.primary-nav, .footer nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.5vw, 2.65rem); }
.primary-nav a:not(.nav-join), .footer nav a { color: var(--copy); font-size: .96rem; line-height: 1.45; }
.primary-nav a:not(.nav-join) { padding-block: .75rem; }
.primary-nav a:not(.nav-join):hover, .primary-nav a[aria-current=page]:not(.nav-join), .footer a:hover { color: white; text-decoration: underline; text-underline-offset: .35em; }
.nav-join { margin-left: .5rem; min-height: 2.65rem; padding: .62rem 1.2rem; font-size: .92rem; }
.menu-toggle { display: none; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: #030303; }
.hero-art { position: absolute; z-index: -1; inset: 0 max(0px, calc((100vw - 110rem) / 2)) 0 auto; width: min(66%, 69rem); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 39%; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #030303 0, rgba(3,3,3,.53) 12%, transparent 33%), linear-gradient(0deg, rgba(3,3,3,.51), transparent 19%); }
.hero-inner { display: flex; align-items: center; min-height: clamp(34rem, 45vw, 47.5rem); padding-block: clamp(3.1rem, 5vw, 5rem); }
.hero-copy { position: relative; width: 52%; max-width: 41rem; }
.hero h1 { font-size: clamp(5.7rem, 8.55vw, 9.5rem); margin: 1.65rem 0 1.65rem -.065em; padding-left: .03em; line-height: .89; letter-spacing: -.082em; }
.hero h1 em { font-size: 1.13em; line-height: .95; letter-spacing: -.046em; }
.hero-deck { max-width: 26.3rem; color: #c9c9c9; font-size: clamp(1.03rem, 1.35vw, 1.27rem); line-height: 1.58; }
.actions { display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; margin-top: 1.85rem; }
.practice-band { background: #101010; border-block: 1px solid var(--rule); }
.practice-row { display: grid; align-items: center; grid-template-columns: auto 1fr auto; gap: clamp(1.3rem, 2.6vw, 2.9rem); padding-block: 1.2rem; min-height: 5.8rem; }
.practice-label { display: flex; align-items: center; gap: .7rem; }
.practice-label .icon { width: 1.55rem; height: 1.55rem; color: #d9d9d9; }
.practice-label h2 { font: 400 .81rem/1.45 var(--mono); text-transform: uppercase; letter-spacing: .085em; }
.practice-copy { padding-left: clamp(1.3rem, 2.6vw, 2.9rem); border-left: 1px solid #484848; min-height: 2.2rem; }
.practice-copy span { display: block; margin-bottom: .12rem; font-size: .87rem; font-weight: 650; color: #ededed; }
.practice-copy p { font-size: .99rem; line-height: 1.5; color: #bcbcbc; }
.practice-next { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 2.75rem; padding: .5rem 0 .5rem .3rem; border: 0; background: transparent; color: #cfcfcf; font-size: .91rem; }
.practice-next:hover { color: #fff; text-decoration: underline; text-underline-offset: .28rem; }
.practice-next .icon { width: 1.03rem; height: 1.03rem; }
.section { padding-block: clamp(4.1rem, 6.7vw, 7.1rem); }
.section-intro { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 2.4rem; }
.section-intro h2, .symbol-copy h2, .invite-inner h2, .wear-section h2 { margin-top: 1rem; }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); border-block: 1px solid var(--rule); }
.value-card { display: block; padding: clamp(1.5rem, 2.7vw, 2.85rem); background: #0b0b0b; transition: background-color .18s; }
.value-card + .value-card { border-left: 1px solid var(--rule); }
.value-card:hover { background: #151515; }
.value-card:focus-visible { position: relative; z-index: 1; outline-offset: -3px; }
.value-card .icon { width: 1.95rem; height: 1.95rem; stroke-width: 1.25; }
.value-card h3 { margin-top: 1.5rem; font-size: clamp(1.55rem, 2vw, 2.3rem); font-weight: 540; line-height: 1.15; letter-spacing: -.04em; }
.value-card p, .symbol-copy>p:not(.eyebrow), .invite-inner p:not(.eyebrow), .asset-copy>p, .wear-section p:not(.eyebrow) { margin-top: .75rem; color: var(--copy); font-size: 1.04rem; line-height: 1.65; }
.value-card p { max-width: 24rem; }
.symbol-block { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(2.5rem, 6.5vw, 7rem); padding-bottom: clamp(4.5rem, 7vw, 7.5rem); }
.pin-frame { overflow: hidden; background: #141414; }
.pin-photo { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; }
.symbol-copy { max-width: 31rem; }
.symbol-copy>p:not(.eyebrow) { margin: 1.25rem 0 1.7rem; }
.invitation { background: #111; border-block: 1px solid var(--rule); }
.invite-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-block: clamp(3.3rem, 5.4vw, 6rem); }
.invite-inner h2 { font-size: clamp(2.65rem, 4.4vw, 4.7rem); }
.invite-inner p:not(.eyebrow) { max-width: 40rem; }
.invite-inner .button { flex: 0 0 auto; }
.footer { background: #080808; }
.footer-inner { min-height: 6.7rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; flex-wrap: wrap; padding-block: 1.8rem; }
.footer .brand img { width: 1.1rem; height: 1.55rem; }
.footer .brand span { font-size: 1.2rem; }
.footer nav { gap: clamp(.85rem, 2vw, 1.9rem); flex-wrap: wrap; }
.footer-email { font-size: .92rem; color: var(--quiet); overflow-wrap: anywhere; }
body:not([data-page=index]) .footer { border-top: 1px solid var(--rule); }
.page-intro { padding-block: clamp(3.7rem, 6.9vw, 7.3rem) clamp(2.8rem, 4.65vw, 5rem); max-width: 58rem; }
.page-intro h1, .form-intro h1 { margin: 1.25rem 0 1.5rem; }
.lead { max-width: 39rem; color: var(--copy); font-size: clamp(1.1rem, 1.6vw, 1.45rem); line-height: 1.5; letter-spacing: -.018em; }
.guide-layout { border-top: 1px solid var(--rule); display: grid; grid-template-columns: minmax(13rem, .45fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); padding-block: 3.1rem 5.5rem; }
.guide-aside nav { position: sticky; top: 2rem; display: grid; justify-items: start; gap: .6rem; }
.guide-aside h2 { font: 400 .84rem/1.5 var(--mono); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .5rem; color: var(--quiet); }
.guide-aside a { color: var(--copy); padding-block: .2rem; }
.guide-aside a:hover { color: white; text-decoration: underline; text-underline-offset: .25em; }
.principle-group + .principle-group { margin-top: 3.9rem; }
.principle-group h2, .asset-copy h2, .form-panel h2 { font-size: clamp(2rem, 3.1vw, 3.25rem); letter-spacing: -.055em; }
.group-intro { margin: .55rem 0 1.35rem; color: var(--quiet); }
.outlook h3 { margin: 1.5rem 0 .45rem; font-size: 1.28rem; font-weight: 580; letter-spacing: -.025em; }
.outlook h3 + p { max-width: 46rem; color: var(--copy); }
.outlook blockquote { margin: 1.65rem 0 2rem; padding-left: 1.25rem; border-left: 1px solid #888; }
.outlook blockquote p { max-width: 25ch; font: italic 400 clamp(2.1rem, 3.2vw, 3.3rem)/1.07 var(--serif); }
.outlook cite { display: block; margin-top: .55rem; color: var(--quiet); font-size: .9rem; font-style: normal; }
.principle { border-top: 1px solid var(--rule); }
.principle:last-child { border-bottom: 1px solid var(--rule); }
.principle summary { display: flex; min-height: 4.2rem; align-items: center; justify-content: space-between; gap: 1rem; list-style: none; cursor: pointer; font-size: clamp(1.3rem, 1.7vw, 1.72rem); font-weight: 530; letter-spacing: -.03em; line-height: 1.24; padding-block: .85rem; }
.principle summary::-webkit-details-marker { display: none; }
.principle summary:hover { color: #c3c3c3; }
.plus { position: relative; flex: 0 0 1.15rem; width: 1.15rem; height: 1.15rem; }
.plus::before, .plus::after { content:""; position: absolute; inset: 50% 0 auto; background: currentColor; height: 1px; }
.plus::after { transform: rotate(90deg); }
details[open] .plus::after { display: none; }
.principle-content { max-width: 44rem; padding: 0 1rem 1.7rem 0; }
.principle-content>p { color: var(--copy); }
.try { border-left: 2px solid #848484; margin: 1.1rem 0 .75rem; padding: .05rem 0 .05rem 1rem; }
.try strong { display: block; font-size: .88rem; font-weight: 650; }
.try p { margin-top: .2rem; }
.asset-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; border-top: 1px solid var(--rule); padding-top: 2.7rem; }
.mark-plaque { background: #000; border: 1px solid var(--rule); display: grid; place-items: center; aspect-ratio: 4/3; }
.mark-plaque img { width: 100%; height: 100%; object-fit: contain; }
.asset-copy>p { margin: .75rem 0 1.3rem; }
.download-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.05rem 0; border-top: 1px solid var(--rule); }
.download-row:last-child { border-bottom: 1px solid var(--rule); }
.download-row strong, .download-row small { display: block; }
.download-row strong { font-weight: 600; }
.download-row small { margin-top: .1rem; color: var(--quiet); font-size: .88rem; }
.icon-box { flex-shrink: 0; display: grid; place-items: center; width: 2.45rem; height: 2.45rem; border: 1px solid #515151; border-radius: 50%; }
.download-row:hover .icon-box { background: #282828; border-color: #a0a0a0; }
.wear-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; padding-block: clamp(4rem, 6vw, 7rem); }
.wear-section p:not(.eyebrow) { max-width: 35rem; }
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(20rem, .83fr); align-items: start; gap: clamp(2rem, 5.5vw, 6rem); padding-block: clamp(3.75rem, 7vw, 7.5rem); }
.form-intro { min-width: 0; }
.form-intro h1 { max-width: 9.8ch; }
.form-intro .lead { max-width: 27rem; }
.aside-note { max-width: 28rem; margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--rule); color: var(--quiet); font-size: 1rem; }
.aside-note a { overflow-wrap: anywhere; }
.form-panel { min-width: 0; padding: clamp(1.4rem, 3.1vw, 3.2rem); background: var(--panel); border: 1px solid var(--rule); border-radius: .25rem; }
.form-panel h2 { margin-bottom: 1.7rem; font-size: clamp(1.85rem, 2.6vw, 2.6rem); }
.field { display: grid; gap: .4rem; color: #e2e2e2; font-size: .98rem; font-weight: 550; margin-bottom: 1.15rem; }
.field small, .form-note, .panel-intro { font-size: .9rem; color: var(--quiet); font-weight: 400; line-height: 1.5; }
.field input, .field select, .field textarea { border: 1px solid #555; border-radius: .12rem; width: 100%; min-width: 0; background-color: #0b0b0b; color: var(--white); padding: .7rem .85rem; font-size: 1rem; line-height: 1.45; font-weight: 400; }
.field input, .field select { min-height: 3rem; }
.field input::placeholder, .field textarea::placeholder { color: #999; }
.field textarea { resize: vertical; }
.field select { appearance: none; padding-right: 2.6rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23e3e3e3' stroke-width='1.5'%3E%3Cpath d='m5 7.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 1.1rem; background-position: right .8rem center; }
.field select option { color: white; background: #111; }
.trap { position: absolute; width: 1px; height: 1px; clip-path: inset(100%); overflow: hidden; pointer-events: none; }
.form-note { margin: .25rem 0 1.2rem; }
.notice { border-left: 2px solid #a9a9a9; margin: 1rem 0 0; padding: .7rem 1rem; color: #f2f2f2; background: #1b1b1b; line-height: 1.55; }
.notice a { text-decoration: underline; text-underline-offset: .2em; overflow-wrap: anywhere; }
.panel-intro { margin: -.9rem 0 1.65rem; font-size: 1rem; }
.donation-panel fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; min-width: 0; }
.donation-panel legend { font-weight: 550; margin-bottom: .55rem; padding: 0; }
.amounts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .45rem; }
.amount { position: relative; cursor: pointer; }
.amount input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.amount span { display: grid; place-items: center; min-height: 3rem; border: 1px solid #606060; border-radius: .15rem; font-weight: 570; }
.amount input:checked + span { background: var(--white); color: #090909; border-color: var(--white); }
.amount input:focus-visible + span { outline: 2px solid white; outline-offset: 3px; }
.donation-panel form:has(input[name=amount]:checked:not([value=custom])) .custom-amount { display: none; }
.donation-panel .form-note { margin-top: .8rem; }
#donation-return { margin: 0 0 1.3rem; }
.response-panel { max-width: 46rem; margin: clamp(3rem, 8vw, 8rem) auto; }
.response-panel h1 { font-size: clamp(3.8rem, 6.5vw, 6.5rem); margin: 1.3rem 0; }
.response-panel .lead { margin: 0 0 1.5rem; }

@media (min-width: 1800px) {
  .hero-art::after { background: linear-gradient(90deg, #030303, transparent 30%, transparent 87%, #030303), linear-gradient(0deg, rgba(3,3,3,.51), transparent 19%); }
}
@media (max-width: 900px) {
  :root { --gutter: clamp(1.4rem, 4.7vw, 3rem); }
  .header-inner { gap: 1rem; }
  .primary-nav { gap: 1.4rem; }
  .practice-row { gap: 1.1rem; }
  .practice-copy { padding-left: 1.1rem; }
  .form-layout { grid-template-columns: minmax(0, .85fr) minmax(19.5rem, 1fr); }
}
@media (max-width: 720px) {
  .header-inner { min-height: 4.2rem; flex-wrap: wrap; gap: 0; }
  .brand img { width: 1.15rem; height: 1.66rem; }
  .primary-nav { width: 100%; flex-wrap: wrap; justify-content: flex-start; gap: .15rem 1.15rem; padding-bottom: .8rem; }
  .menu-toggle:not([hidden]) { display: flex; align-items: center; gap: .7rem; min-height: 2.9rem; padding: .3rem 0 .3rem .6rem; border: 0; background: transparent; color: var(--white); font-size: .96rem; }
  .menu-toggle i { width: 1.25rem; height: .7rem; border-block: 1px solid currentColor; }
  .menu-toggle[aria-expanded=true] i { position: relative; border: 0; }
  .menu-toggle[aria-expanded=true] i::before, .menu-toggle[aria-expanded=true] i::after { content: ""; position: absolute; inset: 50% 0 auto; height: 1px; background: currentColor; transform: rotate(45deg); }
  .menu-toggle[aria-expanded=true] i::after { transform: rotate(-45deg); }
  .nav-ready .primary-nav { display: none; }
  .nav-ready .primary-nav.open { display: flex; align-items: stretch; position: absolute; inset: 100% 0 auto; padding: .65rem var(--gutter) 1.25rem; background: #101010; border-bottom: 1px solid var(--rule); flex-direction: column; box-shadow: 0 1rem 2rem #0009; }
  .nav-ready .primary-nav.open a:not(.nav-join) { padding: .7rem 0; }
  .nav-join { margin: .45rem 0 0; }
  .hero-inner { min-height: 34.5rem; align-items: end; padding-block: 3.5rem 2.65rem; }
  .hero-art { width: 97%; }
  .hero-art img { object-position: 65% 32%; }
  .hero-art::after { background: linear-gradient(90deg, #030303 0, rgba(3,3,3,.82) 10%, rgba(3,3,3,.37) 43%, transparent 78%), linear-gradient(0deg, #030303 0, rgba(3,3,3,.78) 23%, rgba(3,3,3,.12) 65%, transparent); }
  .hero-copy { width: 79%; }
  .hero h1 { font-size: clamp(4.9rem, 12vw, 6.7rem); margin-block: 1.2rem; }
  .hero-deck { max-width: 22rem; }
  .actions { margin-top: 1.4rem; gap: 1.2rem; }
  .practice-row { grid-template-columns: 1fr auto; gap: .55rem 1.2rem; padding-block: 1.05rem 1.25rem; }
  .practice-label { grid-column: 1; grid-row: 1; }
  .practice-copy { grid-column: 1/-1; grid-row: 2; border-left: 0; padding: 0; }
  .practice-next { grid-column: 2; grid-row: 1; min-height: 2.75rem; }
  .practice-copy span { display: inline; margin-right: .25rem; }
  .practice-copy p { display: inline; }
  .section-intro { display: grid; gap: .7rem; margin-bottom: 1.55rem; }
  .value-card { padding: 1.2rem; }
  .value-card p { font-size: 1rem; }
  .symbol-block, .asset-section, .wear-section { grid-template-columns: 1fr; gap: 1.8rem; }
  .symbol-copy { max-width: 37rem; }
  .symbol-copy h2 br { display:none; }
  .invite-inner { display: grid; gap: 1.4rem; }
  .invite-inner .button { justify-self: start; }
  .footer-inner { display: grid; gap: 1.05rem; }
  .guide-layout { grid-template-columns: 1fr; padding-top: 1.2rem; gap: 2.2rem; }
  .guide-aside nav { position: static; display: flex; flex-wrap: wrap; gap: .15rem 1.2rem; }
  .guide-aside h2 { flex: 1 0 100%; }
  .guide-aside a { text-decoration: underline; text-underline-offset: .22em; padding-block: .4rem; }
  .asset-section { padding-top: 1.5rem; }
  .mark-plaque { aspect-ratio: 16/9; }
  .form-layout { grid-template-columns: 1fr; gap: 2rem; padding-block: 3rem 4rem; }
  .form-intro h1 { max-width: unset; }
  .form-intro .lead { max-width: 39rem; }
  .aside-note { max-width: 39rem; margin-top: 1.1rem; padding-top: .9rem; }
}
@media (max-width: 520px) {
  .hero-inner { min-height: 35.6rem; padding-bottom: 2.2rem; }
  .hero-copy { width: 100%; }
  .hero-art { width: 100%; height: 88%; }
  .hero-art img { object-position: 61% 32%; }
  .hero-art::after { background: linear-gradient(90deg, rgba(3,3,3,.75), transparent 86%), linear-gradient(0deg, #030303 0, rgba(3,3,3,.54) 37%, rgba(3,3,3,.08) 87%); }
  .hero-deck { max-width: 22rem; font-size: 1.03rem; }
  .values-grid { grid-template-columns: 1fr; }
  .value-card, .value-card + .value-card { padding: 1.3rem .85rem 1.3rem 3.55rem; position: relative; border-left: 0; }
  .value-card + .value-card { border-top: 1px solid var(--rule); }
  .value-card .icon { position: absolute; top: 1.45rem; left: .6rem; width: 1.65rem; height: 1.65rem; }
  .value-card h3 { margin: 0; }
  .value-card p { margin-top: .35rem; }
  .section { padding-block: 3.35rem; }
  h1 { font-size: clamp(3.9rem, 13vw, 5.3rem); }
  .eyebrow { font-size: .77rem; }
  .footer nav { gap: .3rem 1.05rem; }
  .footer nav a { padding-block: .35rem; }
}
@media (max-width: 370px) {
  :root { --gutter: 1.05rem; }
  .hero-inner { min-height: 34.5rem; }
  .hero h1 { font-size: 4.65rem; }
  .actions { gap: .85rem; }
  .actions .button { padding-inline: .8rem; }
  .practice-next { font-size: .84rem; }
  .form-panel { padding: 1.05rem; }
  .amounts { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; }
}

/* ==========================================================================
   Trevhald Society application layer
   Extends the original design system: black ground, white type, hairline rules.
   ========================================================================== */
:root { --ok: #9fd3a8; --warn: #e6c97a; --bad: #f0a3a3; --line-soft: #242424; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.muted { color: var(--quiet); }
.small { font-size: .9rem; }
.mono { font-family: var(--mono); font-size: .85rem; letter-spacing: .02em; }
.pre { white-space: pre-line; overflow-wrap: anywhere; }
.stack > * + * { margin-top: 1rem; }
.stack-sm > * + * { margin-top: .5rem; }
.stack-lg > * + * { margin-top: 2rem; }
.row { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.row.end { justify-content: flex-end; }
.grow { flex: 1 1 auto; min-width: 0; }
.inline { display: inline; }
.link { text-decoration: underline; text-underline-offset: .25em; text-decoration-color: #797979; }
.link:hover { text-decoration-color: #fff; }
hr.rule { border: 0; border-top: 1px solid var(--rule); margin: 1.5rem 0; }

/* Header additions */
.nav-account { color: var(--copy); }
.nav-count { display: inline-grid; place-items: center; min-width: 1.35rem; height: 1.35rem; margin-left: .3rem; padding: 0 .35rem; border-radius: 1rem; background: var(--white); color: #080808; font-size: .72rem; font-weight: 700; line-height: 1; vertical-align: .1em; }
.announcement { background: var(--white); color: #080808; font-size: .92rem; font-weight: 550; }
.announcement .wrap { padding-block: .55rem; }
.flash-wrap { padding-top: 1.25rem; }
.flash { border-left: 2px solid var(--white); padding: .8rem 1rem; background: #161616; line-height: 1.5; }
.flash.error { border-color: var(--bad); }
.flash ul { margin: .3rem 0 0; padding-left: 1.2rem; }

/* Buttons */
.button.small { min-height: 2.35rem; padding: .45rem .9rem; font-size: .88rem; }
.button.danger { color: #080808; background: var(--bad); }
.button.danger:hover { background: #ffc1c1; }
.button.ghost { color: var(--copy); background: transparent; border-color: transparent; padding-inline: .4rem; }
.button.ghost:hover { color: #fff; background: #1a1a1a; }
.button.ghost.active { color: #fff; }
button.linklike { border: 0; background: none; color: inherit; padding: 0; text-decoration: underline; text-underline-offset: .25em; text-decoration-color: #797979; cursor: pointer; }
button.linklike:hover { text-decoration-color: #fff; }

/* App shell */
.app-layout { display: grid; grid-template-columns: 13.5rem minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 3rem); padding-block: 2rem 5rem; align-items: start; }
.app-layout.with-aside { grid-template-columns: 13.5rem minmax(0, 1fr) 17rem; }
.app-nav { position: sticky; top: 1.25rem; display: grid; gap: .1rem; }
.app-nav h2 { font: 400 .76rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .09em; color: var(--quiet); margin: 1.1rem 0 .35rem; }
.app-nav h2:first-child { margin-top: 0; }
.app-nav a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .45rem .6rem; border-radius: .15rem; color: var(--copy); font-size: .95rem; }
.app-nav a:hover { color: #fff; background: #141414; }
.app-nav a[aria-current=page] { color: #fff; background: #1a1a1a; box-shadow: inset 2px 0 0 #fff; }
.app-main { min-width: 0; }
.app-aside { display: grid; gap: 1.25rem; position: sticky; top: 1.25rem; }
.page-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.page-head h1 { font-size: clamp(2.3rem, 3.6vw, 3.6rem); line-height: 1; letter-spacing: -.06em; margin-top: .6rem; }
.page-head .lead { margin-top: .6rem; font-size: 1.05rem; }
.section-title { font-size: clamp(1.45rem, 2vw, 1.9rem); letter-spacing: -.045em; font-weight: 560; margin-bottom: .9rem; }
h3.sub { font-size: 1.1rem; font-weight: 600; letter-spacing: -.02em; }

/* Cards & panels */
.card { background: var(--panel); border: 1px solid var(--rule); border-radius: .25rem; padding: clamp(1rem, 2vw, 1.5rem); min-width: 0; }
.card.flat { background: transparent; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); gap: 1rem; }
.card-link { display: block; transition: border-color .18s, background-color .18s; }
.card-link:hover { border-color: #5a5a5a; background: #141414; }
.card h3 { font-size: 1.2rem; font-weight: 580; letter-spacing: -.03em; line-height: 1.25; }
.empty { padding: 2rem; border: 1px dashed #3a3a3a; border-radius: .25rem; color: var(--quiet); text-align: center; }
.list { border-top: 1px solid var(--rule); }
.list > li, .list > .item { display: flex; gap: 1rem; align-items: center; justify-content: space-between; padding: .9rem 0; border-bottom: 1px solid var(--rule); }
ul.list, ol.list { list-style: none; margin: 0; padding: 0; }
.meta { color: var(--quiet); font-size: .86rem; }
.meta a:hover { color: #fff; text-decoration: underline; }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .12rem .5rem; border: 1px solid #555; border-radius: 1rem; font: 400 .72rem/1.5 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--copy); white-space: nowrap; }
.badge.ok, .badge.approved, .badge.paid, .badge.active, .badge.shipped, .badge.completed { border-color: #3f6e48; color: var(--ok); }
.badge.pending, .badge.suspended, .badge.open { border-color: #7a6a3a; color: var(--warn); }
.badge.rejected, .badge.hidden, .badge.banned, .badge.cancelled, .badge.refunded { border-color: #7a3a3a; color: var(--bad); }
.badge.solid { background: #fff; color: #080808; border-color: #fff; }

/* Avatars */
.avatar { display: inline-grid; place-items: center; flex: 0 0 auto; width: 2.6rem; height: 2.6rem; border-radius: 50%; overflow: hidden; background: #222; border: 1px solid #3a3a3a; color: #e8e8e8; font-size: .85rem; font-weight: 650; letter-spacing: .02em; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.lg { width: 5.5rem; height: 5.5rem; font-size: 1.6rem; }
.avatar.sm { width: 2rem; height: 2rem; font-size: .7rem; }

/* Composer & posts */
.composer textarea { min-height: 6rem; }
.composer .row { margin-top: .6rem; }
.file-pick { display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; color: var(--copy); font-size: .92rem; }
.file-pick input { max-width: 15rem; font-size: .82rem; color: var(--quiet); }
.post { padding: 1.25rem 0; border-bottom: 1px solid var(--rule); }
.post:first-child { border-top: 1px solid var(--rule); }
.post-head { display: flex; align-items: center; gap: .75rem; }
.post-head .who { min-width: 0; }
.post-head .who a { font-weight: 600; }
.post-body { margin-top: .85rem; color: #e6e6e6; white-space: pre-line; overflow-wrap: anywhere; line-height: 1.6; }
.media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem; margin-top: .85rem; }
.media-grid.one { grid-template-columns: 1fr; }
.media-grid img, .media-grid video { width: 100%; height: 100%; max-height: 32rem; object-fit: cover; background: #111; border-radius: .15rem; }
.media-grid.one img { object-fit: contain; max-height: 38rem; }
.post-actions { display: flex; align-items: center; gap: 1.1rem; margin-top: .8rem; color: var(--quiet); font-size: .88rem; flex-wrap: wrap; }
.post-actions a:hover, .post-actions button:hover { color: #fff; }
.react { display: inline-flex; align-items: center; gap: .35rem; border: 0; background: none; color: inherit; padding: .2rem 0; cursor: pointer; font-size: .88rem; }
.react[aria-pressed=true] { color: #fff; }
.react[aria-pressed=true] svg { fill: currentColor; }
.comment { display: flex; gap: .75rem; padding: .9rem 0; border-top: 1px solid var(--line-soft); }
.comment .post-body { margin-top: .25rem; }
.status-note { margin-top: .6rem; padding: .45rem .75rem; border-left: 2px solid var(--warn); background: #17150e; color: #ece0bd; font-size: .88rem; }

/* Tabs & filters */
.tabs { display: flex; gap: .25rem; flex-wrap: wrap; border-bottom: 1px solid var(--rule); margin-bottom: 1.5rem; }
.tabs a { padding: .6rem .85rem; color: var(--copy); font-size: .95rem; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: #fff; }
.tabs a[aria-current=page] { color: #fff; border-color: #fff; }
.filters { display: flex; gap: .6rem; flex-wrap: wrap; align-items: end; margin-bottom: 1.5rem; }
.filters .field { margin: 0; }
.filters .field input, .filters .field select { min-height: 2.6rem; padding-block: .45rem; }

/* Forms */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.form-grid .span-2 { grid-column: 1 / -1; }
.check { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: 1rem; font-size: .96rem; color: #e2e2e2; cursor: pointer; }
.check input { flex: 0 0 auto; width: 1.15rem; height: 1.15rem; margin: .2rem 0 0; accent-color: #fff; }
.check small { display: block; color: var(--quiet); font-size: .88rem; margin-top: .15rem; }
.choice-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin-bottom: 1rem; }
.choice-card { position: relative; display: block; padding: .9rem 1rem; border: 1px solid #555; border-radius: .2rem; cursor: pointer; }
.choice-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-card strong { display: block; font-weight: 620; }
.choice-card span { display: block; color: var(--quiet); font-size: .88rem; margin-top: .2rem; line-height: 1.45; }
.choice-card:has(input:checked) { border-color: #fff; background: #1a1a1a; box-shadow: inset 0 0 0 1px #fff; }
.choice-card:has(input:focus-visible) { outline: 2px solid #fff; outline-offset: 3px; }
.field-error { color: var(--bad); font-size: .88rem; font-weight: 400; }
.field input[aria-invalid=true], .field select[aria-invalid=true], .field textarea[aria-invalid=true] { border-color: var(--bad); }
.field input[type=file] { padding: .55rem; min-height: auto; }
.field input[type=checkbox] { width: auto; min-height: auto; }
fieldset.plain { border: 0; padding: 0; margin: 0 0 1rem; min-width: 0; }
fieldset.plain legend { font-weight: 550; margin-bottom: .55rem; padding: 0; }
.consent-box { border: 1px solid var(--rule); background: #0c0c0c; padding: 1rem; border-radius: .2rem; margin-bottom: 1rem; }
.public-only { border-left: 1px solid #444; padding-left: 1rem; margin: -.25rem 0 1rem; }
.form-panel.wide { max-width: none; }
.auth-layout { display: grid; place-items: start center; padding-block: clamp(3rem, 7vw, 6rem); }
.auth-layout .form-panel { width: min(100%, 30rem); }
.auth-layout .form-panel h1 { font-size: clamp(2.4rem, 4vw, 3.4rem); margin: .8rem 0 1.4rem; }
.qr { background: #fff; padding: .8rem; display: inline-block; border-radius: .2rem; }
.qr svg { display: block; width: 12rem; height: 12rem; }
.codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: .3rem 1rem; font-family: var(--mono); font-size: .9rem; padding: 1rem; background: #0b0b0b; border: 1px solid var(--rule); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: .2rem; }
table.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th, .table td { text-align: left; padding: .7rem .85rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.table th { font: 400 .74rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--quiet); background: #0d0d0d; white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #0f0f0f; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table td.cell-actions { white-space: nowrap; text-align: right; }

/* Stats */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-bottom: 2rem; }
.stat { background: #0c0c0c; padding: 1.1rem 1.2rem; }
.stat strong { display: block; font-size: 1.9rem; font-weight: 560; letter-spacing: -.04em; line-height: 1.1; }
.stat span { display: block; margin-top: .3rem; color: var(--quiet); font-size: .86rem; }
.stat a:hover strong { text-decoration: underline; }
.chart { width: 100%; height: 9rem; display: block; }
.chart rect { fill: #e8e8e8; }
.chart text { fill: #8f8f8f; font: 10px var(--mono); }
.progress { width: 100%; height: .5rem; accent-color: #fff; }

/* Directory */
.directory { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.member-card { background: #0b0b0b; padding: 1.1rem 1.2rem; min-height: 6.5rem; }
.member-card strong { display: block; font-size: 1.08rem; font-weight: 600; letter-spacing: -.02em; }
.member-card.private strong { color: var(--quiet); font-weight: 450; font-style: italic; }
.member-card .meta { margin-top: .3rem; }
.member-card .badge { margin-top: .6rem; }
.directory-summary { display: flex; gap: 2.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.directory-summary strong { display: block; font-size: 2.4rem; font-weight: 560; letter-spacing: -.05em; line-height: 1; }

/* Profiles, groups, events */
.profile-head { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.profile-head h1 { font-size: clamp(2rem, 3.2vw, 3rem); letter-spacing: -.05em; line-height: 1.05; }
.facts { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: .5rem; color: var(--quiet); font-size: .92rem; }
.facts strong { color: #fff; font-weight: 600; }
.date-tile { flex: 0 0 auto; display: grid; place-items: center; width: 4rem; height: 4.3rem; border: 1px solid #555; border-radius: .2rem; line-height: 1.05; }
.date-tile b { font-size: 1.55rem; font-weight: 580; letter-spacing: -.04em; }
.date-tile small { font: 400 .68rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--quiet); }
.event-row { display: flex; gap: 1rem; align-items: flex-start; }
.thread-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); align-items: center; }
.thread-row h3 { font-size: 1.08rem; font-weight: 580; letter-spacing: -.02em; }
.thread-row h3 a:hover { text-decoration: underline; }
.counter { text-align: right; color: var(--quiet); font-size: .85rem; white-space: nowrap; }
.counter b { display: block; color: #fff; font-size: 1.15rem; font-weight: 560; }

/* Messages */
.conversation { display: grid; gap: .6rem; max-height: 60vh; overflow-y: auto; padding: 1rem; border: 1px solid var(--rule); border-radius: .2rem; background: #0b0b0b; }
.bubble { max-width: min(36rem, 85%); padding: .65rem .9rem; border-radius: .9rem .9rem .9rem .2rem; background: #1b1b1b; white-space: pre-line; overflow-wrap: anywhere; }
.bubble.mine { justify-self: end; background: #eaeaea; color: #0a0a0a; border-radius: .9rem .9rem .2rem .9rem; }
.bubble .meta { display: block; margin-top: .25rem; font-size: .74rem; }
.bubble.mine .meta { color: #555; }
.unread { font-weight: 650; color: #fff; }
.unread-dot { display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: #fff; margin-right: .4rem; }

/* Shop */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(14.5rem, 1fr)); gap: 1.5rem 1.25rem; }
.product-card { display: block; }
.product-card .thumb, .product-thumb { aspect-ratio: 1; background: #111; border: 1px solid var(--line-soft); overflow: hidden; display: grid; place-items: center; }
.product-card .thumb img, .product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.product-card:hover .thumb img { transform: scale(1.03); }
.product-card h3 { margin-top: .8rem; font-size: 1.08rem; font-weight: 580; letter-spacing: -.02em; }
.price { font-weight: 620; font-variant-numeric: tabular-nums; }
.price s { color: var(--quiet); font-weight: 400; margin-left: .4rem; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 5rem); padding-block: 2.5rem 5rem; align-items: start; }
.gallery { display: grid; gap: .5rem; }
.gallery .thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #111; }
.product-info h1 { font-size: clamp(2.2rem, 3.6vw, 3.4rem); letter-spacing: -.055em; line-height: 1.02; margin: .8rem 0 1rem; }
.product-info .price { font-size: 1.5rem; }
.prose { color: var(--copy); line-height: 1.7; max-width: 46rem; }
.prose h2 { font-size: 1.6rem; letter-spacing: -.04em; margin: 2.2rem 0 .7rem; color: #fff; }
.prose h3 { font-size: 1.2rem; margin: 1.6rem 0 .5rem; color: #fff; font-weight: 600; }
.prose p, .prose ul, .prose ol, .prose table, .prose blockquote { margin: 0 0 1rem; }
.prose a { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
.prose strong { color: #fff; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--rule); padding: .55rem .7rem; text-align: left; vertical-align: top; }
.prose th { background: #111; color: #fff; }
.prose blockquote { border-left: 2px solid #777; padding-left: 1rem; }
.cart-line { display: grid; grid-template-columns: 5rem minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.cart-line .product-thumb { width: 5rem; }
.qty { width: 4.5rem !important; min-height: 2.4rem !important; padding: .35rem .5rem !important; }
.totals { display: grid; gap: .35rem; margin: 1.2rem 0; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { padding-top: .6rem; border-top: 1px solid var(--rule); font-size: 1.2rem; font-weight: 620; }
.ad-card { border: 1px solid var(--rule); background: #0d0d0d; border-radius: .25rem; overflow: hidden; }
.ad-card .thumb { aspect-ratio: 16 / 10; background: #111; }
.ad-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.ad-card .body { padding: .9rem 1rem 1rem; }
.ad-card .label { font: 400 .68rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--quiet); }
.ad-card h3 { font-size: 1.02rem; font-weight: 600; margin-top: .3rem; }
.ad-card p { color: var(--copy); font-size: .88rem; margin-top: .25rem; }
.ad-inline { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.ad-inline .thumb { aspect-ratio: 1; }
.ad-inline .thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Pagination */
.pagination { display: flex; gap: .35rem; flex-wrap: wrap; align-items: center; margin-top: 1.75rem; }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 2.4rem; height: 2.4rem; padding: 0 .7rem; border: 1px solid #3a3a3a; border-radius: .15rem; font-size: .9rem; color: var(--copy); }
.pagination a:hover { border-color: #aaa; color: #fff; }
.pagination [aria-current=page] { background: #fff; color: #080808; border-color: #fff; }
.pagination .disabled { opacity: .4; }

/* Footer additions */
.footer-legal { border-top: 1px solid var(--line-soft); }
.footer-legal .wrap { display: flex; gap: .4rem 1.3rem; flex-wrap: wrap; padding-block: 1rem 1.4rem; font-size: .84rem; color: var(--quiet); }
.footer-legal a:hover { color: #fff; text-decoration: underline; }

/* Home additions */
.member-count { display: flex; align-items: baseline; gap: .8rem; margin-top: 1.7rem; color: var(--copy); font-size: .95rem; }
.member-count strong { color: #fff; font-size: 1.6rem; font-weight: 560; letter-spacing: -.04em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--rule); }
.feature-grid > div { padding: clamp(1.4rem, 2.5vw, 2.4rem); background: #0b0b0b; }
.feature-grid > div + div { border-left: 1px solid var(--rule); }
.feature-grid h3 { margin-top: 1rem; font-size: 1.35rem; font-weight: 560; letter-spacing: -.035em; }
.feature-grid p { margin-top: .5rem; color: var(--copy); }

@media (max-width: 1180px) {
  .app-layout.with-aside { grid-template-columns: 13.5rem minmax(0, 1fr); }
  .app-layout.with-aside .app-aside { grid-column: 2; position: static; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
}
@media (max-width: 900px) {
  .app-layout, .app-layout.with-aside { grid-template-columns: 1fr; padding-top: 1rem; }
  .app-layout.with-aside .app-aside { grid-column: auto; }
  .app-nav { position: static; display: flex; flex-wrap: nowrap; overflow-x: auto; gap: .2rem; padding-bottom: .6rem; border-bottom: 1px solid var(--rule); scrollbar-width: thin; }
  .app-nav h2 { display: none; }
  .app-nav a { flex: 0 0 auto; white-space: nowrap; }
  .app-nav a[aria-current=page] { box-shadow: inset 0 -2px 0 #fff; }
  .product-layout { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid > div + div { border-left: 0; border-top: 1px solid var(--rule); }
}
@media (max-width: 620px) {
  .form-grid, .choice-cards { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 4rem minmax(0, 1fr); }
  .cart-line > :last-child { grid-column: 2; }
  .thread-row { grid-template-columns: 1fr; }
  .counter { text-align: left; }
  .table th, .table td { padding: .55rem .6rem; }
}
.block { display: block; }
.section-top { padding-top: 2rem; } .section-sm { margin-top: 1rem; }
.gap-top { margin-top: 1.75rem; }
dl.details { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .45rem 1rem; margin: 0; font-size: .94rem; }
dl.details dt { color: var(--quiet); }
dl.details dd { margin: 0; overflow-wrap: anywhere; }
.narrow { max-width: 40rem; }
details > summary { cursor: pointer; }
.table img.thumb { width: 3rem; height: 3rem; object-fit: cover; border-radius: .15rem; background: #111; display: block; }
.field.compact { margin: 0; gap: .25rem; font-size: .85rem; }
.field.compact input { min-height: 2.4rem; padding-block: .4rem; }
.image-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.image-admin figure { margin: 0; display: grid; gap: .5rem; }
.image-admin img { aspect-ratio: 1; object-fit: cover; width: 100%; background: #111; border: 1px solid var(--line-soft); }
code { font-family: var(--mono); font-size: .85em; }
.wrap-code { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--quiet); }
.error-page { padding-block: clamp(4rem, 12vw, 9rem); max-width: 44rem; } .error-page h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); letter-spacing: -.06em; line-height: 1; margin: 1rem 0; }
.stat-grid { background: transparent; gap: 0; border: 0; }
.stat { border: 1px solid var(--rule); margin: 0 -1px -1px 0; }
.chart { height: auto; }
.form-grid { align-items: start; }
.row > .check, .row > .field { margin-bottom: 0; }
.row.bottom { align-items: end; }
.flash + .flash { margin-top: .5rem; }
.pad-bottom { padding-bottom: clamp(3rem, 6vw, 5rem); }
ul[role=list], ol[role=list] { list-style: none; padding: 0; margin: 0; }
.directory { background: transparent; gap: 0; border: 0; }
.member-card { border: 1px solid var(--rule); margin: 0 -1px -1px 0; }
