@property --bg {
  syntax: "<color>";
  inherits: true;
  initial-value: #fff;
}
@property --ink {
  syntax: "<color>";
  inherits: true;
  initial-value: #0f0f0f;
}
@property --muted {
  syntax: "<color>";
  inherits: true;
  initial-value: #4e4e4e;
}
@property --line {
  syntax: "<color>";
  inherits: true;
  initial-value: #e9e9e9;
}
@property --hover {
  syntax: "<color>";
  inherits: true;
  initial-value: #f7f7f7;
}
@property --accent {
  syntax: "<color>";
  inherits: true;
  initial-value: #0050FE;
}
@property --been {
  syntax: "<color>";
  inherits: true;
  initial-value: #5E8F72;
}
@property --wish {
  syntax: "<color>";
  inherits: true;
  initial-value: #D4A017;
}
@property --glow {
  syntax: "<color>";
  inherits: true;
  initial-value: #6b8cff;
}
@property --rail-dot {
  syntax: "<color>";
  inherits: true;
  initial-value: #c2c2c2;
}
:root {
  color-scheme: light;
  --bg: #fff;
  --ink: #0f0f0f;
  --muted: #4e4e4e;
  --line: #e9e9e9;
  --hover: #f7f7f7;
  --accent: #0050FE;
  --been: #5E8F72;
  --wish: #D4A017;
  --glow: #6b8cff;
  --rail-dot: #c2c2c2;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
}
html[data-theme="dark"] { color-scheme: dark; --bg: #090909; --ink: #ededed; --muted: #aaa; --line: #333; --hover: #202020; --accent: #0041E7; --been: #7EB394; --wish: #E8C85A; --glow: #6b8cff; --rail-dot: #6a6a6a; }
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scrollbar-gutter: stable;
  scroll-padding-top: 96px;
  scroll-behavior: smooth;
  background-color: var(--bg);
}
body { margin: 0; background-color: var(--bg); color: var(--ink); font: 15px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
html.theme-ready {
  transition:
    --bg 0.45s ease,
    --ink 0.45s ease,
    --muted 0.45s ease,
    --line 0.45s ease,
    --hover 0.45s ease,
    --accent 0.45s ease,
    --been 0.45s ease,
    --wish 0.45s ease,
    --glow 0.45s ease,
    --rail-dot 0.45s ease;
}
html.theme-ready .site-logo-photo {
  transition: width 0.25s ease, opacity 0.25s ease, margin 0.25s ease;
}
html.theme-ready .avatar-flip-inner {
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
html.theme-ready .avatar-flip.is-spinning .avatar-flip-inner {
  transition: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: transparent;
  font-family: var(--mono);
  /* border-bottom: 1px solid var(--line); */
}
.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: calc(100% + 40px);
  z-index: -1;
  pointer-events: none;
  background-color: var(--bg);
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 calc(100% - 40px),
    rgb(0 0 0 / 58%) calc(100% - 16px),
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 calc(100% - 40px),
    rgb(0 0 0 / 58%) calc(100% - 16px),
    transparent 100%
  );
}
.site-header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 680px;
  margin: 0 auto;
  padding: 32px 24px 16px;
}
.site-logo {
  margin: 0 auto 0 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
  white-space: nowrap;
}
.site-logo a {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: inherit;
  text-decoration: none;
}
.site-logo-photo {
  display: block;
  width: 0;
  height: 28px;
  margin: 0;
  border-radius: 8px;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  transition: width 0.25s ease, opacity 0.25s ease, margin 0.25s ease;
}
.site-header.is-compact .site-logo a { gap: 12px; }
.site-header.is-compact .site-logo-photo {
  width: 28px;
  opacity: 1;
  pointer-events: auto;
}
.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 16px 20px;
  font-size: 13px;
}
.site-nav a {
  color: var(--muted);
  font-weight: 300;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--ink); }
.nav-weather {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 300;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.nav-weather[hidden] { display: none; }
.nav-weather-icon { display: none; width: 16px; height: 16px; flex-shrink: 0; }
.nav-weather-temp {
  display: grid;
  cursor: default;
}
.nav-weather-f,
.nav-weather-c { grid-area: 1 / 1; }
.nav-weather-c { visibility: hidden; }
.nav-weather-temp:hover .nav-weather-f { visibility: hidden; }
.nav-weather-temp:hover .nav-weather-c { visibility: visible; }
.nav-weather-temp:hover { color: var(--ink); }
.nav-weather[data-kind="sun"] .nav-weather-sun,
.nav-weather[data-kind="moon"] .nav-weather-moon,
.nav-weather[data-kind="cloud"] .nav-weather-cloud,
.nav-weather[data-kind="rain"] .nav-weather-rain { display: block; }
.theme-toggle {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 38px;
  height: 22px;
  margin: 0;
  padding: 2px;
  border: 1px solid #d5d5d5;
  border-radius: 999px;
  background: #fff;
  color: #2c2c2c;
}
html[data-theme="dark"] .theme-toggle {
  border-color: #3d3d3d;
  background: transparent;
  color: #e4e4e4;
}
.theme-toggle:hover { border-color: #b5b5b5; }
html[data-theme="dark"] .theme-toggle:hover { border-color: #5a5a5a; }
.theme-knob {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e4e4e4;
  transform: translateX(0);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.45s ease;
}
html[data-theme="dark"] .theme-knob {
  background: #2a2a2a;
  transform: translateX(16px);
}
html.theme-ready .theme-toggle {
  transition: background-color 0.45s ease, border-color 0.45s ease, color 0.45s ease;
}
.theme-icon {
  position: absolute;
  width: 10px;
  height: 10px;
  transition: opacity 0.35s ease;
}
html[data-theme="light"] .theme-icon-moon,
html[data-theme="dark"] .theme-icon-sun { opacity: 0; }
.page { max-width: 680px; margin: 0 auto; padding: 56px 24px 64px; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; text-decoration-color: var(--line); }
a:hover { text-decoration-color: currentColor; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.identity { margin-bottom: 25px; }
.avatar-flip {
  display: block;
  width: 100px;
  height: 100px;
  margin: 0 0 30px;
  padding: 0;
  border: 0;
  background: none;
  perspective: 900px;
  cursor: pointer;
}
.avatar-flip-inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.avatar-flip.is-flipped .avatar-flip-inner {
  transform: rotateY(180deg);
}
.avatar-flip:hover:not(.is-spinning):not(.just-clicked):not(.is-flipped) .avatar-flip-inner,
.avatar-flip:focus-visible:not(.is-spinning):not(.just-clicked):not(.is-flipped) .avatar-flip-inner {
  transform: rotateY(180deg);
}
.avatar-flip.is-flipped:hover:not(.is-spinning):not(.just-clicked) .avatar-flip-inner,
.avatar-flip.is-flipped:focus-visible:not(.is-spinning):not(.just-clicked) .avatar-flip-inner {
  transform: rotateY(360deg);
}
.avatar-flip.is-spinning:not(.is-flipped) .avatar-flip-inner {
  transition: none;
  animation: avatar-flip-to-back 1.1s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}
.avatar-flip.is-flipped.is-spinning .avatar-flip-inner {
  transition: none;
  animation: avatar-flip-to-front 1.1s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}
@keyframes avatar-flip-to-back {
  0% { transform: rotateY(0deg); }
  14% { transform: rotateY(180deg); }
  28% { transform: rotateY(360deg); }
  43% { transform: rotateY(540deg); }
  57% { transform: rotateY(720deg); }
  71% { transform: rotateY(900deg); }
  86% { transform: rotateY(1080deg); }
  100% { transform: rotateY(1260deg); }
}
@keyframes avatar-flip-to-front {
  0% { transform: rotateY(180deg); }
  14% { transform: rotateY(360deg); }
  28% { transform: rotateY(540deg); }
  43% { transform: rotateY(720deg); }
  57% { transform: rotateY(900deg); }
  71% { transform: rotateY(1080deg); }
  86% { transform: rotateY(1260deg); }
  100% { transform: rotateY(1440deg); }
}
.avatar {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.avatar-back {
  transform: rotateY(180deg);
}
.bio { color: var(--muted); }
.bio a {
  color: #fff;
  text-decoration: underline dotted;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: #fff;
}
html[data-theme="light"] .bio a {
  color: var(--ink);
  text-decoration-color: currentColor;
}
.bio a:hover {
  text-decoration-style: solid;
}
p { margin: 0 0 16px; line-height: 1.85; }
.bio p:last-child { margin-bottom: 0; }
.links { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; list-style: none; padding: 0; margin: 48px 0 0; }
.links a {
  display: inline-flex;
  color: var(--muted);
  text-decoration: none;
}
.links a:hover { color: var(--ink);}
.links svg { display: block; width: 24px; height: 24px; }
.copy-email { align-items: center; }
.copy-email-label {
  overflow: hidden;
  max-width: 0;
  margin-left: 0;
  opacity: 0;
  white-space: nowrap;
  font-size: 13px;
  line-height: 1;
  transition: max-width 0.2s ease, opacity 0.15s ease, margin-left 0.2s ease;
}
.copy-email:hover .copy-email-label,
.copy-email:focus-visible .copy-email-label,
.copy-email.is-copied .copy-email-label {
  max-width: 11em;
  margin-left: 8px;
  opacity: 1;
}
section { margin-top: 64px; }
#about { scroll-margin-top: 0; }
#work, #experience, #other-work, #personal-projects, #writing, #places { scroll-margin-top: 96px; }
.split-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 40px;
  margin-top: 64px;
  align-items: start;
}
.split-lists section { margin-top: 0; }
.section-label { margin: 0 0 24px; color: var(--muted); font: 14px var(--mono); font-weight: 300; letter-spacing: .08em; }
.section-copy {
  margin: -8px 0 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.section-copy a {
  color: #fff;
  text-decoration: underline dotted;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: #fff;
}
html[data-theme="light"] .section-copy a {
  color: var(--ink);
  text-decoration-color: currentColor;
}
.section-copy a:hover {
  text-decoration-style: solid;
}
.list { list-style: none; padding: 0; margin: 0; }
/* .list > li { border-bottom: 1px solid var(--line); } */
/* .list > li:first-child { border-top: 1px solid var(--line); } */
.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 20px;
  width: 100%;
  padding: 16px;
  margin: 0 -16px;
  border: 0;
  border-radius: 8px;
  background-color: transparent;
  text-align: left;
  text-decoration: none;
}
.row:has(.row-thumb) {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
}
.row-thumb {
  display: block;
  width: 112px;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  /* box-shadow: 0 4px 14px rgb(0 0 0 / 12%); */
}
html.theme-ready .row {
  transition: background-color 0.25s ease;
}
button.row:hover, a.row:hover, button.row:focus-visible { background-color: var(--hover); }
.row-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; font-size: 15px; font-weight: 500; line-height: 1.6; }
.row-desc { display: block; color: var(--muted); font-size: 15px; line-height: 1.65; margin-top: 3px; text-wrap: pretty; }
.row-meta { color: var(--muted); font: 10px/1.7 var(--mono); white-space: nowrap; }
.row-lock { color: var(--muted); font: 9px var(--mono); }
li.row { cursor: default; }
.experience .row { padding-block: 14px; }
.title-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.75;
}
.title-list + .title-list { margin-top: 28px; }
.title-list a { color: inherit; text-decoration: none; }
.title-list a:hover { color: var(--muted); }
.title-list a span { color: var(--muted); font-weight: 400; }
.timeline {
  --rail-x: 16px;
  --rail-w: 1px;
  --rail-bottom: 8px;
  position: relative;
}
.timeline-list {
  list-style: none;
  margin: 0;
  padding: 36px 0 0;
}
.timeline-origin {
  position: absolute;
  left: var(--rail-x);
  top: 10px;
  z-index: 1;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(-50%) scale(var(--origin-scale, 1));
  transform-origin: center;
  pointer-events: none;
}
.timeline::before {
  content: "";
  position: absolute;
  left: var(--rail-x);
  top: 10px;
  bottom: var(--rail-bottom);
  width: var(--rail-w);
  transform: translateX(-50%);
  background: repeating-linear-gradient(to bottom, var(--rail-dot) 0 2px, transparent 2px 6px);
}
.timeline-fill {
  position: absolute;
  left: var(--rail-x);
  top: 10px;
  width: var(--rail-w);
  height: 0;
  transform: translateX(-50%);
  background: var(--accent);
  pointer-events: none;
  will-change: height;
}
.timeline-thumb {
  position: absolute;
  left: var(--rail-x);
  top: 0;
  z-index: 2;
  width: 8px;
  height: 8px;
  margin: 0;
  border-radius: 50%;
  background: var(--accent);
  pointer-events: none;
  will-change: transform, opacity;
  transform-origin: 50% 50%;
}
.timeline-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  column-gap: 20px;
  align-items: start;
  padding: 0 0 28px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-logo-link {
  position: relative;
  z-index: 3;
  display: block;
  width: 32px;
  height: 32px;
  margin-top: 2px;
  border-radius: 8px;
  background: var(--bg);
  box-shadow: 0 0 0 3px var(--bg);
  line-height: 0;
  opacity: 0.45;
  transition: opacity 0.35s ease, box-shadow 0.35s ease;
}
.timeline-item.is-passed .timeline-logo-link {
  opacity: 1;
}
.timeline-item.is-active .timeline-logo-link {
  opacity: 1;
  box-shadow: 0 0 0 2px var(--accent), 0 0 0 5px var(--bg);
}
.timeline-logo {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}
.timeline-logo-link:hover { opacity: 1; }
.timeline-body {
  min-width: 0;
}
.timeline-year {
  color: var(--muted);
  font: 11px/1.7 var(--mono);
  text-align: right;
  white-space: nowrap;
}
.timeline-mark {
  display: block;
  width: 5px;
  height: 5px;
  margin: 14px auto 0;
  border-radius: 50%;
  background: var(--line);
  box-shadow: 0 0 0 3px var(--bg);
  transition: background 0.35s ease;
}
.timeline-item.is-passed .timeline-mark {
  background: var(--accent);
}
.timeline-item.is-active .timeline-mark {
  background: transparent;
}
.timeline-end {
  align-items: center;
  padding-top: 0;
}
.timeline-end .timeline-mark,
.timeline-end.is-active .timeline-mark,
.timeline-end.is-passed .timeline-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 10px;
  height: 10px;
  margin-top: 0;
  color: #fff;
  background: var(--accent);
  box-shadow: none;
  overflow: hidden;
  transform: scale(var(--end-scale, 1));
  transform-origin: center;
  transition: width 0.35s ease, height 0.35s ease;
}
.timeline-end.is-active .timeline-mark {
  width: 18px;
  height: 18px;
}
.timeline-end .timeline-mark svg {
  width: 10px;
  height: 10px;
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity 0.25s ease 0.08s, transform 0.25s ease 0.08s;
}
.timeline-end.is-active .timeline-mark svg {
  opacity: 1;
  transform: none;
}
.timeline-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  column-gap: 12px;
  row-gap: 2px;
}
.timeline-title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  min-width: 0;
  column-gap: 8px;
  row-gap: 2px;
}
.timeline-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink);
}
.timeline-head h3 a {
  color: inherit;
  text-decoration: none;
}
.timeline-head h3 a:hover { color: var(--muted); }
.timeline-tag {
  color: var(--muted);
  font: 11px/1.7 var(--mono);
  text-transform: uppercase;
}
.timeline-tag::before { content: "["; }
.timeline-tag::after { content: "]"; }
.timeline-role {
  grid-column: 1 / -1;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.65;
  margin-top: 3px;
}
.timeline-copy {
  margin: 12px 0 0;
  padding-left: 1.15em;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  list-style: disc;
}
.timeline-copy li { margin: 0; }
.timeline-copy li + li { margin-top: 0.35em; }
.timeline-resume {
  display: inline-block;
  padding-top: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline dotted;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.timeline-resume:hover { text-decoration-style: solid; }
.places-map {
  position: relative;
  padding: 24px 0;
}
.places-stage {
  position: relative;
}
.places-map-art {
  display: block;
  width: 100%;
  height: auto;
  color: var(--muted);
}
.places-map-art .places-land {
  fill: currentColor;
  fill-opacity: 0.08;
  stroke: currentColor;
  stroke-opacity: 0.62;
  stroke-width: 1;
  stroke-linejoin: round;
}
.places-route {
  stroke: var(--muted);
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 2.4 5.5;
  opacity: 0.7;
}
.place-dot {
  fill: var(--been);
  stroke: var(--bg);
  stroke-width: 2px;
  pointer-events: none;
}
.place-dot.is-future {
  fill: var(--wish);
}
.places-plane {
  fill: var(--ink);
  color: var(--ink);
  pointer-events: none;
}
.places-hud {
  position: absolute;
  top: 55%;
  left: 0%;
  z-index: 5;
  padding: 0;
  background: none;
  color: var(--ink);
  font: 11px/1.55 var(--mono);
  letter-spacing: 0;
  text-align: left;
  white-space: nowrap;
  pointer-events: none;
}
.places-hud p { margin: 0; }
.place-list {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}
.place {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 1;
  transform: translate(-50%, -50%);
  pointer-events: auto;
}
.place:hover,
.place:focus-within {
  z-index: 8;
}
.place-beacon {
  position: relative;
  display: block;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}
.place:not(.is-future) .place-beacon {
  width: 36px;
  height: 36px;
}
.place-ping {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  border: 1px solid var(--been);
  opacity: 0.35;
  animation: place-ping 3.2s ease-out infinite;
  pointer-events: none;
}
.place.is-future .place-ping {
  border-color: var(--wish);
}
@keyframes place-ping {
  0% { transform: scale(0.65); opacity: 0.4; }
  100% { transform: scale(2.05); opacity: 0; }
}
.place:nth-child(odd) .place-ping { animation-delay: 0.45s; }
.place:nth-child(3n) .place-ping { animation-delay: 1.1s; }
.place:nth-child(3n+1) .place-ping { animation-delay: 1.75s; }
html.theme-ready .place-ping { transition: none; }
.place-pop {
  --pop-x: -50%;
  position: absolute;
  left: 50%;
  bottom: calc(100% + 3px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(var(--pop-x)) translateY(4px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.place-pop::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 100%;
  height: 18px;
}
.place[data-pop="below"] .place-pop {
  bottom: auto;
  top: calc(100% + 3px);
}
.place[data-pop="below"] .place-pop::after {
  top: auto;
  bottom: 100%;
}
.place[data-edge="left"] .place-pop {
  --pop-x: 0%;
  left: 0;
}
.place[data-edge="right"] .place-pop {
  --pop-x: 0%;
  left: auto;
  right: 0;
}
.place.is-arriving {
  z-index: 7;
}
.place.is-arriving .place-pop {
  opacity: 1;
  pointer-events: auto;
  transform-origin: 50% 100%;
  animation: place-shots-arrive 1.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.place[data-pop="below"].is-arriving .place-pop {
  transform-origin: 50% 0%;
}
.place[data-edge="left"].is-arriving .place-pop {
  transform-origin: 0% 100%;
}
.place[data-edge="right"].is-arriving .place-pop {
  transform-origin: 100% 100%;
}
.place[data-pop="below"][data-edge="left"].is-arriving .place-pop {
  transform-origin: 0% 0%;
}
.place[data-pop="below"][data-edge="right"].is-arriving .place-pop {
  transform-origin: 100% 0%;
}
@keyframes place-shots-arrive {
  0% {
    opacity: 0;
    transform: translateX(var(--pop-x)) scale(0.08);
  }
  18% {
    opacity: 1;
    transform: translateX(var(--pop-x)) scale(1);
  }
  68% {
    opacity: 1;
    transform: translateX(var(--pop-x)) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateX(var(--pop-x)) scale(0.08);
  }
}
.place:hover .place-pop,
.place:focus-within .place-pop {
  animation: none;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(var(--pop-x)) translateY(0);
}
html.theme-ready .place.is-arriving .place-pop {
  transition: none;
}
.place-shots {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.place-shots img {
  display: block;
  width: 72px;
  height: 90px;
  margin-left: -28px;
  padding: 1px;
  object-fit: cover;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgb(0 0 0 / 20%);
  transform-origin: 50% 100%;
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.place-shots img:first-child { margin-left: 0; }
.place-shots img:nth-child(1) { transform: rotate(-11deg) translateY(10px); }
.place-shots img:nth-child(2) { z-index: 2; transform: rotate(0deg) translateY(0); }
.place-shots img:nth-child(3) { z-index: 1; transform: rotate(11deg) translateY(10px); }
.place-shots img:hover,
.place-shots img:focus-visible {
  z-index: 4;
  transform: rotate(0deg) translateY(-8px) scale(1.72);
}
.place-note {
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font: 11px/1.3 var(--mono);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
html.theme-ready .place-pop {
  transition: opacity 0.22s ease, transform 0.22s ease;
}
html.theme-ready .place-shots img {
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.theme-ready,
  .theme-toggle,
  .theme-knob,
  .theme-icon,
  .site-logo-photo { transition: none; }
  .timeline-thumb,
  .timeline-fill { display: none; }
  .timeline-thumb.is-ended { animation: none; }
  .avatar-flip-inner { transition: none; }
  .avatar-flip-inner,
  .avatar-flip.is-spinning .avatar-flip-inner { animation: none; }
  .place-ping { animation: none; opacity: 0; }
  .places-plane { display: none; }
  .place-shots img:hover,
  .place-shots img:focus-visible { transform: none; }
  .copy-email-label { transition: none; }
  .place.is-arriving .place-pop { animation: none; }
}
.page-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.page-foot p { margin: 0; font-size: 14px; }
.foot-location {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.foot-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.page-foot .links { margin: 0; gap: 16px; flex-shrink: 0; }
.page-foot .links svg { width: 20px; height: 20px; }
.skip-link { position: absolute; left: 24px; top: -100px; z-index: 30; padding: 8px; background: var(--bg); }
.skip-link:focus { top: 16px; }
dialog { color: var(--ink); background: var(--bg); border: 1px solid var(--line); padding: 0; width: min(680px, calc(100% - 32px)); max-height: calc(100dvh - 48px); border-radius: 6px; }
dialog::backdrop { background: rgb(0 0 0 / 35%); }
.gate-dialog { max-width: 400px; }
.drawer-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 28px 28px 0; }
.drawer-head h2 { margin: 0; font-size: 20px; font-weight: 500; letter-spacing: -.03em; }
.drawer-kicker { color: var(--muted); font: 11px var(--mono); margin-bottom: 10px; }
.icon-btn { border: 0; background: none; color: var(--muted); font-size: 25px; padding: 0 5px; line-height: 1; }
.drawer-body { padding: 22px 28px 28px; }
.drawer-body > p { color: var(--muted); font-size: 14px; }
.drawer-body ul { padding-left: 18px; font-size: 14px; }
.drawer-body li { margin-bottom: 10px; }
.shots { display: grid; gap: 20px; margin-top: 28px; }
.shots img { display: block; width: 100%; height: auto; border: 1px solid var(--line); }
.modal-open { overflow: hidden; }
label { display: block; margin-bottom: 8px; font-size: 12px; }
input { width: 100%; padding: 9px 10px; margin-bottom: 16px; border: 1px solid var(--line); border-radius: 3px; background: var(--bg); color: var(--ink); }
.btn { padding: 8px 12px; border: 1px solid var(--ink); border-radius: 3px; background: var(--ink); color: var(--bg); font-size: 13px; }
.gate-error { margin: 12px 0 0; min-height: 1.7em; font-size: 12px; }
@media (max-width: 640px) {
  .site-nav a { display: none; }
  .places-hud {
    position: static;
    top: auto;
    left: auto;
    z-index: auto;
    margin-top: 16px;
    white-space: normal;
  }
}
@media (max-width: 540px) {
  .site-header-inner { padding: 12px 22px; gap: 12px; }
  .site-logo { font-size: 14px; }
  .page { padding: 40px 22px 40px; }
  section { margin-top: 48px; }
  .split-lists { grid-template-columns: 1fr; gap: 48px; margin-top: 48px; }
  .row { gap: 12px; }
  .row-thumb { width: 88px; }
  .row-meta { font-size: 9px; }
  .row-title { font-size: 13px; }
  .timeline { --rail-x: 14px; }
  .timeline-item { grid-template-columns: 28px minmax(0, 1fr); column-gap: 12px; }
  .timeline-logo-link,
  .timeline-logo { width: 28px; height: 28px; }
  .timeline-year { font-size: 10px; }
  .place-note {
    width: max-content;
    max-width: 120px;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
  }
  .place-shots img {
    width: 52px;
    height: 66px;
    margin-left: -22px;
    border-radius: 12px;
  }
  .drawer-head { padding: 22px 20px 0; }
  .drawer-body { padding: 20px; }
}
