/* ==========================================================================
   eleeux.com — v2 "report modules" styles
   Mobile-first. Breakpoints (Bootstrap-standard):
     sm 576px · md 768px · lg 992px · xl 1200px · xxl 1400px
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --void: #121518;          /* page backdrop */
  --void-2: #1a1e22;
  --panel-dark: #1d2226;    /* dark module */
  --panel-light: #eef0f1;   /* light module */
  --panel-white: #ffffff;
  --ink: #23272b;           /* text on light */
  --ink-muted: #545c63;
  --rule-light: #c6cbcf;
  --rule-dark: #3a4148;
  --on-dark: #e8ebed;
  --on-dark-muted: #a3acb3;
  --ice: #8fc3d4;           /* accent on dark */
  --ice-deep: #2b6a80;      /* accent on light */

  --font: "Figtree", "Helvetica Neue", Arial, system-ui, sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.25rem;
  --fs-lg: 1.5625rem;
  --fs-xl: clamp(1.75rem, 1.3rem + 1.8vw, 2.25rem);
  --fs-title: clamp(2rem, 1.1rem + 4.2vw, 4rem);

  --track-caps: 0.14em;
  --gutter: 1rem;
  --pad: 1.5rem;            /* module padding */
  --container: 100%;
  --header-h: 64px;
}

@media (min-width: 576px)  { :root { --container: 540px; } }
@media (min-width: 768px)  { :root { --container: 720px; --gutter: 1.5rem; --pad: 2.25rem; } }
@media (min-width: 992px)  { :root { --container: 960px; --header-h: 76px; --pad: 3rem; } }
@media (min-width: 1200px) { :root { --container: 1140px; } }
@media (min-width: 1400px) { :root { --container: 1200px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  background: var(--void);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--void);
  color: var(--on-dark);
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.65;
  position: relative;
  isolation: isolate;
}

/* Backdrop: slow-drifting light spheres behind the report column */
body::before {
  content: "";
  position: fixed;
  inset: -20vmax;
  z-index: -1;
  background:
    radial-gradient(38vmax 38vmax at 18% 22%, rgba(143, 195, 212, 0.16), transparent 62%),
    radial-gradient(30vmax 30vmax at 82% 30%, rgba(232, 235, 237, 0.08), transparent 60%),
    radial-gradient(44vmax 44vmax at 60% 88%, rgba(143, 195, 212, 0.10), transparent 64%),
    linear-gradient(180deg, #171b1f 0%, var(--void) 55%);
  animation: drift 40s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-3vmax, 2vmax, 0) scale(1.06); }
}

main { flex: 1 0 auto; }

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 300; line-height: 1.15; }
p { margin: 0 0 1em; max-width: 70ch; }

a { color: inherit; text-underline-offset: 0.2em; }

:focus-visible { outline: 3px solid var(--ice); outline-offset: 3px; }
.module--light :focus-visible,
.module--white :focus-visible { outline-color: var(--ice-deep); }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Type system: caps, two weights ---------- */
.caps {
  text-transform: uppercase;
  letter-spacing: var(--track-caps);
}
.duo { font-weight: 300; }
.duo b, .duo strong { font-weight: 800; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 100;
  background: var(--panel-white);
  color: var(--ink);
  padding: 0.75rem 1rem;
  font-weight: 700;
}
.skip-link:focus { top: 0.75rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 21, 24, 0.92);
  border-bottom: 1px solid var(--rule-dark);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  font-size: var(--fs-sm);
  color: var(--on-dark);
}
.wordmark-mark {
  width: 28px; height: 28px;
  margin-right: 0.7rem;
  flex: none;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0 1rem;
  background: transparent;
  color: var(--on-dark);
  border: 1px solid var(--rule-dark);
  font: inherit;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--track-caps);
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px; height: 1.5px;
  background: currentColor;
  position: relative;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  text-decoration: none;
  color: var(--on-dark-muted);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--track-caps);
}
.site-nav a:hover { color: var(--panel-white); }
.site-nav a[aria-current="page"] { color: var(--panel-white); }

@media (max-width: 991.98px) {
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--void);
    border-bottom: 1px solid var(--rule-dark);
    padding: 0.5rem var(--gutter) 1.25rem;
  }
  .js .site-nav[data-open="false"] { display: none; }
  .site-nav li + li { border-top: 1px solid var(--rule-dark); }
  .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--ice); padding-left: 0.85rem; }
}
html:not(.js) .nav-toggle { display: none; }
html:not(.js) .site-nav { position: static; }

@media (min-width: 992px) {
  .nav-toggle { display: none; }
  .site-nav ul { display: flex; gap: 2.5rem; }
  .site-nav a { min-height: var(--header-h); }
  .site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--ice); }
}

/* ---------- Page title (sits on the backdrop) ---------- */
.page-title {
  padding-block: 2.75rem 1.75rem;
}
@media (min-width: 992px) { .page-title { padding-block: 4.5rem 2.5rem; } }
.page-title h1 {
  font-size: var(--fs-title);
  color: var(--panel-white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.05;
}
.page-title p {
  margin: 1rem 0 0;
  color: var(--on-dark-muted);
  font-size: var(--fs-md);
  font-weight: 300;
  max-width: 44ch;
}

/* ---------- The report column ---------- */
.report { padding-bottom: 4rem; }
.report-banner {
  position: relative;
  background: #000;
  overflow: hidden;
}
.report-banner img {
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
}
@media (max-width: 767.98px) { .report-banner img { aspect-ratio: 16 / 9; } }

/* ---------- Modules ---------- */
.module {
  padding: var(--pad) var(--gutter);
}
@media (min-width: 768px) { .module { padding: var(--pad); } }
.module--light { background: var(--panel-light); color: var(--ink); }
.module--white { background: var(--panel-white); color: var(--ink); }
.module--dark  { background: var(--panel-dark); color: var(--on-dark); }

.mod-label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-muted);
  margin-bottom: 0.35rem;
}
.mod-label b { font-weight: 800; color: var(--ice-deep); }
.module--dark .mod-label { color: var(--on-dark-muted); }
.module--dark .mod-label b { color: var(--ice); }

.mod-title {
  font-size: var(--fs-xl);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: inherit;
  margin-bottom: 0.5rem;
}
.mod-sub {
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--track-caps);
  margin: 0 0 0.75rem;
}
.mod-sub .light { font-weight: 400; }
.mod-note { color: var(--ink-muted); }
.module--dark .mod-note { color: var(--on-dark-muted); }

.module p { color: var(--ink-muted); }
.module--dark p { color: var(--on-dark-muted); }
.module p.lede {
  color: var(--ink);
  font-size: var(--fs-md);
  font-weight: 400;
  line-height: 1.5;
}
.module--dark p.lede { color: var(--on-dark); }

.module a { color: var(--ice-deep); font-weight: 600; }
.module--dark a { color: var(--ice); }

/* The page's signature divider */
.gradient-divide {
  height: 1px;
  margin: 1.5rem 0;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--ice-deep) 20%, var(--ice-deep) 80%, transparent);
}
.module--dark .gradient-divide {
  background: linear-gradient(90deg, transparent, var(--ice) 20%, var(--ice) 80%, transparent);
}

/* Two-column module */
.cols { display: grid; gap: 2rem; }
@media (min-width: 768px) {
  .cols { grid-template-columns: 1fr 1fr; gap: 0; }
  .cols > * { padding-right: var(--pad); }
  .cols > * + * {
    padding-right: 0;
    padding-left: var(--pad);
    border-left: 1px solid var(--rule-light);
  }
  .module--dark .cols > * + * { border-left-color: var(--rule-dark); }
}
.cols--split { }
@media (min-width: 992px) {
  .cols--wide { grid-template-columns: 5fr 7fr; }
}

/* ---------- Report links (DOWNLOAD FOR RECORD-KEEPING style) ---------- */
.report-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0 1.25rem;
  border: 1px solid currentColor;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: var(--fs-xs);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--track-caps);
  text-decoration: none;
  cursor: pointer;
}
.report-link b { font-weight: 800; }
.report-link:hover { background: var(--ink); color: var(--panel-white); }
.module .report-link { color: var(--ink); font-weight: 400; }
.module--dark .report-link { color: var(--on-dark); }
.module--dark .report-link:hover { background: var(--on-dark); color: var(--panel-dark); }
.report-link--solid { background: var(--ink); color: var(--panel-white) !important; border-color: var(--ink); }
.report-link--solid:hover { background: var(--ice-deep); border-color: var(--ice-deep); }

.link-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* ---------- Figures: gauges and stats ---------- */
.figures {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 1rem;
}
@media (min-width: 992px) { .figures { grid-template-columns: repeat(4, 1fr); } }
.figure { text-align: center; }
.figure svg { width: 100%; max-width: 140px; margin: 0 auto 0.75rem; display: block; }
.gauge-track { stroke: var(--rule-dark); }
.gauge-fill { stroke: var(--ice); }
.gauge-value {
  fill: var(--panel-white);
  font-family: var(--font);
  font-size: 30px;
  font-weight: 800;
}
.gauge-unit { fill: var(--on-dark-muted); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; }
.figure-label {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--track-caps);
  color: var(--on-dark);
  display: block;
}
.figure-note { font-size: var(--fs-sm); color: var(--on-dark-muted); display: block; margin-top: 0.25rem; }

/* ---------- Element tiles (the periodic-table key) ---------- */
.elements {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
@media (min-width: 576px) { .elements { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 992px) { .elements { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1200px) { .elements--wide { grid-template-columns: repeat(6, 1fr); } }

.element {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--rule-dark);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0.5rem;
  text-align: center;
  min-width: 0;
}
.module--light .element,
.module--white .element { border-color: var(--rule-light); background: var(--panel-white); }
.module--white .element { background: var(--panel-light); }
.element-num {
  position: absolute;
  top: 0.4rem; left: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--on-dark-muted);
  font-variant-numeric: tabular-nums;
}
.element-code {
  font-size: clamp(1.5rem, 1rem + 2.2vw, 2.25rem);
  font-weight: 300;
  line-height: 1;
  color: var(--panel-white);
}
.element-name {
  margin-top: 0.45rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.25;
  color: var(--on-dark);
  overflow-wrap: anywhere;
}
@media (min-width: 768px) { .element-name { font-size: 0.6875rem; } }
.module--light .element-num, .module--white .element-num { color: var(--ink-muted); }
.module--light .element-code, .module--white .element-code { color: var(--ink); }
.module--light .element-name, .module--white .element-name { color: var(--ink); }

a.element { text-decoration: none; color: inherit; }
a.element:hover { border-color: var(--ice); background: rgba(143, 195, 212, 0.08); }
.module--light a.element:hover { border-color: var(--ice-deep); }
a.element .element-code { font-weight: 700; }

.element-legend { margin-top: 1rem; font-size: var(--fs-sm); }

/* ---------- Focus list (tags) ---------- */
.focus-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.focus-list li {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--rule-light);
  color: var(--ink);
}
.module--dark .focus-list li { border-color: var(--rule-dark); color: var(--on-dark); }

/* ---------- Screenshots / lightbox triggers ---------- */
.shots {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 768px) { .shots { grid-template-columns: repeat(2, 1fr); } }
.shots li:first-child,
.shots li:nth-child(even):last-child { grid-column: 1 / -1; }

.shot {
  display: block;
  background: #000;
  border: 1px solid var(--rule-light);
  cursor: zoom-in;
}
.module--dark .shot { border-color: var(--rule-dark); }
.shot img { width: 100%; }
.shot:hover img { opacity: 0.88; }

/* ---------- Home: work index ---------- */
.work-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-light); }
.work-index li { border-bottom: 1px solid var(--rule-light); }
.work-index a {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 0;
  text-decoration: none;
  color: var(--ink);
  font-weight: 400;
}
.work-index .wi-name { font-size: var(--fs-md); text-transform: uppercase; letter-spacing: 0.06em; }
.work-index .wi-desc { color: var(--ink-muted); font-size: var(--fs-sm); }
.work-index a:hover .wi-name { text-decoration: underline; }
@media (min-width: 768px) {
  .work-index a { grid-template-columns: 4rem 1fr 1.2fr; align-items: baseline; gap: 1.5rem; }
}
.wi-num { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em; color: var(--ice-deep); }

/* ---------- Workflow ---------- */
.step-index {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 2rem;
}
@media (min-width: 576px) { .step-index { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .step-index { grid-template-columns: repeat(3, 1fr); } }
.step-index a {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  min-height: 44px;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--rule-dark);
  text-decoration: none;
  color: var(--on-dark);
  font-weight: 400;
  font-size: var(--fs-sm);
}
.step-index a span { font-weight: 800; color: var(--ice); font-size: var(--fs-xs); letter-spacing: 0.1em; min-width: 2.2rem; }
.step-index a:hover { color: var(--panel-white); text-decoration: underline; }

.step-media .shot { border: 0; background: transparent; }
.step-summary { font-weight: 600; color: var(--ink) !important; }
.module--dark .step-summary { color: var(--on-dark) !important; }

/* ---------- Resume ---------- */
.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--track-caps);
  color: var(--ink-muted);
  margin-bottom: 1.25rem;
}
.module--dark .job-meta { color: var(--on-dark-muted); }
.job-meta .when { color: var(--ice-deep); }
.module--dark .job-meta .when { color: var(--ice); }

.duties { display: grid; gap: 1.5rem; }
@media (min-width: 992px) { .duties { grid-template-columns: 1fr 1fr; gap: 2rem 3rem; } }
.duties h4 {
  font-size: var(--fs-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: var(--track-caps);
  margin-bottom: 0.5rem;
  color: inherit;
}
.duties p { margin: 0; }

.skill-lists { display: grid; gap: 1.5rem; margin-top: 2rem; }
@media (min-width: 768px) { .skill-lists { grid-template-columns: repeat(3, 1fr); } }
.skill-lists h4 {
  font-size: var(--fs-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: var(--track-caps);
  margin-bottom: 0.6rem;
}
.skill-lists ul { margin: 0; padding: 0; list-style: none; }
.skill-lists li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--rule-dark);
  font-size: var(--fs-sm);
  color: var(--on-dark-muted);
}
html:not(.js) .print-btn { display: none; }

/* ---------- Contact form (numbered steps) ---------- */
.form-step { margin-bottom: 1.75rem; }
.form-step label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: var(--track-caps);
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.form-step label .n { color: var(--ice-deep); margin-right: 0.4em; }
.form-step input,
.form-step textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;              /* 16px stops iOS zooming on focus */
  color: var(--ink);
  background: var(--panel-white);
  border: 1px solid #7a838a;
  border-radius: 0;
  padding: 0.8rem 0.9rem;
  min-height: 48px;
}
.form-step textarea { min-height: 10rem; resize: vertical; }
.form-step input[aria-invalid="true"],
.form-step textarea[aria-invalid="true"] { border-color: #a4262c; }
.field-error { color: #a4262c; font-size: var(--fs-sm); font-weight: 700; margin: 0.4rem 0 0; }
.field-error:empty { display: none; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form-actions a { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: var(--track-caps); }

/* ---------- Lightbox ---------- */
.lightbox {
  border: 0;
  padding: 0;
  margin: 0;
  width: 100vw; height: 100vh;
  max-width: 100vw; max-height: 100vh;
  background: transparent;
  color: var(--on-dark);
}
.lightbox::backdrop { background: rgba(8, 10, 12, 0.95); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lightbox-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem 1rem;
  padding: 0.5rem var(--gutter);
}
.lightbox-count {
  margin: 0;
  white-space: nowrap;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--track-caps);
}
.lightbox-controls { display: flex; gap: 0.4rem; }
.lb-btn {
  min-width: 48px;
  min-height: 48px;
  padding: 0 0.9rem;
  background: transparent;
  color: var(--on-dark);
  border: 1px solid var(--rule-dark);
  font: inherit;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
}
.lb-btn:hover { border-color: var(--ice); color: var(--panel-white); }
.lightbox-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0 var(--gutter);
}
.lightbox-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox-caption {
  margin: 0 auto;
  padding: 0.75rem var(--gutter) 1rem;
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--on-dark-muted);
}

/* ---------- Footer: site index ---------- */
.site-footer {
  border-top: 1px solid var(--rule-dark);
  background: rgba(18, 21, 24, 0.9);
  padding-block: 2.5rem 2rem;
  font-size: var(--fs-sm);
}
.footer-index {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) { .footer-index { grid-template-columns: repeat(3, 1fr); } }
.col-header {
  font-size: var(--fs-xs);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--track-caps);
  color: var(--on-dark-muted);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--rule-dark);
  margin-bottom: 0.4rem;
}
.col-header b { font-weight: 800; color: var(--on-dark); }
.footer-index ul { list-style: none; margin: 0; padding: 0; }
.footer-index a {
  display: flex;
  align-items: center;
  min-height: 40px;
  text-decoration: none;
  color: var(--on-dark-muted);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.footer-index a:hover { color: var(--panel-white); text-decoration: underline; }
.copy { font-size: var(--fs-xs); color: var(--on-dark-muted); letter-spacing: 0.08em; margin: 0; }

/* ---------- Reduced motion ---------- */
@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;
  }
  body::before { animation: none; }
}

/* ---------- Print (resume) ---------- */
@media print {
  html, body { background: #fff !important; color: #000; }
  body::before, .site-header, .site-footer, .skip-link, .report-banner, .no-print { display: none !important; }
  .page-title h1 { color: #000; }
  .page-title p { color: #333; }
  .module { padding: 0 0 1rem !important; background: #fff !important; color: #000 !important; }
  .module p, .module--dark p, .skill-lists li, .job-meta { color: #222 !important; }
  .element { border-color: #999 !important; background: #fff !important; }
  .element-code, .element-name, .element-num { color: #000 !important; }
  .cols > * + * { border-left: 0 !important; }
}

abbr.element-code { text-decoration: none; cursor: help; border: 0; }
