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

:root {
  --navy:      #0b1a2e;
  --navy-mid:  #112238;
  --teal:      #38b2a0;
  --teal-dim:  #2a8a7a;
  --teal-glow: rgba(56,178,160,0.1);
  --cream:     #f0ebe2;
  --stone:     #7a7570;
  --muted:     rgba(240,235,226,0.55);
  --faint:     rgba(240,235,226,0.07);
  --serif:     'Cormorant Garamond', Georgia, serif;
  --sans:      'Jost', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  background: var(--navy);
  color: var(--cream);
  line-height: 1.75;
  overflow-x: hidden;
}

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

/* ─── NAV ────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 3rem;
  background: rgba(11,26,46,0.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--faint);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.03em;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--teal); }

/* ─── TYPE ───────────────────────────────────────────────── */
h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  line-height: 1.1;
  color: var(--cream);
}

h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.2;
  color: var(--cream);
}

h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--cream);
}

p { color: var(--muted); }

/* ─── UTILITIES ──────────────────────────────────────────── */
.eyebrow {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}

.rule {
  width: 40px;
  height: 1px;
  background: var(--teal-dim);
  margin: 1.75rem 0;
}

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.8rem 1.8rem;
  border: 1px solid var(--teal);
  color: var(--teal);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn:hover { background: var(--teal); color: var(--navy); }

/* ─── FOOTER ─────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--faint);
  padding: 2.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--stone);
}

/* ─── SCROLL REVEAL ──────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
[data-reveal].visible {
  opacity: 1;
  transform: none;
}

/* ─── MOBILE ─────────────────────────────────────────────── */
/* ─── MOBILE NAV ─────────────────────────────────────────── */
.nav-toggle { display: none; }
.nav-toggle-label {
  display: none;
  font-size: 1.6rem;
  color: var(--cream);
  cursor: pointer;
  line-height: 1;
  padding: 0.2rem 0.4rem;
  user-select: none;
}

@media (max-width: 720px) {
  nav { padding: 1rem 1.5rem; flex-wrap: wrap; }
  .nav-toggle-label { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--faint);
  }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  footer { flex-direction: column; gap: 0.6rem; text-align: center; }
}
