.project-contact {
  padding-block: clamp(48px, 5.8vw, 96px) clamp(28px, 3vw, 52px);
  color: var(--paper);
  background: #101a15;
}
.project-contact [hidden] { display: none; }
.contact-heading {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 28px; padding-bottom: clamp(24px, 3vw, 48px);
}
.contact-heading h2 {
  font: 400 clamp(58px, 8.4vw, 145px)/.98 Anton, Impact, sans-serif;
  text-transform: uppercase; letter-spacing: -.035em;
}
.contact-heading h2 span { color: var(--green); }
.contact-heading > p { max-width: 30ch; padding-bottom: 3px; line-height: 1.45; color: #d8e3d8; }
.contact-workspace { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); }
.brief-portrait {
  position: relative; isolation: isolate; overflow: hidden;
  margin: 0; display: flex; align-items: end; min-height: 345px; background: var(--forest);
}
.brief-portrait img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 72% 28%; }
.brief-portrait::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgb(3 15 10 / 98%), rgb(3 15 10 / 75%) 25%, transparent 64%);
}
.brief-portrait figcaption { padding: clamp(22px, 2.6vw, 42px); }
.chat-label, .brief-types legend, .client-clocks h3 {
  font: 700 11px/1.3 "DM Sans", sans-serif; letter-spacing: .13em; text-transform: uppercase;
}
.chat-label { display: inline-flex; align-items: center; gap: 8px; color: #9cf2bb; }
.chat-label::before { content: ""; width: 18px; height: 2px; background: var(--green); }
.brief-portrait h3, .brief-preview h3 {
  margin: 6px 0 8px; font: 400 clamp(30px, 3.1vw, 48px)/1.03 Anton, Impact, sans-serif;
  text-transform: uppercase; letter-spacing: -.025em;
}
.brief-portrait p { max-width: 33ch; font-size: clamp(15px, 1.25vw, 20px); line-height: 1.4; }
.brief-editor {
  min-width: 0; display: flex; flex-direction: column; justify-content: center; color: var(--ink);
  padding: clamp(22px, 3vw, 48px); background: var(--paper); border-top: 4px solid var(--green);
}
.brief-types { display: flex; flex-wrap: wrap; gap: 0 20px; margin: 0; padding: 0; min-width: 0; border: 0; box-shadow: inset 0 -1px var(--line); }
.brief-types legend { padding: 0; color: var(--muted); }
.brief-types label { position: relative; cursor: pointer; }
.brief-types input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.brief-types span { display: block; padding: 10px 0 9px; border-bottom: 3px solid transparent; font-size: 14px; font-weight: 650; color: var(--muted); }
.brief-types input:checked + span { color: var(--forest); border-color: #098447; }
.brief-types input:focus-visible + span { outline: 3px solid #008648; outline-offset: 2px; }
.brief-preview { margin-block: clamp(18px, 2vw, 32px); }
.brief-preview h3 { margin: 0 0 12px; }
#brief-text { max-width: 60ch; color: #30463a; line-height: 1.5; white-space: pre-line; }
#brief-text mark { color: #075f36; background: #dff1e3; }
.chat-actions { display: flex; align-items: stretch; gap: 12px; flex-wrap: wrap; }
.chat-actions .button { min-height: 44px; padding: 12px 22px; font-size: 14px; }
.brief-copy { border: 1px solid #93a498; color: var(--ink); background: transparent; cursor: pointer; }
.brief-copy:hover { border-color: #087946; background: #e5eee3; }
.brief-fiverr { background: var(--green); color: #092418; }
.brief-fiverr:hover { background: #50d791; }
.brief-status:not(:empty) { margin-top: 10px; color: #155a37; font-size: 13px; }
.client-clocks { display: flex; align-items: center; gap: clamp(22px, 4vw, 70px); margin-top: 24px; padding-top: 20px; border-top: 1px solid #485b4d; }
.client-clocks h3 { margin: 0; color: #bdd1c1; }
.clock-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; flex: 1; }
.clock-grid > div { border-left: 1px solid #485b4d; padding-left: clamp(10px, 1.7vw, 27px); }
.clock-grid dt { color: #c8d6ca; font-size: 12px; }
.clock-grid dd { margin-top: 3px; font: 500 clamp(20px, 2vw, 29px)/1.2 ui-monospace, monospace; font-variant-numeric: tabular-nums; }
@media (max-width: 800px) {
  .contact-heading { display: block; }
  .contact-heading > p { margin-top: 14px; max-width: 56ch; }
  .contact-workspace { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
}
@media (max-width: 650px) {
  .contact-workspace { grid-template-columns: 1fr; }
  .brief-portrait { min-height: 250px; }
  .brief-portrait img { object-position: 72% 24%; }
  .brief-editor { padding: 21px 16px; }
  .brief-types { gap: 0 14px; }
  .brief-types span { font-size: 13px; }
  .chat-actions { gap: 8px; }
  .chat-actions .button { padding-inline: 15px; }
  .client-clocks { display: block; }
  .clock-grid { margin-top: 11px; gap: 10px; }
  .clock-grid > div { border: 0; padding: 0; }
}
@media (max-width: 370px) {
  .contact-heading h2 { font-size: 50px; }
  .brief-types { gap: 0 9px; }
}
