/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #000;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: #fff;
  color: #000;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
  font-family: inherit;
}

img {
  display: block;
  max-width: 100%;
}

ul,
ol {
  list-style: none;
}

/* ── Navbar ───────────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.3s, border-color 0.3s;
  background: transparent;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.navbar-inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 24px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .navbar-inner {
    padding: 0 48px;
  }
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.navbar-logo img {
  height: 28px;
  width: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .navbar-logo img {
    height: 32px;
  }
}

.navbar-links {
  display: none;
  align-items: center;
  gap: 32px;
}

@media (min-width: 1024px) {
  .navbar-links {
    display: flex;
  }
}

.navbar-links a {
  position: relative;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: #fff;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: #fff;
  width: 0;
  transition: width 0.3s;
  transform-origin: left;
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
  width: 100%;
}

.navbar-right {
  display: flex;
  align-items: center;
}

.navbar-right-desktop {
  display: none;
  align-items: center;
  gap: 24px;
}

@media (min-width: 1024px) {
  .navbar-right-desktop {
    display: flex;
  }
}

.navbar-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: #fff;
  color: #000;
  padding: 8px 20px;
  transition: background 0.2s;
}

.navbar-login-btn:hover {
  background: #e0e0e0;
}

.navbar-powered {
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s;
}

.navbar-powered:hover {
  opacity: 0.8;
}

.powered-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

.powered-brand {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.navbar-right-mobile {
  display: flex;
  align-items: center;
  gap: 16px;
}

@media (min-width: 1024px) {
  .navbar-right-mobile {
    display: none;
  }
}

.navbar-hamburger {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

/* ── Mobile Menu ──────────────────────────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.mm-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 80px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.mm-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.mm-close {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.mm-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 32px;
  gap: 32px;
}

.mm-link {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #fff;
  display: block;
  transition: color 0.2s;
}

.mm-link:hover {
  color: rgba(255, 255, 255, 0.5);
}

.mm-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #000;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  width: fit-content;
  transition: background 0.2s;
}

.mm-login-btn:hover {
  background: #e0e0e0;
}

/* ── Shared ───────────────────────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up.delay-1 {
  transition-delay: 0.08s;
}

.fade-up.delay-2 {
  transition-delay: 0.16s;
}

.fade-up.delay-3 {
  transition-delay: 0.24s;
}

/* ── Contact Page ─────────────────────────────────────────────────────────── */
main {
  padding-top: 80px;
}

/* ── Two-column layout ────────────────────────────────────────────────────── */
.contact-body {
  max-width: 1024px;
  margin: 0 auto;
  padding: 32px 16px 80px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 80px;
  align-items: start;
}

@media (min-width: 768px) {
  .contact-body {
    padding: 32px 32px 96px;
  }
}

@media (min-width: 1024px) {
  .contact-body {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

/* ── Illustration column ──────────────────────────────────────────────────── */
.contact-illustration {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-illustration h2 {
  font-size: 12px;
  line-height: 16px;
  font-weight: 900;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: color-mix(in oklab, #fff 30%, transparent);
}

.envelope-svg {
  width: 100%;
  max-width: 320px;
  margin: 0 auto 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.envelope-svg.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-text h1 {
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

@media (min-width: 1024px) {
  .contact-text h1 {
    font-size: 48px;
  }
}

.contact-text p {
  font-size: 18px;
  font-weight: 300;
  line-height: 29px;
}

.contact-text p:first-of-type {
  color: color-mix(in oklab, #fff 50%, transparent);
  margin-bottom: 12px;
}

.contact-footer {
  margin-top: 12px;
  border-top: solid 1px;
  border-color: color-mix(in oklab, #fff 10%, transparent);
  padding-top: 32px;
}

.contact-footer p {
  color: color-mix(in oklab, #fff 25%, transparent);
  font-size: 12px;
  line-height: 16px;
}

.contact-footer p a {
  color: color-mix(in oklab, #fff 50%, transparent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Form column ──────────────────────────────────────────────────────────── */
.contact-form-wrap {
  width: 100%;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: oklab(0.999994 0.0000455677 0.0000200868 / 0.7);
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-label svg {
  color: color-mix(in oklab, #fff 30%, transparent);
}

.form-input,
.form-textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  padding: 14px 16px;
  width: 100%;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  -webkit-appearance: none;
  border-radius: 0;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.form-input:focus,
.form-textarea:focus {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.07);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.form-input.error,
.form-textarea.error {
  border-color: #ef4444;
}

.form-error-msg {
  font-size: 12px;
  color: #ef4444;
  display: none;
}

.form-error-msg.visible {
  display: block;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgb(245, 165, 36);
  color: #000;
  padding: 16px 32px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
  border: none;
  width: 100%;
  justify-content: center;
}

@media (min-width: 640px) {
  .form-submit {
    width: auto;
  }
}

.form-submit:hover {
  background: rgb(246, 175, 66);
}

.form-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-submit-arrow {
  transition: transform 0.2s;
}

.form-submit:hover .form-submit-arrow {
  transform: translateX(4px);
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 1920px;
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .footer {
    padding: 40px 48px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-logo img {
  height: 24px;
  width: auto;
  object-fit: contain;
  opacity: 0.6;
}

.footer-copy {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.3);
}

/* ── Thank-you page ───────────────────────────────────────────────────────── */
.thankyou-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.thankyou-bg-arc {
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  border-radius: 50%;
  border: 1px solid rgba(245, 165, 36, 0.08);
  pointer-events: none;
}

.thankyou-bg-arc-2 {
  width: 700px;
  height: 700px;
  border-color: rgba(245, 165, 36, 0.06);
}

.thankyou-bg-arc-3 {
  width: 500px;
  height: 500px;
  border-color: rgba(245, 165, 36, 0.04);
}

.thankyou-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  width: 100%;
}

.thankyou-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 40px;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.thankyou-icon.visible {
  opacity: 1;
  transform: scale(1);
}

.thankyou-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #F5A524;
  margin-bottom: 20px;
}

.thankyou-headline {
  font-size: clamp(72px, 14vw, 144px);
  font-weight: 900;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  line-height: 0.85;
  color: #fff;
  margin-bottom: 32px;
}

.thankyou-body {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
  color: #99A1AF;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .thankyou-body {
    font-size: 20px;
  }
}

.thankyou-body strong {
  color: #fff;
  font-weight: 600;
}

.thankyou-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

@media (min-width: 480px) {
  .thankyou-actions {
    flex-direction: row;
    justify-content: center;
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #000;
  padding: 14px 28px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: inherit;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-primary:hover {
  background: #e0e0e0;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  padding: 14px 28px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: inherit;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn-secondary:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}