/* ============================================================
   LLC Launchpad — Site 2 — editorial-legal
   Cream background, dark plum, large serif display, magazine-style
   two-column body on desktop, drop caps, large serif numerals.
   ============================================================ */

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, ul, ol, li, figure, blockquote { margin: 0; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

/* Tokens */
:root {
  --bg: #fbf8f3;
  --text: #2a1a2e;
  --accent: #7a3b5a;
  --muted: #7a6f6a;
  --surface: #f0e9df;
  --rule: #d8cfc2;
  --heading-font: 'Cormorant Garamond', 'Times New Roman', serif;
  --body-font: 'Source Serif Pro', Georgia, serif;
  --maxw: 1180px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body-font);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Background paper texture via subtle layered gradients */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(122,59,90,0.04), transparent 40%),
    radial-gradient(circle at 88% 82%, rgba(42,26,46,0.04), transparent 45%);
  pointer-events: none;
  z-index: 0;
}

.shell { position: relative; z-index: 1; }

/* Container */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Header / Masthead ---------- */
.masthead {
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
}
.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  max-width: var(--maxw);
  margin: 0 auto;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
}
.brand img { height: 52px; width: auto; }
.brand-name {
  font-family: var(--heading-font);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.brand-name em {
  color: var(--accent);
  font-style: italic;
  font-weight: 500;
}

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav a {
  font-family: var(--heading-font);
  font-size: 17px;
  text-decoration: none;
  color: var(--text);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.nav a:hover { color: var(--accent); }
.nav a.active {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

/* Decorative top issue strip */
.issue-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
  font-family: var(--heading-font);
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  padding: 8px 12px;
}
.issue-strip span { color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 40px;
  border-bottom: 1px solid var(--rule);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-eyebrow {
  font-family: var(--heading-font);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: 20px;
  color: var(--muted);
  font-style: italic;
  max-width: 50ch;
  border-left: 3px solid var(--accent);
  padding-left: 18px;
}
.hero-figure {
  position: relative;
}
.hero-figure img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  filter: sepia(0.06) saturate(0.95);
}
.hero-figure::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--accent);
  z-index: -1;
}
.hero-figcap {
  font-family: var(--heading-font);
  font-style: italic;
  color: var(--muted);
  font-size: 14px;
  margin-top: 12px;
  letter-spacing: 0.04em;
}

/* ---------- Page meta strip (between hero and body) ---------- */
.byline {
  display: flex;
  justify-content: space-between;
  font-family: var(--heading-font);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--rule);
  padding: 18px 0;
  margin-bottom: 44px;
}
.byline span strong { color: var(--accent); font-weight: 600; }

/* ---------- Main body / magazine columns ---------- */
.article {
  padding: 0 0 80px;
}
.section {
  margin-bottom: 56px;
}
.section-num {
  font-family: var(--heading-font);
  font-style: italic;
  color: var(--accent);
  font-size: 64px;
  line-height: 1;
  float: left;
  margin: 4px 18px 0 0;
}
.section h2 {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin-bottom: 8px;
}
.section h2 em { font-style: italic; color: var(--accent); }
.section .kicker {
  display: block;
  font-family: var(--heading-font);
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.section h3 {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 24px;
  margin: 32px 0 8px;
  color: var(--text);
}
.rule {
  display: block;
  width: 64px;
  height: 1px;
  background: var(--accent);
  margin: 14px 0 24px;
}
.body-cols {
  column-count: 2;
  column-gap: 44px;
  column-rule: 1px solid var(--rule);
}
.body-cols p {
  margin: 0 0 16px;
  break-inside: avoid-column;
  hyphens: auto;
}
.body-single p {
  margin: 0 0 18px;
  max-width: 70ch;
}
/* Drop cap on first paragraph after a "drop" marker */
.dropcap::first-letter {
  font-family: var(--heading-font);
  font-weight: 500;
  color: var(--accent);
  float: left;
  font-size: 78px;
  line-height: 0.85;
  padding: 8px 12px 0 0;
  margin-top: 4px;
}

a.affiliate-link {
  color: var(--accent);
  text-decoration: none;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  font-style: italic;
  font-weight: 600;
  padding-bottom: 1px;
}
a.affiliate-link:hover { color: var(--text); }

a.internal-link {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: 3px;
}
a.internal-link:hover { text-decoration-color: var(--accent); }

/* Pull quote */
.pullquote {
  font-family: var(--heading-font);
  font-style: italic;
  font-size: 28px;
  line-height: 1.3;
  color: var(--accent);
  border-top: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  padding: 28px 8px;
  margin: 36px 0;
  text-align: center;
  break-inside: avoid;
}

/* Inline figures inside the article */
.inline-figure {
  margin: 36px 0;
  break-inside: avoid;
}
.inline-figure img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}
.inline-figure figcaption {
  font-family: var(--heading-font);
  font-style: italic;
  color: var(--muted);
  font-size: 14px;
  margin-top: 10px;
  border-left: 2px solid var(--accent);
  padding-left: 12px;
  letter-spacing: 0.04em;
}

/* List style */
.section ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
.section ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
}
.section ul li::before {
  content: "§";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: var(--heading-font);
  font-weight: 600;
}

/* Sidenote callout (used on support pages) */
.sidenote {
  background: var(--surface);
  border-left: 4px solid var(--accent);
  padding: 22px 24px;
  margin: 28px 0;
  font-style: italic;
  color: var(--text);
}
.sidenote strong {
  font-style: normal;
  font-family: var(--heading-font);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 13px;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}

/* ---------- Footer ---------- */
.colophon {
  background: var(--surface);
  border-top: 4px double var(--accent);
  padding: 56px 0 36px;
}
.colophon-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}
.colophon-brand {
  font-family: var(--heading-font);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}
.colophon-brand em { color: var(--accent); font-style: italic; }
.colophon-tag {
  font-style: italic;
  color: var(--muted);
  max-width: 50ch;
  margin-bottom: 18px;
}
.colophon-copy {
  font-family: var(--heading-font);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.colophon h4 {
  font-family: var(--heading-font);
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 600;
}
.colophon ul {
  list-style: none;
}
.colophon ul li { margin-bottom: 10px; }
.colophon ul li a {
  font-family: var(--heading-font);
  font-size: 18px;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid transparent;
}
.colophon ul li a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .body-cols { column-count: 1; column-rule: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-figure img { height: 360px; }
}
@media (max-width: 768px) {
  .masthead-inner { flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px 22px; }
  .nav {
    width: 100%;
    overflow-x: auto;
    gap: 18px;
    padding-bottom: 6px;
  }
  .nav a { font-size: 14px; white-space: nowrap; }
  .colophon-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 40px 0 28px; }
  .byline { flex-direction: column; gap: 4px; }
  .container { padding: 0 22px; }
}
@media (max-width: 480px) {
  body { font-size: 17px; }
  .section-num { font-size: 48px; }
  .pullquote { font-size: 22px; }
  .hero-figure img { height: 260px; }
  .colophon-brand { font-size: 26px; }
}
