/* Hasan & Mir Associates — design tokens, reset, typography */
:root {
  --color-burgundy: #560000;
  --color-burgundy-deep: #3a0000;
  --color-burgundy-soft: #7a1a1a;
  --color-gold: #b28b4d;
  --color-gold-light: #d2bd8c;
  --color-cream: #fbf7f0;
  --color-cream-dark: #f0e8d8;
  --color-ink: #0b0b0b;
  --color-ink-soft: #1a1a1a;
  --color-muted: #6b6b6b;
  --color-border: #e5ddd0;
  --color-white: #ffffff;
  --color-success: #1f6b3a;
  --color-error: #8b1a1a;
  --color-overlay: rgba(11, 11, 11, 0.55);

  --font-sans: "Roboto", system-ui, -apple-system, Segoe UI, sans-serif;
  --font-serif: "Libre Baskerville", Georgia, "Times New Roman", serif;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(11, 11, 11, 0.06);
  --shadow-md: 0 4px 16px rgba(11, 11, 11, 0.08);
  --shadow-lg: 0 12px 40px rgba(11, 11, 11, 0.12);
  --shadow-lift: 0 16px 48px rgba(86, 0, 0, 0.14);

  --header-h: 4.25rem;
  --max-w: 72rem;
  --transition: 200ms ease;
  --transition-slow: 400ms ease;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-ink);
  background: var(--color-cream);
  min-height: 100vh;
}

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

a {
  color: var(--color-burgundy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-gold);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-burgundy-deep);
  margin: 0 0 var(--space-4);
}

h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
}

p {
  margin: 0 0 var(--space-4);
  color: var(--color-ink-soft);
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 var(--space-4);
  padding-left: 1.25rem;
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 1000;
  background: var(--color-burgundy);
  color: var(--color-white);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.skip-link:focus {
  top: var(--space-4);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-muted {
  color: var(--color-muted);
}

.text-gold {
  color: var(--color-gold);
}

.lead {
  font-size: 1.125rem;
  color: var(--color-muted);
  max-width: 40rem;
}
