/* Glass multi-step briefing form that swaps in for the footer connect block.
   Renders in normal flow inside .footer-text-block (no overlay). */
.brief {
  color: #fff;
  font-family: Aeonik, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
}
.brief .image-15 { width: 53px; height: auto; display: block; }

/* Collapsed connect block */
.brief-email {
  background: none;
  border: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.6);
  font-family: inherit;
  font-size: 1.05rem;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease;
}
.brief-email:hover { color: #fff; }
.brief-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 0.4rem;
}
.brief-start {
  padding: 0.85em 1.5em;
  border-radius: 999px;
  border: 0;
  background: #fff;
  color: #0a0a0a;
  font-family: inherit;
  font-weight: 500;
  font-size: 0.98rem;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.brief-start:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}
.brief-book {
  padding: 0.85em 1.5em;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.85);
  font-family: inherit;
  font-size: 0.98rem;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.brief-book:hover { border-color: rgba(255, 255, 255, 0.6); color: #fff; }

/* Expanded glass form (in flow) */
.brief--open { width: 100%; }
.brief-panel {
  position: relative;
  width: 100%;
  max-width: 48rem;
  min-height: 22rem;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  backdrop-filter: blur(24px) saturate(140%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  animation: briefIn 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes briefIn {
  from { opacity: 0; transform: translateY(20px) scale(0.99); }
  to { opacity: 1; transform: none; }
}
.brief-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.05rem;
  cursor: pointer;
}
.brief-close:hover { color: #fff; }

.brief-progress {
  position: relative;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.brief-progress__bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: #fff;
  border-radius: 2px;
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.brief-progress__label {
  position: absolute;
  right: 0;
  top: 9px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
}

.brief-steps { flex: 1; display: flex; align-items: flex-start; min-height: 11rem; }
.brief-step {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: briefStep 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes briefStep {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.brief-step h3 {
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
}
.brief-hint {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
  margin: -0.4rem 0 0.3rem;
  line-height: 1.5;
}

.brief-input,
.brief-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 0.9em 1.1em;
  color: #fff;
  font-family: inherit;
  font-size: 1.05rem;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.brief-input::placeholder,
.brief-textarea::placeholder { color: rgba(255, 255, 255, 0.4); }
.brief-input:focus,
.brief-textarea:focus {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
}
.brief-textarea { resize: vertical; line-height: 1.5; }

.brief-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.brief-chip {
  padding: 0.6em 1.15em;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-family: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.brief-chip:hover { border-color: rgba(255, 255, 255, 0.5); }
.brief-chip.is-on { background: #fff; color: #0a0a0a; border-color: #fff; }

.brief-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}
.brief-nav__right { display: flex; align-items: center; gap: 1rem; }
.brief-back,
.brief-skip {
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.55);
  font-family: inherit;
  font-size: 0.95rem;
  cursor: pointer;
}
.brief-back:hover:not(:disabled),
.brief-skip:hover { color: #fff; }
.brief-back:disabled { opacity: 0; pointer-events: none; }
.brief-next {
  padding: 0.85em 1.7em;
  border-radius: 999px;
  border: 0;
  background: #fff;
  color: #0a0a0a;
  font-family: inherit;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.brief-next:hover:not(:disabled) { transform: translateY(-2px); }
.brief-next:disabled { opacity: 0.4; cursor: not-allowed; }
.brief-submit { background: #0025ff; color: #fff; }
.brief-error { color: #ff9b9b; font-size: 0.85rem; }

.brief-done { margin: auto; text-align: center; max-width: 30rem; }
.brief-done h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}
.brief-done p { color: rgba(255, 255, 255, 0.7); line-height: 1.5; }

@media (max-width: 767px) {
  .brief-panel { padding: 1.4rem; border-radius: 16px; }
}
