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

:root {
  --bg:       #E8E6E1;
  --green:    #374D26;
  --green-lt: #4e6b34;
  --ink:      #1C1A17;
  --nav-bg:   #F2F0EB;
  --nav-ink:  #1e2e12;
  --muted:    rgba(28,26,23,0.45);
}

html, body {
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter Tight', sans-serif;
  font-weight: 300;
}

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

/* Navigation */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 68px;
  background: var(--nav-bg);
  box-shadow: 0 1px 0 rgba(55,77,38,0.12), 0 4px 24px rgba(0,0,0,0.07);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
}

body {
  padding-top: 92px;
}

.nav-logo {
  height: 48px;
  width: auto;
  display: block;
}

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

.nav-name {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--nav-ink);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-name:hover {
  color: var(--green-lt);
}

/* Footer */
footer {
  position: relative;
  z-index: 2;
  padding: 32px 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(28,26,23,0.1);
}

.footer-copy {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  color: rgba(28,26,23,0.35);
  text-transform: uppercase;
}

.footer-link {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  color: rgba(28,26,23,0.35);
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover { color: var(--green-lt); }

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--nav-bg);
  box-shadow: 0 -2px 24px rgba(0,0,0,0.08);
  padding: 20px 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-text {
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--ink);
  flex: 1;
}

.cookie-text a {
  color: var(--green);
  text-decoration: none;
}

.cookie-text a:hover { text-decoration: underline; }

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 28px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 300;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid rgba(55,77,38,0.55);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.cookie-btn:hover {
  background: var(--green);
  border-color: var(--green);
  color: #F4F0E8;
}

.cookie-btn-decline {
  border-color: rgba(28,26,23,0.2);
}

.cookie-btn-decline:hover {
  background: rgba(28,26,23,0.08);
  border-color: rgba(28,26,23,0.3);
  color: var(--ink);
}

/* Responsive */
@media (max-width: 768px) {
  nav    { padding: 18px 28px; gap: 12px; }
  .nav-links { gap: 20px; }
  .nav-name  { font-size: 0.62rem; letter-spacing: 0.15em; }
  footer { padding: 28px 28px; flex-direction: column; gap: 10px; text-align: center; }
  .footer-links { flex-direction: column; gap: 10px; }
  .cookie-banner { padding: 18px 28px calc(34px + env(safe-area-inset-bottom, 0px)); flex-direction: column; text-align: center; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
