*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #0c0c0c;
  --bg2:      #141414;
  --border:   #222222;
  --text:     #f0ede8;
  --muted:    #6b6760;
  --accent:   #e8d5a3;
  --accent2:  #c9a96e;
  --highlight:#e8ff47;
}

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'Syne', sans-serif;
  overflow: hidden;
  cursor: none;
}

/* ── CUSTOM CURSOR ─────────────────────────────────── */
#cur {
  position: fixed; width: 8px; height: 8px;
  background: var(--accent); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: transform .1s, background .2s;
}
#cur-ring {
  position: fixed; width: 36px; height: 36px;
  border: 1.5px solid rgba(232,213,163,.35);
  border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
}

/* ── LAYOUT ────────────────────────────────────────── */
body { display: flex; }

/* ── LEFT PANEL ────────────────────────────────────── */
.left {
  width: 42%;
  min-width: 380px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 40px 48px;
  border-right: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.left::before {
  content:''; position:absolute; inset:0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events:none; opacity:.5; z-index:0;
}

.left > * { position: relative; z-index: 1; }

.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: .15em;
  color: var(--text);
  text-decoration: none;
  opacity: .9;
}

.left-body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 22px; }

.greeting {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(58px, 6.5vw, 90px);
  line-height: .95;
  letter-spacing: .02em;
}

.highlight { color: var(--highlight); }

.bio {
  font-size: 14px;
  line-height: 1.75;
  color: #9e9890;
  max-width: 360px;
}

/* availability badge */
.avail-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,213,163,.06);
  border: 1px solid rgba(232,213,163,.14);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  width: fit-content;
}
.avail-dot {
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 8px #4ade8088;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; } 50% { opacity:.4; }
}

/* back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.back-link:hover { color: var(--text); }
.back-link .arr { display: inline-block; transition: transform .2s; }
.back-link:hover .arr { transform: translateX(-4px); }

/* socials */
.socials {
  display: flex;
  gap: 24px;
  margin-top: 8px;
}
.socials a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.socials a:hover { color: var(--text); }

/* vertical label */
.v-label {
  position: absolute;
  right: -30px; bottom: 80px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--border);
  transform: rotate(90deg);
  white-space: nowrap;
}

/* ── RIGHT PANEL ───────────────────────────────────── */
.right {
  flex: 1;
  height: 100vh;
  overflow-y: auto;
  padding: 40px 60px 60px;
  display: flex;
  flex-direction: column;
  scrollbar-width: none;
}
.right::-webkit-scrollbar { display: none; }

/* top bar */
.right-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 52px;
}
.step-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.step-track {
  display: flex;
  align-items: center;
  gap: 6px;
}
.step-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--border);
  transition: background .3s;
}
.step-dot.active { background: var(--accent); }

/* section title */
.section-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 3.5vw, 50px);
  letter-spacing: .04em;
  line-height: 1;
  margin-bottom: 28px;
  color: var(--text);
}
.section-heading .hl { color: var(--highlight); }

.section-rule {
  width: 40px; height: 2px;
  background: var(--highlight);
  margin-bottom: 28px;
}

/* project type cards */
.type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}

.type-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px 18px;
  cursor: none;
  transition: border-color .2s, background .2s;
  user-select: none;
}
.type-card input[type="checkbox"] { display: none; }
.type-card label { cursor: none; display: block; }
.type-card:hover { border-color: rgba(232,213,163,.3); background: rgba(232,213,163,.03); }
.type-card.selected {
  border-color: var(--accent2);
  background: rgba(201,169,110,.07);
}
.type-card.selected .type-check { opacity: 1; }

.type-icon {
  font-size: 22px;
  margin-bottom: 10px;
  display: block;
}
.type-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text);
}
.type-sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.5;
}
.type-check {
  position: absolute;
  top: 12px; right: 14px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent2);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: #0c0c0c; font-weight: 800;
  opacity: 0;
  transition: opacity .2s;
}

/* divider */
.form-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

/* form fields */
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field textarea,
.field select {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  padding: 14px 16px;
  outline: none;
  transition: border-color .2s;
  cursor: none;
  resize: none;
  -webkit-appearance: none;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--accent2); }

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6760' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.field select option { background: var(--bg2); }

/* budget row */
.budget-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.budget-pill {
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--muted);
  cursor: none;
  transition: all .18s;
  user-select: none;
}
.budget-pill:hover { border-color: rgba(232,213,163,.3); color: var(--text); }
.budget-pill.selected {
  border-color: var(--accent2);
  background: rgba(201,169,110,.1);
  color: var(--accent);
}

/* submit */
.submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.submit-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 260px;
}
.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--text);
  color: var(--bg);
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: none;
  border-radius: 3px;
  padding: 18px 36px;
  cursor: none;
  transition: background .2s, gap .2s, transform .15s;
  position: relative;
  overflow: hidden;
}
.btn-submit::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--accent2);
  transform: translateX(-101%);
  transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.btn-submit:hover::before { transform: translateX(0); }
.btn-submit:hover { gap: 20px; }
.btn-submit:active { transform: scale(.97); }
.btn-submit span, .btn-submit .s-arr { position: relative; z-index: 1; }
.s-arr { font-size: 18px; transition: transform .2s; }
.btn-submit:hover .s-arr { transform: translateX(4px); }

/* success state */
.success-screen {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  text-align: center;
  gap: 20px;
  padding: 60px 0;
}
.success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 2px solid var(--accent2);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  color: var(--accent2);
  animation: popIn .4s cubic-bezier(.34,1.56,.64,1);
}
@keyframes popIn {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.success-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px;
  letter-spacing: .04em;
}
.success-msg {
  font-size: 14px; color: var(--muted);
  line-height: 1.75; max-width: 340px;
}

/* scroll hint */
.scroll-hint {
  margin-top: auto;
  padding-top: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: .5;
}
.scroll-hint-line {
  display: block; width: 32px; height: 1px;
  background: var(--muted);
}

/* ── ENTRANCE ANIMATION ────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp .6s forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: none; }
}
.fade-up:nth-child(1) { animation-delay: .05s; }
.fade-up:nth-child(2) { animation-delay: .12s; }
.fade-up:nth-child(3) { animation-delay: .20s; }
.fade-up:nth-child(4) { animation-delay: .28s; }
.fade-up:nth-child(5) { animation-delay: .36s; }
.fade-up:nth-child(6) { animation-delay: .44s; }

.left .left-body > * { animation: fadeUp .6s forwards; opacity: 0; }
.left .left-body > *:nth-child(1) { animation-delay: .1s; }
.left .left-body > *:nth-child(2) { animation-delay: .2s; }
.left .left-body > *:nth-child(3) { animation-delay: .3s; }
.left .left-body > *:nth-child(4) { animation-delay: .4s; }
.left .left-body > *:nth-child(5) { animation-delay: .5s; }
