/* Scroll-scrubbed motion on native view() timelines.
   Each effect follows the element's own trip through the viewport, so it reverses on the way back up and runs off the
   main thread. Two gates: a browser without scroll timelines, or a visitor who asked for reduced motion, gets the
   finished layout with none of it. Components opt in with a class; nothing here styles layout. */

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .s-title, .s-rise, .s-stand, .s-wipe, .s-wipe img, .s-drift img, .s-row > * {
      animation-timing-function: linear;
      animation-fill-mode: both;
      animation-timeline: view();
    }

    /* Display headings wipe on left to right, the same direction as the photo frames below them. */
    .s-title { width: fit-content; max-width: 100%; animation-name: s-title; animation-range: entry 5% entry 65%; }
    @keyframes s-title {
      from { clip-path: inset(-0.1em 100% -0.1em 0); opacity: 0; }
      to { clip-path: inset(-0.1em -0.1em -0.1em 0); opacity: 1; }
    }

    /* Plain blocks lift into place. */
    .s-rise { animation-name: s-rise; animation-range: entry 0% entry 70%; }
    @keyframes s-rise {
      from { opacity: 0; transform: translateY(16px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* Photo frame: un-clips left to right while the picture settles from a slight zoom. */
    .s-wipe {
      animation-name: s-wipe;
      animation-range: entry calc(var(--i, 0) * 10%) entry calc(85% + var(--i, 0) * 10%);
    }
    .s-wipe img { animation-name: s-settle; animation-range: entry 0% cover 55%; }
    @keyframes s-wipe {
      from { clip-path: inset(0 100% 0 0 round var(--radius)); }
      to { clip-path: inset(0 0 0 0 round var(--radius)); }
    }
    @keyframes s-settle { from { scale: 1.16; } to { scale: 1; } }

    /* Frame parallax: the picture slides through its frame as the frame crosses the viewport. */
    .s-drift img { height: 116%; top: -8%; animation-name: s-drift; animation-range: entry 0% exit 100%; }
    @keyframes s-drift {
      from { transform: translateY(-6%); }
      to { transform: translateY(6%); }
    }

    /* Read-along: a row sits dimmed, then brightens as it crosses the lower part of the screen. */
    .s-row > * { animation-name: s-light; animation-range: entry 0% entry 90%; }
    @keyframes s-light {
      from { opacity: 0.18; translate: -6px 0; }
      to { opacity: 1; translate: 0 0; }
    }

    /* Cards lie back below the fold and stand up as they enter; --i staggers siblings along the range. */
    .s-stand {
      transform-origin: 50% 100%;
      animation-name: s-stand;
      animation-range: entry calc(var(--i, 0) * 8%) entry calc(75% + var(--i, 0) * 8%);
    }
    @keyframes s-stand {
      from { opacity: 0; transform: perspective(1200px) translateY(12px) rotateX(-18deg); }
      to { opacity: 1; transform: perspective(1200px) translateY(0) rotateX(0deg); }
    }
  }
}
.menu-dialog[data-astro-cid-ofbkdqqk] {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  overflow: hidden;
}

.menu-dialog[data-astro-cid-ofbkdqqk]:modal {
  overscroll-behavior: contain;
}

.menu-dialog[data-astro-cid-ofbkdqqk]::backdrop {
  background: none;
  overflow: hidden;
  overscroll-behavior: contain;
}

.scrim[data-astro-cid-ofbkdqqk] {
  position: absolute;
  inset: 0;
  background: light-dark(#1111116b, #000000a8);
}

.sheet[data-astro-cid-ofbkdqqk] {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(100% - 28px, 420px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: calc(12px + env(safe-area-inset-top, 0px)) var(--gutter) calc(16px + env(safe-area-inset-bottom, 0px)) 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  touch-action: pan-y;
  background: var(--panel);
  border-left: 1px solid var(--line);
  border-radius: 28px 0 0 28px;
  box-shadow: -24px 0 48px -24px light-dark(#1111114d, #000000e6);
  -webkit-tap-highlight-color: transparent;
}

.sheet[data-astro-cid-ofbkdqqk]::-webkit-scrollbar {
  display: none;
}

.bar[data-astro-cid-ofbkdqqk] {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  height: 44px;
}

.kicker[data-astro-cid-ofbkdqqk] {
  padding-left: 12px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.close[data-astro-cid-ofbkdqqk] {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  border-radius: 50%;
  color: var(--ink);
  background: var(--panel-2);
  border: 1px solid var(--line);
  touch-action: manipulation;
  transition: transform var(--duration-quick) var(--ease-smooth-out);
}

.close[data-astro-cid-ofbkdqqk] svg[data-astro-cid-ofbkdqqk] {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5px;
  stroke-linecap: round;
}

.close[data-astro-cid-ofbkdqqk]:active {
  transform: scale(.92);
}

.rows[data-astro-cid-ofbkdqqk] {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.row[data-astro-cid-ofbkdqqk] {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr) auto;
  align-items: center;
  min-height: clamp(48px, 8svh, 64px);
  padding: 0 12px;
  border-radius: 16px;
  touch-action: manipulation;
  transition: background-color var(--duration-quick) var(--ease-smooth-out);
}

.row[data-astro-cid-ofbkdqqk]:active {
  background: var(--panel-2);
}

@media (hover: hover) and (pointer: fine) {
  .row[data-astro-cid-ofbkdqqk]:hover {
    background: var(--panel-2);
  }

  .row[data-astro-cid-ofbkdqqk]:hover .dot[data-astro-cid-ofbkdqqk] {
    opacity: .4;
    transform: scale(1);
  }

  .row[data-astro-cid-ofbkdqqk][aria-current]:hover .dot[data-astro-cid-ofbkdqqk] {
    opacity: 1;
  }
}

.n[data-astro-cid-ofbkdqqk] {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.label[data-astro-cid-ofbkdqqk] {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(30px, 10vw, 42px);
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
  padding-top: 3px;
  transition: color var(--duration-fast) var(--ease-smooth-out);
}

.dot[data-astro-cid-ofbkdqqk] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  transform: scale(.4);
  transition: opacity var(--duration-fast) var(--ease-smooth-out), transform var(--duration-fast) var(--ease-smooth-out);
}

.row[data-astro-cid-ofbkdqqk][aria-current] .label[data-astro-cid-ofbkdqqk] {
  color: var(--accent);
}

.row[data-astro-cid-ofbkdqqk][aria-current] .dot[data-astro-cid-ofbkdqqk] {
  opacity: 1;
  transform: scale(1);
}

.dock[data-astro-cid-ofbkdqqk] {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.pages[data-astro-cid-ofbkdqqk] {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--panel-2);
  border: 1px solid var(--line);
}

.pages[data-astro-cid-ofbkdqqk] a[data-astro-cid-ofbkdqqk] {
  display: grid;
  place-items: center;
  height: 40px;
  padding: 0 8px;
  border-radius: 999px;
  touch-action: manipulation;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1;
  letter-spacing: .04em;
  text-align: center;
  color: var(--ink-2);
  transition: background-color var(--duration-fast) var(--ease-smooth-out), color var(--duration-fast) var(--ease-smooth-out);
}

.pages[data-astro-cid-ofbkdqqk] a[data-astro-cid-ofbkdqqk][aria-current="page"] {
  background: var(--ink);
  color: var(--bg);
}

@media (hover: hover) and (pointer: fine) {
  .pages[data-astro-cid-ofbkdqqk] a[data-astro-cid-ofbkdqqk]:not([aria-current="page"]):hover {
    color: var(--ink);
    background: color-mix(in srgb, var(--ink) 7%, transparent);
  }
}

.prefs[data-astro-cid-ofbkdqqk] {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pref[data-astro-cid-ofbkdqqk] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 12px;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1;
  letter-spacing: .02em;
  color: var(--ink);
  background: none;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  touch-action: manipulation;
  transition: transform var(--duration-quick) var(--ease-smooth-out), background-color var(--duration-quick) var(--ease-smooth-out);
}

.pref[data-astro-cid-ofbkdqqk]:active {
  transform: scale(.96);
  background: var(--panel-2);
}

@media (hover: hover) and (pointer: fine) {
  .pref[data-astro-cid-ofbkdqqk]:hover {
    background: var(--panel-2);
  }

  .close[data-astro-cid-ofbkdqqk]:hover {
    background: var(--line);
  }
}

.pref[data-astro-cid-ofbkdqqk] svg[data-astro-cid-ofbkdqqk] {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pref[data-astro-cid-ofbkdqqk].t-icon-swap {
  display: inline-grid;
  grid-template-columns: 16px auto;
  justify-content: center;
  align-items: center;
  column-gap: 8px;
}

.pref[data-astro-cid-ofbkdqqk] .name[data-astro-cid-ofbkdqqk] {
  grid-area: 1 / 2;
}

.pages[data-astro-cid-ofbkdqqk] a[data-astro-cid-ofbkdqqk], .pref[data-astro-cid-ofbkdqqk] {
  white-space: nowrap;
}

@media (width <= 360px) {
  .pages[data-astro-cid-ofbkdqqk] a[data-astro-cid-ofbkdqqk] {
    padding: 0 4px;
    font-size: 10px;
    letter-spacing: .02em;
  }

  .pref[data-astro-cid-ofbkdqqk] {
    gap: 6px;
    padding: 0 8px;
    font-size: 11px;
  }

  .pref[data-astro-cid-ofbkdqqk].t-icon-swap {
    column-gap: 6px;
  }
}

@media (height <= 640px) {
  .sheet[data-astro-cid-ofbkdqqk] {
    gap: 12px;
  }

  .dock[data-astro-cid-ofbkdqqk] {
    padding-top: 12px;
  }

  .pages[data-astro-cid-ofbkdqqk] a[data-astro-cid-ofbkdqqk] {
    height: 36px;
  }

  .pref[data-astro-cid-ofbkdqqk] {
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .row[data-astro-cid-ofbkdqqk], .label[data-astro-cid-ofbkdqqk], .dot[data-astro-cid-ofbkdqqk], .pages[data-astro-cid-ofbkdqqk] a[data-astro-cid-ofbkdqqk], .pref[data-astro-cid-ofbkdqqk], .close[data-astro-cid-ofbkdqqk] {
    transition: none;
  }
}
.top[data-astro-cid-nen7h5rs] {
  position: fixed;
  top: calc(12px + env(safe-area-inset-top, 0px));
  left: 0;
  right: 0;
  z-index: 10;
  width: min(1040px, calc(100% - 2 * var(--gutter)));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s linear var(--duration-quick);
}

.top[data-astro-cid-nen7h5rs].is-shown {
  visibility: visible;
  transition-delay: 0s;
}

.island[data-astro-cid-nen7h5rs] {
  position: relative;
  display: flex;
  align-items: center;
  height: 44px;
  pointer-events: auto;
  background: color-mix(in srgb, var(--panel) 94%, transparent);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  border-radius: 999px;
  box-shadow: inset 0 1px light-dark(#fff9, #ffffff0d), 0 1px 2px light-dark(#1111110f, #00000080), 0 10px 24px -12px light-dark(#11111138, #000c);
}

@media (width <= 960px), (hover: none) {
  .island[data-astro-cid-nen7h5rs] {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

.top[data-astro-cid-nen7h5rs] .island[data-astro-cid-nen7h5rs] {
  opacity: 0;
  transform: translateY(-8px) scale(.98);
  transition: opacity var(--duration-quick) var(--ease-in-out), transform var(--duration-quick) var(--ease-in-out);
}

.top[data-astro-cid-nen7h5rs].is-shown .island[data-astro-cid-nen7h5rs] {
  opacity: 1;
  transform: none;
  transition: opacity var(--duration-fast) var(--ease-smooth-out), transform var(--duration-medium) var(--ease-smooth-out);
}

.logo[data-astro-cid-nen7h5rs] {
  padding: 0 18px;
  color: var(--ink);
}

.logo[data-astro-cid-nen7h5rs] svg {
  display: block;
  height: 24px;
  width: auto;
}

.logo[data-astro-cid-nen7h5rs] path {
  fill: currentColor;
}

@media (width <= 360px) {
  .logo[data-astro-cid-nen7h5rs] {
    padding: 0 12px;
  }

  .logo[data-astro-cid-nen7h5rs] svg {
    height: 18px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .top[data-astro-cid-nen7h5rs].is-drawn .logo[data-astro-cid-nen7h5rs] path {
    animation: logo-draw .42s var(--ease-smooth-out) calc(var(--i) * 45ms) both;
  }
}

@keyframes logo-draw {
  from {
    clip-path: inset(0 100% 0 0);
  }

  to {
    clip-path: inset(0);
  }
}

.menu[data-astro-cid-nen7h5rs] {
  position: fixed;
  z-index: 10;
  top: calc(12px + env(safe-area-inset-top, 0px));
  right: max(var(--gutter), calc((100% - 1040px) / 2));
  gap: 10px;
  padding: 0 14px 0 16px;
  cursor: pointer;
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  transition: transform var(--duration-quick) var(--ease-smooth-out), background-color var(--duration-quick) var(--ease-smooth-out);
}

.menu[data-astro-cid-nen7h5rs]:active {
  transform: scale(.96);
}

@media (hover: hover) and (pointer: fine) {
  .menu[data-astro-cid-nen7h5rs]:hover {
    background: color-mix(in srgb, var(--ink) 7%, var(--panel));
  }
}

.menu-label[data-astro-cid-nen7h5rs] {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.menu-icon[data-astro-cid-nen7h5rs] {
  display: grid;
  gap: 5px;
  width: 18px;
}

.menu-icon[data-astro-cid-nen7h5rs] i[data-astro-cid-nen7h5rs] {
  display: block;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
}

.menu-icon[data-astro-cid-nen7h5rs] i[data-astro-cid-nen7h5rs]:last-child {
  width: 11px;
  justify-self: end;
}

.track[data-astro-cid-nen7h5rs] {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -1px;
  height: 2px;
  border-radius: 1px;
  overflow: clip;
  pointer-events: none;
  -webkit-mask: linear-gradient(90deg, #0000, #000 12px calc(100% - 12px), #0000);
  mask: linear-gradient(90deg, #0000, #000 12px calc(100% - 12px), #0000);
}

.progress[data-astro-cid-nen7h5rs] {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform-origin: 0;
  transform: scaleX(0);
  animation: linear both progress;
  animation-timeline: scroll(root);
}

@keyframes progress {
  to {
    transform: scaleX(1);
  }
}

@supports not (animation-timeline: scroll()) {
  .progress[data-astro-cid-nen7h5rs] {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .top[data-astro-cid-nen7h5rs], .island[data-astro-cid-nen7h5rs], .top[data-astro-cid-nen7h5rs].is-shown .island[data-astro-cid-nen7h5rs], .menu[data-astro-cid-nen7h5rs] {
    transition: none;
  }

  .top[data-astro-cid-nen7h5rs] .island[data-astro-cid-nen7h5rs] {
    transform: none;
  }

  .progress[data-astro-cid-nen7h5rs] {
    animation: none;
    display: none;
  }
}
