/*--------------------------------------------------------------
# Design tokens
--------------------------------------------------------------*/
:root {
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-md: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --text-lg: clamp(1.5rem, 1.35rem + 0.8vw, 1.75rem);
  --text-xl: clamp(1.625rem, 1.3rem + 1.5vw, 2.25rem);
  --text-2xl: clamp(2.125rem, 1.25rem + 4vw, 4.25rem);
  --text-page-title: clamp(2rem, 1.35rem + 2.5vw, 3.5rem);
  --text-lede: clamp(1.1875rem, 1.125rem + 0.3vw, 1.3125rem);
  --text-nav: 0.8125rem;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --leading-display: 1.1;
  --leading-title: 1.12;
  --leading-heading: 1.18;
  --leading-card: 1.25;
  --leading-lede: 1.5;
  --leading-body: 1.6;
  --leading-control: 1.3;
  --leading-meta: 1.4;
  --leading-nav: 1.2;
  --tracking-display: -0.035em;
  --tracking-title: -0.03em;
  --tracking-heading: -0.02em;
  --tracking-card: -0.015em;
  --tracking-control: -0.01em;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 6rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --card-padding: clamp(1.25rem, 3vw, 2rem);
  --section-spacing: clamp(3rem, 7vw, 6rem);
  --glass-blur: 20px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-feature: 32px;
  --radius-pill: 999px;
  --max-width: 72rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-control: 200ms;
  --duration-reveal: 400ms;
  --reveal-stagger: 50ms;

  --paper: #f2f4fa;
  --surface: #f7f8fc;
  --ink: #101321;
  --ink-soft: #41495b;
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-content-bg: rgba(255, 255, 255, 0.82);
  --glass-feature-bg: rgba(255, 255, 255, 0.42);
  --glass-border: rgba(255, 255, 255, 0.72);
  --glass-sheen: rgba(255, 255, 255, 0.48);
  --glass-content-sheen: rgba(255, 255, 255, 0.18);
  --line: rgba(16, 19, 33, 0.16);
  --brand: #4338ca;
  --nav-accent: #4338ca;
  --brand-fill: #4338ca;
  --brand-on-fill: #ffffff;
  --brand-hover: #3730a3;
  --brand-glow: rgba(67, 56, 202, 0.18);
  --signal-ok: #1e6e62;
  --signal-ok-soft: #e2eeec;
  --signal-progress: #8a4e12;
  --signal-progress-soft: #f4e7db;
  --shadow-card: 0 8px 24px rgba(31, 38, 75, 0.06), 0 24px 64px rgba(31, 38, 75, 0.08);
  --shadow-content: 0 2px 6px rgba(31, 38, 75, 0.03), 0 8px 20px rgba(31, 38, 75, 0.04);
  --shadow-content-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  --shadow-chrome: 0 8px 24px rgba(31, 38, 75, 0.10), 0 24px 60px rgba(31, 38, 75, 0.12);
  --shadow-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  --mesh-azure: rgba(94, 155, 255, 0.32);
  --mesh-violet: rgba(156, 122, 255, 0.28);
  --mesh-cyan: rgba(81, 217, 208, 0.24);
  --mesh-opacity: 1;
  --mesh-continuation-opacity: 0.28;
  color-scheme: light;
}

/* System default; an explicit light choice always wins. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0b0d16;
    --surface: #1e1e24;
    --ink: #f5f7ff;
    --ink-soft: #c2cada;
    --glass-bg: rgba(30, 30, 30, 0.6);
    --glass-content-bg: rgba(24, 27, 39, 0.86);
    --glass-feature-bg: rgba(24, 27, 39, 0.5);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-sheen: rgba(255, 255, 255, 0.09);
    --glass-content-sheen: rgba(255, 255, 255, 0.035);
    --line: rgba(245, 247, 255, 0.18);
    --brand: #b2a7ff;
    --nav-accent: #c7bfff;
    --brand-fill: #a99bf8;
    --brand-on-fill: #101321;
    --brand-hover: #bcb1ff;
    --brand-glow: rgba(169, 155, 248, 0.18);
    --signal-ok: #4fd1b8;
    --signal-ok-soft: rgba(79, 209, 184, 0.14);
    --signal-progress: #e2984f;
    --signal-progress-soft: rgba(226, 152, 79, 0.14);
    --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.20), 0 24px 64px rgba(0, 0, 0, 0.24);
    --shadow-content: 0 2px 8px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.14);
    --shadow-content-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    --shadow-chrome: 0 8px 24px rgba(0, 0, 0, 0.26), 0 24px 60px rgba(0, 0, 0, 0.32);
    --shadow-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    --mesh-azure: rgba(38, 80, 180, 0.36);
    --mesh-violet: rgba(100, 62, 180, 0.32);
    --mesh-cyan: rgba(81, 217, 208, 0.18);
    color-scheme: dark;
  }
}

/* Explicit dark choice also works against a light OS preference. */
:root[data-theme="dark"] {
  --paper: #0b0d16;
  --surface: #1e1e24;
  --ink: #f5f7ff;
  --ink-soft: #c2cada;
  --glass-bg: rgba(30, 30, 30, 0.6);
  --glass-content-bg: rgba(24, 27, 39, 0.86);
  --glass-feature-bg: rgba(24, 27, 39, 0.5);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-sheen: rgba(255, 255, 255, 0.09);
  --glass-content-sheen: rgba(255, 255, 255, 0.035);
  --line: rgba(245, 247, 255, 0.18);
  --brand: #b2a7ff;
  --nav-accent: #c7bfff;
  --brand-fill: #a99bf8;
  --brand-on-fill: #101321;
  --brand-hover: #bcb1ff;
  --brand-glow: rgba(169, 155, 248, 0.18);
  --signal-ok: #4fd1b8;
  --signal-ok-soft: rgba(79, 209, 184, 0.14);
  --signal-progress: #e2984f;
  --signal-progress-soft: rgba(226, 152, 79, 0.14);
  --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.20), 0 24px 64px rgba(0, 0, 0, 0.24);
  --shadow-content: 0 2px 8px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.14);
  --shadow-content-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --shadow-chrome: 0 8px 24px rgba(0, 0, 0, 0.26), 0 24px 60px rgba(0, 0, 0, 0.32);
  --shadow-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  --mesh-azure: rgba(38, 80, 180, 0.36);
  --mesh-violet: rgba(100, 62, 180, 0.32);
  --mesh-cyan: rgba(81, 217, 208, 0.18);
  color-scheme: dark;
}

/*--------------------------------------------------------------
# Reset & base
--------------------------------------------------------------*/
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

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

h1, h2, h3, h4, h5, h6 {
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 var(--space-4);
}

h1 { font-size: var(--text-2xl); font-weight: var(--weight-bold); line-height: var(--leading-display); letter-spacing: var(--tracking-display); }
h2 { font-size: var(--text-xl); font-weight: var(--weight-bold); line-height: var(--leading-heading); letter-spacing: var(--tracking-heading); }
h3 { font-size: var(--text-md); line-height: var(--leading-card); letter-spacing: var(--tracking-card); }
h4 { font-size: var(--text-md); }

p { margin: 0 0 var(--space-4); color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }

a {
  color: var(--signal-ok);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
  transition: color 0.2s var(--ease);
}
a:hover { color: var(--ink); }

ul { margin: 0; padding: 0; list-style: none; }

/* Visible keyboard focus; retain each component's own corner radius. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--signal-ok);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: #12171f;
  color: #fff;
  padding: var(--space-3) var(--space-4);
  z-index: 200;
  font-family: var(--font-body);
  font-size: var(--text-sm);
}
.skip-link:focus {
  left: var(--space-4);
  top: var(--space-4);
}

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

@media (min-width: 700px) {
  .container { padding-inline: var(--space-6); }
}

.mono {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.02em;
}

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--signal-ok);
  text-transform: none;
  letter-spacing: normal;
  margin-bottom: var(--space-3);
}

.section {
  padding-block: var(--section-spacing);
}
.section-continuation { padding-top: 0; }

.section-title {
  max-width: 40rem;
  margin-bottom: var(--space-7);
}
.section-title h2 { margin-bottom: var(--space-2); }
.section-title p { color: var(--ink-soft); }

/*--------------------------------------------------------------
# Mesh backdrop and shared materials
--------------------------------------------------------------*/
/* Empty pseudo-elements are decorative and cannot capture input. No transforms
   or clipping on page ancestors: fixed chrome keeps its viewport reference. */
body { position: relative; isolation: isolate; }
body::before,
.hero::before,
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 35vw 40vw at 10% 15%, var(--mesh-azure), transparent 100%),
    radial-gradient(ellipse 40vw 35vw at 85% 20%, var(--mesh-violet), transparent 100%),
    radial-gradient(ellipse 35vw 40vw at 55% 80%, var(--mesh-cyan), transparent 100%);
  background-repeat: no-repeat;
  opacity: var(--mesh-opacity);
}
body::before {
  opacity: var(--mesh-continuation-opacity);
  background-size: 100% 100%;
}
.hero, .page-header { position: relative; isolation: isolate; }

/* Opaque first; each panel uses a single backdrop-filter layer. */
.glass, .glass-content, .glass-chrome,
.status-card, .contact-card, .resume-cta, .hero-diagram-panel {
  --material-bg: var(--glass-bg);
  --material-sheen: var(--glass-sheen);
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card), var(--shadow-highlight);
}
.glass-content { --material-bg: var(--glass-content-bg); }
.glass-chrome { box-shadow: var(--shadow-chrome), var(--shadow-highlight); }
/* Long reading panels sit below interactive cards and floating chrome.
   Keep their dense backing; only soften the sheen and elevation. */
.project-entry, .resume-content {
  --material-sheen: var(--glass-content-sheen);
  box-shadow: var(--shadow-content), var(--shadow-content-highlight);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .glass-content, .glass-chrome,
  .status-card, .contact-card, .resume-cta, .hero-diagram-panel {
    background: linear-gradient(155deg, var(--material-sheen), transparent 45%), var(--material-bg);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.35);
    backdrop-filter: blur(var(--glass-blur)) saturate(1.35);
  }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  :root { --mesh-opacity: 0; --mesh-continuation-opacity: 0; }
  .glass, .glass-content, .glass-chrome,
  .status-card, .contact-card, .resume-cta, .hero-diagram-panel {
    background: var(--surface);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-color: var(--ink-soft);
  }
}
@media (forced-colors: active) {
  body::before, .hero::before, .page-header::before { display: none; }
  .glass, .glass-content, .glass-chrome,
  .status-card, .contact-card, .resume-cta, .hero-diagram-panel {
    background: Canvas;
    border-color: CanvasText;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  min-height: 48px;
  line-height: var(--leading-control);
  letter-spacing: var(--tracking-control);
  padding: 0.85em 1.2em;
  border-radius: var(--radius);
  border: 1px solid var(--brand-fill);
  background: var(--brand-fill);
  color: var(--brand-on-fill);
  cursor: pointer;
  box-shadow: 0 0 0 0 var(--brand-glow);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:hover, .btn:focus-visible { background: var(--brand-hover); border-color: var(--brand-hover); color: var(--brand-on-fill); box-shadow: 0 0 0 6px var(--brand-glow); }
.btn:focus-visible { outline-offset: 3px; }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover, .btn-outline:focus-visible { background: var(--surface); border-color: var(--ink); color: var(--ink); box-shadow: none; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/*--------------------------------------------------------------
# Header / nav
--------------------------------------------------------------*/
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.header-inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--ink);
}
.logo:hover { color: var(--signal-ok); }
.logo span { color: var(--signal-ok); }

.header-controls {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.navmenu ul {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.navmenu a {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  text-transform: none;
  letter-spacing: normal;
  color: var(--ink-soft);
  padding: var(--space-2) 0;
  position: relative;
}
.navmenu a:hover { color: var(--ink); }
.navmenu a.active { color: var(--brand); }
.navmenu a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  background: var(--brand);
}

.theme-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  cursor: pointer;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
:root.theme-ready .theme-toggle { display: inline-flex; }
.theme-toggle:hover { border-color: var(--signal-ok); color: var(--signal-ok); }
.theme-toggle svg { width: 1.15rem; height: 1.15rem; }
.theme-toggle .icon-sun { display: none; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
}
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

/* Shared responsive shell, used by all five routes. */
.liquid-shell {
  --nav-offset: 12px;
  --header-height: 96px;
  --nav-height: 14rem; /* Conservative no-JS / no-ResizeObserver fallback. */
  --nav-clearance: calc(var(--nav-height) + env(safe-area-inset-bottom, 0px) + var(--nav-offset) + 24px);
  --shell-chrome-bg: var(--surface);
  --shell-chrome-filter: none;
  scroll-padding-block: 24px var(--nav-clearance);
}
.liquid-shell body { padding-bottom: var(--nav-clearance); }
/* A viewport-sized atmosphere remains visible behind the floating dock.
   Only the decorative layer is fixed; content keeps normal document flow. */
.liquid-shell body::before {
  position: fixed;
  opacity: var(--mesh-opacity);
  background-image:
    radial-gradient(ellipse 75% 65% at 0% 5%, var(--mesh-azure), transparent 100%),
    radial-gradient(ellipse 65% 70% at 100% 35%, var(--mesh-violet), transparent 100%),
    radial-gradient(ellipse 80% 55% at 45% 100%, var(--mesh-cyan), transparent 100%);
}
.liquid-shell .hero::before, .liquid-shell .page-header::before { content: none; }
.liquid-shell .container {
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.liquid-shell .header {
  position: relative;
  background: transparent;
  border: 0;
  padding-top: env(safe-area-inset-top, 0px);
}
.liquid-shell .header-inner {
  min-width: 0;
  min-height: 64px;
  padding: 12px max(var(--gutter), env(safe-area-inset-right, 0px)) 12px max(var(--gutter), env(safe-area-inset-left, 0px));
  flex-wrap: nowrap;
  gap: 16px;
}
.liquid-shell .logo { text-decoration: none; font-weight: 600; }
.liquid-shell .theme-toggle { min-width: 44px; min-height: 44px; flex-shrink: 0; }
.liquid-shell .navmenu {
  display: block;
  position: fixed;
  z-index: 100;
  top: auto;
  bottom: calc(var(--nav-offset) + env(safe-area-inset-bottom, 0px));
  left: max(12px, env(safe-area-inset-left, 0px));
  right: max(12px, env(safe-area-inset-right, 0px));
  transform: none;
  visibility: visible;
  width: auto;
  max-width: 30rem;
  margin-inline: auto;
  padding: 8px;
  background: linear-gradient(155deg, var(--glass-sheen), transparent 55%), var(--shell-chrome-bg);
  -webkit-backdrop-filter: var(--shell-chrome-filter);
  backdrop-filter: var(--shell-chrome-filter);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  box-shadow: var(--shadow-chrome), var(--shadow-highlight);
}
.liquid-shell .navmenu ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(max(44px, 3.2rem), 1fr));
  align-items: stretch;
  gap: 0;
}
.liquid-shell .navmenu li { display: flex; min-width: 0; }
.liquid-shell .navmenu a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 44px;
  min-height: 52px;
  flex: 1;
  height: auto;
  padding: 4px 2px;
  border-radius: 24px;
  font-size: var(--text-nav);
  font-weight: var(--weight-medium);
  line-height: var(--leading-nav);
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: background-color var(--duration-control) var(--ease), color var(--duration-control) var(--ease);
}
.liquid-shell .navmenu svg { width: 22px; height: 22px; flex-shrink: 0; }
.liquid-shell .navmenu a[aria-current="page"] {
  background: linear-gradient(155deg, var(--glass-sheen), transparent), var(--brand-glow);
  box-shadow: var(--shadow-highlight);
  color: var(--nav-accent);
  font-weight: var(--weight-semibold);
}
.liquid-shell .navmenu a[aria-current="page"] svg { stroke-width: 2.25; }
.liquid-shell .navmenu a.active::after { content: none; }
.liquid-shell .navmenu a:focus-visible { outline: 2px solid var(--nav-accent); outline-offset: 2px; }
.liquid-shell .navmenu a:active { background: var(--brand-glow); }
.liquid-shell .skip-link:focus { position: fixed; top: max(16px, env(safe-area-inset-top, 0px)); }
@media (hover: hover) and (pointer: fine) {
  .liquid-shell .navmenu a:hover { background: var(--brand-glow); color: var(--nav-accent); }
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .liquid-shell { --shell-chrome-bg: var(--glass-bg); --shell-chrome-filter: blur(var(--glass-blur)) saturate(1.6); }
}
@media (min-width: 960px) {
  .liquid-shell { --nav-clearance: 0px; scroll-padding-block: calc(var(--header-height, 96px) + env(safe-area-inset-top, 0px) + 32px) 24px; }
  .liquid-shell .header {
    position: sticky;
    top: calc(12px + env(safe-area-inset-top, 0px));
    padding: 0;
    margin: 12px max(16px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  }
  .liquid-shell .header-inner {
    padding: 8px 20px;
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    background: linear-gradient(155deg, var(--glass-sheen), transparent 55%), var(--shell-chrome-bg);
    -webkit-backdrop-filter: var(--shell-chrome-filter);
    backdrop-filter: var(--shell-chrome-filter);
    box-shadow: var(--shadow-chrome), var(--shadow-highlight);
    flex-wrap: wrap;
  }
  .liquid-shell .navmenu {
    position: static;
    flex: 0 1 auto;
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .liquid-shell .navmenu ul { display: flex; flex-wrap: wrap; gap: 8px; }
  .liquid-shell .navmenu a { flex-direction: row; gap: 6px; min-height: 44px; padding: 10px 12px; font-size: var(--text-sm); }
  .liquid-shell .navmenu svg { width: 20px; height: 20px; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .liquid-shell { --shell-chrome-bg: var(--surface); --shell-chrome-filter: none; }
  .liquid-shell .navmenu, .liquid-shell .header-inner { border-color: var(--ink-soft); }
}
@media (forced-colors: active) {
  .liquid-shell { --shell-chrome-bg: Canvas; --shell-chrome-filter: none; }
  .liquid-shell .navmenu, .liquid-shell .header-inner { border-color: CanvasText; box-shadow: none; background: Canvas; }
  .liquid-shell .navmenu a[aria-current="page"] { background: Canvas; box-shadow: none; }
  .liquid-shell .navmenu a[aria-current="page"] { outline: 2px solid Highlight; outline-offset: -3px; }
}

/*--------------------------------------------------------------
# Hero (status readout)
--------------------------------------------------------------*/
.hero {
  padding-block: var(--space-8) var(--space-7);
  border-bottom: 1px solid var(--line);
  transition: border-color 0.2s var(--ease);
}

.hero-grid {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}
.hero-grid > * {
  /* Without this, the architecture diagram's intrinsic min-width forces the
     implicit grid track (and the page) wider than the mobile viewport. */
  min-width: 0;
}

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
}

.hero h1 { margin-bottom: var(--space-4); }
.hero-highlight { color: var(--brand); }

.hero-lede {
  font-size: var(--text-lede);
  line-height: var(--leading-lede);
  letter-spacing: var(--tracking-control);
  max-width: 34rem;
  margin-bottom: var(--space-5);
}

.status-line {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: var(--space-3);
  margin-bottom: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
}

.status-line .sep { color: var(--line); }

.hero-diagram-panel {
  padding: var(--space-5) var(--space-4);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
  border-radius: var(--radius-feature);
}
.hero-diagram-scroll {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}
.hero-diagram {
  width: 100%;
  height: auto;
  display: block;
}

/* Home composition, ready for the later page-by-page rollout. */
.liquid-shell h1, .liquid-shell h2, .liquid-shell h3 { overflow-wrap: anywhere; text-wrap: balance; }
.home-page .hero { padding-block: clamp(2rem, 5vw, 5rem) var(--section-spacing); }
.home-page .hero-grid { gap: clamp(2rem, 5vw, 4rem); }
.home-page .hero .btn-row { margin-bottom: var(--space-5); gap: 8px; }
.home-page .hero .btn { justify-content: center; width: 100%; text-decoration: none; }
.home-page .status-line { margin-bottom: 0; font-weight: 500; line-height: var(--leading-meta); }
.home-page .hero-diagram-panel {
  --material-bg: var(--glass-feature-bg);
  padding: var(--card-padding);
}
.home-page .hero-diagram-scroll { border-radius: var(--radius); }
.home-page .hero-diagram { min-width: 440px; }
.home-page .section { padding-block: var(--section-spacing); }
.home-page .capabilities { padding-top: 0; }
.home-page .card-grid, .home-page .col-grid { gap: clamp(1rem, 3vw, 2rem); }
.home-page .card-grid > *, .home-page .col-grid > * { min-width: 0; }
.home-page .col-grid { grid-template-columns: 1fr; }
.home-page .status-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  align-content: start;
  height: auto;
  min-height: 0;
  padding: var(--card-padding);
  overflow-wrap: anywhere;
}
.home-page .status-card > * { min-width: 0; max-width: 100%; }
.home-page .section-title { width: 100%; height: auto; max-width: 42rem; }
.home-page .section-title p {
  max-width: 60ch;
  margin-bottom: 0;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}
.home-page .status-card p { text-wrap: pretty; }
.home-page .recent-builds .container { min-width: 0; }
.home-page .hero .btn { border-radius: var(--radius-pill); }
.home-page .hero-diagram-panel { border-radius: 32px; }
.home-page .status-line { border: 0; padding-block: 0; gap: 8px 16px; }
.home-page .status-card-head { flex-wrap: wrap; }
.home-page .tag { background: var(--surface); border-radius: var(--radius-pill); font-size: var(--text-xs); }
.copyright { margin-top: var(--space-5); font-size: var(--text-xs); }
.liquid-shell .footer { margin-top: 0; }
@media (min-width: 400px) {
  .home-page .hero .btn { width: auto; }
}
@media (min-width: 700px) {
  .home-page .col-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .home-page .card-grid.cols-3, .home-page .col-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* zones: VPC / subnets */
.hero-diagram .zone {
  stroke-width: 1.25;
  stroke-dasharray: 3 4;
}
.hero-diagram .zone-vpc {
  fill: var(--paper);
  stroke: var(--line);
}
.hero-diagram .zone-public {
  fill: var(--signal-ok-soft);
  fill-opacity: 0.55;
  stroke: var(--signal-ok);
}
.hero-diagram .zone-private {
  fill: var(--surface);
  fill-opacity: 0.85;
  stroke: var(--ink-soft);
}
.hero-diagram .zone-chip rect {
  fill: var(--surface);
  stroke: var(--line);
  stroke-width: 1px;
}

/* Keep the technical nodes opaque, while the enclosure shows its backdrop.
   A solid VPC rectangle otherwise covers most of the frosted material. */
.home-page .hero-diagram .zone-vpc { fill: none; }
.home-page .hero-diagram .zone-private { fill-opacity: 0.4; }

/* nodes */
.hero-diagram .node-box {
  fill: var(--surface);
  stroke: var(--ink);
  stroke-width: 1.25;
}
.hero-diagram .node-box.is-flow { stroke: var(--signal-ok); }
.hero-diagram .node-box.is-egress { stroke: var(--ink-soft); }

.hero-diagram .icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-diagram .icon.is-edge { color: var(--ink); }
.hero-diagram .icon.is-flow { color: var(--signal-ok); }
.hero-diagram .icon.is-egress { color: var(--ink-soft); }

.hero-diagram .node-label {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  fill: var(--ink);
}
.hero-diagram .node-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  fill: var(--ink-soft);
}
.hero-diagram .micro-label {
  font-family: var(--font-mono);
  font-size: 11px;
  fill: var(--ink-soft);
}

/* wires */
.hero-diagram .path-egress {
  fill: none;
  stroke: var(--ink-soft);
  stroke-width: 1.25;
  stroke-dasharray: 5 4;
}
.hero-diagram .path-flow {
  fill: none;
  stroke: var(--signal-ok);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
  animation: draw 2.2s var(--ease) 0.3s forwards;
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-diagram .path-flow { animation: none; stroke-dashoffset: 0; }
}

/* Diagram guidance stays outside the scrolling region, inside its panel. */
.diagram-scroll-hint {
  margin: var(--space-3) 0 0;
  gap: var(--space-2);
  align-items: center;
  font-size: var(--text-xs);
  line-height: var(--leading-meta);
  overflow-wrap: anywhere;
}
.diagram-scroll-hint:not([hidden]) { display: flex; }
.diagram-scroll-hint svg { flex: 0 0 auto; width: 18px; height: 18px; }
.diagram-scroll-hint span { min-width: 0; }

.diagram-legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--ink-soft);
}
.legend-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-width: 0;
  max-width: 100%;
}
.legend-item > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.legend-swatch {
  display: inline-block;
  flex: 0 0 auto;
  width: 16px;
  height: 2px;
  background: var(--signal-ok);
  border-radius: 1px;
}
.legend-swatch.is-egress {
  width: 16px;
  height: 0;
  background: none;
  border-top: 2px dashed var(--ink-soft);
}
.legend-swatch.is-boundary {
  width: 16px;
  height: 0;
  background: none;
  border-top: 1px dashed var(--line);
}

/*--------------------------------------------------------------
# Status cards (signature component)
--------------------------------------------------------------*/
.card-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 700px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}

.status-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-5);
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  a.status-card:hover {
    border-color: var(--ink);
    transform: translateY(-2px);
    box-shadow: var(--shadow-chrome), var(--shadow-highlight);
  }
}

.status-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--ink-soft);
  margin-bottom: var(--space-4);
}

/* Category icons distinguish project types without changing status colors. */
.project-category {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-width: 0;
  max-width: 100%;
  color: var(--ink-soft);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-meta);
}
.project-category > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.project-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: var(--brand-glow);
  color: var(--brand);
}
.project-icon svg { width: 22px; height: 22px; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  text-transform: none;
  letter-spacing: normal;
  padding: 0.3em 0.7em;
  border-radius: 999px;
}
.status-pill::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.status-pill.is-live { background: var(--signal-ok-soft); color: var(--signal-ok); }
.status-pill.is-progress { background: var(--signal-progress-soft); color: var(--signal-progress); }

.status-card h3 {
  font-size: var(--text-md);
  margin-bottom: var(--space-2);
  position: relative;
  display: inline-block;
}

.status-card h3::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%;
  height: 1.5px;
  background: var(--signal-ok);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
a.status-card:hover h3::after,
a.status-card:focus-visible h3::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  .status-card h3::after { transition: none; }
  a.status-card:hover, a.status-card:focus-visible { transform: none; }
}

.status-card p { flex-grow: 1; margin-bottom: var(--space-4); }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.tag {
  max-width: 100%;
  overflow-wrap: anywhere;
  background: var(--surface);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.25em 0.55em;
}

.status-card-more {
  margin-top: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--signal-ok);
}

/*--------------------------------------------------------------
# What-I-do / plain columns
--------------------------------------------------------------*/
.col-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .col-grid { grid-template-columns: repeat(3, 1fr); }
}

.col-item .eyebrow { margin-bottom: var(--space-2); }
.col-item h3 { margin-bottom: var(--space-2); }

/*--------------------------------------------------------------
# Page header (inner pages)
--------------------------------------------------------------*/
.page-header {
  padding-block: clamp(2rem, 5vw, 5rem) var(--space-6);
  border-bottom: 0;
  transition: border-color 0.2s var(--ease);
}
.page-header h1 { max-width: 22ch; font-size: var(--text-page-title); line-height: var(--leading-title); letter-spacing: var(--tracking-title); margin-bottom: var(--space-3); }
.page-header p { max-width: 40rem; font-size: var(--text-lede); line-height: var(--leading-lede); letter-spacing: var(--tracking-control); }

/*--------------------------------------------------------------
# About page
--------------------------------------------------------------*/
.about-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1fr);
}
.about-grid > * { min-width: 0; }
.about-grid p { max-width: 65ch; }
.about-profile {
  display: grid;
  gap: var(--space-5);
  min-width: 0;
}
.about-profile .fact-list { margin: 0; }
@media (min-width: 960px) {
  .about-grid { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); align-items: start; }
  .about-profile .profile-photo { max-width: none; }
}

.profile-photo {
  max-width: 20rem;
  border-radius: var(--radius-feature);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

.fact-list {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: minmax(0, 1fr);
  padding: var(--card-padding);
  margin: var(--space-5) 0 0;
  font-size: var(--text-sm);
  overflow-wrap: anywhere;
}
.fact-list > div { min-width: 0; }
@media (min-width: 600px) and (max-width: 959px) {
  .fact-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.fact-list dt {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--ink-soft);
  text-transform: none;
  letter-spacing: normal;
}
.fact-list dd { margin: 0.15em 0 0; }

.skill-group + .skill-group {
  margin-top: var(--space-6);
}

.skill-group-title {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
  margin-bottom: 0;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.skills-list .tag {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink);
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 0.55em 1.1em;
}
/*--------------------------------------------------------------
# Project entries (full case studies on Projects page)
--------------------------------------------------------------*/
.project-entry {
  padding: var(--card-padding);
  margin-bottom: var(--space-6);
  scroll-margin-block: 24px;
  overflow-wrap: anywhere;
}
.project-entry:last-child { margin-bottom: 0; }

.project-entry-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--ink-soft);
}

.project-entry h2 { margin-bottom: var(--space-3); max-width: 32rem; }
.project-entry h3 {
  margin: var(--space-6) 0 var(--space-3);
  font-size: var(--text-base);
  line-height: var(--leading-card);
}
.project-entry h2 + h3 { margin-top: var(--space-5); }
.project-entry > p { max-width: 65ch; }

.project-entry ul {
  margin: var(--space-4) 0;
  display: grid;
  gap: var(--space-2);
  max-width: 65ch;
}
.project-entry li {
  padding-left: 1.1em;
  position: relative;
  color: var(--ink-soft);
}
.project-entry li::before {
  content: "\2013";
  position: absolute;
  left: 0;
  color: var(--line);
}

.project-entry .tag-list { margin-top: var(--space-4); }

/*--------------------------------------------------------------
# Resume page
--------------------------------------------------------------*/
.resume-cta {
  padding: var(--card-padding);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  margin-bottom: var(--space-6);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.resume-cta h2 { font-size: var(--text-md); margin-bottom: var(--space-2); }
.resume-cta > * { min-width: 0; overflow-wrap: anywhere; }
.resume-cta .btn { text-decoration: none; border-radius: var(--radius-pill); justify-content: center; }
.resume-content { padding: var(--card-padding); }
.resume-content p, .resume-content ul { max-width: 65ch; overflow-wrap: anywhere; }
.resume-cta p { color: var(--ink-soft); max-width: 32rem; margin: 0; }

.resume-block { margin-bottom: var(--space-7); }
.resume-block h2 {
  font-size: var(--text-lg);
  border-bottom: 1px solid var(--line);
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-5);
}

.resume-entry { margin-bottom: var(--space-5); }
.resume-entry:last-child { margin-bottom: 0; }
.resume-entry-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  align-items: start;
}
.resume-entry-head > * { min-width: 0; }
@media (min-width: 960px) {
  .resume-entry-head { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: baseline; }
  .resume-entry-head h3 { flex: 1 1 60%; }
}
.resume-entry h3 { font-size: var(--text-base); font-weight: 600; margin: 0; }
.resume-entry .period {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--ink-soft);
  white-space: normal;
}
.resume-entry .org { color: var(--ink-soft); font-style: normal; margin: var(--space-1) 0 var(--space-2); }
.resume-entry ul { margin-top: var(--space-2); }
.resume-entry li {
  color: var(--ink-soft);
  padding-left: 1.1em;
  position: relative;
  margin-bottom: var(--space-1);
}
.resume-entry li::before {
  content: "\2013";
  position: absolute;
  left: 0;
  color: var(--line);
}

/*--------------------------------------------------------------
# Contact page
--------------------------------------------------------------*/
.contact-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: minmax(0, 1fr);
  max-width: 64rem;
}
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
}

.contact-card {
  min-width: 0;
  padding: var(--card-padding);
  overflow-wrap: anywhere;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.contact-card .eyebrow { margin-bottom: var(--space-2); }
.contact-card a { max-width: 100%; }
.contact-card .btn {
  min-width: 44px;
  min-height: 48px;
  justify-content: center;
  border-radius: var(--radius-pill);
  text-decoration: none;
}
.contact-address {
  margin: var(--space-3) 0 0;
  font-size: var(--text-sm);
  overflow-wrap: anywhere;
  user-select: text;
}

.contact-card .icon-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-2);
}
.contact-card .icon-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-width: 44px;
  min-height: 44px;
  padding: 10px 14px;
  font-size: var(--text-sm);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
}
.contact-card .icon-row a:hover { border-color: var(--signal-ok); color: var(--signal-ok); }
.contact-card .icon-row svg { width: 1.15rem; height: 1.15rem; flex-shrink: 0; }

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  border-top: 1px solid var(--line);
  padding-block: var(--space-6);
  margin-top: var(--space-8);
  transition: border-color 0.2s var(--ease);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.footer .logo { display: block; margin-bottom: var(--space-1); }
.footer p { font-size: var(--text-sm); margin: 0; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
}
.footer-links a:hover { border-color: var(--signal-ok); color: var(--signal-ok); }
.footer-links svg { width: 1.05rem; height: 1.05rem; }

/*--------------------------------------------------------------
# Scroll-reveal (JS-driven, progressive enhancement)
--------------------------------------------------------------*/
/* Visible by default, including when observer setup fails. */
[data-reveal] { opacity: 1; transform: none; }
.reveal-ready [data-reveal]:not(.is-visible),
.reveal-ready .card-grid[data-reveal]:not(.is-visible) > * {
  opacity: 0;
  transform: translateY(8px);
}
.reveal-ready [data-reveal] {
  transition: opacity var(--duration-reveal) var(--ease), transform var(--duration-reveal) var(--ease);
}
.reveal-ready .card-grid[data-reveal],
.reveal-ready .card-grid[data-reveal]:not(.is-visible) { opacity: 1; transform: none; }
/* .is-revealing is removed after the entrance, so hover has no delay. */
.reveal-ready .card-grid[data-reveal]:not(.is-visible) > *,
.reveal-ready .card-grid.is-revealing > * {
  transition: opacity var(--duration-reveal) var(--ease), transform var(--duration-reveal) var(--ease);
  transition-delay: calc(var(--reveal-index, 0) * var(--reveal-stagger));
}
.card-grid[data-reveal] > :nth-child(2) { --reveal-index: 1; }
.card-grid[data-reveal] > :nth-child(3) { --reveal-index: 2; }
.card-grid[data-reveal] > :nth-child(4) { --reveal-index: 3; }
.card-grid[data-reveal] > :nth-child(5) { --reveal-index: 4; }
.card-grid[data-reveal] > :nth-child(n+6) { --reveal-index: 5; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-ready [data-reveal]:not(.is-visible),
  .reveal-ready .card-grid[data-reveal]:not(.is-visible) > * {
    opacity: 1;
    transform: none;
  }
  a.status-card:hover, a.status-card:focus-visible { transform: none; }
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: normal;
}
