/* ══════════════════════════════════════════
   OzLevel — Site Chrome (shared)
   Header / Nav / Footer / Social / Mobile menu
   Class-only selectors so it overrides any
   page-level element selectors via specificity.
   ══════════════════════════════════════════ */

:root {
  --ozl-earth:      #2C1810;
  --ozl-rust:       #C9501A;
  --ozl-rust-dark:  #A03E12;
  --ozl-ochre:      #D4892A;
  --ozl-sand:       #F5EDD8;
  --ozl-white:      #FFFFFF;
  --ozl-ff-display: 'Playfair Display', Georgia, serif;
  --ozl-ff-body:    'Source Sans 3', system-ui, sans-serif;
}

/* ── HEADER ───────────────────────────────── */
.ozl-header {
  position: relative;
  z-index: 100;
  background: var(--ozl-earth);
  padding: 1.5rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--ozl-ff-body);
}

.ozl-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
}
.ozl-logo__canvas {
  display: block;
  border-radius: 50%;
  flex-shrink: 0;
}
.ozl-logo__wordmark {
  font-family: var(--ozl-ff-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--ozl-white);
  letter-spacing: -0.5px;
  line-height: 1;
}
.ozl-logo__wordmark span { color: var(--ozl-rust); }

.ozl-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.ozl-nav__link {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-family: var(--ozl-ff-body);
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s;
}
.ozl-nav__link:hover,
.ozl-nav__link[aria-current="page"] { color: var(--ozl-ochre); }
.ozl-nav__cta {
  background: var(--ozl-rust);
  color: var(--ozl-white);
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
  font-family: var(--ozl-ff-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
  display: inline-block;
  border: none;
  cursor: pointer;
}
.ozl-nav__cta:hover { background: var(--ozl-rust-dark); }

/* ── HAMBURGER ───────────────────────────── */
.ozl-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: rgba(255,255,255,0.8);
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.ozl-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.ozl-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ozl-hamburger.is-open span:nth-child(2) { opacity: 0; }
.ozl-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ─────────────────────────── */
.ozl-mobile-menu {
  display: none;
  position: fixed;
  top: 88px;
  left: 0;
  right: 0;
  background: var(--ozl-earth);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 3px solid var(--ozl-rust);
  flex-direction: column;
  padding: 1rem 1.5rem 1.5rem;
  gap: 0.75rem;
  z-index: 200;
}
.ozl-mobile-menu.is-open { display: flex; }
.ozl-mobile-menu a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-family: var(--ozl-ff-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.2s;
}
.ozl-mobile-menu a:hover { color: var(--ozl-ochre); }
.ozl-mobile-menu .ozl-mobile-menu__cta {
  background: var(--ozl-rust);
  color: var(--ozl-white);
  padding: 0.85rem 1.2rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  border-bottom: none;
  margin-top: 0.25rem;
}
.ozl-mobile-menu .ozl-mobile-menu__cta:hover { background: var(--ozl-rust-dark); }

@media (max-width: 700px) {
  .ozl-nav { display: none !important; }
  .ozl-hamburger { display: flex; }
  .ozl-header { padding: 1.2rem 1.5rem; }
}

/* ── FOOTER ──────────────────────────────── */
.ozl-footer {
  background: var(--ozl-earth);
  color: rgba(255,255,255,0.55);
  text-align: center;
  padding: 2.5rem 1.5rem;
  font-size: 0.88rem;
  font-family: var(--ozl-ff-body);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.ozl-footer a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  margin: 0 0.75rem;
}
.ozl-footer a:hover { color: var(--ozl-white); }
.ozl-footer__links { margin-bottom: 1rem; }
.ozl-footer__legal {
  font-size: 0.8rem;
  margin-top: 0.75rem;
  color: rgba(255,255,255,0.35);
}

/* ── SOCIAL LINKS ────────────────────────── */
.ozl-social {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 1.5rem 0 2rem;
  background: var(--ozl-earth);
}
.ozl-social a {
  color: rgba(255,255,255,0.55);
  opacity: 1;
  transition: color 0.2s, transform 0.2s;
  display: inline-flex;
}
.ozl-social a:hover,
.ozl-social a:focus-visible {
  color: var(--ozl-rust);
  transform: translateY(-2px);
}
.ozl-social a:focus-visible {
  outline: 2px solid var(--ozl-ochre);
  outline-offset: 4px;
  border-radius: 4px;
}
