:root {
  --olive: #78784f;
  --olive-deep: #5c5c3a;
  --olive-soft: #a3a37c;
  --sand: #d3cbc1;
  --mist: #e5e6e4;
  --taupe: #a69480;
  --stone: #645f58;
  --ink: #2a2824;
  --paper: #f4f1ec;
  --white: #fff;
  --glass: rgba(244, 241, 236, 0.82);
  --glass-dark: rgba(42, 40, 36, 0.55);
  --line: rgba(42, 40, 36, 0.12);
  --radius: 18px;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --display: 'Unbounded', 'Montserrat', system-ui, sans-serif;
  --text: 'Montserrat', system-ui, -apple-system, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--text);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; }

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--olive);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px 18px 30px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--white);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease);
  box-shadow: 0 12px 30px -12px rgba(60, 60, 30, .55);
}
.btn:hover { --bg: var(--olive-deep); transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(60, 60, 30, .65); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .arrow {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .16);
  transition: transform .35s var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }
.btn-ghost {
  background: transparent; color: var(--ink); box-shadow: none;
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--white); }

.link-line {
  position: relative; text-decoration: none;
}
.link-line::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.link-line:hover::after { transform: scaleX(1); }

/* ---------- Brand ---------- */
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: inherit;
}
.brand-mark { width: 34px; height: 27px; display: block; }
.brand-word { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .08em; }

/* ---------- Page transition ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 100;
  background: var(--paper);
  display: grid; place-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .6s var(--ease);
}
.curtain.on { opacity: 1; pointer-events: all; }
.curtain svg { width: 64px; color: var(--olive); animation: breathe 1.6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(.9); opacity: .6; } }

/* ---------- Entrance ---------- */
[data-enter] { opacity: 0; transform: translateY(18px); }
.ready [data-enter] {
  opacity: 1; transform: none;
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: calc(var(--d, 0) * 110ms + 150ms);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
