/* ==========================================================================
   BASE — Variables, Reset, Typography, Globals
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand Colors */
  --ink:        #091717;
  --teal:       #35BDC8;
  --teal-light: #DEF7F9;
  --warm-white: #FBFBF7;
  --white:      #FFFFFF;
  --slate:      #315F64;
  --mist:       #DCEFF1;
  --forest:     #023C44;
  --forest-mid: #1A6872;
  --peach:      #FFD2A6;
  --paper-blue: #DEF7F9;

  /* Typography */
  --font-serif: 'Lora', Georgia, serif;
  --font-sans:  'Instrument Sans', system-ui, sans-serif;

  /* Layout */
  --content-max:   1200px;
  --section-pad-v: 120px;
  --section-pad-h: 60px;

  /* Transitions */
  --ease-fast: 0.2s ease;
  --ease-base: 0.3s ease;
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--warm-white);
  color: var(--slate);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ---------- Accessibility ---------- */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--teal);
  color: var(--ink);
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  z-index: 9999;
}
.skip-link:focus {
  top: 0;
}

/* ---------- Base Elements ---------- */
img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

/* ---------- Typography Base ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

p {
  line-height: 1.75;
}

/* ---------- Shared UI Atoms ---------- */

/* Eyebrow Label */
.eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}

.eyebrow--clay { color: var(--teal); }

/* Clay Underline Rule */
.clay-rule {
  width: 80px;
  height: 2px;
  background-color: var(--teal);
  margin: 28px 0;
}
