/* Zomfy public services + project qualification flow.
   This layer intentionally extends the existing visual system without replacing it. */

[hidden] {
  display: none !important;
}

.services-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-offer-card {
  position: relative;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 28px;
  box-shadow: 8px 9px 0 var(--ink);
  isolation: isolate;
}

.service-offer-card::before {
  position: absolute;
  z-index: -1;
  top: -58px;
  right: -48px;
  width: 180px;
  height: 180px;
  content: "";
  opacity: .48;
  background: radial-gradient(circle, rgba(255, 255, 255, .8), transparent 68%);
  border: 1px solid rgba(21, 21, 21, .2);
  border-radius: 50%;
}

.service-offer-card--blue { color: var(--white); background: #4050d8; }
.service-offer-card--lime { background: #dff5a6; }
.service-offer-card--coral { background: #ff8775; }
.service-offer-card--purple { color: var(--white); background: #6f4fd0; }
.service-offer-card--cyan { background: #90e6e2; }
.service-offer-card--ink { color: var(--white); background: var(--ink); }
.service-offer-card--paper { background: var(--white); }
.service-offer-card--green { background: var(--lime); }
.service-offer-card--slate { color: var(--white); background: #273139; }

.service-offer-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.service-offer-card__number {
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .14em;
}

.service-offer-card__icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: 4px 5px 0 var(--ink);
  font-size: 1.25rem;
  font-weight: 950;
}

.service-offer-card h3 {
  max-width: 290px;
  margin-bottom: 14px;
  font-size: clamp(1.7rem, 2.4vw, 2.45rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.service-offer-card__description {
  margin-bottom: 22px;
  color: currentColor;
  opacity: .86;
  line-height: 1.6;
}

.service-offer-card__deliverables {
  display: grid;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  font-size: .86rem;
  font-weight: 760;
}

.service-offer-card__deliverables li {
  display: grid;
  grid-template-columns: 15px 1fr;
  gap: 8px;
}

.service-offer-card__deliverables li::before {
  content: "↳";
  font-weight: 950;
}

.service-offer-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  margin-top: auto;
}

.service-offer-card__actions a {
  font-size: .82rem;
  font-weight: 900;
}

.service-offer-card__actions a:first-child {
  padding-bottom: 3px;
  border-bottom: 2px solid currentColor;
}

.service-offer-card__actions a:last-child {
  padding: 9px 13px;
  color: var(--ink);
  background: var(--lime);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: 3px 4px 0 var(--ink);
}

.services-showcase-footer {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.contact-qualifier {
  display: grid;
  gap: 20px;
  align-content: start;
  padding: 28px;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 8px 9px 0 var(--ink);
}

.contact-qualifier__eyebrow {
  margin: 0;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.contact-qualifier h3 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  line-height: 1;
  letter-spacing: -.05em;
}

.contact-qualifier > p {
  margin: 0;
  color: var(--muted);
}

.contact-qualifier ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: qualifier;
}

.contact-qualifier li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
  font-size: .9rem;
  font-weight: 760;
  counter-increment: qualifier;
}

.contact-qualifier li::before {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  content: counter(qualifier, decimal-leading-zero);
  color: var(--ink);
  background: var(--lime);
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  font-size: .62rem;
  font-weight: 950;
}

.contact-qualifier .button {
  width: 100%;
}

.project-modal--intake .project-modal__panel {
  width: min(1180px, 100%);
  max-height: min(92vh, 900px);
  grid-template-columns: minmax(240px, .45fr) minmax(0, 1.55fr);
  gap: clamp(24px, 4vw, 58px);
}

.project-modal--intake .project-modal__copy {
  align-self: start;
  padding-top: 40px;
}

.project-modal--intake .project-modal__copy h2 {
  font-size: clamp(2.6rem, 4.7vw, 4.7rem);
}

.project-intake-form {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 18px;
  min-width: 0;
  align-self: start;
  padding: 24px;
  color: var(--ink);
  background: rgba(255, 253, 248, .98);
  border: 2px solid var(--ink);
  border-radius: 24px;
  box-shadow: 8px 9px 0 rgba(200, 255, 57, .5);
}

/* The intake card is intentionally light; keep every form state readable on it. */
.project-intake-form .intake-progress__row,
.project-intake-form .intake-step__hint,
.project-intake-form .intake-status {
  color: #5d625e;
}

.project-intake-form .intake-step legend,
.project-intake-form .intake-choice-grid label,
.project-intake-form .intake-choice__body,
.project-intake-form .field label,
.project-intake-form .field__label,
.project-intake-form .check {
  color: var(--ink);
}

.project-intake-form .field input,
.project-intake-form .field select,
.project-intake-form .field textarea {
  border-color: rgba(10, 14, 20, .42);
  background: #f7f4ec;
  color: var(--ink);
}

[data-intake-content] {
  display: grid;
  gap: 18px;
}

.intake-progress {
  display: grid;
  gap: 9px;
}

.intake-progress__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.intake-progress__track {
  height: 7px;
  overflow: hidden;
  background: #dfdbd0;
  border: 1px solid var(--ink);
  border-radius: 999px;
}

.intake-progress__bar {
  display: block;
  width: 16.666%;
  height: 100%;
  background: var(--lime);
  transition: width .28s var(--premium-ease);
}

.intake-step {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.intake-step[hidden] {
  display: none;
}

.intake-step legend {
  width: 100%;
  margin-bottom: 6px;
  padding: 0;
  font-family: var(--font-body);
  font-size: clamp(1.55rem, 2.8vw, 2.25rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -.045em;
}

.intake-step__hint {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.5;
}

.intake-required-mark {
  margin-left: .2em;
  color: #b52a20;
  font-weight: 950;
}

.intake-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.intake-choice-grid--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.intake-choice {
  position: relative;
  display: block;
  min-width: 0;
  cursor: pointer;
}

.intake-choice > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.intake-choice__body {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 14px;
  background: #f2eee4;
  border: 1.5px solid rgba(21, 21, 21, .32);
  border-radius: 14px;
  font-size: .84rem;
  font-weight: 820;
  line-height: 1.28;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.intake-choice__body::before {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  content: "";
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px var(--white);
}

.intake-choice > input[type="checkbox"] + .intake-choice__body::before {
  border-radius: 4px;
}

.intake-choice > input:checked + .intake-choice__body {
  background: var(--lime);
  border-color: var(--ink);
  box-shadow: 3px 4px 0 var(--ink);
  transform: translateY(-2px);
}

.intake-choice > input:checked + .intake-choice__body::before {
  background: var(--ink);
}

.intake-choice > input:focus-visible + .intake-choice__body {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.intake-fields,
.intake-fields--two {
  display: grid;
  gap: 14px;
}

.intake-fields--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.intake-field {
  display: grid;
  gap: 7px;
  min-width: 0;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.intake-field small {
  color: var(--muted);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}

.intake-field input,
.intake-field textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: #f7f4ec;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  font-size: .95rem;
  font-weight: 520;
  letter-spacing: 0;
  text-transform: none;
}

.intake-field textarea {
  min-height: 132px;
  resize: vertical;
}

.intake-field input:focus-visible,
.intake-field textarea:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.intake-subgroup {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.intake-subgroup__title {
  margin: 0;
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.intake-consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 2px;
  font-size: .78rem;
  font-weight: 680;
  line-height: 1.45;
}

.intake-consent input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--lime-deep);
}

.intake-consent a {
  border-bottom: 1px solid currentColor;
  font-weight: 850;
}

.intake-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 2px;
}

.intake-actions .button {
  min-height: 48px;
}

.intake-actions [data-intake-next],
.intake-actions [type="submit"] {
  margin-left: auto;
}

.intake-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.5;
}

.intake-status.is-error {
  color: #a81717;
  font-weight: 800;
}

.intake-status.is-success {
  color: #216a38;
  font-weight: 850;
}

.intake-error-summary {
  padding: 12px 14px;
  color: #8a1010;
  background: #fff0ed;
  border: 1.5px solid #b52a20;
  border-radius: 12px;
  font-size: .8rem;
  font-weight: 760;
}

.intake-success {
  display: grid;
  gap: 16px;
  padding: 28px;
  text-align: center;
}

.intake-success__icon {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  margin-inline: auto;
  color: var(--ink);
  background: var(--lime);
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 5px 6px 0 var(--ink);
  font-size: 1.6rem;
  font-weight: 950;
}

.intake-success h3 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: -.045em;
}

.intake-success p {
  margin: 0;
  color: var(--muted);
}

.project-intake-form button:disabled {
  cursor: wait;
  opacity: .62;
}

.project-intake-form.is-sending {
  cursor: progress;
}

@media (hover: hover) and (pointer: fine) {
  .service-offer-card {
    transition: transform .35s var(--premium-ease), box-shadow .35s var(--premium-ease);
  }

  .service-offer-card:hover {
    box-shadow: 12px 14px 0 var(--ink), 0 30px 60px rgba(21, 21, 21, .12);
    transform: translateY(-6px);
  }

  .intake-choice:hover .intake-choice__body {
    border-color: var(--ink);
    transform: translateY(-2px);
  }
}

@media (max-width: 1040px) {
  .services-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-modal--intake .project-modal__panel {
    grid-template-columns: minmax(210px, .38fr) minmax(0, 1.62fr);
  }

  .intake-choice-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .services-showcase-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-offer-card {
    min-height: 0;
    padding: 22px;
    border-radius: 23px;
    box-shadow: 6px 7px 0 var(--ink);
  }

  .service-offer-card h3 {
    max-width: 260px;
    font-size: 1.75rem;
  }

  .contact-qualifier {
    padding: 22px;
    box-shadow: 6px 7px 0 var(--ink);
  }

  .project-modal--intake {
    align-items: stretch;
    padding: 0;
  }

  .project-modal--intake .project-modal__panel {
    width: 100%;
    max-height: 100dvh;
    min-height: 100dvh;
    display: block;
    padding: 68px 12px 14px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: translateY(35px);
  }

  .project-modal--intake .project-modal__copy {
    padding: 0 8px 16px;
  }

  .project-modal--intake .project-modal__copy h2 {
    max-width: none;
    margin-bottom: 8px;
    font-size: 2.35rem;
  }

  .project-modal--intake .project-modal__copy > p:not(.kicker) {
    max-width: none;
    font-size: .84rem;
  }

  .project-modal--intake .project-modal__decor {
    display: none;
  }

  .project-intake-form {
    gap: 15px;
    padding: 18px 14px;
    border-radius: 22px;
    box-shadow: 5px 6px 0 rgba(200, 255, 57, .48);
  }

  .intake-step legend {
    font-size: 1.65rem;
  }

  .intake-choice-grid,
  .intake-choice-grid--compact {
    grid-template-columns: 1fr;
  }

  .intake-choice__body {
    min-height: 58px;
    padding: 11px 12px;
  }

  .intake-fields--two {
    grid-template-columns: 1fr;
  }

  .intake-actions {
    position: sticky;
    z-index: 3;
    bottom: -18px;
    margin: 0 -14px -18px;
    padding: 12px 14px 16px;
    background: linear-gradient(180deg, rgba(255, 253, 248, .72), var(--white) 30%);
  }

  .intake-actions .button {
    min-height: 46px;
    padding-inline: 16px;
    font-size: .82rem;
  }
}

@media (max-width: 420px) {
  .service-offer-card__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .service-offer-card__actions a:last-child {
    text-align: center;
  }

  .intake-progress__meta {
    font-size: .64rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intake-progress__bar,
  .intake-choice__body,
  .service-offer-card {
    transition: none;
  }
}

/* Compact intake modal: a focused two-column conversation instead of a full-page form. */
.project-modal--intake {
  align-items: center;
  padding: clamp(14px, 2.2vw, 28px);
}

.project-modal--intake .project-modal__panel {
  width: min(1120px, calc(100vw - 48px));
  max-height: min(760px, calc(100dvh - 48px));
  display: grid;
  grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(22px, 3vw, 42px);
  padding: clamp(24px, 2vw, 30px);
  overflow: auto;
  border: 1px solid rgba(105, 232, 255, .24);
  border-radius: 28px;
  background:
    radial-gradient(circle at 3% 100%, rgba(105, 232, 255, .08), transparent 30%),
    linear-gradient(135deg, rgba(19, 30, 40, .99), rgba(11, 18, 25, .99));
  box-shadow: 0 32px 100px rgba(0, 0, 0, .56), 0 0 0 1px rgba(255, 255, 255, .025);
}

.project-modal--intake .project-modal__panel::before {
  position: absolute;
  inset: 0 12% auto;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(105, 232, 255, .34), rgba(189, 255, 74, .22), transparent);
  pointer-events: none;
}

.project-modal--intake .project-modal__copy {
  max-width: 390px;
  margin: 0;
  padding: 10px 4px 0;
}

.project-modal--intake .project-modal__copy h2 {
  margin: 0;
  font-size: clamp(2.2rem, 3.4vw, 3.7rem);
  line-height: .98;
}

.project-modal--intake .project-modal__copy > p:not(.eyebrow):not(.notice) {
  margin: 16px 0 0;
  max-width: 350px;
  color: rgba(201, 209, 212, .78);
  font-size: .9rem;
  line-height: 1.5;
}

.project-modal--intake .project-modal__copy > .notice {
  margin: 22px 0 0;
  padding: 11px 12px;
  color: rgba(201, 209, 212, .68);
  background: rgba(255, 255, 255, .025);
  border: 1px solid rgba(219, 231, 232, .14);
  border-radius: 11px;
  font-size: .7rem;
  line-height: 1.45;
}

.project-modal--intake .project-modal__close {
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  transition: border-color var(--motion-fast) ease, background-color var(--motion-fast) ease, transform var(--motion-fast) var(--ease-standard);
}

.project-modal--intake .project-modal__close:hover {
  border-color: rgba(105, 232, 255, .48);
  background: rgba(105, 232, 255, .08);
  transform: rotate(6deg);
}

.project-intake-form {
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(10, 14, 20, .22);
  border-radius: 20px;
  background: rgba(255, 253, 248, .98);
  box-shadow: 6px 7px 0 rgba(189, 255, 74, .34), 0 18px 42px rgba(0, 0, 0, .16);
}

.project-intake-form::before {
  position: absolute;
  inset: 0 18% auto;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(10, 14, 20, .14), transparent);
  pointer-events: none;
}

[data-intake-content] {
  gap: 10px;
}

.intake-progress {
  gap: 6px;
}

.intake-progress__meta {
  font-size: .66rem;
}

.intake-progress__track {
  height: 5px;
}

.intake-step legend {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.04;
}

.intake-step__hint {
  margin-bottom: 12px;
}

.intake-choice-grid {
  gap: 6px;
}

.project-intake-form .intake-choice-grid > .intake-choice {
  display: block;
  min-height: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.project-intake-form .intake-choice-grid > .intake-choice:has(input:checked) {
  color: inherit;
  background: transparent;
  border: 0;
}

.intake-choice__body {
  min-height: 46px;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: .74rem;
  line-height: 1.22;
}

.intake-choice__body::before {
  width: 14px;
  height: 14px;
}

.intake-choice > input:checked + .intake-choice__body {
  box-shadow: 2px 3px 0 var(--ink), 0 8px 18px rgba(189, 255, 74, .18);
}

.intake-actions {
  gap: 10px;
}

.intake-actions .button {
  min-height: 44px;
  padding-inline: 15px;
  font-size: .78rem;
}

.intake-status {
  font-size: .68rem;
}

[data-intake-content].is-changing {
  animation: intake-step-in-next .28s var(--ease-premium) both;
}

[data-intake-content][data-intake-direction="previous"].is-changing {
  animation-name: intake-step-in-previous;
}

@keyframes intake-step-in-next {
  from { opacity: .2; transform: translate3d(12px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes intake-step-in-previous {
  from { opacity: .2; transform: translate3d(-12px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.project-modal--intake.is-open .project-modal__panel {
  animation: intake-panel-in .4s var(--ease-premium) both;
}

.project-modal--intake.is-open .project-modal__copy,
.project-modal--intake.is-open .project-intake-form {
  animation: intake-content-in .42s var(--ease-premium) both;
}

.project-modal--intake.is-open .project-intake-form {
  animation-delay: .045s;
}

@keyframes intake-panel-in {
  from { opacity: .5; transform: translate3d(0, 18px, 0) scale(.985); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes intake-content-in {
  from { opacity: 0; transform: translate3d(0, 10px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@media (max-width: 900px) and (min-width: 761px) {
  .project-modal--intake .project-modal__panel {
    width: min(760px, calc(100vw - 32px));
    max-height: calc(100dvh - 32px);
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .project-modal--intake .project-modal__copy {
    max-width: 620px;
    padding-top: 4px;
  }
}

@media (max-width: 760px) {
  .project-modal--intake {
    align-items: center;
    padding: 12px;
  }

  .project-modal--intake .project-modal__panel {
    width: 100%;
    max-height: calc(100dvh - 24px);
    min-height: 0;
    display: block;
    padding: 48px 12px 14px;
    border-radius: 22px;
    box-shadow: 0 26px 90px rgba(0, 0, 0, .56), 5px 6px 0 rgba(189, 255, 74, .24);
  }

  .project-modal--intake .project-modal__copy {
    max-width: none;
    padding: 0 6px 12px;
  }

  .project-modal--intake .project-modal__copy h2 {
    max-width: 310px;
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .project-modal--intake .project-modal__copy > p:not(.eyebrow):not(.notice) {
    max-width: 330px;
    margin-top: 12px;
    font-size: .82rem;
  }

  .project-modal--intake .project-modal__copy > .notice {
    margin-top: 14px;
    font-size: .65rem;
  }

  .project-intake-form {
    gap: 11px;
    padding: 16px 12px;
    border-radius: 18px;
  }

  .intake-step legend {
    font-size: 1.45rem;
  }

  .intake-choice__body {
    min-height: 54px;
    padding: 10px 11px;
  }

  .intake-actions {
    bottom: -16px;
    margin: 0 -12px -16px;
    padding: 10px 12px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-modal--intake.is-open .project-modal__panel,
  .project-modal--intake.is-open .project-modal__copy,
  .project-modal--intake.is-open .project-intake-form,
  [data-intake-content].is-changing {
    animation: none;
  }

  .project-modal--intake .project-modal__close {
    transition: none;
  }
}

/* Support TI uses the same questions as the page form, presented as a focused modal. */
.support-modal .project-modal__panel {
  width: min(1080px, calc(100vw - 40px));
  max-height: min(820px, calc(100dvh - 40px));
  display: grid;
  grid-template-columns: minmax(210px, .62fr) minmax(0, 1.38fr);
  align-items: start;
  gap: clamp(22px, 3vw, 42px);
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(105, 232, 255, .24);
  border-radius: 28px;
  background:
    radial-gradient(circle at 98% 4%, rgba(189, 255, 74, .11), transparent 30%),
    radial-gradient(circle at 0 100%, rgba(105, 232, 255, .1), transparent 34%),
    linear-gradient(135deg, rgba(16, 27, 36, .99), rgba(8, 15, 22, .99));
  box-shadow: 0 32px 110px rgba(0, 0, 0, .58), 0 0 0 1px rgba(255, 255, 255, .025);
}

.support-modal .project-modal__panel::before {
  position: absolute;
  inset: 0 12% auto;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(105, 232, 255, .4), rgba(189, 255, 74, .24), transparent);
  pointer-events: none;
}

.support-modal .project-modal__copy {
  max-width: 360px;
  margin: 0;
  padding: 12px 4px 0;
}

.support-modal .project-modal__copy h2 {
  margin: 0;
  font-size: clamp(2.2rem, 3.6vw, 4rem);
  line-height: .98;
}

.support-modal .project-modal__copy > p:not(.eyebrow):not(.notice) {
  margin-top: 16px;
  color: rgba(219, 231, 232, .78);
  font-size: .9rem;
  line-height: 1.5;
}

.support-modal .project-modal__copy > .notice {
  margin-top: 22px;
  padding: 11px 12px;
  color: rgba(219, 231, 232, .68);
  background: rgba(255, 255, 255, .025);
  border: 1px solid rgba(219, 231, 232, .14);
  border-radius: 11px;
  font-size: .7rem;
  line-height: 1.45;
}

.support-modal-form {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 253, 248, .98);
  border: 1px solid rgba(10, 14, 20, .22);
  border-radius: 20px;
  box-shadow: 6px 7px 0 rgba(189, 255, 74, .34), 0 18px 42px rgba(0, 0, 0, .16);
}

.support-modal-form .notice {
  color: #69706c;
  background: #f0eee7;
  border-color: rgba(10, 14, 20, .14);
}

.support-modal-form .form-status:empty {
  display: none;
}

.support-wizard {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.support-wizard__progress {
  display: grid;
  gap: 7px;
}

.support-wizard__progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #656b68;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.support-wizard__progress-track {
  height: 6px;
  overflow: hidden;
  background: #e2dfd6;
  border: 1px solid rgba(10, 14, 20, .65);
  border-radius: 999px;
}

.support-wizard__progress-bar {
  display: block;
  width: 25%;
  height: 100%;
  background: linear-gradient(90deg, #9be92e, var(--lime));
  transition: width .28s var(--premium-ease, cubic-bezier(.22, .8, .28, 1));
}

.support-wizard__step {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.support-wizard__step[hidden] {
  display: none;
}

.support-wizard__step legend {
  width: 100%;
  margin: 0 0 5px;
  padding: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -.045em;
}

.support-wizard__hint {
  margin: 0 0 13px;
  color: #69706c;
  font-size: .76rem;
}

.support-wizard__grid {
  gap: 11px;
}

.support-wizard__grid .field {
  min-width: 0;
}

.support-wizard__grid .field[hidden] {
  display: none;
}

.support-wizard__grid .field label,
.support-wizard__grid .check {
  color: var(--ink);
}

.support-wizard__grid .field input,
.support-wizard__grid .field select,
.support-wizard__grid .field textarea {
  min-height: 44px;
  padding: 10px 11px;
  border-color: rgba(10, 14, 20, .34);
  background: #f7f4ec;
  color: var(--ink);
}

.support-wizard__grid .field textarea {
  min-height: 92px;
}

.support-wizard__audience {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.support-wizard__audience .audience-tab {
  min-width: 0;
  min-height: 96px;
  color: #f7f4ec;
  background: #101820;
  text-align: left;
}

.support-wizard__audience .audience-tab[aria-pressed="true"],
.support-wizard__audience .audience-tab[aria-selected="true"] {
  color: var(--ink);
  background: rgba(189, 255, 74, .17);
  border-color: rgba(189, 255, 74, .8);
}

.support-wizard__audience .audience-tab[aria-pressed="true"] strong,
.support-wizard__audience .audience-tab[aria-selected="true"] strong {
  color: var(--ink);
}

.support-wizard__audience .audience-tab[aria-pressed="true"] span,
.support-wizard__audience .audience-tab[aria-selected="true"] span {
  color: rgba(10, 14, 20, .68);
}

.support-wizard__audience .audience-tab strong,
.support-wizard__audience .audience-tab span {
  overflow-wrap: normal;
  word-break: normal;
}

.support-wizard__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 2px;
}

.support-wizard__actions .button {
  min-height: 44px;
  padding-inline: 16px;
  font-size: .78rem;
}

.support-wizard__success {
  display: grid;
  gap: 10px;
  padding: 20px 4px 4px;
  color: var(--ink);
}

.support-wizard__success h3,
.support-wizard__success p {
  margin: 0;
}

.support-wizard__success p {
  color: #69706c;
  font-size: .86rem;
}

.support-wizard__success .button {
  justify-self: start;
  margin-top: 5px;
}

.support-wizard.is-changing {
  animation: support-step-in .28s var(--premium-ease, cubic-bezier(.22, .8, .28, 1)) both;
}

.support-wizard[data-support-direction="previous"].is-changing {
  animation-name: support-step-in-previous;
}

@keyframes support-step-in {
  from { opacity: .35; transform: translate3d(10px, 0, 0); }
  to { opacity: 1; transform: none; }
}

@keyframes support-step-in-previous {
  from { opacity: .35; transform: translate3d(-10px, 0, 0); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .support-modal .project-modal__panel {
    grid-template-columns: 1fr;
    max-height: calc(100dvh - 32px);
    gap: 18px;
  }

  .support-modal .project-modal__copy {
    max-width: 620px;
    padding-top: 0;
  }
}

@media (max-width: 600px) {
  .support-modal {
    align-items: center;
    padding: 10px;
  }

  .support-modal .project-modal__panel {
    width: 100%;
    max-height: calc(100dvh - 20px);
    display: block;
    padding: 48px 12px 14px;
    border-radius: 22px;
  }

  .support-modal .project-modal__copy {
    padding: 0 6px 12px;
  }

  .support-modal .project-modal__copy h2 {
    max-width: 320px;
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .support-modal .project-modal__copy > p:not(.eyebrow):not(.notice) {
    max-width: 330px;
    margin-top: 11px;
    font-size: .82rem;
  }

  .support-modal .project-modal__copy > .notice {
    margin-top: 13px;
    font-size: .64rem;
  }

  .support-modal-form {
    padding: 14px 12px;
    border-radius: 18px;
  }

  .support-wizard__audience {
    grid-template-columns: 1fr;
  }

  .support-wizard__audience .audience-tab {
    min-height: 76px;
  }

  .support-wizard__grid {
    grid-template-columns: 1fr;
  }

  .support-wizard__grid .field--full {
    grid-column: auto;
  }

  .support-wizard__actions {
    justify-content: stretch;
  }

  .support-wizard__actions .button {
    flex: 1 1 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .support-wizard__progress-bar,
  .support-wizard.is-changing {
    animation: none;
    transition: none;
  }
}

/* Final modal controls: keep close and back actions unmistakable on every viewport. */
.project-modal--intake .project-modal__close,
.support-modal .project-modal__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #f7fbf9;
  background: rgba(4, 10, 16, .88);
  border: 1px solid rgba(219, 231, 232, .62);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .08);
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .3);
  transition: color var(--motion-fast) ease, background-color var(--motion-fast) ease, border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease, transform var(--motion-fast) var(--ease-standard);
}

.project-modal--intake .project-modal__close:hover,
.support-modal .project-modal__close:hover {
  color: var(--ink);
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 10px 24px rgba(105, 232, 255, .18);
  transform: translateY(-1px) rotate(4deg);
}

.project-modal--intake .project-modal__close:focus-visible,
.support-modal .project-modal__close:focus-visible {
  color: var(--ink);
  background: var(--cyan);
  border-color: var(--cyan);
  outline: 3px solid rgba(105, 232, 255, .56);
  outline-offset: 3px;
  transform: none;
}

.project-intake-form .intake-actions [data-intake-back],
.support-modal-form .support-wizard__actions [data-support-back] {
  color: rgba(10, 14, 20, .86);
  background: rgba(244, 247, 242, .96);
  border-color: rgba(10, 14, 20, .3);
  box-shadow: 0 3px 0 rgba(10, 14, 20, .14);
  font-weight: 750;
}

.project-intake-form .intake-actions [data-intake-back]::before,
.support-modal-form .support-wizard__actions [data-support-back]::before {
  content: "←";
  font-size: 1rem;
  line-height: 1;
}

.project-intake-form .intake-actions [data-intake-back]:hover,
.support-modal-form .support-wizard__actions [data-support-back]:hover {
  color: var(--ink);
  background: #fffdf8;
  border-color: var(--cyan);
  box-shadow: 0 4px 0 rgba(10, 14, 20, .14);
}

.project-intake-form .intake-actions [data-intake-back]:focus-visible,
.support-modal-form .support-wizard__actions [data-support-back]:focus-visible {
  outline: 3px solid rgba(105, 232, 255, .58);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .project-intake-form .intake-actions,
  .support-modal-form .support-wizard__actions {
    min-width: 0;
  }

  .project-intake-form .intake-actions .button,
  .support-modal-form .support-wizard__actions .button {
    min-width: 0;
    white-space: nowrap;
  }
}

@media (max-width: 420px) {
  .project-intake-form .intake-actions,
  .support-modal-form .support-wizard__actions {
    gap: 8px;
  }

  .project-intake-form .intake-actions .button,
  .support-modal-form .support-wizard__actions .button {
    padding-inline: 12px;
    font-size: .74rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-modal--intake .project-modal__close,
  .support-modal .project-modal__close {
    transition: none;
  }

  .project-modal--intake .project-modal__close:hover,
  .support-modal .project-modal__close:hover,
  .project-modal--intake .project-modal__close:focus-visible,
  .support-modal .project-modal__close:focus-visible {
    transform: none;
  }
}
