/* ==========================================================================
   CREA212 — reset.css
   Minimal reset + design tokens shared by every page.
   ========================================================================== */

:root {
  /* Brand palette (kept from the CREA212 identity) */
  --c-charcoal: #191515;
  --c-charcoal-soft: #221e1d;
  --c-off-white: #fbfbfa;
  --c-mint: #54c381;
  --c-mint-deep: #2f9d5f;
  --c-red: #f24052;
  --c-pink: #eaa1aa;
  --c-lime: #dedab0;

  /* Depth surfaces for the more dimensional 2026 look */
  --c-surface: #ffffff;
  --c-surface-sunken: #f3f1ec;
  --c-ink: var(--c-charcoal);
  --c-ink-soft: rgba(25, 21, 21, 0.68);
  --c-ink-faint: rgba(25, 21, 21, 0.46);
  --c-line: rgba(25, 21, 21, 0.1);
  --c-line-soft: rgba(25, 21, 21, 0.06);

  /* Elevation */
  --shadow-xs: 0 2px 10px rgba(25, 21, 21, 0.06);
  --shadow-sm: 0 10px 30px rgba(25, 21, 21, 0.09);
  --shadow-md: 0 20px 50px rgba(25, 21, 21, 0.14);
  --shadow-lg: 0 34px 90px rgba(25, 21, 21, 0.20);
  --shadow-glow-mint: 0 18px 45px rgba(84, 195, 129, 0.32);
  --shadow-glow-red: 0 18px 45px rgba(242, 64, 82, 0.28);

  /* Radii */
  --r-xs: 12px;
  --r-sm: 20px;
  --r-md: 30px;
  --r-lg: 42px;
  --r-pill: 999px;

  /* Type */
  --font-base: "Poppins", "Segoe UI", "Avenir Next", system-ui, -apple-system, sans-serif;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-black: 800;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 220ms;
  --dur-med: 420ms;
  --dur-slow: 720ms;

  /* Layout */
  --shell: min(1320px, calc(100% - 48px));
  --header-h: 88px;
  --perspective: 1400px;

  color-scheme: light;
}

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

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--c-off-white);
  -webkit-text-size-adjust: 100%;
}

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

body {
  min-width: 320px;
  min-height: 100svh;
  color: var(--c-ink);
  background: var(--c-off-white);
  font-family: var(--font-base);
  font-weight: var(--fw-regular);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  color: inherit;
  font: inherit;
  background: none;
  border: 0;
}

button {
  cursor: pointer;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: var(--fw-bold);
  line-height: 1.1;
}

table {
  border-collapse: collapse;
}

::selection {
  color: var(--c-off-white);
  background: var(--c-charcoal);
}

:focus-visible {
  outline: 3px solid var(--c-mint);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

main {
  position: relative;
  z-index: 1;
  display: block;
  overflow-x: clip;
}
