/* base.css: shared across every page. Reset, typography, nav, buttons,
   section base, contact form, footer, shared animations. Needs tokens.css first. */

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--mono);
  background: var(--white);
  color: var(--navy);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 48px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--navy-10);
  transition: all 0.3s ease;
}
nav.scrolled { padding: 14px 48px; }

.nav-logo img { height: 44px; display: block; }

.nav-links {
  display: flex; align-items: center; gap: 40px;
  list-style: none;
}
.nav-links a {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-60);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--navy); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--navy);
  border: 2px solid var(--navy);
  padding: 10px 22px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s;
}
.nav-cta:hover { background: transparent; color: var(--navy); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--white);
  background: var(--navy);
  padding: 16px 32px;
  border-radius: 4px;
  text-decoration: none;
  border: 2px solid var(--navy);
  transition: all 0.2s;
}
.btn-primary:hover { background: transparent; color: var(--navy); }

/* ── SECTION BASE ── */
section { padding: 120px 48px; }

.section-eyebrow {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--navy-60);
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.section-eyebrow::before {
  content: '';
  display: block; width: 24px; height: 1px;
  background: currentColor;
}

.section-headline {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 15px; font-weight: 400;
  line-height: 1.7; color: var(--navy-60);
  max-width: 560px;
}

/* ── LET'S TALK ── */
.contact-section {
  background: var(--white);
  text-align: center;
  padding: 140px 48px;
}

.contact-section .section-eyebrow {
  justify-content: center;
  color: var(--navy-60);
}
.contact-section .section-eyebrow::before { background: var(--navy-20); }

.contact-headline {
  font-size: clamp(48px, 7vw, 100px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--navy);
  margin-bottom: 24px;
}

.contact-sub {
  font-size: 14px; line-height: 1.7;
  color: var(--navy-60);
  max-width: 420px;
  margin: 0 auto 56px;
}

.contact-form {
  max-width: 540px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 16px;
}

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

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

.form-field label {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--navy-60);
  text-align: left;
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--mono);
  font-size: 13px;
  background: rgba(7,11,51,0.04);
  border: 1px solid var(--navy-20);
  border-radius: 4px;
  padding: 14px 16px;
  color: var(--navy);
  outline: none;
  transition: border-color 0.2s;
  resize: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(7,11,51,0.3); }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--navy);
}

.form-field select { cursor: pointer; }
.form-field select option { background: var(--white); color: var(--navy); }

.form-submit {
  font-family: var(--mono);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--white);
  background: var(--navy);
  border: 2px solid var(--navy);
  padding: 18px 40px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 8px;
}
.form-submit:hover {
  background: transparent;
  color: var(--navy);
}

.contact-alt {
  margin-top: 32px;
  font-size: 12px; color: var(--navy-60);
}
.contact-alt a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--navy-20);
  transition: color 0.2s;
}
.contact-alt a:hover { color: var(--navy); border-bottom-color: var(--navy); }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 40px 48px;
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}

.footer-logo img { height: 28px; opacity: 0.8; filter: brightness(0) invert(1); }

.footer-links {
  display: flex; gap: 32px; list-style: none;
}
.footer-links a {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.footer-copy {
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scrollLine {
  0% { left: -100%; }
  50% { left: 0; }
  100% { left: 100%; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
@keyframes growBar {
  from { transform: scaleY(0); transform-origin: bottom; }
  to { transform: scaleY(1); }
}

/* Reveal on scroll */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── RESPONSIVE (shared) ── */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  .nav-links { display: none; }
  section { padding: 80px 24px; }
  .form-row { grid-template-columns: 1fr; }
  footer { flex-direction: column; align-items: flex-start; }
}
