:root {
  color-scheme: light;
  --bg: #f7f7f1;
  --surface: #fffefa;
  --surface-soft: #f0f2ec;
  --ink: #252d28;
  --muted: #69736c;
  --green: #1d4a39;
  --green-dark: #16372c;
  --green-soft: #e2ebe3;
  --gold: #d4b66b;
  --line: #e2e6df;
  --danger: #a43d38;
  --radius: 1.25rem;
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4, .wordmark, .display { font-family: "Archivo", ui-sans-serif, system-ui, sans-serif; letter-spacing: -.035em; }

:focus-visible { outline: 3px solid #ccaa54; outline-offset: 3px; }
.skip-link { position: fixed; z-index: 200; top: .5rem; left: .5rem; transform: translateY(-150%); border-radius: .5rem; background: white; padding: .75rem 1rem; }
.skip-link:focus { transform: translateY(0); }
.container { width: min(1160px, calc(100% - 3rem)); margin-inline: auto; }
.narrow { width: min(820px, calc(100% - 3rem)); margin-inline: auto; }
.eyebrow { margin: 0; color: var(--green); font-size: .74rem; font-weight: 700; letter-spacing: .16em; line-height: 1.4; text-transform: uppercase; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.section-space { padding-block: 7rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.section-heading h2 { margin: 0; font-size: clamp(3.3rem, 8vw, 7rem); line-height: .88; }
.section-heading .eyebrow { padding-bottom: .5rem; }

.site-header { position: absolute; z-index: 20; inset: 1rem 0 auto; padding-inline: 1rem; }
.site-header.solid { position: relative; inset: auto; padding-top: 1rem; }
.nav-shell { width: min(1280px, 100%); min-height: 60px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border: 1px solid rgb(255 255 255 / 25%); border-radius: 999px; padding: .6rem 1rem .6rem 1.25rem; background: rgb(27 40 33 / 46%); color: #fffefa; backdrop-filter: blur(16px) saturate(135%); }
.solid .nav-shell { border-color: var(--line); background: rgb(255 254 250 / 80%); color: var(--ink); }
.wordmark { display: inline-flex; align-items: baseline; gap: .35rem; white-space: nowrap; font-size: 1.2rem; font-weight: 700; letter-spacing: -.04em; }
.wordmark .light { font-weight: 300; }
.wordmark i { width: .42rem; height: .42rem; margin-left: .12rem; border-radius: 50%; background: var(--gold); }
.nav-links { display: flex; align-items: center; gap: clamp(.65rem, 1.6vw, 1.35rem); }
.nav-links a { color: inherit; font-size: .77rem; font-weight: 600; opacity: .82; transition: opacity .18s ease, color .18s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); opacity: 1; }
.solid .nav-links a.active { color: var(--green); }
.nav-actions { display: flex; align-items: center; gap: .5rem; }
.menu-toggle { display: none; width: 2.6rem; height: 2.6rem; border: 0; border-radius: 50%; background: transparent; color: inherit; font-size: 1.35rem; cursor: pointer; }
.mobile-nav { display: none; }

.button { display: inline-flex; min-height: 2.8rem; align-items: center; justify-content: center; gap: .5rem; border: 1px solid transparent; border-radius: 999px; padding: .72rem 1.25rem; background: var(--green); color: white; font-size: .88rem; font-weight: 700; line-height: 1.2; cursor: pointer; transition: background .18s ease, transform .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-1px); background: var(--green-dark); }
.button:disabled { cursor: wait; opacity: .6; transform: none; }
.button-light { background: var(--surface); color: var(--ink); }
.button-light:hover { background: var(--gold); color: var(--ink); }
.button-outline { border-color: var(--line); background: transparent; color: var(--ink); }
.button-outline:hover { background: var(--surface-soft); }
.button-small { min-height: 2.25rem; padding: .55rem .9rem; font-size: .79rem; }
.button-link { border: 0; background: none; padding: .25rem 0; color: var(--green); font-size: .88rem; font-weight: 700; cursor: pointer; }
.button-link:hover { text-decoration: underline; }
.pill { display: inline-flex; align-items: center; border-radius: 999px; padding: .4rem .75rem; background: var(--green-soft); color: var(--green); font-size: .72rem; font-weight: 700; }
.pill.gold { background: #f5edd8; color: #705821; }
.pill.red { background: #f5e3e1; color: var(--danger); }
.pill.neutral { background: #edf0eb; color: #59635c; }

.hero-wrap { padding: 1rem; }
.hero { position: relative; display: flex; min-height: min(780px, 94svh); min-height: max(640px, 94svh); flex-direction: column; justify-content: space-between; overflow: hidden; border-radius: 2rem; padding: 9rem clamp(1.5rem, 5vw, 4.5rem) 2.5rem; background: #64756a; color: #fffefa; }
.hero::before { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(15 30 22 / 57%), rgb(21 34 28 / 12%) 70%), linear-gradient(0deg, rgb(16 28 21 / 45%), transparent 60%); content: ""; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-content, .hero-bottom { position: relative; z-index: 1; }
.hero h1 { max-width: 740px; margin: 0; font-size: clamp(4.5rem, 12vw, 10rem); font-weight: 600; line-height: .83; letter-spacing: -.065em; }
.hero-copy { max-width: 480px; margin: 2rem 0 0; font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.7; opacity: .91; }
.hero-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: 2rem; }
.hero-bottom { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.hero-word { margin: 0 0 -.05em -.04em; color: rgb(255 255 255 / 30%); font-family: "Archivo", sans-serif; font-size: clamp(7rem, 18vw, 16rem); font-weight: 600; letter-spacing: -.075em; line-height: .7; }
.hero-tags { display: flex; max-width: 470px; flex-wrap: wrap; justify-content: end; gap: .5rem; }
.hero-tags span { border: 1px solid rgb(255 255 255 / 24%); border-radius: 999px; padding: .45rem .8rem; background: rgb(25 38 31 / 35%); font-size: .72rem; backdrop-filter: blur(12px); }

.role-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 3rem; overflow: hidden; border: 1px solid var(--line); border-radius: 1.6rem; background: var(--line); }
.role-card { min-height: 260px; padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--bg); }
.role-card .number { color: #aa8c48; font-family: "Archivo", sans-serif; font-size: .9rem; }
.role-card h3 { margin: 3.5rem 0 .8rem; font-size: 1.8rem; }
.role-card p { max-width: 330px; margin-bottom: 0; color: var(--muted); line-height: 1.75; }
.story-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 1.5rem; }
.story-image { min-height: 660px; overflow: hidden; border-radius: 1.6rem; background: #d8ddd4; }
.story-image img { width: 100%; height: 100%; object-fit: cover; }
.story-stack { display: grid; grid-template-rows: 1fr .75fr; gap: 1.5rem; }
.story-card { border-radius: 1.6rem; padding: clamp(2rem, 4vw, 3.5rem); background: var(--surface-soft); }
.story-card h2 { margin: 1.2rem 0; font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: 1.02; }
.story-card p { color: var(--muted); line-height: 1.8; }
.story-photo { position: relative; min-height: 280px; overflow: hidden; border-radius: 1.6rem; background: #89998c; }
.story-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-caption { position: absolute; right: 1rem; bottom: 1rem; max-width: 320px; border: 1px solid rgb(255 255 255 / 20%); border-radius: 1rem; padding: 1rem 1.2rem; background: rgb(23 34 27 / 70%); color: white; backdrop-filter: blur(14px); }
.photo-caption p { margin: .3rem 0 0; font-size: .85rem; opacity: .8; }
.mission-callout { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; border-radius: 1.7rem; padding: clamp(2rem, 5vw, 4.5rem); background: var(--green); color: white; }
.mission-callout h2 { margin: 1rem 0 0; font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1; }
.mission-callout > div:last-child { display: flex; flex-direction: column; justify-content: end; }
.mission-callout p { max-width: 470px; line-height: 1.7; opacity: .83; }

.page-shell { min-height: 65vh; padding-top: 5rem; }
.page-intro { padding-top: 3rem; }
.page-intro h1 { max-width: 1000px; margin: 1rem 0 1.5rem; font-size: clamp(3.4rem, 8vw, 7.7rem); line-height: .91; }
.page-intro .intro { max-width: 760px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.75; }
.page-content { padding-top: 4rem; padding-bottom: 6rem; }
.prose-list { display: grid; gap: 2.5rem; }
.prose-section { display: grid; grid-template-columns: minmax(190px, 1fr) 2fr; gap: 2rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.prose-section h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.prose-section p { margin: 0 0 .9rem; color: var(--muted); font-size: 1.05rem; line-height: 1.85; }
.step-list { display: grid; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 1.5rem; background: var(--line); }
.step { display: grid; grid-template-columns: 100px .85fr 1.2fr; gap: 1.5rem; align-items: start; padding: 2.3rem; background: var(--bg); }
.step .number { color: #aa8c48; font-family: "Archivo", sans-serif; font-size: 2.5rem; font-weight: 300; }
.step h2 { margin: 0; font-size: 1.7rem; }
.step p { margin: .2rem 0 0; color: var(--muted); line-height: 1.7; }
.join-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.join-card { display: flex; min-height: 270px; flex-direction: column; border-radius: 1.5rem; padding: 2rem; background: var(--surface-soft); transition: transform .18s ease, box-shadow .18s ease; }
.join-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgb(31 49 39 / 8%); }
.join-card h2 { margin: 1rem 0 .6rem; font-size: 1.65rem; }
.join-card p { flex: 1; color: var(--muted); line-height: 1.7; }
.empty-state { border-radius: 1.5rem; padding: 4rem 2rem; background: var(--surface-soft); text-align: center; }
.empty-state h2 { margin-bottom: .6rem; font-size: 1.6rem; }
.empty-state p { max-width: 480px; margin: 0 auto 1.5rem; color: var(--muted); line-height: 1.7; }

.site-footer { margin-top: 7rem; background: #222a25; color: #f8f8f1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-block: 4.5rem; }
.footer-summary { max-width: 360px; margin: 1rem 0 0; color: rgb(255 255 255 / 65%); font-size: .9rem; line-height: 1.8; }
.footer-group { display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; font-size: .87rem; }
.footer-group .eyebrow { margin-bottom: .4rem; color: var(--gold); }
.footer-group a { color: rgb(255 255 255 / 72%); }
.footer-group a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / 12%); padding: 1.2rem 1rem; color: rgb(255 255 255 / 48%); font-size: .75rem; text-align: center; }

.auth-layout { display: grid; min-height: 100vh; grid-template-columns: 1fr 1fr; }
.auth-panel { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(2rem, 5vw, 5rem); background: var(--green); color: white; }
.auth-panel h1 { max-width: 700px; margin: 1rem 0; font-size: clamp(3rem, 6vw, 5.8rem); line-height: .98; }
.auth-panel p { max-width: 560px; color: rgb(255 255 255 / 73%); line-height: 1.75; }
.auth-form-wrap { display: grid; place-items: center; padding: 3rem 1.5rem; }
.auth-form { width: min(440px, 100%); }
.auth-form h2 { margin: 1.8rem 0 .4rem; font-size: 2.5rem; }
.auth-form > p { color: var(--muted); }
.auth-actions { display: flex; justify-content: space-between; gap: .75rem; margin-top: 1.25rem; }
.auth-toggle { margin-top: 1.8rem; display: flex; justify-content: space-between; gap: .75rem; font-size: .86rem; }
.auth-mobile-brand { display: none; }

.form { display: grid; gap: 1rem; }
.field { display: grid; gap: .45rem; color: #414b44; font-size: .83rem; font-weight: 700; }
.field input, .field select, .field textarea, .control, .form input, .form select, .form textarea, .search-input { width: 100%; min-height: 2.8rem; border: 1px solid var(--line); border-radius: .8rem; padding: .75rem .9rem; background: var(--surface); color: var(--ink); font-size: .92rem; font-weight: 500; }
.field textarea, .form textarea { min-height: 7rem; resize: vertical; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus, .control:focus, .form input:focus, .form select:focus, .form textarea:focus, .search-input:focus { border-color: var(--green); outline: 3px solid rgb(29 74 57 / 12%); }
.check-row { display: flex; align-items: flex-start; gap: .6rem; color: var(--muted); font-size: .84rem; line-height: 1.5; }
.check-row input { width: 1rem; height: 1rem; margin: .1rem 0 0; accent-color: var(--green); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }

.dashboard { min-height: 100vh; }
.dashboard-layout { display: grid; min-height: 100vh; grid-template-columns: 270px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; display: flex; height: 100vh; flex-direction: column; overflow-y: auto; padding: 1.5rem 1.1rem; background: #222a25; color: white; }
.sidebar-profile { margin: 2rem .6rem 1rem; overflow-wrap: anywhere; }
.sidebar-profile .eyebrow { color: var(--gold); }
.sidebar-profile .name { margin: .6rem 0 0; color: rgb(255 255 255 / 77%); font-size: .83rem; }
.sidebar-nav { display: grid; gap: .25rem; margin-top: .6rem; }
.sidebar-link { display: flex; align-items: center; gap: .7rem; border-radius: .8rem; padding: .73rem .8rem; color: rgb(255 255 255 / 71%); font-size: .82rem; font-weight: 600; transition: background .18s ease, color .18s ease; }
.sidebar-link:hover, .sidebar-link.active { background: rgb(255 255 255 / 10%); color: var(--gold); }
.sidebar-spacer { flex: 1; min-height: 2rem; }
.sidebar-bottom { display: grid; gap: .4rem; }
.sidebar-bottom button, .sidebar-bottom a { border: 0; border-radius: .8rem; padding: .75rem .8rem; background: transparent; color: rgb(255 255 255 / 75%); text-align: left; font-size: .84rem; cursor: pointer; }
.sidebar-bottom button:hover, .sidebar-bottom a:hover { background: rgb(255 255 255 / 10%); color: white; }
.dashboard-main { min-width: 0; }
.dash-topbar { position: sticky; z-index: 10; top: 0; display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding: .8rem 2rem; background: rgb(247 247 241 / 88%); backdrop-filter: blur(14px); }
.dash-content { width: min(1180px, 100%); margin-inline: auto; padding: 2.5rem clamp(1.2rem, 4vw, 3rem) 5rem; }
.dash-title-row { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.dash-title-row h1 { margin: 0; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; }
.dash-title-row p { max-width: 720px; margin: .7rem 0 0; color: var(--muted); line-height: 1.65; }
.dashboard-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.dash-card { display: flex; min-height: 115px; align-items: start; justify-content: space-between; gap: 1rem; border: 1px solid var(--line); border-radius: 1.1rem; padding: 1.2rem; background: var(--surface); transition: border-color .18s ease, transform .18s ease; }
.dash-card:hover { transform: translateY(-2px); border-color: #bac8bd; }
.dash-card strong { font-size: .98rem; }
.dash-card span { color: var(--green); }
.panel { border: 1px solid var(--line); border-radius: 1.2rem; padding: 1.4rem; background: var(--surface); }
.panel + .panel { margin-top: 1rem; }
.panel h2, .panel h3 { margin: 0 0 .9rem; font-size: 1.2rem; }
.panel p:last-child { margin-bottom: 0; }
.panel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-bottom: 1.25rem; }
.toolbar .search-input { max-width: 360px; }
.list-stack { display: grid; gap: .8rem; }
.item-card { border: 1px solid var(--line); border-radius: 1rem; padding: 1.2rem; background: var(--surface); }
.item-card h3 { margin: .2rem 0 .4rem; font-size: 1.1rem; }
.item-card p { margin: .35rem 0; color: var(--muted); font-size: .88rem; line-height: 1.6; }
.item-card .card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.item-card .card-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.status-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.stack { display: grid; gap: 1rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.profile-sections { display: grid; gap: 1rem; }
.profile-section { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.profile-section h2 { margin: 0 0 1rem; font-size: 1.25rem; }
.notice { margin-bottom: 1rem; border-radius: .9rem; padding: 1rem; background: #f5edd8; color: #705821; font-size: .87rem; line-height: 1.6; }
.notice.error { background: #f5e3e1; color: var(--danger); }
.notice.success { background: var(--green-soft); color: var(--green); }
.loading { padding: 3rem 1rem; color: var(--muted); text-align: center; }
.mobile-sidebar-trigger { display: none; }
.overlay { display: none; }

.message-layout { display: grid; min-height: 560px; grid-template-columns: 290px 1fr; gap: 1rem; }
.conversation-list { min-height: 380px; border: 1px solid var(--line); border-radius: 1.2rem; padding: .8rem; background: var(--surface); }
.conversation-list .search-input { min-height: 2.5rem; }
.conversation-button { width: 100%; border: 0; border-radius: .8rem; padding: .9rem; background: transparent; text-align: left; cursor: pointer; }
.conversation-button:hover, .conversation-button.active { background: var(--surface-soft); }
.conversation-button strong { display: block; font-size: .84rem; }
.conversation-button span { display: block; margin-top: .3rem; color: var(--muted); font-size: .73rem; }
.message-panel { display: flex; min-height: 560px; flex-direction: column; border: 1px solid var(--line); border-radius: 1.2rem; padding: 1rem; background: var(--surface); }
.message-thread { display: flex; flex: 1; flex-direction: column; gap: .75rem; overflow-y: auto; padding: 1rem .3rem; }
.bubble { max-width: 82%; align-self: flex-start; border-radius: 1rem 1rem 1rem .25rem; padding: .8rem 1rem; background: var(--surface-soft); font-size: .87rem; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.bubble.mine { align-self: flex-end; border-radius: 1rem 1rem .25rem 1rem; background: var(--green); color: white; }
.message-compose { display: flex; align-items: end; gap: .6rem; border-top: 1px solid var(--line); padding-top: .8rem; }
.message-compose textarea { min-height: 2.7rem; max-height: 8rem; flex: 1; resize: vertical; }
.chat-thread { display: grid; gap: .75rem; margin: 1.2rem 0; }
.chat-message { max-width: 88%; border-radius: 1rem; padding: .85rem 1rem; background: var(--surface-soft); font-size: .88rem; line-height: 1.65; white-space: pre-wrap; }
.chat-message.user { justify-self: end; background: var(--green); color: white; }
.toast { position: fixed; z-index: 100; right: 1rem; bottom: 1rem; max-width: min(420px, calc(100vw - 2rem)); transform: translateY(160%); border-radius: .8rem; padding: .9rem 1.1rem; background: #222a25; color: white; font-size: .87rem; box-shadow: 0 12px 36px rgb(0 0 0 / 20%); transition: transform .2s ease; }
.toast.visible { transform: translateY(0); }
.toast[data-tone="error"] { background: #8f302b; }
.toast[data-tone="success"] { background: var(--green); }
.assistant-fab { position: fixed; z-index: 15; right: 1.3rem; bottom: 1.3rem; width: 3.4rem; height: 3.4rem; border: 0; border-radius: 50%; background: var(--green); color: white; font-size: 1.35rem; box-shadow: 0 8px 28px rgb(12 37 24 / 20%); cursor: pointer; }
.assistant-dialog { position: fixed; z-index: 25; right: 1rem; bottom: 5.3rem; display: none; width: min(410px, calc(100vw - 2rem)); max-height: min(660px, 78vh); overflow: auto; border: 1px solid var(--line); border-radius: 1.4rem; padding: 1rem; background: var(--surface); box-shadow: 0 20px 70px rgb(0 0 0 / 20%); }
.assistant-dialog.open { display: block; }
.assistant-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: .8rem; }
.assistant-head h2 { margin: 0; font-size: 1rem; }
.suggestions { display: grid; gap: .5rem; margin: 1rem 0; }
.suggestion { border: 1px solid var(--line); border-radius: .8rem; padding: .7rem; background: transparent; text-align: left; font-size: .8rem; cursor: pointer; }
.suggestion:hover { background: var(--surface-soft); }
.legal-disclaimer { margin: .8rem 0 0; color: var(--muted); font-size: .7rem; line-height: 1.5; }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 1rem; background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .84rem; text-align: left; }
th, td { border-bottom: 1px solid var(--line); padding: .85rem 1rem; vertical-align: top; }
th { color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }
pre { overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; font-size: .88rem; line-height: 1.7; }

@media (max-width: 1100px) {
  .nav-links { gap: .65rem; }
  .nav-links a { font-size: .71rem; }
  .nav-shell { padding-left: 1rem; }
  .dashboard-layout { grid-template-columns: 235px minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .mobile-nav { position: absolute; top: calc(100% + .5rem); right: 1rem; left: 1rem; display: none; max-width: 1280px; margin-inline: auto; border: 1px solid var(--line); border-radius: 1.2rem; padding: .7rem; background: var(--surface); color: var(--ink); box-shadow: 0 15px 50px rgb(0 0 0 / 12%); }
  .mobile-nav.open { display: grid; }
  .mobile-nav a { border-radius: .7rem; padding: .75rem; font-size: .87rem; font-weight: 600; }
  .mobile-nav a:hover { background: var(--surface-soft); }
  .story-grid { grid-template-columns: .8fr 1.2fr; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .sidebar { position: fixed; z-index: 30; top: 0; bottom: 0; left: 0; width: min(300px, 86vw); height: 100dvh; transform: translateX(-105%); transition: transform .2s ease; }
  .dashboard.menu-open .sidebar { transform: translateX(0); }
  .overlay { position: fixed; z-index: 29; inset: 0; display: none; background: rgb(0 0 0 / 40%); }
  .dashboard.menu-open .overlay { display: block; }
  .mobile-sidebar-trigger { display: inline-flex; }
}
@media (max-width: 700px) {
  .container, .narrow { width: min(100% - 2rem, 1160px); }
  .section-space { padding-block: 4.5rem; }
  .hero-wrap { padding: .5rem; }
  .hero { min-height: 84svh; border-radius: 1.4rem; padding: 8.5rem 1.3rem 1.7rem; }
  .hero h1 { font-size: clamp(4rem, 19vw, 7rem); }
  .hero-copy { margin-top: 1.2rem; font-size: 1rem; }
  .hero-bottom { align-items: end; }
  .hero-word { font-size: 22vw; }
  .hero-tags { display: none; }
  .role-grid, .join-grid { grid-template-columns: 1fr; }
  .role-card { min-height: 210px; }
  .role-card h3 { margin-top: 2rem; }
  .story-grid, .story-stack { grid-template-columns: 1fr; grid-template-rows: auto; }
  .story-image { min-height: 360px; max-height: 520px; }
  .story-photo { min-height: 280px; }
  .mission-callout { grid-template-columns: 1fr; }
  .section-heading { align-items: start; flex-direction: column; gap: 1rem; }
  .section-heading h2 { font-size: 4rem; }
  .page-shell { padding-top: 2rem; }
  .page-intro { padding-top: 2rem; }
  .page-intro h1 { font-size: clamp(3.2rem, 14vw, 5.4rem); }
  .page-content { padding-top: 2.5rem; padding-bottom: 3rem; }
  .prose-section { grid-template-columns: 1fr; gap: .75rem; }
  .step { grid-template-columns: 55px 1fr; gap: .75rem; padding: 1.4rem; }
  .step p { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; padding-block: 3rem; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-panel { display: none; }
  .auth-form-wrap { place-items: start center; padding: 1.5rem; }
  .auth-mobile-brand { display: block; }
  .auth-form h2 { margin-top: 2.2rem; }
  .dash-topbar { min-height: 60px; padding: .7rem 1rem; }
  .dash-content { padding: 1.7rem 1rem 3rem; }
  .dash-title-row { align-items: start; flex-direction: column; gap: 1rem; }
  .dashboard-cards, .panel-grid, .two-col { grid-template-columns: 1fr; }
  .message-layout { grid-template-columns: 1fr; }
  .conversation-list { min-height: 0; max-height: 230px; overflow-y: auto; }
  .message-panel { min-height: 430px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-buttons { align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
