/* ── RESET ── */

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  color: var(--color-ink);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

img {
  height: auto;
}

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

ul, ol {
  list-style: none;
}

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

button {
  cursor: pointer;
}

/* ── TYPOGRAPHY ── */

.display {
  font-family: var(--font-head);
  font-size: clamp(52px, 6.5vw, 96px);
  font-weight: var(--fw-black);
  line-height: var(--lh-tight);
  letter-spacing: -0.025em;
}

h1 {
  font-family: var(--font-head);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: var(--fw-bold);
  line-height: var(--lh-head);
  letter-spacing: -0.02em;
}

h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: var(--fw-bold);
  line-height: var(--lh-sub);
  letter-spacing: -0.015em;
}

h3 {
  font-family: var(--font-head);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: var(--fw-semibold);
  line-height: 1.3;
}

h4 {
  font-family: var(--font-head);
  font-size: var(--text-xl);
  font-weight: var(--fw-semibold);
  line-height: 1.3;
}

h5, h6 {
  font-family: var(--font-head);
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-body);
}

p {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-para);
  color: var(--color-gray-700);
}

.eyebrow {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: var(--fw-bold);
  line-height: 1;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--color-orange);
}

/* Paragraph variants — from Figma Typography tokens */
.text-para-lg {
  font-size: var(--text-lg);
  font-weight: var(--fw-medium);
  line-height: var(--lh-para-lg);
}

.text-para-sm {
  font-size: var(--text-sm);
  font-weight: var(--fw-light);
  line-height: var(--lh-label);
}

.text-nav {
  font-family: var(--font-head);
  font-size: var(--text-base);
  font-weight: var(--fw-medium);
  line-height: var(--lh-nav);
}

.text-btn {
  font-family: var(--font-head);
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-nav);
}

/* ── COLOR UTILITIES ── */

.text-white       { color: var(--color-white); }
.text-white-60    { color: var(--color-white-60); }
.text-white-80    { color: var(--color-white-80); }
.text-darkblue    { color: var(--color-darkblue); }
.text-orange      { color: var(--color-orange); }
.text-gray        { color: var(--color-gray-700); }

.bg-dark          { background-color: var(--color-darkblue); }
.bg-light         { background-color: var(--color-off-white); }
.bg-white         { background-color: var(--color-white); }

/* ── FOCUS VISIBLE ── */

:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 2px;
}

/* ── SELECTION ── */

::selection {
  background: var(--color-darkorange);
  color: var(--color-white);
}

/* ── SCROLLBAR (WebKit) ── */

::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-gray-100); }
::-webkit-scrollbar-thumb { background: var(--color-gray-400); border-radius: 3px; }

/* ── SCREEN READER ONLY ── */

.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;
}

/* ── TRANSITIONS (global) ── */

a,
button,
.transition {
  transition: color var(--dur-base) var(--ease-out),
              background-color var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              opacity var(--dur-base) var(--ease-out);
}
