/* =============================================
   HORIZON FOUNDATION — Styles
   Template 25 · Non-Profit
   Palette: Coal + Parchment + Warm Clay
   Fonts: Instrument Sans (display) + Libre Baskerville (body)
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  --oh-coal:          #333638;
  --oh-iron:          #565a5e;
  --oh-steel:         #858a90;
  --oh-silver:        #c0c2c4;
  --oh-fog:           #e9e8e5;
  --oh-parchment:     #f6f4f1;
  --oh-white:         #ffffff;
  --oh-clay:          #b07a5b;
  --oh-clay-deep:     #956548;
  --oh-clay-glow:     rgba(176, 122, 91, .08);

  --oh-font-display:  'Instrument Sans', -apple-system, sans-serif;
  --oh-font-body:     'Libre Baskerville', Georgia, serif;

  --oh-nav-height:    68px;
  --oh-banner-height: 34px;
  --oh-radius:        10px;
  --oh-radius-lg:     16px;
  --oh-shadow:        0 2px 16px rgba(0, 0, 0, .04);
  --oh-shadow-lg:     0 10px 40px rgba(0, 0, 0, .07);
  --oh-transition:    .3s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--oh-font-body);
  color: var(--oh-coal);
  background: var(--oh-white);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--oh-font-display);
  line-height: 1.2;
  font-weight: 600;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.oh-container {
  width: 88%;
  max-width: 1100px;
  margin: 0 auto;
}

/* ---------- Demo Banner ---------- */
.oh-demo-banner {
  background: var(--oh-coal);
  color: var(--oh-silver);
  text-align: center;
  padding: 8px 16px;
  font-family: var(--oh-font-display);
  font-size: .76rem;
  font-weight: 500;
  height: var(--oh-banner-height);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  letter-spacing: .3px;
}

.oh-demo-banner a {
  color: var(--oh-clay);
  text-decoration: underline;
}

/* ---------- Navigation ---------- */
.oh-nav {
  position: fixed;
  top: var(--oh-banner-height);
  left: 0;
  width: 100%;
  height: var(--oh-nav-height);
  z-index: 960;
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--oh-transition), border-color var(--oh-transition), box-shadow var(--oh-transition);
}

/* Transparent state — over hero */
.oh-nav .oh-logo { color: var(--oh-white); }
.oh-nav .oh-nav-links a { color: rgba(255, 255, 255, .75); }
.oh-nav .oh-nav-links a:hover { color: var(--oh-white); }
.oh-nav .oh-nav-cta { border-color: rgba(255, 255, 255, .35); color: var(--oh-white) !important; }
.oh-nav .oh-nav-cta:hover { background: var(--oh-white) !important; color: var(--oh-coal) !important; border-color: var(--oh-white); }
.oh-nav .oh-hamburger span { background: var(--oh-white); }

/* Scrolled state */
.oh-nav.scrolled {
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(16px);
  border-color: var(--oh-fog);
  box-shadow: 0 1px 10px rgba(0, 0, 0, .04);
}

.oh-nav.scrolled .oh-logo { color: var(--oh-coal); }
.oh-nav.scrolled .oh-nav-links a { color: var(--oh-steel); }
.oh-nav.scrolled .oh-nav-links a:hover { color: var(--oh-coal); }
.oh-nav.scrolled .oh-nav-cta { border-color: var(--oh-coal) !important; color: var(--oh-coal) !important; }
.oh-nav.scrolled .oh-nav-cta:hover { background: var(--oh-coal) !important; color: var(--oh-white) !important; }
.oh-nav.scrolled .oh-hamburger span { background: var(--oh-coal); }

.oh-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 88%;
  max-width: 1100px;
  margin: 0 auto;
}

.oh-logo {
  font-family: var(--oh-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 9px;
  letter-spacing: -.2px;
  transition: color var(--oh-transition);
}

.oh-logo-mark {
  width: 28px;
  height: 28px;
  border: 2px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.oh-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.oh-nav-links a {
  font-family: var(--oh-font-display);
  font-size: .82rem;
  font-weight: 500;
  transition: color var(--oh-transition);
  letter-spacing: .2px;
}

.oh-nav-cta {
  font-weight: 600 !important;
  border: 1.5px solid;
  padding: 8px 22px;
  border-radius: 50px;
  transition: all var(--oh-transition) !important;
}

/* Hamburger */
.oh-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 970;
}

.oh-hamburger span {
  width: 22px;
  height: 1.5px;
  border-radius: 2px;
  transition: var(--oh-transition);
}

.oh-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.oh-hamburger.active span:nth-child(2) { opacity: 0; }
.oh-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

/* Mobile Menu */
.oh-mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 80%; max-width: 320px;
  height: 100vh;
  background: var(--oh-white);
  z-index: 950;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: 48px 36px;
  transition: right var(--oh-transition);
  box-shadow: -4px 0 24px rgba(0, 0, 0, .05);
}

.oh-mobile-menu.open { right: 0; }

.oh-mobile-menu a {
  font-family: var(--oh-font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--oh-coal);
}

.oh-mobile-menu a:hover { color: var(--oh-clay-deep); }
.oh-mobile-menu hr { border: none; border-top: 1px solid var(--oh-fog); }

.oh-mobile-cta {
  border: 1.5px solid var(--oh-coal);
  padding: 14px 28px;
  border-radius: 50px;
  text-align: center;
  font-weight: 600 !important;
}

/* ---------- Hero — Full Width ---------- */
.oh-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: calc(var(--oh-banner-height) + var(--oh-nav-height));
}

.oh-hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?w=1600&q=80&auto=format&fit=crop') center/cover no-repeat;
}

.oh-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(51, 54, 56, .50) 0%,
    rgba(51, 54, 56, .38) 40%,
    rgba(51, 54, 56, .58) 100%
  );
}

.oh-hero-content {
  position: relative;
  z-index: 1;
  max-width: 660px;
  padding: 40px 20px;
}

.oh-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--oh-font-display);
  font-size: .7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .55);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 22px;
}

.oh-hero-label::before,
.oh-hero-label::after {
  content: '';
  width: 20px;
  height: 1px;
  background: rgba(255, 255, 255, .25);
}

.oh-hero-content h1 {
  font-size: clamp(2.5rem, 5.5vw, 3.6rem);
  font-weight: 700;
  color: var(--oh-white);
  line-height: 1.1;
  margin-bottom: 22px;
  letter-spacing: -.5px;
}

.oh-hero-content h1 em {
  font-family: var(--oh-font-body);
  font-style: italic;
  font-weight: 400;
}

.oh-hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .7);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.85;
}

.oh-hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.oh-btn-clay {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--oh-clay);
  color: var(--oh-white);
  font-family: var(--oh-font-display);
  font-size: .88rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  transition: all var(--oh-transition);
  letter-spacing: .2px;
}

.oh-btn-clay:hover {
  background: var(--oh-clay-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(176, 122, 91, .25);
}

.oh-btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--oh-white);
  font-family: var(--oh-font-display);
  font-size: .88rem;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: 50px;
  border: 1.5px solid rgba(255, 255, 255, .3);
  transition: all var(--oh-transition);
}

.oh-btn-outline-white:hover {
  border-color: var(--oh-white);
  background: rgba(255, 255, 255, .08);
  transform: translateY(-2px);
}

/* ---------- Section Defaults ---------- */
.oh-section { padding: 96px 0; }

.oh-section-header {
  text-align: center;
  margin-bottom: 56px;
}

.oh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--oh-font-display);
  font-size: .7rem;
  font-weight: 600;
  color: var(--oh-steel);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.oh-eyebrow::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--oh-silver);
}

.oh-section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--oh-coal);
  margin-bottom: 14px;
  letter-spacing: -.4px;
}

.oh-section-header h2 em {
  font-family: var(--oh-font-body);
  font-style: italic;
  font-weight: 400;
  color: var(--oh-clay-deep);
}

.oh-section-header p {
  font-size: 1rem;
  color: var(--oh-steel);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ---------- Mission ---------- */
.oh-mission {
  background: var(--oh-parchment);
  border-bottom: 1px solid var(--oh-fog);
}

.oh-mission-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.oh-mission-rule {
  width: 36px;
  height: 1px;
  background: var(--oh-clay);
  margin: 0 auto 28px;
}

.oh-mission h2 {
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  color: var(--oh-coal);
  margin-bottom: 18px;
  letter-spacing: -.2px;
}

.oh-mission p {
  font-size: 1.05rem;
  color: var(--oh-iron);
  line-height: 1.9;
}

/* ---------- Impact Stats ---------- */
.oh-stats {
  background: var(--oh-white);
  border-bottom: 1px solid var(--oh-fog);
}

.oh-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.oh-stat-item {
  text-align: center;
  padding: 48px 24px;
  border-right: 1px solid var(--oh-fog);
  transition: background var(--oh-transition);
}

.oh-stat-item:last-child { border-right: none; }
.oh-stat-item:hover { background: var(--oh-parchment); }

.oh-stat-number {
  font-family: var(--oh-font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--oh-coal);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -.5px;
}

.oh-stat-number span { color: var(--oh-clay); }

.oh-stat-label {
  font-family: var(--oh-font-display);
  font-size: .72rem;
  font-weight: 600;
  color: var(--oh-steel);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ---------- Programs ---------- */
.oh-programs {
  background: var(--oh-parchment);
  border-bottom: 1px solid var(--oh-fog);
}

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

.oh-program-card {
  background: var(--oh-white);
  border: 1px solid var(--oh-fog);
  border-radius: var(--oh-radius-lg);
  overflow: hidden;
  transition: all var(--oh-transition);
}

.oh-program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--oh-shadow-lg);
  border-color: transparent;
}

.oh-program-thumb {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.oh-program-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.oh-program-card:hover .oh-program-thumb img { transform: scale(1.04); }

.oh-program-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--oh-coal);
  color: var(--oh-white);
  font-family: var(--oh-font-display);
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 12px;
  border-radius: 50px;
}

.oh-program-body {
  padding: 28px;
}

.oh-program-body h3 {
  font-family: var(--oh-font-display);
  font-size: 1.1rem;
  color: var(--oh-coal);
  margin-bottom: 10px;
  font-weight: 600;
}

.oh-program-body p {
  font-size: .92rem;
  color: var(--oh-steel);
  line-height: 1.7;
  margin-bottom: 20px;
}

.oh-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--oh-font-display);
  font-size: .84rem;
  font-weight: 600;
  color: var(--oh-clay-deep);
  transition: gap var(--oh-transition);
}

.oh-link-arrow:hover { gap: 10px; }

/* ---------- Featured Story ---------- */
.oh-story {
  background: var(--oh-white);
}

.oh-story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.oh-story-image {
  border-radius: var(--oh-radius-lg);
  overflow: hidden;
  box-shadow: var(--oh-shadow-lg);
}

.oh-story-image img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.oh-story-text .oh-eyebrow { display: flex; }

.oh-story-text h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--oh-coal);
  margin-bottom: 16px;
  letter-spacing: -.3px;
}

.oh-story-text blockquote {
  font-family: var(--oh-font-body);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--oh-iron);
  line-height: 1.85;
  margin-bottom: 20px;
  padding-left: 20px;
  border-left: 2px solid var(--oh-clay);
}

.oh-story-attribution {
  font-family: var(--oh-font-display);
  font-size: .84rem;
  font-weight: 600;
  color: var(--oh-coal);
  margin-bottom: 4px;
}

.oh-story-role {
  font-family: var(--oh-font-display);
  font-size: .76rem;
  font-weight: 500;
  color: var(--oh-steel);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- Get Involved ---------- */
.oh-involved {
  background: var(--oh-parchment);
  border-top: 1px solid var(--oh-fog);
  border-bottom: 1px solid var(--oh-fog);
}

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

.oh-involved-card {
  background: var(--oh-white);
  border: 1px solid var(--oh-fog);
  border-radius: var(--oh-radius-lg);
  padding: 40px 28px;
  text-align: center;
  transition: all var(--oh-transition);
  position: relative;
}

.oh-involved-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--oh-shadow-lg);
  border-color: transparent;
}

.oh-involved-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--oh-clay);
  border-radius: 0 0 3px 3px;
  opacity: 0;
  transition: opacity var(--oh-transition);
}

.oh-involved-card:hover::before { opacity: 1; }

.oh-involved-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: var(--oh-clay-glow);
  border: 1px solid rgba(176, 122, 91, .15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--oh-clay-deep);
  transition: all var(--oh-transition);
}

.oh-involved-card:hover .oh-involved-icon {
  background: var(--oh-clay);
  border-color: var(--oh-clay);
  color: var(--oh-white);
}

.oh-involved-card h3 {
  font-size: 1.1rem;
  color: var(--oh-coal);
  margin-bottom: 10px;
}

.oh-involved-card p {
  font-size: .92rem;
  color: var(--oh-steel);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ---------- Partners ---------- */
.oh-partners {
  background: var(--oh-white);
}

.oh-partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  padding-top: 20px;
}

.oh-partner-logo {
  font-family: var(--oh-font-display);
  font-size: .92rem;
  font-weight: 700;
  color: var(--oh-silver);
  letter-spacing: .5px;
  padding: 14px 28px;
  border: 1px solid var(--oh-fog);
  border-radius: var(--oh-radius);
  transition: all var(--oh-transition);
}

.oh-partner-logo:hover {
  color: var(--oh-coal);
  border-color: var(--oh-silver);
}

/* ---------- CTA ---------- */
.oh-cta {
  background: var(--oh-coal);
  padding: 88px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.oh-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(176, 122, 91, .06) 0%, transparent 60%);
}

.oh-cta-inner { position: relative; z-index: 1; }

.oh-cta h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  color: var(--oh-white);
  margin-bottom: 14px;
  letter-spacing: -.4px;
}

.oh-cta h2 em {
  font-family: var(--oh-font-body);
  font-style: italic;
  font-weight: 400;
  color: var(--oh-clay);
}

.oh-cta p {
  font-size: 1rem;
  color: var(--oh-steel);
  max-width: 440px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

/* ---------- Footer ---------- */
.oh-footer {
  background: var(--oh-parchment);
  padding: 60px 0 24px;
  border-top: 1px solid var(--oh-fog);
}

.oh-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 48px;
}

.oh-footer-brand .oh-logo {
  margin-bottom: 14px;
  color: var(--oh-coal);
}

.oh-footer-brand p {
  font-size: .88rem;
  color: var(--oh-steel);
  line-height: 1.7;
  max-width: 260px;
}

.oh-footer-col h4 {
  font-family: var(--oh-font-display);
  font-size: .68rem;
  font-weight: 700;
  color: var(--oh-steel);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 18px;
}

.oh-footer-col ul li { margin-bottom: 10px; }

.oh-footer-col ul li a {
  font-family: var(--oh-font-display);
  font-size: .84rem;
  font-weight: 400;
  color: var(--oh-steel);
  transition: color var(--oh-transition);
}

.oh-footer-col ul li a:hover { color: var(--oh-coal); }

.oh-footer-social {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.oh-footer-social a {
  width: 32px;
  height: 32px;
  border: 1px solid var(--oh-fog);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--oh-steel);
  transition: all var(--oh-transition);
}

.oh-footer-social a:hover {
  border-color: var(--oh-coal);
  color: var(--oh-coal);
}

.oh-footer-bottom {
  border-top: 1px solid var(--oh-fog);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--oh-font-display);
  font-size: .76rem;
  color: var(--oh-silver);
  letter-spacing: .3px;
}

.oh-footer-bottom a {
  color: var(--oh-silver);
  transition: color var(--oh-transition);
}

.oh-footer-bottom a:hover { color: var(--oh-coal); }

/* ---------- Scroll Reveal ---------- */
.oh-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease;
}

.oh-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .oh-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .oh-stats-grid .oh-stat-item:nth-child(2) { border-right: none; }
  .oh-stats-grid .oh-stat-item:nth-child(3),
  .oh-stats-grid .oh-stat-item:nth-child(4) { border-top: 1px solid var(--oh-fog); }
  .oh-story-inner { grid-template-columns: 1fr; gap: 40px; }
  .oh-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .oh-hamburger { display: flex; }
  .oh-nav-links { display: none; }
  .oh-programs-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .oh-involved-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .oh-partners-logos { gap: 16px; }
  .oh-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .oh-footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
}

@media (max-width: 480px) {
  .oh-section { padding: 68px 0; }
  .oh-hero-content h1 { font-size: 2.2rem; }
}
