:root {
  --ink: #202c25;
  --muted: #69746d;
  --green: #214f3c;
  --green-dark: #183c2d;
  --green-soft: #e6eee8;
  --lime: #d8f07e;
  --lime-soft: #edf5d4;
  --paper: #f7f7f2;
  --white: #fffefa;
  --line: #e4e7df;
  --orange: #d77750;
  --shadow: 0 18px 45px rgba(27, 56, 40, .08);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { color: inherit; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 14px; border-radius: 8px; transform: translateY(-150%); background: var(--white); }
.skip-link:focus { transform: none; }
.site-header { height: 82px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(20px, 6.2vw, 96px); background: rgba(247,247,242,.95); border-bottom: 1px solid rgba(226,230,222,.75); }
.brand { position: relative;
display: inline-flex; align-items: center; gap: 8px; color: var(--green); text-decoration: none; font-family: Manrope, sans-serif; font-size: 21px; font-weight: 800; letter-spacing: -1.1px; }
.brand-logo { width: 36px; height: 36px; flex: 0 0 auto; object-fit: contain; }
.brand-period { color: #9bb952; }
.header-nav, .header-actions { display: flex; align-items: center; gap: 34px; }
.header-nav a { color: #5c675f; font-size: 13px; text-decoration: none; }
.header-nav a:hover { color: var(--green); }
.header-actions { position: relative; gap: 12px; }
.link-button, .button { border: 0; background: transparent; cursor: pointer; text-decoration: none; }
.link-button { padding: 11px 12px; color: var(--ink); font-size: 13px; font-weight: 600; }
.button { min-height: 46px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 999px; font-size: 13px; line-height: 1.2; font-weight: 700; transition: transform .16s ease, background .16s ease, box-shadow .16s ease; }
.button:hover { transform: translateY(-1px); }
.button:focus-visible, .link-button:focus-visible, .icon-button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 3px solid #a6c55b; outline-offset: 3px; }
.button-primary { background: var(--green); color: #fffefa; box-shadow: 0 8px 18px rgba(33,79,60,.15); }
.button-primary:hover { background: var(--green-dark); }
.button-light { background: var(--white); color: var(--green); }
.button-lime { background: var(--lime); color: var(--green-dark); }
.button-outline { border: 1px solid var(--line); background: var(--white); color: var(--green); }
.button-small { min-height: 38px; padding: 0 15px; font-size: 12px; }
.button-wide { width: 100%; }
.button svg, .link-button svg { width: 17px; height: 17px; }
.avatar-chip { display: flex; align-items: center; gap: 9px; margin-left: 6px; color: var(--ink); font-size: 12px; font-weight: 700; }
.avatar-dot { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--lime-soft); color: var(--green); font-family: Manrope,sans-serif; font-size: 12px; }
.signout-icon { display: none; }
.header-donate { padding-inline: 17px; }

#main { min-height: 70vh; }
.page-shell { max-width: 1220px; margin: 0 auto; padding: 0 28px; }
.hero { min-height: 600px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; padding-top: 28px; padding-bottom: 50px; }
.hero-copy { position: relative; z-index: 1; padding: 20px 0 42px 10px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 20px; color: var(--green); font-size: 11px; line-height: 1.3; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 7px; height: 7px; display: inline-block; border-radius: 99px; background: #9fbc55; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Manrope, 'DM Sans', sans-serif; }
.hero h1 { max-width: 580px; margin: 0 0 20px; color: #213a2b; font-size: clamp(49px, 5.2vw, 70px); line-height: 1.055; font-weight: 700; letter-spacing: -4.8px; }
.hero h1 em { color: var(--green); font-style: normal; }
.hero-quote-accent { color: #805e2a; }
.hero-lede { max-width: 440px; margin-bottom: 30px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button-arrow { display: inline-block; font-size: 19px; font-weight: 400; line-height: 12px; }
.hero-note { margin: 22px 0 0; color: #828d84; font-size: 11px; }
.select-shell { position: relative; }
.select-shell select { appearance: none; padding-right: 38px; cursor: pointer; }
.select-shell select:focus { border-color: #a57a2e; box-shadow: 0 0 0 3px rgba(165,122,46,.13); }
.select-chevron { position: absolute; top: 50%; right: 14px; pointer-events: none; transform: translateY(-55%); color: #805e2a; font-family: Georgia, serif; font-size: 18px; }
.location-select-field .field-hint { color: #8b7041; }
.impact-meter { display: flex; align-items: center; gap: 15px; width: fit-content; margin: 24px 0 8px; padding: 12px 17px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: var(--shadow); }
.impact-meter-icon { color: #a57a2e; font-size: 20px; }
.impact-meter div { display: flex; align-items: baseline; gap: 8px; }
.impact-meter strong { color: var(--green); font-family: 'Noto Serif', Georgia, serif; font-size: 25px; }
.impact-meter div span, .impact-meter small { color: var(--muted); font-size: 10px; }
.impact-meter small { margin-left: 8px; }
.hero-visual { min-height: 490px; display: grid; place-items: center; position: relative; isolation: isolate; }
.hero-orbit { position: absolute; z-index: -1; width: min(100%, 505px); aspect-ratio: 1; border-radius: 50%; background: #e9eddc; }
.hero-orbit::before { content: ''; position: absolute; inset: 8%; border: 1px solid rgba(33,79,60,.10); border-radius: inherit; }
.hero-orbit::after { content: ''; position: absolute; inset: 18%; border: 1px dashed rgba(33,79,60,.11); border-radius: inherit; }
.plate { width: min(79%, 370px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: #fffcf3; box-shadow: 0 26px 65px rgba(43, 72, 45, .16), inset 0 0 0 14px #f7f1df, inset 0 0 0 18px #ebe1c9; transform: rotate(-8deg); }
.plate-inner { width: 78%; height: 78%; display: block; object-fit: contain; border-radius: 50%; filter: drop-shadow(0 2px 10px rgba(43,72,45,.13)); }
.dish-bowl { position: absolute; display: block; width: 27%; aspect-ratio: 1.35; border-radius: 50%; background: #b9663e; border: 3px solid #e6bd72; box-shadow: inset 0 -7px 0 rgba(91,48,29,.14); }
.dish-bowl::after { content: ''; position: absolute; inset: 18%; border-radius: 50%; background: #d98b43; }
.dal-bowl { top: 16%; left: 17%; }
.dal-bowl::after { background: #dca64c; }
.sabzi-bowl { top: 16%; right: 15%; background: #5a7b4a; }
.sabzi-bowl::after { background: #7e9b50; }
.dish-roti { position: absolute; left: 29%; width: 42%; height: 16%; border-radius: 50%; background: #d9a45f; border: 3px solid #ae6d35; box-shadow: inset 0 0 0 5px rgba(255,226,157,.3), 0 4px 0 rgba(117,66,29,.14); }
.dish-roti::after { content: ''; position: absolute; inset: 26% 16%; border-top: 2px solid rgba(118,67,32,.35); border-bottom: 2px solid rgba(118,67,32,.35); border-radius: 50%; }
.roti-one { top: 43%; transform: rotate(-8deg); }
.roti-two { top: 49%; transform: rotate(7deg); background: #e2b16c; }
.dish-tomato { position: absolute; width: 13%; aspect-ratio: 1; border-radius: 50%; background: #c9573e; border: 3px solid #a64031; box-shadow: inset -3px -3px 0 rgba(106,37,26,.16); }
.dish-tomato::after { content: ''; position: absolute; inset: 33%; border-radius: 50%; background: #f0b06a; }
.tomato-one { left: 20%; top: 61%; }
.tomato-two { left: 31%; top: 67%; width: 11%; }
.dish-rice { position: absolute; right: 18%; bottom: 33%; width: 26%; height: 18%; border-radius: 50% 50% 42% 42%; background: #f4e5bd; border: 2px solid #d5b77a; box-shadow: inset 6px 3px 0 rgba(255,255,240,.62), inset -5px -4px 0 rgba(191,151,79,.15); transform: rotate(6deg); }
.dish-rice::before { content: '••••'; position: absolute; top: 6%; left: 19%; color: #c7a56b; font-size: 13px; letter-spacing: 3px; }
.dish-samosa { position: absolute; bottom: 19%; left: 16%; width: 22%; height: 22%; background: #d48a3e; border: 3px solid #9d5f2c; clip-path: polygon(50% 0, 100% 86%, 0 86%); transform: rotate(-8deg); }
.dish-laddoo { position: absolute; right: 18%; bottom: 20%; width: 19%; aspect-ratio: 1; border-radius: 50%; background: #dcae42; border: 3px solid #a97424; box-shadow: inset -5px -5px 0 rgba(130,72,19,.14); }
.dish-garnish { position: absolute; right: 42%; bottom: 13%; width: 13%; height: 7%; border-radius: 50%; background: #66864d; transform: rotate(-18deg); }
.floating-note { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 15px; border: 1px solid rgba(226,230,220,.8); border-radius: 14px; background: rgba(255,254,250,.94); box-shadow: var(--shadow); }
.note-one { top: 8%; right: 2%; }
.note-two { bottom: 10%; left: 1%; }
.floating-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: var(--lime-soft); color: var(--green); font-size: 15px; }
.floating-icon.orange { background: #f8e7dd; color: #ad5c3a; }
.floating-copy strong { display: block; margin-bottom: 3px; color: #2b382f; font-size: 11px; }
.floating-copy span { color: #788278; font-size: 10px; }
.spark { position: absolute; top: 20%; left: 12%; color: #abbf6b; font-size: 26px; }
.hero-seal { position: absolute; right: 5%; bottom: 19%; width: 82px; height: 82px; display: grid; place-items: center; border: 1px solid rgba(33,79,60,.17); border-radius: 50%; color: var(--green); font-family: Manrope,sans-serif; font-size: 9px; text-align: center; line-height: 1.5; transform: rotate(11deg); }
.hero-seal span { font-size: 20px; }

.how-section { padding: 70px 0 78px; border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin-bottom: 33px; }
.section-heading h2, .why-copy h2 { max-width: 490px; margin: 0; color: #213a2b; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.17; letter-spacing: -1.8px; }
.section-heading p { max-width: 330px; margin: 0 0 4px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.step-card { min-height: 192px; padding: 23px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.step-number { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; color: #a2ad9e; font-family: Manrope,sans-serif; font-size: 12px; font-weight: 700; }
.step-number span:last-child { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; background: #f0f4e5; color: var(--green); font-size: 14px; }
.step-card h3 { margin-bottom: 9px; color: #25372b; font-size: 16px; letter-spacing: -.25px; }
.step-card p { max-width: 290px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.why-section { padding: 62px 42px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; margin: 0 0 78px; border-radius: 22px; background: #e9eee4; }
.why-copy h2 { max-width: 440px; margin-bottom: 15px; }
.why-copy > p:last-child { max-width: 430px; margin: 0; color: #69746d; font-size: 13px; line-height: 1.8; }
.why-aside { padding: 23px 27px; border-radius: 15px; background: rgba(255,254,250,.75); }
.why-aside-label { margin: 0 0 14px; color: #758176; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.why-points { display: grid; gap: 13px; }
.why-point { display: flex; align-items: flex-start; gap: 10px; color: #36453a; font-size: 12px; line-height: 1.5; }
.check { flex: none; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: #d7e9a5; color: #335433; font-size: 11px; font-weight: 700; }
.join-strip { padding: 40px 0 64px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.role-choice-group { display: flex; align-items: end; gap: 15px; }
.role-choice-donors { display: grid; gap: 7px; }
.role-choice-label { color: #805e2a; font-size: 10px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; }
.button-volunteer { background: var(--green); color: #fffefa; box-shadow: 0 8px 18px rgba(33,79,60,.18); }
.button-volunteer:hover { background: var(--green-dark); }
.join-strip h2 { margin: 0 0 6px; color: #213a2b; font-size: 24px; letter-spacing: -.8px; }
.join-strip p { margin: 0; color: var(--muted); font-size: 12px; }
.site-footer { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 18px clamp(20px, 6.2vw, 96px); border-top: 1px solid var(--line); color: #788278; font-size: 11px; }
.footer-brand { font-size: 17px; }
.footer-brand .brand-logo, .footer-brand .brand-mark { width: 30px; height: 30px; }
.prototype-note { display: inline-flex; align-items: center; gap: 7px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #a9bf62; }

/* Forms and application views */
.auth-layout { width: min(1070px, calc(100% - 40px)); min-height: calc(100vh - 168px); display: grid; grid-template-columns: .82fr 1.18fr; align-items: stretch; gap: 30px; margin: 42px auto 56px; }
.auth-aside { position: relative; overflow: hidden; padding: 39px 34px; border-radius: 21px; background: var(--green); color: #fffefa; }
.auth-aside::after { content: ''; position: absolute; width: 300px; height: 300px; right: -85px; bottom: -90px; border: 1px solid rgba(242,248,223,.18); border-radius: 50%; box-shadow: 0 0 0 23px rgba(242,248,223,.04), 0 0 0 55px rgba(242,248,223,.035); }
.auth-aside .eyebrow { color: var(--lime); }
.auth-aside h1 { max-width: 340px; margin: 60px 0 17px; font-size: 38px; line-height: 1.12; letter-spacing: -2px; }
.auth-aside > p { max-width: 320px; color: rgba(255,254,250,.73); font-size: 13px; line-height: 1.8; }
.auth-aside .aside-foot { position: absolute; bottom: 29px; left: 34px; display: flex; align-items: center; gap: 9px; color: rgba(255,254,250,.65); font-size: 11px; }
.auth-aside .aside-foot span { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.15); color: var(--lime); }
.form-panel { align-self: stretch; width: 100%; display: flex; flex-direction: column; justify-content: center; box-sizing: border-box; }
.form-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 23px; color: #79837b; font-size: 11px; }
.form-topline button { padding: 0; border: 0; background: transparent; color: var(--green); font-size: 11px; font-weight: 700; cursor: pointer; }
.form-panel h2 { margin: 0 0 7px; color: #213a2b; font-size: 27px; letter-spacing: -1.1px; }
.form-subtitle { margin: 0 0 22px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.role-switch { display: grid; grid-template-columns: 1.5fr 1fr; gap: 5px; padding: 4px; margin-bottom: 18px; border: 1px solid var(--line); border-radius: 12px; background: #f0f1eb; }
.role-switch-donors { display: grid; grid-template-columns: auto 1fr 1fr; align-items: center; gap: 4px; padding: 3px; border-radius: 9px; background: rgba(255,255,255,.45); }
.role-switch-donors > span { padding: 0 7px; color: #805e2a; font-size: 10px; font-weight: 700; }
.role-switch .role-volunteer { background: var(--green); color: #fffefa; box-shadow: 0 2px 7px rgba(30,50,35,.12); }
.role-switch button { min-height: 37px; border: 0; border-radius: 9px; background: transparent; color: #657068; font-size: 11px; font-weight: 700; cursor: pointer; }
.role-switch button[aria-pressed="true"] { background: var(--white); color: var(--green); box-shadow: 0 2px 7px rgba(30,50,35,.07); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; row-gap: 13px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { color: #3a4940; font-size: 10px; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 42px; padding: 10px 12px; border: 1px solid #e1e5dc; border-radius: 9px; outline: 0; background: var(--white); color: var(--ink); font-size: 12px; }
.field textarea { min-height: 80px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #a1aaa1; }
.field .field-hint { margin-top: -2px; color: #879187; font-size: 10px; line-height: 1.5; }
.gps-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gps-row .button { flex: 0 0 auto; }
.gps-status { color: #818c83; font-size: 10px; }
.gps-status.is-set { color: #3d784f; font-weight: 600; }
.upload-box { min-height: 48px; display: flex; align-items: center; gap: 11px; padding: 9px 12px; border: 1px dashed #cbd5c8; border-radius: 9px; background: #fbfcf8; }
.upload-box input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-box label { color: var(--green); font-size: 11px; cursor: pointer; }
.upload-name { overflow: hidden; color: #889288; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.form-notice { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0; color: #78837a; font-size: 10px; line-height: 1.6; }
.form-notice span { color: #7e9c40; }
.form-actions { margin-top: 17px; }
.error-message { min-height: 15px; margin: 9px 0 0; color: #a84431; font-size: 11px; }
.inline-link { color: var(--green); font-size: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; background: transparent; border: 0; padding: 0; cursor: pointer; }

.dashboard { max-width: 1140px; min-height: calc(100vh - 170px); margin: 0 auto; padding: 43px 28px 68px; }
.welcome-line { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 29px; }
.welcome-line .eyebrow { margin-bottom: 9px; }
.welcome-line h1 { margin: 0; color: #213a2b; font-size: 31px; line-height: 1.2; letter-spacing: -1.5px; }
.welcome-line > p { margin: 18px 0 0; color: var(--muted); font-size: 12px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(250px,.8fr); align-items: stretch; gap: 18px; }
.donate-card { position: relative; min-height: 242px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 25px 29px; border-radius: 18px; background: var(--green); color: #fffefa; }
.donate-card::after { content: ''; position: absolute; width: 285px; height: 285px; right: -60px; top: -105px; border: 1px solid rgba(237,245,212,.2); border-radius: 50%; box-shadow: 0 0 0 20px rgba(237,245,212,.035), 0 0 0 53px rgba(237,245,212,.035); }
.donate-card > * { position: relative; z-index: 1; }
.donate-card-label { display: flex; align-items: center; gap: 8px; color: #dfe8d4; font-size: 10px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; }
.donate-card-label span { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.donate-card h2 { max-width: 395px; margin: 18px 0 11px; font-size: clamp(25px,3vw,34px); line-height: 1.18; letter-spacing: -1.5px; }
.donate-card p { max-width: 400px; margin: 0; color: rgba(255,254,250,.74); font-size: 12px; line-height: 1.6; }
.donate-card-bottom { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-top: 23px; }
.donate-card-bottom .tiny-note { max-width: 225px; color: rgba(255,254,250,.58); font-size: 10px; line-height: 1.55; }
.impact-card { min-height: 242px; display: flex; flex-direction: column; justify-content: space-between; padding: 23px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.impact-card .card-label { color: #7c877f; font-size: 10px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.impact-number { display: flex; align-items: baseline; gap: 9px; }
.impact-number strong { color: var(--green); font-family: Manrope,sans-serif; font-size: 42px; letter-spacing: -2px; }
.impact-number span { max-width: 90px; color: #748077; font-size: 10px; line-height: 1.5; }
.impact-foot { padding-top: 15px; border-top: 1px solid var(--line); color: #818b83; font-size: 10px; line-height: 1.5; }
.content-section { margin-top: 39px; }
.content-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.content-heading h2 { margin: 0; color: #26392d; font-size: 18px; letter-spacing: -.6px; }
.content-heading p { margin: 5px 0 0; color: #849087; font-size: 11px; }
.count-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 8px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: 10px; font-weight: 700; }
.listing-list { display: grid; gap: 10px; }
.listing-card { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 20px; padding: 17px 19px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.listing-main { min-width: 0; display: flex; align-items: center; gap: 14px; }
.food-icon { width: 43px; height: 43px; flex: 0 0 43px; display: grid; place-items: center; border-radius: 13px; background: #f1f4e5; color: #56733d; font-size: 18px; }
.listing-copy { min-width: 0; }
.listing-copy h3 { margin: 0 0 5px; overflow: hidden; color: #293a2f; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.listing-copy p { margin: 0; color: #808a82; font-size: 10px; line-height: 1.55; }
.listing-action { display: flex; flex-direction: column; align-items: end; gap: 7px; }
.distance-label { color: #78837a; font-size: 10px; }
.status-label { display: inline-flex; align-items: center; gap: 5px; color: #728071; font-size: 10px; }
.status-label::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #b5c795; }
.status-label.open { color: #477450; }
.status-label.open::before { background: #87ae62; }
.status-label.accepted { color: #b36844; }
.status-label.accepted::before { background: #d8885e; }
.empty-state { padding: 31px 20px; border: 1px dashed #d8ded3; border-radius: 14px; background: rgba(255,254,250,.55); text-align: center; }
.empty-icon { width: 39px; height: 39px; display: grid; place-items: center; margin: 0 auto 12px; border-radius: 13px; background: #eef3e3; color: var(--green); font-size: 18px; }
.empty-state h3 { margin: 0 0 6px; color: #334339; font-size: 13px; }
.empty-state p { max-width: 360px; margin: 0 auto; color: #828d84; font-size: 11px; line-height: 1.7; }
.demo-message { margin-top: 20px; padding: 13px 15px; border: 1px solid #e6eadb; border-radius: 11px; background: #f0f3e9; color: #687761; font-size: 10px; line-height: 1.6; }
.demo-message strong { color: #42593d; }
.radius-control { display: flex; align-items: center; gap: 8px; color: #7a857c; font-size: 11px; }
.radius-control select { max-width: 118px; padding: 8px 26px 8px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); color: #344339; font-size: 11px; }
.volunteer-top { padding: 24px 28px; border-radius: 18px; background: var(--lime-soft); }
.volunteer-top .eyebrow { margin-bottom: 9px; }
.volunteer-top h2 { margin: 0 0 8px; color: #263c2b; font-size: 24px; letter-spacing: -1.1px; }
.volunteer-top p { max-width: 560px; margin: 0; color: #6d796d; font-size: 11px; line-height: 1.7; }

/* Modal */
.modal-backdrop { position: fixed; z-index: 20; inset: 0; display: grid; place-items: center; overflow-y: auto; padding: 20px; background: rgba(21,36,27,.48); backdrop-filter: blur(3px); }
.modal { position: relative; width: min(520px, 100%); max-height: min(90vh, 780px); overflow-y: auto; padding: 27px; border-radius: 19px; background: var(--paper); box-shadow: 0 24px 90px rgba(9,23,14,.24); }
.modal h2 { margin: 0 0 7px; color: #24392b; font-size: 23px; letter-spacing: -.9px; }
.modal-intro { margin: 0 30px 20px 0; color: #78837b; font-size: 11px; line-height: 1.6; }
.modal-close { position: absolute; top: 17px; right: 17px; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: #5b695f; cursor: pointer; font-size: 19px; }
.modal-close:hover { background: #f0f2ec; }
.modal .form-grid { row-gap: 14px; }
.modal .form-actions { margin-top: 20px; }
.modal-footnote { margin: 11px 0 0; color: #869087; font-size: 10px; text-align: center; line-height: 1.5; }
.alert-item { display: flex; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }
.alert-item:first-of-type { margin-top: 10px; }
.alert-bullet { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; background: #eef3e2; color: var(--green); font-size: 13px; }
.alert-copy strong { display: block; margin: 0 0 4px; color: #35443a; font-size: 11px; }
.alert-copy p { margin: 0; color: #828d84; font-size: 10px; line-height: 1.55; }
.toast { position: fixed; z-index: 40; right: 24px; bottom: 24px; max-width: min(360px, calc(100vw - 40px)); padding: 13px 17px; border: 1px solid rgba(255,255,255,.15); border-radius: 12px; background: #203e2d; box-shadow: 0 12px 35px rgba(17,40,25,.2); color: #fff; font-size: 11px; line-height: 1.5; opacity: 0; transform: translateY(14px); pointer-events: none; transition: .25s ease; }
.toast.visible { opacity: 1; transform: none; }

@media (max-width: 850px) {
  .site-header { padding-inline: 24px; }
  .header-nav { gap: 19px; }
  .hero { min-height: 540px; gap: 5px; }
  .hero h1 { font-size: 56px; }
  .hero-visual { min-height: 430px; }
  .why-section { padding: 40px 31px; gap: 34px; }
  .auth-layout { grid-template-columns: .74fr 1.26fr; gap: 23px; }
  .auth-aside { padding: 30px 25px; }
  .auth-aside h1 { font-size: 33px; }
  .auth-aside .aside-foot { left: 25px; }
  .form-panel { padding: 32px 30px; }
  .dashboard-grid { grid-template-columns: minmax(0,1.2fr) minmax(210px,.8fr); }
}

.profile-chevron {
  color: #805e2a;
  font-size: 1rem;
  line-height: 1;
}

.profile-menu {
  position: absolute;
  top: calc(100% + 0.7rem);
  right: 0;
  z-index: 20;
  width: min(22rem, calc(100vw - 2rem));
  padding: 1rem;
  border: 1px solid rgba(126, 76, 39, 0.28);
  border-radius: 1rem;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(56, 54, 35, 0.2);
}

.profile-menu::before {
  content: "";
  position: absolute;
  top: -0.45rem;
  right: 2.4rem;
  width: 0.8rem;
  height: 0.8rem;
  border-top: 1px solid rgba(126, 76, 39, 0.28);
  border-left: 1px solid rgba(126, 76, 39, 0.28);
  background: var(--white);
  transform: rotate(45deg);
}

.profile-menu-heading,
.profile-summary,
.food-item-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.profile-menu-kicker {
  color: #805e2a;
  font-family: "Noto Serif", Georgia, serif;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.profile-close {
  border: 0;
  background: transparent;
  color: #805e2a;
  cursor: pointer;
  font-size: 1.4rem;
}

.profile-summary {
  justify-content: flex-start;
  margin: 1rem 0;
}

.profile-summary div {
  display: grid;
  gap: 0.15rem;
}

.profile-summary div span {
  color: var(--muted);
  font-size: 0.85rem;
}

.profile-large-avatar {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border-radius: 50%;
  background: #805e2a;
  color: var(--white);
  font-family: "Noto Serif", Georgia, serif;
  font-weight: 700;
}

.profile-details {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(126, 76, 39, 0.2);
}

.profile-details div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.profile-details dt {
  color: var(--muted);
  font-size: 0.78rem;
}

.profile-details dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.85rem;
  text-align: right;
}

.modal-wide {
  max-width: 48rem;
}

.food-items {
  display: grid;
  gap: 1rem;
}

.food-item {
  padding: 1rem;
  border: 1px solid rgba(126, 76, 39, 0.2);
  border-radius: 0.85rem;
  background: rgba(255, 250, 237, 0.65);
}

.food-item-heading {
  margin-bottom: 0.8rem;
  color: #805e2a;
  font-family: "Noto Serif", Georgia, serif;
}

.remove-food {
  color: #805e2a;
  font-size: 0.78rem;
}

.add-food-button {
  width: 100%;
  margin-top: 1rem;
  border-style: dashed;
}

.tagged-spot {
  display: grid;
  gap: 0.4rem;
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 0.85rem;
}
@media (max-width: 650px) {
  .site-header { height: 70px; padding: 0 17px; }
  .brand { font-size: 19px; }
  .brand-logo { width: 30px; height: 30px; }
  .header-nav { display: none; }
  .header-actions { gap: 4px; }
  .header-actions .link-button { padding: 9px 8px; font-size: 11px; }
  .avatar-chip > span:last-child { display: none; }
  .header-donate { min-height: 38px; padding: 0 13px; font-size: 11px; }
  .page-shell { padding-inline: 20px; }
  .hero { grid-template-columns: 1fr; gap: 0; padding-top: 28px; padding-bottom: 31px; }
  .hero-copy { padding: 16px 0 10px; }
  .hero h1 { max-width: 500px; font-size: clamp(46px, 11.5vw, 64px); letter-spacing: -3.3px; }
  .hero-lede { max-width: 400px; font-size: 13px; }
  .hero-visual { min-height: 375px; margin-top: 3px; }
  .hero-orbit { width: min(83vw, 390px); }
  .plate { width: min(64vw, 300px); }
  .note-one { top: 6%; right: 0; }
  .note-two { bottom: 6%; left: 0; }
  .hero-seal { right: 4%; bottom: 20%; width: 67px; height: 67px; font-size: 8px; }
  .spark { left: 4%; top: 18%; }
  .how-section { padding: 50px 0; }
  .section-heading { display: block; margin-bottom: 23px; }
  .section-heading h2 { margin-bottom: 12px; font-size: 34px; }
  .section-heading p { font-size: 12px; }
  .steps-grid { grid-template-columns: 1fr; gap: 10px; }
  .step-card { min-height: 0; padding: 18px 20px; }
  .step-number { margin-bottom: 19px; }
  .why-section { grid-template-columns: 1fr; gap: 23px; margin-bottom: 44px; padding: 30px 23px; border-radius: 17px; }
  .why-copy h2 { font-size: 32px; }
  .why-aside { padding: 20px; }
  .join-strip { align-items: start; flex-direction: column; padding: 12px 0 47px; }
  .role-choice-group { width: 100%; align-items: stretch; flex-direction: column; }
  .role-choice-group .button-volunteer { width: 100%; }
  .site-footer { min-height: 110px; flex-wrap: wrap; padding-inline: 20px; }
  .site-footer > span:nth-child(2) { order: 3; flex-basis: 100%; }
  .prototype-note { margin-left: auto; }
  .auth-layout { width: min(100% - 32px, 480px); display: flex; flex-direction: column; gap: 18px; margin: 18px auto 36px; padding: 0; }
  .auth-aside { min-height: auto; padding: 22px 20px; border-radius: 16px; }
  .auth-aside h1 { max-width: 100%; margin: 14px 0 8px; font-size: 24px; letter-spacing: -0.6px; }
  .auth-aside > p { max-width: 100%; margin-bottom: 0; font-size: 12px; line-height: 1.5; }
  .auth-aside .eyebrow { margin-bottom: 0; }
  .auth-aside .aside-foot { display: none; }
  .form-panel { padding: 24px 20px; border-radius: 16px; width: 100%; }
  .form-panel h2 { font-size: 24px; letter-spacing: -0.6px; }
  .dashboard { padding: 29px 19px 48px; }
  .welcome-line { align-items: start; flex-direction: column; gap: 11px; margin-bottom: 22px; }
  .welcome-line h1 { font-size: 27px; }
  .welcome-line > p { margin: 0; }
  .dashboard-grid { grid-template-columns: 1fr; gap: 11px; }
  .donate-card { min-height: 230px; padding: 22px; }
  .impact-card { min-height: 172px; }
  .impact-number strong { font-size: 35px; }
  .content-section { margin-top: 30px; }
  .content-heading { align-items: start; flex-direction: column; gap: 12px; }
  .content-heading.with-controls { align-items: start; }
  .radius-control { align-self: stretch; justify-content: space-between; }
  .radius-control select { max-width: 155px; }
  .listing-card { grid-template-columns: 1fr; gap: 13px; padding: 15px; }
  .listing-action { flex-direction: row; align-items: center; justify-content: space-between; padding-left: 57px; }
  .volunteer-top { padding: 21px; }
  .modal { padding: 24px 19px; }
}
@media (max-width: 390px) {
  .header-actions .link-button { display: none; }
  .header-actions [data-action="notifications"], .header-actions [data-action="signout"] { display: inline-flex; align-items: center; justify-content: center; padding: 8px 4px; font-size: 0; }
  .header-actions [data-action="notifications"] .updates-label { display: none; }
  .header-actions [data-action="notifications"]::before { content: '⌁'; font-size: 18px; }
  .header-actions .count-pill { font-size: 9px; }
  .header-actions [data-action="signout"] .signout-label { display: none; }
  .header-actions [data-action="signout"] .signout-icon { display: inline; font-size: 15px; }
  .header-donate { padding-inline: 10px; font-size: 10px; }
  .site-header { gap: 7px; }
  .header-actions { gap: 2px; }
  .hero-actions { gap: 9px; }
  .hero-actions .button { min-height: 43px; padding-inline: 15px; font-size: 11px; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .gps-row { align-items: start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Traditional Indian visual layer: restrained jaali, rangoli, and brass details. */
body {
  background-image: radial-gradient(rgba(128,94,42,.07) 1px, transparent 1px);
  background-size: 18px 18px;
}
.site-header {
  border-bottom: 2px solid #b38a48;
  box-shadow: 0 5px 0 rgba(128,94,42,.08);
}
.site-header::before {
  content: '◆  ◇  ◆  ◇  ◆';
  position: absolute;
  left: 50%;
  bottom: -7px;
  z-index: 3;
  padding: 0 10px;
  transform: translateX(-50%);
  background: var(--paper);
  color: #a57a2e;
  font-size: 8px;
  letter-spacing: 4px;
}
.brand { font-family: 'Noto Serif', Georgia, serif; letter-spacing: -.5px; }
.brand-mark { color: #805e2a; }
.eyebrow { letter-spacing: 2px; }
.hero {
  position: relative;
  border-bottom: 1px solid rgba(165,122,46,.25);
}
.hero::before,
.hero::after {
  content: '✥';
  position: absolute;
  color: rgba(165,122,46,.34);
  font-size: 30px;
}
.hero::before { top: 35px; left: 2%; }
.hero::after { right: 2%; bottom: 30px; }
.impact-meter {
  border: 1px solid #c6a463;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,250,241,.96), rgba(241,231,207,.85));
}
.step-card,
.why-section,
.join-strip,
.auth-aside,
.form-panel,
.modal,
.listing-card {
  border-radius: 20px;
}
.step-card::before,
.listing-card::before {
  content: '❋';
  position: absolute;
  top: 10px;
  right: 14px;
  color: rgba(165,122,46,.28);
  font-size: 14px;
}
.step-card { position: relative; border-color: #d8c49e; background: rgba(255,250,241,.82); }
.why-section { border: 1px solid #d8c49e; background: rgba(239,229,209,.82); }
.join-strip { border: 1px solid #b38a48; }
.auth-layout { position: relative; }
.auth-layout::before {
  content: '✥';
  position: absolute;
  top: -24px;
  left: 50%;
  color: #a57a2e;
  font-size: 17px;
}
.auth-aside {
  border: 1px solid rgba(211, 179, 107, 0.5);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(41, 35, 27, 0.05);
}
.form-panel {
  padding: 38px 36px;
  border: 1px solid rgba(211, 179, 107, 0.5);
  border-radius: 20px;
  background: rgba(255, 250, 241, 0.88);
  box-shadow: 0 10px 30px rgba(41, 35, 27, 0.05);
  box-sizing: border-box;
}
.role-switch { border-color: #cbb27e; background: #eee4d1; }
.role-switch-donors { background: rgba(255,250,241,.7); }
.field input, .field select, .field textarea {
  border: 1px solid #d8c49e;
  border-radius: 10px;
  background: rgba(255, 250, 241, 0.95);
  box-sizing: border-box;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  border-color: #a57a2e;
  outline: 2px solid rgba(165, 122, 46, 0.35);
  outline-offset: 1px;
}
.upload-box { border-color: #c6a463; background: #f7efdf; }
.site-footer { border-top: 2px solid #b38a48; }

/* Warm, restrained Indian traditional palette: ink, turmeric, and old brass. */
:root {
  --ink: #29231b;
  --muted: #746a5e;
  --green: #453522;
  --green-dark: #2a2117;
  --green-soft: #eee6d6;
  --lime: #d0ad60;
  --lime-soft: #f1e7cf;
  --paper: #f6f0e4;
  --white: #fffaf1;
  --line: #e5d9c3;
  --orange: #a55437;
  --shadow: 0 18px 45px rgba(54, 38, 17, .09);
  background: var(--paper);
}
body { background: var(--paper); color: var(--ink); }
h1, h2, h3, .brand, .step-number, .hero-seal, .impact-number strong {
  font-family: 'Noto Serif', 'DejaVu Serif', Georgia, 'Times New Roman', serif;
}
.brand { letter-spacing: -.7px; }
.brand-period { color: #a57a2e; }
.site-header { position: relative; border-bottom-color: #dfcfad; background: rgba(246,240,228,.96); }
.site-header::after { content: '✥'; position: absolute; left: 50%; bottom: -9px; z-index: 2; padding: 0 8px; transform: translateX(-50%); background: var(--paper); color: #a67d36; font-size: 13px; }
.header-nav a { color: #6f6251; }
.header-nav a:hover, .link-button:hover { color: #97702e; }
.button-primary { background: #30271d; box-shadow: 0 8px 18px rgba(53,39,22,.17); }
.button-primary:hover { background: #1f1912; }
.button-lime { background: #d5b36b; color: #2c2318; }
.button-lime:hover { background: #e1c47e; }
.button-outline { border-color: #d9c9ab; color: #4d3922; }
.button-outline:hover { background: #f2eadb; }
.hero-copy { position: relative; }
.hero-copy::before { content: '✥'; position: absolute; top: 0; left: -27px; color: rgba(162,119,46,.55); font-size: 15px; }
.hero h1, .section-heading h2, .why-copy h2, .form-panel h2, .welcome-line h1, .content-heading h2 { color: #2c251b; }
.hero h1 em { color: #6e5129; }
.eyebrow { color: #876328; }
.eyebrow::before { background: #bd9141; }
.hero-visual { background: radial-gradient(circle at 50% 50%, rgba(191,153,77,.07), transparent 60%); }
.hero-orbit { background: #ece0c8; }
.hero-orbit::before { border-color: rgba(139,101,43,.17); }
.hero-orbit::after { border-color: rgba(139,101,43,.2); }
.floating-note { border-color: rgba(212,195,159,.9); background: rgba(255,250,241,.96); }
.floating-icon { background: #f0e4c9; color: #785724; }
.floating-icon.orange { background: #f4e3d7; color: #9a5036; }
.hero-seal { border-color: rgba(151,111,43,.36); color: #775622; }
.spark { color: #b18b4a; }
.hero-note { color: #8b7e69; }
.how-section { border-top-color: #e2d5bd; }
.section-heading p, .step-card p { color: #746b5e; }
.step-card { border-color: #e4d8c3; background: #fffaf1; }
.step-number { color: #9f8b66; }
.step-number span:last-child { background: #f1e7d2; color: #8a652a; }
.step-card h3 { color: #35291b; }
.why-section { background: #eee4d1; }
.why-copy > p:last-child, .why-aside-label { color: #756a5a; }
.why-aside { background: rgba(255,250,241,.82); }
.why-point { color: #43372a; }
.check { background: #e9d8b3; color: #5c431d; }
.join-strip h2 { color: #30271d; }
.join-strip p, .site-footer { color: #7a6d5a; }
.site-footer { border-top-color: #e0d2b7; }
.tradition-note { display: inline-flex; align-items: center; gap: 8px; color: #81602c; font-family: Georgia,serif; }
.tradition-note span { color: #b18b4a; }
.auth-aside, .donate-card { background: #30271d; }
.auth-aside .eyebrow { color: #e1c273; }
.auth-aside::after { border-color: rgba(225,194,115,.34); box-shadow: 0 0 0 23px rgba(225,194,115,.045), 0 0 0 55px rgba(225,194,115,.035); }
.auth-aside::before { content: '✥'; position: absolute; right: 27px; top: 22px; z-index: 1; color: rgba(225,194,115,.72); font-size: 19px; }
.aside-foot span { color: #e1c273; }
.form-panel h2 { font-family: 'Noto Serif', 'DejaVu Serif', Georgia, serif; }
.form-topline, .form-subtitle, .field .field-hint, .form-notice { color: #766b5d; }
.form-topline button, .inline-link { color: #805e2a; }
.role-switch { border-color: #e2d5bc; background: #efe5d3; }
.role-switch button { color: #746751; }
.role-switch button[aria-pressed="true"] { color: #47351f; }
.field label { color: #4a3a28; }
.field input, .field select, .field textarea { border-color: #dfd2bc; background: #fffaf1; }
.field input::placeholder, .field textarea::placeholder { color: #aa9b83; }
.upload-box { border-color: #cebb96; background: #fcf7ec; }
.upload-box label { color: #7c5925; }
.gps-status.is-set { color: #78602c; }
.dashboard { color: #30271d; }
.welcome-line h1 { font-size: clamp(28px,3vw,34px); }
.donate-card-label { color: #eadcbf; }
.donate-card-label span { background: #d5b36b; }
.donate-card p, .donate-card-bottom .tiny-note { color: rgba(255,250,241,.73); }
.impact-card { border-color: #e2d5bd; background: #fffaf1; }
.impact-card .card-label, .impact-number span, .impact-foot { color: #766b5d; }
.impact-number strong { color: #725326; }
.content-heading h2 { color: #30271d; }
.content-heading p, .distance-label { color: #817462; }
.listing-card { border-color: #e2d6c1; background: #fffaf1; }
.food-icon { background: #f0e7d6; color: #805e2a; }
.listing-copy h3 { color: #392e21; }
.listing-copy p { color: #7b7062; }
.status-label.open { color: #755e30; }
.status-label.open::before { background: #bf9c55; }
.status-label.accepted { color: #99593c; }
.status-label.accepted::before { background: #b97553; }
.empty-state { border-color: #ddcfb4; background: rgba(255,250,241,.7); }
.empty-icon { background: #efe5d1; color: #81602e; }
.empty-state h3 { color: #403326; }
.empty-state p, .demo-message { color: #786d5e; }
.demo-message { border-color: #e4d7be; background: #f0e7d6; }
.demo-message strong { color: #55401e; }
.volunteer-top { background: #eee3cf; }
.volunteer-top h2 { color: #34281a; }
.volunteer-top p { color: #706450; }
.radius-control select { border-color: #e2d5bd; background: #fffaf1; color: #433526; }
.count-pill { background: #eddfc3; color: #624819; }
.modal { border: 1px solid #eadfc9; background: #f8f2e7; }
.modal h2 { color: #34291d; }
.modal-intro, .modal-footnote { color: #786d5e; }
.modal-close { border-color: #dfd2bc; background: #fffaf1; color: #5c4c37; }
.alert-item { border-top-color: #e6dac5; }
.alert-bullet { background: #eee4d1; color: #805e2a; }
.alert-copy strong { color: #403428; }
.alert-copy p { color: #7c7061; }
.toast { background: #30271d; }
.error-message { color: #9e452f; }
.loading-state { min-height: 60vh; display: grid; align-content: center; justify-items: center; color: #786d5e; }
.loading-state p { font-family: Georgia,serif; }
.loading-ornament { color: #a57a2e; font-size: 24px; }
.site-header::before {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 7px;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 0, transparent 4px, rgba(165,122,46,.48) 4.6px, transparent 5.3px) left bottom / 19px 7px repeat-x;
}
.site-header::after { content: '✥  ❋  ✥'; padding-inline: 9px; letter-spacing: 2px; }
.brand-mark { position: relative; border: 1px solid rgba(165,122,46,.36); border-radius: 50% 50% 46% 46%; }
.brand-mark svg { width: 82%; height: 82%; }
.hero-visual::before, .hero-visual::after {
  position: absolute;
  z-index: 0;
  color: rgba(165,122,46,.48);
  pointer-events: none;
  font-family: Georgia,serif;
}
.hero-visual::before { content: '❋'; top: 12%; left: 8%; font-size: 25px; }
.hero-visual::after { content: '✥'; right: 12%; top: 25%; font-size: 18px; }
.step-card { position: relative; overflow: hidden; }
.step-card::after { content: '❋'; position: absolute; right: 15px; bottom: 10px; color: rgba(165,122,46,.34); font-size: 20px; pointer-events: none; }
.auth-aside::before { content: '✾'; }
.why-aside { position: relative; overflow: hidden; }
.why-aside::after { content: '✥'; position: absolute; right: 16px; top: 11px; color: rgba(165,122,46,.4); font-size: 16px; pointer-events: none; }
.section-heading h2,
.why-copy h2,
.join-strip h2 { letter-spacing: -.5px; }
.step-card {
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(165,122,46,.08);
}
.step-number span:last-child {
  color: #a57a2e;
}
.join-strip {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}
.join-strip::before,
.join-strip::after {
  content: '✥';
  position: absolute;
  color: rgba(255,238,194,.34);
  font-size: 34px;
  pointer-events: none;
}
.join-strip::before { top: 12px; left: 19px; }
.join-strip::after { right: 22px; bottom: 10px; }

/* Compact landing page; give signed-in and auth views the stronger scale. */
.hero {
  min-height: 510px;
  padding-top: 12px;
  padding-bottom: 30px;
}
.hero-copy { padding-block: 12px 24px; }
.hero h1 {
  max-width: 510px;
  font-size: clamp(42px, 4.3vw, 58px);
  line-height: 1.04;
  letter-spacing: -3.4px;
}
.hero-lede { max-width: 390px; margin-bottom: 22px; font-size: 13px; line-height: 1.65; }
.hero-note { margin-top: 15px; }
.hero-visual { min-height: 410px; }
.hero-orbit { width: min(100%, 420px); }
.plate { width: min(72%, 320px); }
.plate-inner { width: 82%; height: 82%; }

.auth-layout {
  width: min(1120px, calc(100% - 48px));
  min-height: calc(100vh - 160px);
  grid-template-columns: .88fr 1.12fr;
  align-items: stretch;
  gap: 32px;
  margin-top: 32px;
}
.auth-aside { padding: 46px 40px; display: flex; flex-direction: column; justify-content: space-between; }
.auth-aside h1 { max-width: 430px; margin-top: 40px; font-size: clamp(34px, 3.5vw, 46px); }
.auth-aside > p { max-width: 380px; font-size: 13.5px; }
.auth-aside .aside-foot { left: 40px; bottom: 36px; font-size: 12px; }
.form-panel { max-width: 680px; padding: 40px 38px; }
.form-panel h2 { font-size: 32px; }
.form-subtitle { max-width: 530px; font-size: 13px; }
.role-switch button { min-height: 44px; font-size: 12px; }
.field input, .field select, .field textarea { min-height: 48px; padding: 12px 14px; font-size: 13px; }
.field label { font-size: 11px; }
.dashboard { max-width: 1240px; padding: 58px 38px 84px; }
.welcome-line { margin-bottom: 38px; }
.welcome-line h1 { font-size: clamp(34px, 3.5vw, 44px); }
.dashboard-grid { gap: 24px; }
.donate-card, .impact-card { min-height: 290px; }
.donate-card { padding: 34px 38px; }
.donate-card h2 { font-size: clamp(30px, 3.3vw, 42px); }
.impact-card { padding: 32px; }
.impact-number strong { font-size: 54px; }
.content-section { margin-top: 52px; }
.content-heading h2 { font-size: 22px; }
.listing-card { padding: 22px 24px; }

@media (max-width: 650px) {
  .hero-copy::before { left: auto; right: 3px; top: 2px; }
  .site-footer > span:nth-child(2) { color: #776a57; }
  .hero-visual::before { left: 3%; }
  .impact-meter {
    width: 100%;
    margin-top: 18px;
    gap: 10px;
    padding: 11px 13px;
  }
  .impact-meter div { min-width: 0; flex-direction: column; gap: 1px; }
  .impact-meter small { margin-left: auto; max-width: 125px; text-align: right; line-height: 1.35; }
  .hero { padding-top: 18px; }
  .hero h1 { font-size: clamp(42px, 12vw, 58px); line-height: 1.02; letter-spacing: -3px; }
  .hero-lede { line-height: 1.65; }
  .hero-actions .button { flex: 1 1 100%; width: 100%; }
  .hero-visual { min-height: 350px; margin-inline: -8px; }
  .hero-orbit { width: min(92vw, 360px); }
  .hero { min-height: 0; padding-top: 8px; }
  .hero h1 { font-size: clamp(38px, 10.5vw, 52px); }
  .hero-visual { min-height: 320px; }
  .plate { width: min(64vw, 250px); }
  .auth-layout { width: min(100% - 24px, 500px); min-height: 0; display: flex; flex-direction: column; gap: 16px; margin: 16px auto 36px; padding: 0; }
  .auth-aside { min-height: auto; padding: 22px 20px; border-radius: 16px; }
  .auth-aside h1 { margin-top: 14px; font-size: 24px; }
  .auth-aside > p { font-size: 12px; }
  .auth-aside .aside-foot { display: none; }
  .form-panel { padding: 24px 20px; border-radius: 16px; width: 100%; box-sizing: border-box; }
  .form-panel h2 { font-size: 24px; }
  .form-grid { grid-template-columns: 1fr; gap: 12px; }
  .dashboard { padding: 40px 20px 60px; }
  .donate-card, .impact-card { min-height: 240px; }
  .donate-card { padding: 26px; }
  .plate { width: min(69vw, 275px); }
  .floating-note { max-width: 155px; padding: 9px 10px; gap: 7px; }
  .floating-icon { width: 27px; height: 27px; flex: 0 0 27px; font-size: 13px; }
  .floating-copy strong { font-size: 10px; }
  .floating-copy span { font-size: 9px; line-height: 1.25; }
  .note-one { top: 5%; right: -2px; }
  .note-two { bottom: 3%; left: -2px; }
  .hero-seal { right: 0; bottom: 20%; width: 59px; height: 59px; font-size: 7px; }
  .section-heading h2 { font-size: clamp(30px, 9vw, 36px); line-height: 1.08; }
  .join-strip { padding: 24px 18px 31px; }
  .join-strip h2 { font-size: 29px; }
  .role-choice-donors .hero-actions { flex-direction: column; }
  .role-choice-donors .button { width: 100%; }
}
@media (max-width: 390px) {
  .site-header { padding-inline: 12px; }
  .brand { font-size: 17px; gap: 5px; }
  .brand-logo { width: 24px; height: 24px; }
  .header-donate { min-height: 35px; padding-inline: 8px; font-size: 9px; }
  .page-shell { padding-inline: 14px; }
  .hero h1 { font-size: 43px; }
  .impact-meter small { display: none; }
  .hero-visual { min-height: 320px; }
  .plate { width: min(72vw, 250px); }
  .floating-note { max-width: 136px; }
  .note-one { right: -5px; }
  .note-two { left: -5px; }
  .hero-seal { display: none; }
  .why-section { padding: 25px 18px; }
  .dashboard { padding-inline: 14px; }
  .modal { width: calc(100vw - 24px); }
  .auth-layout { width: calc(100% - 20px); gap: 14px; margin-top: 14px; }
  .auth-aside { padding: 18px 16px; border-radius: 14px; }
  .auth-aside h1 { font-size: 22px; }
  .form-panel { padding: 20px 16px; border-radius: 14px; }
  .form-panel h2 { font-size: 22px; }
}
