:root {
  --bg: #F4EBD9;
  --surface: #EFE1C5;
  --text: #2C241D;
  --muted: #6B5E4F;
  --primary: #8D5B3E;
  --secondary: #4A3728;
  --accent: #C0522B;
  --border: rgba(44, 36, 29, 0.15);
  --soft-radius: 24px;
  --page-padding: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 300;
  background: var(--bg);
  background-image:
    linear-gradient(165deg, rgba(141, 91, 62, 0.08) 0%, transparent 45%),
    radial-gradient(ellipse at 80% 10%, rgba(192, 82, 43, 0.06) 0%, transparent 55%);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 25%, rgba(239, 225, 197, 0.7) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(244, 235, 217, 0.5) 0%, transparent 45%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(255, 255, 255, 0.35) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 300;
  line-height: 1.3;
  color: var(--secondary);
}

em, .italic-accent {
  font-style: italic;
  color: var(--primary);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.5s ease;
}

a:hover {
  color: var(--primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.disclosure-banner {
  width: 100%;
  padding: 10px 16px;
  font-size: 11px;
  text-align: center;
  background: var(--secondary);
  color: rgba(244, 235, 217, 0.95);
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  position: relative;
  z-index: 10;
  line-height: 1.5;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  width: 100%;
  min-height: 60px;
}

.header-left {
  flex: 1;
  background: rgba(74, 55, 40, 0.88);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 0;
}

.header-right {
  flex: 1;
  background: rgba(44, 36, 29, 0.94);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.header-inner-left,
.header-inner-right {
  max-width: 600px;
  width: 100%;
  padding: 0 var(--page-padding);
  display: flex;
  align-items: center;
}

.header-inner-left {
  margin-left: auto;
  justify-content: flex-start;
}

.header-inner-right {
  margin-right: auto;
  justify-content: flex-end;
}

.logo-link img {
  max-height: 36px;
  width: auto;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-desktop a {
  color: rgba(244, 235, 217, 0.9);
  font-size: 13px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  transition: color 0.4s ease;
}

.nav-desktop a:hover {
  color: var(--primary);
}

.burger-btn {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(244, 235, 217, 0.95);
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 8px;
  font-size: 20px;
  line-height: 1;
  margin-left: auto;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background: rgba(44, 36, 29, 0.97);
  z-index: 1000;
  padding: 72px 24px 24px;
  transition: right 0.45s ease;
  overflow-y: auto;
}

.nav-drawer.open {
  right: 0;
}

.nav-drawer a {
  display: block;
  color: rgba(244, 235, 217, 0.9);
  padding: 12px 16px;
  margin-bottom: 4px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  border-radius: 12px;
  transition: background 0.4s ease;
}

.nav-drawer a:hover {
  background: rgba(141, 91, 62, 0.25);
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44, 36, 29, 0.55);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(4px);
}

.drawer-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.drawer-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: rgba(244, 235, 217, 0.9);
  font-size: 28px;
  cursor: pointer;
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px var(--page-padding) 32px;
  margin-top: auto;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.footer-logo img {
  max-height: 36px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.footer-links a {
  color: var(--muted);
  font-size: 14px;
  font-family: "Segoe UI", Arial, sans-serif;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.footer-badges a {
  display: block;
  transition: opacity 0.4s ease;
}

.footer-badges a:hover {
  opacity: 0.85;
}

.footer-badges img {
  max-height: 50px;
  width: auto;
}

.footer-nz-disclosure {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.footer-nz-disclosure p {
  margin-bottom: 8px;
}

.footer-copy {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 24px;
  font-family: "Segoe UI", Arial, sans-serif;
}

.age-overlay,
.cookie-banner {
  position: fixed;
  z-index: 2000;
}

.age-overlay {
  inset: 0;
  background: rgba(44, 36, 29, 0.75);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.age-overlay.hidden {
  display: none;
}

.age-modal {
  background: rgba(239, 225, 197, 0.92);
  border: 1px solid var(--border);
  padding: 40px 32px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  border-radius: var(--soft-radius);
  box-shadow: 0 24px 64px rgba(44, 36, 29, 0.2);
  backdrop-filter: blur(20px);
}

.age-modal h2 {
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.age-modal p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
  font-family: "Segoe UI", Arial, sans-serif;
}

.age-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 12px 28px;
  font-size: 15px;
  cursor: pointer;
  border-radius: var(--soft-radius);
  font-family: "Segoe UI", Arial, sans-serif;
  transition: background 0.5s ease, transform 0.3s ease;
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 12px 28px;
  font-size: 15px;
  cursor: pointer;
  border-radius: var(--soft-radius);
  font-family: "Segoe UI", Arial, sans-serif;
  transition: background 0.5s ease;
}

.btn-secondary:hover {
  background: rgba(141, 91, 62, 0.1);
}

.cookie-banner {
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(74, 55, 40, 0.95);
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  backdrop-filter: blur(8px);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner p {
  font-size: 13px;
  color: rgba(244, 235, 217, 0.95);
  max-width: 600px;
  font-family: "Segoe UI", Arial, sans-serif;
}

.cookie-banner a {
  color: rgba(239, 225, 197, 0.95);
  text-decoration: underline;
}

.page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px var(--page-padding);
  position: relative;
  z-index: 1;
}

.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 24px;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin: 32px 0 12px;
  color: var(--primary);
}

.legal-content h3 {
  font-size: 1.1rem;
  margin: 24px 0 10px;
}

.legal-content p {
  margin-bottom: 16px;
  color: var(--text);
}

.legal-content ul {
  margin: 0 0 16px 24px;
}

.legal-content li {
  margin-bottom: 8px;
}

.contact-form {
  margin-top: 32px;
  max-width: 560px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--primary);
  font-family: "Segoe UI", Arial, sans-serif;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(244, 235, 217, 0.6);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 15px;
  border-radius: var(--soft-radius);
  font-family: inherit;
  transition: border-color 0.4s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-error {
  color: var(--accent);
  font-size: 13px;
  margin-top: 6px;
  display: none;
  font-family: "Segoe UI", Arial, sans-serif;
}

.form-error.visible {
  display: block;
}

.form-success {
  background: rgba(141, 91, 62, 0.12);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: var(--soft-radius);
  text-align: center;
}

.form-success.hidden {
  display: none;
}

.misty-card {
  background: rgba(239, 225, 197, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--soft-radius);
  padding: 24px;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(44, 36, 29, 0.08);
}

.info-cta-link {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: rgba(141, 91, 62, 0.15);
  color: var(--secondary);
  border-radius: var(--soft-radius);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  transition: background 0.5s ease, transform 0.3s ease;
}

.info-cta-link:hover {
  background: rgba(141, 91, 62, 0.28);
  color: var(--accent);
  transform: translateY(-2px);
}

@keyframes breathe {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.75; transform: scale(1.04); }
}

@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes cloud-drift {
  0% { transform: translateX(0); }
  100% { transform: translateX(20px); }
}

.pastel-clouds {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  background: rgba(239, 225, 197, 0.6);
  animation: cloud-drift 18s ease-in-out infinite alternate, breathe 6s ease-in-out infinite;
  pointer-events: none;
}

.meditative-glow {
  background: radial-gradient(ellipse at center, rgba(141, 91, 62, 0.08) 0%, transparent 70%);
}

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .site-header {
    background: rgba(44, 36, 29, 0.94);
    flex-wrap: wrap;
  }

  .header-left,
  .header-right {
    flex: none;
    width: 100%;
    background: transparent;
    border: none;
  }

  .header-inner-left {
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
  }

  .header-inner-right {
    display: none;
  }

  .nav-desktop {
    display: none;
  }

  .burger-btn {
    display: block;
  }
}
