:root {
  color-scheme: light dark;
  --paper: #f2efe8;
  --paper-raised: #fbf8f1;
  --ink: #16242d;
  --muted: #5a666b;
  --line: #c8c3b8;
  --accent: #a84f2c;
  --accent-ink: #fffaf3;
  --night: #101b23;
  --night-ink: #f0f2f3;
  --measure: 76rem;
  --display: "Satoshi", "Avenir Next", "Helvetica Neue", ui-sans-serif, system-ui, sans-serif;
  --reading: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  min-width: 20rem;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 8%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 28rem),
    var(--paper);
  color: var(--ink);
  font: 400 1rem/1.65 var(--reading);
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(90deg, transparent 0 49.8%, color-mix(in srgb, var(--line) 45%, transparent) 50% 50.2%, transparent 50.4%);
  background-size: 9rem 100%;
  content: "";
  opacity: 0.28;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:focus-visible,
select:focus-visible,
video:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: -5rem;
  left: 1rem;
  padding: 0.65rem 0.9rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
}

.skip-link:focus {
  top: 1rem;
}

.site-header,
main,
.site-footer {
  width: min(calc(100% - 2rem), var(--measure));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0.75rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  margin-top: 0.75rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  box-shadow: 0 0.65rem 2rem color-mix(in srgb, var(--ink) 9%, transparent);
  font: 500 0.84rem/1.25 var(--display);
  backdrop-filter: blur(1rem);
}

.identity {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.identity-mark {
  position: relative;
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  flex: 0 0 auto;
  overflow: hidden;
  place-items: center;
  border: 1px solid currentColor;
  background: var(--paper-raised);
}

.identity-monogram,
.identity-avatar,
.identity-crest,
.identity-mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.identity-monogram {
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.identity-avatar,
.identity-crest {
  display: block;
  margin: 0;
  transition: opacity 1.1s ease, transform 1.1s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.identity-mark img {
  display: block;
  object-fit: cover;
}

.identity-avatar {
  opacity: 1;
}

.identity-crest {
  opacity: 0;
  transform: scale(0.88);
}

.identity:hover .identity-avatar,
.identity:focus-visible .identity-avatar {
  opacity: 0;
  transform: scale(1.08);
}

.identity:hover .identity-crest,
.identity:focus-visible .identity-crest {
  opacity: 1;
  transform: scale(1);
}

.identity-name {
  white-space: nowrap;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.25rem;
}

nav a {
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--accent);
}

nav a[aria-current="page"] {
  font-weight: 720;
}

.preferences {
  display: flex;
  gap: 0.55rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.preferences label {
  display: grid;
  gap: 0.12rem;
  color: var(--muted);
  font-size: 0.61rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.preferences select {
  max-width: 8rem;
  padding: 0.2rem 1.6rem 0.2rem 0.3rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background-color: transparent;
  color: var(--ink);
  font: 500 0.78rem/1.3 var(--display);
  text-transform: none;
}

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

.eyebrow,
.status {
  margin: 0;
  color: var(--accent);
  font: 650 0.7rem/1.35 var(--display);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  justify-items: center;
  padding: clamp(6.5rem, 12vw, 10.5rem) 0 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
}

.hero h1,
.page-intro h1 {
  max-width: 68rem;
  margin: 0.45rem auto 1.6rem;
  font: 620 clamp(3.25rem, 7.4vw, 7.8rem) / 0.93 var(--display);
  letter-spacing: -0.065em;
  hyphens: auto;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.hero-inline-image {
  display: inline-block;
  width: clamp(3.7rem, 7vw, 7rem);
  height: 0.5em;
  margin-inline: 0.08em;
  border: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  border-radius: 999px;
  background: url("/assets/media/aviation.jpg?v=2") center 48% / cover no-repeat;
  vertical-align: 0.08em;
  filter: saturate(0.72) contrast(1.08);
}

.lead {
  max-width: 52rem;
  margin-inline: auto;
  color: color-mix(in srgb, var(--ink) 84%, var(--muted));
  font-size: clamp(1.14rem, 2vw, 1.42rem);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.1rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font: 650 0.9rem/1.2 var(--display);
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button-secondary {
  background: transparent;
  color: var(--ink);
}

.button:hover {
  transform: translateY(-2px);
}

.button-secondary:hover {
  background: var(--ink);
  color: var(--paper);
}

.hero-portrait {
  width: 100%;
  margin-top: clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--night);
}

.portrait,
.portrait img {
  display: block;
  width: 100%;
}

.portrait img {
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  object-position: center 32%;
  filter: saturate(0.72) contrast(1.04);
  transition: filter 700ms ease, transform 900ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.hero-portrait:hover img {
  filter: saturate(0.9) contrast(1.02);
  transform: scale(1.025);
}

.focus-marquee {
  width: 100%;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--paper-raised);
  color: var(--muted);
  font: 650 clamp(0.86rem, 1.3vw, 1.02rem) / 1 var(--display);
  letter-spacing: 0.035em;
  white-space: nowrap;
}

.focus-marquee > div {
  display: flex;
  width: max-content;
  animation: focus-marquee 32s linear infinite;
}

.focus-marquee span {
  display: block;
  padding: 1.25rem 3rem;
}

@keyframes focus-marquee {
  to {
    transform: translateX(-50%);
  }
}

.editorial,
.project-teaser,
.page-intro {
  padding: clamp(5.5rem, 11vw, 9.5rem) 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: end;
}

.section-heading h2,
.project-teaser h2,
.flight-section h2 {
  grid-column: 1 / span 7;
  max-width: 50rem;
  margin: 0;
  font: 620 clamp(2.55rem, 5.4vw, 5.4rem) / 0.96 var(--display);
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.section-heading > p,
.project-teaser > p {
  grid-column: 8 / -1;
  max-width: 42rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.capability-list,
.interest-list,
.timeline {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow:dense;
  gap: 1px;
  margin: 3.5rem 0 0;
  padding: 1px;
  list-style: none;
  background: var(--line);
}

.capability-list li,
.interest-list article,
.timeline > article {
  min-width: 0;
  padding: clamp(1.35rem, 3vw, 2.4rem);
  background: var(--paper-raised);
}

.capability-list li,
.interest-list article {
  grid-column: span 4;
}

.capability-list h3,
.interest-list h3,
.timeline h3 {
  margin: 0 0 0.75rem;
  font: 670 clamp(1.15rem, 2vw, 1.42rem) / 1.18 var(--display);
  letter-spacing: -0.025em;
}

.capability-list p,
.interest-list p,
.timeline p {
  margin: 0;
  color: var(--muted);
}

.timeline > article {
  min-height: 15rem;
}

.experience-card-transition {
  grid-column: span 8;
  background:
    radial-gradient(circle at 82% 8%, color-mix(in srgb, var(--accent) 32%, transparent), transparent 24rem),
    var(--night) !important;
  color: var(--night-ink);
}

.experience-card-transition > p {
  max-width: 54rem;
  color: color-mix(in srgb, var(--night-ink) 75%, transparent);
  font-size: 1.03rem;
}

.transition-accordion {
  display: flex;
  gap: 1px;
  margin-top: 2rem;
  padding: 1px;
  background: color-mix(in srgb, var(--night-ink) 25%, transparent);
}

.transition-accordion article {
  flex: 1 1 0;
  min-width: 0;
  padding: 1.25rem;
  background: color-mix(in srgb, var(--night) 88%, var(--night-ink));
  transition: flex-grow 500ms cubic-bezier(0.2, 0.75, 0.2, 1), background-color 240ms ease;
}

.transition-accordion article:hover {
  flex-grow: 1.45;
  background: color-mix(in srgb, var(--night) 82%, var(--accent));
}

.transition-accordion h4 {
  margin: 0 0 0.6rem;
  font: 670 clamp(0.95rem, 1.4vw, 1.12rem) / 1.25 var(--display);
  letter-spacing: -0.02em;
}

.transition-accordion p {
  margin: 0;
  color: color-mix(in srgb, var(--night-ink) 72%, transparent);
  font-size: 0.92rem;
  line-height: 1.52;
}

.experience-card-ecda {
  grid-column: span 4;
}

.experience-card-mobile {
  grid-column: span 7;
}

.experience-card-convergence {
  grid-column: span 5;
}

.experience-card-fhnw {
  grid-column: span 12;
}

.timeline h3 span {
  display: block;
  margin-top: 0.35rem;
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.11em;
}

.education-chapter {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(2rem, 7vw, 6rem);
  align-items: end;
  padding: clamp(4rem, 9vw, 8rem);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, transparent), transparent 48%),
    var(--night);
  color: var(--night-ink);
}

.education-chapter > div {
  grid-column: 1 / span 7;
}

.education-chapter h2 {
  max-width: 48rem;
  margin: 0 0 1.25rem;
  font: 620 clamp(2.7rem, 5.8vw, 5.7rem) / 0.94 var(--display);
  letter-spacing: -0.055em;
}

.education-chapter > div > p {
  max-width: 43rem;
  margin: 0;
  color: color-mix(in srgb, var(--night-ink) 73%, transparent);
  font-size: 1.08rem;
}

.education-places {
  grid-column: 8 / -1;
  margin: 0;
  color: color-mix(in srgb, var(--night-ink) 92%, transparent);
  font: 650 clamp(2.2rem, 5vw, 5rem) / 0.96 var(--display);
  letter-spacing: -0.055em;
  text-align: right;
  text-wrap: balance;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin: 1.4rem 0 0;
  font: 650 0.92rem/1.4 var(--display);
}

.flight-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(17rem, 0.8fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: center;
  padding: clamp(4rem, 9vw, 8rem);
  background:
    radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 26rem),
    var(--night);
  color: var(--night-ink);
}

.flight-section h2 {
  max-width: 45rem;
}

.flight-section p {
  max-width: 42rem;
  font-size: 1.1rem;
}

.flight-section dl {
  margin: 0;
  border-top: 1px solid color-mix(in srgb, var(--night-ink) 35%, transparent);
}

.flight-section dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--night-ink) 35%, transparent);
}

.flight-section dt {
  color: color-mix(in srgb, var(--night-ink) 64%, transparent);
}

.flight-section dd {
  margin: 0;
  font: 650 0.94rem/1.35 var(--display);
  text-align: right;
}

.aviation {
  margin: 0;
  overflow: hidden;
  background: var(--night);
  color: var(--night-ink);
}

.aviation img,
.aviation video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.88;
  filter: saturate(0.72) contrast(1.08);
}

.aviation figcaption {
  padding: 0.8rem 1rem;
  color: color-mix(in srgb, var(--night-ink) 72%, transparent);
  font: 500 0.82rem/1.4 var(--display);
}

.project-teaser {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: end;
}

.project-teaser h2 {
  grid-column: 1 / span 7;
}

.project-teaser .text-link {
  grid-column: 8 / -1;
  justify-self: start;
}

.text-link {
  font: 680 0.95rem/1.4 var(--display);
}

.page-intro {
  max-width: 68rem;
}

.page-intro h1 {
  margin-inline: 0;
}

.page-intro .lead {
  margin-inline: 0;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 1px;
  padding: 1px;
  background: var(--line);
}

.project-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: var(--paper-raised);
}

.project-card:first-child {
  grid-column: span 7;
}

.project-card:last-child {
  grid-column: span 5;
}

.project-card picture {
  display: block;
  min-width: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--line);
}

.project-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 700ms ease, transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.project-card:hover img,
.project-card:focus-within img {
  filter: contrast(1.04) saturate(1.08);
  transform: scale(1.045);
}

.project-card > div {
  min-width: 0;
  padding: clamp(1.75rem, 4vw, 3.75rem);
}

.project-card .text-link {
  display: inline-block;
  margin-top: 0.75rem;
}

.project-card h2 {
  margin: 0.3rem 0 0.75rem;
  font: 650 clamp(2rem, 4vw, 3.4rem) / 1 var(--display);
  letter-spacing: -0.045em;
}

.quiet {
  margin-top: 4rem;
}

.guestbook {
  max-width: 52rem;
  margin-bottom: 6rem;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  background: var(--paper-raised);
}

.connect {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem clamp(2rem, 7vw, 6rem);
  align-items: center;
}

.connect .section-heading {
  min-width: 0;
}

.connect .section-heading h2 {
  grid-column: 1 / -1;
}

.connect-mark {
  width: clamp(6.5rem, 11vw, 10rem);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-raised);
  transform: rotate(-1.5deg);
}

.connect-mark picture,
.connect-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.connect-mark img {
  object-fit: cover;
  filter: saturate(0.78) contrast(1.03);
  transition: filter 700ms ease, transform 900ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.connect:hover .connect-mark img {
  filter: saturate(1) contrast(1.02);
  transform: scale(1.035);
}

.connect .profile-links {
  grid-column: 1 / -1;
  margin-top: 0;
}

.guestbook-notice {
  color: var(--muted);
  font: 500 0.9rem/1.55 var(--display);
}

.comments-status {
  display: none;
}

.js .comments-status {
  display: block;
}

.comments-fallback {
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.js [data-comments-fallback] {
  display: none;
}

.js .comments-failed [data-comments-fallback] {
  display: block;
}

.js .comments-ready [data-comments-status],
.js .comments-failed [data-comments-status] {
  display: none;
}

#isso-thread {
  --isso-primary-text-color:var(--ink);
  --isso-secondary-text-color: var(--muted);
  --isso-border: 1px solid var(--line);
  --isso-hover-color: var(--ink);
  --isso-link-hover-color: var(--accent);
  --isso-input-background-color: var(--paper);
  --isso-input-outline-color: var(--accent);
  --isso-button-background-color: var(--paper);
  --isso-button-border: 1px solid var(--line);
  --isso-button-hover-background-color: color-mix(in srgb, var(--paper) 80%, var(--ink));
  --isso-button-active-background-color: color-mix(in srgb, var(--paper) 68%, var(--ink));
  --isso-preview-background: var(--paper);
  --isso-pre-color: var(--ink);
  --isso-pre-background-color: var(--paper);
  --isso-pre-border-color: var(--line);
  --isso-comment-divider-color: var(--line);
  --isso-page-author-suffix-color: var(--ink);
  --isso-target-fade-background-color: color-mix(in srgb, var(--accent) 30%, transparent);
}

#isso-thread input,
#isso-thread textarea,
#isso-thread button {
  color: var(--ink);
  font-family: var(--display);
}

#isso-thread :focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1.5rem;
  align-items: center;
  padding: 2.25rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 500 0.78rem/1.4 var(--display);
}

.gateway main {
  display: grid;
  min-height: 100vh;
  max-width: 44rem;
  align-content: center;
}

.gateway h1 {
  margin: 0.3rem 0 1rem;
  font: 640 clamp(3rem, 8vw, 6.5rem) / 0.94 var(--display);
  letter-spacing: -0.06em;
}

.locale-gateway {
  margin-top: 2rem;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.locale-gateway li {
  border-bottom: 1px solid var(--line);
}

.locale-gateway a {
  display: block;
  padding: 1rem 0;
  font: 650 1.1rem/1.3 var(--display);
  text-decoration: none;
  transition: color 160ms ease, padding-left 160ms ease;
}

.locale-gateway a:hover {
  padding-left: 0.4rem;
  color: var(--accent);
}

.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(2.25rem);
  transition: opacity 720ms ease, transform 850ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@supports (animation-timeline: view()) {
  .aviation img,
  .aviation video {
    animation: aviation-scale linear both;
    animation-timeline: view();
    animation-range: entry 5% exit 95%;
  }

  @keyframes aviation-scale {
    0%, 100% {
      opacity: 0.32;
      transform: scale(0.94);
    }

    42%, 58% {
      opacity: 0.9;
      transform: scale(1);
    }
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #14212a;
    --paper-raised: #1a2933;
    --ink: #eff1f2;
    --muted: #b4bec4;
    --line: #4b5c67;
    --accent: #f0a075;
    --accent-ink: #14212a;
    --night: #0a1117;
    --night-ink: #eff1f2;
  }
}

html[data-theme="light"] {
  color-scheme: light;
  --paper: #f2efe8;
  --paper-raised: #fbf8f1;
  --ink: #16242d;
  --muted: #5a666b;
  --line: #c8c3b8;
  --accent: #a84f2c;
  --accent-ink: #fffaf3;
  --night: #101b23;
  --night-ink: #f0f2f3;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #14212a;
  --paper-raised: #1a2933;
  --ink: #eff1f2;
  --muted: #b4bec4;
  --line: #4b5c67;
  --accent: #f0a075;
  --accent-ink: #14212a;
  --night: #0a1117;
  --night-ink: #eff1f2;
}

@media (min-width: 761px) and (max-width: 1000px) {
  .timeline {
    grid-auto-flow: column;
    grid-auto-columns: minmax(20rem, 72vw);
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .timeline > article {
    grid-column: auto;
    scroll-snap-align: start;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto 1fr;
  }

  .site-header nav {
    justify-content: flex-end;
  }

  .preferences {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }

  .section-heading h2,
  .project-teaser h2 {
    grid-column: 1 / span 8;
  }

  .section-heading > p,
  .project-teaser > p,
  .project-teaser .text-link {
    grid-column: 9 / -1;
  }

  .capability-list li,
  .interest-list article {
    grid-column: span 12;
  }

  .flight-section {
    grid-template-columns: 1fr;
  }

  .education-chapter > div,
  .education-places {
    grid-column: 1 / -1;
  }

  .education-places {
    text-align: left;
  }

  .project-card:first-child,
  .project-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  body::before {
    background-size: 5rem 100%;
  }

  .site-header,
  main,
  .site-footer {
    width: min(calc(100% - 1.5rem), var(--measure));
  }

  .site-header {
    position: relative;
    top: 0;
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .site-header nav,
  .preferences {
    grid-column: 1;
    justify-content: flex-start;
  }

  .hero {
    padding-top: 5rem;
  }

  .hero h1,
  .page-intro h1 {
    font-size: clamp(3rem, 15.5vw, 5.4rem);
  }

  .hero-actions {
    display: grid;
  }

  .hero-portrait {
    margin-top: 3.5rem;
  }

  .portrait img {
    aspect-ratio: 4 / 5;
    object-position: center 28%;
  }

  .focus-marquee span {
    padding-inline: 1.5rem;
  }

  .editorial,
  .project-teaser,
  .page-intro {
    padding-block: 5.5rem;
  }

  .section-heading,
  .project-teaser {
    grid-template-columns: 1fr;
  }

  .section-heading h2,
  .section-heading > p,
  .project-teaser h2,
  .project-teaser > p,
  .project-teaser .text-link {
    grid-column: 1;
  }

  .capability-list,
  .interest-list,
  .timeline {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    margin-top: 2.5rem;
  }

  .capability-list li,
  .interest-list article,
  .timeline > article {
    grid-column: 1;
    min-height: auto;
  }

  .transition-accordion {
    display: grid;
  }

  .transition-accordion article:hover {
    background: color-mix(in srgb, var(--night) 88%, var(--night-ink));
  }

  .education-chapter {
    grid-template-columns: minmax(0, 1fr);
    margin-inline: -0.75rem;
    padding: 4rem 1.5rem;
  }

  .education-chapter > div,
  .education-places {
    min-width: 0;
  }

  .education-chapter h2,
  .education-places {
    overflow-wrap: anywhere;
  }

  .education-chapter h2 {
    font-size: clamp(2.15rem, 12vw, 3.2rem);
  }

  .education-places {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .flight-section {
    margin-inline: -0.75rem;
    padding: 4rem 1.5rem;
  }

  .project-card {
    grid-template-columns: 1fr;
  }

  .project-card picture {
    min-height: 12rem;
  }

  .connect {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .connect-mark {
    width: clamp(5rem, 25vw, 7rem);
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

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

  .motion-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
