
:root {
  --paper: #f5f4ee;
  --ink: #22241f;
  /* Readable text roles on the existing warm, light surfaces. */
  --muted: #56604d;
  --secondary: #424c38;
  --placeholder: #646c5b;
  --control-line: #7d876f;
  --focus: #496320;
  --on-dark: #f7f8f0;
  --on-dark-muted: #d0d8c3;
  --line: #dedfd5;
  --acid: #ddf584;
  --white: #fffefb;
  --radius: 24px;
  /* Shared image frames: use these across landing pages and creator guides. */
  --media-radius: 18px;
  --media-radius-large: 20px;
  --media-radius-small: 16px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 100%;
  line-height: 1.5;
  font-optical-sizing: auto;
  color: var(--ink);
  background: var(--paper);
  color-scheme: light;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: not-allowed; opacity: 1; }
a { color: inherit; }
button { border: 0; }
button, input, select, textarea, a { outline-offset: 4px; }
:focus-visible { outline: 2px solid var(--focus); }
img { max-width: 100%; display: block; }
svg { flex-shrink: 0; vertical-align: middle; }
h1, h2, h3, p { margin: 0; }
button svg { pointer-events: none; }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 100; padding: 14px 20px; background: var(--acid); border-radius: 8px; }
.skip-link:focus { top: 10px; }
.boot { min-height: 100vh; display: grid; place-content: center; text-align: center; gap: 12px; }
.boot span { font-size: 4.375rem; font-weight: 900; letter-spacing: -.025em; }
.boot p { color: var(--muted); }
.site-header { position: relative; z-index: 10; background: var(--paper); }
.desktop-nav { display: flex; align-items: center; gap: 30px; margin-right: auto; margin-left: 38px; }
.nav-link { position: relative; background: none; padding: 10px 0; color: var(--muted); font-size: 0.875rem; font-weight: 500; white-space: nowrap; }
.nav-link.active { color: var(--ink); }
.nav-link.active::after { content: ''; display: block; position: absolute; height: 4px; width: 4px; border-radius: 50%; background: var(--ink); bottom: -1px; left: calc(50% - 2px); }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 46px; padding: 13px 22px; border-radius: 12px; background: var(--ink); color: var(--white); font-size: 0.8125rem; font-weight: 600; text-decoration: none; transition: transform .18s, background .18s; }
.btn:hover { background: #414737; transform: translateY(-1px); }
.btn.small { min-height: 37px; padding: 9px 16px; font-size: 0.75rem; }
.btn.large { min-height: 52px; font-size: 0.875rem; }
.btn.acid { background: var(--acid); color: var(--ink); }
.btn.acid:hover { background: #cee96a; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--control-line); }
.btn.ghost:hover { background: #e9eade; }
.btn.light { background: #eeeee5; color: var(--ink); }
.btn.light:hover { background: #e1e6d6; color: var(--ink); }
.btn.danger { color: #932f25; border-color: #dba89c; background: transparent; }
.btn.danger:hover { background: #f9e8e2; color: #932f25; }
.btn:disabled, .btn:disabled:hover { background: #e3e6dc; color: #56604d; border-color: var(--control-line); transform: none; }
.btn.block { display: flex; width: 100%; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: transparent; }
.icon-btn:hover { background: #e5e7db; }
.avatar-btn { height: 43px; width: 43px; border: 1px solid var(--control-line); border-radius: 50%; background: #e2e6d6; font-size: 0.8125rem; font-weight: 700; display: grid; place-content: center; }
.page-shell { max-width: 1600px; padding: 0 4%; margin: auto; }
.discovery-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 29px; }
.chips { display: flex; gap: 7px; flex-wrap: wrap; }
.chip { background: transparent; border: 1px solid var(--control-line); border-radius: 99px; min-height: 39px; padding: 10px 17px; font-size: 0.75rem; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 7px; transition: background .2s; }
.chip:hover { background: #eceee0; }
.chip.active { border-color: var(--ink); color: var(--white); background: var(--ink); }
.search-wrap { min-width: 220px; width: 258px; display: flex; align-items: center; border-bottom: 1px solid var(--control-line); padding: 9px 0; gap: 10px; }
.search-wrap input { width: 100%; border: none; background: transparent; outline: none; font-size: 0.75rem; color: var(--ink); }
.search-wrap:focus-within { outline: 2px solid var(--focus); outline-offset: 4px; border-color: var(--focus); }
.search-wrap input::placeholder { color: var(--placeholder); }
.search-wrap kbd { font-family: inherit; font-size: 0.625rem; border: 1px solid #d7dacd; padding: 2px 5px; border-radius: 4px; color: var(--muted); }
.results-meta { display: flex; align-items: center; justify-content: space-between; margin: 0 0 16px; color: var(--muted); font-size: 0.6875rem; gap: 10px; }
.sort-select { font-size: 0.6875rem; color: var(--muted); border: none; background: none; padding: 4px 14px 4px 3px; max-width: 140px; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 25px; row-gap: 39px; }
.project-card { min-width: 0; }
.art-wrap { position: relative; border-radius: 19px; overflow: hidden; background: #e6e5dc; }
.art-link { display: block; width: 100%; padding: 0; background: transparent; text-align: left; }
.art-link img { width: 100%; aspect-ratio: 1.17; object-fit: cover; transition: transform .5s cubic-bezier(.2,.65,.3,1); }
.card-badges { position: absolute; top: 15px; left: 15px; right: 15px; display: flex; align-items: center; gap: 6px; pointer-events: none; }
.badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 99px; background: var(--white); color: var(--secondary); padding: 6px 9px; font-size: 0.5625rem; letter-spacing: .02em; line-height: 1; white-space: nowrap; }
.badge.example { background: var(--white); font-size: 0.5rem; text-transform: uppercase; letter-spacing: .02em; }
.badge.dark { background: var(--ink); color: white; }
.badge.acid { background: var(--acid); }
.badge.line { border: 1px solid var(--line); background: transparent; }
.save-button { position: absolute; right: 15px; bottom: 15px; height: 41px; width: 41px; display: grid; place-content: center; border-radius: 50%; background: var(--white); color: var(--ink); transition: transform .2s, background .2s; }
.save-button.saved { background: var(--ink); color: var(--acid); }
.save-button.saved svg { fill: var(--acid); }
.art-caption { position: absolute; bottom: 17px; left: 17px; color: var(--secondary); background: var(--white); box-shadow: 0 0 0 4px var(--white); border-radius: 2px; font-size: 0.5rem; text-transform: uppercase; letter-spacing: .05em; pointer-events: none; }
.card-text { padding: 17px 1px 0; }
.card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.help-line { background: transparent; padding: 10px 0 0; display: flex; gap: 6px; align-items: center; font-size: 0.625rem; color: var(--secondary); text-align: left; line-height: 1.4; }
.help-line svg { color: var(--secondary); }
.feature-banner { grid-column: 1 / -1; background: #252a22; color: var(--on-dark); border-radius: 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 43px 45px; margin: 3px 0 1px; overflow: hidden; position: relative; }
.mini-link { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 4px; font-size: 0.75rem; }
.bottom-note { padding: 42px 0; border-bottom: 1px solid var(--line); text-align: center; color: var(--muted); font-size: 0.75rem; line-height: 1.7; }
.bottom-note strong { color: var(--secondary); font-weight: 500; }
.site-footer { max-width: 1600px; margin: auto; padding: 38px 4% 45px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.footer-left { display: flex; align-items: center; gap: 20px; }
.footer-left p { font-size: 0.6875rem; color: var(--muted); line-height: 1.5; }
.footer-links { display: flex; gap: 25px; align-items: center; }
.footer-links button { background: none; padding: 0; font-size: 0.6875rem; color: var(--muted); }
.mobile-nav { display: none; }
.section-hero { padding: 52px 0 35px; }
.section-hero p { max-width: 520px; font-size: 0.9375rem; color: var(--muted); line-height: 1.65; }
.section-hero .hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.empty-state { padding: 75px 25px; text-align: center; border: 1px dashed #cdd3bf; border-radius: 22px; margin: 22px 0 35px; background: #f0f1e7; }
.empty-state h2 { font-size: 1.625rem; font-weight: 500; letter-spacing: -.02em; }
.empty-state p { font-size: 0.8125rem; color: var(--muted); line-height: 1.7; max-width: 380px; margin: 12px auto 23px; }
.breadcrumb { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 28px 0; }
.back-link { background: none; padding: 0; display: inline-flex; align-items: center; gap: 8px; font-size: 0.75rem; color: var(--muted); }
.project-top { display: grid; grid-template-columns: 1.15fr 1fr; gap: 55px; align-items: center; padding-bottom: 44px; }
.project-visual { position: relative; border-radius: 26px; overflow: hidden; background: #e1e5d5; }
.project-visual img { width: 100%; aspect-ratio: 1.12; object-fit: cover; }
.project-description { font-size: 0.875rem; color: var(--muted); line-height: 1.7; max-width: 420px; }
.creator-mini { display: flex; align-items: center; gap: 10px; margin: 22px 0; font-size: 0.75rem; }
.avatar { height: 36px; width: 36px; display: inline-grid; place-content: center; border-radius: 50%; background: #d9dfcb; color: var(--secondary); font-size: 0.75rem; font-weight: 600; flex-shrink: 0; }
.avatar.large { width: 53px; height: 53px; font-size: 1.1875rem; }
.creator-mini small { color: var(--muted); font-size: 0.625rem; display: block; margin-top: 4px; }
.action-stack { display: grid; gap: 10px; }
.project-price { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 0.75rem; color: var(--muted); margin: 19px 0; }
.project-price strong { font-size: 1.1875rem; font-weight: 500; color: var(--ink); }
.tiny-note { font-size: 0.625rem; color: var(--muted); line-height: 1.65; }
.terms-note { font-size: 0.75rem; }
.terms-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; transition: color .15s; }
.terms-note a:hover, .terms-note a:focus-visible { color: var(--ink, #151b15); }
.project-tabs { display: flex; gap: 32px; border-bottom: 1px solid var(--line); margin-bottom: 35px; overflow-x: auto; }
.project-tab { padding: 16px 0; position: relative; background: none; white-space: nowrap; color: var(--muted); font-size: 0.8125rem; }
.project-tab.active { color: var(--ink); }
.project-tab.active::after { content: ''; display: block; position: absolute; bottom: 0; height: 2px; width: 100%; background: var(--ink); }
.detail-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; padding: 4px 0 50px; }
.detail-main h2 { font-size: 1.875rem; letter-spacing: -.025em; font-weight: 500; margin-bottom: 18px; }
.detail-main h3 { font-size: 1.0625rem; font-weight: 600; margin: 25px 0 12px; }
.prose { font-size: 0.875rem; line-height: 1.85; color: var(--secondary); white-space: pre-line; }
.info-box { border: 1px solid var(--line); padding: 22px; border-radius: 17px; margin: 22px 0; }
.info-box.acid { background: #edf1dd; border-color: #d9e1c5; }
.info-box h3 { font-size: 0.875rem; margin: 0 0 10px; }
.info-box p { font-size: 0.75rem; line-height: 1.75; color: var(--muted); }
.example-note { background: #eeeee5; padding: 12px 15px; border-radius: 10px; color: var(--muted); font-size: 0.6875rem; line-height: 1.65; margin-bottom: 20px; }
.side-card { padding: 26px; border: 1px solid #d5dbc8; border-radius: 20px; background: #eff1e5; margin-bottom: 18px; }
.side-card h3 { font-size: 1.5625rem; line-height: 1.12; letter-spacing: -.02em; font-weight: 500; margin: 13px 0 14px; }
.side-card p { font-size: 0.75rem; line-height: 1.7; color: var(--muted); margin-bottom: 19px; }
.side-card .btn { margin-top: 3px; }
.detail-row { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid #dce0d2; padding: 13px 0; font-size: 0.6875rem; line-height: 1.6; }
.detail-row span:first-child { color: var(--muted); }
.detail-row span:last-child { text-align: right; max-width: 62%; }
.creator-card { border: 1px solid var(--line); border-radius: 19px; padding: 24px; margin: 20px 0; }
.creator-heading { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.creator-heading h3 { margin: 0 0 5px; font-size: 1.25rem; }
.creator-heading p { font-size: 0.6875rem; color: var(--muted); }
details summary { cursor: pointer; font-size: 0.75rem; padding: 15px 0 5px; }
details[open] summary { margin-bottom: 10px; }
.timeline-item { border-left: 1px solid #cbd2bb; padding: 0 0 25px 23px; margin: 15px 0; position: relative; }
.timeline-item::before { content: ''; position: absolute; width: 9px; height: 9px; background: #8b9b63; border-radius: 50%; left: -5px; top: 3px; }
.timeline-item small { font-size: 0.625rem; color: var(--muted); }
.timeline-item p { font-size: 0.8125rem; color: var(--secondary); line-height: 1.8; margin-top: 10px; white-space: pre-wrap; overflow-wrap: anywhere; }
.form-panel { padding: 29px; border: 1px solid #dedfd5; border-radius: 23px; background: #fafaf5; }
.compose-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; padding-bottom: 50px; align-items: start; }
.compose-preview { position: sticky; top: 25px; }
.compose-preview > .eyebrow { margin-bottom: 15px; }
.compose-preview .project-card { max-width: 450px; }
.field { margin-bottom: 20px; }
.field label, .field-label { display: block; font-size: 0.75rem; font-weight: 600; margin-bottom: 9px; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select { display: block; width: 100%; border: 1px solid var(--control-line); border-radius: 11px; padding: 13px 14px; background: #fffefa; color: var(--ink); font-size: 0.8125rem; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--focus); outline: 2px solid var(--focus); outline-offset: 0; }
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); }
.field input::placeholder, .field textarea::placeholder, .search-wrap input::placeholder { opacity: 1; }
.field select option, .sort-select option { color: var(--ink); background: var(--white); }
.field input:-webkit-autofill, .field textarea:-webkit-autofill { -webkit-text-fill-color: var(--ink); caret-color: var(--ink); box-shadow: 0 0 0 1000px #fffefa inset; }
.field textarea { resize: vertical; min-height: 103px; }
.field small, .hint { font-size: 0.625rem; color: var(--muted); display: block; margin-top: 7px; line-height: 1.6; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.upload-drop { width: 100%; min-height: 185px; border: 1px dashed var(--control-line); border-radius: 15px; background: #eff1e5; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; padding: 20px; position: relative; overflow: hidden; color: var(--secondary); }
.upload-drop strong { font-size: 0.875rem; font-weight: 500; }
.upload-drop small { font-size: 0.625rem; color: var(--muted); }
.upload-drop img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.upload-drop .change-label { position: absolute; bottom: 12px; right: 12px; background: #fffefa; padding: 8px 12px; border-radius: 99px; font-size: 0.6875rem; }
.preset-row { display: flex; align-items: center; gap: 7px; margin: 12px 0 0; flex-wrap: wrap; }
.preset-row span { font-size: 0.625rem; color: var(--muted); margin-right: 4px; }
.preset-row button { width: 35px; height: 35px; border-radius: 8px; overflow: hidden; padding: 0; background: #e1e3d5; border: 1px solid #cfd4c1; }
.preset-row button img { width: 100%; height: 100%; object-fit: cover; }
.preset-row button.active { outline: 2px solid var(--focus); }
.check-field { display: flex; gap: 10px; align-items: flex-start; font-size: 0.75rem; line-height: 1.65; color: var(--secondary); margin: 16px 0; }
.check-field input { accent-color: #5d743a; margin-top: 4px; flex-shrink: 0; }
.form-section { border-top: 1px solid var(--line); margin-top: 23px; padding-top: 6px; }
.form-section summary { font-size: 0.875rem; padding: 17px 0; font-weight: 500; }
.form-actions { display: flex; align-items: center; gap: 10px; margin-top: 25px; }
.form-error { color: #9b3226; font-size: 0.75rem; line-height: 1.7; margin: 12px 0; background: #fff1e8; border-radius: 8px; padding: 10px 13px; }
.form-error:empty { display: none; }
.studio-tabs { display: flex; gap: 8px; margin-bottom: 30px; flex-wrap: wrap; }
.studio-layout { max-width: 1050px; margin-bottom: 50px; }
.studio-project { display: flex; align-items: center; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.studio-thumb { width: 100px; height: 90px; object-fit: cover; border-radius: 12px; }
.studio-project h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: -.02em; margin-bottom: 6px; }
.studio-project p { font-size: 0.6875rem; color: var(--muted); }
.studio-project-actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.request-card { border: 1px solid #dbe0d0; background: #fafaf4; border-radius: 19px; padding: 24px; margin-bottom: 18px; }
.request-top { display: flex; justify-content: space-between; gap: 15px; align-items: flex-start; }
.request-top h3 { font-size: 1.1875rem; font-weight: 500; line-height: 1.35; }
.request-top p { font-size: 0.6875rem; color: var(--muted); margin: 8px 0 15px; }
.request-card > p { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 0.8125rem; line-height: 1.7; color: var(--secondary); margin-bottom: 14px; }
.request-meta { padding: 12px 15px; background: #eef1e6; border-radius: 10px; font-size: 0.6875rem; color: var(--muted); line-height: 1.7; margin: 13px 0; }
.request-actions { display: flex; gap: 8px; margin-top: 17px; flex-wrap: wrap; }
.modal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(30,35,25,.4); backdrop-filter: blur(7px); display: flex; align-items: center; justify-content: center; padding: 25px; }
.modal { background: var(--paper); border: 1px solid rgba(255,255,255,.5); border-radius: 25px; padding: 34px; width: 540px; max-width: 100%; max-height: calc(100dvh - 50px); overflow-y: auto; position: relative; box-shadow: 0 25px 100px rgba(20,25,15,.15); }
.modal.wide { width: 720px; }
.modal-close { position: absolute; top: 18px; right: 18px; }
.modal .eyebrow { margin-bottom: 17px; padding-right: 30px; }
.modal .intro { font-size: 0.8125rem; color: var(--muted); line-height: 1.7; margin-bottom: 25px; }
.modal .field { margin-bottom: 17px; }
.modal .intro strong { color: var(--secondary); font-weight: 600; }
.auth-switch { display: flex; gap: 7px; margin: 21px 0; }
.modal .eyebrow::before { background: #849b4d; }
.backing-summary { background: #fffef9; border: 1px solid var(--control-line); border-radius: 17px; padding: 19px; margin-bottom: 20px; }
.backing-summary .detail-row:first-child { padding-top: 2px; }
.backing-summary .detail-row:last-child { border-bottom: none; padding-bottom: 2px; }
.backing-summary .detail-row span:last-child { text-align: left; width: 64%; max-width: 64%; }
.callout { padding: 14px 17px; border-radius: 12px; background: #e9efda; font-size: 0.75rem; line-height: 1.7; color: var(--secondary); margin: 16px 0; }
.callout.warning { background: #f1e8d8; color: #665030; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.messages { display: grid; gap: 12px; padding: 14px 0; max-height: 300px; overflow-y: auto; }
.message { background: #e7edda; border-radius: 15px 15px 15px 4px; padding: 12px 15px; font-size: 0.75rem; line-height: 1.7; color: var(--secondary); max-width: 90%; white-space: pre-wrap; overflow-wrap: anywhere; }
.message.mine { margin-left: auto; border-radius: 15px 15px 4px 15px; background: #e5e4ed; color: #51495f; }
.message small { display: block; font-size: 0.5625rem; color: var(--muted); margin-bottom: 5px; }
#toast-root { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 300; width: max-content; max-width: calc(100% - 35px); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; background: #272e21; color: #e9f0dd; padding: 15px 21px; border-radius: 16px; font-size: 0.75rem; line-height: 1.6; box-shadow: 0 6px 28px #151b1520; animation: toast-in .2s ease; }
.toast.error { background: #743e32; color: #fff4ea; }
@keyframes toast-in { from { transform: translateY(8px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.loading-line { padding: 55px 0; color: var(--muted); text-align: center; font-size: 0.8125rem; }
.legal-copy { font-size: 0.75rem; line-height: 1.8; color: var(--muted); }
.legal-copy h3 { color: #3f4e31; font-size: 0.9375rem; margin: 20px 0 7px; }
.legal-copy p { margin-bottom: 12px; }
.inline-count { font-size: 0.5625rem; background: #e2e8d5; padding: 3px 6px; border-radius: 99px; margin-left: 4px; }
.no-wrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media(min-width: 1500px) { .header-inner,.page-shell { padding-left: 65px; padding-right: 65px; } }
@media(max-width: 1100px) {
  .desktop-nav { margin-left: 15px; gap: 20px; }
  .project-grid { column-gap: 20px; }
  .project-top { gap: 35px; }
  .detail-grid { gap: 40px; }
}
@media(max-width: 850px) {
  .desktop-nav { gap: 16px; margin-left: 0; }
  .new-idea { padding: 12px 16px; font-size: 0.75rem; }
  .nav-link { font-size: 0.75rem; }
  .discovery-toolbar { flex-direction: column; align-items: stretch; gap: 18px; }
  .search-wrap { width: 100%; }
  .project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .feature-banner { padding: 34px 30px; }
  .compose-layout { gap: 25px; }
  .compose-preview { display: none; }
  .compose-layout { grid-template-columns: 1fr; max-width: 700px; }
  .project-top { gap: 25px; }
  .project-description { font-size: 0.75rem; }
  .detail-grid { grid-template-columns: 1.2fr 1fr; gap: 25px; }
  .side-card { padding: 20px; }
  .footer-left p { max-width: 170px; }
  .footer-links { gap: 15px; }
}
@media(max-width: 600px) {
  body { padding-bottom: 75px; }
  .desktop-nav { display: none; }
  .avatar-btn { height: 36px; width: 36px; font-size: 0.6875rem; }
  .page-shell { padding: 0 20px; }
  .hero-aside p br { display: none; }
  .discovery-toolbar { margin-bottom: 20px; gap: 13px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px; padding: 0 20px 5px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { font-size: 0.6875rem; padding: 9px 14px; min-height: 36px; }
  .search-wrap { padding: 9px 1px; }
  .search-wrap kbd { display: none; }
  .search-wrap input { font-size: 0.75rem; }
  .results-meta { font-size: 0.5625rem; margin-bottom: 13px; }
  .sort-select { font-size: 0.625rem; }
  .project-grid { grid-template-columns: 1fr; gap: 30px; }
  .art-wrap { border-radius: 17px; }
  .art-link img { aspect-ratio: 1.2; }
  .card-text { padding-top: 14px; }
  .help-line { font-size: 0.625rem; }
  .feature-banner { display: block; padding: 29px; margin: 0; border-radius: 17px; }
  .bottom-note { font-size: 0.6875rem; padding: 29px 0; }
  .site-footer { padding: 28px 20px 25px; display: block; }
  .footer-left { gap: 18px; }
  .footer-left p { font-size: 0.625rem; max-width: none; }
  .footer-links { margin-top: 22px; justify-content: space-between; }
  .footer-links button { font-size: 0.625rem; }
  .mobile-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 25; display: grid; grid-template-columns: repeat(4,1fr); background: #f8f9f1; border-top: 1px solid #d9decc; padding: 9px 8px calc(9px + env(safe-area-inset-bottom, 0px)); backdrop-filter: blur(15px); }
  .mobile-nav button { background: none; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 4px; color: var(--muted); font-size: 0.5625rem; }
  .mobile-nav button.active { color: #2e3d20; }
  .mobile-nav button.active svg { stroke-width: 2.1; }
  .section-hero { padding: 35px 0 27px; }
  .section-hero p { font-size: 0.8125rem; }
  .section-hero .hero-row { display: block; }
  .section-hero .hero-row .btn { margin-top: 20px; }
  .empty-state { padding: 50px 20px; }
  .breadcrumb { margin: 22px 0; }
  .project-top { grid-template-columns: 1fr; gap: 28px; padding-bottom: 24px; }
  .project-visual { border-radius: 19px; }
  .project-visual img { aspect-ratio: 1.12; }
  .project-description { font-size: 0.8125rem; }
  .creator-mini { margin: 17px 0; }
  .project-tabs { gap: 25px; margin-bottom: 25px; }
  .project-tab { font-size: 0.75rem; padding: 15px 0; }
  .detail-grid { grid-template-columns: 1fr; gap: 25px; padding-bottom: 25px; }
  .detail-main h2 { font-size: 1.75rem; }
  .prose { font-size: 0.8125rem; }
  .form-panel { padding: 22px 18px; border-radius: 19px; }
  .field-grid { gap: 13px; }
  .field input,.field textarea,.field select { font-size: 1rem; }
  .field label { font-size: 0.6875rem; }
  .upload-drop { min-height: 180px; }
  .compose-layout { padding-bottom: 25px; }
  .form-actions { flex-wrap: wrap; }
  .form-actions .btn { flex: 1; white-space: nowrap; font-size: 0.75rem; }
  .studio-project { gap: 14px; flex-wrap: wrap; }
  .studio-thumb { width: 78px; height: 75px; }
  .studio-project-actions { width: 100%; justify-content: flex-start; margin-left: 92px; gap: 7px; }
  .studio-project h3 { font-size: 1.1875rem; }
  .studio-project-actions .btn { font-size: 0.625rem; padding: 8px 11px; }
  .request-card { padding: 20px; }
  .request-top h3 { font-size: 1.125rem; }
  .modal-backdrop { padding: 12px; align-items: center; }
  .modal { padding: 30px 23px; max-height: calc(100dvh - 24px); border-radius: 21px; }
  .modal-close { top: 13px; right: 12px; }
  .modal .intro { font-size: 0.75rem; }
  .modal-actions { flex-wrap: wrap; }
  #toast-root { bottom: 88px; }
  .toast { font-size: 0.6875rem; padding: 13px 17px; }
}
@media(prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Campaign catalogue: retains the approved contrast and layout. */
.stage-filter-bar { margin:-7px 0 26px; padding:0 0 19px; border-bottom:1px solid var(--line); }
.stage-filter-label { display:block; margin-bottom:10px; font-size: 0.625rem; color:var(--muted); letter-spacing: .05em; text-transform:uppercase; font-weight:600; }
.stage-chips { display:flex; gap:6px; flex-wrap:wrap; }
.stage-chip { display:flex; align-items:center; gap:6px; border:1px solid transparent; padding:7px 10px; min-height:34px; border-radius:99px; background:#eaece2; font-size: 0.625rem; font-weight:500; color:var(--secondary); white-space:nowrap; }
.stage-chip:hover { background:#dde3cf; }
.stage-chip.active { border-color:var(--ink); background:var(--white); color:var(--ink); }
.stage-dot { display:inline-block; width:6px; height:6px; border-radius:50%; flex-shrink:0; background:#777365; }
.stage-dot.stage-concept { background:#775ca2; }
.stage-dot.stage-team-forming { background:#4765a2; }
.stage-dot.stage-prototyping { background:#a26836; }
.stage-dot.stage-funding-soon { background:#8e6b28; }
.stage-dot.stage-crowdfunding { background:#526f29; }
.stage-dot.stage-in-production { background:#38736f; }
.stage-dot.stage-delivered { background:#39783b; }
.stage-dot.stage-paused { background:#a04d3c; }
.card-campaign { margin:13px 0 12px; }
.card-campaign > div:first-child { display:flex; justify-content:space-between; align-items:center; gap:6px; font-size: 0.6875rem; color:var(--muted); }
.card-campaign strong { font-size: 0.8125rem; color:var(--ink); }
.card-campaign small { display:block; font-size: 0.5625rem; color:var(--muted); margin-top:6px; }
.funding-track { height:4px; border-radius:9px; background:#dde0d3; overflow:hidden; margin-top:8px; }
.funding-track span { display:block; height:100%; background:#667e38; border-radius:inherit; }
.funding-track.large { height:7px; margin:16px 0; }
.card-stage-note { display:flex; align-items:center; gap:5px; margin:12px 0; font-size: 0.625rem; color:var(--secondary); flex-wrap:wrap; }
.card-stage-note span { color:var(--muted); }
.card-stage-note.paused { color:#874331; }
.stage-summary { display:flex; align-items:flex-start; gap:8px; line-height:1.6; font-size: 0.75rem; color:var(--secondary); margin:18px 0 0; }
.stage-summary .stage-dot { margin-top:7px; }
.people-list { display:grid; gap:18px; margin-top:20px; }
.people-list .creator-card { margin:0; }
.person-location { font-size: 0.6875rem; color:var(--muted); margin:-3px 0 15px; }
.person-commitment { font-size: 0.6875rem; color:var(--secondary); background:#eeefe5; padding:9px 12px; border-radius:9px; margin-top:13px; line-height:1.5; }
.journey-overview { display:grid; grid-template-columns:repeat(4,1fr); gap:15px; padding:24px 0 28px; border-bottom:1px solid var(--line); margin-bottom:27px; }
.journey-step { display:flex; flex-direction:column; gap:9px; }
.journey-bullet { width:28px; height:28px; display:grid; place-content:center; border-radius:50%; background:#e5e7dc; color:var(--muted); font-size: 0.8125rem; }
.journey-step.complete .journey-bullet { background:#dfe9c7; color:#394e27; }
.journey-step.current .journey-bullet { background:var(--ink); color:var(--acid); }
.journey-step.paused .journey-bullet { background:#f2ddd3; color:#874331; }
.journey-step strong { font-size: 0.6875rem; display:block; line-height:1.5; }
.journey-step small { display:block; font-size: 0.5625rem; color:var(--muted); margin-top:3px; line-height:1.5; }
.timeline-item h3 { margin:10px 0 9px; font-size: 1.0625rem; letter-spacing: -.02em; }
.campaign-summary { margin:25px 0 20px; padding:24px; border:1px solid var(--line); border-radius:18px; background:var(--white); }
.campaign-amount { display:flex; flex-wrap:wrap; gap:11px; align-items:baseline; }
.campaign-amount strong { font-size: 2.375rem; line-height:1.2; letter-spacing: -.025em; }
.campaign-amount span { font-size: 0.75rem; color:var(--muted); }
.campaign-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin:19px 0; }
.campaign-stats strong { font-size: 1.25rem; font-weight:600; display:block; }
.campaign-stats span { display:block; font-size: 0.625rem; margin-top:5px; color:var(--muted); line-height:1.4; }
.budget-list { margin:15px 0 29px; }
.budget-list .detail-row { align-items:flex-start; font-size: 0.75rem; gap:20px; }
.budget-list .detail-row strong { white-space:nowrap; }
.budget-total { color:var(--ink); }
.reward-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:15px; margin:20px 0 28px; }
.reward-card { display:flex; flex-direction:column; align-items:flex-start; padding:22px; border:1px solid var(--control-line); border-radius:17px; background:var(--white); }
.reward-card .badge { background:#e9edde; }
.reward-card h4 { font-size: 1rem; margin:17px 0 9px; line-height:1.4; }
.reward-price { font-size: 1.625rem; letter-spacing: -.02em; }
.reward-card p { font-size: 0.75rem; line-height:1.7; color:var(--secondary); margin:14px 0 18px; }
.reward-card .btn { margin-top:auto; font-size: 0.6875rem; padding:11px 12px; }
.reward-closed { font-size: 0.625rem; color:var(--muted); padding-top:8px; margin-top:auto; }
.campaign-side { margin-bottom:20px; }
.campaign-side .btn { margin-top:20px; }
@media (max-width:700px) {
 .stage-chips { flex-wrap:nowrap; overflow-x:auto; padding:2px 2px 8px; scrollbar-width:thin; }
 .stage-chip { flex:0 0 auto; min-height:36px; }
 .stage-filter-bar { margin-top:0; margin-bottom:18px; padding-bottom:8px; }
 .reward-grid { grid-template-columns:1fr; }
 .journey-overview { grid-template-columns:repeat(2,1fr); gap:20px; }
 .campaign-summary { padding:18px; }
 .campaign-amount strong { font-size: 2rem; }
 .campaign-stats { gap:10px; }
 .campaign-stats strong { font-size: 1.125rem; }
 .card-campaign > div:first-child { font-size: 0.625rem; }
}

/* Creator-flow refinement: preserve the existing EPISH visual language. */
.choice-field { border: 0; padding: 0; margin: 18px 0; min-width: 0; }
.choice-field legend { font-size: 0.75rem; font-weight: 600; margin-bottom: 10px; color: var(--ink); }
.choice-options { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-option { display: inline-flex !important; align-items: center; gap: 8px; margin: 0 !important; padding: 10px 12px; border: 1px solid var(--control-line); border-radius: 10px; background: #fffefa; cursor: pointer; font-size: 0.75rem !important; line-height: 1.4; font-weight: 400 !important; color: var(--ink); }
.choice-option input[type] { appearance: auto; display: inline-block; width: 16px; height: 16px; min-width: 16px; margin: 0; padding: 0; border-radius: 0; accent-color: #4b632c; }
.choice-option span { color: var(--ink) !important; font-weight: 400; }
.choice-option:has(input:checked) { border-color: #4b632c; background: #edf2dc; }
.choice-option:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
:has(#backing-form input[name=method][value=card]:checked) .crypto-only, :has(#backing-form input[name=method][value=crypto]:checked) .card-only { display: none; }
.choice-option { transition: border-color 0.2s, background-color 0.2s; }
@media (prefers-reduced-motion: reduce) { .choice-option { transition: none; } }
.image-disclosure { margin-top: 16px; }
.image-disclosure summary, .terms-disclosure summary { font-size: 0.75rem; font-weight: 600; color: var(--ink); cursor: pointer; line-height: 1.5; }
.image-disclosure summary span, .terms-disclosure summary span, .optional-label { font-size: 0.6875rem; font-weight: 400; color: var(--muted); margin-left: 5px; }
.image-disclosure > .hint, .terms-disclosure > .hint { margin-top: 10px; }
.image-note { margin: 12px 0 0; }
.terms-disclosure { padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: #f7f8f1; margin-bottom: 20px; }
.collaboration-terms { margin: 16px 0; padding: 13px 0; border-block: 1px solid var(--line); }
.collaboration-terms strong { font-size: 0.75rem; }
.collaboration-terms p { margin: 8px 0 !important; font-size: 0.75rem !important; }
.collaboration-terms small { color: var(--muted); font-size: 0.625rem; line-height: 1.6; display: block; }
.funding-hero { padding-top: 20px; }
.funding-perks { margin: 28px 0; }
.funding-perks h2 { font-size: 1.4375rem; letter-spacing: -.02em; font-weight: 500; }
.perk-editor { background: #fbfbf6; border: 1px solid var(--line); border-radius: 15px; padding: 20px; margin: 18px 0; }
.perk-editor-heading { display: flex; gap: 15px; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.perk-editor-heading h3 { font-size: 1rem; margin: 0; }
.perk-editor-heading .mini-link { white-space: nowrap; font-size: 0.6875rem; }
.perk-editor .field:last-child { margin-bottom: 0; }
.funding-aside .tiny-note { margin: 16px 0; }
.draft-missing { border-left: 3px solid #806021; background: #fbf1d9; padding: 12px 14px; color: #4e401f; font-size: 0.75rem; line-height: 1.6; margin: 20px 0; }
#funding-form .form-actions { flex-wrap: wrap; }
#funding-form .field input, #funding-form .field textarea, #funding-form .field select { min-width: 0; }
@media (max-width: 600px) {
  #funding-form .field-grid { grid-template-columns: 1fr; gap: 0; }
  .perk-editor { padding: 16px; }
  .choice-options { gap: 7px; }
  .choice-option { font-size: 0.75rem !important; padding: 10px; }
  .funding-hero h1 { font-size: 2.3125rem; }
  #funding-form .form-actions .btn { width: 100%; }
}

.funding-delete { margin-top: 20px; }

