:root,
[data-theme="light"] {
  --font-display: 'Cabinet Grotesk', 'Inter', sans-serif;
  --font-body: 'Satoshi', 'Inter', sans-serif;

  --text-xs: clamp(0.75rem, 0.72rem + 0.18vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.84rem + 0.24vw, 1rem);
  --text-base: clamp(1rem, 0.97rem + 0.22vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1.02rem + 0.6vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.22rem + 1.2vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.45rem + 2.4vw, 3.5rem);
  --text-3xl: clamp(2.75rem, 1.9rem + 3.6vw, 5rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 1.75rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --radius-sm: 0.5rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --radius-full: 999px;

  --transition-fast: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 280ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 420ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Summit Realty Group — Deep Navy + Gold */
  --color-primary: #1E3A5F;
  --color-primary-hover: #162C47;
  --color-accent: #C9A84C;
  --color-accent-hover: #B8922E;

  --color-bg: #F8F9FB;
  --color-surface: #FFFFFF;
  --color-surface-2: #EFF2F7;
  --color-border: #C8D4E3;

  --color-text: #0D1B2A;
  --color-text-muted: #4A607A;
  --color-text-faint: #8BA3BB;
  --color-text-inverse: #FFFFFF;

  --color-dark: #0F1E30;
  --color-dark-2: #1E3A5F;

  --color-success: #166534;
  --color-warning: #B45309;
  --color-error: #B91C1C;

  --shadow-sm: 0 8px 24px rgba(30, 58, 95, 0.08);
  --shadow-md: 0 18px 48px rgba(30, 58, 95, 0.14);
  --shadow-lg: 0 28px 72px rgba(15, 30, 48, 0.20);

  --gradient-hero: linear-gradient(135deg, rgba(15, 30, 48, 0.88), rgba(30, 58, 95, 0.62));
  --gradient-cta: linear-gradient(135deg, #0F1E30 0%, #1E3A5F 52%, #C9A84C 100%);

  --container: 1200px;
  --content-narrow: 720px;
  --content-default: 960px;
  --content-wide: 1200px;
  --header-height: 88px;
}

[data-theme="dark"] {
  --color-bg: #0A1628;
  --color-surface: #0F1E30;
  --color-surface-2: #162C47;
  --color-border: #1E3A5F;

  --color-text: #EDF2F7;
  --color-text-muted: #94B4CC;
  --color-text-faint: #5A7A94;
  --color-text-inverse: #0D1B2A;

  --color-dark: #060E1A;
  --color-dark-2: #0F1E30;

  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 18px 48px rgba(0, 0, 0, 0.36);
  --shadow-lg: 0 28px 72px rgba(0, 0, 0, 0.48);
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  transition:
    background var(--transition-base),
    color var(--transition-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nav-open {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

a {
  color: var(--color-primary);
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}
