@charset "UTF-8";
:root {
  --nav-height: 3rem;
  --sidebar-width: 280px;
  --content-gap: 3rem;
  --page-max-width: 900px;
  --font-mono: "Fira Code", ui-monospace, "SFMono-Regular", Menlo, Consolas,
    "Liberation Mono", monospace;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  --fs-base: 15px;
  --lh-base: 1.6;
  --radius: 6px;
  --radius-lg: 10px;
  --radius-pill: 999px;
  color-scheme: light;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f4f6f8;
  --text: #383838;
  --text-strong: #1b1b1b;
  --text-muted: #767676;
  --border: #e5e5e5;
  --border-strong: #d8d8d8;
  --accent: #206596;
  --accent-hover: #1a5278;
  --accent-soft: #5aa5db;
  --accent-contrast: #ffffff;
  --link: #267cb9;
  --code-bg: #f8f8f8;
  --shadow: rgba(0, 0, 0, 0.12);
  --shadow-card: rgba(32, 101, 150, 0.14);
  --nav-bg: #206596;
  --nav-fg: #ffffff;
  --nav-border: #1a5278;
  --nav-hover: #5aa5db;
  --status-ongoing-bg: #e7f6ee;
  --status-ongoing-fg: #1d7a4d;
  --status-completed-bg: #eaf1f8;
  --status-completed-fg: #206596;
  --tag-bg: #f1f3f5;
  --tag-border: #e7e9ec;
  --tag-fg: #555555;
  --danger: #cc2b2b;
}

[data-theme=dark] {
  color-scheme: dark;
  --bg: #0f1419;
  --surface: #161b22;
  --surface-alt: #1c2330;
  --text: #c9d1d9;
  --text-strong: #f0f3f6;
  --text-muted: #8b949e;
  --border: #2a313c;
  --border-strong: #3a424f;
  --accent: #4d9fd6;
  --accent-hover: #6fb3e0;
  --accent-soft: #3a6f99;
  --accent-contrast: #0f1419;
  --link: #58b0e8;
  --code-bg: #1c2330;
  --shadow: rgba(0, 0, 0, 0.5);
  --shadow-card: rgba(0, 0, 0, 0.45);
  --nav-bg: #11161d;
  --nav-fg: #e6edf3;
  --nav-border: #2a313c;
  --nav-hover: #243040;
  --status-ongoing-bg: rgba(45, 164, 103, 0.16);
  --status-ongoing-fg: #4ec98a;
  --status-completed-bg: rgba(77, 159, 214, 0.16);
  --status-completed-fg: #6fb3e0;
  --tag-bg: #1c2330;
  --tag-border: #2a313c;
  --tag-fg: #adb6c0;
  --danger: #f0726f;
}

@font-face {
  font-family: "Fira Code";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Fira-Code/FiraCode-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Fira Code";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Fira-Code/FiraCode-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "Fira Code";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Fira-Code/FiraCode-SemiBold.woff2") format("woff2");
}
.highlight table td {
  padding: 5px;
}

.highlight table pre {
  margin: 0;
}

.highlight .cm {
  color: #999988;
  font-style: italic;
}

.highlight .cp {
  color: #999999;
  font-weight: bold;
}

.highlight .c1 {
  color: #999988;
  font-style: italic;
}

.highlight .cs {
  color: #999999;
  font-weight: bold;
  font-style: italic;
}

.highlight .c, .highlight .cd {
  color: #999988;
  font-style: italic;
}

.highlight .err {
  color: #a61717;
  background-color: #e3d2d2;
}

.highlight .gd {
  color: #000000;
  background-color: #ffdddd;
}

.highlight .ge {
  color: #000000;
  font-style: italic;
}

.highlight .gr {
  color: #aa0000;
}

.highlight .gh {
  color: #999999;
}

.highlight .gi {
  color: #000000;
  background-color: #ddffdd;
}

.highlight .go {
  color: #888888;
}

.highlight .gp {
  color: #555555;
}

.highlight .gs {
  font-weight: bold;
}

.highlight .gu {
  color: #aaaaaa;
}

.highlight .gt {
  color: #aa0000;
}

.highlight .kc {
  color: #000000;
  font-weight: bold;
}

.highlight .kd {
  color: #000000;
  font-weight: bold;
}

.highlight .kn {
  color: #000000;
  font-weight: bold;
}

.highlight .kp {
  color: #000000;
  font-weight: bold;
}

.highlight .kr {
  color: #000000;
  font-weight: bold;
}

.highlight .kt {
  color: #445588;
  font-weight: bold;
}

.highlight .k, .highlight .kv {
  color: #000000;
  font-weight: bold;
}

.highlight .mf {
  color: #009999;
}

.highlight .mh {
  color: #009999;
}

.highlight .il {
  color: #009999;
}

.highlight .mi {
  color: #009999;
}

.highlight .mo {
  color: #009999;
}

.highlight .m, .highlight .mb, .highlight .mx {
  color: #009999;
}

.highlight .sb {
  color: #d14;
}

.highlight .sc {
  color: #d14;
}

.highlight .sd {
  color: #d14;
}

.highlight .s2 {
  color: #d14;
}

.highlight .se {
  color: #d14;
}

.highlight .sh {
  color: #d14;
}

.highlight .si {
  color: #d14;
}

.highlight .sx {
  color: #d14;
}

.highlight .sr {
  color: #009926;
}

.highlight .s1 {
  color: #d14;
}

.highlight .ss {
  color: #990073;
}

.highlight .s {
  color: #d14;
}

.highlight .na {
  color: #008080;
}

.highlight .bp {
  color: #999999;
}

.highlight .nb {
  color: #0086B3;
}

.highlight .nc {
  color: #445588;
  font-weight: bold;
}

.highlight .no {
  color: #008080;
}

.highlight .nd {
  color: #3c5d5d;
  font-weight: bold;
}

.highlight .ni {
  color: #800080;
}

.highlight .ne {
  color: #990000;
  font-weight: bold;
}

.highlight .nf {
  color: #990000;
  font-weight: bold;
}

.highlight .nl {
  color: #990000;
  font-weight: bold;
}

.highlight .nn {
  color: #555555;
}

.highlight .nt {
  color: #000080;
}

.highlight .vc {
  color: #008080;
}

.highlight .vg {
  color: #008080;
}

.highlight .vi {
  color: #008080;
}

.highlight .nv {
  color: #008080;
}

.highlight .ow {
  color: #000000;
  font-weight: bold;
}

.highlight .o {
  color: #000000;
  font-weight: bold;
}

.highlight .w {
  color: #bbbbbb;
}

.highlight {
  background-color: #f8f8f8;
}

[data-theme=dark] .highlight {
  background-color: var(--code-bg);
  color: #c9d1d9;
}
[data-theme=dark] .highlight .k, [data-theme=dark] .highlight .kv,
[data-theme=dark] .highlight .kc, [data-theme=dark] .highlight .kd, [data-theme=dark] .highlight .kn,
[data-theme=dark] .highlight .kp, [data-theme=dark] .highlight .kr,
[data-theme=dark] .highlight .o, [data-theme=dark] .highlight .ow {
  color: #ff7b72;
}
[data-theme=dark] .highlight .kt, [data-theme=dark] .highlight .nc {
  color: #d2a8ff;
}
[data-theme=dark] .highlight .m, [data-theme=dark] .highlight .mf, [data-theme=dark] .highlight .mh, [data-theme=dark] .highlight .mi,
[data-theme=dark] .highlight .mo, [data-theme=dark] .highlight .mb, [data-theme=dark] .highlight .mx, [data-theme=dark] .highlight .il {
  color: #79c0ff;
}
[data-theme=dark] .highlight .s, [data-theme=dark] .highlight .s1, [data-theme=dark] .highlight .s2, [data-theme=dark] .highlight .sb,
[data-theme=dark] .highlight .sc, [data-theme=dark] .highlight .sd, [data-theme=dark] .highlight .se, [data-theme=dark] .highlight .sh,
[data-theme=dark] .highlight .si, [data-theme=dark] .highlight .sx {
  color: #a5d6ff;
}
[data-theme=dark] .highlight .nf, [data-theme=dark] .highlight .nl, [data-theme=dark] .highlight .ne {
  color: #d2a8ff;
}
[data-theme=dark] .highlight .na, [data-theme=dark] .highlight .no, [data-theme=dark] .highlight .nv,
[data-theme=dark] .highlight .vc, [data-theme=dark] .highlight .vg, [data-theme=dark] .highlight .vi {
  color: #79c0ff;
}
[data-theme=dark] .highlight .nb, [data-theme=dark] .highlight .nt {
  color: #7ee787;
}
[data-theme=dark] .highlight .nn {
  color: #c9d1d9;
}
[data-theme=dark] .highlight .c, [data-theme=dark] .highlight .cd, [data-theme=dark] .highlight .cm,
[data-theme=dark] .highlight .c1, [data-theme=dark] .highlight .cs, [data-theme=dark] .highlight .cp {
  color: #8b949e;
}
[data-theme=dark] .highlight .gi {
  color: #aff5b4;
  background-color: rgba(46, 160, 67, 0.15);
}
[data-theme=dark] .highlight .gd {
  color: #ffdcd7;
  background-color: rgba(248, 81, 73, 0.15);
}

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

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

body {
  margin: 0;
  padding: var(--nav-height) 0 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.75rem;
  color: var(--text-strong);
  font-family: var(--font-mono);
  font-weight: 600;
  line-height: 1.25;
}

h1 {
  font-size: 1.7rem;
}

h2 {
  font-size: 1.35rem;
}

h3 {
  font-size: 1.15rem;
}

h4 {
  font-size: 1rem;
}

h5, h6 {
  font-size: 0.9rem;
}

p, ul, ol, table, pre, dl {
  margin: 0 0 1.25rem;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}

a:hover,
a:focus {
  text-decoration: underline;
}

a small {
  display: block;
  margin-top: -0.3em;
  font-size: 0.75rem;
  color: var(--text-muted);
}

a:hover small {
  color: var(--text-muted);
}

strong {
  color: var(--text-strong);
  font-weight: 600;
}

blockquote {
  margin: 0 0 1.25rem;
  padding: 0 0 0 1.25rem;
  border-left: 3px solid var(--border-strong);
  color: var(--text-muted);
  font-style: italic;
}

code, pre {
  font-family: var(--font-mono);
  font-size: 0.85em;
}

code {
  padding: 0.1rem 0.35rem;
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-strong);
}

pre {
  padding: 0.85rem 1rem;
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow-x: auto;
}
pre code {
  padding: 0;
  background: none;
  border: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 0.4rem 0.65rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  color: var(--text-strong);
}

dt {
  color: var(--text-strong);
  font-weight: 600;
}

img {
  max-width: 100%;
}

hr {
  height: 1px;
  margin: 1.75rem 0;
  border: 0;
  background: var(--border);
}

kbd {
  display: inline-block;
  padding: 3px 5px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 10px;
  color: var(--text-strong);
  background-color: var(--surface-alt);
  border: 1px solid var(--border-strong);
  border-radius: 3px;
  vertical-align: middle;
}

/* --- Top navigation --- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background-color: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  box-shadow: 0 1px 4px var(--shadow);
}

.site-nav__inner {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  max-width: var(--page-max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

.site-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--nav-fg);
  font-family: var(--font-mono);
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.site-nav__brand:hover,
.site-nav__brand:focus {
  color: var(--nav-fg);
  text-decoration: underline;
}

.site-nav__right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-nav__links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.25rem;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--nav-fg);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius);
  white-space: nowrap;
}

.site-nav__link:hover,
.site-nav__link:focus {
  background-color: var(--nav-hover);
  color: var(--nav-fg);
  text-decoration: none;
}

.site-nav__item--has-flyout {
  position: relative;
}

.site-nav__flyout {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 12.5rem;
  padding-top: 0.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  z-index: 1001;
}

.site-nav__item--has-flyout:hover .site-nav__flyout,
.site-nav__item--has-flyout:focus-within .site-nav__flyout {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-nav__flyout-panel {
  background-color: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 20px var(--shadow-card);
  overflow: hidden;
}

.site-nav__flyout-panel .site-nav__flyout-link {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.6rem 0.9rem;
  color: var(--text);
  background-color: var(--surface);
  border: none;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}

.site-nav__flyout-panel .site-nav__flyout-link:last-child {
  border-bottom: none;
}

.site-nav__flyout-panel .site-nav__flyout-link:hover,
.site-nav__flyout-panel .site-nav__flyout-link:focus {
  background-color: var(--surface-alt);
  color: var(--text);
  text-decoration: none;
  outline: none;
}

.site-nav__flyout-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-strong);
  line-height: 1.3;
}

.site-nav__flyout-desc {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.site-nav__flyout-panel .site-nav__flyout-link.pgp .site-nav__flyout-title {
  color: var(--danger);
}

.site-nav__flyout-panel .site-nav__flyout-link.pgp:hover,
.site-nav__flyout-panel .site-nav__flyout-link.pgp:focus {
  background-color: var(--danger);
}

.site-nav__flyout-panel .site-nav__flyout-link.pgp:hover .site-nav__flyout-title,
.site-nav__flyout-panel .site-nav__flyout-link.pgp:focus .site-nav__flyout-title,
.site-nav__flyout-panel .site-nav__flyout-link.pgp:hover .site-nav__flyout-desc,
.site-nav__flyout-panel .site-nav__flyout-link.pgp:focus .site-nav__flyout-desc {
  color: #fff;
}

.site-nav__flyout-panel--in-menu {
  margin: 0 0.65rem 0.75rem;
}

/* Theme toggle */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  color: var(--nav-fg);
  background: transparent;
  border: 1px solid var(--nav-border);
  border-radius: var(--radius);
  cursor: pointer;
  line-height: 0;
}

.theme-toggle:hover,
.theme-toggle:focus {
  background-color: var(--nav-hover);
  outline: none;
}

.theme-toggle__icon {
  width: 1.05em;
  height: 1.05em;
}

.theme-toggle__icon--sun {
  display: none;
}

.theme-toggle__icon--moon {
  display: inline-flex;
}

[data-theme=dark] .theme-toggle__icon--sun {
  display: inline-flex;
}

[data-theme=dark] .theme-toggle__icon--moon {
  display: none;
}

/* Mobile dropdown menu */
.site-nav__menu {
  display: none;
  position: relative;
}

.site-nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  cursor: pointer;
  color: var(--nav-fg);
  font: inherit;
  font-family: var(--font-mono);
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--accent-soft);
  border-radius: var(--radius);
  background: transparent;
  user-select: none;
}

.site-nav__toggle::-webkit-details-marker {
  display: none;
}

.site-nav__toggle:hover,
.site-nav__toggle:focus {
  background-color: var(--nav-hover);
  outline: none;
}

.site-nav__dropdown {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  min-width: 10rem;
  background-color: var(--nav-bg);
  border: 1px solid var(--nav-border);
  border-radius: var(--radius);
  box-shadow: 0 4px 12px var(--shadow);
  z-index: 1001;
}

.site-nav__dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--nav-fg);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--nav-border);
}

.site-nav__dropdown-group {
  border-bottom: 1px solid var(--nav-border);
}

.site-nav__dropdown-group .site-nav__dropdown-link {
  border-bottom: none;
  padding-bottom: 0.45rem;
}

.site-nav__dropdown > .site-nav__dropdown-link:last-child,
.site-nav__dropdown > .site-nav__dropdown-group:last-child {
  border-bottom: none;
}

.site-nav__dropdown-link:hover,
.site-nav__dropdown-link:focus {
  background-color: var(--nav-hover);
  color: var(--nav-fg);
  text-decoration: none;
}

/* --- Page wrapper --- */
.wrapper {
  display: grid;
  grid-template-columns: minmax(0, var(--sidebar-width)) minmax(0, 1fr);
  column-gap: var(--content-gap);
  align-items: start;
  max-width: var(--page-max-width);
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.content {
  min-width: 0;
  max-width: 100%;
  padding-bottom: 3rem;
  overflow-wrap: break-word;
}

/* --- Sidebar / profile --- */
.sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
  align-self: start;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
}

.sidebar__checkbox {
  display: none;
}

header {
  width: 100%;
  max-width: 100%;
}

.name {
  margin: 0 0 0.25rem;
  padding: 0 0 0.35rem;
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-strong);
  border-bottom: 2px solid var(--accent);
}

.site-footer {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 0 1.5rem 1.25rem;
  text-align: right;
  color: var(--text-muted);
}

.site-footer p {
  margin: 0;
}

.site-footer small {
  font-size: 0.72rem;
}

@media screen and (min-width: 821px) {
  .sidebar__toggle {
    display: none;
  }
  .name {
    margin-bottom: 0.4rem;
    padding-bottom: 0.5rem;
    font-size: 1.45rem;
  }
}
/* --- Responsive: stack sidebar above content --- */
@media print, screen and (max-width: 820px) {
  .wrapper {
    display: block;
    padding: 1.5rem 1.25rem 2.5rem;
  }
  .sidebar {
    position: static;
    margin-bottom: 1rem;
  }
  .sidebar__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    cursor: pointer;
    color: var(--nav-fg);
    font: inherit;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--nav-border);
    border-radius: var(--radius);
    background-color: var(--nav-bg);
    user-select: none;
  }
  .sidebar__toggle-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
  }
  .sidebar__toggle-name {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.2;
  }
  .sidebar__toggle-desc {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.85;
    line-height: 1.3;
  }
  .sidebar__toggle-control {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    opacity: 0.95;
  }
  .sidebar__toggle-icon::before {
    content: "▸";
    display: inline-block;
    font-size: 1rem;
    line-height: 1;
    transition: transform 0.15s ease;
  }
  .sidebar__checkbox:checked + .sidebar__toggle .sidebar__toggle-action {
    display: none;
  }
  .sidebar__checkbox:checked + .sidebar__toggle .sidebar__toggle-icon::before {
    transform: rotate(90deg);
  }
  .sidebar__checkbox:checked + .sidebar__toggle .sidebar__toggle-control::before {
    content: "Hide";
  }
  /* When open, merge the toggle into the panel below it and promote the
     headline so it reads as the panel's title. */
  .sidebar__checkbox:checked + .sidebar__toggle {
    align-items: flex-start;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
    border-bottom-color: transparent;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  .sidebar__checkbox:checked + .sidebar__toggle .sidebar__toggle-text {
    gap: 0.4rem;
  }
  .sidebar__checkbox:checked + .sidebar__toggle .sidebar__toggle-name {
    font-size: 1.3rem;
    width: max-content;
    max-width: 100%;
    padding-bottom: 0.35rem;
    border-bottom: 2px solid var(--accent-soft);
  }
  .sidebar__toggle:hover,
  .sidebar__toggle:focus {
    background-color: var(--nav-hover);
    outline: none;
  }
  .sidebar__body {
    display: none;
  }
  /* Expanded content reads as a child panel hanging off the toggle. */
  .sidebar__checkbox:checked ~ .sidebar__body {
    display: block;
    margin-top: 0;
    padding: 0.85rem 0.9rem 1rem;
    background-color: var(--surface);
    border: 1px solid var(--nav-border);
    border-top: none;
    border-bottom-left-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
  }
  .sidebar__body header .name {
    display: none;
  }
  .content {
    border-top: none;
    padding-top: 0;
  }
  .site-footer {
    padding: 0 1.25rem 1rem;
  }
  header a small {
    display: inline;
  }
}
@media print, screen and (max-width: 720px) {
  .site-nav__links {
    display: none;
  }
  .site-nav__menu {
    display: block;
  }
  .site-nav__dropdown {
    min-width: 14.5rem;
    max-width: min(18rem, 100vw - 1.5rem);
    max-height: calc(100vh - var(--nav-height) - 1rem);
    overflow-y: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 6px 20px var(--shadow);
    padding: 0.2rem 0;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
  }
  .site-nav__dropdown-link {
    padding: 0.7rem 1rem;
  }
  .site-nav__dropdown-group .site-nav__dropdown-link {
    padding-bottom: 0.7rem;
    border-bottom: 1px solid var(--nav-border);
  }
  .site-nav__flyout-panel--in-menu {
    position: relative;
    margin: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .site-nav__flyout-panel--in-menu::before {
    content: "";
    position: absolute;
    top: 1.25rem;
    bottom: 1.25rem;
    left: 1.45rem;
    width: 1px;
    background: var(--nav-border);
  }
  .site-nav__flyout-panel--in-menu .site-nav__flyout-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
    padding: 0.7rem 1rem 0.7rem 2.65rem;
    color: var(--nav-fg);
    background: transparent;
    border-bottom: 1px solid var(--nav-border);
  }
  .site-nav__flyout-panel--in-menu .site-nav__flyout-link::before {
    content: "";
    position: absolute;
    left: 1.45rem;
    width: 0.55rem;
    height: 1px;
    background: var(--nav-border);
  }
  .site-nav__flyout-panel--in-menu .site-nav__flyout-link:last-child {
    border-bottom: none;
  }
  .site-nav__flyout-panel--in-menu .site-nav__flyout-link:hover,
  .site-nav__flyout-panel--in-menu .site-nav__flyout-link:focus {
    color: var(--nav-fg);
    background-color: var(--nav-hover);
  }
  .site-nav__flyout-panel--in-menu .site-nav__flyout-title {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.2;
  }
  .site-nav__flyout-panel--in-menu .site-nav__flyout-desc {
    display: none;
  }
  .site-nav__flyout-panel--in-menu .site-nav__flyout-link.pgp .site-nav__flyout-title {
    color: rgba(255, 255, 255, 0.82);
  }
  body {
    word-wrap: break-word;
  }
  .wrapper {
    padding: 1.25rem 1rem 2rem;
  }
  pre, code {
    word-wrap: normal;
  }
}
@media print, screen and (max-width: 480px) {
  .site-nav__inner {
    padding: 0 0.75rem;
  }
  .wrapper {
    padding: 1rem 0.75rem 1.5rem;
  }
  .site-footer {
    padding: 0 0.75rem 0.75rem;
  }
}
/* --- Print --- */
@media print {
  body {
    padding-top: 0;
  }
  .site-nav {
    position: static;
    border-bottom: 1px solid #ccc;
  }
  .theme-toggle,
  .site-nav__menu {
    display: none;
  }
  .sidebar {
    position: static;
  }
  .sidebar__toggle {
    display: none;
  }
  .sidebar__body {
    display: block;
  }
  .wrapper {
    padding: 0.4in;
    font-size: 12pt;
  }
}
.profile-card {
  max-width: 100%;
  margin-top: 0.5rem;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  overflow: hidden;
}

@media screen and (min-width: 821px) {
  .profile-card {
    margin-top: 0.65rem;
  }
  .contact-direct__row {
    margin-bottom: 0.4rem;
  }
  .contact-direct__value a {
    font-size: 0.9rem;
  }
  .contact-social {
    margin-top: 0;
  }
  .contact-meta {
    margin-top: 0.55rem;
  }
}
@media print, screen and (max-width: 820px) {
  .profile-card {
    margin-top: 0.65rem;
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
  }
  .profile-card .sidebar-blurb,
  .profile-card .contact-direct,
  .profile-card .contact-social,
  .profile-card .contact-meta,
  .profile-card .contact-vcard {
    padding-left: 0;
    padding-right: 0;
  }
}
.sidebar-blurb {
  margin: 0;
  padding: 0.7rem 0.75rem 0.6rem;
  border-bottom: 1px solid var(--border);
}

.sidebar-blurb__line {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--text);
}

.sidebar-blurb__line + .sidebar-blurb__line {
  margin-top: 0.16rem;
}

.contact-direct {
  margin: 0;
  padding: 0.65rem 0.75rem 0;
}

.contact-direct__row {
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0 0.45rem;
  margin: 0 0 0.38rem;
}

.contact-direct__row:last-child {
  margin-bottom: 0;
}

.contact-direct__label {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin: 0;
  color: var(--text);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0;
  text-transform: lowercase;
}

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

.contact-direct__value {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  min-width: 0;
}

.contact-direct__value a {
  min-width: 0;
  font-size: 0.86rem;
  line-height: 1.35;
  color: var(--text-strong);
  overflow-wrap: anywhere;
}

.contact-icon {
  width: 0.95em;
  height: 0.95em;
  flex-shrink: 0;
  opacity: 0.9;
}

.contact-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.5rem 0.75rem;
  border-top: 1px solid var(--border);
}

.contact-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  font-size: 0.95rem;
  line-height: 1;
  color: var(--link);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.contact-social__link:hover,
.contact-social__link:focus {
  color: var(--accent-hover);
  background: var(--surface-alt);
  border-color: var(--accent-soft);
  text-decoration: none;
  outline: none;
}

.contact-social__link .contact-icon {
  display: block;
  opacity: 0.9;
  flex-shrink: 0;
}

.contact-vcard {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  box-sizing: border-box;
  width: 100%;
  padding: 0.58rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  background: transparent;
  border: 0;
  border-top: 1px solid var(--border);
  border-radius: 0;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.contact-vcard .contact-icon {
  width: 0.95em;
  height: 0.95em;
  flex-shrink: 0;
  opacity: 0.85;
}

.contact-vcard:hover,
.contact-vcard:focus-visible {
  color: var(--accent);
  background: var(--surface-alt);
  text-decoration: none;
  outline: none;
}

@media print, screen and (max-width: 820px) {
  .contact-vcard {
    margin-top: 0.55rem;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    background: var(--surface-alt);
  }
  .contact-vcard:hover,
  .contact-vcard:focus-visible {
    border-color: var(--accent-soft);
  }
}
.contact-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.25rem 0.5rem;
  margin: 0.45rem 0 0;
  padding: 0 0.75rem 0.6rem;
}

.contact-note {
  margin: 0;
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.contact-extra {
  margin: 0;
  font-size: 0.72rem;
  white-space: nowrap;
}

/* PGP accent link */
.pgp {
  color: var(--danger);
}

.pgp:hover,
.pgp:focus {
  background-color: var(--danger);
  color: #fff;
  text-decoration: none;
}

.featured-projects {
  margin-top: 1.75rem;
}

.featured-projects__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.featured-projects h2 {
  margin: 0;
  font-size: 0.95rem;
}

.featured-projects__more {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.featured-projects__more:hover {
  text-decoration: underline;
}

.featured-projects__track {
  display: flex;
  gap: 0.65rem;
  margin: 0;
  padding: 0.15rem 0 0.35rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.featured-project-card {
  flex: 0 0 calc(50% - 0.325rem);
  min-width: 11.5rem;
  max-width: 16rem;
  scroll-snap-align: start;
}

.featured-project-card__link {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  height: 100%;
  padding: 0.6rem 0.7rem;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.featured-project-card__link:hover,
.featured-project-card__link:focus-visible {
  border-color: var(--accent-soft);
  box-shadow: 0 4px 14px var(--shadow-card);
  outline: none;
  text-decoration: none;
}

.featured-project-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
}

.featured-project-card__date {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.featured-project-card__title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.25;
  font-weight: 600;
  color: var(--text-strong);
}

.featured-project-card__desc {
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-projects__track .project-status {
  font-size: 0.58rem;
  padding: 0.12rem 0.4rem;
}

@media (max-width: 480px) {
  .featured-project-card {
    flex-basis: 78%;
  }
}
.projects-page__intro {
  margin-bottom: 1.75rem;
}
.projects-page__intro p {
  margin: 0;
  color: var(--text-muted);
  max-width: 46ch;
}

/* --- Toolbar: search + sort + status filter --- */
.projects-toolbar {
  margin-bottom: 1.75rem;
}

.projects-toolbar__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.projects-search {
  position: relative;
  flex: 1 1 240px;
  min-width: 0;
}

.projects-search__icon {
  position: absolute;
  top: 50%;
  left: 0.7rem;
  width: 0.95rem;
  height: 0.95rem;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.projects-search__input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.5rem 0.75rem 0.5rem 2.1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.projects-search__input::placeholder {
  color: var(--text-muted);
}

.projects-search__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--shadow-card);
}

.projects-sort {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.projects-sort__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.projects-sort__select {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.45rem 0.7rem;
  cursor: pointer;
}

.projects-sort__select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--shadow-card);
}

/* --- Status filter (segmented buttons) --- */
.projects-filter__bar {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.25rem;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}

.projects-filter__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.35rem 0.9rem;
  border: none;
  border-radius: var(--radius-pill);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.projects-filter__btn span {
  font-size: 0.62rem;
  font-weight: 600;
  padding: 0.05rem 0.4rem;
  border-radius: var(--radius-pill);
  background: var(--tag-bg);
  color: var(--text-muted);
}

.projects-filter__btn:hover {
  color: var(--accent);
}

.projects-filter__btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.projects-filter__btn.is-active {
  background: var(--accent);
  color: var(--accent-contrast);
}
.projects-filter__btn.is-active span {
  background: rgba(255, 255, 255, 0.25);
  color: var(--accent-contrast);
}

/* --- Card grid --- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.project-card {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.project-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-soft);
  box-shadow: 0 8px 22px var(--shadow-card);
}

.project-card__link,
.project-card__link:hover,
.project-card__link:focus {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 1.1rem 1.15rem 1.2rem;
  color: inherit;
  background: transparent;
  text-decoration: none;
}

.project-card__link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-lg);
}

.project-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.project-card__date {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.project-card__title {
  font-size: 1.05rem;
  line-height: 1.25;
  margin: 0 0 0.5rem;
  color: var(--text-strong);
}

.project-card__desc {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0 0 0.85rem;
}

.project-card__course {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  margin: 0 0 0.85rem;
}

.project-card__more {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
}

.project-card:hover .project-card__more {
  text-decoration: underline;
}

/* --- Status badge --- */
.project-status {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.project-status--ongoing {
  background: var(--status-ongoing-bg);
  color: var(--status-ongoing-fg);
}

.project-status--completed {
  background: var(--status-completed-bg);
  color: var(--status-completed-fg);
}

/* --- Tech tags --- */
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
}

.project-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--tag-fg);
  background: var(--tag-bg);
  border: 1px solid var(--tag-border);
  padding: 0.15rem 0.5rem;
  border-radius: 5px;
}

/* --- Empty state (toggled via the [hidden] attribute by JS) --- */
.project-grid__empty {
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Project detail page --- */
.project-detail__back {
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.project-detail__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.project-detail__title-row h1 {
  margin: 0;
}

.project-detail__lead {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.project-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 0 0 1rem;
}
.project-detail__meta .project-detail__meta-item {
  margin: 0;
}
.project-detail__meta dt {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 600;
}
.project-detail__meta dd {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  color: var(--text);
}

.project-detail__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.25rem 0 0;
}

.project-link {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  color: var(--accent);
}

.project-link.external-link {
  gap: 0.45rem;
}

.project-link:hover,
.project-link:focus {
  background: var(--accent);
  color: var(--accent-contrast);
  text-decoration: none;
}

.project-detail__body {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.project-detail__readme-note {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.65rem 0.85rem;
  margin: 0 0 1.75rem;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.project-detail__readme-icon {
  flex-shrink: 0;
  width: 0.95rem;
  height: 0.95rem;
  margin-top: 0.15rem;
  color: var(--accent);
}

.project-detail__readme-text {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.project-detail__readme-text a {
  color: var(--link);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.12em;
  white-space: normal;
}
.project-detail__readme-text a:hover,
.project-detail__readme-text a:focus {
  color: var(--accent);
}

.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.post-list > li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.post-list > li:first-child {
  padding-top: 0.25rem;
}
.post-list > li:last-child {
  border-bottom: none;
}

.post-list h2 {
  margin: 0.25rem 0 0.5rem;
  font-size: 1.2rem;
}

.post-list h2 a {
  color: var(--text-strong);
}

.post-list h2 a:hover,
.post-list h2 a:focus {
  color: var(--accent);
}

.post-list p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.post-meta {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

/* --- Single post --- */
.post-header {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.post-header h1 {
  margin: 0.35rem 0 0.5rem;
}

.post-byline {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.post-tags {
  display: block;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

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

.external-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  vertical-align: baseline;
}

.external-link-icon {
  display: block;
  width: 0.85rem;
  height: 0.85rem;
  flex: 0 0 auto;
  transform: translateY(-0.02rem);
}

/* Notre Dame gold accent for brand mentions */
.nd-gold {
  color: #ae9142;
  font-weight: 600;
}

[data-theme=dark] .nd-gold {
  color: #d4b860;
}

.align-right {
  text-align: right;
}

/* --- Copy buttons --- */
.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  padding: 0;
  margin: 0;
  color: var(--text-muted);
  background: transparent;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  flex-shrink: 0;
  line-height: 0;
}

.copy-button:hover,
.copy-button:focus {
  color: var(--accent);
  background: var(--surface-alt);
  outline: none;
}

.copy-button:disabled {
  cursor: default;
  opacity: 0.7;
}

.copy-button .contact-icon {
  width: 0.95em;
  height: 0.95em;
}

.copy-button--labeled {
  width: auto;
  gap: 0.3rem;
  padding: 0.15rem 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.2;
}

.copy-button__success {
  display: none;
  line-height: 0;
}

.copy-button--copied {
  color: var(--status-ongoing-fg);
}

.copy-button--failed {
  color: var(--danger);
}

.copy-button--copied .copy-button__icon {
  display: none;
}

.copy-button--copied .copy-button__success {
  display: inline-flex;
}

/* --- 404 --- */
.not-found {
  max-width: 600px;
  margin: 2.5rem auto;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.not-found__code {
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  font-size: 3rem;
  color: var(--danger);
  border-bottom: 2px solid var(--danger);
}

/* --- PGP page --- */
.pgp-page {
  max-width: 680px;
}

.pgp-page__header {
  margin-bottom: 1.15rem;
}

.pgp-page__lede {
  max-width: 38rem;
  color: var(--text-muted);
}

.pgp-page__note {
  margin: -0.25rem 0 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.pgp-facts {
  margin: 0 0 1rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pgp-facts__row {
  display: grid;
  grid-template-columns: 7.25rem minmax(0, 1fr);
  gap: 0.8rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
}

.pgp-facts__row:last-child {
  border-bottom: 0;
}

.pgp-facts dt {
  margin: 0;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: lowercase;
}

.pgp-facts dd {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  min-width: 0;
}

.pgp-facts code {
  min-width: 0;
  padding: 0;
  color: var(--text-strong);
  background: transparent;
  border: 0;
  overflow-wrap: anywhere;
}

.pgp-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.85rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.83rem;
}

.pgp-download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 1.9rem;
  padding: 0.32rem 0.6rem;
  color: var(--accent-contrast);
  background: var(--accent);
  border: 1px solid var(--accent-hover);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
}

.pgp-download-button:hover,
.pgp-download-button:focus {
  color: var(--accent-contrast);
  background: var(--accent-hover);
  text-decoration: none;
  outline: none;
}

.pgp-download-button .contact-icon {
  width: 0.95em;
  height: 0.95em;
}

.pgp-key-block {
  margin: 0 0 1.5rem;
}

.pgp-key-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.45rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--border);
}

.pgp-key-block__header h2 {
  margin-bottom: 0;
  font-size: 1.1rem;
}

.pgp-key-block__pre {
  max-height: 18rem;
  margin-bottom: 0;
}

.pgp-notes {
  margin: 0 0 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.pgp-notes ul {
  padding-left: 1.25rem;
}

.pgp-notes li {
  margin-bottom: 0.55rem;
}

.pgp-xkcd {
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.pgp-xkcd a {
  display: block;
}

.pgp-xkcd img {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.pgp-xkcd figcaption {
  margin-top: 0.55rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

@media print, screen and (max-width: 720px) {
  .pgp-facts__row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .pgp-links {
    display: block;
  }
}
/* --- Degree verification page --- */
.degree-page {
  max-width: 760px;
}

.degree-page__header {
  margin-bottom: 1.5rem;
}

.degree-page__eyebrow {
  margin: 0 0 0.25rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.degree-page__verify-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.4rem;
  margin-bottom: 0.65rem;
  padding: 0.55rem 0.85rem;
  color: var(--accent-contrast);
  background: var(--accent);
  border: 1px solid var(--accent-hover);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
}

.degree-page__verify-link:hover,
.degree-page__verify-link:focus {
  color: var(--accent-contrast);
  background: var(--accent-hover);
  text-decoration: none;
}

.degree-page__document {
  margin: 0;
}

.degree-page__document-frame {
  margin: 0;
  padding: 0.7rem;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 20px var(--shadow-card);
}

.degree-page__document-frame img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
}

/* --- Simple link/reference tables (other links page) --- */
.link-table td:first-child {
  white-space: nowrap;
  font-family: var(--font-mono);
}

/*# sourceMappingURL=style.css.map */