:root {
  --bg: #faf8f4;
  --ink: #0a0a0a;
  --ink-soft: #1a1a1a;
  --muted: #6b6b6b;
  --line: #1a1a1a;
  --line-soft: rgba(10,10,10,0.12);
  --accent: #d4541a;
  --accent-deep: #b8430f;
  --cream: #f0ebe0;
  --paper: #fefcf7;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.serif { font-family: 'Fraunces', Georgia, serif; }
img { max-width: 100%; display: block; }
::selection { background: var(--accent); color: var(--bg); }

/* ---- NAV ---- */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  padding: 1.25rem 2.5rem;
  display: flex; justify-content: space-between; align-items: center;
  z-index: 100;
  background: rgba(250, 248, 244, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.logo {
  display: flex; align-items: center; gap: 0.75rem;
  font-family: 'Fraunces', serif;
  font-size: 1.15rem; font-weight: 500; letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none;
}
.logo-mark { width: 32px; height: 32px; flex-shrink: 0; }
.logo-mark svg { width: 100%; height: 100%; }
.logo em { font-style: italic; font-weight: 300; color: var(--accent); }

.nav-links { display: flex; gap: 2.25rem; list-style: none; }
.nav-links a {
  color: var(--ink-soft); text-decoration: none;
  font-size: 0.85rem; font-weight: 400; letter-spacing: 0.02em;
  transition: color 0.2s; position: relative; padding-bottom: 3px;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.current {
  color: var(--ink); font-weight: 500;
}
.nav-links a.current::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1px; background: var(--accent);
}
.nav-cta {
  background: var(--ink); color: var(--bg);
  padding: 0.6rem 1.4rem; border-radius: 999px;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.02em;
  text-decoration: none; transition: background 0.25s;
}
.nav-cta:hover { background: var(--accent); }

.mobile-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 0.5rem; color: var(--ink);
}

@media (max-width: 900px) {
  nav { padding: 1rem 1.25rem; }
  .nav-links {
    position: fixed; top: 70px; left: 0; right: 0;
    background: var(--bg); flex-direction: column; gap: 0;
    padding: 1.5rem 0; border-bottom: 1px solid var(--line-soft);
    transform: translateY(-110%); transition: transform 0.3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { padding: 0.85rem 2rem; border-bottom: 1px solid var(--line-soft); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-cta { display: none; }
  .mobile-toggle { display: block; }
}

/* ---- SHARED LABELS / TITLES ---- */
.section-label {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
  margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.section-label::before {
  content: ''; width: 24px; height: 1px; background: var(--accent);
}
.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.05; letter-spacing: -0.025em; font-weight: 400;
  max-width: 780px; margin-bottom: 3rem;
}
.section-title em { font-style: italic; color: var(--accent); font-weight: 300; }

/* ---- PAGE HERO (for inner pages) ---- */
.page-hero {
  padding: 11rem 2.5rem 5rem;
  border-bottom: 1px solid var(--line-soft);
}
.page-hero-inner {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end;
}
.page-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.98; letter-spacing: -0.03em; font-weight: 400;
  color: var(--ink);
}
.page-hero h1 em { font-style: italic; color: var(--accent); font-weight: 300; }
.page-hero p {
  font-size: 1.1rem; color: var(--muted); line-height: 1.65;
  max-width: 480px;
}
.page-hero-label {
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.5rem; font-weight: 500;
  display: flex; align-items: center; gap: 0.75rem;
}
.page-hero-label::before { content: ''; width: 32px; height: 1px; background: var(--accent); }

@media (max-width: 900px) {
  .page-hero { padding: 8rem 1.25rem 3rem; }
  .page-hero-inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---- SECTION ---- */
section {
  padding: 7rem 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}
@media (max-width: 768px) {
  section { padding: 5rem 1.25rem; }
}

/* ---- BUTTONS ---- */
.btn-primary {
  background: var(--ink); color: var(--bg);
  padding: 1rem 2rem; border-radius: 999px;
  font-size: 0.88rem; font-weight: 500;
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.6rem;
  transition: all 0.25s;
}
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); }
.btn-secondary {
  color: var(--ink); padding: 1rem 0.5rem;
  font-size: 0.88rem; font-weight: 500; text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.6rem;
  border-bottom: 1px solid var(--ink); padding-bottom: 0.4rem;
  transition: gap 0.25s;
}
.btn-secondary:hover { gap: 1rem; }

/* ---- FOOTER ---- */
footer {
  background: var(--ink); color: rgba(255,255,255,0.7);
  padding: 5rem 2.5rem 2.5rem;
}
.footer-inner { max-width: 1400px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .footer-logo {
  font-family: 'Fraunces', serif;
  color: var(--bg); font-size: 1.3rem; margin-bottom: 1rem;
}
.footer-brand p {
  font-size: 0.88rem; color: rgba(255,255,255,0.6);
  line-height: 1.65; max-width: 320px;
}
.footer-col h5 {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.7rem; }
.footer-col a {
  color: rgba(255,255,255,0.75); text-decoration: none;
  font-size: 0.9rem; transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem; flex-wrap: wrap; gap: 1rem;
  font-size: 0.78rem; color: rgba(255,255,255,0.5);
}
@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ---- REVEAL ON SCROLL ---- */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
