:root {
  --ink: #15232c;
  --muted: #60707a;
  --line: #d6e0e2;
  --paper: #ffffff;
  --soft: #f4f8f7;
  --teal: #08766f;
  --teal-dark: #075a55;
  --teal-light: #dff2ed;
  --coral: #d85b3d;
  --coral-light: #fff0eb;
  --sun: #f3c557;
  --danger: #aa3344;
  --shadow: 0 14px 35px rgba(21, 35, 44, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.55 Arial, Helvetica, sans-serif; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: var(--teal-dark); text-underline-offset: 3px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 { line-height: 1.14; }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 74px; padding: 14px clamp(20px, 5vw, 78px); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.96); }
.wordmark { color: var(--ink); font-size: 20px; font-weight: 800; text-decoration: none; }
.wordmark span { display: block; color: var(--teal); font-size: 12px; font-weight: 700; }
nav { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 12px 20px; }
nav a { color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.inline-form { display: inline; }
.link-button, .text-button { padding: 0; border: 0; background: transparent; color: var(--teal-dark); font-size: 14px; font-weight: 700; }
.text-button { color: var(--muted); text-decoration: underline; }
.text-button:hover { color: var(--danger); }
main { min-height: calc(100vh - 145px); }
.site-footer { padding: 28px clamp(20px, 5vw, 78px); color: var(--muted); background: var(--soft); font-size: 13px; }

.eyebrow { margin: 0; color: var(--teal); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.lead, .muted, small { color: var(--muted); }
.location-line { color: var(--muted); font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 17px; border: 1px solid var(--teal); border-radius: 6px; background: #fff; color: var(--teal-dark); font-weight: 800; line-height: 1.2; text-align: center; text-decoration: none; transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease; }
.button:hover { border-color: var(--teal-dark); background: var(--teal-light); }
.button.primary { background: var(--teal); color: #fff; }
.button.primary:hover { background: var(--teal-dark); }
.button.secondary { border-color: #aebcc0; color: var(--ink); }
.button.secondary:hover { border-color: var(--ink); background: #f5f5ef; }
.button.compact { min-height: 37px; padding: 8px 12px; font-size: 13px; }
.button:focus-visible, .text-button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }

.home-intro { max-width: 870px; padding: 88px clamp(20px, 10vw, 150px) 70px; }
.home-intro h1 { max-width: 700px; margin: 8px 0 14px; font-size: clamp(38px, 5vw, 64px); }
.home-intro .lead { max-width: 660px; margin-bottom: 28px; font-size: 20px; }
.location-note { margin-top: 18px; font-size: 13px; }
.section, .list-section, .opportunity-section { padding: 54px clamp(20px, 7vw, 112px); border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section-heading > p { max-width: 420px; margin: 0; color: var(--muted); font-size: 14px; }
.section-heading h2 { margin: 4px 0 0; font-size: 29px; }
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.category { min-height: 122px; padding: 19px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); text-decoration: none; transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.category:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-2px); }
.category strong, .category span { display: block; }
.category span { margin-top: 8px; color: var(--muted); font-size: 14px; }
.how-it-works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.how-it-works > div { min-height: 250px; padding: 42px clamp(20px, 4vw, 72px); background: var(--soft); }
.how-it-works span { color: var(--coral); font-weight: 800; }
.how-it-works h2 { margin: 12px 0 6px; font-size: 24px; }
.how-it-works p { margin: 0; color: var(--muted); }
.activity-hero { max-width: 940px; padding: 74px clamp(20px, 10vw, 150px) 38px; }
.activity-hero h1 { max-width: 760px; margin: 6px 0 12px; font-size: clamp(38px, 5vw, 62px); }
.activity-hero p:not(.eyebrow) { max-width: 700px; margin: 0; color: var(--muted); font-size: 18px; }
.activity-preview { background: #fff8e9; }
.activity-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.activity-grid.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.activity-card { overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.activity-card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #e4eeec; }
.activity-card > div { padding: 18px; }
.activity-card h2, .activity-card h3 { margin: 5px 0 7px; }
.activity-card h2 { font-size: 25px; }
.activity-card p { margin: 0; color: var(--muted); }
.activity-card.expanded { display: grid; grid-template-columns: minmax(180px, 0.85fr) minmax(0, 1.15fr); }
.activity-images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 100%; background: #e4eeec; }
.activity-images img { width: 100%; height: 100%; min-height: 250px; object-fit: cover; }
.star-score { display: inline-block; margin-top: 12px; color: #805409; font-size: 14px; font-weight: 800; }

.form-page { display: grid; grid-template-columns: minmax(240px, 0.8fr) minmax(320px, 1fr); gap: 64px; max-width: 1120px; margin: auto; padding: 72px 24px; }
.form-page.narrow { max-width: 820px; }
.form-page.wide { max-width: 1240px; }
.form-intro h1, .dashboard-header h1, .detail-header h1 { margin: 8px 0 14px; font-size: clamp(34px, 4vw, 52px); }
.form-intro > p, .dashboard-header p, .detail-header p { color: var(--muted); }
.form-panel { padding: 28px; border: 1px solid var(--line); border-radius: 6px; background: #fff; box-shadow: 0 8px 24px rgba(21, 35, 44, 0.04); }
.form-section-heading { margin-bottom: 23px; }
.form-section-heading h2 { margin: 4px 0 8px; font-size: 25px; }
.form-section-heading p:last-child { margin: 0; color: var(--muted); }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label, legend { font-size: 14px; font-weight: 800; }
input, select, textarea { width: 100%; min-height: 43px; padding: 10px 11px; border: 1px solid #aebdc1; border-radius: 4px; background: #fff; color: var(--ink); }
input[type="file"] { padding: 8px; background: var(--soft); }
textarea { min-height: 118px; resize: vertical; }
.field small { font-size: 13px; }
.field > small:not(:only-child) { color: var(--muted); }
.upload-feedback { min-height: 20px; margin: 0; color: var(--muted); font-size: 13px; }
.upload-feedback.success { color: var(--teal-dark); font-weight: 700; }
.upload-feedback.error { color: var(--danger); font-weight: 700; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.field-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.compact-field { max-width: 230px; }
fieldset { margin: 0 0 20px; padding: 0; border: 0; }
.radio-group { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.radio-group label, .checkbox { display: flex; align-items: center; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 4px; cursor: pointer; }
.radio-group input, .checkbox input { width: auto; min-height: auto; }
.checkbox { margin-bottom: 18px; font-weight: 700; }

.dashboard-header, .detail-header { padding: 52px clamp(20px, 7vw, 112px); background: var(--soft); }
.dashboard-header { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.request-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.request-row:hover h2 { color: var(--teal); }
.request-row h2 { margin: 6px 0; font-size: 20px; }
.request-row p { margin: 0; color: var(--muted); font-size: 14px; }
.request-row > strong { text-align: right; font-size: 14px; }
.status { display: inline-block; color: var(--teal-dark); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.status.new { color: var(--coral); }
.status.interested { color: #8a5910; }
.status.quoted { color: var(--teal-dark); }
.empty-state { max-width: 560px; padding: 30px; border: 1px dashed #9dacb0; border-radius: 6px; background: #fff; }
.empty-state.large { max-width: 710px; padding: 42px; background: var(--soft); }
.empty-state.compact { padding: 22px; }
.empty-state h2, .empty-state h3 { margin-top: 0; }
.empty-state p { color: var(--muted); }
.back-link { display: inline-block; margin-bottom: 22px; font-size: 14px; font-weight: 700; }
.description { max-width: 760px; margin-top: 20px; color: var(--ink); white-space: pre-line; }
.budget-inline { color: var(--teal-dark); font-weight: 800; }
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.quote-card { padding: 22px; border: 1px solid var(--line); border-radius: 6px; }
.quote-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.quote-head h3 { margin: 0; }
.quote-head span { max-width: 100px; color: var(--muted); font-size: 12px; text-align: right; }
.price { margin: 15px 0 4px; color: var(--teal-dark); font-size: 28px; font-weight: 800; }
.quote-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0 0; }
.quote-card dl div { border-top: 1px solid var(--line); padding-top: 8px; }
.quote-card dt { color: var(--muted); font-size: 12px; }
.quote-card dd { margin: 2px 0 0; font-size: 14px; font-weight: 700; }
.quote-card form { margin-top: 20px; }
.quote-card.accepted-quote { border: 2px solid var(--teal); }
.selected-quote { display: inline-block; margin: 18px 0 0; color: var(--teal-dark); font-size: 14px; font-weight: 800; }
.job-status-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px clamp(20px, 7vw, 112px); border-bottom: 1px solid var(--line); background: #e8f5f2; }
.job-status-band h2 { margin: 4px 0 7px; font-size: 26px; }
.job-status-band p:not(.eyebrow) { max-width: 620px; margin: 0; color: var(--muted); }
.job-row { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.job-row h2 { margin: 6px 0; font-size: 22px; }
.job-row p { margin: 0; color: var(--muted); }
.job-note { margin-top: 9px !important; color: var(--ink) !important; }
.job-row-action { flex: 0 0 auto; }
.rating-field > p { margin: 0; font-size: 14px; font-weight: 800; }
.rating-options { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.rating-options label { position: relative; display: grid; place-items: center; min-height: 48px; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: #805409; cursor: pointer; font-size: 13px; font-weight: 800; text-align: center; }
.rating-options input { position: absolute; width: 1px; min-height: 1px; opacity: 0; }
.rating-options label:has(input:checked) { border-color: #b78516; background: #fff3cf; box-shadow: inset 0 0 0 1px #b78516; }
.share-checkbox { align-items: flex-start; }
.flash-stack { position: fixed; z-index: 4; top: 86px; right: 20px; max-width: 380px; }
.flash { margin-bottom: 8px; padding: 12px 14px; border-left: 4px solid var(--teal); background: #e7f5f3; box-shadow: var(--shadow); }
.flash.error { border-color: var(--danger); background: #fae9eb; }
.flash.info { border-color: #ad7b0c; background: #fff6d9; }
.error-page { max-width: 760px; padding: 96px clamp(20px, 10vw, 150px); }
.error-page h1 { margin: 6px 0 14px; font-size: clamp(34px, 5vw, 56px); }
.error-page p:not(.eyebrow) { max-width: 550px; margin-bottom: 26px; color: var(--muted); font-size: 18px; }

.guide-entry { display: inline-flex; }
.profile-hero-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.detail-guide { margin: 0 0 18px auto; }
.guide-highlight { position: relative; z-index: 2; outline: 3px solid var(--sun); outline-offset: 6px; box-shadow: 0 0 0 9999px rgba(21, 35, 44, 0.06); }
.guide-panel { position: fixed; z-index: 6; right: 24px; bottom: 24px; width: min(370px, calc(100vw - 48px)); padding: 20px; border: 1px solid #b6d4ce; border-top: 4px solid var(--teal); border-radius: 6px; background: #fff; box-shadow: 0 20px 50px rgba(21, 35, 44, 0.2); }
.guide-panel[hidden] { display: none; }
.guide-panel-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--teal-dark); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.guide-panel h2 { margin: 12px 0 7px; font-size: 22px; }
.guide-panel p { margin: 0; color: var(--muted); }
.guide-panel-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 20px; }

.profile-editor-hero, .public-profile-hero { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; padding: 50px clamp(20px, 7vw, 112px); border-bottom: 1px solid var(--line); background: #e8f5f2; }
.profile-editor-hero h1, .public-profile-hero h1 { margin: 4px 0 8px; font-size: clamp(34px, 4vw, 54px); }
.profile-editor-hero p:not(.eyebrow), .public-profile-hero p { max-width: 650px; margin: 0; color: var(--muted); }
.profile-avatar { display: grid; place-items: center; flex: 0 0 auto; width: 56px; height: 56px; overflow: hidden; border: 1px solid #b9d3ce; border-radius: 50%; background: var(--teal); color: #fff; font-size: 23px; font-weight: 800; }
.profile-avatar.large { width: 104px; height: 104px; font-size: 42px; }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-cta { display: grid; gap: 10px; justify-items: end; max-width: 210px; }
.profile-cta span { color: var(--muted); font-size: 12px; text-align: right; }
.editor-layout { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: 28px; max-width: 1250px; margin: 0 auto; padding: 48px 24px; }
.profile-form .form-section-heading:not(:first-child) { margin-top: 38px; padding-top: 34px; border-top: 1px solid var(--line); }
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.choice-card { position: relative; min-height: 54px; display: flex; align-items: center; padding: 13px 14px; border: 1px solid var(--line); border-radius: 5px; background: #fff; cursor: pointer; font-weight: 700; transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease; }
.choice-card:hover { border-color: var(--teal); }
.choice-card input { position: absolute; width: 1px; min-height: 1px; opacity: 0; }
.choice-card:has(input:checked) { border-color: var(--teal); background: var(--teal-light); box-shadow: inset 0 0 0 1px var(--teal); }
.editor-aside { align-self: start; padding: 22px; border-left: 4px solid var(--coral); background: #fff8e9; }
.editor-aside h2 { margin: 4px 0 18px; font-size: 21px; }
.mini-profile-preview { display: grid; gap: 5px; padding: 16px; border: 1px solid #e8ce92; background: #fff; }
.mini-profile-preview span, .mini-profile-preview p { color: var(--muted); font-size: 13px; }
.mini-profile-preview p { margin: 5px 0 0; }
.portfolio-editor { padding: 52px clamp(20px, 7vw, 112px); border-top: 1px solid var(--line); background: var(--soft); }
.portfolio-editor-grid { display: grid; grid-template-columns: minmax(270px, 0.7fr) minmax(0, 1.5fr); gap: 24px; }
.portfolio-form { align-self: start; }
.portfolio-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-content: start; }
.portfolio-grid.public { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.portfolio-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.portfolio-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #dce8e5; }
.portfolio-card > div { padding: 16px; }
.portfolio-card h3 { margin: 6px 0; font-size: 18px; }
.portfolio-card p { margin: 0; color: var(--muted); font-size: 14px; }
.editable-card form { position: absolute; top: 8px; right: 8px; }
.icon-button { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid #c2ccce; border-radius: 50%; background: #fff; color: var(--ink); font-weight: 800; }
.icon-button.danger:hover { border-color: var(--danger); color: var(--danger); }

.public-profile-hero { background: #fff4e9; }
.profile-headline { color: var(--ink); font-size: 20px; font-weight: 700; }
.profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 0; }
.profile-main > .content-band { padding: 52px clamp(20px, 7vw, 112px); border-bottom: 1px solid var(--line); }
.content-band h2 { margin: 5px 0 14px; font-size: 28px; }
.service-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.service-chips span { padding: 6px 10px; border: 1px solid #a8d1c9; border-radius: 4px; background: var(--teal-light); color: var(--teal-dark); font-size: 13px; font-weight: 700; }
.profile-facts { display: grid; align-content: start; border-left: 1px solid var(--line); background: var(--soft); }
.profile-facts > div { display: grid; gap: 3px; padding: 24px; border-bottom: 1px solid var(--line); }
.profile-facts strong { color: var(--teal-dark); font-size: 28px; }
.profile-facts span { color: var(--muted); font-size: 13px; }
.reviews-band { padding: 52px clamp(20px, 7vw, 112px); background: #fff8e9; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.review-card { padding: 20px; border: 1px solid #ecd49a; border-radius: 6px; background: #fff; }
.review-card strong { color: #8a5910; }
.review-card p { margin: 8px 0; }
.review-card span { color: var(--muted); font-size: 13px; }

.opportunity-hero { display: flex; align-items: end; justify-content: space-between; gap: 28px; padding: 58px clamp(20px, 7vw, 112px) 50px; background: #e8f5f2; }
.opportunity-hero h1 { max-width: 780px; margin: 5px 0 10px; font-size: clamp(34px, 4vw, 54px); }
.opportunity-hero p:not(.eyebrow) { max-width: 760px; margin: 0; color: var(--muted); }
.hero-actions, .decision-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; }
.metric-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 clamp(20px, 7vw, 112px); border: 1px solid var(--line); border-top: 0; }
.metric-strip > div { display: grid; gap: 4px; min-height: 102px; padding: 20px; border-right: 1px solid var(--line); }
.metric-strip > div:last-child { border-right: 0; }
.metric-strip strong { color: var(--teal-dark); font-size: 32px; }
.metric-strip span { color: var(--muted); font-size: 13px; }
.notice-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 24px clamp(20px, 7vw, 112px) 0; padding: 20px 24px; border-left: 4px solid var(--coral); background: var(--coral-light); }
.notice-band p { margin: 3px 0 0; color: var(--muted); }
.opportunity-feed { display: grid; gap: 14px; }
.opportunity-card { overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #fff; transition: box-shadow 160ms ease, border-color 160ms ease; }
.opportunity-card.unread { border-color: #dc927e; box-shadow: inset 4px 0 0 var(--coral); }
.opportunity-card:hover { border-color: #8da8a5; box-shadow: var(--shadow); }
.opportunity-card-top, .opportunity-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 18px; background: var(--soft); }
.opportunity-card-top time, .opportunity-card-footer > span { color: var(--muted); font-size: 13px; }
.opportunity-card-body { display: grid; grid-template-columns: minmax(0, 1fr) 176px; gap: 24px; padding: 20px 18px; }
.opportunity-card h3 { margin: 0; font-size: 23px; }
.opportunity-card-body p { max-width: 700px; margin: 8px 0 0; color: var(--muted); }
.budget-badge { align-self: start; display: grid; gap: 4px; padding: 14px; border: 1px solid #b8d7d0; border-radius: 5px; background: var(--teal-light); }
.budget-badge span, .opportunity-summary > span, .opportunity-detail-meta span { color: var(--muted); font-size: 12px; font-weight: 700; }
.budget-badge strong { color: var(--teal-dark); font-size: 17px; }

.opportunity-detail-hero { padding: 46px clamp(20px, 7vw, 112px); background: var(--soft); }
.opportunity-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 52px; align-items: start; }
.opportunity-detail-grid h1 { margin: 8px 0; font-size: clamp(34px, 4vw, 52px); }
.opportunity-summary { display: grid; gap: 8px; padding: 22px; border-top: 4px solid var(--teal); background: #fff; box-shadow: var(--shadow); }
.opportunity-summary strong { color: var(--teal-dark); font-size: 27px; line-height: 1.1; }
.opportunity-summary p { margin: 0; }
.opportunity-summary small { margin-top: 7px; }
.opportunity-detail-meta { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 clamp(20px, 7vw, 112px); border: 1px solid var(--line); border-top: 0; }
.opportunity-detail-meta > div { display: grid; gap: 4px; padding: 18px; border-right: 1px solid var(--line); }
.opportunity-detail-meta > div:last-child { border-right: 0; }
.attachment-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; padding: 30px clamp(20px, 7vw, 112px); }
.attachment-grid img { width: 100%; aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: 5px; object-fit: cover; }
.decision-band { display: flex; align-items: center; justify-content: space-between; gap: 26px; padding: 32px clamp(20px, 7vw, 112px); border-top: 1px solid var(--line); background: #fff8e9; }
.decision-band h2 { margin: 4px 0 7px; font-size: 28px; }
.decision-band p { max-width: 630px; margin: 0; color: var(--muted); }

.request-wizard-hero { display: flex; align-items: start; justify-content: space-between; gap: 24px; max-width: 1120px; padding: 66px clamp(20px, 10vw, 150px) 30px; }
.request-wizard-hero h1 { max-width: 800px; margin: 5px 0 12px; font-size: clamp(36px, 5vw, 58px); }
.request-wizard-hero p:not(.eyebrow) { max-width: 690px; margin: 0; color: var(--muted); font-size: 18px; }
.wizard-shell { max-width: 970px; margin: 0 auto; padding: 22px 24px 70px; }
.wizard-progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 18px; padding: 0; list-style: none; }
.wizard-progress li { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 14px; font-weight: 700; }
.wizard-progress span { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid #abb9bd; border-radius: 50%; background: #fff; }
.wizard-progress li.active { color: var(--teal-dark); }
.wizard-progress li.active span { border-color: var(--teal); background: var(--teal); color: #fff; }
.wizard-form { min-height: 520px; }
.wizard-step { animation: appear 180ms ease; }
@keyframes appear { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.request-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.budget-panel { display: grid; grid-template-columns: minmax(200px, 0.8fr) minmax(0, 1.2fr); gap: 18px; margin: 26px 0 18px; padding: 20px; border-left: 4px solid var(--sun); background: #fff8e9; }
.budget-panel h3 { margin: 4px 0; font-size: 19px; }
.budget-panel p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 14px; }
.wizard-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 21px; border-top: 1px solid var(--line); }
.wizard-actions.end { justify-content: flex-end; }

@media (max-width: 850px) {
  .profile-editor-hero, .public-profile-hero, .opportunity-detail-grid, .editor-layout, .profile-layout, .portfolio-editor-grid { grid-template-columns: 1fr; }
  .activity-grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-editor-hero, .public-profile-hero { align-items: start; }
  .profile-cta { justify-items: start; max-width: none; }
  .profile-hero-actions { justify-content: flex-start; }
  .profile-cta span { text-align: left; }
  .editor-aside { border-top: 4px solid var(--coral); border-left: 0; }
  .profile-facts { grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 0; }
  .profile-facts > div { border-right: 1px solid var(--line); border-bottom: 0; }
  .profile-facts > div:last-child { border-right: 0; }
  .portfolio-grid.public { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choice-grid, .request-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .site-header { align-items: flex-start; padding: 15px 20px; }
  nav { gap: 9px 13px; }
  nav a, .link-button { font-size: 12px; }
  .home-intro { padding: 58px 20px 48px; }
  .how-it-works, .form-page, .field-grid, .field-grid.two, .field-grid.three, .quote-card dl, .opportunity-card-body, .budget-panel { grid-template-columns: 1fr; }
  .form-page { gap: 28px; padding: 44px 20px; }
  .section-heading, .opportunity-hero, .decision-band { align-items: flex-start; flex-direction: column; }
  .job-status-band, .job-row { align-items: flex-start; flex-direction: column; }
  .request-wizard-hero { align-items: flex-start; flex-direction: column; }
  .section, .list-section, .opportunity-section, .dashboard-header, .detail-header, .portfolio-editor, .opportunity-detail-hero, .decision-band { padding-left: 20px; padding-right: 20px; }
  .dashboard-header { align-items: flex-start; flex-direction: column; }
  .request-row { align-items: flex-start; }
  .request-row > strong { white-space: nowrap; }
  .metric-strip { grid-template-columns: 1fr 1fr; }
  .metric-strip > div:nth-child(2) { border-right: 0; }
  .metric-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .notice-band { align-items: flex-start; flex-direction: column; }
  .opportunity-card-body { gap: 14px; }
  .budget-badge { max-width: 230px; }
  .opportunity-detail-meta { grid-template-columns: 1fr; }
  .opportunity-detail-meta > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .opportunity-detail-meta > div:last-child { border-bottom: 0; }
  .choice-grid, .request-category-grid, .portfolio-grid, .portfolio-grid.public { grid-template-columns: 1fr; }
  .activity-grid, .activity-grid.compact, .activity-card.expanded, .activity-images { grid-template-columns: 1fr; }
  .activity-images img { min-height: 220px; }
  .rating-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-facts { grid-template-columns: 1fr; }
  .profile-facts > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .profile-facts > div:last-child { border-bottom: 0; }
  .wizard-shell { padding: 18px 20px 58px; }
  .wizard-progress li { font-size: 12px; }
  .wizard-form { min-height: auto; }
  .hero-actions, .decision-actions { justify-content: flex-start; }
  .flash-stack { right: 12px; left: 12px; max-width: none; }
  .guide-panel { right: 12px; bottom: 12px; width: calc(100vw - 24px); }
}
