:root {
  --green: #006b5d;
  --dark: #1a1a1a;
  --cream: #f2ede6;
  --muted: #999;
}

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

body {
  font-family: 'Quicksand', sans-serif;
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
  line-height: 1.5;
}

/* ── HEADER & LOGO ── */
.header {
  height: 90px;
  display: flex;
  align-items: center;
  padding: 0 6%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: height 0.3s ease;
}
.header.scrolled { height: 70px; }
.logo { display: inline-block; line-height: 0; -webkit-tap-highlight-color: transparent; }
.logo img { height: 40px; width: auto; display: block; }

/* ── HAMBURGER ── */
.hamburger {
  position: fixed;
  right: 20px; top: 20px;
  width: 48px; height: 48px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; cursor: pointer; z-index: 10002;
  transition: background 0.3s ease;
  background: none; border: none; padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.hamburger span {
  display: block; height: 2px; border-radius: 2px;
  background: var(--dark);
  transition: all .35s cubic-bezier(.76,0,.24,1);
}
.hamburger span:nth-child(1) { width: 24px; }
.hamburger span:nth-child(2) { width: 16px; }
.hamburger span:nth-child(3) { width: 24px; }

.hamburger.active span { background: #fff !important; }
.hamburger.active span:nth-child(1) { width: 22px; transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { width: 0; opacity: 0; }
.hamburger.active span:nth-child(3) { width: 22px; transform: translateY(-7px) rotate(-45deg); }

/* ── MENU OVERLAY ── */
.menu-overlay {
  position: fixed; inset: 0;
  background: #141414; z-index: 10001;
  display: flex; flex-direction: column;
  padding: 100px 50px 50px;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}
.menu-overlay.active { transform: translateX(0); opacity: 1; }

.menu-link {
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem; font-weight: 600;
  text-decoration: none; display: flex; align-items: center;
  min-height: 56px; padding: 12px 0;
  text-transform: uppercase; letter-spacing: .15em;
  transition: color 0.3s;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.menu-link:hover, .menu-link.active { color: #fff; }

/* ── BACK BUTTON ── */
.back-btn {
  position: fixed;
  top: 24px; left: 24px;
  z-index: 99999;
  display: flex; align-items: center; gap: 8px;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #2b2b2b; text-decoration: none;
  opacity: 0;
  animation: fadeUp 0.6s 1.9s ease forwards;
  transition: color 0.3s;
  -webkit-tap-highlight-color: transparent;
  padding: 4px 0;
}
.back-btn::before {
  content: '←'; font-size: 0.9rem; transition: transform 0.3s;
}
.back-btn:hover { color: #006b5d; }
.back-btn:hover::before { transform: translateX(-4px); }

@keyframes fadeUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }

/* ── FOCUS / ACCESSIBILITY ── */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .header { height: 70px; }
  .logo img { height: 32px; }
  .hamburger { top: 12px; right: 15px; }
  .back-btn { top: 16px; left: 16px; }
  .menu-overlay { padding: 90px 32px 40px; }
}
