.camp-registration {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(0, 159, 202, 0.34), transparent 34%),
    linear-gradient(135deg, #090c0f 0%, #111a20 58%, #082b36 100%);
}

.camp-registration--runtime-hidden {
  display: none;
}

.camp-registration__noise {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.camp-registration__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.68fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: center;
  width: min(1260px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(145px, 13vw, 185px) 0 clamp(78px, 10vw, 138px);
}

.camp-registration__copy h2 {
  max-width: 780px;
  margin: 18px 0 22px;
  font-family: var(--display, "Arial Black", Arial, sans-serif);
  font-size: clamp(3rem, 7vw, 7.5rem);
  letter-spacing: -0.075em;
  line-height: 0.9;
  text-transform: uppercase;
}

.camp-registration__copy > p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.75;
}

.camp-registration__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #42cdec;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.camp-registration__eyebrow::before {
  width: 32px;
  height: 3px;
  background: currentColor;
  content: "";
}

.camp-registration__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.camp-registration__steps span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.76rem;
  font-weight: 800;
}

.camp-registration__steps b {
  color: #42cdec;
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 0.68rem;
}

.camp-registration__steps i {
  font-style: normal;
}

.camp-event-card {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  min-width: 0;
  overflow: hidden;
  padding: clamp(27px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 30px;
  background: #040709;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
}

.camp-event-card__banner {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82) contrast(1.05);
}

.camp-event-card::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 6, 8, 0.5), rgba(2, 6, 8, 0.93)),
    linear-gradient(90deg, rgba(2, 6, 8, 0.38), rgba(2, 6, 8, 0.08));
  content: "";
  pointer-events: none;
}

.camp-event-card__content {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.camp-event-card::before {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 38px;
  left: 38px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, transparent, #42cdec, transparent);
  content: "";
}

.camp-event-card__status {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  color: #8cecff;
  background: rgba(0, 159, 202, 0.15);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.camp-event-card__status.is-open {
  color: #a8ffd2;
  background: rgba(46, 189, 119, 0.16);
}

.camp-event-card__status.is-waitlist {
  color: #ffe0a1;
  background: rgba(222, 155, 35, 0.17);
}

.camp-event-card h3 {
  max-width: 100%;
  margin: 20px 0 22px;
  font-family: var(--display, "Arial Black", Arial, sans-serif);
  font-size: clamp(2rem, 3.2vw, 3.5rem);
  font-size: clamp(2rem, 12cqi, 3.5rem);
  overflow-wrap: anywhere;
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-wrap: balance;
  text-transform: uppercase;
}

.camp-event-card dl {
  display: grid;
  gap: 0;
  margin: 0 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.camp-event-card dl div {
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 15px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.camp-event-card dt {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.camp-event-card dd {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.4;
}

.camp-event-card .camp-primary {
  width: 100%;
}

.camp-event-card small {
  display: block;
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  line-height: 1.5;
  text-align: center;
}

.hope-camp-home-highlight {
  position: relative;
  isolation: isolate;
  min-height: min(82svh, 860px);
  overflow: hidden;
  color: #fff;
  background: #061015;
}

.hope-camp-home-highlight[hidden] {
  display: none;
}

.hope-camp-home-highlight__banner,
.hope-camp-home-highlight__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hope-camp-home-highlight__banner {
  z-index: -2;
  max-width: none;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.05);
  transform: scale(1.015);
}

.hope-camp-home-highlight__overlay {
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(0, 7, 10, 0.92) 0%,
      rgba(0, 10, 14, 0.68) 54%,
      rgba(0, 8, 12, 0.24)
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 5, 8, 0.86));
}

.hope-camp-home-highlight__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  align-items: end;
  gap: clamp(36px, 7vw, 100px);
  width: min(1380px, calc(100% - 36px));
  min-height: min(82svh, 860px);
  margin: 0 auto;
  padding: 150px 0 76px;
}

.hope-camp-home-highlight__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: #73e6ff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hope-camp-home-highlight__eyebrow::before {
  width: 36px;
  height: 3px;
  background: currentColor;
  content: "";
}

.hope-camp-home-highlight h2 {
  max-width: 940px;
  margin: 0;
  font-family: var(--display, "Arial Black", Arial, sans-serif);
  font-size: clamp(4rem, 10vw, 9rem);
  overflow-wrap: anywhere;
  letter-spacing: -0.075em;
  line-height: 0.82;
  text-transform: uppercase;
}

.hope-camp-home-highlight__lead {
  max-width: 680px;
  margin: 27px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.7;
}

.hope-camp-home-highlight__button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  padding: 0 25px;
  border-radius: 999px;
  color: #041115;
  background: #42cdec;
  box-shadow: 0 18px 38px rgba(0, 159, 202, 0.3);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    filter 180ms ease;
}

.hope-camp-home-highlight__button:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.hope-camp-home-highlight__details {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 16px 26px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  background: rgba(2, 13, 18, 0.7);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
}

.hope-camp-home-highlight__details div {
  display: grid;
  gap: 8px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.hope-camp-home-highlight__details div:last-child {
  border-bottom: 0;
}

.hope-camp-home-highlight__details dt {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hope-camp-home-highlight__details dd {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 900;
  line-height: 1.35;
}

.camp-primary,
.camp-secondary {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 170ms ease,
    opacity 170ms ease,
    background 170ms ease;
}

.camp-primary {
  color: #061317;
  background: #42cdec;
  box-shadow: 0 14px 30px rgba(0, 159, 202, 0.2);
}

.camp-secondary {
  border-color: rgba(9, 21, 25, 0.2);
  color: #10242a;
  background: #fff;
}

.camp-primary:hover:not(:disabled),
.camp-secondary:hover:not(:disabled) {
  transform: translateY(-2px);
}

.camp-primary:disabled,
.camp-secondary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.camp-modal {
  width: min(920px, calc(100% - 24px));
  max-width: none;
  max-height: min(92svh, 980px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 26px;
  color: #142226;
  background: #f3efe4;
  box-shadow: 0 40px 130px rgba(0, 0, 0, 0.55);
}

.camp-modal [hidden] {
  display: none !important;
}

.camp-modal::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.camp-modal__shell {
  max-height: min(92svh, 980px);
  overflow-y: auto;
}

.camp-modal__header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  color: #fff;
  background: rgba(8, 14, 17, 0.97);
  backdrop-filter: blur(14px);
}

.camp-modal__header > div {
  display: grid;
  gap: 2px;
}

.camp-modal__header span {
  color: #42cdec;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.camp-modal__header strong {
  font-size: 0.95rem;
}

.camp-modal__header button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.4rem;
  cursor: pointer;
}

#hopeCampFormView,
.camp-success {
  padding: clamp(24px, 5vw, 48px);
}

.camp-modal__intro h2,
.camp-success h2 {
  margin: 12px 0 8px;
  font-family: var(--display, "Arial Black", Arial, sans-serif);
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -0.06em;
  line-height: 0.95;
  text-transform: uppercase;
}

.camp-modal__intro p,
.camp-success > p {
  margin: 0;
  color: rgba(16, 36, 42, 0.65);
  line-height: 1.6;
}

.camp-progress {
  display: grid;
  gap: 11px;
  margin: 28px 0 24px;
  padding: 15px 17px;
  border: 1px solid rgba(10, 47, 58, 0.13);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
}

.camp-progress > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.camp-progress strong,
.camp-progress span {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.camp-progress span {
  color: rgba(16, 36, 42, 0.55);
}

.camp-progress__track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(8, 37, 45, 0.1);
}

.camp-progress__track span {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #008db5, #42cdec);
  transition: width 220ms ease;
}

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

.camp-form-step > legend {
  width: 100%;
  margin-bottom: 16px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.camp-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.camp-field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.camp-field--full {
  grid-column: 1 / -1;
}

.camp-field--wide {
  grid-column: span 1;
}

.camp-field > span {
  color: rgba(16, 36, 42, 0.72);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.camp-field input,
.camp-field select,
.camp-field textarea {
  width: 100%;
  min-height: 49px;
  padding: 12px 13px;
  border: 1px solid rgba(15, 42, 49, 0.19);
  border-radius: 12px;
  outline: none;
  color: #10242a;
  background: #fff;
  font: inherit;
  font-size: 16px;
  transition:
    border 160ms ease,
    box-shadow 160ms ease;
}

.camp-field textarea {
  min-height: 96px;
  resize: vertical;
}

.camp-field input:focus,
.camp-field select:focus,
.camp-field textarea:focus {
  border-color: #009fc9;
  box-shadow: 0 0 0 3px rgba(0, 159, 201, 0.13);
}

.camp-field .is-invalid,
.camp-check input.is-invalid {
  border-color: #b32936;
  box-shadow: 0 0 0 3px rgba(179, 41, 54, 0.12);
}

.camp-form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}

.camp-form-actions .camp-primary,
.camp-form-actions .camp-secondary {
  min-width: 160px;
}

.camp-message {
  min-height: 22px;
  margin: 16px 0 0;
  color: #8f2d35;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.5;
}

.camp-message.is-success {
  color: #176640;
}

.camp-guardian,
.camp-consents {
  display: grid;
  gap: 16px;
}

.camp-consents {
  margin-top: 18px;
}

.camp-attention,
.camp-payment-warning {
  display: grid;
  gap: 4px;
  padding: 15px 17px;
  border: 1px solid rgba(163, 45, 54, 0.25);
  border-radius: 14px;
  color: #69232a;
  background: #fff1f1;
  line-height: 1.5;
}

.camp-attention span,
.camp-payment-warning span {
  font-size: 0.83rem;
}

.camp-check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px 15px;
  border: 1px solid rgba(12, 43, 51, 0.14);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.66);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.45;
}

.camp-check input,
.camp-image-choice input {
  width: 19px;
  height: 19px;
  margin: 0;
  accent-color: #008eb6;
}

.camp-check a {
  color: #006f91;
  text-decoration: underline;
}

.camp-image-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 0;
  padding: 14px 15px;
  border: 1px solid rgba(12, 43, 51, 0.14);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.66);
}

.camp-image-choice legend {
  width: 100%;
  padding: 0;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.camp-image-choice label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.86rem;
  font-weight: 800;
}

.camp-payment-warning {
  margin-top: 18px;
  border-color: rgba(164, 121, 28, 0.25);
  color: #674b0d;
  background: #fff8e3;
}

.camp-trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
}

.camp-success {
  text-align: center;
}

.camp-success__icon {
  display: grid;
  width: 66px;
  height: 66px;
  margin: 0 auto 20px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #16865a;
  box-shadow: 0 15px 36px rgba(22, 134, 90, 0.22);
  font-size: 1.8rem;
  font-weight: 900;
}

.camp-success__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 28px 0;
  overflow: hidden;
  border: 1px solid rgba(12, 43, 51, 0.13);
  border-radius: 16px;
  background: rgba(12, 43, 51, 0.13);
  text-align: left;
}

.camp-success__details div {
  display: grid;
  gap: 5px;
  padding: 17px;
  background: #fff;
}

.camp-success__details dt {
  color: rgba(16, 36, 42, 0.5);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.camp-success__details dd {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 900;
}

.camp-term {
  margin-top: 26px;
  padding: clamp(20px, 4vw, 30px);
  border: 2px solid #a6353e;
  border-radius: 18px;
  color: #18282d;
  background: #fff;
  text-align: left;
}

.camp-term__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.camp-term__head span {
  color: #a6353e;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.camp-term__head h3 {
  margin: 4px 0 0;
  font-size: 1.4rem;
}

.camp-term__head > strong {
  padding: 7px 10px;
  border-radius: 999px;
  color: #7c222a;
  background: #ffe8ea;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.camp-term__head > strong.is-uploaded {
  color: #176640;
  background: #e4f8ee;
}

.camp-term > p {
  color: rgba(16, 36, 42, 0.68);
  line-height: 1.6;
}

.camp-term__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.camp-term__actions label {
  cursor: pointer;
}

.camp-term__file {
  margin-top: 22px;
}

.camp-term__file input {
  min-width: 0;
  font-size: 0.85rem;
}

.camp-term__file small {
  color: #52636a;
  font-weight: 400;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: normal;
}

.camp-term__file input:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.camp-term > .camp-term__attachment {
  padding: 12px 14px;
  border-radius: 10px;
  color: #176640;
  background: #e4f8ee;
  overflow-wrap: anywhere;
}

.camp-success__actions {
  justify-content: center;
}

@media (max-width: 860px) {
  .camp-registration__inner {
    grid-template-columns: 1fr;
  }

  .camp-registration__copy h2 {
    font-size: clamp(3rem, 14vw, 6rem);
  }

  .camp-event-card {
    width: min(560px, 100%);
  }

  .hope-camp-home-highlight__content {
    grid-template-columns: 1fr;
    align-content: end;
    gap: 32px;
  }

  .hope-camp-home-highlight__details {
    width: min(560px, 100%);
  }
}

@media (max-width: 620px) {
  .camp-registration__inner {
    width: min(100% - 24px, 1260px);
    padding: 110px 0 64px;
  }

  .camp-registration__steps {
    display: grid;
  }

  .camp-registration__steps span {
    justify-content: flex-start;
  }

  .camp-event-card {
    padding: 24px 20px;
    border-radius: 22px;
  }

  .camp-event-card dl div {
    grid-template-columns: 92px 1fr;
  }

  .camp-modal {
    width: 100%;
    max-height: 100svh;
    border: 0;
    border-radius: 0;
  }

  .camp-modal__shell {
    min-height: 100svh;
    max-height: 100svh;
  }

  #hopeCampFormView,
  .camp-success {
    padding: 25px 16px 36px;
  }

  .camp-form-grid,
  .camp-success__details {
    grid-template-columns: 1fr;
  }

  .camp-field--full,
  .camp-field--wide {
    grid-column: auto;
  }

  .camp-form-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .camp-form-actions .camp-primary,
  .camp-form-actions .camp-secondary {
    width: 100%;
  }

  .camp-term__head {
    display: grid;
  }

  .camp-term__head > strong {
    justify-self: start;
  }

  .camp-term__actions {
    display: grid;
  }

  .hope-camp-home-highlight,
  .hope-camp-home-highlight__content {
    min-height: 100svh;
  }

  .hope-camp-home-highlight__content {
    width: calc(100% - 24px);
    padding: 112px 0 34px;
  }

  .hope-camp-home-highlight h2 {
    font-size: clamp(3.2rem, 18vw, 5.6rem);
    line-height: 0.88;
  }

  .hope-camp-home-highlight__button {
    width: 100%;
  }

  .hope-camp-home-highlight__details {
    padding: 8px 20px;
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .camp-primary,
  .camp-secondary,
  .camp-progress__track span,
  .hope-camp-home-highlight__button {
    transition: none;
  }
}
