/*
 * amirghayour.com stylesheet (hand-written)
 *
 * Document-style CV with a sticky rail on wide screens. Neutral palette
 * with one accent; light/dark via color-scheme + light-dark(), with plain
 * light fallbacks declared first. Themes: default "graphite"; alternates
 * via <html data-theme="pine|teal">. User override: data-scheme.
 */

/* ---------- Fonts: Geist Sans and Geist Mono, OFL 1.1, latin ---------- */
@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-latin.var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/GeistMono-latin.var.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Scheme control ---------- */
:root {
  color-scheme: light dark;
}
:root[data-scheme="light"] {
  color-scheme: light;
}
:root[data-scheme="dark"] {
  color-scheme: dark;
}

/* ---------- Tokens: "graphite" ---------- */
:root {
  --bg: #ffffff;
  --bg: light-dark(#ffffff, #09090b);
  --surface: #fafafa;
  --surface: light-dark(#fafafa, #121214);
  --border: #e4e4e7;
  --border: light-dark(#e4e4e7, #27272a);
  --border-strong: #c4c4cc;
  --border-strong: light-dark(#c4c4cc, #3f3f46);
  --text: #3f3f46;
  --text: light-dark(#3f3f46, #d4d4d8);
  --muted: #71717a;
  --muted: light-dark(#71717a, #a1a1aa);
  --muted-strong: #52525b;
  --muted-strong: light-dark(#52525b, #b4b4bc);
  --heading: #18181b;
  --heading: light-dark(#18181b, #fafafa);
  --accent: #1d4ed8;
  --accent: light-dark(#1d4ed8, #60a5fa);
  --accent-hover: #1e40af;
  --accent-hover: light-dark(#1e40af, #93c5fd);
  --focus: #3b82f6;
  --on-accent: #ffffff;
  --on-accent: light-dark(#ffffff, #09090b);
  --tag-bg: #f4f4f5;
  --tag-bg: light-dark(#f4f4f5, #1c1c20);
  --row-hover: #fafafa;
  --row-hover: light-dark(#fafafa, #111113);

  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --measure: 46rem;
  --rail: 22rem;
  --col: 8rem;
  --radius: 0.625rem;
}

/* Theme "pine" */
:root[data-theme="pine"] {
  --bg: #ffffff;
  --bg: light-dark(#ffffff, #1c1917);
  --surface: #fafaf9;
  --surface: light-dark(#fafaf9, #231f1d);
  --border: #e7e5e4;
  --border: light-dark(#e7e5e4, #44403c);
  --border-strong: #c9c5c2;
  --border-strong: light-dark(#c9c5c2, #57534e);
  --text: #44403c;
  --text: light-dark(#44403c, #d6d3d1);
  --muted: #78716c;
  --muted: light-dark(#78716c, #a8a29e);
  --muted-strong: #57534e;
  --muted-strong: light-dark(#57534e, #bfbab6);
  --heading: #1c1917;
  --heading: light-dark(#1c1917, #fafaf9);
  --accent: #047857;
  --accent: light-dark(#047857, #6ee7b7);
  --accent-hover: #065f46;
  --accent-hover: light-dark(#065f46, #a7f3d0);
  --focus: #059669;
  --focus: light-dark(#059669, #34d399);
  --on-accent: #ffffff;
  --on-accent: light-dark(#ffffff, #1c1917);
  --tag-bg: #f5f5f4;
  --tag-bg: light-dark(#f5f5f4, #292524);
  --row-hover: #fafaf9;
  --row-hover: light-dark(#fafaf9, #201c1a);
}

/* Theme "teal" */
:root[data-theme="teal"] {
  --bg: #ffffff;
  --bg: light-dark(#ffffff, #0f172a);
  --surface: #f8fafc;
  --surface: light-dark(#f8fafc, #16213a);
  --border: #e2e8f0;
  --border: light-dark(#e2e8f0, #334155);
  --border-strong: #c3ccd8;
  --border-strong: light-dark(#c3ccd8, #475569);
  --text: #334155;
  --text: light-dark(#334155, #cbd5e1);
  --muted: #64748b;
  --muted: light-dark(#64748b, #94a3b8);
  --muted-strong: #475569;
  --muted-strong: light-dark(#475569, #a8b4c4);
  --heading: #0f172a;
  --heading: light-dark(#0f172a, #f1f5f9);
  --accent: #0f766e;
  --accent: light-dark(#0f766e, #5eead4);
  --accent-hover: #115e59;
  --accent-hover: light-dark(#115e59, #99f6e4);
  --focus: #0d9488;
  --focus: light-dark(#0d9488, #2dd4bf);
  --on-accent: #ffffff;
  --on-accent: light-dark(#ffffff, #0f172a);
  --tag-bg: #f1f5f9;
  --tag-bg: light-dark(#f1f5f9, #1e293b);
  --row-hover: #f8fafc;
  --row-hover: light-dark(#f8fafc, #13203a);
}

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

[hidden] {
  display: none !important;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  font-feature-settings: "ss01", "cv11";
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--heading);
  line-height: 1.2;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
}

ul, ol {
  margin: 0;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 120ms ease, text-decoration-color 120ms ease;
}
a:hover {
  color: var(--accent-hover);
  text-decoration-color: currentColor;
}

b, strong {
  font-weight: 600;
  color: var(--heading);
}

time {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

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

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

.ext {
  display: inline-block;
  margin-left: 0.2em;
  font-size: 0.8em;
  transform: translateY(-0.05em);
}

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

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  padding: 0.05em 0.3em;
  background: var(--tag-bg);
  border-radius: 4px;
}

/* Small caps-style labels (sans) and mono labels */
.caps {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mono-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--surface);
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.skip-link:focus {
  top: 1rem;
}

/* ---------- Layout ---------- */
.layout {
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3.5rem);
}

.content {
  max-width: var(--measure);
  padding-block: 2.5rem 3rem;
}

@media (min-width: 64rem) {
  .layout {
    --gap: clamp(3rem, 6vw, 6.5rem);
    display: grid;
    grid-template-columns: clamp(17rem, 28vw, var(--rail)) minmax(0, var(--measure));
    column-gap: var(--gap);
  }
  .rail {
    position: sticky;
    top: 0;
    max-height: 100vh;
    max-height: 100dvh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-gutter: stable;
    scrollbar-color: var(--border-strong) transparent;
    padding-block: 5rem 2rem;
    padding-inline: 6px;
    margin-inline: -6px;
  }
  .content {
    padding-block: 7.1rem 4rem;
  }
}
/* Short viewports: the rail scrolls with the page rather than clipping */
@media (min-width: 64rem) and (max-height: 880px), (min-width: 64rem) and (max-width: 74.5rem) and (max-height: 1000px) {
  .rail {
    position: static;
    max-height: none;
    overflow: visible;
    padding-top: 3.5rem;
  }
  .content {
    padding-top: 5.6rem;
  }
}

/* ---------- Rail ---------- */
@media (max-width: 63.98rem) {
  .rail {
    padding-block: 3rem 0;
  }
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
}

.rail h1 {
  font-size: clamp(2.5rem, 2rem + 2vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.lede {
  margin: 1.25rem 0 0.75rem;
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.25rem);
  line-height: 1.45;
  color: var(--heading);
  font-weight: 450;
  letter-spacing: -0.01em;
  max-width: 22rem;
}
.lede-meta {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted-strong);
}

/* Section nav */
.rail-nav {
  margin-top: 1.75rem;
}
.rail-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}
.rail-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.3rem 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 150ms ease;
}
.rail-nav .idx {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  transition: color 150ms ease;
}
.rail-nav a:hover,
.rail-nav a[aria-current="true"] {
  color: var(--heading);
}
.rail-nav a[aria-current="true"] .idx {
  color: var(--accent);
}
@media (min-width: 64rem) {
  .rail-nav {
    margin-top: 2rem;
  }
  .rail-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .rail-nav a::before {
    content: "";
    width: 1.25rem;
    height: 1px;
    background: var(--border-strong);
    transition: width 200ms ease, background-color 200ms ease;
  }
  .rail-nav a:hover::before,
  .rail-nav a[aria-current="true"]::before {
    width: 2.5rem;
    background: var(--heading);
  }
}

.rail-bottom {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}
@media (min-width: 64rem) {
  .rail-bottom {
    display: block;
  }
}

.contact {
  font-style: normal;
}
.contact ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  font-size: 0.925rem;
}
@media (min-width: 64rem) {
  .contact ul {
    flex-direction: column;
    gap: 0.4rem;
  }
}
.contact a {
  font-weight: 500;
  color: var(--heading);
  text-decoration-color: var(--border-strong);
}
.contact a:hover {
  color: var(--accent);
}
.rail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
@media (min-width: 64rem) {
  .rail-actions {
    margin-top: 1.25rem;
  }
}

.btn {
  display: inline-block;
  font: 500 0.85rem/1 var(--font-sans);
  letter-spacing: -0.005em;
  text-decoration: none;
  color: var(--heading);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 0.6rem 1rem;
  cursor: pointer;
  transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}
.btn:hover {
  border-color: var(--heading);
}
.btn-primary {
  background: var(--heading);
  color: var(--bg);
  border-color: var(--heading);
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

/* ---------- Sections ---------- */
.cv-section {
  position: relative;
}
.cv-section + .cv-section {
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
}

.cv-section > h2 {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.cv-section > h2 .num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
/* The section number hangs in the gutter when there is room */
@media (min-width: 72rem) {
  .cv-section > h2 {
    display: block;
  }
  .cv-section > h2 .num {
    position: absolute;
    left: -3.25rem;
    top: 0.75rem;
    line-height: 1;
  }
}

.group + .group,
.entries + .group {
  margin-top: 2.75rem;
}

.group-label {
  color: var(--muted);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}

/* ---------- Highlights ---------- */
.highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  margin-top: 2rem;
}
@media (min-width: 72rem) {
  .highlights {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.highlights li {
  border-top: 1px solid var(--border-strong);
  padding-top: 0.9rem;
}
.hl-num {
  display: block;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--heading);
  font-variant-numeric: tabular-nums;
}
.hl-text {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.825rem;
  line-height: 1.4;
  color: var(--muted-strong);
}

/* ---------- Featured work ---------- */
.featured {
  display: grid;
  gap: 0.75rem;
}
.card {
  position: relative;
  display: grid;
  gap: 0.35rem 1.5rem;
  padding: 1.25rem 1.5rem 1.25rem 1.65rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 150ms ease;
}
@media (min-width: 40rem) {
  .card {
    grid-template-columns: var(--col) minmax(0, 1fr);
  }
}
.card::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 1.1rem;
  bottom: 1.1rem;
  width: 3px;
  border-radius: 3px;
  background: var(--accent);
}
@media (hover: hover) {
  .card:hover {
    border-color: var(--border-strong);
  }
}
.card-label {
  margin: 0;
  padding-top: 0.25rem;
  color: var(--accent);
  line-height: 1.5;
}
.card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
}
.card-main p {
  font-size: 0.95rem;
  margin: 0 0 0.85rem;
}
.card .tags {
  margin-bottom: 0.85rem;
}
.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  font-size: 0.9rem;
}
.card-main .card-links {
  margin: 0;
}
.card-links a {
  font-weight: 500;
}

/* ---------- Entries ---------- */
.entries > li + li {
  margin-top: 0.5rem;
}

.entry {
  display: grid;
  gap: 0.25rem 1.5rem;
  padding: 1.1rem 1rem;
  margin-inline: -1rem;
  border-radius: var(--radius);
  transition: background-color 150ms ease;
}
@media (min-width: 40rem) {
  .entry {
    grid-template-columns: var(--col) minmax(0, 1fr);
  }
}
@media (hover: hover) {
  .entry:hover {
    background: var(--row-hover);
  }
}

.entry-when {
  margin: 0;
  padding-top: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-strong);
  line-height: 1.6;
}
@media (min-width: 40rem) {
  .entry-when .to {
    display: block;
  }
}

.entry-title {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.entry-org {
  margin: 0.15rem 0 0;
  font-size: 0.95rem;
  color: var(--muted-strong);
}

.entry-main > ul:not(.tags) {
  margin: 0.65rem 0 0;
  padding-left: 1.15rem;
  list-style: disc;
}
.entry-main > ul:not(.tags) li + li {
  margin-top: 0.35rem;
}
.entry-main > ul:not(.tags) li::marker {
  color: var(--muted);
}
.entry-main > .tags {
  margin-top: 0.85rem;
}
.entry-links {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
}
.entry-links a {
  font-weight: 500;
}

/* ---------- Tags ---------- */
.tags,
.tags li {
  list-style: none;
}
.tags {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.tags li {
  padding: 0.15rem 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--muted-strong);
  background: var(--tag-bg);
  border-radius: 4px;
}

.skill-grid {
  display: grid;
  gap: 2rem 2.5rem;
}
@media (min-width: 40rem) {
  .skill-grid {
    grid-template-columns: 1fr 1fr;
  }
  .skill-grid .group + .group {
    margin-top: 0;
  }
}

/* ---------- Depth (collapsible blocks) ---------- */
.depth {
  margin-top: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.depth > summary {
  padding: 0.9rem 1.1rem;
  cursor: pointer;
  font-weight: 500;
  color: var(--heading);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.depth > summary::-webkit-details-marker {
  display: none;
}
.depth > summary::before {
  content: "";
  flex: none;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1.5px solid var(--muted-strong);
  border-bottom: 1.5px solid var(--muted-strong);
  transform: rotate(-45deg);
  transition: transform 150ms ease;
}
.depth[open] > summary::before {
  transform: rotate(45deg);
}
.depth-body {
  padding: 0 1.1rem 1.1rem;
}
.depth-body > ul {
  padding-left: 1.15rem;
  list-style: disc;
}
.depth-body > ul > li + li {
  margin-top: 0.75rem;
}
.depth-body li > ul {
  margin-top: 0.35rem;
  padding-left: 1.15rem;
}
.depth-body li > ul > li + li {
  margin-top: 0.3rem;
}
.depth + .group {
  margin-top: 2.5rem;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}
.site-footer p {
  margin-bottom: 0.4rem;
}
.site-footer p:last-child {
  margin-bottom: 0;
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* ---------- Print: the CV as a document ---------- */
@media print {
  @page {
    margin: 1.5cm;
  }

  :root,
  :root[data-theme],
  :root[data-scheme] {
    color-scheme: light;
    --bg: #fff;
    --surface: #fff;
    --border: #bbb;
    --border-strong: #888;
    --text: #000;
    --muted: #333;
    --muted-strong: #222;
    --heading: #000;
    --accent: #000;
    --accent-hover: #000;
    --tag-bg: #fff;
    --row-hover: #fff;
  }

  body {
    font-size: 10.5pt;
    line-height: 1.4;
  }

  .skip-link,
  .rail-nav,
  .rail-actions,
  .ext,
  .colophon,
  #featured {
    display: none !important;
  }

  .layout {
    display: block;
    max-width: none;
    padding: 0;
  }
  .rail {
    position: static;
    max-height: none;
    overflow: visible;
    padding: 0 0 0.75rem;
    margin-bottom: 1rem;
    border-bottom: 1.5px solid var(--heading);
  }
  .rail h1 {
    font-size: 22pt;
  }
  .eyebrow {
    color: var(--heading);
    margin-bottom: 0.3rem;
  }
  .lede {
    margin-top: 0.5rem;
    max-width: none;
    font-weight: 400;
  }
  .rail-bottom {
    margin-top: 0.5rem;
    display: block;
  }
  .contact ul {
    flex-direction: row;
    gap: 0 1.5rem;
  }
  .contact a[href^="http"]::after {
    content: " " attr(href);
    font-family: var(--font-mono);
    font-size: 0.85em;
    font-weight: 400;
    color: var(--muted);
  }

  .content {
    max-width: none;
    padding: 0;
  }
  .cv-section + .cv-section {
    margin-top: 1.25rem;
  }
  .cv-section > h2 {
    display: block;
    font-size: 13pt;
    margin-bottom: 0.5rem;
    break-after: avoid;
  }
  .cv-section > h2 .num {
    display: none;
  }
  .group-label {
    break-after: avoid;
  }

  .highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.5rem;
    margin-top: 0.5rem;
  }
  .highlights li {
    border: 0;
    padding: 0;
  }
  .hl-num {
    display: inline;
    font-size: inherit;
    font-weight: 600;
  }
  .hl-text {
    display: inline;
    margin: 0;
    font-size: inherit;
  }
  .hl-text::before {
    content: " ";
  }

  .entry {
    padding: 0.3rem 0;
    margin: 0;
    break-inside: avoid;
    grid-template-columns: 7rem minmax(0, 1fr);
  }
  .entry-when .to {
    display: block;
  }
  .entry-main > ul:not(.tags) li + li {
    margin-top: 0.15rem;
  }
  main a[href^="http"]::after {
    content: " " attr(href);
    font-family: var(--font-mono);
    font-size: 0.85em;
    font-weight: 400;
    color: var(--muted);
    word-break: break-all;
  }

  .tags {
    display: block;
    font-size: 9.5pt;
  }
  .entry-main > .tags {
    margin-top: 0.3rem;
    color: var(--muted);
  }
  .tags li {
    display: inline;
    padding: 0;
    background: none;
    font-family: var(--font-sans);
    font-size: inherit;
    font-weight: 400;
    color: inherit;
  }
  .tags li:not(:last-child)::after {
    content: " · ";
  }

  .skill-grid {
    display: block;
  }
  .skill-grid .group + .group {
    margin-top: 0.75rem;
  }

  .depth {
    border: 0;
    margin-top: 1rem;
  }
  .depth > summary {
    padding: 0;
    font-weight: 600;
  }
  .depth > summary::before {
    display: none;
  }
  .depth-body {
    padding: 0.25rem 0 0;
  }
  .depth::details-content {
    content-visibility: visible;
    display: block;
  }

  a {
    text-decoration: none;
  }

  .site-footer {
    margin-top: 1.5rem;
    font-size: 8.5pt;
  }
}
