:root {
  color-scheme: light dark;
  --width: 820px;
  --text-measure: 40em;
  --media-bleed: 140px;
  --media-max: 1200px;
  --font-main: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --font-secondary: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --font-scale: 1.3em;
  --radius: 12px;
  --radius-small: 6px;
  --border: rgba(0, 0, 0, 0.10);
  --background-color: #fffff8;
  --heading-color: #111;
  --text-color: #222;
  --link-color: #111;
  --visited-color: #222;
  --code-bg: rgba(0, 0, 0, 0.035);
  --code-border: rgba(0, 0, 0, 0.10);
  --code-inline-bg: rgba(0, 0, 0, 0.04);
  --code-color: #222;
  --quote-color: rgba(0, 0, 0, 0.78);
  --quote-border: rgba(0, 0, 0, 0.28);
  --muted: rgba(0, 0, 0, 0.62);
}

@media (prefers-color-scheme: dark) {
  :root {
    --background-color: #1f1b1b;
    --heading-color: #e2e1e1;
    --text-color: #cdcdcd;
    --link-color: #cdcdcd;
    --visited-color: #cdcdcd;
    --border: rgba(255, 255, 255, 0.14);
    --code-bg: rgba(255, 255, 255, 0.06);
    --code-border: rgba(255, 255, 255, 0.14);
    --code-inline-bg: rgba(255, 255, 255, 0.08);
    --code-color: #cdcdcd;
    --quote-color: rgba(205, 205, 205, 0.86);
    --quote-border: rgba(255, 255, 255, 0.22);
    --muted: rgba(255, 255, 255, 0.65);
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  max-width: var(--width);
  margin: auto;
  padding: 20px;
  font-family: var(--font-secondary);
  font-size: var(--font-scale);
  line-height: 1.55;
  color: var(--text-color);
  background-color: var(--background-color);
  overflow-wrap: break-word;
  word-break: normal;
  text-rendering: optimizeLegibility;
}

.site {
  width: 100%;
}

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

.site-main {
  max-width: none;
  line-height: 1.6;
}

img,
video {
  height: auto;
}

hr {
  width: auto;
  height: 40px;
  margin: 2.5rem 0;
  border: 0;
  background: center / contain no-repeat url("/assets/images/fish-line.svg");
}

@media (prefers-color-scheme: dark) {
  hr {
    filter: invert(1) brightness(2);
  }
}

h1,
h2,
h3 {
  font-family: var(--font-main);
  line-height: 1.2;
  color: var(--heading-color);
}

h1 {
  font-size: 2.05em;
}

h2 {
  margin-top: 1.8rem;
  font-size: 1.55em;
}

h3 {
  margin-top: 1.6rem;
  font-size: 1.25em;
}

h4,
h5,
h6 {
  margin-top: 1.6rem;
  font-size: 1.08em;
}

body.post main > article > h1,
body.page main > h1 {
  margin: 0.7rem 0 0;
  font-size: 1.6em;
}

body.page main > h1 {
  margin-bottom: 0.45rem;
}

p {
  margin: 1.05rem 0;
}

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

mark {
  padding: 0 0.08em;
  border-radius: 0.15em;
  color: var(--heading-color);
  background: rgba(242, 205, 71, 0.38);
}

time {
  font-style: italic;
  opacity: 0.9;
}

a {
  color: var(--link-color);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  text-decoration-thickness: 1px;
}

a:visited {
  color: var(--visited-color);
}

a:hover {
  text-decoration-thickness: 2px;
  opacity: 0.85;
}

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 2;
  padding: 0.35rem 0.55rem;
  transform: translateY(-150%);
  background: var(--heading-color);
  color: var(--background-color);
  font-size: 0.8rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 3.2rem;
  padding-top: calc(1.4rem + env(safe-area-inset-top, 0px));
  padding-bottom: 1.05rem;
  border-bottom: 1px solid var(--border);
}

.site-title {
  margin: 0;
  font-family: var(--font-main);
  font-size: 1.35em;
  font-weight: 800;
  line-height: 1.12;
}

.site-title a {
  color: var(--heading-color);
  text-decoration: none;
}

.site-title a:hover {
  text-decoration: underline;
}

.site-tagline {
  max-width: var(--text-measure);
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9em;
  font-style: italic;
  line-height: 1.45;
}

.site-tagline a {
  color: inherit;
  text-decoration: underline;
}

.site-tagline a:hover {
  text-decoration-thickness: 2px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  justify-content: flex-end;
  margin: 0;
  font-size: 0.92em;
  font-weight: 700;
  line-height: inherit;
}

.site-nav a {
  margin-right: 0;
  color: var(--link-color);
  text-decoration: underline;
}

.site-nav a:last-child {
  margin-right: 0;
}

.site-nav a:hover {
  text-decoration-thickness: 2px;
  opacity: 0.85;
}

.site-nav-rss {
  display: inline-flex;
  align-items: center;
  color: var(--accent-color);
  text-decoration: none;
}

.site-nav-rss .identity-connect-icon {
  width: 0.9em;
  height: 0.9em;
}

.site-footer {
  margin-top: 5rem;
  padding: 2.5rem 0 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.86em;
  font-style: italic;
  line-height: 1.6;
  text-align: center;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.not-found-content {
  width: 100%;
  max-width: 720px;
  margin: -0.75rem 0 0;
  text-align: center;
}

main .not-found-illustration {
  width: min(100%, 450px);
  max-width: 100%;
  margin: 0 auto 1.6rem;
  border-radius: 0;
}

.not-found-content p {
  max-width: 28rem;
  margin: 1.05rem auto;
}

.not-found-content a {
  color: inherit;
}

.post-content > p,
.post-content > ul,
.post-content > ol,
.post-content > blockquote:not(.admonition) {
  max-width: var(--text-measure);
}

.post-content > ol {
  padding-left: 1.25em;
}

.post-content > ul,
.post-list {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.post-content > ul > li,
.post-list > li {
  position: relative;
  padding-left: 1.2em;
}

.post-content > ul > li::before,
.post-list > li::before {
  content: "-";
  position: absolute;
  left: 0;
}

.post-list time {
  display: none;
}

.post-meta {
  margin: 0.45rem 0;
  color: var(--muted);
  font-size: 0.9em;
}

.post-content > :first-child {
  margin-top: 0;
}

.post-content > :first-child > img:first-child {
  margin-top: 0;
}

.home .post-list {
  margin-top: -0.5rem;
}

.post-stream {
  display: grid;
  gap: 0;
}

.stream-entry {
  display: flow-root;
  margin: 0;
}

.stream-entry + .stream-entry {
  margin-top: 3.75rem;
}

.stream-entry:last-child {
  margin-bottom: 3.75rem;
}

.stream-entry + .stream-entry::before {
  content: "";
  display: block;
  width: 160px;
  height: 1px;
  margin: 0 auto 3.75rem;
  background-color: var(--border);
}

.stream-entry-header h2 {
  max-width: var(--text-measure);
  margin: 0;
  font-size: 1.6em;
}

.stream-entry-header h2 a {
  text-decoration: none;
}

.stream-entry-header h2 a:hover {
  text-decoration: underline;
}

/* Title-only thoughts and pure quotes read like a passing thought, not a
   bold section heading: a touch larger than body text, italic, normal weight. */
.stream-entry--thought .stream-entry-header h2,
.stream-entry--quote .stream-entry-header h2 {
  font-size: 1.15em;
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  color: var(--text-color);
}

.stream-entry-header .post-meta {
  margin: 0.45rem 0;
}

code {
  font-family: var(--font-mono);
  color: var(--code-color);
}

:not(pre) > code {
  padding: 0.15em 0.35em;
  border-radius: var(--radius-small);
  font-size: 0.9em;
  background: var(--code-inline-bg);
}

pre {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  border: 1px solid var(--code-border);
  border-radius: var(--radius);
  background: var(--code-bg);
}

pre code {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}

.admonition {
  --adm-accent: var(--heading-color);
  max-width: var(--text-measure);
  margin: 2.2rem 0;
  padding: 0.9rem 0 0.9rem 1.1rem;
  border: 0;
  border-left: 3px solid var(--adm-accent);
  border-radius: 0;
  color: var(--text-color);
  background: transparent;
  font-style: normal;
}

.admonition-info {
  --adm-accent: rgba(9, 105, 218, 0.75);
}

.admonition-warning {
  --adm-accent: rgba(178, 90, 0, 0.75);
}

.admonition-caution {
  --adm-accent: rgba(180, 35, 24, 0.75);
}

.admonition-title {
  margin: 0 0 0.55rem;
  font-family: var(--font-main);
  font-size: 1.02em;
  font-weight: 800;
  line-height: 1.25;
  color: var(--heading-color);
}

.post-content > blockquote:not(.admonition) {
  margin: 2rem 0;
  padding-left: 1.1rem;
  border-left: 2px solid var(--quote-border);
  color: var(--quote-color);
  font-style: italic;
}

@media (max-width: 900px) {
  :root {
    --media-bleed: 20px;
  }
}

@media (max-width: 520px) {
  :root {
    --media-bleed: 0px;
  }
}

main img,
main video,
main iframe,
main figure,
main .media-embed {
  width: calc(100% + (2 * var(--media-bleed)));
  max-width: var(--media-max);
  margin: 2.5rem auto;
  margin-left: calc(-1 * var(--media-bleed));
}

main img,
main video,
main iframe {
  display: block;
  border-radius: var(--radius);
}

main figure > img {
  width: 100%;
  max-width: none;
  margin: 0;
}

main iframe {
  height: auto !important;
  border: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

main .media-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--code-bg);
}

main .media-embed-portrait {
  aspect-ratio: 9 / 16;
}

main .media-embed iframe {
  display: block;
  width: 100%;
  height: 100% !important;
  max-width: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  aspect-ratio: auto;
}

.embed-placeholder {
  display: flex;
  min-height: 14rem;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: clamp(1.25rem, 5vw, 3rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.embed-provider {
  margin: 0;
  font-family: var(--font-main);
  font-size: 1.35em;
  font-weight: 800;
  line-height: 1.2;
  color: var(--heading-color);
}

.embed-provider::before {
  content: "Externer Inhalt";
  display: block;
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.58em;
  font-style: italic;
  font-weight: 400;
  line-height: 1.25;
}

.embed-placeholder p:not(.embed-provider) {
  max-width: 24rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.9em;
  line-height: 1.45;
}

.embed-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.95rem;
  margin-top: 0.15rem;
}

.embed-load-button {
  appearance: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--link-color);
  background: transparent;
  font: inherit;
  font-size: 0.88em;
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
  cursor: pointer;
}

.embed-load-button:hover,
.embed-load-button:focus-visible {
  outline: 0;
  opacity: 0.85;
  text-decoration-thickness: 2px;
}

.embed-load-button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 0.18rem;
}

.embed-poster-button {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: var(--code-bg);
  cursor: pointer;
}

main .media-embed .embed-poster-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
}

.embed-poster-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.08);
  transition: background 0.18s ease;
}

.embed-youtube-play {
  position: relative;
  width: clamp(4.25rem, 14vw, 5.75rem);
  height: clamp(3rem, 9.8vw, 4rem);
  border-radius: 0.9rem;
  background: #ff0000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  transition: background 0.18s ease;
}

.embed-youtube-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  width: 0;
  height: 0;
  border-top: 0.7rem solid transparent;
  border-bottom: 0.7rem solid transparent;
  border-left: 1.15rem solid #fff;
  transform: translate(-42%, -50%);
}

.embed-poster-button:hover .embed-poster-overlay,
.embed-poster-button:focus-visible .embed-poster-overlay {
  background: rgba(0, 0, 0, 0.18);
}

.embed-poster-button:hover .embed-youtube-play,
.embed-poster-button:focus-visible .embed-youtube-play {
  background: #cc0000;
}

.embed-poster-button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 0.18rem;
}

main figcaption {
  display: block;
  max-width: 40em;
  margin: 0.75rem auto 0;
  color: var(--muted);
  font-size: 0.9em;
  line-height: 1.4;
  font-style: italic;
  text-align: center;
}

main figcaption a {
  color: inherit;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem 0;
  font-size: 0.85em;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.search-page {
  max-width: var(--text-measure);
}

.search-form {
  margin: 0 0 0.9rem;
}

.search-label {
  display: block;
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.82em;
  font-style: italic;
}

.search-input-row {
  display: flex;
  gap: 0.6rem;
  align-items: stretch;
}

.search-input,
.search-button {
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  font: inherit;
  font-size: 0.92em;
  line-height: 1.25;
}

.search-input {
  width: 100%;
  min-width: 0;
  padding: 0.55rem 0.65rem;
  color: var(--text-color);
  background: var(--background-color);
}

.search-button {
  flex: 0 0 auto;
  padding: 0.55rem 0.85rem;
  color: var(--background-color);
  background: var(--heading-color);
  cursor: pointer;
}

.search-input:focus-visible,
.search-button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 0.18rem;
}

.search-button:hover {
  opacity: 0.88;
}

.search-status {
  min-height: 1.5em;
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.85em;
}

.search-status:empty {
  display: none;
}

.search-results {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.search-result + .search-result {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.search-result h2 {
  margin: 0;
  font-size: 1.18em;
}

.search-result h2 a {
  text-decoration: none;
}

.search-result h2 a:hover {
  text-decoration: underline;
}

.search-result-meta {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.82em;
  font-style: italic;
}

.search-result-excerpt {
  margin: 0.55rem 0 0;
  line-height: 1.5;
}

.search-result-excerpt mark {
  padding: 0 0.08em;
  border-radius: 0.15em;
  color: var(--heading-color);
  background: rgba(242, 205, 71, 0.38);
}

body.identity {
  --width: 100%;
  --font-scale: 1.3em;
  --identity-content-width: 1180px;
  --identity-page-gutter: max(1rem, calc((100vw - var(--identity-content-width)) / 2));
  --identity-accent: #176f68;
  --identity-warm: #a35a35;
  --identity-green: #556b39;
  --identity-paper: rgba(23, 111, 104, 0.07);
  --identity-paper-strong: rgba(163, 90, 53, 0.10);
  max-width: none;
  padding: 0;
  overflow-x: hidden;
}

.identity .site {
  width: 100%;
}

.identity .site-main {
  width: 100%;
}

.identity .site-header {
  display: flex;
  width: min(1180px, calc(100% - 2rem));
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  margin-right: auto;
  margin-bottom: 3rem;
  margin-left: auto;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
}

.identity .site-nav {
  margin-top: 0;
}

.identity .site-main > section:not(.identity-hero),
.identity-cv,
.identity .site-footer {
  width: min(var(--identity-content-width), calc(100% - 2rem));
  margin-right: auto;
  margin-left: auto;
}

.identity-hero {
  position: relative;
  display: grid;
  align-items: end;
  justify-items: start;
  width: 100vw;
  min-height: min(88svh, 56rem);
  margin-right: calc(50% - 50vw);
  margin-bottom: 0;
  margin-left: calc(50% - 50vw);
  padding: clamp(1.15rem, 3vw, 2rem) var(--identity-page-gutter) clamp(2.2rem, 9vw, 5.8rem);
  overflow: hidden;
  border-radius: 0;
  color: #fff;
  background: #2c2a24;
}

.identity-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.48) 0%, rgba(0, 0, 0, 0.14) 24%, rgba(0, 0, 0, 0.04) 62%, rgba(0, 0, 0, 0.30) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0.04) 44%, rgba(0, 0, 0, 0.10) 100%);
  pointer-events: none;
}

.identity-hero--blueprint::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(24, 88, 132, 0.50);
  mix-blend-mode: color;
  pointer-events: none;
}

.identity-hero--blueprint::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.48) 0%, rgba(0, 0, 0, 0.10) 30%, rgba(0, 0, 0, 0.03) 62%, rgba(0, 0, 0, 0.28) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.02) 44%, rgba(0, 0, 0, 0.08) 100%);
}

.identity-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
}

main .identity-hero-photo img {
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  margin-left: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: 46% center;
  filter: none;
}

main .identity-hero--blueprint .identity-hero-photo img {
  filter: grayscale(1) contrast(1.18) brightness(0.96);
}

.identity-hero--fishhead::before {
  background: rgba(23, 91, 132, 0.34);
}

.identity-hero--fishhead::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.44) 0%, rgba(0, 0, 0, 0.16) 34%, rgba(0, 0, 0, 0.10) 62%, rgba(0, 0, 0, 0.58) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.56) 0%, rgba(0, 0, 0, 0.22) 46%, rgba(0, 0, 0, 0.10) 100%);
}

main .identity-hero--fishhead .identity-hero-photo img {
  object-position: center center;
  filter: grayscale(1) contrast(1.2) brightness(0.98);
}

.identity-hero-top {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.2rem;
  padding: clamp(1rem, 3vw, 2rem) var(--identity-page-gutter);
}

.identity-home-link,
.identity-home-link:visited,
.identity-home-link:active,
.identity-hero-nav a,
.identity-hero-nav a:visited,
.identity-hero-nav a:active {
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.56);
}

.identity-home-link {
  font-family: var(--font-main);
  font-size: 1.18em;
  font-weight: 800;
  text-decoration: none;
}

.identity-home-link:hover {
  text-decoration: underline;
}

.identity-hero-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1rem;
  font-size: 0.92em;
  font-weight: 700;
}

.identity-hero-menu {
  position: relative;
  display: none;
}

.identity-hero-menu summary {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  place-items: center;
  border: 0;
  color: #fff;
  cursor: pointer;
  list-style: none;
  border-radius: 999px;
  transition: background-color 160ms ease, transform 160ms ease;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.44);
}

.identity-hero-menu summary:hover,
.identity-hero-menu summary:focus-visible,
.identity-hero-menu[open] summary {
  background: rgba(12, 16, 17, 0.62);
}

.identity-hero-menu summary::-webkit-details-marker {
  display: none;
}

.identity-hero-menu summary svg {
  width: 1.18rem;
  height: 1.18rem;
  fill: currentColor;
  transition: opacity 120ms ease;
}

.identity-hero-menu[open] summary svg {
  opacity: 0;
}

.identity-hero-menu[open] summary::before,
.identity-hero-menu[open] summary::after {
  content: "";
  position: absolute;
  width: 1.05rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.identity-hero-menu[open] summary::before {
  transform: rotate(45deg);
}

.identity-hero-menu[open] summary::after {
  transform: rotate(-45deg);
}

.identity-hero-menu-panel {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  display: grid;
  min-width: 10rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(15, 18, 18, 0.88);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
}

.identity-hero-menu[open] .identity-hero-menu-panel {
  animation: identity-menu-in 180ms ease-out both;
}

@keyframes identity-menu-in {
  from {
    opacity: 0;
    transform: translateY(-0.45rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.identity-hero-menu-panel a {
  padding: 0.35rem 0;
  color: #fff;
  font-size: 0.95rem;
}

.identity-hero-menu-panel a:visited,
.identity-hero-menu-panel a:active {
  color: #fff;
}

.identity-intro {
  position: relative;
  z-index: 2;
  max-width: 38rem;
  padding-bottom: 0.2rem;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

.identity-hero-kicker {
  margin: 0 0 0.35rem;
  color: rgba(255, 255, 255, 0.90);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.identity-hero h1 {
  max-width: 10ch;
  margin: 0;
  color: #fff;
  font-size: 5.4rem;
  line-height: 0.95;
}

.identity-hero .identity-lede {
  max-width: 30rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.35;
}

.identity-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.1rem;
  margin: 1.05rem 0 0;
  font-size: 0.92rem;
  font-weight: 800;
}

.identity-hero-actions a {
  display: inline-flex;
  min-height: 2.45rem;
  align-items: center;
  padding: 0.52rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: #fff;
  background: rgba(10, 14, 15, 0.3);
  box-shadow: 0 0.35rem 1.2rem rgba(0, 0, 0, 0.12);
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.identity-hero-actions a:visited,
.identity-hero-actions a:active {
  color: #fff;
}

.identity-hero-actions a:hover,
.identity-hero-actions a:focus-visible {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(10, 14, 15, 0.5);
  transform: translateY(-1px);
}

.identity-domain {
  margin: 0 0 0.8rem;
  color: var(--identity-accent);
  font-size: 0.92em;
  font-style: italic;
  font-weight: 700;
}

.identity-lede {
  max-width: 27rem;
  margin: 1.05rem 0 0;
  font-size: 1.16em;
  line-height: 1.38;
  color: var(--muted);
}

.identity-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.15rem;
  margin-top: 1.8rem;
  font-size: 0.94em;
}

.identity-links a {
  color: #fff;
}

.identity-roles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  max-width: 32rem;
  margin: 1.6rem auto 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.32);
  border-left: 1px solid rgba(255, 255, 255, 0.32);
}

.identity-roles li {
  min-width: 0;
  padding: 0.55rem 0.7rem;
  border-right: 1px solid rgba(255, 255, 255, 0.32);
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
  background: rgba(0, 0, 0, 0.18);
  font-size: 0.9em;
  font-style: italic;
}

.identity-section-label {
  margin: 0 0 0.2rem;
  color: var(--muted);
  font-size: 0.74em;
  font-style: italic;
}

.identity-section-label {
  color: var(--identity-accent);
}

.identity-work,
.identity-photo-section,
.identity-live-section,
.identity-project-section,
.identity-blog-section,
.identity-connect {
  margin-top: 4.4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.identity-about {
  margin-top: 4.2rem;
  padding: 0;
}

.identity-about-grid,
.identity-blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(22rem, 1.02fr);
  gap: 3rem;
  align-items: start;
}

.identity-about-lead {
  margin: 0;
}

.identity-about-aside {
  display: grid;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  gap: 1rem;
}

.identity-about-copy {
  grid-column: 1;
}

.identity-about .identity-about-lead h2 {
  max-width: 13.5ch;
  margin: 0;
  font-size: clamp(2.25rem, 5.2vw, 4.2rem);
  line-height: 1.02;
}

main .identity-about-portrait {
  position: relative;
  width: 100%;
  max-width: none;
  aspect-ratio: 4 / 3;
  margin: 0;
}

main .identity-about-portrait .identity-about-photo {
  position: absolute;
  max-width: none;
  margin: 0;
  padding: clamp(0.22rem, 0.65vw, 0.48rem);
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 0;
  box-sizing: border-box;
  background: #fff;
  background-image: none !important;
  box-shadow: 0 0.35rem 0.8rem rgba(0, 0, 0, 0.28);
  object-fit: cover;
}

.identity-about-photo--portrait {
  right: 0;
  bottom: 1%;
  z-index: 5;
  width: 31%;
  height: 36%;
  object-position: center 28%;
  transform: rotate(-3deg);
}

.identity-about-photo--summit {
  top: 3%;
  left: 1%;
  z-index: 1;
  width: 72%;
  height: 94%;
  object-position: center 45%;
  transform: rotate(-1deg);
}

.identity-about-photo--city {
  top: 31%;
  right: -1%;
  z-index: 4;
  width: 32%;
  height: 35%;
  object-position: 72% 35%;
  transform: rotate(4deg);
}

.identity-about-photo--travel {
  top: 0;
  right: 0;
  z-index: 3;
  width: 31%;
  height: 34%;
  object-position: center center;
  transform: rotate(-5deg);
}

.identity-principle {
  margin: 0;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--heading-color);
  background: transparent;
}

.identity-about .identity-principle p {
  margin: 0;
  color: var(--heading-color);
  font-size: 0.98em;
  font-style: italic;
  line-height: 1.45;
}

.identity-principle cite {
  display: block;
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.76em;
  font-style: normal;
}

.identity-about h2,
.identity-section-heading h2,
.identity-connect h2 {
  margin: 0;
  font-size: 2.05rem;
  line-height: 1.12;
}

.identity-about p,
.identity-section-heading p,
.identity-connect p {
  max-width: 38rem;
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.identity-about .identity-section-label,
.identity-connect .identity-section-label {
  color: var(--identity-accent);
}

.identity-section-heading {
  max-width: 44rem;
  margin-bottom: 1.55rem;
}

.identity-work-list,
.identity-posts,
.identity-latest-photos,
.identity-note-list,
.identity-video-list,
.identity-project-grid {
  margin: 0;
  padding: 0;
  list-style: none;
}

.identity-latest-photos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.72rem;
}

.identity-latest-photos li {
  min-width: 0;
}

.identity-latest-photos a {
  position: relative;
  display: block;
  min-height: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #111;
  aspect-ratio: 1 / 1;
  text-decoration: none;
}

.identity-latest-photos a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.72) 100%);
  pointer-events: none;
}

main .identity-latest-photos img {
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  margin-left: 0;
  border-radius: 0;
  object-fit: cover;
  transition: transform 180ms ease;
}

.identity-latest-photos a:hover img {
  transform: scale(1.035);
}

.identity-latest-photos span,
.identity-latest-photos time {
  position: absolute;
  right: 0.7rem;
  left: 0.7rem;
  z-index: 2;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.identity-latest-photos span {
  bottom: 1.6rem;
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.83em;
  font-weight: 800;
  line-height: 1.14;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.identity-latest-photos time {
  bottom: 0.58rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.66em;
  line-height: 1;
}

.identity-feed-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 2rem;
}

.identity-feed-column h3 {
  margin: 0 0 0.9rem;
  color: var(--heading-color);
  font-size: 1.05em;
}

.identity-feed-column h3 a {
  color: inherit;
}

.identity-note-list,
.identity-video-list,
.identity-posts--compact {
  border-top: 1px solid var(--border);
}

.identity-note-list li,
.identity-video-list li,
.identity-posts--compact li {
  border-bottom: 1px solid var(--border);
}

.identity-note-list a,
.identity-video-list a {
  display: block;
  padding: 0.9rem 0;
  color: var(--text);
  text-decoration: none;
}

.identity-note-list p {
  margin: 0;
  color: var(--heading-color);
  font-size: 0.96em;
  font-weight: 400;
  line-height: 1.45;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}

.identity-note-list time,
.identity-video-list time,
.identity-posts--compact time,
.identity-feed-empty {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-style: italic;
  line-height: 1.25;
}

.identity-posts--compact li {
  display: block;
  padding: 0.9rem 0;
}

.identity-posts.identity-posts--compact a {
  display: block;
  color: var(--heading-color);
  font-size: 0.96em;
  font-weight: 400;
  line-height: 1.28;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}

.identity-feed-more {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.86em;
  font-weight: 800;
}

.identity-video-list a {
  display: grid;
  grid-template-columns: 7.2rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
}

main .identity-video-list img {
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  margin-left: 0;
  border: 0;
  border-radius: 8px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.identity-video-list strong {
  display: block;
  color: var(--heading-color);
  font-size: 0.94em;
  font-weight: 400;
  line-height: 1.25;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}

.identity-feed-empty {
  margin-top: 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
  line-height: 1.4;
}

.identity-work-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem 1.8rem;
  align-items: center;
  margin: 0.2rem 0 1.7rem;
  padding: 0;
  list-style: none;
}

.identity-work-brands li {
  display: grid;
  min-width: 0;
  min-height: 2.7rem;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
}

.identity-work-brands a {
  display: inline-grid;
  place-items: center;
  color: inherit;
  text-decoration: none;
}

main .identity-work-brands img {
  width: auto;
  max-width: min(100%, 7.6rem);
  max-height: 1.75rem;
  margin: 0;
  margin-left: 0;
  border: 0;
  border-radius: 0;
  filter: grayscale(1) contrast(1.08) opacity(0.68);
  mix-blend-mode: multiply;
  object-fit: contain;
  transition: filter 160ms ease, opacity 160ms ease;
}

.identity-work-brands a:hover img {
  filter: grayscale(1) contrast(1.2) opacity(0.9);
}

main .identity-work-brand--docuware img {
  max-width: 8.2rem;
  max-height: 2rem;
}

main .identity-work-brand--thinkproject img {
  max-width: 7.2rem;
}

main .identity-work-brand--nemetschek img {
  max-width: 7.3rem;
  max-height: 1.9rem;
}

main .identity-work-brand--infoniqa img {
  max-width: 7.7rem;
  max-height: 1.75rem;
}

main .identity-work-brand--sage img {
  max-width: 5.5rem;
  max-height: 1.75rem;
  filter: grayscale(1) contrast(1.3) opacity(0.88);
}

.identity-work-brand--sage a:hover img {
  filter: grayscale(1) contrast(1.35) opacity(1);
}

main .identity-work-brand--exact img {
  max-width: 6rem;
  max-height: 1.35rem;
  transform: translateY(-0.16rem);
}

.identity-work-impact {
  margin-top: 1.5rem;
}

.identity-work-impact h3 {
  margin: 0 0 0.8rem;
  color: var(--identity-warm);
  font-size: 0.88em;
  font-style: italic;
  font-weight: 700;
}

.identity-work-list {
  display: grid;
  gap: 0.55rem;
  max-width: 52rem;
  margin: 0;
  padding: 0 0 0 1.1rem;
  list-style: disc;
}

.identity-work-list li {
  padding-left: 0.25rem;
  color: var(--muted);
  line-height: 1.48;
}

.identity-work-list li::marker {
  color: var(--identity-accent);
}

.identity-project-grid a:not(.identity-project-image-link),
.identity-project-title {
  margin: 0;
  font-size: 1.06em;
  font-weight: 800;
}

.identity-project-image-link {
  display: block;
}

.identity-project-title {
  display: inline;
  color: var(--link-color);
}

.identity-project-title--linklike {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}

.identity-project-grid p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.identity-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.identity-project-grid li {
  min-width: 0;
  padding: 1rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--identity-paper);
}

main .identity-project-grid img {
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0 0 0.85rem;
  margin-left: 0;
  border-radius: 6px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

main .identity-project-grid img.identity-project-image--contain {
  box-sizing: border-box;
  padding: 0.55rem;
  background: rgba(255, 255, 255, 0.72);
  object-fit: contain;
}

.identity-blog-section {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.identity-blog-layout {
  align-items: start;
}

.identity-blog-layout .identity-section-heading {
  margin-bottom: 0;
}

.identity-posts {
  border-top: 1px solid var(--border);
}

.identity-posts li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: baseline;
  border-bottom: 1px solid var(--border);
  padding: 0.95rem 0;
}

.identity-posts a {
  font-weight: 700;
}

.identity-posts time {
  color: var(--muted);
  font-size: 0.82em;
  white-space: nowrap;
}

.identity-posts--compact li {
  display: block;
}

.identity-posts--compact time {
  font-size: 0.82rem;
  line-height: 1.25;
  white-space: normal;
}

.identity-connect {
  padding-bottom: 1.5rem;
}

.identity-connect-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.2rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.identity-connect-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--heading-color);
  font-weight: 800;
  line-height: 1.2;
}

.identity-connect-links svg {
  width: 1.08rem;
  height: 1.08rem;
  flex: 0 0 auto;
  color: var(--identity-accent);
  fill: currentColor;
}

.identity-connect-meta {
  margin-top: 1rem;
  font-size: 0.84em;
}

.identity-connect-meta,
.identity-connect-meta a {
  color: var(--muted);
}

.identity-finale {
  width: min(var(--identity-content-width), calc(100% - 2rem));
  margin: 5.5rem auto 3rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.92em;
  font-style: italic;
  text-align: center;
}

.identity-cv {
  max-width: 900px;
}

.identity-cv-header {
  max-width: 46rem;
  margin-bottom: 3rem;
}

.identity-cv-header h1 {
  margin: 0;
  font-size: 3.2rem;
  line-height: 1.06;
}

.identity-cv-header p:not(.identity-section-label) {
  margin-top: 1rem;
  font-size: 1.16em;
  line-height: 1.45;
}

.identity-cv-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 3.2rem;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.identity-cv-grid > div {
  padding: 1rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--identity-paper);
}

.identity-cv-grid h2,
.identity-cv-timeline h3 {
  margin: 0;
  font-size: 1.05em;
}

.identity-cv-grid p,
.identity-cv-timeline p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.identity-cv-section h2 {
  margin: 0 0 1rem;
  font-size: 1.36em;
}

.identity-cv-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}

.identity-cv-timeline li {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 1.4rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.identity-cv-timeline time {
  color: var(--identity-warm);
  font-size: 0.86em;
}

@media (prefers-color-scheme: dark) {
  body.identity {
    --identity-accent: #8acbc2;
    --identity-warm: #d49a73;
    --identity-green: #b7c996;
    --identity-paper: rgba(138, 203, 194, 0.08);
    --identity-paper-strong: rgba(212, 154, 115, 0.11);
  }

  main .identity-work-brands img {
    filter: grayscale(1) invert(1) contrast(1.12) opacity(0.76);
    mix-blend-mode: screen;
  }

  main .identity-work-brand--sage img {
    filter: grayscale(1) invert(1) contrast(1.18) opacity(0.88);
  }

  .identity-work-brands a:hover img {
    filter: grayscale(1) invert(1) contrast(1.2) opacity(0.92);
  }

  .identity-work-brand--sage a:hover img {
    filter: grayscale(1) invert(1) contrast(1.24) opacity(1);
  }
}

@media (max-width: 46rem) {
  body.identity {
    --font-scale: 1.3em;
  }

  .identity .site-header {
    display: block;
  }

  .identity .site-nav {
    margin-top: 0.8rem;
  }

  .identity-hero-top {
    align-items: flex-start;
    padding: 1rem;
  }

  .identity-hero-nav {
    display: none;
  }

  .identity-hero-menu {
    display: block;
  }

  .identity-hero-menu summary {
    position: relative;
    width: 2.75rem;
    height: 2.75rem;
    background: rgba(12, 16, 17, 0.34);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
  }

  .identity-hero-menu[open] summary {
    z-index: 3;
  }

  .identity-hero-menu-panel {
    z-index: 2;
    top: calc(100% + 0.7rem);
    right: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    width: min(21rem, calc(100vw - 2rem));
    min-width: 0;
    padding: 0.6rem;
    border-color: rgba(255, 255, 255, 0.18);
    border-radius: 1.1rem;
    background: rgba(12, 16, 17, 0.82);
    box-shadow:
      0 1.2rem 3rem rgba(0, 0, 0, 0.34),
      0 0 0 100vmax rgba(8, 11, 12, 0.42);
    backdrop-filter: blur(20px) saturate(120%);
  }

  .identity-hero-menu-panel a {
    display: flex;
    min-height: 3rem;
    align-items: center;
    padding: 0.65rem 0.8rem;
    border-radius: 0.7rem;
    background: rgba(255, 255, 255, 0.06);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.88rem;
    font-weight: 750;
    line-height: 1.15;
    text-decoration: none;
  }

  .identity-hero-menu-panel a:hover,
  .identity-hero-menu-panel a:focus-visible {
    background: rgba(255, 255, 255, 0.14);
  }

  .identity-hero,
  .identity-about-grid,
  .identity-about-lead,
  .identity-feed-grid,
  .identity-blog-layout,
  .identity-project-grid,
  .identity-profile-list {
    grid-template-columns: 1fr;
  }

  .identity-hero {
    min-height: 38rem;
    margin-bottom: 0;
    padding: 1rem 1rem 3rem;
  }

  .identity-hero--fishhead::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.48) 0%, rgba(0, 0, 0, 0.12) 26%, rgba(0, 0, 0, 0.16) 48%, rgba(0, 0, 0, 0.82) 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.16) 72%, rgba(0, 0, 0, 0.08) 100%);
  }

  .identity-intro {
    max-width: min(21.5rem, calc(100vw - 2rem));
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.82);
  }

  .identity-hero-kicker {
    font-size: 1.05rem;
  }

  .identity-hero h1 {
    max-width: 8ch;
    font-size: clamp(3.15rem, 15vw, 4rem);
    line-height: 0.9;
  }

  .identity-hero .identity-lede {
    max-width: 26rem;
    margin-top: 1.2rem;
    color: #fff;
    font-size: 1rem;
    line-height: 1.48;
  }

  .identity-hero-actions {
    gap: 0.55rem 1rem;
    margin-top: 1.25rem;
    font-size: 0.88rem;
  }

  .identity-hero-actions a {
    min-height: 2.6rem;
    padding: 0.55rem 0.9rem;
  }

  .identity-roles {
    grid-template-columns: 1fr;
  }

  .identity-posts li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .identity-work,
  .identity-photo-section,
  .identity-live-section,
  .identity-project-section,
  .identity-blog-section,
  .identity-connect {
    margin-top: 3rem;
  }

  .identity-about {
    margin-top: 2.6rem;
    padding-top: 0;
  }

  .identity-about-grid {
    gap: 1.2rem;
  }

  .identity-about .identity-about-lead h2 {
    max-width: 12ch;
    font-size: 2.35rem;
  }

  .identity-about-aside,
  .identity-about-copy {
    grid-column: auto;
    grid-row: auto;
  }

  main .identity-about-portrait .identity-about-photo {
    padding: 0.24rem;
    box-shadow: 0 0.22rem 0.55rem rgba(0, 0, 0, 0.3);
  }

  .identity-project-grid {
    border-top: 1px solid var(--border);
  }

  .identity-latest-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .identity-video-list a {
    grid-template-columns: 6.4rem minmax(0, 1fr);
  }

  .identity-cv-header h1 {
    font-size: 2.35rem;
  }

  .identity-cv-grid {
    grid-template-columns: 1fr;
  }

  .identity-cv-timeline li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .identity-hero-menu[open] .identity-hero-menu-panel {
    animation: none;
  }

  .identity-hero-actions a {
    transition: none;
  }
}

.footnotes {
  width: 100%;
  margin-top: 6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.92em;
  line-height: 1.6;
}

.footnotes ol {
  margin: 0;
  padding-left: 1.2rem;
}

.footnotes p {
  margin: 0;
}

.footnote-ref {
  font-size: 0.72em;
  vertical-align: super;
}

.footnote-ref a,
.footnotes a.footnote {
  text-decoration: none;
}

@media (max-width: 42rem) {
  body {
    padding: 16px;
  }

  .site-header {
    display: block;
    margin-bottom: 3rem;
  }

  .site-nav {
    justify-content: flex-start;
    margin-top: 0.75rem;
  }

  .site-footer {
    margin-top: 3rem;
  }

  .search-input-row {
    flex-direction: column;
  }

  .search-button {
    width: 100%;
  }
}

/* Syntax highlighting */
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
  color: #6f7378;
}

.token.punctuation {
  color: inherit;
}

.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol {
  color: #8f3f71;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin {
  color: #3f6f44;
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
  color: #7a4f14;
}

.token.atrule,
.token.attr-value,
.token.keyword {
  color: #5b5aa0;
}

.token.function,
.token.class-name {
  color: #8a4b2a;
}

.token.regex,
.token.important,
.token.variable {
  color: #8a4b2a;
}
