/* Letterbox Capital - Shared Styles
   Performance-first, mobile-first, no bloat */

:root {
  --ink: #0A1A2C;
  --slate: #16283D;
  --paper: #F4F5F1;
  --charcoal: #1B1F23;
  --brass: #9C7A3F;
  --brass-hover: #B08F4F;
  --white: #FFFFFF;
  --muted: #5C6570;
  --border: #e2e4de;

  --font-display: 'Source Serif 4', Georgia, serif;
  --font-body: 'Open Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --max: 1200px;
  --pad: 32px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ========== HEADER ========== */
.header {
  background: var(--ink);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img { height: 36px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.15s;
}

.nav a:hover,
.nav a.active { color: var(--white); }

.nav a.active {
  position: relative;
}
.nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--brass);
}

.btn-nav {
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 2px;
  transition: all 0.15s;
}
.btn-nav:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
  padding: 8px;
}

/* ========== ROLE BAR ========== */
.role-bar {
  background: var(--slate);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 10px var(--pad);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.role-bar-label {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
}

.role-btn {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 6px 14px;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.18);
  background: transparent;
  color: rgba(255,255,255,0.75);
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.role-btn:hover {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.role-btn.active {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--white);
}

/* ========== HERO ========== */
.hero {
  background: var(--ink);
  color: var(--white);
  padding: 88px var(--pad) 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  width: min(52vw, 560px);
  height: min(52vw, 560px);
  background: url('../assets/ohio-white.png') center / contain no-repeat;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 16ch;
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  max-width: 42ch;
  margin-bottom: 36px;
  line-height: 1.55;
}
.hero-sub strong { color: var(--brass); font-weight: 600; }

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* ========== BUTTONS ========== */
.btn-primary {
  display: inline-flex;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 15px 26px;
  border-radius: 2px;
  border-bottom: 3px solid var(--brass);
  transition: background 0.15s;
}
.btn-primary:hover { background: #f0f0ec; }

.btn-brass {
  display: inline-flex;
  background: var(--brass);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 2px;
  transition: background 0.15s;
}
.btn-brass:hover { background: var(--brass-hover); }

.btn-text {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: color 0.15s;
}
.btn-text:hover { color: var(--white); }

/* ========== FACT STRIP ========== */
.fact-strip {
  background: var(--paper);
  border-bottom: 1px solid var(--border);
}

.fact-strip-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.fact-item {
  padding: 26px 20px;
  border-right: 1px solid var(--border);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.fact-item:last-child { border-right: none; }

.fact-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  order: 1;
  margin-bottom: 6px;
}

.fact-value {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  text-align: center;
  order: 2;
}

/* ========== SECTIONS ========== */
.section {
  padding: 80px var(--pad);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 12px;
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  color: var(--ink);
  margin-bottom: 16px;
  max-width: 28ch;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 44px;
  line-height: 1.6;
}

.bg-white { background: var(--white); }
.bg-paper { background: var(--paper); }
.bg-ink { background: var(--ink); color: var(--white); }

/* ========== GRIDS ========== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.card {
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.card-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--brass);
  margin-bottom: 12px;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

.card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

.step {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 28px 24px;
  border-radius: 2px;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--brass);
  margin-bottom: 14px;
  display: block;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

.step p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* ========== CTA BAND ========== */
.cta-band {
  background: var(--ink);
  padding: 68px var(--pad);
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  color: var(--white);
  margin-bottom: 14px;
  max-width: none;
}

.cta-band p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}

/* ========== FAQ ========== */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}

.faq-item h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 70ch;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--slate);
  color: rgba(255,255,255,0.65);
  padding: 44px var(--pad) 36px;
  font-size: 13px;
}

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

.footer-logo img {
  height: 28px;
  opacity: 0.9;
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  gap: 22px;
  margin-bottom: 12px;
}
.footer-links a {
  color: rgba(255,255,255,0.55);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--white); }

.footer-legal {
  max-width: 520px;
  line-height: 1.55;
}
.footer-legal p + p { margin-top: 10px; }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .fact-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .fact-item:nth-child(2) { border-right: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 20px; }

  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: var(--ink);
    padding: 20px var(--pad);
    gap: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-toggle { display: block; }
}

@media (max-width: 600px) {
  :root { --pad: 20px; }
  .hero { padding: 56px var(--pad) 48px; }
  .hero::before {
    width: min(70vw, 320px);
    height: min(70vw, 320px);
    right: -15%;
    opacity: 0.06;
  }
  .section { padding: 56px var(--pad); }
  .fact-strip-inner { grid-template-columns: 1fr; }
  .fact-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .role-bar { gap: 8px; }
  .header-inner { height: 64px; }
  .logo img { height: 30px; }
}

/* ========== GLOSSARY ========== */
.glossary-term {
  color: inherit;
  border-bottom: 1px solid rgba(156, 122, 63, 0.35);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.glossary-term:hover {
  color: var(--brass);
  border-bottom-color: var(--brass);
}

.glossary-list {
  max-width: 800px;
}

.glossary-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.glossary-item:first-child { padding-top: 0; }

.glossary-item h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  scroll-margin-top: 100px;
}

.glossary-item p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 70ch;
}

/* ========== FOOTER (closer to live site) ========== */
.footer {
  background: var(--slate);
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  padding: 0;
}

.footer-top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px var(--pad) 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
}

.footer-brand img {
  height: 28px;
  opacity: 0.95;
  margin-bottom: 18px;
}

.footer-links-col a {
  display: block;
  color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
  transition: color 0.15s;
}
.footer-links-col a:hover { color: var(--white); }

.footer-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 14px;
}

.footer-contact-block p,
.footer-contact-block a {
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
  margin-bottom: 6px;
}
.footer-contact-block a:hover { color: var(--white); }

.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 28px var(--pad) 36px;
  max-width: none;
  width: 100%;
}

.footer-disclaimer-inner {
  max-width: 900px;
  margin: 0 auto;
  font-size: 12px;
  line-height: 1.65;
  color: rgba(255,255,255,0.5);
  text-align: center;
}
.footer-disclaimer-inner p + p {
  margin-top: 12px;
}

.footer-disclaimer-inner p + p { margin-top: 10px; }

@media (max-width: 800px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ========== UPDATES FORM ========== */
.updates-form {
  margin-top: 8px;
}
.updates-form-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.updates-form input {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--white);
  color: var(--charcoal);
  min-width: 200px;
  flex: 1;
  max-width: 280px;
}
.updates-form input:focus {
  outline: none;
  border-color: var(--brass);
}
.updates-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.5;
}

/* Fraud page list */
.fraud-list {
  max-width: 720px;
}
.fraud-list li {
  margin-bottom: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin-left: 1.2em;
}
.fraud-list strong {
  color: var(--ink);
}

.footer-copy {
  margin-top: 16px !important;
  opacity: 0.7;
}


/* ========== MOTION (subtle, GPU-friendly, prefers-reduced-motion) ========== */
@keyframes lb-fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lb-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes lb-ohio-breathe {
  0%, 100% { opacity: 0.06; transform: translateY(-50%) scale(1); }
  50% { opacity: 0.09; transform: translateY(-50%) scale(1.02); }
}

.hero-inner > * {
  animation: lb-fade-up 0.7s ease-out both;
}
.hero-inner > *:nth-child(1) { animation-delay: 0.05s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.15s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.28s; }

.hero::before {
  animation: lb-ohio-breathe 12s ease-in-out infinite;
}

.fact-item {
  animation: lb-fade-up 0.55s ease-out both;
}
.fact-item:nth-child(1) { animation-delay: 0.35s; }
.fact-item:nth-child(2) { animation-delay: 0.45s; }
.fact-item:nth-child(3) { animation-delay: 0.55s; }
.fact-item:nth-child(4) { animation-delay: 0.65s; }

/* Hover lifts — transform only */
.card,
.step {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover,
.step:hover {
  transform: translateY(-3px);
}

.btn-primary,
.btn-brass {
  transition: transform 0.2s ease, background 0.15s ease, box-shadow 0.2s ease;
}
.btn-primary:hover,
.btn-brass:hover {
  transform: translateY(-1px);
}

.nav a {
  transition: color 0.15s ease, opacity 0.15s ease;
}

.role-btn {
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.role-btn:hover {
  transform: translateY(-1px);
}

/* Scroll reveal — activated by tiny JS adding .is-visible */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero-inner > *,
  .fact-item,
  .hero::before {
    animation: none !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .card:hover,
  .step:hover,
  .btn-primary:hover,
  .btn-brass:hover,
  .role-btn:hover {
    transform: none !important;
  }
}

/* Hero: fund name primary, role line as tagline */
.hero h1#heroFundName,
.hero #heroFundName {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 14ch;
  margin-bottom: 14px;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  max-width: 28ch;
  margin-bottom: 20px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.section-label-lg {
  font-size: 24px !important;
  letter-spacing: 0.14em !important;
  font-weight: 600 !important;
}

.footer-disclaimer-inner a.footer-disclosures-link {
  color: var(--brass) !important;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
}
.footer-disclaimer-inner a.footer-disclosures-link:hover {
  color: var(--brass-hover) !important;
}

