/* ─── Brand Tokens ───────────────────────────────────────────── */
:root {
  --blue: #1800ad;
  --orange: #ff3b14;
  --black: #0c0c0c;
  --cream: #f5f3ee;
}

/* ─── Reset ──────────────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  background: var(--blue);
  color: var(--cream);
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── Scroll Reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Hero ───────────────────────────────────────────────────── */
#hero {
  min-height: 100svh;
  background: var(--blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 3rem 2rem 5rem;
}

.hero-logo-container {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

@media (max-width: 640px) {
  .hero-logo-container {
    width: 100%;
    max-width: none;
  }
  .hero {
    padding-left: 0;
    padding-right: 0;
  }
}

.hero-logo {
  width: 100%;
  height: auto;
  display: block;
  animation: fadeUp 1s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Spinning asterisks (match the logo decorators) */
.star {
  position: absolute;
  color: var(--orange);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}
.star svg {
  display: block;
}
@keyframes spin-cw {
  to {
    transform: rotate(360deg);
  }
}
@keyframes spin-ccw {
  to {
    transform: rotate(-360deg);
  }
}

/* Star positions and animations via nth-child — no inline styles needed */
#hero .star:nth-child(1) {
  top: 7%;
  left: 5%;
}
#hero .star:nth-child(2) {
  top: 10%;
  right: 7%;
}
#hero .star:nth-child(3) {
  bottom: 18%;
  left: 9%;
}
#hero .star:nth-child(4) {
  bottom: 22%;
  right: 6%;
}
#hero .star:nth-child(1) svg {
  animation: spin-cw 22s linear infinite;
}
#hero .star:nth-child(2) svg {
  animation: spin-ccw 30s linear infinite;
}
#hero .star:nth-child(3) svg {
  animation: spin-cw 28s linear infinite;
}
#hero .star:nth-child(4) svg {
  animation: spin-ccw 18s linear infinite;
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--orange);
  text-decoration: none;
  font-family: "Unbounded", sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  animation:
    bob 2.2s ease-in-out infinite,
    fadeUp 1.2s 0.6s ease both;
  opacity: 0;
}
.scroll-cue svg {
  width: 18px;
  height: 18px;
}
@keyframes bob {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(5px);
  }
}

/* ─── Utilities ──────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.honeypot {
  display: none;
}

/* ─── About ──────────────────────────────────────────────────── */
#about {
  background: var(--black);
  padding: 8rem 2rem;
}

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.eyebrow {
  font-family: "Unbounded", sans-serif;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.75rem;
}

.headline {
  font-family: "Unbounded", sans-serif;
  font-weight: 900;
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

#about .headline {
  color: var(--cream);
}

.body-text {
  font-size: 1.05rem;
  line-height: 1.85;
  font-weight: 300;
  max-width: 600px;
  color: rgba(245, 243, 238, 0.55);
}
#about .body-text + .body-text {
  margin-top: 1.5rem;
}

/* ─── Register ───────────────────────────────────────────────── */
#register {
  background: var(--cream);
  padding: 8rem 2rem;
}

#register .eyebrow {
  color: var(--blue);
}
#register .headline {
  color: var(--black);
}
#register .body-text {
  color: rgba(12, 12, 12, 0.55);
}

/* Form */
.form-wrap {
  margin-top: 3.5rem;
}

form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* Conditional form groups — shown/hidden by JS */
.form-group-conditional {
  display: none;
  grid-column: 1 / -1;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 580px) {
  form {
    grid-template-columns: 1fr;
  }
  .form-group-conditional {
    grid-template-columns: 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.field.full {
  grid-column: 1 / -1;
}

label {
  font-family: "Unbounded", sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(12, 12, 12, 0.5);
}

input,
select {
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(12, 12, 12, 0.2);
  padding: 0.8rem 0;
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--black);
  outline: none;
  width: 100%;
  border-radius: 0;
  -webkit-appearance: none;
  transition: border-color 0.2s;
}

input::placeholder {
  color: rgba(12, 12, 12, 0.25);
}

input:focus,
select:focus {
  border-color: var(--blue);
}

select {
  cursor: pointer;
}

/* Select arrow */
.select-wrap {
  position: relative;
}
.select-wrap::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(12, 12, 12, 0.35);
  pointer-events: none;
}

.btn-submit {
  grid-column: 1 / -1;
  background: var(--blue);
  color: var(--cream);
  border: none;
  padding: 1.25rem 2rem;
  font-family: "Unbounded", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s;
  margin-top: 0.5rem;
}
.btn-submit:hover {
  background: var(--orange);
}

.form-note {
  grid-column: 1 / -1;
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(12, 12, 12, 0.35);
  margin-top: 0.25rem;
}

/* Email contact line */
.form-email-contact {
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(12, 12, 12, 0.45);
  margin-top: 1.5rem;
}
.form-email-contact a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(46, 79, 212, 0.25);
  transition: border-color 0.2s;
}
.form-email-contact a:hover {
  border-color: var(--blue);
}

/* Budget toggle */
.budget-toggle {
  display: flex;
  border: 1.5px solid rgba(12, 12, 12, 0.2);
  border-radius: 4px;
  overflow: hidden;
  width: fit-content;
  margin: 0.6rem 0 0.2rem;
}
.toggle-btn {
  background: transparent;
  border: none;
  padding: 0.6rem 1.2rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(12, 12, 12, 0.5);
  cursor: pointer;
  transition: all 0.2s;
}
.toggle-btn.active {
  background: var(--blue);
  color: var(--cream);
}
.toggle-btn:not(.active):hover {
  background: rgba(46, 79, 212, 0.08);
}

/* Budget slider */
.budget-slider-wrap {
  padding: 1rem 0 0.5rem;
}
.budget-slider-wrap input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(12, 12, 12, 0.15);
  outline: none;
  padding: 0;
  cursor: pointer;
}
.budget-slider-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid var(--cream);
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}
.budget-slider-wrap input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid var(--cream);
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}
.budget-slider-wrap input[type="range"]:focus {
  border-color: transparent;
}
.budget-value {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-top: 0.6rem;
  font-family: "Unbounded", sans-serif;
}
#budget-display {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue);
}
#budget-rate-label {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(12, 12, 12, 0.4);
}

/* Trust statement */
.trust-statement {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  font-weight: 400;
  font-style: italic;
  color: rgba(12, 12, 12, 0.45);
  text-align: center;
  margin-top: 1.5rem;
}

/* Success state */
.form-success {
  display: none;
  padding: 3rem 0;
}
.form-success.show {
  display: block;
}
.form-success-inner {
  border: 1.5px solid var(--blue);
  padding: 2.5rem;
  text-align: center;
}
.form-success .star-icon {
  display: block;
  margin: 0 auto 1rem;
}
.form-success p {
  font-family: "Unbounded", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue);
  line-height: 1.6;
}
.form-success span {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  letter-spacing: 0;
  color: rgba(12, 12, 12, 0.5);
  margin-top: 0.5rem;
}

/* Error state */
.form-error {
  display: none;
  padding: 3rem 0;
}
.form-error.show {
  display: block;
}
.form-error-inner {
  border: 1.5px solid var(--orange);
  padding: 2.5rem;
  text-align: center;
}
.form-error p {
  font-family: "Unbounded", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--orange);
  line-height: 1.6;
}
.form-error span {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  letter-spacing: 0;
  color: rgba(12, 12, 12, 0.5);
  margin-top: 0.5rem;
}
.form-error a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(46, 79, 212, 0.25);
  transition: border-color 0.2s;
}
.form-error a:hover {
  border-color: var(--blue);
}

/* ─── Footer studios ────────────────────────────────────────── */
.footer-studios {
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid rgba(245, 243, 238, 0.12);
}
.footer-studios-label {
  font-family: "Unbounded", sans-serif;
  font-size: 0.52rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 243, 238, 0.3);
  margin-bottom: 1rem;
}
.footer-studios-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
}
.footer-studios-list li {
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(245, 243, 238, 0.5);
  line-height: 1.6;
}

/* ─── Footer ─────────────────────────────────────────────────── */
footer {
  background: var(--blue);
  padding: 4.5rem 2rem 3rem;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(245, 243, 238, 0.12);
}

.footer-brand-name {
  font-family: "Unbounded", sans-serif;
  font-weight: 900;
  font-size: 2.2rem;
  color: var(--orange);
  letter-spacing: -0.02em;
  line-height: 1;
}

.footer-tagline {
  font-family: "Unbounded", sans-serif;
  font-size: 0.52rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(245, 243, 238, 0.3);
  margin-top: 0.5rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-align: right;
}

.footer-contact a {
  color: rgba(245, 243, 238, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 300;
  transition: color 0.2s;
}
.footer-contact a:hover {
  color: var(--orange);
}

.footer-contact-label {
  font-family: "Unbounded", sans-serif;
  font-size: 0.52rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 243, 238, 0.3);
  margin-bottom: 0.6rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.75rem;
  font-size: 0.7rem;
  font-weight: 300;
  color: rgba(245, 243, 238, 0.3);
}

/* ─── Responsive polish ──────────────────────────────────────── */
@media (max-width: 640px) {
  .footer-contact {
    text-align: left;
  }
  .footer-contact-label {
    text-align: left;
  }
  .form-group-conditional {
    grid-template-columns: 1fr;
  }
  .budget-toggle {
    width: 100%;
  }
  .toggle-btn {
    flex: 1;
    text-align: center;
    font-size: 0.8rem;
    padding: 0.6rem 0.6rem;
  }
}
