/* Branchwright Originals — branchwright.com landing
   Single-page typographic site. No framework. Designed to read like a book jacket.
   Palette pulled from Cold Plate cover: aged paper, deep ink, burnished gold. */

:root {
  --ink: #1a1410;
  --paper: #f5ecd9;
  --paper-deep: #ebe0c5;
  --gold: #a87c3a;
  --gold-deep: #7a5727;
  --rule: #b8a577;
  --serif: Georgia, "Hoefler Text", "Iowan Old Style", "Apple Garamond", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--gold-deep); text-decoration: none; border-bottom: 1px solid var(--rule); }
a:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* Masthead */
.masthead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--rule);
  max-width: 1100px;
  margin: 0 auto;
}
.wordmark {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  border: none;
}
.masthead nav a {
  margin-left: 1.5rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1.4fr;
  gap: 3rem;
  align-items: center;
  max-width: 1100px;
  margin: 4rem auto;
  padding: 0 2rem;
}
.hero-cover img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow:
    0 1px 0 rgba(0,0,0,0.1),
    0 10px 30px rgba(0,0,0,0.35),
    0 30px 60px rgba(0,0,0,0.25);
  border-radius: 2px;
}
.hero-copy .eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 1rem 0;
}
.hero-copy h1 {
  font-size: 4rem;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem 0;
  font-weight: 700;
}
.hero-copy .subtitle {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--gold-deep);
  margin: 0 0 1.5rem 0;
}
.hero-copy .lede {
  font-size: 1.05rem;
  margin: 0 0 2rem 0;
  max-width: 38em;
}

.cta { margin: 0 0 0.5rem 0; }
.button-primary {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  padding: 1rem 1.75rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  border: none;
  border-radius: 2px;
  transition: background 0.15s ease;
}
.button-primary:hover {
  background: var(--gold-deep);
  color: var(--paper);
}
.cta-sub {
  font-size: 0.9rem;
  color: var(--gold-deep);
  margin: 0;
  font-style: italic;
}

/* Section shared */
section { max-width: 760px; margin: 5rem auto; padding: 0 2rem; }
section h2 {
  font-size: 1.8rem;
  margin: 0 0 1.5rem 0;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.5rem;
}
section h3 {
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem 0;
  color: var(--gold-deep);
}
section p { margin: 0 0 1.2rem 0; }

/* Email capture */
.email-capture {
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  padding: 2.5rem 2rem;
  border-radius: 3px;
}
.substack-placeholder {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border: 1px dashed var(--rule);
  text-align: center;
  color: var(--gold-deep);
}

/* Footer */
footer {
  max-width: 1100px;
  margin: 4rem auto 2rem auto;
  padding: 2rem;
  border-top: 1px solid var(--rule);
  font-size: 0.85rem;
  color: var(--gold-deep);
  font-family: var(--sans);
}
footer p { margin: 0.4rem 0; }
.build-info { font-family: "SF Mono", "Menlo", "Consolas", monospace; font-size: 0.78rem; }

/* Responsive */
@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 2rem auto;
  }
  .hero-cover {
    max-width: 360px;
    margin: 0 auto;
  }
  .hero-copy h1 { font-size: 2.75rem; }
  .hero-copy { text-align: center; }
  .masthead { padding: 1rem 1.5rem; }
  .masthead nav a { margin-left: 1rem; }
}
