:root {
  color-scheme: dark;
  --canvas: #101011;
  --surface: #1b1b32;
  --inset: #242440;
  --ink: #fbf9ff;
  --muted: #bdbbd3;
  --accent: #d3f88b;
  --accent-ink: #222a16;
  --line: #3d3c59;
  --radius: 18px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
:root[data-theme="light"] {
  color-scheme: light;
  --canvas: #f4f3f1;
  --surface: #fbfaff;
  --inset: #ebe6f7;
  --ink: #232139;
  --muted: #55516b;
  --accent: #496921;
  --accent-ink: #fff;
  --line: #d6cfe8;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 16px/1.55 var(--font);
}
a { color: inherit; text-underline-offset: .23em; }
a:hover { color: var(--accent); }
button { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
img { display: block; width: 100%; max-width: 100%; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -.052em; }
h2 { font-size: clamp(2.1rem, 5.4vw, 4.1rem); }
h3 { font-size: clamp(1.65rem, 2.9vw, 2.6rem); }
.wrap { width: min(calc(100% - 3.5rem), 1260px); margin-inline: auto; }
.eyebrow { color: var(--muted); font-size: .72rem; font-weight: 720; letter-spacing: .12em; text-transform: uppercase; }
.skip { position: fixed; z-index: 5; inset: .7rem auto auto .7rem; padding: .55rem 1rem; background: var(--surface); transform: translateY(-180%); }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-header, .home, .search-dialog, .photo-viewer {
  --surface: #1e1e21;
  --inset: #28282c;
  --ink: #f5f4f2;
  --muted: #b5b3ba;
  --accent: #bce3d6;
  --accent-ink: #192b25;
  --line: #38383e;
}
:root[data-theme="light"] :is(.site-header, .home, .search-dialog, .photo-viewer) {
  --surface: #fff;
  --inset: #eeece9;
  --ink: #222225;
  --muted: #54535b;
  --accent: #275345;
  --accent-ink: #fff;
  --line: #d9d7d3;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 3;
  padding-block: 14px;
  background: linear-gradient(var(--canvas), transparent);
  color: var(--ink);
}
.toolbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .75rem; }
.wordmark { display: flex; align-items: center; justify-self: start; gap: .55rem; text-decoration: none; font-weight: 690; font-size: .9rem; white-space: nowrap; }
.monogram { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--accent); letter-spacing: -.06em; font-weight: 800; }
.main-nav, .toolbar-actions { display: flex; align-items: center; gap: .25rem; }
.main-nav, .nav-control {
  background: color-mix(in srgb, var(--surface) 91%, transparent);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.main-nav { padding: .25rem; border-radius: 14px; }
.toolbar-actions { justify-self: end; }
.main-nav a, .nav-control { padding: .45rem .75rem; border-radius: 9px; color: var(--muted); font-size: .86rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.main-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
.main-nav a[aria-current], .main-nav a:hover, .nav-control:hover { background: var(--inset); color: var(--ink); }
.main-nav a[aria-current] { box-shadow: inset 0 -2px var(--accent); }
.nav-control { cursor: pointer; }
.nav-control [aria-hidden] { font-size: 1rem; }
#key-sounds { display: grid; min-width: 44px; min-height: 44px; place-items: center; padding: .45rem; }
#key-sounds svg { width: 1.15rem; height: 1.15rem; }
#key-sounds[aria-pressed="true"] .sound-off, #key-sounds[aria-pressed="false"] .sound-on { display: none; }
:root[data-views] body { display: flex; min-height: 100svh; flex-direction: column; }
:root[data-views] main { flex: 1; }
main > [data-view]:focus { outline: none; }
.tile { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.home {
  --radius: 24px;
  --home-gap: clamp(.6rem, 1vw, .85rem);
  padding-top: clamp(1.2rem, 4vw, 2.8rem);
  color: var(--ink);
}
.home-featured, .home-widgets {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-gap);
}
.hero-copy {
  padding: clamp(1.25rem, 2.8vw, 2.6rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: radial-gradient(ellipse at 100% 0%, #9674ef24, transparent 54%), var(--surface);
}
.availability { display: flex; align-items: center; gap: .55rem; margin-bottom: 1.1rem; }
.availability::before { content: ""; width: .5rem; height: .5rem; flex: 0 0 .5rem; border-radius: 50%; background: #57cdab; box-shadow: 0 0 0 4px #57cdab2a; }
.hero-copy h1 { font-size: clamp(2.25rem, 4.5vw, 4.25rem); letter-spacing: -.065em; }
h1 span { display: block; margin-top: .25rem; color: var(--muted); font-weight: 575; }
.intro { max-width: 35rem; margin-top: 1.15rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: clamp(.97rem, 1.55vw, 1.16rem); }
.intro p + p { margin-top: .6rem; }
.intro a { color: var(--ink); }
.hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.15rem; margin-top: 1.35rem; }
.primary { display: inline-flex; align-items: center; gap: .6rem; padding: .72rem .95rem; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font-weight: 760; text-decoration: none; }
.primary:hover { color: var(--accent-ink); filter: brightness(.94); }
.hero-links .primary { background: linear-gradient(110deg, #a8f1d7, #c5c1ff); color: #182639; }
.hero-links .primary span { display: inline-block; }
.text-link { font-size: .9rem; font-weight: 650; }
.portrait {
  --portrait-inset: clamp(.7rem, 1.8vw, 1.3rem);
  position: relative;
  aspect-ratio: 5 / 4;
  border: 0;
  border-radius: clamp(1.45rem, 4.4vw, 3.6rem);
  background: #333c46;
}
.portrait img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center 25%; }
.portrait .alternate-portrait { object-position: center 25%; }
.portrait-toggle {
  position: absolute;
  inset: auto var(--portrait-inset) var(--portrait-inset) auto;
  display: grid;
  place-items: center;
  width: clamp(3rem, 6.5vw, 4.65rem);
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid #ffffff36;
  border-radius: 50%;
  background: linear-gradient(155deg, #504055, #3d4862 52%, #38635c);
  box-shadow: 0 .2rem .8rem #15102050;
  cursor: pointer;
}
.portrait-toggle::before {
  width: 72%;
  aspect-ratio: 1;
  border: 2px solid #151823;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 30% 59%, #e184dc 0%, #9c3b9c 13%, #34234b00 35%),
    radial-gradient(ellipse at 68% 43%, #c362b5 0%, #763b95 15%, #34234b00 35%),
    radial-gradient(circle at 48% 43%, #423d62, #11162a 61%, #070912 75%);
  box-shadow: inset 0 .18rem .35rem #0009;
  content: "";
}
.portrait-toggle:hover, .portrait-toggle[aria-pressed="true"] {
  border-color: #f4d8ff;
  filter: brightness(1.18);
}
.gallery {
  --gallery-ink: #ddd9f4;
  --gallery-muted: #bcb7d4;
  display: grid;
  align-content: start;
  gap: .55rem;
  padding: clamp(.65rem, 1.3vw, 1rem);
  border-color: #3c3c56;
  background: radial-gradient(ellipse at 100% 0%, #29233f, transparent 60%), #151824;
  color: var(--gallery-ink);
}
.gallery-heading { display: flex; align-items: center; gap: .5rem; }
.gallery h2 { font-size: clamp(1.1rem, 1.55vw, 1.4rem); letter-spacing: -.035em; }
.gallery-lens {
  flex: none;
  width: 1.45rem;
  aspect-ratio: 1;
  border: 1px solid #a38ee9;
  border-radius: 8px;
  background: radial-gradient(circle, #17233d 0 24%, #baa2ff 28% 39%, transparent 43%), linear-gradient(135deg, #8d5cd5, #3665aa);
  box-shadow: inset 0 1px 0 #fff6;
}
.gallery-screen {
  overflow: hidden;
  border: 1px solid #494861;
  border-radius: .85rem;
  background: #1c1e2e;
  box-shadow: 0 .4rem 1rem #0c0c19a6;
}
.gallery-image {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1;
  background: radial-gradient(ellipse, #34314d, #171a28 78%);
}
.gallery-image::before {
  position: absolute;
  inset: 0;
  background: var(--gallery-backdrop) center / cover no-repeat;
  filter: blur(18px) brightness(.38);
  transform: scale(1.15);
  content: "";
}
.gallery-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gallery-screen figcaption {
  display: grid;
  align-content: center;
  min-height: 2.3rem;
  padding: .35rem .65rem;
  border-top: 1px solid #45445c;
  font-size: .8rem;
  font-weight: 650;
  line-height: 1.25;
}
.gallery-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: .6rem .15rem;
  border: 1px solid #41415b;
  border-radius: 12px;
  background: #222437;
}
.gallery-position { color: var(--gallery-muted); font-size: .75rem; font-variant-numeric: tabular-nums; }
.gallery-controls { display: flex; }
.gallery-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: .5rem;
  background: transparent;
  color: var(--gallery-ink);
  line-height: 1;
  cursor: pointer;
}
.gallery-controls button[data-gallery-step] { font-size: 1.5rem; }
.gallery-controls button:hover { background: #403756; }
.gallery-controls button:focus-visible { outline-color: #c1a8f2; outline-offset: -2px; }
.home-widgets { margin-top: clamp(1.15rem, 2.7vw, 2rem); }
.widgets-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  padding-block: .8rem;
  border-top: 1px solid var(--line);
}
.widgets-header h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.widget-dock { display: flex; flex-wrap: wrap; gap: .4rem; }
.widget-dock a, .widget-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 44px;
  padding: .4rem .7rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--inset);
  color: var(--ink);
  font-size: .85rem;
  font-weight: 680;
  text-decoration: none;
}
.widget-action { cursor: pointer; }
.widget-dock a:hover, .widget-action:hover { border-color: var(--accent); color: var(--accent); }
.widget-dock a {
  --dock-icon: #4065a6;
  background: linear-gradient(135deg, #8271cf1f, transparent 70%), color-mix(in srgb, var(--inset) 83%, transparent);
  backdrop-filter: blur(12px);
}
.widget-dock a:is([href="#widget-timeline"], [href="#widget-posts"]) { --dock-icon: #6f479d; }
.widget-dock a:is([href="#widget-travel"], [href="#contact"]) { --dock-icon: #954675; }
.widget-dock a:is([href="#widget-journey"], [href="#widget-audio"]) { --dock-icon: #287264; }
.widget-dock a[href="#widget-books"] { --dock-icon: #96582d; }
.widget-dock a > :is(span, svg) {
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  padding: .13rem;
  border-radius: 6px;
  background: linear-gradient(140deg, var(--dock-icon), #272543);
  color: #fff;
  box-shadow: inset 0 1px 0 #ffffff3b;
  line-height: 1;
}
.widget { padding: clamp(.95rem, 2.4vw, 1.5rem); display: grid; align-content: start; gap: 1rem; }
.widget h3 { font-size: clamp(1.1rem, 2vw, 1.45rem); }
.widget-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.widget-bar .window-indicators { order: 1; }
.widget-inbox {
  container-type: inline-size;
  align-self: start;
  padding: 0;
  border-radius: 1.4rem;
}
.inbox-icon {
  flex: none;
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.inbox-window {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  min-width: 0;
}
.inbox-sidebar {
  padding: .95rem .55rem;
  border-inline-end: 1px solid var(--line);
  background: var(--inset);
}
.inbox-sidebar .window-indicators { margin: .15rem .45rem 1rem; }
.inbox-folders { display: grid; gap: .2rem; }
.inbox-folders button {
  display: flex;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  padding: .35rem .45rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: .82rem;
  cursor: pointer;
}
.inbox-folders button[data-inbox-filter="all"] { --inbox-chip: #a5d5ff; }
.inbox-folders button[data-inbox-filter="projects"] { --inbox-chip: #ffe090; }
.inbox-folders button[data-inbox-filter="notes"] { --inbox-chip: #dfc9ff; }
.inbox-folders .inbox-icon, .inbox-message-icon {
  width: 1.65rem;
  height: 1.65rem;
  padding: .28rem;
  border-radius: 7px;
  background: var(--inbox-chip);
  color: #202840;
}
.inbox-folders button:hover { background: var(--surface); color: var(--ink); }
.inbox-folders button[aria-pressed="true"] {
  border-color: color-mix(in srgb, var(--accent) 24%, var(--line));
  background: color-mix(in srgb, var(--accent) 10%, var(--inset));
  color: var(--ink);
  font-weight: 700;
}
.inbox-content { display: flex; flex-direction: column; }
.inbox-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .25rem .75rem;
  padding: .45rem 1rem;
  border-bottom: 1px solid var(--line);
}
.inbox-header h3 { font-size: 1.18rem; letter-spacing: -.03em; }
.inbox-header p { margin-top: .15rem; color: var(--muted); font-size: .75rem; }
.inbox-projects-link {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  min-height: 44px;
  padding-inline: .7rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--inset);
  color: var(--accent);
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
}
.inbox-projects-link:hover { border-color: var(--accent); }
.inbox-projects-link .inbox-icon { width: .85rem; height: .85rem; }
.inbox-messages {
  max-block-size: min(24rem, max(14rem, 60dvh));
  margin: 0;
  padding: 0 .45rem 0 .6rem;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-color: #7788a5 transparent;
  scrollbar-width: thin;
  scrollbar-gutter: stable;
  list-style: none;
}
.inbox-messages:focus-visible { outline-offset: -2px; }
.inbox-messages li:nth-child(1) { --inbox-chip: #b9edbb; }
.inbox-messages li:nth-child(2) { --inbox-chip: #a5d5ff; }
.inbox-messages li:nth-child(3) { --inbox-chip: #ffe090; }
.inbox-messages li:nth-child(4) { --inbox-chip: #dfc9ff; }
.inbox-messages li:nth-child(5) { --inbox-chip: #ffc6d7; }
.inbox-messages li:not([hidden]) ~ li:not([hidden]) { border-top: 1px solid var(--line); }
.inbox-message {
  position: relative;
  display: grid;
  gap: .12rem;
  padding: .55rem .45rem .55rem 2.2rem;
  text-decoration: none;
}
.inbox-message-icon {
  position: absolute;
  inset-block-start: .55rem;
  inset-inline-start: .15rem;
}
a.inbox-message { padding-inline-end: 1.75rem; }
a.inbox-message:hover { background: var(--inset); color: var(--ink); }
.inbox-row-icon {
  position: absolute;
  inset: 50% .35rem auto auto;
  transform: translateY(-50%);
  color: var(--muted);
}
.inbox-message:hover .inbox-row-icon, .inbox-message:focus-visible .inbox-row-icon { color: var(--accent); }
.inbox-message-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0 .5rem;
  color: var(--muted);
  font-size: .7rem;
}
.inbox-message h4 { margin: 0; color: var(--ink); font-size: .875rem; line-height: 1.25; }
.inbox-message p { color: var(--muted); font-size: .78rem; line-height: 1.35; }
.inbox-message:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
@media (prefers-reduced-motion: no-preference) {
  .inbox-folders button, a.inbox-message { transition: background 160ms ease; }
  .inbox-icon:is(.inbox-message-icon, .inbox-row-icon), .inbox-folders .inbox-icon { transition: translate 160ms ease; }
  .inbox-folders button:is(:hover, :focus-visible) .inbox-icon,
  a.inbox-message:is(:hover, :focus-visible) .inbox-message-icon { translate: 0 -2px; }
  a.inbox-message:is(:hover, :focus-visible) .inbox-row-icon { translate: 2px 0; }
}
@container (max-width: 420px) {
  .inbox-window { grid-template-columns: minmax(0, 1fr); }
  .inbox-sidebar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .2rem .6rem;
    padding: .25rem .7rem;
    border-inline-end: 0;
    border-bottom: 1px solid var(--line);
  }
  .inbox-sidebar .window-indicators { gap: 4px; margin: 0; }
  .inbox-sidebar .window-indicators span { width: 7px; height: 7px; }
  .inbox-folders { display: flex; flex-wrap: wrap; }
}
.widget-timeline {
  --timeline-inset: 1.125rem;
  --timeline-ink: #f3f2f4;
  --timeline-muted: #c4c2c9;
  --timeline-intern: #f18560;
  --timeline-trainee: #d86b45;
  --timeline-associate: #bf5635;
  container-type: inline-size;
  grid-template-columns: minmax(0, 1fr);
  align-content: stretch;
  grid-template-rows: auto 1fr;
  gap: 0;
  padding: 0;
  border-color: #38383b;
  border-radius: 1.4rem;
  background: #1c1c1e;
  color: var(--timeline-ink);
  color-scheme: dark;
}
.timeline-header {
  display: grid;
  grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
  align-items: center;
  gap: clamp(.3rem, 1.2cqi, .75rem);
  min-height: clamp(3.25rem, 9cqi, 4rem);
  padding-inline: clamp(.55rem, 2.3cqi, 1.1rem);
  border-bottom: 1px solid #48454d;
  background: linear-gradient(115deg, #2a272f, #27272a 65%);
}
.timeline-header .window-indicators { gap: clamp(.23rem, .9cqi, .44rem); }
.timeline-header .window-indicators span {
  width: clamp(.53rem, 2.2cqi, .8rem);
  height: auto;
  aspect-ratio: 1;
  box-shadow: inset 0 0 0 1px #0002, inset 0 1px #fff4;
}
.timeline-toolbar-icons, .timeline-history, .timeline-toolbar-actions {
  display: flex;
  align-items: center;
  gap: clamp(.25rem, 1.4cqi, .75rem);
}
.timeline-toolbar-actions { justify-self: end; }
.timeline-header svg {
  flex: none;
  width: clamp(1rem, 3.6cqi, 1.45rem);
  aspect-ratio: 1;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.timeline-history { color: #9b98a3; }
.timeline-history svg:last-child { color: #d5d1df; }
.timeline-expand {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: .65rem;
  background: transparent;
  color: inherit;
}
.timeline-expand:not(:disabled) { cursor: pointer; }
.timeline-expand:not(:disabled):is(:hover, [aria-pressed="true"]) { border-color: #655879; background: #393244; }
.timeline-expand:focus-visible { outline: 2px solid #ded0ff; outline-offset: -2px; }
.timeline-canvas {
  position: relative;
  display: grid;
  align-content: center;
  gap: .95rem;
  padding: .75rem var(--timeline-inset) 1rem;
  background-image: radial-gradient(circle, #3c3c41 1px, transparent 1.4px);
  background-size: 20px 20px;
}
.timeline-canvas::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, transparent 35%, #bce5b4 35% 53%, transparent 53% 89%, #f5d986 89%);
  content: "";
}
.timeline-canvas > h3 { letter-spacing: -.025em; }
.widget-timeline:fullscreen { overflow: auto; border-radius: 0; animation: none; }
.widget-timeline:fullscreen .timeline-canvas { width: min(100%, 52rem); justify-self: center; align-content: safe center; }
.timeline-label {
  margin: 0 0 .4rem;
  color: var(--timeline-muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.timeline-roles, .timeline-education ul {
  display: grid;
  gap: .4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.timeline-roles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }
.timeline-education ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.timeline-card {
  display: grid;
  align-content: start;
  gap: .2rem;
  height: 100%;
  padding: .45rem .55rem;
  border: 1px solid #444148;
  border-radius: .9rem;
  background: linear-gradient(145deg, #302d35, #27272a 68%);
  box-shadow: 0 .2rem .55rem #0b091529, inset 0 1px 0 #ffffff0b;
  color: var(--timeline-ink);
  font-size: .75rem;
  line-height: 1.3;
  text-decoration: none;
}
.timeline-card:hover { background: #36323d; color: var(--timeline-ink); }
.timeline-card:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
.timeline-card strong { font-size: .85rem; line-height: 1.2; }
.timeline-card time { white-space: nowrap; }
.timeline-card > span { color: var(--timeline-muted); }
.timeline-roles .timeline-card {
  align-content: space-between;
  gap: .55rem;
  min-height: clamp(6.5rem, 15cqi, 8rem);
  padding: clamp(.65rem, 2cqi, 1rem);
  border-top: 3px solid var(--timeline-intern);
  border-radius: 1.05rem;
  font-size: clamp(.8rem, 1.85cqi, 1rem);
}
.timeline-roles .timeline-card strong {
  font-size: clamp(1rem, 2.55cqi, 1.25rem);
  overflow-wrap: anywhere;
}
.timeline-roles li:nth-child(2) .timeline-card { border-top-color: var(--timeline-trainee); }
.timeline-roles li:nth-child(3) .timeline-card { border-top-color: var(--timeline-associate); }
.timeline-duration {
  display: grid;
  grid-template-columns: 6fr 15fr 20fr;
  gap: .25rem;
  height: .28rem;
  margin-top: .8rem;
}
.timeline-duration span { border-radius: 999px; background: var(--timeline-intern); }
.timeline-duration span:nth-child(2) { background: var(--timeline-trainee); }
.timeline-duration span:nth-child(3) { background: var(--timeline-associate); }
.timeline-axis { position: relative; min-height: 2rem; margin-top: .85rem; }
.timeline-axis svg { display: block; width: 100%; height: .5rem; color: #d5d0db; }
.timeline-axis span {
  position: absolute;
  top: .85rem;
  left: calc(100% * var(--month) / 41);
  transform: translateX(-50%);
  font-size: .7rem;
  font-weight: 700;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.timeline-axis span::before {
  position: absolute;
  top: -.7rem;
  left: 50%;
  width: .25rem;
  height: .25rem;
  transform: translateX(-50%);
  border-radius: 50%;
  background: currentColor;
  content: "";
}
.timeline-axis span:first-of-type,
.timeline-axis span:first-of-type::before { left: 0; transform: none; }
@container (max-width: 25rem) {
  .timeline-roles { grid-template-columns: minmax(0, 1fr); }
  .timeline-roles .timeline-card { min-height: 5.75rem; }
}
.home-widgets :is(.widget-camera, .widget-travel) {
  --photo-inset: clamp(.85rem, 1.8vw, 1.5rem);
  position: relative;
  min-height: clamp(16rem, 72vw, 22rem);
  gap: 0;
  border-radius: clamp(1.4rem, 3.2vw, 2.75rem);
}
.widget-camera {
  grid-template-rows: auto 1fr auto;
  align-content: stretch;
  padding: var(--photo-inset);
  background: #1b1b1d;
  border-color: #333336;
  color: #f5f4f6;
}
.widget-camera h3 {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: #bcbac2;
  letter-spacing: -.02em;
}
.booth-icon {
  position: relative;
  display: block;
  flex: none;
  width: 2rem;
  aspect-ratio: 1;
  border-radius: 24%;
  background: linear-gradient(#ff5148, #e61024);
}
.booth-hero {
  align-self: center;
  justify-self: center;
  width: 44%;
  max-width: 18rem;
  box-shadow: 0 1rem 2.8rem #0004;
}
.booth-icon::before, .booth-icon::after {
  position: absolute;
  width: 46%;
  height: 49%;
  content: "";
}
.booth-icon::before {
  inset: 30% auto auto 15%;
  border: solid #fff;
  border-width: .18em;
  font-size: clamp(.6rem, 1.55vw, 1.9rem);
  transform: rotate(-14deg);
}
.booth-icon::after {
  inset: 20% auto auto 34%;
  background:
    radial-gradient(circle at 50% 36%, #e91123 0 21%, transparent 22%),
    radial-gradient(ellipse at 50% 104%, #e91123 0 39%, transparent 40%),
    #fff;
}
.booth-icon > span {
  position: absolute;
  z-index: 1;
  inset: auto 7% 7% auto;
  width: 40%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 39%, #fff9 0 8%, transparent 9%),
    radial-gradient(circle at 48% 48%, #8ba5ef 0 13%, #4041a9 19%, #0b6054 27%, #152329 31%, #15151a 32%, #1b1b21 43%, #55555b 45%, #25252a 51%, #151518 70%);
  box-shadow: .12em .15em #990a18;
}
.booth-launch {
  display: flex;
  justify-self: start;
  align-items: center;
  gap: clamp(.4rem, 1.5vw, 1rem);
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: inherit;
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}
.booth-launch span:first-child {
  display: grid;
  place-items: center;
  width: clamp(2.75rem, 5.2vw, 3.6rem);
  height: clamp(2.75rem, 5.2vw, 3.6rem);
  padding: 0;
  border: 0;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
}
.booth-launch span:first-child { background: #f5f4f6; color: #151518; }
.booth-launch span:last-child {
  padding: .55rem clamp(.7rem, 2vw, 1.15rem);
  border-radius: 999px;
  background: #252529;
  font-size: clamp(.9rem, 1.9vw, 1.35rem);
}
.booth-launch:hover span:first-child { background: #ffd8d4; }
.widget-travel { padding: 0; border: 0; background: #203332; color: #fff; }
.widget-travel figure, .widget-travel figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.widget-travel figure img { object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .widget-travel .travel-arriving { animation: travel-arrive 180ms ease-out; }
  @keyframes travel-arrive { from { opacity: .65; } }
}
.travel-library, .travel-footer, #travel-details {
  position: absolute;
  z-index: 1;
}
.travel-library {
  inset: 0;
  z-index: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.travel-library:focus-visible { outline-color: white; outline-offset: -5px; }
.travel-footer, #travel-details {
  border: 1px solid #ffffff38;
  border-radius: 1rem;
  background: #121b25a6;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.travel-footer {
  inset-inline: var(--photo-inset);
  bottom: var(--photo-inset);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .25rem;
  padding-inline: .65rem .2rem;
  pointer-events: none;
}
.travel-location { font-size: .86rem; font-weight: 700; line-height: 1.15; }
.travel-position { display: block; color: #fffe; font-size: .7rem; font-variant-numeric: tabular-nums; }
.travel-actions { display: flex; flex: none; pointer-events: auto; }
.travel-actions button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: .65rem;
  background: transparent;
  color: inherit;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}
.travel-actions button:hover, .travel-info[aria-expanded="true"] { background: #ffffff26; }
#travel-details {
  inset: auto var(--photo-inset) calc(var(--photo-inset) + 3.35rem);
  padding: .55rem .65rem;
  font-size: .83rem;
}
.widget-audio {
  --sound-surface: #151e20;
  --sound-ink: #f7fcfa;
  --sound-muted: #bfceca;
  --sound-accent: #94eeae;
  grid-template-rows: auto auto 1fr auto;
  gap: 0;
  padding: 0;
  background: var(--sound-surface);
  color: var(--sound-ink);
}
.home-widgets :is(.widget-camera, .widget-travel) button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 3px #18222c; }
.portrait-toggle:focus-visible,
.widget-audio :is(a, button):focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
.sound-stage {
  display: grid;
  gap: 1rem;
  padding: clamp(.9rem, 2.4vw, 1.5rem);
  background: linear-gradient(145deg, #184c48, #20393c 62%, var(--sound-surface));
}
.sound-stage .widget-bar h3 span { color: var(--sound-accent); }
.sound-feature {
  display: grid;
  grid-template-columns: clamp(4rem, 10vw, 8rem) minmax(0, 1fr);
  align-items: center;
  gap: clamp(.65rem, 2vw, 1.15rem);
}
.sound-feature h4 { margin: .2rem 0 .35rem; font-size: clamp(1.2rem, 2.5vw, 2rem); letter-spacing: -.035em; line-height: 1.08; }
.sound-feature p { color: var(--sound-muted); font-size: .82rem; }
.sound-art {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  background: #273736;
}
.sound-feature .sound-art { box-shadow: 0 .65rem 1.3rem #0004; }
.sound-listen {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  margin-top: .55rem;
  padding: .35rem .7rem;
  border-radius: 9px;
  background: var(--sound-accent);
  color: #10261a;
  font-size: .82rem;
  font-weight: 750;
  text-decoration: none;
}
.sound-listen:hover { background: #c6f9d5; color: #10261a; }
.widget-audio .sound-listen:focus-visible { outline-color: #10261a; }
.sound-columns {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: .6rem;
  margin-inline: .65rem;
  padding: .25rem .5rem;
  border-bottom: 1px solid #fff2;
  color: var(--sound-muted);
  font-size: .74rem;
}
.sound-tracks { margin: 0; padding: .25rem .65rem .65rem; list-style: none; }
.sound-row {
  display: grid;
  grid-template-columns: 1.25rem 2.3rem minmax(0, 1fr);
  align-items: center;
  gap: .6rem;
  width: 100%;
  min-height: 48px;
  padding: .4rem .5rem;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--sound-ink);
  text-align: start;
  text-decoration: none;
  cursor: pointer;
}
.sound-row:hover { background: #fff1; color: var(--sound-ink); }
.sound-row[aria-pressed="true"] { border-color: #94eeae76; background: #94eeae1a; }
.sound-row[aria-pressed="true"] strong { color: var(--sound-accent); }
.sound-number, .sound-track small { color: var(--sound-muted); font-size: .78rem; }
.sound-track strong, .sound-track small { display: block; overflow-wrap: anywhere; }
.sound-track strong { font-size: .91rem; }
.sound-row .sound-art, .sound-footer .sound-art { border-radius: 6px; }
.sound-footer {
  display: grid;
  grid-template-columns: 2.3rem minmax(0, 1fr) auto;
  align-items: center;
  gap: .55rem;
  padding: .55rem .75rem;
  border-top: 1px solid #fff2;
  background: #101718;
}
.sound-current { color: var(--sound-ink); font-size: .82rem; overflow-wrap: anywhere; text-decoration: none; }
.sound-current:hover { color: var(--sound-accent); text-decoration: underline; }
.sound-controls { display: flex; gap: .25rem; }
.sound-controls button {
  width: 44px;
  height: 44px;
  border: 1px solid #fff3;
  border-radius: 9px;
  background: #ffffff10;
  color: var(--sound-ink);
  cursor: pointer;
}
.sound-controls button:hover { background: #ffffff24; }
.widget-journey {
  --journey-font: ui-rounded, "Avenir Next", var(--font);
  gap: .6rem;
}
.journey-map {
  position: relative;
  isolation: isolate;
  min-height: 12.5rem;
  overflow: hidden;
  border: 1px solid #496764;
  border-radius: 14px;
  background:
    repeating-linear-gradient(31deg, transparent 0 27px, #74968c55 28px 31px, transparent 32px 47px),
    repeating-linear-gradient(116deg, transparent 0 23px, #87a78e44 24px 26px, transparent 27px 51px),
    radial-gradient(ellipse at 92% 5%, #366555 0 23%, transparent 24%),
    radial-gradient(ellipse at 5% 100%, #365550 0 26%, transparent 27%),
    #263b45;
}
.journey-river {
  position: absolute;
  inset: -22% -9% -25% 66%;
  border: 7px solid #447c938f;
  border-radius: 48% 52% 45% 55%;
  background: #28566d;
  transform: rotate(24deg);
}
.journey-route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #b9efa0;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 2 6;
  filter: drop-shadow(0 0 4px #9ce88a80);
}
.journey-stop, .journey-avatar { position: absolute; }
.journey-stop {
  --pin-color: #ffcb8c;
  left: var(--stop-x);
  top: var(--stop-y);
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-family: var(--journey-font);
  line-height: 1.16;
  cursor: pointer;
  translate: -50% -9px;
}
.journey-stop:nth-child(2) { --pin-color: #a3e7f5; }
.journey-stop:disabled { cursor: default; }
.journey-pin {
  position: absolute;
  top: -15px;
  left: 50%;
  width: 24px;
  height: 26px;
  fill: var(--pin-color);
  stroke: #19323a;
  stroke-width: 1.5;
  filter: drop-shadow(0 2px 3px #061b24b3);
  translate: -50% 0;
}
.journey-pin circle { fill: #19323a; }
.journey-stop-label {
  display: grid;
  gap: .1rem;
  margin-top: .85rem;
  padding: .23rem .46rem;
  border: 1px solid color-mix(in srgb, var(--pin-color) 55%, #172d31);
  border-radius: 7px;
  background: #142930;
  font-size: .84rem;
}
.journey-stop-label strong { font-weight: 760; }
.journey-stop-label small { color: var(--pin-color); font-size: .67rem; font-weight: 650; }
.journey-stop:not(:disabled):is(:hover, [aria-pressed="true"]) .journey-stop-label { background: var(--pin-color); color: #172d31; }
.journey-stop:not(:disabled):is(:hover, [aria-pressed="true"]) small { color: inherit; }
.journey-stop:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.journey-avatar {
  left: 24%;
  top: 71%;
  width: 2.3rem;
  pointer-events: none;
  translate: -50% calc(-100% - 21px);
}
.journey-avatar img {
  aspect-ratio: 1;
  height: auto;
  border: 2px solid #c8eead;
  border-radius: 50%;
  background: #263b45;
  object-fit: cover;
  box-shadow: 0 .15rem .65rem #9ce88a75;
}
.journey-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .35rem .65rem;
}
.journey-stop-info { flex: 1 1 6rem; font-family: var(--journey-font); line-height: 1.3; }
.journey-stop-info :is(strong, small) { display: block; }
.journey-stop-info strong { font-size: 1rem; font-weight: 760; }
.journey-stop-info small { margin-top: .2rem; color: var(--muted); font-size: .78rem; }
.journey-playback { font-size: .76rem; }
@media (prefers-reduced-motion: no-preference) {
  .journey-avatar[data-playing] img { animation: journey-hop 690ms ease-in-out infinite; }
  @keyframes journey-hop { 50% { translate: 0 -4px; } }
}
.widget-people {
  --surface: #1a1a1c;
  --inset: #252529;
  --ink: #f3f3f5;
  --muted: #a0a0aa;
  --accent: #409dff;
  position: relative;
  align-content: center;
  justify-items: center;
  gap: .65rem;
  padding: 1.35rem clamp(.75rem, 2vw, 1.5rem);
  border: 0;
  border-radius: 2rem;
  color: var(--ink);
  text-align: center;
}
:root[data-theme="light"] .widget-people {
  --surface: #fff;
  --inset: #eeece9;
  --ink: #222225;
  --muted: #54535b;
  --accent: #065db5;
}
.people-avatar { width: 3.5rem; height: 3.5rem; overflow: hidden; border-radius: 50%; }
.people-avatar img { height: 100%; object-fit: cover; object-position: center 23%; transform: scale(1.55); transform-origin: center 22%; }
.people-identity h3 { font-size: 1.2rem; font-weight: 650; letter-spacing: -.03em; }
.people-identity p { margin-top: .18rem; color: var(--muted); font-size: .8rem; line-height: 1.3; }
.people-links, .people-email { width: 100%; max-width: 16.625rem; }
.people-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .375rem; }
.people-links a {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: .18rem;
  min-height: 3rem;
  border-radius: .75rem;
  background: var(--inset);
  color: var(--accent);
  font-size: .7rem;
  line-height: 1.15;
  text-decoration: none;
}
.people-links svg { width: 1.25rem; height: 1.25rem; }
.people-email {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 2.875rem;
  padding-inline: .75rem .35rem;
  border-radius: .75rem;
  background: var(--inset);
  text-align: left;
}
.people-email p { color: var(--muted); font-size: .7rem; line-height: 1.25; }
.people-email a { display: block; color: var(--accent); font-size: .875rem; line-height: 1.25; text-decoration: none; overflow-wrap: anywhere; }
.people-email a:hover { text-decoration: underline; }
.people-email button {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: .5rem;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
}
.people-email button svg { width: 1rem; height: 1rem; }
.people-links a:hover, .people-email button:hover { background: color-mix(in srgb, var(--accent) 12%, var(--inset)); }
.people-feedback { position: absolute; inset: auto .75rem .75rem; color: var(--muted); font-size: .72rem; line-height: 1.25; }
.widget-books {
  container-type: inline-size;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: .7rem clamp(.85rem, 2.2vw, 1.65rem);
  padding: clamp(1.05rem, 2.3vw, 1.65rem);
  border-radius: clamp(1.4rem, 3vw, 2.5rem);
}
.books-label {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--muted);
  font-weight: 700;
}
.books-label span {
  display: grid;
  place-items: center;
  width: 2rem;
  aspect-ratio: 1;
  border-radius: .55rem;
  background: #ff8618;
  line-height: 1;
}
.widget-books h3 { font-size: clamp(1.65rem, 2.8vw, 2.55rem); }
.books-intro p {
  max-width: 25ch;
  margin-top: .4rem;
  color: var(--muted);
  font-size: clamp(.9rem, 1.5vw, 1.1rem);
}
.books-intro .book-list { margin-top: .65rem; border: 0; }
.book-list summary {
  display: grid;
  place-items: center;
  gap: 0;
  width: 2.85rem;
  aspect-ratio: 1;
  padding: 0;
  border: 2px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-size: 1.4rem;
  line-height: 1;
  list-style: none;
  cursor: pointer;
}
.book-list summary::-webkit-details-marker { display: none; }
.book-list > summary::after, .book-list[open] > summary::after { content: none; }
.book-list summary:hover { color: var(--ink); border-color: var(--muted); }
.book-list[open] summary span[aria-hidden] { transform: rotate(90deg); }
.book-list ul { margin: .75rem 0 0; padding-inline-start: 1.15rem; color: var(--muted); font-size: .9rem; }
.book-list li + li { margin-top: .3rem; }
.book-covers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: clamp(.42rem, 1.55vw, 1.25rem);
  margin: 0;
  padding: 0 .5rem .55rem;
  border-bottom: .5rem solid var(--line);
  border-radius: 0 0 .35rem .35rem;
  list-style: none;
}
.book-covers a {
  display: flex;
  justify-content: center;
  aspect-ratio: 5 / 7;
}
.book-covers img {
  width: auto;
  height: 100%;
  border-radius: .25rem .6rem .6rem .25rem;
  box-shadow: 0 .4rem .85rem #0004;
}
.widget-posts {
  --posts-edge: #608fca;
  --posts-blue: #9dccff;
  --posts-hover: #213247;
  gap: .65rem;
  border-color: var(--posts-edge);
}
:root[data-theme="light"] .widget-posts {
  --posts-edge: #4976ad;
  --posts-blue: #194e89;
  --posts-hover: #e6f0ff;
}
.posts-feed { list-style: none; margin: 0; padding: 0; }
.posts-feed li { border-top: 1px solid var(--line); }
.posts-feed a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .65rem;
  min-height: 44px;
  padding: .5rem .25rem;
  border-radius: 6px;
  color: var(--ink);
  font-size: .88rem;
  font-weight: 620;
  line-height: 1.35;
  text-decoration: none;
}
.posts-feed a:hover { background: var(--posts-hover); }
.posts-feed a:hover > :first-child { text-decoration: underline; }
.posts-feed a > :last-child { color: var(--posts-blue); font-size: .77rem; white-space: nowrap; }
.widget-posts a:focus-visible { outline-color: var(--posts-blue); outline-offset: -2px; }
.photo-viewer {
  width: min(42rem, calc(100% - 1.5rem));
  max-height: calc(100% - 1.5rem);
  padding: .8rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  color: var(--ink);
}
.photo-viewer::backdrop { background: #0a0b16c9; }
.photo-viewer header, .photo-viewer footer { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.photo-viewer h2 { font-size: 1.3rem; }
.photo-viewer img { width: 100%; height: min(59dvh, 34rem); object-fit: contain; margin-block: .6rem; background: var(--canvas); border-radius: 9px; }
.photo-viewer footer p { text-align: center; font-size: .87rem; }
.photo-viewer button { min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: var(--inset); cursor: pointer; }
.booth-preview {
  display: grid;
  place-items: center;
  min-height: min(46dvh, 19rem);
  margin-block: .6rem;
  overflow: hidden;
  border-radius: 9px;
  background: var(--canvas);
}
.booth-preview :is(video, canvas) {
  display: block;
  width: 100%;
  max-height: 59dvh;
  object-fit: contain;
}
.booth-preview video { transform: scaleX(-1); }
.booth-status { padding: 1rem; text-align: center; }
.photo-viewer .booth-actions { justify-content: center; flex-wrap: wrap; }
.booth-actions :is(button, a) { padding: .55rem .8rem; }
.booth-actions a {
  border-radius: 9px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 680;
  text-decoration: none;
}
@media (prefers-reduced-motion: no-preference) {
  .widget-dock a, .book-covers a, .hero-links .primary { transition: transform 180ms ease; }
  .widget-dock a:hover, .book-covers a:hover, .hero-links .primary:hover { transform: translateY(-2px); }
  .hero-links .primary span, .widget-dock a > :is(span, svg) { transition: transform 180ms ease; }
  .hero-links .primary:hover span { transform: translate(2px, 2px); }
  .widget-dock a:is(:hover, :focus-visible) > :is(span, svg) { transform: rotate(-8deg) scale(1.08); }
  .gallery-controls button { transition: background-color 160ms ease, scale 160ms ease; }
  .gallery-controls button:active { scale: .92; }
  .gallery-image img { animation: gallery-photo-in 260ms ease-out; }
  @keyframes gallery-photo-in { from { opacity: .72; } }
  @supports (animation-timeline: view()) {
    .home-widgets > .widget {
      animation: home-card-in linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 65%;
    }
    @keyframes home-card-in { from { opacity: .84; translate: 0 8px; } }
  }
}
@media (min-width: 760px) {
  .home-featured {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    grid-template-areas: "intro portrait";
  }
  .hero-copy { grid-area: intro; }
  .portrait {
    grid-area: portrait;
    min-height: clamp(18rem, 31vw, 24rem);
    aspect-ratio: auto;
  }
  .gallery { grid-area: gallery; }
  .home-widgets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "dock dock"
      "inbox timeline"
      "booth travel"
      "journey people"
      "books sound"
      "posts sound"
      "gallery sound";
  }
  .widgets-header { grid-area: dock; }
  .widget-inbox { grid-area: inbox; }
  .widget-timeline { grid-area: timeline; }
  .widget-camera { grid-area: booth; }
  .widget-travel { grid-area: travel; }
  .widget-journey { grid-area: journey; }
  .widget-people { grid-area: people; }
  .widget-books { grid-area: books; }
  .widget-audio { grid-area: sound; }
  #widget-posts { grid-area: posts; }
  .home-widgets :is(.widget-camera, .widget-travel) {
    min-height: clamp(15.5rem, 30vw, 21rem);
  }
}
@media (min-width: 1040px) {
  .hero-copy { padding-block: clamp(1.4rem, 2vw, 1.9rem); }
  .hero-copy h1 { font-size: clamp(2.2rem, 3.85vw, 3.6rem); }
  .home-widgets {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-areas:
      "dock dock dock dock dock dock dock dock dock dock dock dock"
      "inbox inbox inbox inbox inbox timeline timeline timeline timeline timeline timeline timeline"
      "booth booth booth travel travel travel journey journey journey people people people"
      "books books books books books books books sound sound sound sound sound"
      "posts posts posts gallery gallery gallery gallery sound sound sound sound sound";
  }
  .home-widgets :is(.widget-camera, .widget-travel) {
    min-height: clamp(15.5rem, 24vw, 21rem);
  }
  .widget-books {
    grid-template-columns: minmax(0, .72fr) minmax(0, 1fr);
    align-items: end;
  }
}
.about, .work, .contact { margin-top: clamp(3.3rem, 8vw, 6.5rem); }
:root[data-views] :is(.about, .work, .contact) { margin-top: clamp(1.2rem, 4vw, 2.8rem); }
.section-intro { display: flex; justify-content: space-between; align-items: end; gap: .8rem; margin-bottom: 1.1rem; }
.section-intro > p { color: var(--muted); max-width: 23rem; }
.about {
  --surface: #1b1b1d;
  --inset: #29292c;
  --sidebar: #242427;
  --paper: #171719;
  --ink: #f6f3ee;
  --muted: #bbb9b1;
  --accent: #bce3d6;
  --line: #383936;
  color: var(--ink);
}
:root[data-theme="light"] .about {
  --surface: #fffcf7;
  --inset: #efeee8;
  --sidebar: #f2efe9;
  --paper: #fffcf7;
  --ink: #252724;
  --muted: #575851;
  --accent: #255849;
  --line: #dbd9d1;
}
.reader { overflow: clip; border-radius: 17px; box-shadow: 0 22px 65px #0006; }
.reader-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: .6rem 1rem;
  min-height: 49px;
  padding: .45rem clamp(.75rem, 2vw, 1.25rem);
  border-bottom: 1px solid var(--line);
  background: var(--inset);
}
.reader-header h2 { font-size: .96rem; letter-spacing: -.01em; }
.reader-header .text-link { color: var(--accent); justify-self: end; font-size: .78rem; }
.window-indicators { display: flex; gap: 6px; }
.window-indicators span { width: 10px; height: 10px; border-radius: 50%; background: #ff625a; }
.window-indicators span:nth-child(2) { background: #efb74e; }
.window-indicators span:nth-child(3) { background: #50be70; }
.reader-layout { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 2.85fr); }
.reader-profile { display: none; }
.reader-index {
  position: sticky;
  top: 92px;
  align-self: start;
  padding: 1.5rem .85rem;
}
.reader-index > p { padding-inline: .65rem; }
.reader-index nav { display: grid; gap: .25rem; margin-top: .6rem; }
.reader-index a {
  display: grid;
  gap: .15rem;
  padding: .65rem .75rem;
  border: 1px solid transparent;
  border-radius: 9px;
  text-decoration: none;
}
.reader-index a:hover { background: var(--inset); }
.reader-index a[aria-current] {
  background: var(--inset);
  border-color: var(--line);
  box-shadow: inset 3px 0 var(--accent);
  color: var(--ink);
}
.reader-index small { color: var(--muted); font-size: .77rem; }
.reader-body {
  --reader-gutter: clamp(1.25rem, 5vw, 3.6rem);
  border-left: 1px solid var(--line);
  padding: var(--reader-gutter);
  background: var(--paper);
}
.reader-body:focus-visible { outline-offset: -3px; }
.reader-body > section { max-width: 42rem; margin-inline: auto; }
.reader-body p { margin-top: .75rem; color: var(--muted); }
.reader-body a { color: var(--accent); }
.reader-body strong, .reader-body .profile-summary { color: var(--ink); }
.reader-body section:not([hidden]) + section:not([hidden]) { margin-top: 1.8rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.profile-lead { display: flex; align-items: center; gap: clamp(.8rem, 3vw, 1.4rem); margin-bottom: 1rem; }
.profile-lead h3 { font-size: clamp(2rem, 4.8vw, 4.25rem); }
.profile-lead img { width: clamp(64px, 8vw, 100px); height: auto; aspect-ratio: 1; border-radius: 12px; object-fit: cover; object-position: 50% 24%; }
.profile-lead p { margin: 0 0 .3rem; }
.profile-summary { font-size: clamp(1.03rem, 1.8vw, 1.3rem); line-height: 1.55; }
@media (min-width: 960px) {
  .reader-layout {
    grid-template-columns: minmax(134px, .7fr) minmax(178px, 1fr) minmax(0, 3fr);
    height: clamp(430px, calc(100svh - 164px), 740px);
  }
  .reader-profile {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    min-height: 0;
    overflow: auto;
    padding: 1.35rem 1rem;
    border-right: 1px solid var(--line);
    background: var(--sidebar);
  }
  .reader-profile strong { display: block; margin-block: .6rem .25rem; }
  .reader-profile p:not(.eyebrow) { color: var(--muted); font-size: .82rem; }
  .reader-availability { border-top: 1px solid var(--line); padding-top: .85rem; }
  .reader-availability .text-link { display: inline-block; margin-top: .55rem; color: var(--accent); }
  .reader-index { position: static; align-self: stretch; min-height: 0; overflow: auto; }
  .reader-body { min-height: 0; overflow: auto; scroll-padding-block-start: 1.5rem; }
}
.work {
  --surface: #1b1c20;
  --inset: #25272d;
  --muted: #b8bbc5;
  --accent: #bce3d6;
  --line: #3b3d47;
}
:root[data-theme="light"] .work {
  --surface: #fff;
  --inset: #eeedf3;
  --muted: #545665;
  --accent: #245e52;
  --line: #d9d8e0;
}
.projects-heading { align-items: end; border-bottom: 1px solid var(--line); padding-bottom: 1.2rem; }
.projects-heading p { margin-top: .45rem; color: var(--muted); }
.work-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  padding: .25rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.work-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: .75rem;
  border-radius: 8px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
}
.work-nav a:is(:hover, [aria-current]) { background: var(--inset); color: var(--ink); }
.work-nav a[aria-current] { box-shadow: inset 0 -2px var(--accent); }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.project-card, .study { min-width: 0; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.project-card { --stage: #24324e; --glow: #42698a; --tint: #b7eafa; overflow: clip; }
.project-ai { --stage: #40204d; --glow: #7d397c; --tint: #ffd0ee; }
.project-venture { --stage: #3c2a2b; --glow: #815347; --tint: #ffdbc5; }
.project-plants { --stage: #153938; --glow: #367461; --tint: #c3f3d7; }
.project-audio { --stage: #292242; --glow: #54438b; --tint: #e1d4ff; }
.project-card:target, .study:target { border-color: var(--accent); }
.project-cover {
  display: grid;
  align-content: space-between;
  gap: 1.1rem;
  min-height: 295px;
  padding: clamp(1rem, 2.6vw, 1.9rem);
  color: #fff;
  background: radial-gradient(ellipse at 88% 100%, var(--glow), transparent 74%), var(--stage);
}
.project-cover .eyebrow { color: var(--tint); }
.project-cover h3 { margin-block: .45rem .5rem; }
.project-cover p:not(.eyebrow) { color: #fbf8ff; font-size: .92rem; }
.project-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 2.3;
  object-fit: cover;
  object-position: top;
  border: 1px solid #ffffff25;
  border-radius: 11px;
  box-shadow: 0 12px 26px #09081355;
}
.project-feature .project-cover img { aspect-ratio: 2.15; }
.project-venture .project-cover img { object-position: center 36%; }
.project-detail {
  position: relative;
  margin: 0;
  border: 0;
  background: radial-gradient(ellipse at 94% 0, color-mix(in srgb, var(--glow) 55%, var(--surface)), transparent 74%), var(--surface);
}
.project-detail summary {
  align-items: center;
  padding: .75rem 1rem;
  color: var(--ink);
  background: var(--surface);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  box-shadow: inset 0 1px #ffffff18;
  backdrop-filter: blur(16px) saturate(135%);
}
.project-detail summary:focus-visible, .study summary:focus-visible { outline-offset: -3px; }
.project-detail > summary::after, .project-detail[open] > summary::after { content: none; }
.project-summary-label { color: var(--muted); font-weight: 580; }
.project-open {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .6rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--accent);
  background: var(--inset);
}
.project-open::after { content: '+'; }
.project-detail[open] .project-open::after { content: '−'; }
.project-detail summary:hover .project-open, .project-detail summary:focus-visible .project-open { border-color: var(--accent); }
.project-detail-copy { padding: .75rem 1.1rem 1.1rem; }
.project-detail-copy .text-link { display: inline-block; margin-top: .5rem; color: var(--accent); }
.study { padding: clamp(1rem, 3vw, 1.6rem); background: linear-gradient(140deg, var(--inset), var(--surface) 70%); }
.study-art { width: 52px; height: 52px; object-fit: contain; background: #fff; border-radius: 11px; padding: 5px; margin-bottom: .85rem; }
.study h4 { margin-block: .4rem .65rem; font-size: clamp(1.45rem, 2.4vw, 2.15rem); line-height: 1.05; letter-spacing: -.052em; overflow-wrap: anywhere; }
.study > p:not(.eyebrow), details p { color: var(--muted); }
.metrics { display: flex; flex-wrap: wrap; gap: .55rem 1.2rem; margin-block: .95rem; }
.metrics div { display: flex; flex-direction: column-reverse; }
.metrics dt { color: var(--muted); font-size: .76rem; }
.metrics dd { color: var(--accent); font-size: 1.7rem; font-weight: 750; }
details { margin-top: .8rem; border-top: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; gap: .5rem; padding-top: .6rem; cursor: pointer; font-weight: 650; font-size: .9rem; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); }
details[open] > summary::after { content: "−"; }
details > p { margin-block: .5rem; }
.more-work { display: grid; gap: .65rem; margin-top: 1rem; }
.build-directory {
  margin-block: clamp(1.6rem, 4vw, 3rem) 1rem;
  padding-top: clamp(1.4rem, 3vw, 2rem);
  border-top: 1px solid var(--line);
}
.build-directory h3 { font-size: clamp(1.55rem, 3vw, 2.25rem); }
.build-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: clamp(1rem, 3vw, 2rem);
  padding: 0;
  margin: .8rem 0 0;
  list-style: none;
}
.build-grid li {
  display: grid;
  grid-template-columns: 2.8rem minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(.6rem, 1vw, .9rem);
  min-height: 5.5rem;
  padding-block: .8rem;
  border-bottom: 1px solid var(--line);
}
.build-grid li:target {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 7%, transparent);
}
.build-mark {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid rgb(0 0 0 / .1);
  border-radius: 12px;
  background: var(--build-tint, #f1cb9e);
  color: #222336;
  font-weight: 800;
  letter-spacing: -.045em;
}
#ladle { --build-tint: #f5bacd; }
#loopin { --build-tint: #c5bef5; }
#shotgun { --build-tint: #b8d8f9; }
#leafnote-waitlist { --build-tint: #bce3c5; }
.build-grid h4 { margin: 0; font-size: 1rem; line-height: 1.25; }
.build-grid p { margin-top: .22rem; color: var(--muted); font-size: .85rem; line-height: 1.35; }
.build-link {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  min-height: 2.75rem;
  padding: .35rem .7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--inset) 80%, transparent);
  color: var(--accent);
  font-size: .78rem;
  font-weight: 720;
  text-decoration: none;
}
.build-link:is(:hover, :focus-visible) {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
}
.build-status { max-width: 4.75rem; color: var(--muted); font-size: .76rem; line-height: 1.25; text-align: end; }
@media (min-width: 720px) {
  .build-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
  .build-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.more-work details { margin-top: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.more-work summary { padding: .85rem 1rem; font-size: 1rem; }
.entry-list { list-style: none; padding: 0 1rem; margin: 0 0 .75rem; }
.entry-list li { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .55rem 0; }
.entry-list h3 { font: 670 .95rem/1.5 var(--font); letter-spacing: normal; }
.entry-list p { font-size: .9rem; color: var(--muted); }
.entry-list a { font-size: 1.2rem; text-decoration: none; padding-inline: .4rem; }
.research { margin-top: clamp(2rem, 5vw, 4rem); }
:root[data-views] .research { margin-top: 0; }
.research-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.contact {
  --surface: #181d25;
  --inset: #232b36;
  --muted: #bfc7d5;
  --accent: #b7eedc;
  --accent-ink: #142b25;
  --line: #454e5b;
}
:root[data-theme="light"] .contact {
  --surface: #f7fafc;
  --inset: #e7edf3;
  --muted: #495568;
  --accent: #16614e;
  --accent-ink: #fff;
  --line: #a9b5c4;
}
.contact-window {
  overflow: clip;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: radial-gradient(ellipse at 12% 2%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 50%), var(--surface);
  box-shadow: 0 22px 60px #0003;
}
.contact-titlebar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: .5rem;
  padding: .7rem clamp(.85rem, 2.5vw, 1.6rem);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--inset) 70%, transparent);
  backdrop-filter: blur(16px);
}
.contact-titlebar h2 { font-size: .95rem; letter-spacing: 0; }
.contact-titlebar a { justify-self: end; padding-block: .35rem; color: var(--accent); font-size: .82rem; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(16.5rem, 1fr); }
.contact-thread, .contact-profile { padding: clamp(1rem, 3.6vw, 2.6rem); }
.contact-thread { display: grid; align-content: space-between; gap: 1.6rem; }
.contact-messages { display: grid; gap: .55rem; justify-items: start; }
.contact-messages h3 { margin-bottom: .45rem; font-size: clamp(1.95rem, 5vw, 3.6rem); }
.contact-message {
  max-width: 43ch;
  padding: .65rem .85rem;
  border-radius: 15px 15px 15px 5px;
  background: var(--inset);
}
.contact-postcard {
  display: grid;
  grid-template-columns: 3.35rem minmax(0, 1fr) auto;
  align-items: center;
  gap: .7rem;
  padding: .45rem .7rem .45rem .45rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
}
.contact-postcard img { aspect-ratio: 1; object-fit: cover; border-radius: 7px; }
.contact-postcard small, .contact-links small { display: block; color: var(--muted); line-height: 1.4; overflow-wrap: anywhere; }
.contact-topics { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .6rem; border: 0; padding: 0; min-inline-size: 0; }
.contact-topics legend { padding: 0; margin-bottom: .3rem; color: var(--muted); font-size: .8rem; }
.contact-topics label { position: relative; cursor: pointer; }
.contact-topics input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.contact-topics span { display: block; padding: .48rem .7rem; border: 1px solid var(--line); border-radius: 999px; font-size: .82rem; }
.contact-topics input:checked + span { border-color: var(--accent); color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--surface)); }
.contact-topics input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.contact-composer {
  display: flex;
  align-items: flex-end;
  gap: .45rem;
  padding: .4rem;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
}
.contact-composer textarea {
  flex: 1;
  width: 0;
  min-height: 2.75rem;
  padding: .42rem .48rem;
  border: 0;
  border-radius: 7px;
  resize: vertical;
  background: transparent;
  color: var(--ink);
  font: inherit;
}
.contact-composer textarea::placeholder { color: var(--muted); }
.contact-composer textarea:focus-visible { outline: 2px solid var(--accent); }
.contact-composer button, #copy-email { cursor: pointer; font-size: .8rem; font-weight: 700; }
.contact-composer button { min-height: 2.75rem; padding: .35rem .65rem; border: 0; border-radius: 10px; background: var(--accent); color: var(--accent-ink); }
.contact-composer button:hover { filter: brightness(.9); }
.contact-hint, #contact-feedback { margin-top: .35rem; color: var(--muted); font-size: .8rem; }
.contact-profile { border-inline-start: 1px solid var(--line); background: color-mix(in srgb, var(--inset) 68%, transparent); }
.contact-identity { margin-bottom: 1.2rem; }
.contact-identity img {
  width: 5.3rem;
  height: 5.3rem;
  margin-bottom: .75rem;
  border: 2px solid var(--line);
  border-radius: 22px;
  object-fit: cover;
  object-position: center 24%;
}
.contact-identity h3 { font-size: 1.5rem; }
.contact-identity p { margin-top: .25rem; color: var(--muted); font-size: .88rem; }
.contact-links { display: grid; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.contact-links li { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.contact-links a {
  display: grid;
  grid-template-columns: 2.15rem minmax(0, 1fr) auto;
  gap: .55rem;
  align-items: center;
  padding: .55rem;
  border-radius: inherit;
  text-decoration: none;
}
.contact-icon { display: grid; place-items: center; width: 2.15rem; aspect-ratio: 1; border-radius: 8px; color: #182136; font-size: .85rem; font-weight: 800; }
.contact-icon-mail { background: #b7eedc; }
.contact-icon-linkedin { background: #b8d8f9; }
.contact-icon-github { background: #ded0fb; }
#copy-email {
  min-height: 2.75rem;
  margin: 0 .55rem .25rem;
  padding: .25rem .55rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--accent);
}
#copy-email:hover { background: var(--inset); }
@media (min-width: 761px) {
  .contact-window {
    display: grid;
    grid-template-rows: auto 1fr;
    min-height: calc(100svh - 9rem);
  }
}
@media (max-width: 760px) {
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .contact-profile { border-inline-start: 0; border-top: 1px solid var(--line); }
}
.site-footer { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.4rem 2rem; color: var(--muted); font-size: .86rem; }
.search-dialog { width: min(35rem, calc(100% - 2rem)); max-height: min(40rem, calc(100% - 2rem)); padding: 1.2rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); }
.search-dialog::backdrop { background: #0d0c1abf; }
.search-heading { display: flex; align-items: center; justify-content: space-between; }
.search-heading h2 { font-size: 2rem; }
.search-heading button { border: 0; border-radius: 6px; background: var(--inset); color: var(--ink); font-size: 1.4rem; padding: .12rem .55rem; cursor: pointer; }
.search-dialog label { display: block; font-size: .85rem; margin-top: .7rem; color: var(--muted); }
.search-dialog input { display: block; width: 100%; padding: .6rem; margin: .3rem 0; border: 1px solid var(--line); border-radius: 6px; background: var(--canvas); color: var(--ink); font: inherit; }
.search-status { font-size: .8rem; color: var(--muted); }
.search-results { list-style: none; padding: 0; margin-bottom: 0; }
.search-results li + li { border-top: 1px solid var(--line); }
.search-results a { display: grid; padding: .45rem .35rem; text-decoration: none; }
.search-results a:hover, .search-results a:focus-visible { background: var(--inset); }
.search-results span { color: var(--muted); font-size: .8rem; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .build-link { transition: background 150ms ease, border-color 150ms ease; }
  .contact-postcard, .contact-links a { transition: background 160ms ease, color 160ms ease; }
  .contact-postcard:hover, .contact-links a:hover { background: var(--inset); }
  .project-cover img { transition: transform 260ms cubic-bezier(.2,.75,.35,1); }
  .project-card:focus-within .project-cover img { transform: translateY(-3px) scale(1.02); }
  @media (hover: hover) {
    .project-card:hover .project-cover img { transform: translateY(-3px) scale(1.02); }
  }
  .project-open, .work-nav a, .main-nav a, .primary { transition: background-color 150ms ease, color 150ms ease; }
  .project-detail[open] .project-detail-copy { animation: project-detail-in 180ms ease-out; }
  @keyframes project-detail-in { from { opacity: .35; transform: translateY(-3px); } }
  .search-dialog[open] { animation: open-dialog 160ms ease-out; }
  @keyframes open-dialog { from { opacity: 0; transform: translateY(.35rem); } }
}
@media (max-width: 850px) {
  .wordmark > span + span { display: none; }
}
@media (min-width: 1050px) {
  .work-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .project-card { grid-column: span 4; }
  .project-feature { grid-column: span 7; }
  .project-ai { grid-column: span 5; }
  .project-feature .project-cover, .project-ai .project-cover { min-height: 365px; }
  .project-feature .project-cover { grid-template-columns: .8fr 1.2fr; align-items: end; align-content: stretch; }
  .project-feature .project-cover > div { align-self: start; }
  .project-feature .project-cover h3 { font-size: clamp(2.4rem, 4.3vw, 4.2rem); }
  .project-feature .project-cover img { aspect-ratio: 1.55; }
  .project-ai .project-cover img { max-height: 195px; }
  .research-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 630px) {
  html { scroll-padding-top: 114px; }
  .wrap { width: calc(100% - 1.5rem); }
  .site-header { padding-block: .5rem; }
  .toolbar { grid-template-columns: 1fr auto; gap: .4rem; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; }
  .main-nav a { flex: 1 1 auto; text-align: center; padding-inline: .3rem; }
  .wordmark > span + span { display: inline; }
  .reader-layout, .work-grid, .research-grid { grid-template-columns: minmax(0, 1fr); }
  .reader-index { position: static; padding: .85rem; }
  .reader-index nav { grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr)); }
  .reader-index a { padding: .4rem .6rem; font-size: .86rem; }
  .reader-index small { display: none; }
  .reader-body { border-left: 0; border-top: 1px solid var(--line); }
  .section-intro { flex-direction: column; align-items: start; }
}
