/* ---------- Tokens ---------- */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.125rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 4.75rem);

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

  --font-display: 'Newsreader', 'Georgia', 'Times New Roman', serif;
  --font-body: 'Switzer', 'Helvetica Neue', Arial, sans-serif;

  --content-wide: 1380px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section-pad: clamp(var(--space-16), 8vw, var(--space-32));
  --transition: 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* LT Investment Holdings brand palette — deep teal on white */
:root,
[data-theme='light'] {
  color-scheme: light;
  --color-bg: #ffffff;
  --color-surface: #f5f7f6;
  --color-surface-offset: #eceff0;
  --color-divider: #e3e8e7;
  --color-border: #cfd7d6;
  --color-text: #142625;
  --color-text-muted: #5c6a68;
  --color-text-faint: #9aa6a4;
  --color-text-inverse: #f4f6f5;
  --color-primary: #22403e;
  --color-primary-hover: #142625;
  --color-primary-soft: #dfe8e6;
  --color-accent: #22403e;
  --color-dark: #142625;
  --color-dark-2: #22403e;
  --logo-color: #22403e;
  --shadow-md: 0 8px 28px rgba(20, 38, 37, 0.08);
}

[data-theme='dark'] {
  color-scheme: dark;
  --color-bg: #0d1717;
  --color-surface: #142625;
  --color-surface-offset: #193230;
  --color-divider: #223a38;
  --color-border: #2f4a48;
  --color-text: #e4ebe9;
  --color-text-muted: #9fb1ae;
  --color-text-faint: #6b807d;
  --color-text-inverse: #0d1717;
  --color-primary: #9cc2bc;
  --color-primary-hover: #c2dcd7;
  --color-primary-soft: #1d3634;
  --color-accent: #9cc2bc;
  --color-dark: #0a1312;
  --color-dark-2: #142625;
  --logo-color: #e4ebe9;
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.35);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--color-text);
  background-color: var(--color-bg);
  transition: background-color var(--transition), color var(--transition);
}
img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}
button {
  cursor: pointer;
}
ul,
ol {
  list-style: none;
}
h1,
h2,
h3,
h4 {
  font-weight: 400;
  line-height: 1.15;
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
