/* brianoney.com — Editorial Brand Site
   Palette: Editorial Cream
   Typography: Newsreader (serif) + Inter (sans)
   Stack: Static HTML + Cloudflare Pages
   ---------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,300;0,6..72,400;1,6..72,300;1,6..72,400&family=Inter:wght@300;400;500&display=swap');

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

:root {
  --ink:            #1a1a18;
  --bg:             #ffffff;
  --surface:        #faf8f2;
  --border:         #e8e4d8;
  --accent:         #8a6a1a;
  --muted:          #666660;
  --reverse:        #1a1a18;
  --reverse-accent: #d4a017;
  --max-prose:      720px;
  --max-wide:       1080px;
}

/* ─── BASE ─────────────────────────────── */

html  { font-size: 17px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: 24px; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); margin-bottom: 20px; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); margin-bottom: 16px; }

p { margin-bottom: 1.4rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── LAYOUT ────────────────────────────── */

.container {
  max-width: var(--max-prose);
  margin: 0 auto;
  padding: 0 24px;
}

.container--wide {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }

/* ─── NAVIGATION ────────────────────────── */

nav {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
}

.nav-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.nav-logo:hover { text-decoration: none; color: var(--accent); }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.15s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); text-decoration: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--ink);
}

/* ─── EYEBROW ────────────────────────────── */

.eyebrow {
  font-family: ui-monospace, 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  display: block;
  margin-bottom: 20px;
}

/* ─── HERO ──────────────────────────────── */

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

.hero h1 {
  max-width: 740px;
  margin-bottom: 28px;
}

.hero .sub {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-style: italic;
  font-weight: 300;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.55;
  margin-bottom: 40px;
}

/* ─── BUTTON ────────────────────────────── */

.btn {
  display: inline-block;
  padding: 11px 28px;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.btn:hover {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}

/* ─── BELIEFS BLOCK ─────────────────────── */

.beliefs {
  background: var(--surface);
  border-left: 3px solid var(--accent);
  padding: 36px 40px 36px 32px;
  margin: 56px 0;
}

.beliefs p {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 0.8rem;
}
.beliefs p:last-child { margin-bottom: 0; }

/* ─── PROSE BLOCKS ──────────────────────── */

.prose-block {
  margin-bottom: 40px;
}

.prose-block:last-child { margin-bottom: 0; }

/* ─── REVERSE STRIP (dark band) ─────────── */

.reverse-strip {
  background: var(--reverse);
  color: #f0ebe0;
  padding: 88px 24px;
  text-align: center;
}

.reverse-strip blockquote {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  max-width: 660px;
  margin: 0 auto 24px;
  color: #f0ebe0;
}

.reverse-strip cite {
  font-size: 0.75rem;
  color: var(--reverse-accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-style: normal;
}

/* ─── CARD GRID ─────────────────────────── */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.card {
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: 10px;
  background: var(--surface);
}

.card h3 { margin-bottom: 10px; font-size: 1.2rem; }

.card .tag {
  font-size: 0.72rem;
  font-family: ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}

.card p { font-size: 0.93rem; line-height: 1.6; }

/* ─── ECOSYSTEM STRIP ───────────────────── */

.ecosystem {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ecosystem-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ecosystem .label {
  font-size: 0.75rem;
  color: var(--muted);
  font-family: ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-right: 8px;
}

.ecosystem a {
  font-size: 0.875rem;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}
.ecosystem a:hover { color: var(--accent); }

.ecosystem .sep {
  color: var(--border);
  user-select: none;
}

/* ─── MISSION ───────────────────────────── */

.mission {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  font-style: italic;
  line-height: 1.55;
  border-left: 3px solid var(--accent);
  padding-left: 24px;
  margin: 48px 0;
  color: var(--ink);
}

/* ─── DIVIDER ───────────────────────────── */

hr.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 64px 0;
}

/* ─── FOOTER ────────────────────────────── */

footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  margin-top: 80px;
}

.footer-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-left p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.footer-left a {
  font-size: 0.85rem;
  color: var(--accent);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
}
.footer-links a:hover { color: var(--accent); }

/* ─── PAGE HEADER (inner pages) ──────────── */

.page-header {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.page-header h1 { margin-bottom: 16px; }

.page-header .intro {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-style: italic;
  font-weight: 300;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.5;
}

/* ─── OFFERING (Work With Me) ────────────── */

.offering {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

.offering:last-of-type { border-bottom: none; }

.offering h3 { margin-bottom: 8px; }

.offering .price {
  font-size: 0.8rem;
  font-family: ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}

.offering .link-out {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
}

/* ─── CTA BLOCK ─────────────────────────── */

.cta-block {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 48px 40px;
  border-radius: 10px;
  margin-top: 64px;
  text-align: center;
}

.cta-block p {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--muted);
  margin-bottom: 24px;
}

.cta-block .email {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
}
.cta-block .email:hover { text-decoration: underline; }

/* ─── WRITING ITEMS ─────────────────────── */

.writing-item {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.writing-item h3 { margin-bottom: 8px; font-size: 1.15rem; }
.writing-item .hook { color: var(--muted); font-size: 0.93rem; margin-bottom: 12px; }

/* ─── SIGNAL-OS PAGE ────────────────────── */

.signal-feature {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 40px;
  border-radius: 10px;
  margin: 48px 0;
}

/* ─── FAQ ───────────────────────────────── */

.faq-section {
  margin-top: 48px;
}

.faq-section h2 {
  margin-bottom: 32px;
}

.faq-item {
  border-top: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  font-weight: 500;
  color: var(--ink);
  list-style: none;
  gap: 16px;
  letter-spacing: -0.01em;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover { color: var(--accent); }

.faq-answer {
  padding: 0 0 24px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 640px;
}

.faq-answer p { margin-bottom: 0.9rem; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer a { color: var(--accent); }

/* ─── RESPONSIVE ────────────────────────── */

@media (max-width: 720px) {
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 16px;
  }
  .nav-links.open { display: flex; }
  nav { position: relative; }

  .hero { padding: 56px 0 48px; }
  section { padding: 48px 0; }
  .reverse-strip { padding: 56px 24px; }
  .footer-inner { flex-direction: column; }
  .beliefs { padding: 28px 24px 28px 20px; }
  .cta-block { padding: 32px 24px; }
  .signal-feature { padding: 28px 24px; }
}
