/* ==========================================================
   Switchback Games
   Title font: Bebas Neue (alternatives to try: "Anton",
   "Big Shoulders Display", "Barlow Condensed", "Antonio")
   ========================================================== */

:root {
  --bg:          #1a1a1a;   /* dark gray site background */
  --bg-deep:     #0e0e0e;   /* near-black for alternating sections */
  --surface:     #222222;
  --border:      #333333;
  --text:        #e8e6e3;
  --text-muted:  #9a9794;
  --accent:      #c9a45c;   /* warm brass, pulled from the candlelight/shell casings */
  --accent-hover:#ddb970;

  --font-title: "Bebas Neue", "Oswald", Impact, sans-serif;
  --font-body:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --nav-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(14, 14, 14, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: var(--font-title);
  font-size: 28px;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--nav-h) 24px 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.15) 50%, var(--bg-deep) 100%),
    url("bg.jpg") center / cover no-repeat;
}

.hero-content { max-width: 900px; }

.eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-title);
  font-size: 22px;
  letter-spacing: 0.4em;
  padding-left: 0.4em; /* optically re-center tracked text */
  color: var(--accent);
}

.hero-title {
  margin: 0 0 40px;
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(64px, 13vw, 180px);
  line-height: 0.9;
  letter-spacing: 0.03em;
  color: var(--text);
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
}

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  width: 1px;
  height: 48px;
  background: linear-gradient(var(--text-muted), transparent);
  transform: translateX(-50%);
  opacity: 0.6;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  padding: 16px 36px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #111;
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- Sections ---------- */
.section {
  padding: 140px 24px;
}

.container { max-width: 1200px; margin: 0 auto; }
.container.narrow { max-width: 680px; text-align: center; }

.section-title {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(44px, 7vw, 72px);
  line-height: 1;
  letter-spacing: 0.04em;
}

.rule {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin: 24px auto 36px;
}

.section-about { background: var(--bg-deep); }

.lead {
  margin: 0 0 48px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-muted);
}

.section-contact {
  background: var(--bg);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* ---------- Contact form ---------- */
.contact-form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.field label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.field input,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 14px 16px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

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

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #262626;
}

.hp { display: none; }

.h-captcha { min-height: 78px; }

.form-footer {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.contact-form .btn:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

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

.form-status.is-success { color: var(--accent); }
.form-status.is-error   { color: #d9776b; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 32px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.footer-icon {
  display: inline-flex;
  color: #6b6967;
  transition: color 0.2s ease;
}

.footer-icon:hover { color: var(--accent); }

.footer p {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b6967;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  :root { --nav-h: 60px; }

  .nav-inner { padding: 0 16px; }
  .brand { font-size: 22px; }
  .brand { font-size: 20px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 10px; letter-spacing: 0.08em; }

  .eyebrow { font-size: 18px; letter-spacing: 0.3em; padding-left: 0.3em; }
  .section { padding: 96px 16px; }
  .lead { font-size: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .form-footer { flex-direction: column; align-items: stretch; }
  .contact-form .btn { text-align: center; }
}
