/* ═══════════════════════════════════════════════════════════════
   ROE ROE'S CATERING — CSS Reset & Base Styles
   ═══════════════════════════════════════════════════════════════ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Typography reset ──────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  color: var(--color-heading);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.125rem; }

em {
  font-style: normal;
  color: var(--color-accent);
}

p {
  line-height: 1.75;
  color: var(--color-text-muted);
}

/* ── Links ─────────────────────────────────────────────────── */
a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--duration-base) var(--ease-out);
}

a:hover {
  color: var(--color-accent-light);
}

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

/* ── Images & Media ────────────────────────────────────────── */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

/* ── Form elements ─────────────────────────────────────────── */
input, textarea, select, button {
  font-family: var(--font-body);
  font-size: 1rem;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* ── Lists ─────────────────────────────────────────────────── */
ul, ol {
  list-style: none;
}

/* ── Touch targets ─────────────────────────────────────────── */
.btn,
button,
input[type="submit"],
a.btn,
.btn-nav-cta,
.tab-btn {
  min-height: 44px;
}

/* ── Selection color ───────────────────────────────────────── */
::selection {
  background-color: var(--color-accent);
  color: var(--color-bg-deep);
}

/* ── Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-deep);
}

::-webkit-scrollbar-thumb {
  background: var(--color-accent-warm);
  border-radius: var(--radius-pill);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}
