:root {
  --bg: #f5f0e8;
  --text: #2b2b2b;
  --accent: #8b2e2e;
  --border: #4a5240;
  --card-bg: #ece7da;
  --muted: #6b6560;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

/* ── Layout ─────────────────────────────────── */

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.narrow {
  width: min(800px, 92%);
  margin: 0 auto;
}

/* ── Navigation ─────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background-color: rgba(245, 240, 232, 0.97);
  border-bottom-color: var(--border);
  backdrop-filter: blur(6px);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 80px;
  width: min(1120px, 92%);
  margin: 0 auto;
}

.brand {
  font-family: "DM Serif Display", serif;
  font-size: 1.75rem;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

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

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

/* ── Hamburger ──────────────────────────────── */

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 0;
  position: relative;
  z-index: 101;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  margin: 7px auto;
  background-color: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ── Mobile nav overlay ─────────────────────── */

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background-color: var(--bg);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav ul {
  list-style: none;
  text-align: center;
  display: grid;
  gap: 2.5rem;
}

.mobile-nav a {
  font-family: "DM Serif Display", serif;
  font-size: clamp(2.2rem, 7vw, 3.5rem);
  letter-spacing: 0.04em;
  color: var(--text);
  transition: color 0.2s;
}

.mobile-nav a:hover {
  color: var(--accent);
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .mobile-nav {
  opacity: 1;
  pointer-events: auto;
}

body.menu-open .menu-toggle span:first-child {
  transform: translateY(8px) rotate(45deg);
}

body.menu-open .menu-toggle span:last-child {
  transform: translateY(-8px) rotate(-45deg);
}

/* ── Hero ───────────────────────────────────── */

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 8rem 0 6rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}

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

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--border);
  margin-bottom: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background-color: var(--border);
  flex-shrink: 0;
}

h1 {
  font-family: "DM Serif Display", serif;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: 1.06;
  letter-spacing: 0.01em;
  font-weight: 400;
  max-width: 16ch;
  margin-bottom: 1.6rem;
  color: var(--text);
  text-wrap: balance;
}

h2 {
  font-family: "DM Serif Display", serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  font-weight: 400;
  margin-bottom: 1.4rem;
  color: var(--text);
  text-wrap: balance;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.7;
  margin-bottom: 2.4rem;
}

/* ── Scroll cue ─────────────────────────────── */

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 3.5rem;
}

.scroll-line {
  width: 1px;
  height: 44px;
  background-color: var(--border);
  transform-origin: top;
  animation: scroll-drop 2.2s ease-in-out infinite;
}

.scroll-text {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

@keyframes scroll-drop {
  0%, 100% { transform: scaleY(1);   opacity: 0.35; }
  50%       { transform: scaleY(0.4); opacity: 1;    }
}

/* ── CTA button ─────────────────────────────── */

.cta {
  display: inline-block;
  background-color: var(--accent);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 1rem 1.8rem;
  border: 1px solid var(--accent);
  transition: background-color 0.25s, color 0.25s;
}

.cta:hover,
.cta:focus-visible {
  background-color: transparent;
  color: var(--accent);
}

/* ── Shared section styles ──────────────────── */

.section {
  padding: 7rem 0;
}

#audience,
#what-you-get,
#work,
#process,
#pricing,
#contact {
  scroll-margin-top: 82px;
}

.section--alt {
  background-color: var(--card-bg);
}

.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--border);
  margin-bottom: 1rem;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.75;
  margin-bottom: 2.4rem;
}

/* ── Audience tags ──────────────────────────── */

.audience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.4rem;
}

.audience-tags span {
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.5rem 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Deliverables ───────────────────────────── */

.deliverables {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(74, 82, 64, 0.25);
}

.deliverables p {
  border-bottom: 1px solid rgba(74, 82, 64, 0.25);
  padding: 1.1rem 0 1.1rem 1.4rem;
  border-left: 2px solid var(--accent);
  font-size: 1rem;
  color: var(--text);
  margin-left: 0;
}

/* ── Work preview ───────────────────────────── */

.work-preview {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px dashed var(--border);
  background-color: var(--bg);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.work-caption {
  font-style: italic;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ── Process ────────────────────────────────── */

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(74, 82, 64, 0.3);
  margin-top: 1rem;
}

.step {
  padding: 2.4rem 2rem 2.4rem 0;
  border-right: 1px solid rgba(74, 82, 64, 0.3);
}

.step:last-child {
  border-right: none;
  padding-right: 0;
}

.step:not(:first-child) {
  padding-left: 2rem;
}

.step-number {
  display: block;
  font-family: "DM Serif Display", serif;
  font-size: clamp(4rem, 9vw, 7.5rem);
  line-height: 1;
  color: var(--text);
  opacity: 0.1;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.step p {
  font-size: 1rem;
  color: var(--text);
  max-width: 22ch;
  line-height: 1.65;
}

/* ── Pricing ────────────────────────────────── */

.pricing-wrap {
  text-align: center;
}

.pricing-box {
  border: 1px solid var(--border);
  padding: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 5vw, 4rem);
  display: inline-block;
  width: 100%;
  max-width: 560px;
}

.price {
  font-family: "DM Serif Display", serif;
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  display: block;
}

.price-note {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 38ch;
  margin: 0 auto;
  line-height: 1.7;
}

.scarcity {
  margin-top: 1.2rem;
  color: var(--muted);
  font-style: italic;
  font-size: 0.85rem;
  display: block;
}

.pricing-box .cta {
  margin-top: 2rem;
}

/* ── Banner ─────────────────────────────────── */

.banner {
  background-color: var(--text);
  padding: 6rem 0;
}

.banner-content {
  text-align: center;
}

.banner h2 {
  color: var(--bg);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

.banner p {
  color: rgba(245, 240, 232, 0.65);
  font-size: 1rem;
  margin-top: 0.7rem;
}

.banner .cta {
  margin-top: 2rem;
  border-color: var(--bg);
  color: var(--bg);
  background-color: transparent;
}

.banner .cta:hover {
  background-color: var(--bg);
  color: var(--text);
}

/* ── Contact ────────────────────────────────── */

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  padding-top: 1rem;
}

.contact-left h2 {
  margin-bottom: 0.8rem;
}

.contact-left p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 36ch;
  line-height: 1.7;
}

.contact-lines {
  display: grid;
  gap: 1.6rem;
  padding-top: 0.4rem;
}

.contact-lines p {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.contact-lines .contact-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.contact-lines a {
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
  color: var(--text);
  font-size: 1rem;
  letter-spacing: 0;
}

.contact-lines a:hover {
  border-bottom-color: var(--border);
}

/* ── Footer ─────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.6rem 0;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: min(1120px, 92%);
  margin: 0 auto;
}

.footer-brand {
  font-family: "DM Serif Display", serif;
  color: var(--accent);
  letter-spacing: 0.04em;
  font-size: 1.1rem;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ── Reveal animation ───────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive: 768px ──────────────────────── */

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding: 6rem 0 4.5rem;
    min-height: auto;
  }

  .section {
    padding: 5rem 0;
  }

  .process-grid {
    grid-template-columns: 1fr;
    border-top: none;
  }

  .step {
    border-right: none;
    border-top: 1px solid rgba(74, 82, 64, 0.3);
    padding: 2rem 0;
  }

  .step:not(:first-child) {
    padding-left: 0;
  }

  .step p {
    max-width: none;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
}

/* ── Reduced motion ─────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .scroll-line {
    animation: none;
    opacity: 0.5;
  }

  .site-header {
    transition: none;
  }

  .menu-toggle span {
    transition: none;
  }

  .mobile-nav {
    transition: none;
  }
}

/* ── Responsive: 480px ──────────────────────── */

@media (max-width: 480px) {
  .brand {
    font-size: 1.5rem;
  }

  h1 {
    max-width: none;
  }

  .cta {
    width: 100%;
    text-align: center;
  }

  .audience-tags span {
    width: 100%;
    text-align: center;
  }

  .pricing-box {
    padding: 2rem 1.5rem;
  }

  .banner {
    padding: 4.5rem 0;
  }
}
