@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@500;600;700;800&family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  color-scheme: light;
  --bg: #eef8ff;
  --panel: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #dce9f3;
  --soft: #f5f9fd;
  --blue: #2563eb;
  --teal: #0f766e;
  --green: #15803d;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  --hero-display: 30px;
  --h1: 30px;
  --h2: 25px;
  --h3: 18px;
  --h4: 17.68px;
  --h5: 14.28px;
  --h6: 12.24px;
  --body-large: 14.72px;
  --body: 13.25px;
  --small: 11.78px;
  --caption: 10.3px;
  --button: 12.51px;
  --nav: 12.51px;
  --label: 11.04px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--body);
  font-weight: 400;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.site-hero {
  position: relative;
  padding: 150px 0 30px;
  overflow: hidden;
}

.hero-art {
  position: absolute;
  inset: 0 0 auto;
  height: 235px;
  background: #f4f4f4;
  background-position: center;
  background-size: cover;
  border-bottom: 1px solid #e5edf4;
}

.hero-art.has-cover .chart-ring,
.hero-art.has-cover .chart-line {
  opacity: 0.18;
}

.chart-ring {
  position: absolute;
  left: 50%;
  top: 26px;
  width: 175px;
  height: 175px;
  border: 2px solid #d9d9d9;
  border-radius: 50%;
  transform: translateX(-50%);
}

.chart-ring::before,
.chart-ring::after,
.chart-line {
  content: "";
  position: absolute;
  background: #d9d9d9;
}

.chart-ring::before {
  left: 50%;
  top: -60px;
  width: 2px;
  height: 300px;
}

.chart-ring::after {
  top: 50%;
  left: -150px;
  width: 475px;
  height: 2px;
}

.chart-line {
  left: calc(50% - 125px);
  top: 0;
  width: 2px;
  height: 300px;
  transform: rotate(-42deg);
  transform-origin: bottom;
}

.profile-panel {
  position: relative;
  z-index: 1;
  background: var(--panel);
  border: 1px solid #e5edf4;
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 26px 22px 22px;
}

.profile-top {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  align-items: center;
}

.avatar,
.thumb {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eff6ff, #f8fafc 55%, #ecfeff);
  border: 1px solid #e2e8f0;
  color: var(--teal);
  font-weight: 800;
}

.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 8px #f8fafc;
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 8px;
  font-size: var(--h1);
  font-weight: 700;
  line-height: 1.1;
}

.site-hero h1 {
  font-size: var(--hero-display);
  font-weight: 800;
  line-height: 1.05;
}

h2 {
  margin-bottom: 20px;
  font-size: var(--h2);
  font-weight: 700;
  line-height: 1.15;
}

h3 {
  margin-bottom: 3px;
  font-size: var(--h3);
  font-weight: 600;
  line-height: 1.2;
}

h4 {
  font-size: var(--h4);
  font-weight: 600;
  line-height: 1.25;
}

h5 {
  font-size: var(--h5);
  font-weight: 600;
  line-height: 1.3;
}

h6 {
  font-size: var(--h6);
  font-weight: 600;
  line-height: 1.35;
}

.tags,
.chips,
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags {
  width: fit-content;
  max-width: 100%;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.tags span,
.chips span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #f8fafc;
  color: #172033;
  font-size: var(--label);
  font-weight: 500;
  line-height: 1.3;
}

.chips {
  margin-top: 12px;
}

.chips span {
  background: #e8f5f1;
  color: #0f766e;
}

.intro {
  margin: 28px 0 22px;
  color: var(--muted);
  font-size: var(--body-large);
  line-height: 1.7;
}

.profile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.action-card,
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.action-card {
  padding: 16px;
}

summary {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: var(--button);
  font-weight: 600;
  line-height: 1.2;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eef5fb;
  color: #334155;
  font-weight: 800;
}

.lucide-icon {
  width: 1em;
  height: 1em;
  display: block;
}

.wide-button,
.contact-grid {
  margin-top: 14px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f2f8fc;
}

.wide-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: var(--button);
  font-weight: 600;
  line-height: 1.2;
}

.wide-button + .wide-button {
  margin-top: 10px;
}

.is-disabled {
  cursor: not-allowed;
  opacity: 0.55;
  pointer-events: none;
}

.chevron {
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px;
}

.contact-list {
  grid-template-columns: 1fr;
  background: #ffffff;
}

.contact-list a,
.contact-list > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 34px;
  padding: 8px 10px;
  border-radius: 6px;
  background: #f8fbff;
  color: var(--text);
  font-size: var(--small);
  font-weight: 500;
  line-height: 1.6;
}

.contact-list a span,
.contact-list > span span {
  color: var(--muted);
  font-size: var(--label);
  font-weight: 500;
  line-height: 1.3;
}

.contact-grid a,
.text-link {
  color: #1d4ed8;
  font-weight: 600;
}

.section {
  padding: 34px 0 8px;
}

.listing-page {
  padding: 34px 0 54px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-bottom: 18px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: #1d4ed8;
  font-size: var(--button);
  font-weight: 600;
  line-height: 1.2;
}

.listing-header {
  margin-bottom: 18px;
}

.listing-header h1 {
  margin-bottom: 6px;
}

.listing-header p {
  color: var(--muted);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.tab {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-size: var(--button);
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

.tab.is-active {
  border-color: #bfdbfe;
  background: #dbeafe;
  color: #1d4ed8;
}

.category-block {
  margin-top: 28px;
}

.category-block h2 {
  margin-bottom: 16px;
  font-size: var(--h2);
}

.category-block h2 span {
  color: var(--muted);
  font-size: var(--label);
  font-weight: 500;
  line-height: 1.3;
}

.is-filter-hidden {
  display: none !important;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.section-icon {
  color: #0f172a;
  font-weight: 900;
}

.section-symbol {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: #e8f5f1;
  color: #0f766e;
  font-size: 25px;
  font-weight: 900;
}

.grid {
  display: grid;
  gap: 16px;
}

.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  padding: 16px;
  min-width: 0;
}

.card p {
  margin-bottom: 2px;
  color: var(--muted);
}

.media-card {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 16px;
}

.thumb {
  width: 70px;
  height: 70px;
  border-radius: 6px;
  font-size: var(--caption);
  line-height: 1.5;
  overflow: hidden;
}

.thumb.wide {
  width: 100%;
  height: 120px;
  margin-bottom: 14px;
  font-size: var(--small);
  line-height: 1.6;
  letter-spacing: 0;
}

.cover-thumb {
  display: block;
  object-fit: cover;
}

.icon-mark,
.content-icon {
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #e8f5f1;
  color: #0f766e;
  font-size: 22px;
  font-weight: 900;
}

.icon-mark {
  width: 34px;
  height: 34px;
}

.content-icon {
  width: 26px;
  height: 26px;
  margin-right: 8px;
  vertical-align: middle;
}

.rec-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 14px;
  border-radius: 12px;
  object-fit: cover;
  background: #eef5fb;
}

.project-card,
.article-card {
  min-height: 260px;
}

.article-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  align-items: start;
}

.article-list {
  display: grid;
  gap: 16px;
}

.article-card .thumb {
  margin-bottom: 0;
}

.meta {
  margin: 8px 0;
  color: var(--muted);
  font-size: var(--caption);
  line-height: 1.5;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}

.skill-card strong {
  display: inline-flex;
  margin-top: 12px;
  color: var(--green);
}

.extra-certificate,
.extra-skill {
  display: none;
}

.is-visible {
  display: grid;
}

.skill-card.is-visible,
.rec-card.is-visible,
.project-card.is-visible {
  display: block;
}

.show-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 16px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-size: var(--button);
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

.link-button {
  width: fit-content;
}

.subtle {
  color: var(--muted);
  margin-top: -10px;
}

.rec-card p + .text-link {
  display: inline-block;
  margin: 4px 0 16px;
}

.values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-bottom: 34px;
}

.value-card {
  border-radius: 8px;
  padding: 22px;
  background: linear-gradient(135deg, #ffffff, #f1fbfa);
  border: 1px solid var(--line);
}

.value-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.footer {
  padding: 16px 0 36px;
  color: var(--muted);
}

.footer p {
  margin-bottom: 0;
}

.dashboard-body {
  background:
    radial-gradient(circle at 8% 8%, rgba(37, 99, 235, 0.12), transparent 30%),
    radial-gradient(circle at 88% 10%, rgba(15, 118, 110, 0.12), transparent 28%),
    var(--bg);
}

.auth-panel {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.auth-panel.is-hidden {
  display: none;
}

.auth-card,
.modal-card {
  width: min(460px, 100%);
  padding: 28px;
  border: 1px solid rgba(220, 233, 243, 0.95);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.auth-card label,
.modal-card label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: #334155;
  font-size: var(--label);
  font-weight: 500;
}

.auth-card input,
.modal-card input {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
}

.dashboard-shell.is-locked {
  display: none;
}

.modal-backdrop {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.42);
}

.modal-backdrop[hidden] {
  display: none;
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 32px;
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0;
}

.dashboard-sidebar {
  position: sticky;
  top: 24px;
  align-self: start;
  min-height: calc(100vh - 64px);
  padding: 24px;
  border: 1px solid rgba(220, 233, 243, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.dashboard-sidebar h1 {
  margin-top: 18px;
  font-size: var(--h1);
}

.dashboard-sidebar p,
.dashboard-header p {
  color: var(--muted);
}

.dashboard-nav {
  display: grid;
  gap: 8px;
  margin: 24px 0;
}

.dashboard-nav button {
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: var(--nav);
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
}

.dashboard-nav button:hover,
.dashboard-nav button.is-active {
  background: #eaf4ff;
  color: #1d4ed8;
}

.dashboard-actions {
  display: grid;
  gap: 10px;
}

.dashboard-main {
  min-width: 0;
}

.admin-section {
  display: none;
  padding: 32px;
  border: 1px solid rgba(220, 233, 243, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.admin-section.is-active {
  display: block;
}

.dashboard-header,
.admin-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dashboard-header {
  margin-bottom: 24px;
}

.eyebrow {
  margin-bottom: 6px;
  color: #1d4ed8;
  font-size: var(--caption);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.admin-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.admin-form label {
  display: grid;
  gap: 7px;
  color: #334155;
  font-size: var(--label);
  font-weight: 500;
  line-height: 1.3;
}

.admin-form .wide,
.admin-card .admin-form label:has(textarea) {
  grid-column: 1 / -1;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
}

.admin-form select {
  appearance: auto;
}

.admin-form input[type="file"] {
  padding: 9px;
  background: #f8fbff;
}

.admin-form textarea {
  resize: vertical;
}

.admin-list {
  display: grid;
  gap: 16px;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.admin-list.is-hidden {
  display: none;
}

.admin-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfdff;
}

.admin-card-top {
  margin-bottom: 16px;
}

.category-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.mini-card {
  padding: 14px;
}

.setup-list {
  display: grid;
  gap: 12px;
  color: var(--text);
}

.setup-list span {
  display: block;
  padding: 12px;
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.small-button {
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-size: var(--button);
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

.danger {
  background: #fee2e2;
  color: #991b1b;
}

.resume-preview {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff, #f1fbfa);
}

.resume-preview .show-more {
  margin-top: 14px;
}

.resume-frame {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 520px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
}

.file-note {
  color: var(--muted);
  font-size: var(--caption);
  font-weight: 400;
  line-height: 1.5;
}

@media (max-width: 860px) {
  :root {
    --hero-display: 30px;
    --h1: 29.92px;
    --h2: 24.48px;
    --h3: 18px;
    --h4: 15.64px;
    --h5: 12.92px;
    --h6: 12.24px;
    --body-large: 13.98px;
    --body: 12.51px;
    --small: 11.04px;
    --caption: 10.3px;
    --button: 11.78px;
    --nav: 11.78px;
    --label: 10.3px;
  }

  .site-hero {
    padding-top: 112px;
  }

  .profile-top,
  .profile-actions,
  .three,
  .two,
  .article-card,
  .values,
  .dashboard-shell,
  .admin-form,
  .category-preview,
  .resume-preview {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    position: static;
    min-height: auto;
  }

  .avatar {
    width: 86px;
    height: 86px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .profile-actions .wide-button,
  .show-more,
  .link-button {
    width: 100%;
    justify-content: center;
  }

  .tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
  }

  .tab {
    flex: 0 0 auto;
  }
}

@media (max-width: 560px) {
  :root {
    --hero-display: 29.92px;
    --h1: 24.48px;
    --h2: 20.4px;
    --h3: 16.32px;
    --h4: 14.28px;
    --h5: 12.24px;
    --h6: 10.88px;
    --body-large: 13.25px;
    --body: 11.78px;
    --small: 10.3px;
    --caption: 9.57px;
    --button: 11.78px;
    --nav: 11.78px;
    --label: 10.3px;
  }

  .container {
    width: min(100% - 20px, 1180px);
  }

  .profile-panel {
    padding: 18px 14px;
  }

  .media-card {
    grid-template-columns: 56px 1fr;
    gap: 12px;
  }

  .thumb {
    width: 56px;
    height: 56px;
  }

  .tags {
    width: 100%;
  }

  .profile-top {
    align-items: flex-start;
  }

  .site-nav {
    gap: 8px;
  }

  .card,
  .action-card,
  .dashboard-card,
  .auth-card,
  .modal-card {
    padding: 14px;
  }

  .dashboard-nav {
    grid-template-columns: 1fr;
  }

  .admin-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .listing-header {
    gap: 10px;
  }

  .listing-header h1 {
    overflow-wrap: anywhere;
  }

  .wide-button,
  .show-more,
  .text-link {
    min-height: 42px;
  }
}

/* Reference redesign layer */
:root {
  --bg: #f6f5f1;
  --panel: #ffffff;
  --text: #232b36;
  --muted: #5b6472;
  --line: #e4e1d8;
  --navy: #0f1b2d;
  --navy-soft: #16273d;
  --brass: #a9762f;
  --brass-light: #c99a4f;
  --green: #2f5d50;
  --green-soft: #e7efea;
  --shadow: 0 1px 2px rgba(15, 27, 45, 0.04), 0 8px 24px rgba(15, 27, 45, 0.06);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.site-hero h1 {
  font-family: "Fraunces", Georgia, serif;
  letter-spacing: 0;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--brass), var(--brass-light));
}

.ticker {
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  color: #dce3ea;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.ticker-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 8px 18px;
  color: #8fd9a8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55);
  animation: tickerPulse 1.8s ease-out infinite;
}

@keyframes tickerPulse {
  70% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.ticker-track {
  display: inline-block;
  padding: 8px 0;
  animation: tickerScroll 32s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-track span {
  margin: 0 26px;
  color: #b7c2ce;
}

.ticker-track b {
  color: var(--brass-light);
  font-weight: 700;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.subnav {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(246, 245, 241, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.subnav-inner {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  padding-top: 13px;
  padding-bottom: 13px;
  scrollbar-width: none;
}

.subnav-inner::-webkit-scrollbar {
  display: none;
}

.subnav a {
  position: relative;
  flex: 0 0 auto;
  color: var(--muted);
  font-size: var(--nav);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.subnav a.active,
.subnav a:hover {
  color: var(--navy);
}

.subnav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -14px;
  height: 2px;
  background: var(--brass);
}

.site-hero {
  padding: 72px 0 76px;
  color: #edeff2;
  background: var(--navy);
}

.hero-art {
  height: 100%;
  background: radial-gradient(circle at 80% -10%, rgba(201, 154, 79, 0.16), transparent 34%), var(--navy);
  border-bottom: 0;
}

.hero-art.has-cover {
  opacity: 0.18;
  mix-blend-mode: screen;
}

.profile-panel {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.profile-top {
  align-items: center;
}

.avatar {
  background: linear-gradient(155deg, var(--brass-light), var(--brass));
  color: var(--navy);
  border: 3px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  font-family: "Fraunces", Georgia, serif;
}

.site-hero h1 {
  color: #f8fafc;
  font-weight: 700;
}

.intro {
  max-width: 820px;
  color: #c5ced9;
}

.tags span,
.chips span {
  color: var(--green);
  background: var(--green-soft);
  border-color: rgba(47, 93, 80, 0.12);
  border-radius: 999px;
  font-weight: 700;
}

.site-hero .tags span:first-child {
  color: #2a1d09;
  background: #f2d18b;
}

.action-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #edeff2;
  box-shadow: none;
}

.action-card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: #f8fafc;
  font-family: "IBM Plex Mono", monospace;
  font-size: var(--label);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.action-card summary,
.action-card a,
.action-card .contact-grid a {
  color: #f8fafc;
}

.contact-card .contact-grid {
  margin-top: 0;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.12);
}

.contact-card .contact-grid a,
.contact-card .contact-grid span {
  color: #f8fafc;
}

.contact-card .contact-list {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.12);
  padding: 0;
}

.contact-card .contact-list a,
.contact-card .contact-list > span {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: #f8fafc;
}

.contact-card .contact-list a span,
.contact-card .contact-list > span span {
  color: rgba(248, 250, 252, 0.68);
}

.resume-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.resume-links .wide-button {
  justify-content: center;
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
}

.resume-links .wide-button:hover {
  color: #fff;
  background: var(--brass);
  border-color: var(--brass);
}

.aum-card .bs-rows {
  display: grid;
  gap: 0;
}

.aum-card .bs-row {
  padding: 7px 0;
}

.aum-card .bs-label,
.aum-card .bs-value {
  color: #eef2f7;
}

.aum-card .bs-label {
  opacity: 0.78;
}

.aum-card .bs-value {
  font-weight: 800;
}

.aum-card .bs-dots {
  border-bottom-color: rgba(255, 255, 255, 0.22);
}

.aum-card .bs-total {
  border-top-color: rgba(255, 255, 255, 0.16);
}

.section {
  padding-top: 54px;
  padding-bottom: 54px;
}

.section:nth-child(odd) {
  background: transparent;
}

.section-title {
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.section-title h2 {
  margin-right: auto;
  color: var(--navy);
}

.sec-index {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  color: var(--brass);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 700;
}

.section-symbol,
.icon-mark {
  color: var(--brass);
}

.card,
.value-card,
.balance-sheet {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.card:hover {
  transform: translateY(-2px);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 12px 30px rgba(15, 27, 45, 0.1);
}

.thumb {
  color: var(--navy);
  background: linear-gradient(155deg, #f1d28d, var(--brass-light));
}

.text-link,
.show-more,
.wide-button {
  color: var(--navy);
  border-color: var(--line);
  background: #fff;
  font-weight: 800;
}

.show-more:hover,
.wide-button:hover {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.balance-sheet {
  padding: 22px;
}

.bs-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.bs-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: var(--h2);
}

.bs-head span,
.bs-label {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: var(--caption);
}

.bs-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 9px 0;
}

.bs-dots {
  border-bottom: 1px dotted #c8c3b9;
  transform: translateY(3px);
}

.bs-value {
  color: var(--navy);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
}

.bs-total {
  margin-top: 8px;
  border-top: 1px solid var(--line);
}

.calc-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
  gap: 18px;
  margin-top: 18px;
}

.calc-inputs {
  display: grid;
  gap: 12px;
}

.calc-inputs label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: var(--label);
  font-weight: 700;
}

.calc-inputs input {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 11px;
  color: var(--navy);
  background: #fbfaf7;
}

.calc-output strong {
  display: block;
  margin: 4px 0 12px;
  color: var(--navy);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.05;
}

.calc-label,
.calc-stats span {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: var(--caption);
}

.calc-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.calc-stats b {
  display: block;
  color: var(--brass);
  font-size: var(--body);
}

.calc-chart {
  width: 100%;
  height: 150px;
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.bar-contrib {
  fill: #d7dde4;
}

.bar-growth {
  fill: var(--brass);
}

.calc-axis-label {
  fill: var(--muted);
  font: 10px "IBM Plex Mono", monospace;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  box-shadow: 0 8px 24px rgba(15, 27, 45, 0.28);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--brass);
}

@media (max-width: 860px) {
  .site-hero {
    padding-top: 54px;
  }

  .calc-grid,
  .calc-stats {
    grid-template-columns: 1fr;
  }

  .subnav-inner {
    gap: 20px;
  }
}

@media (max-width: 560px) {
  .ticker-live {
    padding-left: 10px;
    padding-right: 10px;
  }

  .ticker-track span {
    margin: 0 18px;
  }

  .site-hero {
    padding-top: 42px;
    padding-bottom: 48px;
  }

  .profile-actions {
    gap: 12px;
  }

  .section-title {
    align-items: flex-start;
  }

  .bs-row {
    grid-template-columns: 1fr auto;
  }

  .bs-dots {
    display: none;
  }
}

/* Advanced reference formats: certificates, tickets, albums, bookshelf */
.cert-wall-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.cert-frame-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.cert-paper {
  position: relative;
  width: 100%;
  max-width: 260px;
  aspect-ratio: 5 / 6;
  overflow: hidden;
  border-radius: 5px;
  background: #fbf8f0;
  box-shadow: 0 14px 26px -8px rgba(15, 27, 45, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cert-paper:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 34px -8px rgba(15, 27, 45, 0.34);
}

.cert-scallop-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cert-paper-inner {
  position: absolute;
  inset: 9% 10%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 8px 10px;
}

.cert-title-main {
  margin: 0 0 1px;
  color: #1b2a3d;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(12px, 1.45vw, 16px);
  font-weight: 700;
  letter-spacing: 0.22em;
}

.cert-title-sub {
  margin: 0 0 10px;
  color: #1b2a3d;
  font-family: "Fraunces", Georgia, serif;
  font-size: 10px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.cert-title-sub i,
.cert-certifies {
  font-style: italic;
  text-transform: none;
}

.cert-name-box {
  width: 100%;
  margin-bottom: 10px;
  padding: 8px 4px;
  border-top: 1px solid rgba(59, 110, 165, 0.35);
  border-bottom: 1px solid rgba(59, 110, 165, 0.35);
}

.cert-certifies,
.cert-desc {
  margin: 0 0 4px;
  color: #6b7280;
  font-size: 9px;
  line-height: 1.45;
}

.cert-recipient,
.cert-issuer-line {
  margin: 0;
  color: #1b2a3d;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
}

.cert-recipient {
  font-size: clamp(11px, 1.2vw, 13px);
  letter-spacing: 0.04em;
}

.cert-issuer-line {
  margin-bottom: auto;
  font-size: 11px;
}

.cert-bottom-row {
  display: flex;
  width: 100%;
  gap: 10px;
  margin-top: 10px;
}

.cert-bottom-item {
  flex: 1;
  min-width: 0;
}

.cert-bottom-value {
  margin: 0 0 3px;
  padding-bottom: 3px;
  color: #1b2a3d;
  border-bottom: 1px solid #9aa5b1;
  font-family: "Fraunces", Georgia, serif;
  font-size: 10px;
  font-style: italic;
}

.cert-id-value {
  overflow: hidden;
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cert-bottom-label {
  margin: 0;
  color: #6b7280;
  font-family: "IBM Plex Mono", monospace;
  font-size: 7px;
  letter-spacing: 0.1em;
}

.cert-paper-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.cert-frame-link {
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.cert-frame-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}

.tag {
  display: inline-flex;
  padding: 4px 7px;
  border-radius: 999px;
  color: var(--green);
  background: var(--green-soft);
  font-size: var(--caption);
  font-weight: 700;
}

.recommendation-showcase {
  display: grid;
  gap: 34px;
}

.rec-group h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: var(--brass);
  font-family: "IBM Plex Mono", monospace;
  font-size: var(--label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rec-group h3::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.ticket-row,
.vinyl-row {
  display: grid;
  gap: 20px;
}

.movie-ticket {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 340px;
  min-height: 154px;
  margin: 0 auto;
  overflow: hidden;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.movie-ticket:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(15, 27, 45, 0.1);
}

.ticket-stub {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  background: repeating-linear-gradient(135deg, var(--navy) 0 6px, var(--navy-soft) 6px 12px);
  border-right: 2px dashed rgba(255, 255, 255, 0.35);
}

.ticket-stub::before,
.ticket-stub::after {
  content: "";
  position: absolute;
  left: 100%;
  z-index: 2;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg);
  transform: translateX(-50%);
}

.ticket-stub::before {
  top: -8px;
}

.ticket-stub::after {
  bottom: -8px;
}

.ticket-stub-text {
  color: rgba(255, 255, 255, 0.86);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.ticket-main {
  display: grid;
  gap: 7px;
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
}

.ticket-title {
  overflow: hidden;
  color: var(--navy);
  font-family: "Fraunces", Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticket-sub,
.ticket-meta {
  color: var(--muted);
  font-size: var(--caption);
}

.ticket-meta {
  display: flex;
  align-items: center;
  gap: 6px;
}

.star {
  color: var(--brass);
}

.ticket-seat {
  color: var(--brass);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
}

.ticket-barcode {
  height: 20px;
  margin-top: 2px;
  background: repeating-linear-gradient(90deg, var(--text) 0 2px, transparent 2px 4px, var(--text) 4px 5px, transparent 5px 9px);
  opacity: 0.5;
}

.vinyl-row {
  justify-items: center;
}

.vinyl-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  color: var(--text);
  text-decoration: none;
}

.vinyl-item {
  position: relative;
  width: 138px;
  height: 154px;
  transition: transform 0.24s ease;
}

.vinyl-disc {
  position: absolute;
  top: 6px;
  left: 50%;
  z-index: 1;
  width: 118px;
  height: 118px;
  margin-left: -59px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle at 50% 50%, #1c1c1c 0 3px, #2b2b2b 3px 6px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.32);
  transition: transform 0.3s ease;
}

.vinyl-disc::after {
  content: "";
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--brass-light), var(--brass));
}

.vinyl-sleeve {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  overflow: hidden;
  align-items: flex-end;
  width: 138px;
  height: 138px;
  padding: 10px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: var(--shadow), inset 0 -28px 0 rgba(15, 27, 45, 0.08);
}

.vinyl-sleeve::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 38%),
    linear-gradient(180deg, transparent 0 68%, rgba(15, 27, 45, 0.28));
  pointer-events: none;
}

.vinyl-sleeve::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 10px;
  z-index: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.46);
  box-shadow: 0 1px 0 rgba(15, 27, 45, 0.18);
  pointer-events: none;
}

.vinyl-sleeve.has-cover {
  background-color: #111827;
}

.vinyl-sleeve-label {
  position: relative;
  z-index: 2;
  display: -webkit-box;
  overflow: hidden;
  color: #fff;
  font-family: "Fraunces", Georgia, serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.12;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.vinyl-sleeve.has-cover .vinyl-sleeve-label {
  padding: 4px 6px;
  background: rgba(15, 27, 45, 0.48);
  border-radius: 4px;
}

.vinyl-col:hover .vinyl-disc {
  transform: translateY(-34px) rotate(18deg);
}

.vinyl-col:hover .vinyl-item {
  transform: translateY(-6px);
}

.vinyl-col:hover .vinyl-sleeve {
  box-shadow: 0 18px 34px rgba(15, 27, 45, 0.16);
}

.vinyl-caption {
  margin-top: 10px;
  color: var(--navy);
  font-weight: 800;
  text-align: center;
}

.vinyl-meta {
  color: var(--muted);
  font-size: var(--caption);
  text-align: center;
}

.bookshelf-wrap {
  padding: 28px 22px 18px;
  overflow-x: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.bookshelf-row {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  min-width: 360px;
  padding: 0 8px;
}

.book-spine {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  flex-direction: column;
  padding: 12px 4px 10px;
  border-radius: 3px 3px 0 0;
  color: #fff;
  box-shadow: inset -3px 0 6px rgba(0, 0, 0, 0.18), 2px 5px 10px rgba(15, 27, 45, 0.16);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.book-spine:hover {
  transform: translateY(-14px) rotate(-2deg);
  box-shadow: inset -3px 0 6px rgba(0, 0, 0, 0.18), 4px 10px 16px rgba(15, 27, 45, 0.3);
}

.book-spine-title {
  overflow: hidden;
  max-height: 132px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-overflow: ellipsis;
  writing-mode: vertical-rl;
}

.book-spine-band {
  width: 70%;
  height: 2px;
  margin: 8px 0;
  background: rgba(255, 255, 255, 0.36);
}

.bookshelf-board {
  height: 16px;
  min-width: 360px;
  background: linear-gradient(180deg, #8c5a34, #6b4423);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 10px 18px -6px rgba(15, 27, 45, 0.45);
}

.shelf-plant {
  display: none;
  flex: 0 0 44px;
  height: 148px;
  margin-left: 12px;
  background:
    radial-gradient(ellipse at 50% 20%, #4b7b57 0 30%, transparent 31%),
    radial-gradient(ellipse at 35% 38%, #3f6b4b 0 28%, transparent 29%),
    radial-gradient(ellipse at 65% 42%, #5a8f66 0 28%, transparent 29%),
    linear-gradient(#8c5a34, #6b4423);
  background-size: 44px 90px, 36px 82px, 36px 82px, 34px 30px;
  background-position: center 0, left 18px, right 20px, center bottom;
  background-repeat: no-repeat;
}

.shelf-globe {
  display: none;
  position: relative;
  flex: 0 0 58px;
  height: 150px;
  margin-left: 26px;
}

.shelf-globe::before {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 42px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 30%, rgba(255, 255, 255, 0.34), transparent 25%),
    radial-gradient(ellipse at 28% 45%, #4b7b4f 0 16%, transparent 17%),
    radial-gradient(ellipse at 66% 36%, #5a8f5e 0 18%, transparent 19%),
    radial-gradient(ellipse at 52% 68%, #4b7b4f 0 14%, transparent 15%),
    #2c5f8a;
  border: 2px solid #1f4560;
  box-shadow: inset -8px -8px 12px rgba(0, 0, 0, 0.16);
}

.shelf-globe::after {
  content: "";
  position: absolute;
  left: 18px;
  bottom: 4px;
  width: 22px;
  height: 42px;
  border-bottom: 8px solid #5a4632;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  box-shadow: 0 -58px 0 -16px transparent;
}

.bookshelf-info {
  min-height: 20px;
  margin: 18px 0 0;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: var(--caption);
}

@media (max-width: 860px) {
  .cert-wall-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ticket-row,
  .vinyl-row {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 560px) {
  .cert-wall-row {
    grid-template-columns: 1fr;
  }

  .movie-ticket {
    max-width: none;
  }

  .resume-links {
    grid-template-columns: 1fr;
  }
}

/* Restore first header and hero design */
.ticker,
.subnav {
  display: none;
}

.site-hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 30px;
  color: var(--text);
  background: var(--bg);
}

.hero-art {
  position: absolute;
  inset: 0 0 auto;
  height: 235px;
  background: #f4f4f4;
  background-position: center;
  background-size: cover;
  border-bottom: 1px solid #e5edf4;
  opacity: 1;
  mix-blend-mode: normal;
}

.hero-art.has-cover {
  opacity: 1;
  mix-blend-mode: normal;
}

.hero-art.has-cover .chart-ring,
.hero-art.has-cover .chart-line {
  opacity: 0.18;
}

.profile-panel {
  position: relative;
  z-index: 1;
  padding: 24px;
  background: var(--panel);
  border: 1px solid #e5edf4;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.profile-top {
  align-items: center;
}

.site-hero h1 {
  color: var(--text);
  font-weight: 800;
}

.intro {
  color: var(--muted);
}

.action-card {
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: none;
}

.action-card h2,
.action-card summary,
.action-card a {
  color: var(--text);
}

.contact-card .contact-grid,
.contact-card .contact-list {
  padding: 10px;
  background: #f8fbff;
  border-color: var(--line);
}

.contact-card .contact-grid a,
.contact-card .contact-grid span,
.contact-card .contact-list a,
.contact-card .contact-list > span {
  color: var(--text);
  background: #fff;
  border: 1px solid #eef2f7;
}

.contact-card .contact-grid a span,
.contact-card .contact-grid span span,
.contact-card .contact-list a span,
.contact-card .contact-list > span span {
  color: var(--muted);
}

.resume-links .wide-button {
  color: var(--text);
  background: #f8fbff;
  border-color: var(--line);
}

.resume-links .wide-button:hover {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.aum-card .bs-label {
  color: var(--muted);
  opacity: 1;
}

.aum-card .bs-value {
  color: var(--text);
}

.aum-card .bs-dots {
  border-bottom-color: #c8c3b9;
}

.aum-card .bs-total {
  border-top-color: var(--line);
}

@media (max-width: 860px) {
  .site-hero {
    padding-top: 112px;
  }
}

@media (max-width: 560px) {
  .site-hero {
    padding-top: 96px;
    padding-bottom: 30px;
  }

  .profile-panel {
    padding: 18px 14px;
  }
}

/* Reference design for projects, articles, and skills */
.media-card,
.skill-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.media-card::before,
.skill-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brass), var(--brass-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.media-card:hover,
.skill-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 6px rgba(15, 27, 45, 0.05), 0 16px 32px rgba(15, 27, 45, 0.09);
}

.media-card:hover::before,
.skill-card:hover::before {
  transform: scaleX(1);
}

.media-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 190px;
  color: var(--brass);
  background:
    repeating-linear-gradient(135deg, rgba(169, 118, 47, 0.07) 0, rgba(169, 118, 47, 0.07) 1px, transparent 1px, transparent 26px),
    linear-gradient(155deg, #edebe2, #e1ded2);
  background-position: center;
  background-size: cover;
}

.media-thumb .icon-mark {
  width: 34px;
  height: 34px;
  opacity: 0.58;
}

.media-body {
  padding: 22px 24px 24px;
}

.media-title {
  margin: 0 0 8px;
  color: var(--navy);
  font-family: "Fraunces", Georgia, serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.22;
}

.media-desc {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.article-card {
  display: block;
  min-height: 0;
}

.article-card .media-thumb {
  margin-bottom: 0;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
}

.media-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.link-line {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.media-links .link-line {
  margin-top: 0;
}

.link-line .lucide-icon {
  width: 14px;
  height: 14px;
}

.link-line:hover {
  color: var(--brass);
}

.skill-card {
  padding: 20px 22px;
}

.skill-name {
  margin: 0 0 3px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

.skill-cat {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
}

.skill-bar-track {
  height: 5px;
  margin-bottom: 8px;
  overflow: hidden;
  background: var(--line);
  border-radius: 999px;
}

.skill-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brass), var(--brass-light));
  border-radius: 999px;
}

.skill-level {
  color: var(--brass);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: uppercase;
}

.skill-grid .skill-card.is-visible {
  display: block;
}

.skills-listing-page .skill-list-grid {
  align-items: stretch;
}

.skills-listing-page .skill-card {
  width: 100%;
}

.recommendation-listing-page .ticket-row,
.recommendation-listing-page .vinyl-row {
  justify-items: start;
}

.recommendation-listing-page .movie-ticket {
  max-width: none;
  margin: 0;
}

.recommendation-listing-page .vinyl-col {
  min-height: 220px;
}

.credential-list-grid {
  align-items: stretch;
}

.credential-list-grid .credential-card {
  width: 100%;
}

.project-card.is-visible {
  display: block;
}

@media (max-width: 560px) {
  .media-body {
    padding: 18px;
  }

  .media-thumb {
    min-height: 150px;
  }

  .article-meta {
    display: grid;
  }
}

/* Home page display counts and recommendation layouts */
#certificates .credential-grid,
#projects .grid.two,
#articles .home-article-list,
#recommendations .recommendation-showcase,
#recommendations .ticket-row,
#recommendations .vinyl-row,
#recommendations .book-cover-list {
  justify-items: start;
}

#skills .skill-grid,
.skills-listing-page .skill-list-grid {
  justify-items: stretch;
  align-items: stretch;
}

#skills .skill-card,
.skills-listing-page .skill-card {
  width: 100%;
  height: 100%;
}

#certificates .credential-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  width: 100%;
}

.credential-card {
  position: relative;
  display: flex;
  min-height: 238px;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  overflow: hidden;
  padding: 18px;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 255, 0.96)),
    repeating-linear-gradient(135deg, rgba(169, 118, 47, 0.08) 0, rgba(169, 118, 47, 0.08) 1px, transparent 1px, transparent 18px);
  border: 1px solid rgba(169, 118, 47, 0.28);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(15, 27, 45, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.credential-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(169, 118, 47, 0.22);
  border-radius: 6px;
  pointer-events: none;
}

.credential-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 22px;
  width: 34px;
  height: 58px;
  background: linear-gradient(180deg, var(--brass), #7c5421);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%);
  opacity: 0.94;
}

.credential-card:hover {
  transform: translateY(-4px);
  border-color: rgba(169, 118, 47, 0.46);
  box-shadow: 0 16px 34px rgba(15, 27, 45, 0.12);
}

.credential-topline,
.credential-body,
.credential-meta,
.credential-footer {
  position: relative;
  z-index: 1;
}

.credential-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-right: 38px;
}

.credential-badge {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  color: var(--brass);
  background: #fff9ed;
  border: 1px solid rgba(169, 118, 47, 0.28);
  border-radius: 50%;
}

.credential-badge .lucide-icon {
  width: 19px;
  height: 19px;
}

.credential-date {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.credential-title {
  margin: 22px 0 8px;
  color: var(--navy);
  font-family: "Fraunces", Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.18;
}

.credential-issuer {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.credential-meta {
  display: grid;
  gap: 5px;
  margin-top: 18px;
  padding: 10px 0;
  border-top: 1px solid rgba(15, 27, 45, 0.08);
  border-bottom: 1px solid rgba(15, 27, 45, 0.08);
}

.credential-meta span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.credential-meta strong {
  overflow: hidden;
  color: var(--navy);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.credential-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.credential-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.credential-link {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.credential-link .lucide-icon {
  width: 13px;
  height: 13px;
}

.credential-link:hover {
  color: var(--brass);
}

#articles .home-article-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

#recommendations .recommendation-showcase {
  text-align: left;
}

#recommendations .rec-group {
  width: 100%;
  text-align: left;
}

#recommendations .rec-group h3 {
  text-align: left;
}

.extra-rec {
  display: none !important;
}

.movie-ticket.extra-rec.is-visible,
.vinyl-col.extra-rec.is-visible {
  display: flex !important;
}

.book-cover-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

.book-cover-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 15px;
  width: 100%;
  min-height: 138px;
  padding: 14px;
  color: var(--text);
  text-decoration: none;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.book-cover-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 6px rgba(15, 27, 45, 0.05), 0 16px 32px rgba(15, 27, 45, 0.09);
}

.book-cover-card.extra-rec.is-visible {
  display: grid !important;
}

.book-cover-art {
  position: relative;
  display: flex;
  min-height: 112px;
  overflow: hidden;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px;
  color: #fff;
  background-position: center;
  background-size: cover;
  border-radius: 6px;
  box-shadow: inset -8px 0 0 rgba(0, 0, 0, 0.18), 0 8px 18px rgba(15, 27, 45, 0.12);
}

.book-cover-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.16), transparent 30%, rgba(0, 0, 0, 0.18));
  pointer-events: none;
}

.book-cover-mark,
.book-cover-name {
  position: relative;
  z-index: 1;
}

.book-cover-mark {
  width: max-content;
  padding: 3px 6px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: rgba(15, 27, 45, 0.42);
  border-radius: 4px;
}

.book-cover-name {
  font-family: "Fraunces", Georgia, serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.18;
}

.book-cover-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.book-cover-title {
  color: var(--navy);
  font-family: "Fraunces", Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}

.book-cover-author {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
}

.book-cover-meta {
  margin-top: 10px;
  color: var(--brass);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 1020px) {
  #certificates .credential-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .book-cover-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  #articles .home-article-list {
    grid-template-columns: 1fr;
  }

  #recommendations .ticket-row,
  #recommendations .vinyl-row {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 560px) {
  #certificates .credential-grid {
    grid-template-columns: 1fr;
  }

  .book-cover-card {
    grid-template-columns: 82px minmax(0, 1fr);
    padding: 12px;
  }

  .book-cover-art {
    min-height: 104px;
  }
}

/* Restored reference-style ticker and navigation menu */
.ticker {
  position: relative;
  z-index: 120;
  display: flex;
  min-height: 34px;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  color: #dce3ea;
  background: #0f1b2d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.ticker-live {
  position: relative;
  z-index: 2;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 0 18px;
  color: #8fd9a8;
  background: #0f1b2d;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ticker-track {
  display: inline-flex;
  width: max-content;
  min-width: 200%;
  align-items: center;
  padding: 0;
  animation: tickerScroll 34s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 24px;
  color: #b7c2ce;
  font-size: 11px;
  line-height: 34px;
}

.ticker-track b {
  color: #f3d18b;
  font-weight: 800;
}

.subnav {
  position: sticky;
  top: 0;
  z-index: 110;
  display: block;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(220, 233, 243, 0.92);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(14px);
}

.subnav-inner {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-top: 9px;
  padding-bottom: 9px;
  scrollbar-width: none;
}

.subnav-inner::-webkit-scrollbar {
  display: none;
}

.subnav a {
  position: relative;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  flex: 0 0 auto;
  padding: 0 12px;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: var(--nav);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.subnav a:hover,
.subnav a.active {
  color: var(--navy);
  background: #f8fbff;
  border-color: var(--line);
}

.subnav a.active::after {
  display: none;
}

.subnav .nav-brand {
  width: 38px;
  min-height: 38px;
  justify-content: center;
  margin-right: 6px;
  padding: 0;
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(15, 27, 45, 0.18);
}

@media (max-width: 860px) {
  .ticker-track span {
    margin: 0 18px;
  }

  .subnav-inner {
    width: calc(100% - 16px);
    gap: 8px;
  }

  .subnav a {
    padding: 0 10px;
  }
}

@media (max-width: 560px) {
  .ticker {
    min-height: 30px;
  }

  .ticker-live {
    min-height: 30px;
    padding: 0 12px;
    font-size: 9.5px;
  }

  .ticker-track span {
    margin: 0 14px;
    font-size: 10px;
    line-height: 30px;
  }

  .subnav-inner {
    min-height: 50px;
  }

  .subnav .nav-brand {
    width: 34px;
    min-height: 34px;
  }
}

/* Modern portfolio hub upgrades */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b1220;
  --panel: #111b2d;
  --text: #e5edf7;
  --muted: #9fb0c7;
  --line: #24344d;
  --soft: #0f1a2b;
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

:root[data-theme="dark"] body,
:root[data-theme="dark"] .site-hero {
  background: var(--bg);
}

:root[data-theme="dark"] .profile-panel,
:root[data-theme="dark"] .media-card,
:root[data-theme="dark"] .skill-card,
:root[data-theme="dark"] .credential-card,
:root[data-theme="dark"] .action-card,
:root[data-theme="dark"] .bookshelf-wrap,
:root[data-theme="dark"] .movie-ticket,
:root[data-theme="dark"] .book-cover-card,
:root[data-theme="dark"] .search-panel,
:root[data-theme="dark"] .detail-page-card,
:root[data-theme="dark"] .timeline-item {
  background: var(--panel);
  border-color: var(--line);
}

:root[data-theme="dark"] .subnav {
  background: rgba(17, 27, 45, 0.92);
}

:root[data-theme="dark"] .hero-art {
  background-color: #111b2d;
  border-bottom-color: var(--line);
}

:root[data-theme="dark"] .media-title,
:root[data-theme="dark"] .credential-title,
:root[data-theme="dark"] .skill-name,
:root[data-theme="dark"] .ticket-title,
:root[data-theme="dark"] .book-cover-title,
:root[data-theme="dark"] .site-hero h1 {
  color: var(--text);
}

.nav-icon-button,
.theme-select {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.nav-icon-button {
  width: 38px;
  padding: 0;
  cursor: pointer;
}

.nav-icon-button .lucide-icon {
  width: 16px;
  height: 16px;
}

.theme-select {
  padding: 0 10px;
  font: inherit;
  font-weight: 700;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  margin: 4px 0 12px;
  padding: 7px 10px;
  color: var(--green);
  background: var(--green-soft);
  border: 1px solid rgba(21, 128, 61, 0.18);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.availability-badge span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.hero-stats span {
  display: grid;
  gap: 2px;
  padding: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-stats strong {
  color: var(--navy);
  font-family: "DM Sans", sans-serif;
  font-size: 22px;
  line-height: 1;
}

:root[data-theme="dark"] .hero-stats strong {
  color: var(--text);
}

.hero-stats small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.timeline-list {
  position: relative;
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.timeline-date {
  color: var(--brass);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 800;
}

.timeline-type {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline-item h3 {
  margin-bottom: 6px;
}

.timeline-item p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  align-items: center;
  padding-top: 26px;
  padding-bottom: 26px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: grid;
  gap: 2px;
}

.footer-brand strong {
  color: var(--text);
  font-size: 16px;
}

.footer-brand span,
.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: start center;
  padding: 8vh 18px;
  background: rgba(15, 23, 42, 0.42);
}

.search-modal[hidden] {
  display: none;
}

.search-panel {
  width: min(720px, 100%);
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.28);
}

.search-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
}

.search-top label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}

.search-top input {
  width: 100%;
  padding: 12px 14px;
  color: var(--text);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.search-results {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.search-result-group {
  display: grid;
  gap: 3px;
  padding: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.search-result-group span,
.empty-state {
  color: var(--muted);
}

.detail-page-card {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.detail-hero-image {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.detail-content {
  padding: 26px;
}

.detail-content h1 {
  margin-bottom: 10px;
}

.detail-meta {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
}

.detail-empty {
  padding: 40px 0;
}

@media (max-width: 760px) {
  .hero-stats,
  .footer,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .footer {
    align-items: start;
  }
}

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