:root {
  --bg: #0b1224;
  --bg-2: #0f172a;
  --card: rgba(17, 24, 39, 0.75);
  --muted: #94a3b8;
  --text: #e2e8f0;
  --accent: #ff7e36;
  --accent-2: #22d3ee;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

section {
  scroll-margin-top: 110px;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  letter-spacing: -0.02em;
  margin: 0.1em 0 0.25em;
}

p {
  margin: 0.2em 0 0.8em;
}

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

.gradient-bg {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 126, 54, 0.18), transparent 35%),
    radial-gradient(circle at 80% 10%, rgba(34, 211, 238, 0.2), transparent 32%),
    radial-gradient(circle at 60% 70%, rgba(255, 255, 255, 0.05), transparent 50%),
    linear-gradient(145deg, #0b1224 0%, #0d162d 50%, #0f1c35 100%);
  z-index: -1;
}

.topbar {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 6vw;
  background: rgba(10, 15, 28, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.brand {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #0b1224;
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  gap: 16px;
  align-items: center;
  font-weight: 600;
}

.nav a {
  padding: 8px 12px;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.nav .chip {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
}

.nav a:focus-visible {
  background: rgba(34, 211, 238, 0.12);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.01em;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.menu-toggle:focus-visible {
  box-shadow: 0 0 0 2px #0b1224, 0 0 0 4px var(--accent-2);
}

main {
  padding: 64px 6vw 96px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(32px, 5vw, 54px);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 10px;
}

.lede {
  font-size: 18px;
  color: #d7e2f3;
  max-width: 640px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0 10px;
}

.btn {
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-weight: 700;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }

.btn:focus-visible { box-shadow: 0 0 0 2px #0b1224, 0 0 0 4px var(--accent-2); }

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0b1224;
  border: none;
}

.btn.ghost { background: rgba(255, 255, 255, 0.08); }

.btn.text { border: none; background: transparent; color: var(--accent-2); padding-left: 0; }

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.pill {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  font-size: 13px;
  color: #d7e2f3;
}

.hero-photo { position: relative; display: grid; gap: 12px; justify-items: end; }

.photo-frame {
  width: min(420px, 100%);
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.16), rgba(255, 126, 54, 0.16));
  box-shadow: var(--shadow);
}

.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(1.05); }

.glow {
  position: absolute;
  inset: auto 10% 10% 10%;
  height: 30%;
  filter: blur(40px);
  background: radial-gradient(circle, rgba(255, 126, 54, 0.35), transparent 60%);
  z-index: 0;
}

.hero-photo .badge {
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: #d7e2f3;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.grid {
  display: grid;
  gap: 20px;
}

.grid.two { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.card.accent { border: 1px solid rgba(255, 126, 54, 0.4); }
.card.muted { background: rgba(255, 255, 255, 0.04); }
.card.wide { padding: 28px; }

.label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 6px;
}

.stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.stack-tags span {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
}

.list { padding-left: 18px; color: #d7e2f3; margin: 0; display: grid; gap: 8px; }
.list li { line-height: 1.5; }

.process { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.process h3 { margin: 6px 0; }
.process p { margin: 0; color: #dce6f7; }

.cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(255, 126, 54, 0.18), rgba(34, 211, 238, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
}

.footer {
  padding: 24px 6vw 40px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--border);
  background: rgba(10, 15, 28, 0.8);
}

/* Contact form page */
.contact-wrap {
  max-width: 840px;
  margin: 0 auto;
  padding: 80px 6vw 96px;
  display: grid;
  gap: 18px;
}

.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

label {
  font-weight: 600;
  font-size: 14px;
  color: #dce6f7;
}

input, select, textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 15px;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  outline: none;
  transition: border 0.15s ease, background 0.15s ease;
}

input:focus, select:focus, textarea:focus {
  border-color: rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.08);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.turnstile-wrap {
  margin: 4px 0 8px;
}

.was-validated input:invalid,
.was-validated textarea:invalid {
  border-color: #fca5a5;
  background: rgba(252, 165, 165, 0.08);
}

.form-status {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.form-status[data-tone="success"] { color: #4ade80; }
.form-status[data-tone="error"] { color: #fca5a5; }

.honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 960px) {
  .topbar { flex-wrap: wrap; gap: 10px; align-items: center; }
  .menu-toggle { display: inline-flex; }
  .nav { display: none; flex-direction: column; width: 100%; gap: 10px; padding-top: 8px; }
  .nav.open { display: flex; }
  .nav a { width: 100%; padding: 12px 14px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.05); border-radius: 10px; }
  .nav .chip { background: rgba(255, 255, 255, 0.09); }
  .hero { grid-template-columns: 1fr; gap: 22px; }
  .hero-text h1 { font-size: clamp(30px, 7vw, 44px); }
  .lede { font-size: 17px; }
  .hero-photo { justify-items: center; }
  .photo-frame { max-width: 360px; }
  .cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  main { padding: 44px 5vw 64px; }
  .topbar { padding: 14px 5vw; }
  .actions { width: 100%; flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .pill { font-size: 12px; }
  .card { padding: 20px; }
  .hero-photo .badge { width: 100%; text-align: center; }
  .cta { width: 100%; }
  .form-actions { flex-direction: column; }
  .footer { flex-direction: column; align-items: flex-start; }
}


@media (max-width: 480px) {
  .nav a { text-align: left; }
  .brand { width: 40px; height: 40px; }
  .hero-text h1 { font-size: clamp(26px, 8vw, 36px); }
  .lede { font-size: 16px; }
}
