@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=DM+Sans:wght@300;400;500&display=swap');

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

:root {
  --ink: #1a1814;
  --paper: #f2ede6;
  --cream: #e8e2d8;
  --accent: #b8832a;
  --accent-light: #d4a045;
  --mid: #7a7268;
  --light: #9a9088;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: #141414; color: var(--paper); overflow-x: hidden; }
a { color: inherit; }

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

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 4vw;
  background: rgba(242,237,230,0.97);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: background 0.4s, box-shadow 0.4s;
}
nav.scrolled { background: rgba(242,237,230,0.99); box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.nav-logo img { height: 90px; display: block; }
.nav-links { display: flex; gap: 2.2rem; list-style: none; }
.nav-links a {
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(26,24,20,0.65);
  text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-cta {
  font-size: 0.76rem; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: #fff;
  background: var(--accent); text-decoration: none;
  padding: 0.5rem 1.3rem; border-radius: 2px; transition: background 0.2s;
}
.nav-cta:hover { background: var(--accent-light); }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-hamburger span { display: block; width: 22px; height: 1px; background: var(--ink); transition: 0.3s; }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-hamburger span { display: block; width: 22px; height: 1px; background: var(--paper); transition: 0.3s; }

/* ── BUTTONS ── */
.btn-primary {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: #fff; background: var(--accent);
  text-decoration: none; padding: 0.85rem 2rem; border-radius: 2px;
  display: inline-block; transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-1px); }
.btn-ghost {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--paper);
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;
  transition: color 0.2s;
}
.btn-ghost::after { content: '→'; transition: transform 0.2s; }
.btn-ghost:hover { color: var(--accent-light); }
.btn-ghost:hover::after { transform: translateX(4px); }
.btn-outline {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--paper);
  border: 1px solid rgba(245,241,235,0.25); text-decoration: none;
  padding: 0.85rem 2rem; border-radius: 2px; display: inline-block;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent-light); }

/* ── SECTION LABELS ── */
.section-label {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.8rem;
  display: block;
}
.section-title {
  font-family: var(--serif); font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400; line-height: 1.2;
}
.section-title em { font-style: italic; color: var(--accent-light); }

/* ── PAGE HEADER ── */
.page-header { padding: 13rem 4vw 5rem; position: relative; overflow: hidden; }
.page-header-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(184,131,42,0.07) 0%, transparent 60%), #141414;
}
.page-header-content { position: relative; z-index: 1; }
.page-header h1 {
  font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 400; line-height: 1.1; margin-top: 0.75rem;
}
.page-header h1 em { font-style: italic; color: var(--accent-light); }
.page-rule { width: 48px; height: 1px; background: var(--accent); margin-top: 1.75rem; }

/* ── FOOTER ── */
footer { background: #1a1a1a; padding: 4rem 4vw; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand img { height: 45px; margin-bottom: 1rem; display: block; }
.footer-desc { font-size: 0.82rem; line-height: 1.7; color: var(--light); font-weight: 300; max-width: 280px; }
.footer-col h5 { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; color: var(--accent); margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.55rem; }
.footer-col ul a { font-size: 0.83rem; color: var(--light); text-decoration: none; transition: color 0.2s; font-weight: 300; }
.footer-col ul a:hover { color: var(--paper); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 2rem; font-size: 0.76rem; color: var(--mid); flex-wrap: wrap; gap: 1rem; }

/* ── REVEAL ANIMATION ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(20,20,20,0.98); align-items: center; justify-content: center; gap: 2.5rem; z-index: 150; }
  .nav-links.open a { font-size: 1.1rem; color: var(--paper); }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}
