/* A quiet public stage for the short Ghostlight launch-brief story. */
.brief-shell {
  margin: 0;
  overflow: hidden;
  background: #171918;
}

.brief-shell .nav,
.brief-shell .foot {
  display: none;
}

.brief-app {
  min-height: 100dvh;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vh, 36px) 24px;
  color: #f0ede6;
  background: #171918;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.brief-card {
  width: min(790px, 100%);
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid #3a403b;
  border-radius: 22px;
  background: #202321;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

.brief-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 25px 28px 21px;
  border-bottom: 1px solid #343936;
}

.brief-kicker,
.brief-status {
  font-size: 10px;
  font-weight: 720;
  line-height: 1;
  letter-spacing: 0.16em;
}

.brief-kicker {
  color: #b59375;
}

.brief-kicker i,
.brief-status i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: 1px;
}

.brief-heading h1 {
  margin: 9px 0 5px;
  color: #f0ede6;
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 620;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.brief-heading p {
  margin: 0;
  color: #a6ada6;
  font-size: 14px;
  line-height: 1.5;
}

.brief-status {
  flex: none;
  margin-top: 1px;
  padding: 8px 10px;
  border: 1px solid #414741;
  border-radius: 999px;
  color: #9db8a3;
  background: #252a27;
}

.brief-state {
  display: grid;
}

.brief-form-panel,
.brief-complete {
  grid-area: 1 / 1;
  box-sizing: border-box;
  min-width: 0;
  transition: opacity 240ms ease, transform 240ms ease, visibility 240ms;
}

.brief-form-panel {
  padding: 22px 28px 25px;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.brief-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.brief-field {
  display: grid;
  gap: 7px;
}

.brief-field-wide {
  grid-column: 1 / -1;
}

.brief-field > span,
.brief-options legend {
  color: #c9ccc5;
  font-size: 11px;
  font-weight: 680;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brief-field input,
.brief-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #3a403b;
  border-radius: 10px;
  outline: none;
  color: #f0ede6;
  background: #292d2a;
  font: inherit;
  font-size: 14px;
  line-height: 1.4;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.brief-field input {
  height: 42px;
  padding: 0 12px;
}

.brief-field textarea {
  height: 66px;
  min-height: 66px;
  padding: 10px 12px;
  resize: none;
}

.brief-field input::placeholder,
.brief-field textarea::placeholder {
  color: #727a73;
}

.brief-field input:focus,
.brief-field textarea:focus {
  border-color: #8d725e;
  background: #2c302d;
  box-shadow: 0 0 0 3px rgba(181, 147, 117, 0.12);
}

.brief-options {
  margin: 18px 0 0;
  padding: 0;
  border: 0;
}

.brief-options legend {
  margin-bottom: 9px;
}

.brief-option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.brief-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid #383e39;
  border-radius: 11px;
  background: #252825;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease;
}

.brief-option:has(input:checked) {
  border-color: #687c6c;
  background: #29322c;
}

.brief-option input {
  width: 16px;
  height: 16px;
  flex: none;
  margin: 0;
  accent-color: #9db8a3;
}

.brief-option span,
.brief-option b,
.brief-option small {
  display: block;
  min-width: 0;
}

.brief-option b {
  color: #e5e2da;
  font-size: 12px;
  font-weight: 620;
  line-height: 1.25;
}

.brief-option small {
  margin-top: 2px;
  overflow: hidden;
  color: #8f978f;
  font-size: 10.5px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brief-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 19px;
}

.brief-actions p {
  margin: 0;
  color: #858d86;
  font-size: 11px;
  line-height: 1.35;
}

.brief-actions button {
  flex: none;
  min-width: 134px;
  height: 40px;
  border: 1px solid #59605b;
  border-radius: 10px;
  color: #f5f1e9;
  background: #3b423e;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: transform 120ms ease, border-color 120ms ease, background 120ms ease;
}

.brief-actions button:hover {
  border-color: #747d76;
  background: #454d48;
}

.brief-actions button:active {
  transform: translateY(1px);
}

.brief-complete {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: start;
  min-height: 420px;
  overflow: hidden;
  padding: 48px 52px;
  opacity: 0;
  transform: translateY(7px);
  visibility: hidden;
  background: #26352d;
}

.brief-complete-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border: 1px solid #587060;
  border-radius: 50%;
  background: #2d4035;
}

.brief-complete-mark span {
  width: 16px;
  height: 9px;
  border-left: 2px solid #9db8a3;
  border-bottom: 2px solid #9db8a3;
  transform: translateY(-2px) rotate(-45deg);
}

.brief-complete h2 {
  max-width: 500px;
  margin: 10px 0 8px;
  color: #f0ede6;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 610;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.brief-complete p {
  margin: 0;
  color: #adbbb0;
  font-size: 14px;
  line-height: 1.5;
}

.brief-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 23px;
}

.brief-chips span {
  padding: 7px 10px;
  border: 1px solid #526658;
  border-radius: 999px;
  color: #bfd0c2;
  background: #2b3b31;
  font-size: 11px;
  font-weight: 620;
}

.brief-complete img {
  position: absolute;
  right: 25px;
  bottom: -17px;
  width: 96px;
  height: 96px;
  image-rendering: pixelated;
  opacity: 0.92;
}

.brief-app[data-state="complete"] .brief-form-panel {
  opacity: 0;
  transform: translateY(-7px);
  visibility: hidden;
}

.brief-app[data-state="complete"] .brief-complete {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

@media (max-width: 620px) {
  .brief-shell { overflow: auto; }
  .brief-app { padding: 16px; }
  .brief-heading { padding: 21px 20px 18px; }
  .brief-status { display: none; }
  .brief-form-panel { padding: 20px; }
  .brief-fields, .brief-option-grid { grid-template-columns: 1fr; }
  .brief-field-wide { grid-column: auto; }
  .brief-actions { align-items: stretch; flex-direction: column; }
  .brief-actions button { width: 100%; }
  .brief-complete { min-height: 520px; padding: 42px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .brief-form-panel,
  .brief-complete,
  .brief-field input,
  .brief-field textarea,
  .brief-option,
  .brief-actions button {
    transition: none;
  }
}
