/* ---------------------------------------------------------------------------
   Design tokens
--------------------------------------------------------------------------- */
:root {
  color-scheme: light;

  --bg: #fbfbfc;
  --bg-elevated: #ffffff;
  --surface: #f4f5f7;
  --surface-hover: #eceef1;
  --border: #e0e3e8;
  --border-strong: #cbd0d8;

  --text: #14181f;
  --text-muted: #5c6572;
  --text-faint: #6b7383;

  --accent: #2a5fd6;
  --accent-hover: #1e4bb0;
  --accent-soft: rgba(42, 95, 214, 0.09);
  --accent-contrast: #ffffff;

  --ok: #17734b;
  --ok-soft: rgba(23, 115, 75, 0.1);
  --warn: #8a5a09;
  --warn-soft: rgba(138, 90, 9, 0.11);
  --lock: #6b4fbd;
  --lock-soft: rgba(107, 79, 189, 0.11);

  --shadow-sm: 0 1px 2px rgba(16, 22, 33, 0.05);
  --shadow-md: 0 6px 24px -12px rgba(16, 22, 33, 0.24);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;

  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas,
    "Liberation Mono", monospace;

  --content-width: 1080px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
}

:root[data-theme="dark"] {
  color-scheme: dark;

  --bg: #0c0e13;
  --bg-elevated: #12151c;
  --surface: #161a22;
  --surface-hover: #1c212b;
  --border: #262c37;
  --border-strong: #363e4c;

  --text: #e7eaf0;
  --text-muted: #9aa3b2;
  --text-faint: #7d8797;

  --accent: #7aa2ff;
  --accent-hover: #98b7ff;
  --accent-soft: rgba(122, 162, 255, 0.13);
  --accent-contrast: #0c0e13;

  --ok: #4bd0a0;
  --ok-soft: rgba(75, 208, 160, 0.13);
  --warn: #e0b155;
  --warn-soft: rgba(224, 177, 85, 0.13);
  --lock: #b39bff;
  --lock-soft: rgba(179, 155, 255, 0.13);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 30px -14px rgba(0, 0, 0, 0.8);
}

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

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 650;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}
h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
}
h3 {
  font-size: 1.12rem;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--accent);
  text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-hover);
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}

ul {
  margin: 0;
  padding-left: 1.15rem;
}

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

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

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

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-contrast);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0.75rem;
  color: var(--accent-contrast);
}

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

main {
  flex: 1;
}

.section {
  padding-block: clamp(2.75rem, 7vw, 4.5rem);
}

.section--tight {
  padding-block: clamp(1.75rem, 4vw, 2.75rem);
}

.section + .section {
  border-top: 1px solid var(--border);
}

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1.75rem;
}

.section__head p {
  color: var(--text-muted);
  max-width: 60ch;
  margin: 0.4rem 0 0;
  flex-basis: 100%;
}

/* Page headings that lead a section rather than a hero: h1 semantics, h2 sizing. */
.page-title {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 0.6rem;
}

/* ---------------------------------------------------------------------------
   Header
--------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 62px;
}

.brand {
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.brand:hover {
  color: var(--text);
}

.brand span {
  color: var(--accent);
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-sm);
  font-size: 0.925rem;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--text);
  background: var(--surface-hover);
}

.site-nav a.active {
  color: var(--text);
  background: var(--accent-soft);
}

.theme-toggle {
  margin-left: 0.35rem;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  flex: none;
}

.theme-toggle:hover {
  background: var(--surface-hover);
  color: var(--text);
}

.theme-toggle svg {
  width: 17px;
  height: 17px;
}

:root:not([data-theme="dark"]) .theme-toggle .icon-sun,
:root[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

@media (max-width: 640px) {
  .site-header__inner {
    flex-wrap: wrap;
    padding-block: 0.6rem;
    min-height: 0;
  }
  .site-nav {
    order: 3;
    flex-basis: 100%;
    margin-left: 0;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }
  .theme-toggle {
    margin-left: auto;
  }
}

/* ---------------------------------------------------------------------------
   Hero
--------------------------------------------------------------------------- */
.hero {
  padding-block: clamp(3rem, 9vw, 5.5rem) clamp(2.5rem, 6vw, 4rem);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% 40% 40% -20%;
  background: radial-gradient(
    closest-side,
    var(--accent-soft),
    transparent 70%
  );
  pointer-events: none;
}

.hero > * {
  position: relative;
}

.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  margin-bottom: 1.4rem;
}

.hero__status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  flex: none;
}

.hero h1 {
  max-width: 20ch;
}

.hero__role {
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: var(--accent);
  font-weight: 550;
  margin: 0.9rem 0 0;
}

.hero__lead {
  margin-top: 1.25rem;
  max-width: 62ch;
  color: var(--text-muted);
  font-size: 1.06rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.hero__meta div {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.hero__meta dt {
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
}

.hero__meta dd {
  margin: 0;
}

/* ---------------------------------------------------------------------------
   Buttons
--------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 0.94rem;
  font-weight: 550;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-contrast);
}

.btn--primary:hover {
  background: var(--accent-hover);
  color: var(--accent-contrast);
}

.btn--ghost {
  border-color: var(--border-strong);
  color: var(--text);
  background: var(--bg-elevated);
}

.btn--ghost:hover {
  background: var(--surface-hover);
  color: var(--text);
  border-color: var(--text-faint);
}

.btn svg {
  width: 15px;
  height: 15px;
  flex: none;
}

/* ---------------------------------------------------------------------------
   Cards & grids
--------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: 1rem;
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}

.grid--spaced {
  margin-top: 1.75rem;
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* Project card */
.project-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, transform 0.15s ease,
    box-shadow 0.15s ease;
}

.project-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.project-card__top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}

.project-card__title {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.project-card__title a {
  color: var(--text);
  text-decoration: none;
}

.project-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.project-card {
  position: relative;
}

.project-card__title a:hover {
  color: var(--accent);
}

.project-card__subtitle {
  color: var(--text-faint);
  font-size: 0.88rem;
  margin-bottom: 0.85rem;
}

.project-card__summary {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-bottom: 1.1rem;
}

.project-card__highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.project-card__highlights li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}

.project-card__highlights li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
  margin-top: 0.62em;
}

.project-card__foot {
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

/* ---------------------------------------------------------------------------
   Badges & tags
--------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  border: 1px solid transparent;
  max-width: 100%;
}

.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

.badge--confirmed {
  color: var(--ok);
  background: var(--ok-soft);
  border-color: color-mix(in srgb, var(--ok) 25%, transparent);
}

.badge--active {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 25%, transparent);
}

.badge--verify {
  color: var(--warn);
  background: var(--warn-soft);
  border-color: color-mix(in srgb, var(--warn) 25%, transparent);
}

.badge--restricted,
.badge--private {
  color: var(--lock);
  background: var(--lock-soft);
  border-color: color-mix(in srgb, var(--lock) 25%, transparent);
}

.badge--public {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 25%, transparent);
}

.badge--neutral {
  color: var(--text-muted);
  background: var(--surface);
  border-color: var(--border);
}

.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.16rem 0.5rem;
  white-space: nowrap;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ---------------------------------------------------------------------------
   Skills
--------------------------------------------------------------------------- */
.skill-group {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.skill-group > p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.skill-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.skill-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  align-items: baseline;
  padding-bottom: 0.55rem;
  border-bottom: 1px dashed var(--border);
}

.skill-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.skill-list__name {
  font-weight: 550;
  font-size: 0.94rem;
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}

.skill-list__evidence {
  flex: 1 1 100%;
  color: var(--text-faint);
  font-size: 0.82rem;
}

.level {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  flex: none;
}

.level--core {
  color: var(--accent);
  background: var(--accent-soft);
}

.level--solid {
  color: var(--ok);
  background: var(--ok-soft);
}

.level--applied {
  color: var(--text-muted);
  background: var(--surface);
}

/* ---------------------------------------------------------------------------
   Project detail
--------------------------------------------------------------------------- */
.breadcrumb {
  font-size: 0.86rem;
  color: var(--text-faint);
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.project-header__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.project-header__summary {
  font-size: 1.06rem;
  color: var(--text-muted);
  max-width: 68ch;
  margin-top: 1rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.prose > section + section {
  margin-top: 2.25rem;
}

.prose h2 {
  font-size: 1.28rem;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.prose h2::before {
  content: "";
  width: 3px;
  height: 1.05em;
  border-radius: 2px;
  background: var(--accent);
  flex: none;
}

.prose p {
  color: var(--text-muted);
  max-width: 70ch;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
  color: var(--text-muted);
  max-width: 70ch;
}

.checklist li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.checklist li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--accent);
  flex: none;
  margin-top: 0.6em;
}

.flow {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: flow;
  display: grid;
  gap: 0;
}

.flow li {
  counter-increment: flow;
  position: relative;
  padding: 0 0 1.05rem 2.15rem;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.flow li::before {
  content: counter(flow);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
}

.flow li::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 26px;
  bottom: 2px;
  width: 1px;
  background: var(--border);
}

.flow li:last-child {
  padding-bottom: 0;
}

.flow li:last-child::after {
  display: none;
}

.sidebar {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 82px;
}

@media (max-width: 900px) {
  .sidebar {
    position: static;
  }
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
}

.panel h3 {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.panel p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.panel dl {
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.panel dt {
  font-size: 0.78rem;
  color: var(--text-faint);
}

.panel dd {
  margin: 0.1rem 0 0;
  font-size: 0.9rem;
}

.panel__note {
  margin-top: 0.85rem;
}

.media-placeholder {
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  color: var(--text-faint);
  font-size: 0.9rem;
  background: var(--surface);
}

.figure-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
}

.figure-grid figure {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elevated);
}

.figure-grid a {
  display: block;
  line-height: 0;
}

.figure-grid img {
  width: 100%;
  cursor: zoom-in;
}

.figure-grid figcaption {
  padding: 0.65rem 0.9rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

.pager {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  margin-top: 2.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
}

/* ---------------------------------------------------------------------------
   Project filter
--------------------------------------------------------------------------- */
.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.75rem;
}

.filter button {
  font: inherit;
  font-size: 0.88rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.filter button:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.filter button[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-contrast);
}

.project-list {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
}

.project-list > [hidden] {
  display: none;
}

/* ---------------------------------------------------------------------------
   Notice / contact
--------------------------------------------------------------------------- */
.notice {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1.1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.notice svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 0.2rem;
  color: var(--accent);
}

.notice--spaced {
  margin-top: 1.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 1rem;
}

.contact-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.contact-card__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.45rem;
}

.contact-card__value {
  font-size: 1.02rem;
  font-weight: 550;
  word-break: break-word;
}

.contact-card__value--muted {
  color: var(--text-faint);
  font-weight: 400;
  font-size: 0.92rem;
}

/* ---------------------------------------------------------------------------
   Footer
--------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 2rem;
  color: var(--text-faint);
  font-size: 0.87rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

.site-footer nav {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
}
