@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Source+Serif+4:opsz,wght@8..60,400;8..60,500&display=swap');

:root {
  --font-head: 'Inter', system-ui, sans-serif;
  --font-body: 'Source Serif 4', Georgia, serif;

  --text-main: #111;
  --text-muted: #555;
  --text-light: #777;

  --bg-soft: #f6f7f8;
}

/* RESET */

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-main);
}

.container {
  max-width: 1200px;
  padding: 0 2rem;
  margin: 0 auto;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #eee;
}

.nav {
  height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.main-nav a {
  margin-left: 1.5rem;
  font-family: var(--font-head);
}

.btn-small {
  padding: 0.4rem 0.8rem;
  border: 1px solid #111;
}

/* HERO VIDEO */

.hero-video {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
  color: #fff;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 6rem 0;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(3rem, 6vw, 3.8rem);
  line-height: 1.1;
}

.hero-lead {
  font-size: 1.25rem;
  max-width: 60ch;
}

/* CONTEXT */

.context {
  background: var(--bg-soft);
  padding: 4rem 0;
}

.context-text {
  max-width: 60ch;
  color: var(--text-muted);
}

/* CASES */

.case {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  margin: 6rem 0;
  align-items: center;
}

.case.reverse {
  grid-template-columns: 1fr 1.1fr;
}

.case img {
  width: 100%;
  border-radius: 6px;
}

/* CONTACT */

#contact {
  padding: 5rem 0;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border: 1px solid #111;
}

.btn-primary {
  background: #111;
  color: #fff;
}

/* FOOTER */

.site-footer {
  border-top: 1px solid #eee;
  padding: 3rem 0;
}

.quiet {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* SCROLL REVEAL */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .case {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: none;
  }
}
