/* ==========================================================================
   TechCrew - contact.html
   Extracted from the page's inline <style> block. Load order and rule order
   are unchanged, so cascade/specificity behave exactly as before.
   ========================================================================== */

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

:root {
  --void-black: #050507;
  --void-dark:  #0A0A0F;
  --void-card:  #0D0D14;
  --brand:      #9d6cff;
  --brand-soft: #bb9cff;
  --brand-glow: rgba(157, 108, 255, 0.4);
  --ink-soft:   rgba(255,255,255,0.85);
  --ink-mute:   rgba(255,255,255,0.6);
  --ink-faint:  rgba(255,255,255,0.4);
  --hairline:   rgba(255,255,255,0.12);
  --hairline-brand: rgba(157, 108, 255, 0.3);
  --ease-quiet:    cubic-bezier(.22, 1, .36, 1);
  --ease-precise:  cubic-bezier(.4, 0, .2, 1);
  --ease-emphasis: cubic-bezier(.16, 1, .3, 1);
}

html { background: var(--void-black); scroll-behavior: auto; }
body {
  background: var(--void-black);
  color: white;
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; height: 100vh; }

img { display: block; max-width: 100%; }
a, button { color: inherit; text-decoration: none; cursor: pointer; background: none; border: none; font: inherit; }
input, textarea, select { font-family: 'Outfit', sans-serif; }

::selection { background: var(--brand); color: white; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--void-black); }
::-webkit-scrollbar-thumb { background: var(--hairline-brand); }
::-webkit-scrollbar-thumb:hover { background: var(--brand); }

/* The custom cursor was removed - the browser's native cursor is used. */

/* ===== SCROLL PROGRESS ===== */
.nav-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 100%;
  background: var(--brand);
  z-index: 101;
  transform-origin: left;
  transform: scaleX(0);
  box-shadow: 0 0 8px var(--brand);
}

/* ===== NAV ===== */
.nav {
  position: fixed; top: 1.25rem; left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - 2rem);
  max-width: 940px;
  transition: top 400ms var(--ease-quiet);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  background: rgba(10, 10, 15, 0.55);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(157, 108, 255, 0.12);
  border-radius: 100px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.05);
  transition: background 400ms var(--ease-quiet), border-color 400ms var(--ease-quiet), box-shadow 400ms var(--ease-quiet);
}
.nav--scrolled .nav__inner {
  background: rgba(10, 10, 15, 0.82);
  border-color: rgba(157, 108, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 24px rgba(157, 108, 255, 0.1), inset 0 1px 0 rgba(255,255,255,0.05);
}
.nav__logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; font-size: 13px;
  flex-shrink: 0;
}
.nav__logo img { height: 26px; width: auto; display: block; }
.nav__menu {
  display: flex; align-items: center; gap: 0.15rem;
  position: relative;
  background: rgba(255,255,255,0.03);
  padding: 0.3rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.04);
}
.nav__indicator {
  position: absolute; top: 0.3rem; left: 0;
  height: calc(100% - 0.6rem);
  background: rgba(157, 108, 255, 0.15);
  border: 1px solid rgba(157, 108, 255, 0.3);
  border-radius: 100px;
  opacity: 0;
  transition: left 500ms var(--ease-emphasis), width 500ms var(--ease-emphasis), opacity 300ms var(--ease-quiet);
  z-index: 1; pointer-events: none;
}
.nav__link {
  position: relative; z-index: 2;
  padding: 0.5rem 0.95rem;
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 500;
  color: var(--ink-mute);
  transition: color 300ms var(--ease-quiet);
  border-radius: 100px; white-space: nowrap;
}
.nav__link:hover, .nav__link.is-active { color: white; }
.nav__cta {
  padding: 0.65rem 1.4rem;
  background: var(--brand);
  border-radius: 100px;
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 600;
  color: white; flex-shrink: 0;
  transition: background 300ms var(--ease-quiet), box-shadow 300ms var(--ease-quiet), transform 300ms var(--ease-quiet);
  box-shadow: 0 0 20px rgba(157, 108, 255, 0.3);
}
.nav__cta:hover {
  background: var(--brand-soft);
  box-shadow: 0 0 30px rgba(157, 108, 255, 0.5);
  transform: scale(1.04);
}
/* --- Mobile nav toggle + drawer --- */
.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  flex-shrink: 0;
  align-items: center; justify-content: center;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  transition: border-color 300ms var(--ease-quiet), background 300ms var(--ease-quiet);
}
.nav__toggle:hover { border-color: var(--hairline-brand); background: rgba(157, 108, 255, 0.08); }
.nav__toggle-bars { display: block; position: relative; width: 16px; height: 1.5px; background: white; transition: background 200ms var(--ease-quiet); }
.nav__toggle-bars::before, .nav__toggle-bars::after {
  content: ''; position: absolute; left: 0;
  width: 16px; height: 1.5px; background: white;
  transition: transform 300ms var(--ease-quiet);
}
.nav__toggle-bars::before { top: -5px; }
.nav__toggle-bars::after  { top: 5px; }
.nav.is-open .nav__toggle-bars { background: transparent; }
.nav.is-open .nav__toggle-bars::before { transform: translateY(5px) rotate(45deg); }
.nav.is-open .nav__toggle-bars::after  { transform: translateY(-5px) rotate(-45deg); }

.nav__drawer {
  display: none;
  margin-top: 0.6rem;
  padding: 0.75rem;
  background: rgba(10, 10, 15, 0.94);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(157, 108, 255, 0.16);
  border-radius: 22px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  opacity: 0; transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 300ms var(--ease-quiet), transform 300ms var(--ease-quiet);
}
.nav.is-open .nav__drawer { opacity: 1; transform: none; pointer-events: auto; }
.nav__drawer a {
  display: block;
  padding: 0.85rem 1rem;
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 500;
  color: var(--ink-mute);
  border-radius: 14px;
  transition: color 250ms var(--ease-quiet), background 250ms var(--ease-quiet);
}
.nav__drawer a:hover, .nav__drawer a.is-active { color: white; background: rgba(157, 108, 255, 0.12); }
.nav__drawer a.nav__drawer-cta { color: white; background: var(--brand); text-align: center; font-weight: 600; margin-top: 0.4rem; }
.nav__drawer a.nav__drawer-cta:hover { background: var(--brand-soft); }

@media (max-width: 1000px) {
  .nav__menu { display: none; }
  .nav__toggle { display: flex; }
  .nav__drawer { display: block; }
  .nav__inner { padding: 0.5rem 0.5rem 0.5rem 1rem; }
}
@media (max-width: 560px) {
  .nav__cta { display: none; }
  .nav__logo img { height: 22px; }
}

/* ===== LOADER ===== */
.loader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--void-black);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.loader__grid {
  position: absolute; inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
#loader-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
}
.loader__corner {
  position: absolute;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--ink-mute);
  text-transform: uppercase;
  z-index: 2;
}
.loader__corner--tl { top: 2rem; left: 2rem; }
.loader__corner--tr { top: 2rem; right: 2rem; }
.loader__corner--bl { bottom: 2rem; left: 2rem; }
.loader__corner--br { bottom: 2rem; right: 2rem; }
.loader__dial {
  position: relative; z-index: 2;
  width: 280px; height: 280px;
  display: flex; align-items: center; justify-content: center;
}
.loader__dial-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}
.loader__dial-track { fill: none; stroke: var(--hairline); stroke-width: 1; }
.loader__dial-progress {
  fill: none; stroke: var(--brand); stroke-width: 2;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px var(--brand));
  stroke-dasharray: 282.74;
  stroke-dashoffset: 282.74;
}
.loader__dial-ticks {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  animation: rotate-ticks 20s linear infinite;
}
@keyframes rotate-ticks { to { transform: rotate(360deg); } }
.loader__center {
  position: relative; z-index: 2;
  text-align: center;
  background: rgba(5, 5, 7, 0.7);
  backdrop-filter: blur(8px);
  padding: 2rem 3rem;
  border: 1px solid rgba(157, 108, 255, 0.2);
  display: flex; flex-direction: column; align-items: center;
}
.loader__label { font-size: 11px; font-weight: 600; letter-spacing: 0.3em; color: var(--brand); text-transform: uppercase; margin-bottom: 1rem; }
.loader__counter { font-weight: 200; font-size: 3.5rem; letter-spacing: -0.03em; color: white; display: flex; align-items: baseline; margin-bottom: 1rem; line-height: 1; }
.loader__pct { font-size: 1.2rem; color: var(--ink-mute); margin-left: 4px; font-weight: 400; }
.loader__status { font-size: 11px; font-weight: 400; letter-spacing: 0.2em; color: var(--ink-soft); text-transform: uppercase; min-height: 1em; margin-bottom: 1.5rem; }
.loader__meta { display: flex; gap: 2rem; font-size: 10px; font-weight: 500; letter-spacing: 0.25em; color: var(--ink-faint); border-top: 1px solid var(--hairline); padding-top: 1rem; width: 100%; justify-content: center; }
.loader__flash { position: absolute; inset: 0; background: white; z-index: 3; opacity: 0; pointer-events: none; mix-blend-mode: screen; }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh; min-height: 720px;
  overflow: hidden;
  background: var(--void-black);
}
#hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 2;
  background: 
    radial-gradient(ellipse at 50% 50%, rgba(5,5,7,0) 0%, rgba(5,5,7,0.6) 60%, rgba(5,5,7,0.95) 100%),
    linear-gradient(180deg, rgba(5,5,7,0.4) 0%, rgba(5,5,7,0) 30%, rgba(5,5,7,0) 70%, rgba(5,5,7,0.9) 100%);
  pointer-events: none;
}
.hero__content {
  position: relative; z-index: 3;
  height: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 7rem 2rem 3rem;
  pointer-events: none;
}
.hero__title-wrap { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.hero__label { font-size: 13px; font-weight: 600; letter-spacing: 0.35em; color: var(--brand); text-transform: uppercase; margin-bottom: 2rem; opacity: 0; display: flex; align-items: center; gap: 1rem; }
.hero__label::before { content: ''; width: 32px; height: 1px; background: var(--brand); }
.hero__title { font-weight: 900; font-size: clamp(2.4rem, 8vw, 7.5rem); line-height: 0.95; letter-spacing: -0.045em; color: white; margin-bottom: 2rem; text-transform: uppercase; perspective: 1000px; }
.hero__title .word-wrapper { display: inline-block; white-space: nowrap; }
.hero__title .letter { display: inline-block; transform-origin: bottom; will-change: transform, opacity, filter; opacity: 0; }
.hero__sub { font-weight: 300; font-size: clamp(1.35rem, 2.2vw, 2rem); line-height: 1.45; color: var(--ink-soft); max-width: 780px; opacity: 0; letter-spacing: 0.01em; }

/* ===== CONTACT SPLIT ===== */
.contact-section {
  padding: 8rem 2rem;
  background: var(--void-black);
  border-top: 1px solid var(--hairline);
  position: relative;
}
.contact-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 100%;
  background-image: 
    linear-gradient(to right, rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}
.contact-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 5rem;
  position: relative;
  z-index: 1;
}

/* Form Side */
.contact-form-wrap {
  position: relative;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 1rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hairline);
  color: white;
  font-size: 1.1rem;
  font-weight: 400;
  outline: none;
  transition: border-color 300ms ease, box-shadow 300ms ease;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-bottom-color: var(--brand);
  box-shadow: 0 2px 10px -5px var(--brand-glow);
}
.form-input::placeholder, .form-textarea::placeholder {
  color: var(--ink-faint);
  font-weight: 300;
}
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239d6cff' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 16px;
  cursor: pointer;
}
.form-textarea {
  resize: vertical;
  min-height: 100px;
}
.form-submit {
  margin-top: 2rem;
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 1rem;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 1.4rem 2.5rem;
  border: 1px solid var(--brand);
  color: white;
  background: rgba(157, 108, 255, 0.05);
  transition: background 300ms var(--ease-quiet), color 300ms var(--ease-quiet), box-shadow 300ms var(--ease-quiet);
}
.form-submit:hover {
  background: var(--brand);
  color: white;
  box-shadow: 0 0 30px var(--brand-glow);
}
.form-submit::after { content: '↗'; transition: transform 300ms var(--ease-quiet); }
.form-submit:hover::after { transform: translate(4px, -4px); }
.form-submit.is-pending,
.form-submit:disabled {
  opacity: 0.6;
  pointer-events: none;
  border-color: var(--hairline-brand);
}
.form-submit.is-pending::after { content: ''; }

/* Form Validation & Status */
.form-optional { font-weight: 400; letter-spacing: 0.15em; color: var(--ink-faint); }
.form-error {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff6b8a;
}
.form-error:empty { display: none; }
.form-input.is-invalid, .form-select.is-invalid, .form-textarea.is-invalid { border-bottom-color: #ff6b8a; }
.form-input.is-invalid:focus, .form-select.is-invalid:focus, .form-textarea.is-invalid:focus { box-shadow: 0 2px 10px -5px rgba(255, 107, 138, 0.6); }
.form-status {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ff6b8a;
  border-left: 2px solid #ff6b8a;
  padding-left: 1rem;
  line-height: 1.6;
}
.form-status:empty { display: none; }
.form-status.is-ok { color: var(--brand-soft); border-left-color: var(--brand); }
.form-honeypot {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Form Success State */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  border: 1px solid var(--hairline-brand);
  background: rgba(157, 108, 255, 0.03);
}
.form-success.is-visible {
  display: flex;
  animation: fadeInUp 600ms var(--ease-emphasis);
}
.success-icon {
  width: 60px;
  height: 60px;
  border: 1px solid var(--brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  box-shadow: 0 0 30px var(--brand-glow);
}
.success-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--brand);
}
.success-title {
  font-weight: 800;
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.success-desc {
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 320px;
}

/* Info Side */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding-top: 2rem;
}
.info-block {
  border-left: 1px solid var(--hairline);
  padding-left: 2rem;
  position: relative;
}
.info-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: -1px;
  width: 1px;
  height: 30px;
  background: var(--brand);
  box-shadow: 0 0 8px var(--brand);
}
.info-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--ink-faint);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.info-item {
  display: block;
  font-size: 1.2rem;
  font-weight: 500;
  color: white;
  margin-bottom: 0.5rem;
  transition: color 200ms ease;
}
a.info-item:hover { color: var(--brand); }
.info-sub {
  font-size: 0.85rem;
  color: var(--ink-mute);
  font-weight: 300;
}

.studios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.studio-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.25rem;
}
.studio-item p {
  font-size: 0.8rem;
  color: var(--ink-mute);
  font-weight: 400;
}

@media (max-width: 980px) {
  .contact-grid { grid-template-columns: 1fr; gap: 4rem; }
  .form-row { grid-template-columns: 1fr; gap: 2rem; }
  .studios-grid { grid-template-columns: 1fr; }
}

/* ===== FOOTER ===== */
.footer { padding: 6rem 2rem 3rem; background: var(--void-black); position: relative; border-top: 1px solid var(--hairline-brand); }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr; gap: 2.5rem; border-top: 1px solid var(--hairline); padding-top: 4rem; }
.footer__col h4 { font-size: 11px; font-weight: 600; letter-spacing: 0.3em; color: var(--ink-faint); text-transform: uppercase; margin-bottom: 1.5rem; }
.footer__col .footer__subhead { margin-top: 1.75rem; }
.footer__col p, .footer__col a { font-size: 14px; font-weight: 400; color: var(--ink-soft); line-height: 1.8; display: block; transition: color 200ms var(--ease-quiet); }
.footer__col a:hover { color: var(--brand); }
.footer__brand { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.footer__brand img { height: 34px; width: auto; display: block; }
.footer__brand-name { font-weight: 700; font-size: 18px; letter-spacing: 0.1em; color: white; text-transform: uppercase; }
.footer__brand-desc { font-size: 0.95rem !important; color: var(--ink-soft) !important; line-height: 1.5; max-width: 320px; }
.footer__bottom { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--hairline); display: flex; justify-content: space-between; font-size: 11px; font-weight: 500; letter-spacing: 0.25em; color: var(--ink-faint); text-transform: uppercase; }
@media (max-width: 1100px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (max-width: 880px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .footer { padding: 4rem 1.5rem 2rem; } .footer__grid { grid-template-columns: 1fr; gap: 2rem; } .footer__bottom { flex-direction: column; gap: 1rem; } }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-quiet), transform 1s var(--ease-quiet); will-change: opacity, transform; }
.fade-up.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  #hero-canvas, #loader-canvas { display: none; }
  .fade-up { opacity: 1; transform: none; }
  .hero__title .letter { opacity: 1; }
}
