/* Project brief */
.proposal-page .proposal-section {
  --rule: #d9d4c8;
  --soft-ink: #57574e;
  padding-block: clamp(32px, 4vw, 72px) clamp(64px, 8vw, 120px);
}
.proposal-page .proposal-heading { margin: 0 0 clamp(26px, 3vw, 50px); }
.proposal-page .proposal-heading h1 { max-width: none; color: #6588b8; }
.proposal-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(240px, 1fr);
  align-items: start;
  gap: clamp(12px, 1.7vw, 26px);
  padding: clamp(12px, 1.7vw, 26px);
  align-items: stretch;
  border-radius: 30px;
  background: linear-gradient(115deg, #ede9dfe8, #e1d9cbcf), url('/_static/2ee831eece2d38c00b78/assets/images/photography/ivory-carpet-weave.webp') center / 540px;
}
.proposal-form-container {
  min-width: 0;
  scroll-margin-top: 106px;
  padding: clamp(22px, 2.7vw, 44px);
  background: #fffefa;
  border-radius: 19px;
  box-shadow: 0 4px 20px #3127180c;
}
.form-progress { display: flex; gap: 4px; margin-bottom: clamp(25px, 3vw, 44px); }
.form-progress button {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--rule);
  background: transparent;
  color: var(--soft-ink);
  text-align: left;
  font: 400 15px/1.35 "Public Sans", Arial, sans-serif;
}
.form-progress small { margin-right: .35em; color: #79674f; font: italic 19px/1 var(--serif); }
.form-progress button[aria-current] { box-shadow: inset 0 -2px #473d31; color: #272720; font-weight: 600; }
.form-progress button.is-complete { border-color: #827663; }
#proposal-form fieldset > legend, .handoff-title {
  font: 400 clamp(33px, 3.2vw, 51px)/1.06 var(--serif);
  letter-spacing: -.022em;
  text-wrap: balance;
}
#proposal-form legend:focus { outline: none; }
.form-help, .handoff-note, .handoff-result p { line-height: 1.55; }
.form-help { margin: 10px 0 clamp(20px, 2vw, 30px); font-size: 16px; color: var(--soft-ink); }
.service-choices {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
}
.service-choices label {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: start;
  cursor: pointer;
  min-width: 0;
  border-bottom: 1px solid var(--rule);
}
.service-choices img { width: 100%; aspect-ratio: 1.52; object-fit: cover; border-radius: 9px; }
.service-choices label > span { padding: 12px 4px 13px 0; font-size: 16px; line-height: 1.35; font-weight: 600; }
.service-choices input {
  position: absolute;
  opacity: 0;
  width: 44px;
  height: 44px;
  right: 0;
  top: 0;
  margin: 0;
}
.choice-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  padding: 1px;
  background: #fffefa;
  border: 1px solid #766e61;
  border-radius: 2px;
  pointer-events: none;
}
.choice-check path { opacity: 0; }
.service-choices input:checked ~ .choice-check { color: #fff; background: #493e30; border-color: #493e30; }
.service-choices input:checked ~ .choice-check path { opacity: 1; }
.service-choices label:has(input:checked) { border-color: #493e30; box-shadow: 0 1px #493e30; }
.service-choices label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.unsure-choice { display: flex; gap: 12px; align-items: center; min-height: 48px; margin-top: 12px; cursor: pointer; }
.unsure-choice input { width: 19px; height: 19px; margin: 0; accent-color: #493e30; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 15px; font-weight: 600; line-height: 1.4; margin-bottom: 8px; }
.field label span, .project-notes summary span { font-weight: 400; color: var(--soft-ink); }
.field input, .field textarea, #copy-status textarea {
  display: block;
  width: 100%;
  padding: 13px 14px;
  min-height: 52px;
  border: 1px solid #b6afa3;
  border-radius: 9px;
  color: var(--ink);
  background: #fbfaf6;
  font: 400 16px/1.5 "Public Sans", Arial, sans-serif;
  scroll-margin-block: 105px;
}
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid #4a5346; outline-offset: 1px; }
.field input[aria-invalid="true"] { border-color: #99402e; }
.field-error, .form-error { color: #923622; font-size: 14px; line-height: 1.45; margin-top: 6px; }
.field-error:empty, .form-error:empty, #copy-status:empty { display: none; }
.field textarea, #copy-status textarea { resize: vertical; min-height: 120px; }
.zip-field { max-width: calc(50% - 12px); }
.project-notes { border-block: 1px solid var(--rule); }
.project-notes summary { display: flex; align-items: center; gap: 6px; min-height: 52px; list-style: none; font-size: 16px; font-weight: 600; }
.project-notes summary::-webkit-details-marker { display: none; }
.project-notes summary::after { content: '+'; margin-left: auto; font-size: 24px; font-weight: 400; }
.project-notes[open] summary::after { content: '−'; }
.optional-fields { padding-top: 12px; }
.privacy-link, .handoff-result p > a { text-decoration: underline; text-underline-offset: .2em; }
.privacy-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
.form-buttons { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.form-buttons > .button { margin-left: auto; }
.form-back { min-width: 54px; }
#proposal-review > div { display: grid; grid-template-columns: minmax(88px, .55fr) 1fr; column-gap: 16px; position: relative; padding: 17px 54px 17px 0; border-top: 1px solid var(--rule); }
#proposal-review dt { font-weight: 600; }
#proposal-review dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.review-edit { position: absolute; right: 0; top: 5px; padding: 8px; min-height: 44px; min-width: 44px; color: var(--soft-ink); background: transparent; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.handoff-note { margin-top: 20px; max-width: 48ch; }
.handoff-result { margin-top: 30px; border-top: 1px solid var(--rule); padding-top: 22px; }
.handoff-result .handoff-title { font-size: 34px; line-height: 1.1; margin-bottom: 12px; }
.inline-actions { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 8px; }
#copy-status textarea { margin-top: 8px; min-height: 220px; }
.contact-sidebar {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 17px;
  background: #353128;
  color: #fffaf1;
}
.contact-sidebar picture { display: contents; }
.contact-sidebar picture img {
  position: absolute;
  z-index: -2;
  inset: -10px;
  width: calc(100% + 20px);
  max-width: none;
  height: calc(100% + 20px);
  object-fit: cover;
  object-position: 54% center;
  filter: blur(5px);
}
.contact-sidebar::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(175deg, #201c1226 4%, #29251982 34%, #181810d4 75%, #17160fe8);
}
.contact-sidebar > div { padding: clamp(72px,12vw,180px) clamp(20px,2.4vw,38px) clamp(22px,2.2vw,36px); }
.contact-sidebar h2 { margin-bottom: 12px; font: 400 clamp(30px,3vw,48px)/1.06 var(--serif); letter-spacing: -.025em; }
.contact-sidebar h2 em { color: #e4d3b8; }
.contact-sidebar a { display: flex; align-items: center; min-height: 44px; width: fit-content; max-width: 100%; color: inherit; overflow-wrap: anywhere; }
.sidebar-phone { font-size: clamp(20px,1.6vw,25px); letter-spacing: -.02em; }
.contact-sidebar address { border-top: 1px solid #f4e9d244; margin: 12px 0 4px; padding-top: 16px; line-height: 1.5; }
.contact-sidebar .text-link { color: #fffaf1; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1050px) {
  .service-choices { grid-template-columns: 1fr; gap: 0; }
  .service-choices label { grid-template: auto / 78px minmax(0,1fr) 30px; gap: 14px; align-items: center; padding: 9px 0; }
  .service-choices img { height: 50px; aspect-ratio: auto; }
  .service-choices label > span { padding: 0; }
  .choice-check { top: calc(50% - 11px); right: 2px; }
  .service-choices input { top: calc(50% - 22px); }
}
@media (max-width: 800px) {
  .proposal-workspace { grid-template-columns: minmax(0,1fr); }
  .proposal-workspace { gap: 14px; }
}
@media (max-width: 600px) {
  .proposal-page .proposal-section { padding-block: 22px 54px; }
  .proposal-page .proposal-heading { margin-bottom: 22px; }
  .proposal-workspace { margin-inline: -7px; padding: 7px; border-radius: 20px; }
  .proposal-form-container { padding: 14px 14px 18px; border-radius: 14px; scroll-margin-top: 86px; }
  .form-progress { margin-bottom: 20px; }
  .form-progress button { font-size: 14px; }
  .form-progress small { font-size: 16px; }
  .form-help { margin: 8px 0 14px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .zip-field { max-width: none; }
  .form-buttons { margin-top: 14px; }
  #proposal-review > div { grid-template-columns: 1fr; gap: 5px; }
  .contact-sidebar h2 { max-width: none; }
}
