:root {
  --bg: #0a0c10;
  --bg-soft: #0f1218;
  --bg-alt: #0c0f15;
  --ink: #eef1f6;
  --ink-soft: #aab3c2;
  --ink-faint: #6b7585;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --gold: #c8a96a;
  --gold-soft: #e4cd9c;
  --radius: 16px;
  --maxw: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; }

/* Film grain / texture overlay */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 12, 16, 0.72);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px;
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.1rem; color: #0a0c10;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 4px 18px rgba(200, 169, 106, 0.28);
}
.brand-mark.small { width: 28px; height: 28px; font-size: 0.95rem; border-radius: 7px; }
.brand-logo { height: 34px; width: auto; display: block; }
.brand-logo.small { height: 26px; }
.brand-text { font-weight: 600; font-size: 1.02rem; letter-spacing: 0.01em; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: 0.92rem; font-weight: 500; transition: color 0.25s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  padding: 9px 18px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink) !important;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease) !important;
}
.nav-cta:hover { border-color: var(--gold); background: rgba(200, 169, 106, 0.08); }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(1100px 700px at 72% 12%, rgba(200, 169, 106, 0.12), transparent 60%),
    radial-gradient(900px 600px at 12% 88%, rgba(70, 90, 140, 0.16), transparent 60%),
    linear-gradient(180deg, #0a0c10 0%, #0b0e13 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black, transparent 75%); opacity: 0.5;
}
.hero-inner { position: relative; z-index: 2; padding-top: 96px; max-width: 880px; }
.hero-logo { width: min(280px, 64%); height: auto; max-height: 280px; display: block; margin-bottom: 28px; filter: drop-shadow(0 10px 34px rgba(0,0,0,0.5)); }
.eyebrow { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); margin-bottom: 26px; }
.lede { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--ink-soft); max-width: 620px; font-weight: 300; }
.hero-actions { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 30px; border-radius: 999px; font-weight: 500; font-size: 0.95rem; text-decoration: none; transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease); }
.btn-primary { background: linear-gradient(135deg, var(--gold-soft), var(--gold)); color: #0a0c10; box-shadow: 0 8px 30px rgba(200, 169, 106, 0.25); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { color: var(--ink); border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--gold); background: rgba(200, 169, 106, 0.06); }

.scroll-hint { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 2; }
.scroll-hint span { display: block; width: 22px; height: 36px; border: 1px solid var(--line-strong); border-radius: 12px; position: relative; }
.scroll-hint span::after { content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 3px; height: 7px; border-radius: 2px; background: var(--gold); animation: scrolly 1.8s var(--ease) infinite; }
@keyframes scrolly { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }

/* ---------- STRIP ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); position: relative; z-index: 2; }
.strip-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.strip-item { padding: 38px 28px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.strip-item:last-child { border-right: none; }
.strip-k { font-family: 'Fraunces', serif; font-size: 1.15rem; color: var(--ink); }
.strip-v { font-size: 0.92rem; color: var(--ink-faint); }

/* ---------- SECTIONS ---------- */
.section { padding: 120px 0; position: relative; z-index: 2; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); }
.body { color: var(--ink-soft); font-size: 1.06rem; font-weight: 300; margin-top: 18px; max-width: 540px; }
.body:first-of-type { margin-top: 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.grid-2-firm { align-items: center; }

.section-head { max-width: 640px; margin-bottom: 56px; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { padding: 36px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0)); transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease); }
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); background: linear-gradient(180deg, rgba(200,169,106,0.06), rgba(255,255,255,0)); }
.card-num { font-family: 'Fraunces', serif; font-size: 0.95rem; color: var(--gold); margin-bottom: 18px; letter-spacing: 0.05em; }
.card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 0.98rem; font-weight: 300; }

.facts { list-style: none; border-top: 1px solid var(--line); }
.facts li { display: flex; justify-content: space-between; align-items: center; padding: 22px 4px; border-bottom: 1px solid var(--line); }
.fact-k { color: var(--ink-faint); font-size: 0.95rem; }
.fact-v { font-family: 'Fraunces', serif; color: var(--ink); font-size: 1.1rem; }

/* ---------- CONTACT ---------- */
.section-contact { text-align: center; padding: 130px 0; }
.contact-inner { max-width: 680px; margin: 0 auto; }
.contact-body { margin-left: auto; margin-right: auto; }
.mail { display: inline-block; margin-top: 30px; font-family: 'Fraunces', serif; font-size: clamp(1.2rem, 3vw, 1.9rem); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 6px; transition: color 0.25s var(--ease); }
.mail:hover { color: var(--gold-soft); }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid var(--line); padding: 44px 0; position: relative; z-index: 2; background: var(--bg-soft); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.footer-note { color: var(--ink-faint); font-size: 0.82rem; max-width: 620px; }

/* ---------- REVEAL ANIMATION ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 820px) {
  .nav-links { gap: 18px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .cards { grid-template-columns: 1fr; }
  .strip-inner { grid-template-columns: 1fr; }
  .strip-item { border-right: none; border-bottom: 1px solid var(--line); }
  .strip-item:last-child { border-bottom: none; }
  .section { padding: 84px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint span::after { animation: none; }
  html { scroll-behavior: auto; }
}
