@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --color-background: #050505;
  --color-surface: #0b0b0b;
  --color-surface-alt: #101010;
  --color-highlight: #f5f2e5;
  --color-text-primary: #f5f2e5;
  --color-text-secondary: #b9b5a7;
  --color-accent: #f5f2e5;
  --color-border: rgba(245, 242, 229, 0.45);
  --color-border-light: rgba(245, 242, 229, 0.25);
  --color-border-hover: rgba(245, 242, 229, 0.5);
  --color-border-strong: rgba(245, 242, 229, 0.75);
  --color-border-stronger: rgba(245, 242, 229, 0.85);
  --color-border-soft: rgba(245, 242, 229, 0.16);
  --color-border-subtle: rgba(245, 242, 229, 0.3);
  --color-outline: rgba(245, 242, 229, 0.55);
  --color-outline-strong: rgba(245, 242, 229, 0.6);
  --color-fill-soft: rgba(245, 242, 229, 0.04);
  --color-fill-hover: rgba(245, 242, 229, 0.08);
  --color-fill-panel: rgba(245, 242, 229, 0.15);
  --border-radius-lg: 22px;
  --border-radius-md: 18px;
  --border-radius-sm: 12px;
  --transition-base: 0.28s ease;
  --max-width: 1200px;
  --nav-height: 72px;
}

:root[data-theme="light"] {
  --color-background: #f7f5f1;
  --color-surface: #f7f5f1;
  --color-surface-alt: #efe9dc;
  --color-highlight: #1c1a16;
  --color-text-primary: #1c1a16;
  --color-text-secondary: #585248;
  --color-accent: #1c1a16;
  --color-border: rgba(28, 26, 22, 0.25);
  --color-border-light: rgba(28, 26, 22, 0.12);
  --color-border-hover: rgba(28, 26, 22, 0.35);
  --color-border-strong: rgba(28, 26, 22, 0.55);
  --color-border-stronger: rgba(28, 26, 22, 0.7);
  --color-border-soft: rgba(28, 26, 22, 0.18);
  --color-border-subtle: rgba(28, 26, 22, 0.24);
  --color-outline: rgba(28, 26, 22, 0.4);
  --color-outline-strong: rgba(28, 26, 22, 0.5);
  --color-fill-soft: rgba(28, 26, 22, 0.06);
  --color-fill-hover: rgba(28, 26, 22, 0.1);
  --color-fill-panel: rgba(28, 26, 22, 0.14);
}

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

html,
body {
  padding: 0;
  margin: 0;
  min-height: 100%;
  background-color: var(--color-background);
  color: var(--color-text-primary);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--color-highlight);
  color: var(--color-background);
}

::-moz-selection {
  background: var(--color-highlight);
  color: var(--color-background);
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: background-color 0.4s ease, color 0.4s ease;
}

body.page-lock-active {
  overflow: hidden;
}

body.page-lock-active main {
  opacity: 0;
  pointer-events: none;
  user-select: none;
}

body.page-lock-active .cursor-trail {
  display: none !important;
}

.cursor-trail {
  position: fixed;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--color-border-strong);
  background: var(--color-fill-panel);
  pointer-events: none;
  mix-blend-mode: lighten;
  transform: translate(-50%, -50%);
  transition: border-color 0.3s ease, background 0.3s ease;
  z-index: 9999;
}

:root[data-theme="light"] .cursor-trail {
  mix-blend-mode: normal;
  background: rgba(28, 26, 22, 0.16);
  border-color: rgba(28, 26, 22, 0.5);
  box-shadow: 0 0 0 1px rgba(28, 26, 22, 0.08);
}

@media (pointer: coarse), (hover: none) {
  .cursor-trail {
    display: none;
  }
}

.cursor-trail.is-hidden {
  opacity: 0;
}

main {
  width: 100%;
  max-width: var(--max-width);
  padding: 64px 24px 120px;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover,
a:focus-visible {
  color: var(--color-text-primary);
}

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

form {
  display: grid;
  gap: 18px;
}

.contact-interactions {
  display: grid;
  gap: 32px;
}

.subscription-block {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--color-border-soft);
  display: grid;
  gap: 16px;
}

.subscription-lede {
  margin: 0;
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-text-secondary);
}

.contact-interactions .subscription-block {
  margin-top: 0;
  padding-top: 32px;
}

.subscription-form {
  display: grid;
  gap: 18px;
}

.subscription-form .form-submit {
  justify-self: start;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: var(--color-text-primary);
}

label.checkbox-label {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-weight: 500;
  padding: 16px 18px;
  border-radius: var(--border-radius-sm);
  background: var(--color-fill-soft);
  border: 2px solid var(--color-border-soft);
  transition: background var(--transition-base), border var(--transition-base), transform var(--transition-base);
}

label.checkbox-label:hover {
  background: var(--color-fill-hover);
  border-color: var(--color-border-subtle);
  transform: translateY(-1px);
}

label.checkbox-label input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--color-text-primary);
  flex-shrink: 0;
}

label.checkbox-label span {
  flex: 1;
  color: var(--color-text-primary);
  line-height: 1.6;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: "IBM Plex Mono", "Courier New", monospace;
  letter-spacing: 0.02em;
}

input,
textarea {
  padding: 14px 16px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--color-border-subtle);
  background: var(--color-surface);
  color: var(--color-text-primary);
  font-size: 1rem;
  transition: border var(--transition-base), box-shadow var(--transition-base);
}

input:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--color-outline-strong);
  box-shadow: 0 0 0 3px var(--color-border-soft);
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.form-submit {
  width: fit-content;
  padding: 14px 24px;
  border-radius: var(--border-radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  background: var(--color-text-primary);
  color: var(--color-background);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border var(--transition-base);
}

.form-submit:hover,
.form-submit:focus-visible {
  transform: translateY(-2px);
  border-color: var(--color-outline-strong);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
}

.footer {
  margin: 120px auto 32px;
  padding: 24px;
  background: var(--color-surface);
  border-radius: var(--border-radius-lg);
  border: 2px solid var(--color-border-light);
  color: var(--color-text-secondary);
  max-width: var(--max-width);
  width: calc(100% - 48px);
  text-align: center;
  line-height: 1.5;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--border-radius-sm);
  background: transparent;
  border: 2px solid var(--color-border-hover);
  color: var(--color-text-secondary);
  font-weight: 600;
  transition: border var(--transition-base), transform var(--transition-base);
}

.back-link:hover,
.back-link:focus-visible {
  transform: translateX(-3px);
  color: var(--color-text-primary);
  border-color: rgba(245, 242, 229, 0.7);
}

.page-shell {
  max-width: 780px;
  margin: 0 auto;
}

.page-header {
  margin-bottom: 38px;
}

.page-title {
  margin: 12px 0 16px;
  font-size: clamp(2.3rem, 4vw, 3.1rem);
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
}

.page-subtitle {
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-weight: 600;
  margin: 0;
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  color: var(--color-text-secondary);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.page-body {

  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-weight: 600;
  display: grid;
  gap: 18px;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.page-body p {
  margin: 0;
}

.page-body ul,
.page-body ol {
  margin: 0 0 0 22px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-body li {
  color: var(--color-text-secondary);
  line-height: 1.65;
}

.page-body li strong:first-child {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: 0.01em;
}

.page-body li a strong:first-child {
  color: inherit;
}

.page-body blockquote {
  margin: 18px 0;
  padding: 18px 22px;
  border-left: 3px solid var(--color-border);
  background: var(--color-surface);
  border-radius: var(--border-radius-sm);
  color: var(--color-text-primary);
  font-style: italic;
}

.page-body a {
  color: var(--color-accent);
  text-decoration: underline;
}

.article-actions {
  margin-bottom: 32px;
}

.article-meta {
  display: none;
  margin: 16px 0 28px;
  gap: 10px;
  flex-wrap: wrap;
}

.article-meta.is-visible {
  display: flex;
  align-items: center;
}

.article-meta .card-tag {
  font-family: "IBM Plex Mono", "Courier New", monospace;
}

.external-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--border-radius-md);
  border: 2px solid var(--color-border);
  background: transparent;
  color: var(--color-text-primary);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: border var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

.external-link:hover,
.external-link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--color-border-strong);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.5);
  outline: none;
}

.article-heading {
  margin: 0 0 12px;
  font-size: 2rem;
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
}

.resume-page .page-title {
  color: var(--color-highlight);
}

.resume-page .page-subtitle {
  color: var(--color-text-primary);
  font-weight: 700;
}

.resume-page .article-heading {
  color: var(--color-highlight);
  font-weight: 700;
}

.article-figure {
  margin: 26px 0;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 2px solid var(--color-border-light);
  background: var(--color-surface);
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.article-figure figcaption {
  padding: 12px 16px;
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  background: var(--color-surface-alt);
}

.article-note {
  padding: 14px 18px;
  border-radius: var(--border-radius-md);
  border: 2px solid var(--color-border-hover);
  background: var(--color-surface);
  font-weight: 600;
  color: var(--color-text-primary);
}

.article-highlight {
  font-style: italic;
  color: var(--color-text-secondary);
}

.contact-section {
  margin: 96px auto 32px;
  max-width: var(--max-width);
  border-radius: var(--border-radius-lg);
  border: 2px solid var(--color-border-light);
  background: var(--color-surface-alt);
  box-shadow: 0 32px 120px rgba(0, 0, 0, 0.6);
  padding: 48px;
}

@media (max-width: 720px) {
  .contact-section {
    padding: 32px 24px;
  }
}


.hero-title {
  margin: 64px 0 32px;
  text-align: left;
}

.hero-title h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: lowercase;
}

.hero-title.hero-title-with-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.hero-title.hero-title-with-toggle .theme-toggle {
  flex-shrink: 0;
}

.hero-title-with-back {
  display: grid;
  row-gap: 12px;
  justify-items: start;
}

.page-header.hero-title-with-back {
  display: grid;
  row-gap: 12px;
  margin-bottom: 32px;
  justify-items: start;
}

.page-header.hero-title-with-back .page-title,
.hero-title.hero-title-with-back h1 {
  margin: 0;
}

.page-header.hero-title-with-back .page-subtitle,
.page-header.hero-title-with-back .page-meta {
  margin: 0;
}

.hero-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--color-border-hover);
  background: var(--color-surface);
  color: var(--color-text-primary);
  text-decoration: none;
  flex-shrink: 0;
  line-height: 0;
  transition: border var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

.hero-back-link span {
  display: inline-block;
  transform: translateX(-1px);
}

.hero-back-link:hover,
.hero-back-link:focus-visible {
  transform: translateX(-3px);
  border-color: var(--color-border-strong);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.55);
  background: var(--color-surface-alt);
  outline: 2px solid var(--color-outline);
  outline-offset: 2px;
}

.board-group {
  margin: 72px 0;
}

.board-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 28px;
}

.board-heading-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.board-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  text-transform: lowercase;
}

.board-heading-text h2 {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.board-heading-anchor {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: 0.85rem;
  text-decoration: none;
  opacity: 0;
  transition: opacity var(--transition-base), border var(--transition-base), color var(--transition-base), transform var(--transition-base);
}

.board-heading:hover .board-heading-anchor,
.board-heading:focus-within .board-heading-anchor {
  opacity: 1;
}

.board-heading-anchor:hover,
.board-heading-anchor:focus-visible {
  opacity: 1;
  color: var(--color-text-primary);
  border-color: var(--color-border-strong);
  transform: translateY(-2px);
  outline: none;
}

.board-heading-text p {
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-weight: 600;
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.contact-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  align-items: start;
}

.contact-intro {
  display: grid;
  gap: 18px;
}

.contact-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--color-text-primary);
  letter-spacing: -0.015em;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.contact-title:hover .board-heading-anchor,
.contact-title:focus-within .board-heading-anchor {
  opacity: 1;
}

.contact-subtitle {
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-weight: 600;
  margin: 0;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.contact-link {
  border: 2px solid var(--color-border);
  padding: 10px 16px;
  border-radius: var(--border-radius-sm);
  color: var(--color-text-primary);
  font-weight: 600;
  transition: border var(--transition-base), transform var(--transition-base);
}

.contact-link:hover,
.contact-link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--color-border-strong);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.checkbox-label span {
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  letter-spacing: 0.02em;
}

@media (max-width: 720px) {
  .hero-title.hero-title-with-toggle {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .hero-title.hero-title-with-toggle .theme-toggle {
    align-self: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-back-link {
    width: 34px;
    height: 34px;
  }
}


.filter-wrapper {
  position: sticky;
  top: 24px;
  margin-left: auto;
  width: fit-content;
  z-index: 140;
  display: flex;
  justify-content: flex-end;
}

.filter-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-primary);
  cursor: pointer;
  transition: border var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.5);
}

.filter-toggle:hover,
.filter-toggle:focus-visible {
  transform: translateY(-2px);
  border-color: var(--color-border-strong);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.65);
  outline: none;
}

.filter-panel {
  position: absolute;
  top: 60px;
  right: 0;
  min-width: 240px;
  padding: 18px 20px 20px;
  background: var(--color-surface);
  border: 2px solid rgba(245, 242, 229, 0.3);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.filter-panel.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.filter-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.filter-panel-title {
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-text-secondary);
}

.filter-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--color-border-subtle);
  background: var(--color-surface-alt);
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: border var(--transition-base), color var(--transition-base), transform var(--transition-base);
}

.filter-close:hover,
.filter-close:focus-visible {
  border-color: var(--color-border-hover);
  color: var(--color-text-primary);
  transform: rotate(4deg);
  outline: none;
}

.filter-buttons {
  display: grid;
  gap: 10px;
}

.filter-button {
  padding: 10px 16px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--color-border-light);
  background: var(--color-surface);
  color: var(--color-text-secondary);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: border var(--transition-base), color var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  align-items: center;
  gap: 12px;
}

.filter-button:hover,
.filter-button:focus-visible {
  color: var(--color-text-primary);
  border-color: var(--color-border-hover);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  outline: none;
}

.filter-button.is-active {
  color: var(--color-text-primary);
  background: var(--color-surface-alt);
  border-color: var(--color-border-strong);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.65);
}

.filter-button-icon {
  font-size: 1.1rem;
}

.filter-button-label {
  flex: 1;
}

@media (max-width: 720px) {
  main {
    padding: 32px 16px 80px;
  }

  .board-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .board-heading-link {
    align-self: flex-start;
  }

  .filter-wrapper {
    position: fixed;
    top: 16px;
    right: 16px;
    width: auto;
    z-index: 180;
  }

  .filter-panel {
    position: fixed;
    top: 72px;
    right: 16px;
    left: 16px;
    min-width: auto;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    transform: translateY(-16px);
  }

  .filter-panel.is-open {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}

.contact-link-inline { color: var(--color-accent); text-decoration: underline; }
.contact-link-inline:hover, .contact-link-inline:focus-visible { color: var(--color-text-primary); }

.bucket-list {
  display: grid;
  gap: 18px;
  margin: 32px 0 0;
}

.bucket-item {
  border: 1px solid var(--color-border-soft);
  border-radius: var(--border-radius-sm);
  background: var(--color-fill-soft);
  transition: border var(--transition-base), background var(--transition-base), transform var(--transition-base);
}

.bucket-item summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--color-text-primary);
  position: relative;
}

.bucket-item summary::-webkit-details-marker,
.bucket-item summary::marker {
  display: none;
  content: '';
}

.bucket-item summary::after {
  content: '▸';
  margin-left: auto;
  font-size: 1rem;
  color: var(--color-accent);
  transition: transform var(--transition-base);
}

.bucket-item[open] summary::after {
  transform: rotate(90deg);
}

.bucket-title {
  color: var(--color-accent);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.bucket-item:hover {
  border-color: var(--color-border-subtle);
  background: var(--color-fill-hover);
  transform: translateY(-1px);
}

.bucket-item[open] {
  border-color: var(--color-border-stronger);
  background: var(--color-fill-panel);
  transform: translateY(-1px);
}

.bucket-body {
  padding: 0 22px 22px;
  color: var(--color-text-secondary);
  display: grid;
  gap: 12px;
}

.bucket-body em {
  color: var(--color-accent);
  font-style: normal;
  font-weight: 600;
}

.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border-radius: 999px;
  border: 2px solid var(--color-border);
  background: var(--color-fill-panel);
  box-shadow: inset 0 0 0 1px var(--color-border-light);
  width: 70px;
  height: 34px;
  cursor: pointer;
  transition: border var(--transition-base), background var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: var(--color-border-strong);
  background: var(--color-fill-hover);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  outline: none;
}


.theme-toggle-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}

.theme-toggle-icon {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  pointer-events: none;
}

.theme-toggle-icon svg {
  width: 100%;
  height: 100%;
  max-width: 28px;
  max-height: 28px;
  opacity: 0.55;
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.theme-toggle-icon--sun svg {
  color: #ffffff;
  stroke: #ffffff;
  fill: #ffffff;
}

.theme-toggle-icon--sun svg use {
  stroke: #ffffff;
}

.theme-toggle-icon--moon svg {
  color: var(--color-text-primary);
  stroke: var(--color-text-primary);
  fill: var(--color-text-primary);
}

.theme-toggle-icon--moon svg use {
  stroke: var(--color-text-primary);
}

.theme-toggle-thumb {
  position: absolute;
  top: 50%;
  left: 2px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-highlight);
  color: var(--color-background);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  overflow: hidden;
  transition: transform 0.35s ease, background var(--transition-base), color var(--transition-base);
  transform: translate3d(0, -50%, 0);
}

.theme-toggle[aria-pressed='true'] .theme-toggle-thumb {
  transform: translate3d(30px, -50%, 0) rotate(360deg);
  background: var(--color-text-primary);
  color: var(--color-background);
}

.theme-toggle[aria-pressed='true'] .theme-toggle-icon--sun svg {
  opacity: 0.9;
  transform: scale(1.05);
}

.theme-toggle[aria-pressed='true'] .theme-toggle-icon--moon svg {
  opacity: 0.4;
  transform: scale(0.92);
}

.theme-toggle[aria-pressed='false'] .theme-toggle-icon--sun svg {
  opacity: 0.4;
  transform: scale(0.92);
}

.theme-toggle[aria-pressed='false'] .theme-toggle-icon--moon svg {
  opacity: 0.9;
  transform: scale(1.05);
}



.board-group:first-of-type {
  margin-top: 48px;
}

.board-heading.board-heading-large h2 {
  font-size: clamp(2.6rem, 6vw, 3.6rem);
}

.board-heading-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: var(--color-text-primary);
  color: #050505;
  font-weight: 700;
  font-size: 1.2rem;
  border: none;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.55);
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), color var(--transition-base);
}

.board-heading-link span {
  display: inline-block;
  transform: translateX(1px);
}

.board-heading-link:hover,
.board-heading-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.65);
  background: var(--color-highlight);
  color: #050505;
  outline: 2px solid var(--color-outline-strong);
}

:root[data-theme="light"] .board-heading-link {
  color: #ffffff;
}

:root[data-theme="light"] .board-heading-link:hover,
:root[data-theme="light"] .board-heading-link:focus-visible {
  color: #ffffff;
}
.contact-title-row {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  position: relative;
}

.contact-title-row .board-heading-anchor {
  width: 40px;
  height: 40px;
  opacity: 0;
  border-width: 2px;
}

.contact-title-row:hover .board-heading-anchor,
.contact-title-row:focus-within .board-heading-anchor,
.contact-title-row .board-heading-anchor:hover,
.contact-title-row .board-heading-anchor:focus-visible {
  opacity: 1;
}

.page-music .embedded-board .card-subtitle {
  display: none;
}

.page-music .embedded-board .card-thumbnail {
  display: block;
}
