/* ==========================================================================
   Glowmigos — Reset + base typography
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: var(--c-blue) var(--s-deep);
}

body {
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--t-body);
  background: var(--s-deep);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100%;
}

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

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

a { color: var(--c-cyan); text-decoration-color: rgba(69, 231, 247, 0.4); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }

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

/* --- Headings ----------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 800;
  color: var(--t-bright);
  letter-spacing: var(--tr-tight);
  line-height: var(--lh-tight);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-snug); }

p { text-wrap: pretty; }

/* --- Utility ------------------------------------------------------------ */
.u-eyebrow {
  --eb: var(--c-gold);
  display: inline-flex; align-items: center; gap: 0.6em;
  justify-self: start; align-self: start; inline-size: fit-content;
  padding: 0.42em 0.95em 0.42em 0.8em;
  border-radius: var(--r-pill);
  font-size: var(--fs-eyebrow); font-weight: 800;
  letter-spacing: var(--tr-wider); text-transform: uppercase;
  color: var(--eb);
  background: color-mix(in srgb, var(--eb) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--eb) 42%, transparent);
  box-shadow: 0 0 calc(10px + var(--glow) * 22px) -6px color-mix(in srgb, var(--eb) 80%, transparent);
}
.u-eyebrow::before {
  content: ""; inline-size: 0.5em; block-size: 0.5em; border-radius: 50%;
  background: var(--eb);
  box-shadow: 0 0 calc(5px + var(--glow) * 9px) var(--eb);
}
.u-eyebrow--cyan { --eb: var(--c-cyan); }
.u-eyebrow--pink { --eb: var(--c-pink); }

.u-lead { font-size: var(--fs-lead); color: var(--t-body); max-inline-size: var(--maxw-text); }
.u-measure { max-inline-size: var(--maxw-text); }

.u-sr {
  position: absolute !important; inline-size: 1px; block-size: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

/* --- Focus -------------------------------------------------------------- */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--c-sun);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.skip-link {
  position: fixed; inset-block-start: 0.5rem; inset-inline-start: 0.5rem;
  z-index: var(--z-modal);
  padding: 0.7rem 1.1rem; border-radius: var(--r-md);
  background: var(--c-sun); color: var(--c-navy);
  font-weight: 800; text-decoration: none;
  transform: translateY(-160%);
  transition: transform var(--d-fast) var(--e-out);
}
.skip-link:focus-visible { transform: none; }

::selection { background: var(--c-sun); color: var(--c-navy); }
