.project-brief {
  --brief-ink: #1b101b;
  --brief-surface: #271723;
  --brief-text: #fff3ef;
  --brief-mute: #ddc4d2;
  --brief-line: #b57d9570;
  --brief-pink: #ffd1e1;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1fr);
  min-height: 100svh;
  color: var(--brief-text);
  background: var(--brief-ink);
  isolation: isolate;
}

.project-brief [hidden] { display: none !important }

.brief-plate {
  --brief-wash: #783860;
  --brief-focal: 69% center;
  position: sticky;
  top: 0;
  align-self: start;
  display: grid;
  align-items: end;
  min-height: 100svh;
  padding: calc(var(--nav-height) + 52px) clamp(36px, 5.5vw, 104px) clamp(46px, 8.7vh, 118px) var(--gutter);
  overflow: clip;
  isolation: isolate;
  background: var(--brief-wash);
}

.brief-plate[data-tone="website"], .brief-plate-images img[data-tone="website"] { --brief-wash: #29235f; --brief-focal: 78% center }
.brief-plate[data-tone="branding"], .brief-plate-images img[data-tone="branding"] { --brief-wash: #641c39; --brief-focal: 69% center }
.brief-plate[data-tone="webshop"], .brief-plate-images img[data-tone="webshop"] { --brief-wash: #5a2e32; --brief-focal: 72% center }
.brief-plate[data-tone="campagne"], .brief-plate-images img[data-tone="campagne"] { --brief-wash: #762943; --brief-focal: 78% center }
.brief-plate[data-tone="onderhoud"], .brief-plate-images img[data-tone="onderhoud"] { --brief-wash: #402578; --brief-focal: 79% center }
.brief-plate[data-tone="anders"], .brief-plate-images img[data-tone="anders"] { --brief-wash: #651d43; --brief-focal: 72% center }

.brief-plate-images, .brief-plate-images img, .brief-plate::before, .brief-plate::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.brief-plate-images { z-index: -3 }
.brief-plate-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--brief-focal);
}

.brief-plate-images img[data-tone="default"] { --brief-focal: 69% center }
.brief-plate-images img.brief-new-art { animation: brief-art-in 680ms ease-out both }

.brief-plate::before {
  content: "";
  z-index: -2;
  background:
    linear-gradient(90deg, #1d102247 0%, transparent 58%, #1b101b35 100%),
    linear-gradient(0deg, #1b101b 0%, #21101fe9 17%, #21101fc4 35%, #21101f54 58%, #21101f06 80%, #21101f18 100%);
}

.brief-plate::after {
  content: "";
  z-index: -1;
  border-right: 1px solid #ffc8e31f;
  background: radial-gradient(ellipse at 38% 100%, color-mix(in srgb, var(--brief-wash) 58%, transparent), transparent 66%);
}

.brief-plate-copy { max-width: 39rem }
.brief-plate-copy .eyebrow { color: #ffcade; margin-bottom: clamp(13px, 2.25vw, 32px) }
.brief-plate-copy h1 {
  font-size: clamp(4.5rem, 8vw, 10.15rem);
  line-height: .80;
  letter-spacing: -.05em;
  text-wrap: initial;
}
.brief-plate-copy h1 em { display: block; font-size: .96em; line-height: 1.02 }
.brief-plate-copy > p:not(.eyebrow) {
  max-width: 34ch;
  margin-top: clamp(15px, 2.6vw, 32px);
  color: #f0d7e5;
  font-size: clamp(1.02rem, 1.33vw, 1.23rem);
  line-height: 1.55;
}

.brief-station {
  min-width: 0;
  width: min(100%, 980px);
  align-self: start;
  padding: calc(var(--nav-height) + clamp(26px, 4.1vw, 74px)) var(--gutter) clamp(37px, 6vw, 91px) clamp(39px, 5.2vw, 110px);
}

.brief-progress { margin-bottom: clamp(28px, 5vh, 56px); scroll-margin-top: 8px }
.brief-progress ol {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  list-style: none;
}
.brief-progress ol::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 7%;
  right: 7%;
  height: 1px;
  background: linear-gradient(90deg, #eea8c659, #a777a671);
}
.brief-progress li { position: relative; min-width: 0 }
.brief-progress button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  width: 100%;
  min-height: 57px;
  padding: 11px 1px 5px;
  border: 0;
  background: transparent;
  color: #e4c7d7;
  font-size: clamp(.72rem, 1.14vw, .89rem);
  font-weight: 850;
}
.brief-progress button:disabled { cursor: default; color: #bea8b8 }
.brief-progress button:hover:not(:disabled), .brief-progress button[aria-current] { color: #fff3ef }
.brief-progress button i {
  position: relative;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1px solid #b485a0;
  background: var(--brief-ink);
  box-shadow: 0 0 0 5px var(--brief-ink);
  transition: background-color 200ms ease, border-color 200ms ease;
}
.brief-progress button[aria-current] i {
  border-color: #ffbdd6;
  background: #ffbdd6;
  box-shadow: 0 0 0 4px var(--brief-ink), 0 0 0 6px #f7a8c660;
}
.brief-progress button[data-completed] i { border-color: #edaccc }
.brief-progress button[data-completed] i::before {
  content: "";
  width: 6px;
  height: 4px;
  border-left: 1px solid #f8b8d5;
  border-bottom: 1px solid #f8b8d5;
  transform: translateY(-1px) rotate(-45deg);
}

.project-brief-step { min-width: 0 }
.project-brief-step + .project-brief-step { margin-top: clamp(38px, 7vw, 82px) }
[data-brief-ready] .project-brief-step { margin-top: 0 }
[data-brief-ready] .project-brief-step.brief-step-transition { animation: brief-step-in 280ms ease-out both }
.project-brief-step h2, .brief-confirm h2 {
  max-width: 14ch;
  color: var(--brief-text);
  font-size: clamp(2.45rem, 4.3vw, 5.5rem);
  line-height: .95;
  text-wrap: initial;
}
.project-brief-step h2:focus { outline: none }
.brief-step-intro, .brief-confirm > p { max-width: 39ch; margin-top: 11px; color: var(--brief-mute); line-height: 1.5 }

.brief-choice-set {
  min-inline-size: 0;
  padding: 0;
  margin: clamp(17px, 3.2vh, 32px) 0 17px;
  border: 0;
}
.brief-choice-set legend, .brief-field { color: #fff0ef; font-weight: 850; font-size: .98rem; line-height: 1.38 }
.brief-choice-set legend { max-width: 100%; padding: 0; margin-bottom: 8px }
.brief-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--brief-line);
}
.brief-choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 13px);
  min-height: 46px;
  padding: 8px clamp(4px, 1.1vw, 12px);
  border-bottom: 1px solid var(--brief-line);
  cursor: pointer;
  font-size: clamp(.89rem, 1.2vw, 1.01rem);
  font-weight: 780;
  line-height: 1.22;
  transition: color 180ms ease, background 180ms ease;
}
.brief-choice:nth-child(odd) { border-right: 1px solid var(--brief-line) }
.brief-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; pointer-events: none }
.brief-choice-dot {
  display: inline-grid;
  place-items: center;
  flex: 0 0 15px;
  height: 15px;
  border: 1px solid #e1a8c3a9;
  border-radius: 50%;
  transition: border-color 180ms ease;
}
.brief-choice-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ffd0e1; transform: scale(0); transition: transform 165ms ease }
.brief-choice:has(input:checked) { background: linear-gradient(90deg, #8347674f, #8347671a); color: #ffdaea }
.brief-choice:has(input:focus-visible) { z-index: 1; outline: 2px solid #ffbad5; outline-offset: -2px }
.brief-choice:has(input:checked) .brief-choice-dot { border-color: #ffd0e1 }
.brief-choice:has(input:checked) .brief-choice-dot::before { transform: none }
@media (hover: hover) { .brief-choice:hover { background-color: #55324a94; color: #ffe4ef } }

.brief-field { display: block; min-width: 0 }
.brief-field small { color: #d3b6c8; font-size: .76rem; font-weight: 720; white-space: nowrap }
.brief-input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 47px;
  padding: 9px 11px;
  margin-top: 6px;
  color: #fff1ef;
  background-color: var(--brief-surface);
  border: 1px solid #b57e9e84;
  border-radius: 2px;
  font-size: 1rem;
  font-weight: 680;
  line-height: 1.32;
}
.brief-input:hover { border-color: #d1a2bc }
.brief-input:focus-visible { outline: 2px solid #ffb1d0; outline-offset: 3px }
.brief-input::placeholder { color: #c9a9bc }
.brief-input option { background: #2e1d2b; color: #fff2f3 }
textarea.brief-input { min-height: 90px; resize: vertical }
.brief-input-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(17px, 3.2vh, 32px);
}
.brief-context { margin-top: 13px }
.brief-hint, .brief-privacy { margin-top: 8px; color: #e2c6d6; font-size: .87rem; line-height: 1.45 }
.brief-privacy { max-width: 47ch; margin-top: 15px }
.brief-privacy a, .brief-contact a { text-decoration: underline; text-underline-offset: .23em; text-decoration-color: #e3a7c397 }
.brief-privacy a:hover, .brief-contact a:hover { color: #fff4f4; text-decoration-color: currentColor }

.brief-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 12px;
  flex-wrap: wrap;
  margin-top: clamp(20px, 3.5vh, 35px);
}
.brief-action { column-gap: 13px; margin-inline-start: auto; white-space: normal; text-align: left }
.brief-action svg { flex: 0 0 19px }
.brief-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 6px 6px 6px 0;
  border: 0;
  color: #e9c9dc;
  background: none;
  font-weight: 850;
}
.brief-back:hover { color: #fff4f5 }
.brief-contact { margin-top: 20px; color: #e8cdda; font-size: .9rem; text-align: end }
.brief-contact a { display: inline-block; padding-block: 4px }
.brief-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); pointer-events: none }
[data-brief-ready] .brief-native-controls { display: none }

.brief-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: clamp(20px, 3.3vh, 32px) 0 0;
  border-top: 1px solid var(--brief-line);
}
.brief-summary > div { min-width: 0; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--brief-line) }
.brief-summary-wide { grid-column: 1 / -1 }
.brief-summary dt { color: #cca9c2; font-weight: 850; font-size: .78rem; line-height: 1.35 }
.brief-summary dd { margin: 2px 0 0; color: #fff1ee; white-space: pre-wrap; overflow-wrap: anywhere }
.brief-confirm .brief-action { margin-top: 24px }
.brief-error {
  margin: 0 0 15px;
  padding: 10px 13px;
  color: #ffe3e8;
  background: #432030;
  border-inline-start: 2px solid #fa8fb9;
  font-weight: 790;
  line-height: 1.47;
}
.brief-error:focus-visible { outline: 2px solid #ffbad5; outline-offset: 4px }

.brief-field-error {
  margin-top: 12px;
  color: #ffafc8;
  font-size: .9rem;
  font-weight: 850;
}
.brief-input[aria-invalid="true"] { border-color: #ffafc8 }

@keyframes brief-art-in { from { opacity: 0 } to { opacity: 1 } }
@keyframes brief-step-in { from { opacity: .66; transform: translateY(4px) } to { opacity: 1; transform: none } }

@media (max-width: 1000px) {
  .brief-plate { padding-right: var(--gutter) }
  .brief-station { padding-left: clamp(27px, 4.6vw, 46px) }
}
@media (min-width: 761px) and (max-width: 1020px) and (max-height: 720px) {
  .brief-station { padding-top: calc(var(--nav-height) + 18px); padding-bottom: 24px }
  .brief-progress { margin-bottom: 20px }
  .brief-choice-set { margin-top: 17px }
}
@media (max-width: 760px) {
  .project-brief { grid-template-columns: minmax(0, 1fr) }
  .brief-plate {
    position: relative;
    min-height: clamp(324px, 45svh, 510px);
    padding: calc(var(--nav-height) + 38px) var(--gutter) 23px;
  }
  .brief-plate::before { background: linear-gradient(0deg, #1b101b 1%, #21101fd9 20%, #21101f81 52%, #21101f28 82%) }
  .brief-plate::after { border: 0 }
  .brief-plate-copy { padding-bottom: 8px }
  .brief-plate-copy h1 { font-size: clamp(3.1rem, 11vw, 6.4rem); line-height: .9 }
  .brief-plate-copy h1 em { display: inline }
  .brief-plate-copy > p:not(.eyebrow) { margin-top: 9px; font-size: 1rem }
  .brief-station { width: min(100%, 630px); margin-inline: auto; padding: 8px var(--gutter) 42px }
  .brief-progress { margin-bottom: 17px }
  .project-brief-step h2, .brief-confirm h2 { font-size: clamp(2.23rem, 7.8vw, 3.62rem) }
  .project-brief--success .brief-station { padding-top: 24px; padding-bottom: 56px }
  .brief-choice { min-height: 48px }
  .brief-contact { margin-top: 15px }
}
@media (max-width: 390px) {
  .brief-input-pair { grid-template-columns: minmax(0, 1fr) }
  .brief-plate { min-height: 315px }
  .brief-progress button i { width: 15px; height: 15px }
  .brief-progress ol::before { top: 18px }
  .brief-choice { padding-inline: 5px; gap: 6px }
  .brief-choice-dot { flex-basis: 13px; height: 13px }
  .brief-choice-dot::before { width: 6px; height: 6px }
}
@media (prefers-reduced-motion: reduce) {
  .project-brief *, .project-brief *::before { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important }
}
