/* ============================================================
   Bohm Marketing — Shared Stylesheet
   Used across every page. Page-specific styles live inline
   in each HTML file.
   ============================================================ */

:root {
  --bg: #faf7f2;
  --bg-deep: #f4efe7;
  --ink: #111111;
  --ink-soft: #2a2a2a;
  --ink-mute: #6b6760;
  --line: #1a1a1a14;
  --line-strong: #1a1a1a30;
  --max: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Subtle film grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.9 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 22px var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: rgba(250, 247, 242, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: padding 0.4s ease, border-color 0.4s ease, background 0.4s ease, color 0.4s ease;
  color: var(--ink);
}
.nav.over-dark { color: #fff; background: rgba(0,0,0,0); }
.nav.scrolled {
  padding: 14px var(--gutter);
  border-bottom-color: var(--line);
  background: rgba(250, 247, 242, 0.92);
  color: var(--ink);
}
.nav-left, .nav-right {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 32px);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 500;
}
.nav-left { justify-content: flex-start; }
.nav-right { justify-content: flex-end; }
.nav a { transition: opacity 0.2s; color: inherit; }
.nav a:hover { opacity: 0.6; }

.burger {
  width: 22px;
  height: 14px;
  position: relative;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
  margin-left: 4px;
}
.burger::before, .burger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.4px;
  background: currentColor;
  transition: transform 0.3s ease;
}
.burger::before { top: 3px; }
.burger::after { bottom: 3px; }
.burger:hover::before { transform: translateX(2px); }
.burger:hover::after  { transform: translateX(-2px); }

.nav-logo {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: inherit;
}
.nav-logo .mono { font-family: var(--serif); font-size: 28px; letter-spacing: 0.02em; }
.nav-logo .word {
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.32em;
  font-weight: 500;
  text-transform: uppercase;
}

/* ===== Section primitives ===== */
section { padding: clamp(80px, 11vw, 160px) 0; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 var(--gutter); }

.label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-weight: 500;
  color: var(--ink-mute);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.label::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--ink-mute);
}
.label.center { justify-content: center; }
.label.dark { color: rgba(236, 230, 216, 0.5); }
.label.dark::before { background: rgba(236, 230, 216, 0.5); }

.section-h {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  font-size: clamp(34px, 5.4vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.012em;
  margin-bottom: 28px;
  max-width: 1000px;
}
.section-h em { font-style: italic; }

/* ===== Buttons & links ===== */
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  transition: gap 0.3s, opacity 0.2s;
}
.btn-link:hover { gap: 16px; opacity: 0.8; }
.btn-link.dark { color: #fff; border-bottom-color: rgba(255,255,255,0.85); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 32px;
  background: var(--ink);
  color: var(--bg);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-weight: 500;
  transition: gap 0.3s, background 0.3s;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
}
.btn-primary:hover { gap: 22px; background: #000; color: var(--bg); }
.btn-primary::after { content: "→"; font-size: 14px; }

/* ===== Footer ===== */
footer {
  border-top: 1px solid var(--line-strong);
  padding: 56px var(--gutter) 40px;
  background: var(--bg);
}
.foot-row {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 40px;
  align-items: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--ink-mute);
}
.foot-logo {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  letter-spacing: 0;
  text-transform: none;
}
.foot-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.foot-links a:hover { color: var(--ink); }
.foot-meta { text-align: right; }

/* ===== Reveal on scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===== Generic CTA section (used at bottom of most pages) ===== */
.cta-end {
  text-align: center;
  padding: clamp(100px, 14vw, 200px) var(--gutter);
}
.cta-end h2 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  font-size: clamp(44px, 8vw, 132px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.cta-end h2 em { font-style: italic; }
.cta-end p {
  max-width: 520px;
  margin: 0 auto 56px;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ===== Page hero (generic, pages other than homepage) ===== */
.page-hero {
  padding: 200px var(--gutter) 100px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-hero .label { justify-content: center; margin-bottom: 32px; }
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  font-size: clamp(48px, 8vw, 116px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.page-hero h1 em { font-style: italic; }
.page-hero .lede {
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--ink-soft);
  max-width: 660px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== Mobile nav drawer ===== */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  background: var(--bg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav-drawer a {
  font-family: var(--serif);
  font-size: clamp(32px, 8vw, 56px);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1;
  transition: opacity 0.2s;
}
.nav-drawer a:hover { opacity: 0.5; }

.nav-open .nav-drawer {
  opacity: 1;
  pointer-events: auto;
}
body.nav-open { overflow: hidden; }

/* Burger → X when open */
.nav-open .burger::before { transform: translateY(3px) rotate(45deg); }
.nav-open .burger::after  { transform: translateY(-4px) rotate(-45deg); }

/* ===== Responsive base ===== */
@media (max-width: 880px) {
  .nav-left { gap: 14px; font-size: 10px; letter-spacing: 0.18em; }
  .nav-right a { display: none; }
  .nav-right .burger { display: block; }
  .foot-row { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .foot-meta { text-align: center; }
  .foot-links { justify-content: center; }
}
@media (max-width: 560px) {
  .nav-left a { display: none; }
  .nav-left .burger { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== Shared snippets that appear on multiple pages ===== */

/* Form inputs (used on contact + landing pages) */
.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}
.form-row label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 500;
  color: var(--ink);
}
.form-row label .req { color: var(--ink-mute); margin-left: 4px; }
.form-row input,
.form-row textarea,
.form-row select {
  font-family: var(--sans);
  font-size: 16px;
  padding: 14px 0;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  border-bottom-color: var(--ink);
}
.form-row textarea { min-height: 90px; resize: vertical; }
.form-row.options {
  gap: 12px;
}
.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 4px;
}
.option-pill {
  display: block;
  position: relative;
  cursor: pointer;
}
.option-pill input { position: absolute; opacity: 0; }
.option-pill span {
  display: block;
  padding: 14px 18px;
  border: 1px solid var(--line-strong);
  font-size: 13px;
  text-align: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  color: var(--ink-soft);
  font-weight: 400;
}
.option-pill input:checked + span {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.option-pill:hover span { border-color: var(--ink); }

/* Two-column section layout */
.two-col {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}
.two-col.flip { grid-template-columns: 7fr 5fr; }
@media (max-width: 880px) {
  .two-col, .two-col.flip { grid-template-columns: 1fr; gap: 40px; }
}

/* Stat block */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-strong);
}
.stat {
  padding: 36px 24px;
  border-bottom: 1px solid var(--line-strong);
}
.stat:not(:last-child) { border-right: 1px solid var(--line-strong); }
.stat .num {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.stat .num em { font-style: italic; }
.stat .desc {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--ink-mute);
  font-weight: 500;
}
@media (max-width: 880px) {
  .stat:not(:last-child) { border-right: none; }
}

/* Testimonial block */
.pull-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin: 0 0 28px;
}
.pull-quote-cite {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--ink-mute);
  font-weight: 500;
}

/* Numbered list (process steps) */
.steps {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line-strong);
  align-items: start;
}
.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  color: var(--ink-mute);
  line-height: 1;
}
.step h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.step p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 640px;
}
@media (max-width: 560px) {
  .step { grid-template-columns: 1fr; gap: 8px; }
  .step-num { font-size: 24px; }
}
