.rework-hero {
  align-items: start;
  padding-top: clamp(32px, 5.4vw, 78px);
}
.rework-hero h1 { max-width: 15ch; }
.rework-hero .rework-lead { font-size: clamp(17px, 1.5vw, 21px); }
.rework-hours { margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--line); max-width: 50ch; }
.rework-hours strong { display: inline-flex; align-items: baseline; gap: 8px; color: var(--ink); }
.rework-hours strong::before { content: ""; width: 9px; height: 9px; flex: none; align-self: center; border-radius: 50%; background: var(--control); }
.rework-hours[data-state=open] strong::before { background: #24654a; box-shadow: 0 0 0 3px var(--good); }
.rework-hours p { margin-top: 3px; font-size: 15px; }
.rework-hours time { font-variant-numeric: tabular-nums; }
.rework-stack { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); }
@media (max-width: 960px) {
  .rework-stack { grid-template-columns: minmax(0, 1fr); }
}

/* One navy surface instead of a card inside a card. */
.rework-side { display: grid; gap: 12px; align-content: start; min-width: 0; }
.rework-brief {
  background: var(--night);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 40px);
  color: var(--on-dark);
  box-shadow: 0 18px 42px #15233e1f;
}
.rework-brief h2 { margin-bottom: 10px; font-size: clamp(24px, 2.5vw, 33px); }
.rework-brief .offer-form { background: transparent; border: 0; border-radius: 0; padding: 0; }
.rework-brief label { color: var(--on-dark); }
.rework-brief textarea, .rework-brief input:not([type=file]) {
  min-height: 52px;
  border-color: var(--white);
}
.rework-brief textarea { min-height: 116px; }
.rework-brief .offer-form-note { color: var(--mist); border-color: #4a629e; }
.rework-mode {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin: 4px 0 20px;
  border: 1px solid #5c74ab;
  border-radius: 9px;
  overflow: hidden;
}
.rework-mode button {
  min-height: 44px;
  padding: 9px 15px;
  border: 0;
  border-left: 1px solid #5c74ab;
  background: transparent;
  color: var(--on-dark);
  font: 600 15px/1.2 var(--sans);
  cursor: pointer;
}
.rework-mode button:first-child { border-left: 0; }
.rework-mode button:hover:not([aria-pressed=true]) { background: #1d356b; }
.rework-mode button[aria-pressed=true] { background: var(--white); color: var(--accent-dark); }
.rework-brief .btn { background: var(--white); color: var(--accent-dark); }
.rework-brief .btn:hover { background: var(--mist); }
.rework-callback[hidden] { display: none; }

/* The whole label is the drop zone; the input stays keyboard-focusable. */
.rework-file {
  position: relative;
  display: grid;
  gap: 2px;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px dashed #5c74ab;
  border-radius: 8px;
  cursor: pointer;
}
.rework-file:hover { border-color: var(--mist); }
.rework-file:focus-within { outline: 3px solid var(--mist); outline-offset: 2px; }
.rework-file input[type=file] {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  clip-path: inset(50%);
  overflow: hidden;
}
.rework-file-title { font-weight: 600; font-size: 15px; }
.rework-file-meta, .rework-file-name { font-size: 13px; color: var(--mist); }
.rework-file-name { color: var(--on-dark); overflow-wrap: anywhere; min-height: 1em; }
.rework-brief .lead-privacy { color: var(--mist); }
.rework-brief .lead-privacy a { color: var(--mist); text-decoration: underline; text-underline-offset: 3px; }
.rework-brief .offer-status { color: var(--mist); }
.rework-brief .offer-status[data-error] { color: #ffd1d6; }
.rework-brief button:focus-visible, .rework-brief [tabindex]:focus-visible { outline-color: var(--on-dark); }
.rework-side .offer-direct { color: var(--mute); font-size: 15px; overflow-wrap: anywhere; }

/* Guarantees band: derived from the success tone, not a new palette. */
.rework-trust {
  margin-top: clamp(-64px, -4.5vw, -30px);
  padding-bottom: clamp(30px, 4vw, 56px);
}
.rework-trust ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rework-trust li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 4px 10px;
  align-items: start;
}
.rework-trust svg { display: block; color: var(--good); margin-top: 1px; }
.rework-trust strong { font-size: 16px; font-weight: 650; line-height: 1.3; }
.rework-trust small { display: block; margin-top: 3px; color: var(--mute); font-size: 14px; line-height: 1.45; }
@media (max-width: 960px) {
  .rework-trust ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .rework-trust ul { grid-template-columns: minmax(0, 1fr); }
  .rework-trust { padding-bottom: 26px; }
}

/* Objections answered in plain sight: Q/A pairs, no accordion. */
.rework-faq dl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0; }
.rework-faq dl > div { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 6px clamp(20px, 4.5vw, 68px); border-top: 1px solid var(--line); padding-block: clamp(14px, 2vw, 22px); }
.rework-faq dl > div:first-child { border-top: 0; }
.rework-faq dt { font-weight: 650; font-size: clamp(17px, 1.6vw, 21px); align-self: start; }
.rework-faq dd { margin: 0; color: var(--mute); max-width: 52ch; }
@media (max-width: 760px) {
  .rework-faq dl > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* The page ends with an action, not a period. */
.rework-close {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px clamp(20px, 4.5vw, 68px);
  align-items: center;
  border-top: 1px solid var(--line-dark);
  padding-top: clamp(25px, 4vw, 57px);
}
.rework-close h2 { font-size: clamp(29px, 3.4vw, 49px); margin: 0; }
.rework-close p { margin: 0; color: var(--mute); max-width: 46ch; }
.rework-close .btn { margin-block: 8px 0; }
@media (max-width: 760px) {
  .rework-close { grid-template-columns: minmax(0, 1fr); }
  .rework-close .btn { width: 100%; }
}

.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-links a { display: inline-flex; min-height: 44px; align-items: center; }
.foot-links a:not([href^="mailto:"]):not([href^="/"]) { color: var(--on-dark); }

/* The footer grid places one note block and one link row. */
.site-foot .foot-note { grid-column: 1 / span 2; grid-row: 2; display: grid; gap: 2px; align-content: start; }
.site-foot .foot-note p { grid-column: auto; grid-row: auto; max-width: none; }
.site-foot .foot-links { grid-column: 3; grid-row: 2; justify-self: end; align-content: start; }
@media (max-width: 900px) {
  .site-foot .foot-note { grid-column: 1 / -1; grid-row: 3; }
  .site-foot .foot-links { grid-column: 1 / -1; grid-row: 4; justify-self: start; }
}

.rework-scope > div + div { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; }.rework-scope dt { font-weight: 700; }
.rework-scope dd { color: var(--mute); margin-top: 4px; }
.rework-proof {
  border-top: 1px solid var(--line-dark);
  padding-top: clamp(25px, 4vw, 57px);
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: 20px clamp(20px, 4.5vw, 68px);
  align-items: center;
}
.rework-proof h2 { font-size: clamp(29px, 3.4vw, 49px); }
.rework-proof p { margin-block: 12px; max-width: 43ch; color: var(--mute); }
.rework-proof img { display: block; width: 100%; height: auto; border-radius: 8px; }

@media (max-width: 960px) {
  .rework-proof { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .rework-mode { width: 100%; }
  .rework-mode button { flex: 1; }
  .rework-brief .btn { width: 100%; }
}
