:root {
  --bg: #f5f1e8;
  --paper: #fbf8f2;
  --ink: #171717;
  --muted: #5a564f;
  --line: #d8cfc0;
  --accent: #8f2d1f;
  --accent-dark: #6f2016;
  --shadow: rgba(23, 23, 23, 0.08);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: linear-gradient(180deg, #efe7d8 0%, var(--bg) 28%, #f7f3ea 100%);
  line-height: 1.5;
}

a {
  color: inherit;
}

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

.page {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 1rem 0 4rem;
}

.masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0 2rem;
}

.brand {
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: stretch;
  min-height: 70vh;
}

.hero-copy,
.hero-visual,
.panel,
.pricing-card,
.quote,
.case-study,
.clip {
  background: rgba(251, 248, 242, 0.84);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px var(--shadow);
}

.hero-copy {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  color: var(--muted);
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.95;
  font-weight: 600;
}

.hero-lead {
  max-width: 32rem;
  margin: 1.5rem 0 0;
  font-size: 1.2rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.2rem;
  text-decoration: none;
  border: 1px solid var(--ink);
}

.button {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.button:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.button-secondary {
  background: transparent;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 32rem;
  background:
    linear-gradient(180deg, rgba(23, 23, 23, 0.06), rgba(23, 23, 23, 0.28)),
    url("https://images.unsplash.com/photo-1516321497487-e288fb19713f?auto=format&fit=crop&w=1200&q=80") center/cover;
}

.hero-note {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  max-width: 16rem;
  padding: 1rem;
  background: rgba(251, 248, 242, 0.92);
  border: 1px solid var(--line);
  font-size: 0.95rem;
}

.section {
  padding: 5rem 0 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.services,
.testimonials,
.cases,
.clips,
.pricing {
  display: grid;
  gap: 1.25rem;
}

.services {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel,
.quote,
.case-study,
.clip,
.pricing-card {
  padding: 1.5rem;
}

.panel h3,
.case-study h3,
.pricing-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.panel p,
.quote p,
.case-study p,
.clip p,
.pricing-card p,
.pricing-card li {
  color: var(--muted);
}

.testimonials,
.pricing {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cases,
.clips {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quote strong,
.clip strong,
.case-meta,
.price {
  display: block;
  color: var(--ink);
}

.price {
  margin: 1rem 0;
  font-size: 2rem;
}

.pricing-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.cta {
  margin-top: 5rem;
  padding: 2rem;
  background: var(--ink);
  color: #f5f1e8;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.cta h2,
.cta p {
  margin: 0;
}

.cta .button {
  background: #f5f1e8;
  border-color: #f5f1e8;
  color: var(--ink);
}

.footer {
  padding: 2rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .hero,
  .section-heading,
  .services,
  .testimonials,
  .cases,
  .clips,
  .pricing,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    order: 2;
  }

  .hero-visual {
    min-height: 22rem;
  }

  .cta {
    align-items: start;
  }
}

@media (max-width: 640px) {
  .page {
    width: min(calc(100% - 1.25rem), var(--max));
  }

  .masthead {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-copy,
  .panel,
  .quote,
  .case-study,
  .clip,
  .pricing-card,
  .cta {
    padding: 1.25rem;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 14vw, 4rem);
  }
}
