@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Jost:wght@200;300;400&display=swap');

:root {
  --off-white: #f9f8f6;
  --cream: #f2ede6;
  --ink: #181614;
  --stone: #9a9590;
  --dust: #dedad4;
  --accent: #b5906b;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--off-white);
  color: var(--ink);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAVIGATION ─── */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 48px;
  transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

nav.scrolled {
  background: rgba(249, 248, 246, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 18px 48px;
  border-bottom-color: var(--dust);
}

/* Interior pages — nav always visible */
nav.solid {
  background: rgba(249, 248, 246, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 20px 48px;
  border-bottom-color: var(--dust);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-decoration: none;
}

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

.nav-links a {
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  text-decoration: none;
  transition: color 0.2s;
}

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

.nav-cta {
  color: var(--ink) !important;
  padding-bottom: 3px !important;
  border-bottom: 1px solid var(--ink) !important;
  background: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  transition: color 0.2s, border-color 0.2s !important;
}

.nav-cta:hover {
  color: var(--accent) !important;
  border-color: var(--accent) !important;
}

/* ─── PAGE WRAPPER ─── */

main {
  padding-top: 80px;
}

/* ─── TYPOGRAPHY ─── */

h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1.1;
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

p {
  font-size: 0.92rem;
  color: var(--stone);
  line-height: 1.8;
  max-width: 560px;
}

/* ─── SECTION ─── */

section {
  padding: 96px 48px;
}

.section-kicker {
  display: block;
  font-size: 0.62rem;
  font-weight: 200;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 20px;
}

/* ─── BUTTONS ─── */

.btn {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  background: none;
}

.btn-dark {
  background: var(--ink);
  color: var(--off-white);
  padding: 14px 36px;
}

.btn-dark:hover { background: var(--accent); color: var(--off-white); }

.btn-outline {
  color: var(--ink);
  padding: 13px 36px;
  border: 1px solid var(--dust);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--off-white);
  border-color: var(--ink);
}

.btn-text {
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
}

.btn-text:hover { color: var(--accent); }

/* ─── FOOTER ─── */

footer {
  background: var(--ink);
  padding: 60px 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-left a {
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: rgba(249,248,246,0.38);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-left a:hover { color: rgba(249,248,246,0.75); }

.footer-center { text-align: center; }

.footer-name {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: rgba(249,248,246,0.78);
  margin-bottom: 5px;
}

.footer-tagline {
  font-size: 0.6rem;
  font-weight: 200;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(249,248,246,0.22);
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.footer-right a {
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: rgba(249,248,246,0.38);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-right a:hover { color: rgba(249,248,246,0.75); }

.footer-copy {
  font-size: 0.58rem;
  font-weight: 200;
  letter-spacing: 0.1em;
  color: rgba(249,248,246,0.16);
}

/* ─── FADE ANIMATION ─── */

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── MOBILE ─── */

@media (max-width: 768px) {
  nav { padding: 20px 24px; }
  nav.scrolled, nav.solid { padding: 14px 24px; }
  .nav-links li:not(:last-child) { display: none; }
  section { padding: 64px 24px; }
  footer {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 48px 24px;
    gap: 28px;
  }
  .footer-right { align-items: center; }
}
