/* 02-base.css · Reset, page defaults and typography (labels, headings, gradient text)
   Part of the Lumen stylesheet, loaded in numeric order (the cascade depends on it). */

/* ══════════ BASE ══════════ */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
html.is-locked { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
h1, h2, h3 {
  overflow-wrap: break-word;
  text-wrap: balance;
}
::selection {
  background: rgba(253, 186, 116, .3);
  color: var(--white);
}
:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
  border-radius: 4px;
}
[tabindex="-1"]:focus { outline: none; }
/* English is applied by assets/js/i18n.js at the end of the body: until then the page waits hidden, never more than 1.5s */
.lang-pending body {
  visibility: hidden;
  animation: langFailsafe 0s 1.5s forwards;
}
@keyframes langFailsafe {
  to { visibility: visible; }
}
.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;
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 300;
  padding: .75rem 1.25rem;
  border-radius: var(--pill);
  background: var(--accent);
  color: var(--bg);
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .12em;
  font-weight: 500;
  text-transform: uppercase;
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 1rem; }
.icon {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ══════════ TYPOGRAPHY ══════════ */
/* Fluxora section header: label left, index right, a light rule fading out under it */
.eyebrow {
  position: relative;
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: 1.75rem;
  padding-bottom: .9rem;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ice);
}
.eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--sky-line), rgba(255, 255, 255, .1) 45%, transparent);
}
.eyebrow__n {
  order: 2;
  margin-left: auto;
  color: var(--accent);
}
.eyebrow__n::before {
  content: "(";
  color: var(--marker);
}
.eyebrow__n::after {
  content: ")";
  color: var(--marker);
}
.spaced {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--accent);
}
.label {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
}
.h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.9rem, 4.2vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -.04em;
  color: var(--white);
}
/* the Aura accent: emphasis turns to a lit italic serif */
.h2 em, .stacked em, .csec h2 em, .statement em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  letter-spacing: -.015em;
  color: var(--ice);
  text-shadow: 0 0 28px rgba(56, 189, 248, .38);
}
.h2 em, .csec h2 em { font-size: 1.08em; }
.case-title em, .proj__title em {
  font-style: normal;
  color: var(--muted);
}
.lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.0625rem);
  max-width: 34rem;
}
.wd { display: inline-block; }
