:root {
  --paper: #f7f3ea;
  --paper-strong: #fffaf0;
  --ink: #1f211d;
  --muted: #6d6a61;
  --rule: #d8d0bf;
  --accent: #9d782f;
  --accent-soft: #e9dcc1;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}

.brand {
  font-family: "EB Garamond", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

nav a {
  text-decoration: none;
}

.hero {
  min-height: 72vh;
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--rule);
}

.hero-inner,
.section,
.pitch-sheet {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero-inner {
  padding: 80px 0 96px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "EB Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

h1 {
  max-width: 9ch;
  font-size: clamp(4.2rem, 13vw, 9.5rem);
}

h2 {
  font-size: clamp(2.2rem, 6vw, 4.8rem);
}

.hero-line {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  line-height: 1.35;
}

.section {
  padding: 88px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.case-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 48px;
  align-items: start;
}

.case-copy p,
.narrow p,
.pitch-case p,
.pitch-contact p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 1.08rem;
}

.receipts,
.pitch-receipts {
  margin: 0;
  border-top: 1px solid var(--rule);
}

.receipts div,
.pitch-receipts div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}

dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

dd {
  margin: 0;
  font-family: "EB Garamond", Georgia, serif;
  font-size: 2rem;
  line-height: 1;
}

.craft-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin: 52px 0 0;
  padding: 1px;
  background: var(--rule);
  list-style: none;
}

.craft-list li {
  min-height: 150px;
  padding: 22px;
  background: var(--paper-strong);
  color: var(--muted);
}

.build-note {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.narrow {
  max-width: 760px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

figure {
  margin: 0;
}

.placeholder {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--rule);
  background:
    linear-gradient(135deg, transparent calc(50% - 1px), var(--rule), transparent calc(50% + 1px)),
    linear-gradient(45deg, transparent calc(50% - 1px), var(--rule), transparent calc(50% + 1px)),
    var(--paper-strong);
}

figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact {
  border-top: 1px solid var(--rule);
  padding-bottom: 110px;
}

.pitch-page {
  background: #eee8dc;
}

.pitch-sheet {
  max-width: 8.5in;
  min-height: 11in;
  margin: 32px auto;
  padding: 0.68in;
  background: var(--paper);
  box-shadow: 0 18px 60px rgba(31, 33, 29, 0.16);
}

.pitch-header {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--rule);
}

.pitch-header h1 {
  font-size: 4.6rem;
}

.pitch-header p:last-child {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.35rem;
  line-height: 1.35;
}

.back-link {
  float: right;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.pitch-case,
.pitch-notes,
.pitch-contact {
  padding: 30px 0;
  border-bottom: 1px solid var(--rule);
}

.pitch-case h2,
.pitch-notes h2 {
  margin-bottom: 16px;
  font-size: 2.4rem;
}

.pitch-receipts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: 24px;
  border: 1px solid var(--rule);
  background: var(--rule);
}

.pitch-receipts div {
  display: block;
  padding: 16px;
  border: 0;
  background: var(--paper-strong);
}

.pitch-receipts dd {
  margin-top: 12px;
  font-size: 1.6rem;
}

.pitch-notes ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.pitch-contact {
  border-bottom: 0;
}

@media (max-width: 900px) {
  .case-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .craft-list {
    grid-template-columns: 1fr;
  }

  .craft-list li {
    min-height: auto;
  }

  .pitch-receipts {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 62vh;
  }

  .section {
    padding: 64px 0;
  }

  .receipts div {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .pitch-sheet {
    width: calc(100% - 20px);
    min-height: auto;
    padding: 32px 20px;
  }

  .pitch-header h1 {
    font-size: 3.3rem;
  }

  .pitch-receipts {
    grid-template-columns: 1fr;
  }
}

@media print {
  @page {
    size: Letter;
    margin: 0.45in;
  }

  body,
  .pitch-page {
    background: white;
    color: black;
  }

  .site-header,
  .back-link {
    display: none;
  }

  .pitch-sheet {
    width: auto;
    min-height: auto;
    margin: 0;
    padding: 0;
    box-shadow: none;
  }

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

  .pitch-header,
  .pitch-case,
  .pitch-notes,
  .pitch-contact {
    break-inside: avoid;
  }
}
