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

:root {
  --black: #080808;
  --noir: #0c0c0c;
  --surface: #111111;
  --surface-2: #161616;
  --surface-3: #1c1c1c;
  --accent: #FF6B2B;
  --accent-dim: #E85A1A;
  --accent-glow: rgba(255, 107, 43, 0.08);
  --accent-glow-strong: rgba(255, 107, 43, 0.15);
  --cream: #F5F0E8;
  --cream-80: rgba(245, 240, 232, 0.8);
  --cream-60: rgba(245, 240, 232, 0.6);
  --cream-40: rgba(245, 240, 232, 0.4);
  --cream-20: rgba(245, 240, 232, 0.2);
  --cream-10: rgba(245, 240, 232, 0.1);
  --cream-05: rgba(245, 240, 232, 0.05);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Outfit', system-ui, sans-serif;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--noir);
}

body {
  font-family: var(--sans);
  background: var(--black);
  color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: var(--black);
}

a { color: inherit; text-decoration: none; }

/* =============================================
   SKIP LINK (Accessibility)
============================================= */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 99999;
  padding: 12px 24px;
  background: var(--accent);
  color: var(--black);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

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

/* =============================================
   NAVIGATION
============================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  padding: 0 clamp(24px, 5vw, 60px);
}

.nav__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.nav__logo {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.nav__links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}

.nav__links a {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.nav__links a:hover { opacity: 1; }

.nav__book {
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  padding: 12px 28px;
  border: 1px solid var(--cream-20);
  border-radius: 100px;
  opacity: 1 !important;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav__book:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--black);
}

.nav__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 20px;
  position: relative;
}

.nav__burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--cream);
  transition: all 0.3s;
}

.nav__burger span:nth-child(1) { top: 0; }
.nav__burger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav__burger span:nth-child(3) { bottom: 0; }

/* =============================================
   BUTTONS
============================================= */
.btn {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 18px 40px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.btn--fill {
  background: var(--accent);
  color: var(--black);
}

.btn--fill:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(255, 107, 43, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--cream-20);
}

.btn--outline:hover {
  border-color: var(--cream-40);
  background: var(--cream-05);
}

.btn__arrow {
  transition: transform 0.3s;
  font-size: 1.1em;
}

.btn:hover .btn__arrow { transform: translateX(4px); }

/* =============================================
   FOOTER
============================================= */
.footer {
  padding: 40px clamp(24px, 5vw, 60px);
  border-top: 1px solid var(--cream-05);
}

.footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copy {
  font-size: 0.78rem;
  color: var(--cream-20);
  font-weight: 300;
}

.footer__links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.footer__links a {
  font-size: 0.78rem;
  color: var(--cream-20);
  transition: color 0.3s;
  font-weight: 400;
}

.footer__links a:hover { color: var(--accent); }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }

  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    top: 80px;
    background: rgba(8, 8, 8, 0.97);
    backdrop-filter: blur(20px);
    padding: 48px;
    gap: 28px;
    z-index: 9999;
  }

  .nav__links.open a {
    font-size: 1.2rem;
    opacity: 0.8;
  }
}

@media (max-width: 560px) {
  .footer__inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* =============================================
   COOKIE CONSENT BANNER
============================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10001;
  background: #111111;
  border-top: 1px solid rgba(245, 240, 232, 0.1);
  padding: 16px clamp(24px, 5vw, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--sans);
}

.cookie-banner p {
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(245, 240, 232, 0.6);
  margin: 0;
}

.cookie-banner a {
  color: #FF6B2B;
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-banner__btn {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.cookie-banner__btn--accept {
  background: #FF6B2B;
  color: #080808;
}

.cookie-banner__btn--accept:hover {
  background: #fff;
}

.cookie-banner__btn--decline {
  background: transparent;
  color: rgba(245, 240, 232, 0.4);
  border: 1px solid rgba(245, 240, 232, 0.1);
}

.cookie-banner__btn--decline:hover {
  border-color: rgba(245, 240, 232, 0.2);
}

@media (max-width: 560px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    padding: 20px 24px;
  }
}
