/* BridgeScope — shared styles (simplified) */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600;9..144,700;9..144,800&family=Inter+Tight:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --cream: #F6EFE6;
  --cream-soft: #FBF7F1;
  --cream-deep: #EFE6D9;
  --ink: #2A2520;
  --ink-2: #5C524A;
  --ink-3: #8A7F74;
  --line: #E4D9C9;
  --accent: #D97757;
  --accent-deep: #B95C3F;
  --accent-soft: #F1C7B4;
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { min-height: 100vh; }

::selection { background: var(--accent); color: var(--cream-soft); }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 640px) { .container { padding: 0 20px; } }

/* ── Simple header ───────────────────── */
.header {
  padding: 64px 0 32px;
  text-align: left;
}
@media (max-width: 640px) { .header { padding: 40px 0 24px; } }

.wordmark {
  font-family: 'Outfit', 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: clamp(44px, 7vw, 72px);
  letter-spacing: -0.035em;
  color: var(--accent);
  line-height: 1;
  margin: 0;
}
.wordmark a { color: var(--accent); }

.tagline {
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--ink);
  margin: 14px 0 0;
  font-weight: 400;
  letter-spacing: -0.005em;
}

/* Nav bar beneath wordmark */
.topnav {
  margin-top: 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  display: flex;
  gap: 48px;
  align-items: center;
  flex-wrap: wrap;
}
@media (max-width: 640px) { .topnav { gap: 24px; padding: 14px 0; } }
.topnav a {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
  transition: color .15s ease;
}
.topnav a:hover { color: var(--accent); }
.topnav a[aria-current="page"] { color: var(--accent); }

/* ── Type ─────────────────────────────── */
h1, h2, h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
  margin: 0;
}
.h-page {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.025em;
}
.h-section {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.italic { font-style: italic; font-weight: 400; }
.accent { color: var(--accent); }

p { margin: 0; color: var(--ink-2); }
.lede {
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 58ch;
}

/* ── Buttons ─────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .2s ease;
  text-decoration: none;
}
.btn-primary { background: var(--ink); color: var(--cream-soft); }
.btn-primary:hover { background: var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-accent { background: var(--accent); color: var(--cream-soft); }
.btn-accent:hover { background: var(--accent-deep); }
.btn .arrow { width: 14px; height: 14px; transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ── Sections ────────────────────────── */
section { padding: 64px 0; }
@media (max-width: 640px) { section { padding: 48px 0; } }

.section-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  margin-bottom: 16px;
  display: block;
}

/* ── Footer / CTA ───────────────────── */
.cta-block {
  background: var(--ink);
  color: var(--cream-soft);
  padding: 64px;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  margin-top: 32px;
}
@media (max-width: 640px) { .cta-block { padding: 48px 28px; } }
.cta-block::before {
  content: "";
  position: absolute;
  right: -100px; top: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(217,119,87,0.25), transparent 70%);
  pointer-events: none;
}
.cta-block h2 {
  color: var(--cream-soft);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.cta-block h2 .italic { color: var(--accent); font-style: italic; }
.cta-block p { color: rgba(251, 247, 241, 0.65); max-width: 44ch; margin-top: 20px; }
.cta-block .actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.cta-block .btn-primary { background: var(--accent); border: none; }
.cta-block .btn-primary:hover { background: var(--accent-deep); }
.cta-block .btn-ghost { border-color: rgba(251,247,241,0.25); color: var(--cream-soft); }
.cta-block .btn-ghost:hover { border-color: var(--cream-soft); }

.footer {
  padding: 40px 0 56px;
  margin-top: 56px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-3);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--ink-2); transition: color .15s ease; }
.footer-links a:hover { color: var(--accent); }

/* ── Practice cards (kept from before) ── */
.practices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 640px) { .practices { grid-template-columns: 1fr; } }
.practice {
  background: var(--cream-soft);
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 220px;
  transition: background .25s ease;
}
.practice:hover { background: var(--cream); }
.practice .num {
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ink-3);
}
.practice h3 {
  font-family: 'Fraunces', serif;
  font-size: 28px; font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1;
}
.practice p { font-size: 15px; max-width: 38ch; }

/* Generic divider blocks */
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ── Form fields ────────────────────── */
.field {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 20px;
}
.field label {
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500;
}
.field input, .field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease;
  border-radius: 0;
}
.field input:focus, .field textarea:focus { border-bottom-color: var(--accent); }
.field textarea { resize: vertical; min-height: 100px; }

/* ── Reveal ─────────────────────────── */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
