/* =========================================
   ORVENTA — Base Reset + Global Styles
   ========================================= */

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

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);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

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

ul[role='list'], ol[role='list'] { list-style: none; }

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

/* ---- Headings: General Sans, tighter hierarchy ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-text-strong);
  text-wrap: balance;
  line-height: 1.15;
}

h1 { font-weight: 600; letter-spacing: -0.025em; }
h2 { font-weight: 600; }
h3 { font-weight: 600; letter-spacing: -0.015em; }
h4, h5, h6 { font-weight: 600; letter-spacing: -0.01em; }

/* ---- Body ---- */
p, li, figcaption {
  text-wrap: pretty;
  max-width: 68ch;
}

strong, b { font-weight: 600; color: var(--color-text-strong); }

::selection {
  background: var(--color-primary-highlight);
  color: var(--color-text-strong);
}

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

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

button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }

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

/* ---- Layout Utilities ---- */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-5), 5vw, var(--space-10));
}

.container--narrow { max-width: var(--content-narrow); }
.container--default { max-width: var(--content-default); }
.container--xwide { max-width: var(--content-xwide); }

section {
  padding-block: var(--section-pad-y);
}

/* ---- Eyebrow / accent line ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.eyebrow::before {
  content: '';
  display: block;
  width: 18px;
  height: 1px;
  background: var(--color-primary);
}

/* ---- Accent serif (Zodiak) — used very sparingly ---- */
.accent-serif {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* Kept for legacy hero highlight; now subtle, no fill ---- */
.gradient-text {
  color: var(--color-primary);
}

/* Glow line divider — kept but desaturated */
.glow-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
  border: none;
}

/* Premium section heading — used as our standard h2 pattern */
.section-heading {
  font-size: var(--text-3xl);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--color-text-strong);
  max-width: 22ch;
}

.section-lead {
  font-size: var(--text-md);
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 60ch;
  margin-top: var(--space-4);
}
