/* ============================================================
   LUXURY REAL-ESTATE KIT — TOKENS
   Override --bg, --bg2, --surface, --text, --text2, --accent,
   --accent2, --rule per brand. Type pairs override --font-d
   (display) and --font-b (body).
   ============================================================ */

:root {
  /* --- defaults: Pearl/Navy + Italiana/DM Sans (master) --- */
  --bg: #0a0f0d;
  --bg2: #111a16;
  --surface: #19261f;
  --text: #eef0ec;
  --text2: #a8bbb0;
  --accent: #7fb89a;
  --accent2: #3e7058;
  --rule: rgba(127,184,154,0.22);

  --font-d: 'Cinzel', Georgia, serif;
  --font-b: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;

  /* --- type scale (modular, 1.25 ratio anchored at 1rem) --- */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.5rem;
  --fs-xl: 1.85rem;
  --fs-2xl: 2.6rem;
  --fs-3xl: clamp(2.2rem, 4.4vw, 3.8rem);
  --fs-display: clamp(3rem, 7vw, 6rem);

  --lh-tight: 1.05;
  --lh-snug: 1.25;
  --lh-base: 1.55;
  --lh-loose: 1.7;

  --tracking-wide: 0.18em;
  --tracking-mid: 0.08em;
  --tracking-tight: -0.01em;

  /* --- spacing scale --- */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 72px;
  --s-10: 88px;
  --s-11: 104px;

  /* --- motion --- */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-1: 200ms;
  --dur-2: 400ms;
  --dur-3: 700ms;
  --dur-4: 1100ms;

  /* --- radii --- */
  --r-0: 0;
  --r-1: 2px;
  --r-2: 6px;
  --r-3: 12px;
  --r-pill: 999px;

  /* --- layout --- */
  --max-w: 1440px;
  --max-w-text: 64ch;
  --gutter: clamp(20px, 4vw, 56px);

  /* --- z --- */
  --z-nav: 1000;
  --z-float: 9000;
  --z-drawer: 10002;
  --z-overlay: 10001;
  --z-loader: 10100;
  --z-cursor: 100000;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }

/* selection */
::selection { background: var(--accent); color: var(--bg); }

/* utility scaffolding */
.kit-container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.kit-section { padding: var(--s-10) 0; }
.kit-eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s-5);
}
.kit-display {
  font-family: var(--font-d);
  font-weight: 400;
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
}
.kit-h1 { font-size: var(--fs-display); }
.kit-h2 { font-size: var(--fs-3xl); }
.kit-h3 { font-size: var(--fs-2xl); }
.kit-h4 { font-size: var(--fs-xl); }
.kit-lead {
  font-size: var(--fs-md);
  color: var(--text2);
  max-width: var(--max-w-text);
  line-height: var(--lh-loose);
}
.kit-rule { border: 0; height: 1px; background: var(--rule); margin: var(--s-7) 0; }
.kit-divider-v { width: 1px; background: var(--rule); align-self: stretch; }
