/* ── MARGARET FREEMAN OSHA — GLOBAL STYLES ── */
:root {
  --cream: #f5f0e8;
  --warm-white: #faf8f3;
  --deep-brown: #2c1a0e;
  --sienna: #8b4513;
  --terracotta: #c1684a;
  --gold: #c9a84c;
  --sage: #7a8c6e;
  --charcoal: #3d3530;
  --soft-shadow: rgba(44,26,14,0.12);
}

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

body {
  background-color: var(--cream);
  color: var(--deep-brown);
  font-family: 'Cormorant Garamond', Georgia, serif;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999; opacity: 0.6;
}

/* ── ANNOUNCEMENT BAR ── */
.announcement-bar {
  background: var(--deep-brown); color: var(--cream);
  text-align: center; padding: 0.75rem 2rem;
  position: fixed; top: 0; left: 0; right: 0; z-index: 101; width: 100%;
}
.announcement-bar p { font-family: 'Lato', sans-serif; font-size: 0.78rem; letter-spacing: 0.12em; font-weight: 300; margin: 0; color: var(--cream); }
.announcement-bar a { color: var(--gold); text-decoration: none; font-weight: 400; border-bottom: 1px solid rgba(201,168,76,0.4); margin-left: 0.4rem; transition: border-color 0.2s; cursor: pointer; pointer-events: all; }
.announcement-bar a:hover { border-bottom-color: var(--gold); }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 4rem;
  background: transparent;
  transition: background 0.4s, backdrop-filter 0.4s;
}
nav.scrolled, nav.solid {
  background: rgba(245,240,232,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px var(--soft-shadow);
}
.nav-logo {
  font-family: 'Cinzel', serif; font-size: 1.1rem; font-weight: 600;
  letter-spacing: 0.1em; color: var(--deep-brown); text-decoration: none;
}
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-family: 'Lato', sans-serif; font-weight: 300; font-size: 0.78rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--charcoal); text-decoration: none;
  position: relative; padding-bottom: 2px; transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: var(--terracotta); transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--terracotta); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

/* ── HAMBURGER MENU ── */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--deep-brown); transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(245,240,232,0.98); z-index: 99;
  flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: 'Cinzel', serif; font-size: 1.6rem; font-weight: 400;
  color: var(--deep-brown); text-decoration: none; letter-spacing: 0.08em;
  transition: color 0.2s;
}
.nav-mobile a:hover, .nav-mobile a.active { color: var(--terracotta); }

/* ── BUTTONS ── */
.btn-primary {
  font-family: 'Lato', sans-serif; font-size: 0.78rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--warm-white); background: var(--deep-brown);
  padding: 1rem 2.4rem; border: none; cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  text-decoration: none; display: inline-block;
}
.btn-primary:hover { background: var(--sienna); transform: translateY(-2px); }
.btn-ghost {
  font-family: 'Lato', sans-serif; font-size: 0.78rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--deep-brown); background: transparent;
  padding: 1rem 2.4rem; border: 1px solid var(--deep-brown); cursor: pointer;
  transition: all 0.3s; text-decoration: none; display: inline-block;
}
.btn-ghost:hover { background: var(--deep-brown); color: var(--warm-white); transform: translateY(-2px); }

/* ── SHARED SECTION STYLES ── */
.section-label { font-family: 'Lato', sans-serif; font-size: 0.68rem; font-weight: 400; letter-spacing: 0.35em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 1rem; }
.section-title { font-family: 'Cinzel', serif; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 400; line-height: 1.15; color: var(--deep-brown); margin-bottom: 1.2rem; }
.section-subtitle { font-size: 1.2rem; font-weight: 300; color: var(--charcoal); line-height: 1.7; max-width: 520px; margin-bottom: 3.5rem; }

/* ── PAGE HEADER ── */
.page-header {
  padding: 9rem 8rem 4rem;
  background: var(--warm-white);
  position: relative; overflow: hidden;
}
.page-header::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 40px;
  background: var(--cream); clip-path: ellipse(55% 100% at 50% 100%);
}
.page-header-inner { max-width: 700px; animation: fadeSlideUp 0.9s ease both; }
.page-eyebrow { font-family: 'Lato', sans-serif; font-size: 0.68rem; font-weight: 400; letter-spacing: 0.35em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 1rem; }
.page-title { font-family: 'Cinzel', serif; font-size: clamp(2.8rem, 5vw, 5rem); font-weight: 400; line-height: 1.08; color: var(--deep-brown); margin-bottom: 1.5rem; }
.page-title em { font-style: italic; font-family: 'Cormorant Garamond', serif; color: var(--terracotta); }
.page-desc { font-size: 1.2rem; font-weight: 300; line-height: 1.75; color: var(--charcoal); max-width: 560px; }

/* ── FILTER BAR ── */
.filter-bar { background: var(--cream); padding: 3rem 8rem 2rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.filter-label { font-family: 'Lato', sans-serif; font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--sienna); margin-right: 0.5rem; }
.filter-btn { font-family: 'Lato', sans-serif; font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; background: transparent; color: var(--charcoal); border: 1px solid rgba(44,26,14,0.2); padding: 0.5rem 1.2rem; cursor: pointer; transition: all 0.25s; text-decoration: none; }
.filter-btn:hover, .filter-btn.active { background: var(--deep-brown); color: var(--cream); border-color: var(--deep-brown); }

/* ── SECTION DIVIDER ── */
.section-divider { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 3rem; }
.section-divider h3 { font-family: 'Cinzel', serif; font-size: 1.1rem; font-weight: 400; color: var(--deep-brown); white-space: nowrap; }
.section-divider::after { content: ''; flex: 1; height: 1px; background: rgba(44,26,14,0.15); }

/* ── FOOTER ── */
footer { background: #1a0f08; color: rgba(245,240,232,0.65); padding: 4rem 8rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2rem; }
.footer-brand { width: 100%; }
.footer-brand .nav-logo { color: var(--cream); display: block; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.95rem; line-height: 1.7; font-weight: 300; }
.footer-bottom {
  border-top: 1px solid rgba(245,240,232,0.1); padding-top: 1.5rem;
  font-family: 'Lato', sans-serif; font-size: 0.7rem; letter-spacing: 0.08em;
}
.footer-bottom-links {
  display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; justify-content: flex-end; align-items: center;
}
.footer-bottom a { color: rgba(245,240,232,0.5); text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--cream); }
.footer-copyright { color: rgba(245,240,232,0.3); white-space: nowrap; }

/* ── REVEAL ANIMATION ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── ANIMATIONS ── */
@keyframes fadeSlideUp { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  nav { padding: 1.2rem 2.5rem; }
  .page-header, .filter-bar { padding-left: 3rem; padding-right: 3rem; }
  footer { padding: 3rem 3rem 1.5rem; }
}
@media (max-width: 720px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .page-header { padding: 6rem 1.5rem 3rem; }
  .page-header::after { height: 25px; }
  .filter-bar { padding-left: 1.5rem; padding-right: 1.5rem; }
  footer { padding: 3rem 1.5rem 1.5rem; }
  .footer-bottom-links { justify-content: flex-start; gap: 0.8rem 1.2rem; }
}
