/* Shared by every page: the colours, the reset and the nav. Loaded after
   each page's own <style>, so the nav breakpoints here still win over the
   page's base nav rules, as they did when they lived inline. */

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

:root {
  --cream: #f9f6f1;
  --cream-dark: #f0ebe3;
  --sand: #e0d8cc;
  --river: #6b8f9e;
  --river-deep: #3d6170;
  --river-light: #a8c4ce;
  --ink: #161513;
  --ink-soft: #24211d;
  --stone: #8a8478;
  --stone-light: #b5b0a8;
  --gold: #c89b5e;
  --gold-light: #dcb57e;
  --white: #ffffff;
}

html { scroll-behavior: smooth; }

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 18px;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.nav-logo em {
  font-style: italic;
  color: var(--gold-light);
}

.nav-logo { display: inline-flex; align-items: center; gap: 10px; }

.nav-mark { display: block; width: auto; height: 26px; }

.nav-links a {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--white); }

.nav-links a.active { color: var(--white); }

.nav-links .nav-book a {
  color: var(--gold-light);
  border-bottom: 1px solid rgba(200,155,94,0.4);
  padding-bottom: 2px;
}

.nav-links .nav-book a:hover { color: var(--gold); border-color: var(--gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: rgba(255,255,255,0.7);
  transition: all 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }

.nav-toggle.open span:nth-child(2) { opacity: 0; }

.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile .nav-book-mobile a { color: var(--gold-light); }

@media (max-width:1100px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width:768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}
