@media (prefers-reduced-motion: no-preference) {
  html:is(.wipe-leave, .wipe-enter)::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1000;
    pointer-events: none;
    background: #201d1d url("/transition-logo.png") center / min(6.5rem, 26vw, 22vh) auto no-repeat;
    animation: wipe-panel 450ms cubic-bezier(0.625, 0.05, 0, 1) both;
  }

  html.wipe-enter::after {
    animation-name: wipe-panel-exit;
  }

  @view-transition {
    navigation: auto;
  }

  html:active-view-transition .page-enter {
    animation: none;
  }

  ::view-transition {
    --osmo-ease: cubic-bezier(0.625, 0.05, 0, 1);
    background-color: #201d1d;
    background-image: url("/transition-logo.png");
    background-size: min(6.5rem, 26vw, 22vh) auto;
    background-repeat: no-repeat;
    animation: transition-mark 900ms linear both;
  }

  ::view-transition-group(root) {
    animation: none;
  }

  ::view-transition-old(root),
  ::view-transition-new(root) {
    mix-blend-mode: normal;
  }

  ::view-transition-old(root) {
    animation: page-cover 450ms var(--osmo-ease) both;
  }

  ::view-transition-new(root) {
    animation: page-uncover 450ms var(--osmo-ease) 450ms both;
  }

  @supports (clip-path: shape(from 0 0, line to 100% 0, close)) {
    html.wipe-leave::after {
      animation-name: curved-wipe-panel;
    }

    html.wipe-enter::after {
      animation-name: curved-wipe-panel-exit;
    }

    ::view-transition-old(root) {
      animation-name: curved-page-cover;
    }

    ::view-transition-new(root) {
      animation-name: curved-page-uncover;
    }
  }
}

@keyframes wipe-panel {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@keyframes wipe-panel-exit {
  from { transform: translateY(0); }
  to { transform: translateY(-100%); }
}

@keyframes curved-wipe-panel {
  from {
    clip-path: shape(from 0 114%, curve to 100% 114% with 50% 86%, line to 100% 114%, line to 0 114%, close);
  }
  to {
    clip-path: shape(from 0 0, curve to 100% 0 with 50% 0, line to 100% 114%, line to 0 114%, close);
  }
}

@keyframes curved-wipe-panel-exit {
  from {
    clip-path: shape(from 0 0, line to 100% 0, line to 100% 100%, curve to 0 100% with 50% 100%, close);
  }
  45% {
    clip-path: shape(from 0 0, line to 100% 0, line to 100% 45%, curve to 0 45% with 50% 73%, close);
  }
  to {
    clip-path: shape(from 0 0, line to 100% 0, line to 100% 0, curve to 0 0 with 50% 0, close);
  }
}

@keyframes curved-page-cover {
  from {
    clip-path: shape(from 0 0, line to 100% 0, line to 100% 114%, curve to 0 114% with 50% 86%, close);
  }
  to {
    clip-path: shape(from 0 0, line to 100% 0, line to 100% 0, curve to 0 0 with 50% 0, close);
  }
}

@keyframes curved-page-uncover {
  from {
    clip-path: shape(from 0 100%, curve to 100% 100% with 50% 100%, line to 100% 100%, line to 0 100%, close);
  }
  55% {
    clip-path: shape(from 0 24%, curve to 100% 24% with 50% 50%, line to 100% 100%, line to 0 100%, close);
  }
  to {
    clip-path: shape(from 0 0, curve to 100% 0 with 50% 0, line to 100% 100%, line to 0 100%, close);
  }
}

@keyframes page-cover {
  from { clip-path: inset(0); }
  to { clip-path: inset(0 0 100% 0); }
}

@keyframes page-uncover {
  from { clip-path: inset(100% 0 0 0); }
  to { clip-path: inset(0); }
}

@keyframes transition-mark {
  0%, 17% { background-position: center calc(50% + 4rem); }
  44%, 53% { background-position: center; }
  85%, 100% { background-position: center calc(50% - 7rem); }
}

  .portrait-hero { position: relative; min-height: 100svh; overflow: hidden; background: var(--white); }
  .image-glitch-effect { pointer-events: none; position: absolute; inset: 0; overflow: hidden; }
  .image-glitch-effect__img, .image-glitch-effect__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: right center; }
  .image-glitch-effect__canvas { visibility: hidden; }
  .portrait-hero a:focus-visible { outline: 2px solid var(--blue); outline-offset: 8px; }
  .portrait-copy { position: relative; z-index: 1; padding: clamp(9rem, 20vh, 13rem) var(--pad-x) 8rem; width: fit-content; }
  .portrait-role { font: 0.75rem 'IBM Plex Mono', monospace; margin-bottom: 2rem; }
  .portrait-copy h1 { font-weight: 400; font-size: clamp(5rem, 13vw, 15rem); line-height: 0.84; letter-spacing: -0.085em; }
  .portrait-copy h1 span { color: var(--blue); }
  .portrait-cta { display: inline-block; margin-top: 3rem; border-bottom: 1px solid currentColor; padding-bottom: 0.4rem; font-size: 0.9rem; }
  .portrait-cta:hover { color: var(--blue); }
  .portrait-value { max-width: min(30rem, 42vw); margin-top: 2rem; font-size: clamp(0.95rem, 1.25vw, 1.15rem); line-height: 1.6; }
  .portrait-actions { display: flex; flex-wrap: wrap; gap: 1rem 2rem; }
  .portrait-actions .portrait-cta { margin-top: 1.5rem; }
  .portrait-caption { position: absolute; z-index: 1; bottom: var(--pad-y); left: var(--pad-x); font: 0.65rem/1.6 'IBM Plex Mono', monospace; }
  @media (max-width: 700px) {
    .portrait-hero { min-height: max(1100px, 125svh); }
    .image-glitch-effect { top: max(32rem, 56svh); }
    .portrait-copy { padding-top: 8rem; padding-bottom: 0; }
    .portrait-copy h1 { font-size: 26vw; }
    .portrait-role { margin-bottom: 1.5rem; }
    .portrait-value { max-width: 29rem; }
    .portrait-actions { gap: 0.5rem 1rem; }
    .portrait-cta { margin-top: 1.5rem; }
    .portrait-caption { background: var(--white); padding: 0.4rem; }
  }
.portfolio-footer-wrap[data-astro-cid-jo6i4kqk] {
  position: relative;
  z-index: 56;
  overflow: hidden;
  background: var(--blue);
  color: var(--white);
  isolation: isolate;
}

.portfolio-footer[data-astro-cid-jo6i4kqk] {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(4rem, 7vw, 7rem) var(--pad-x);
}

.footer-columns[data-astro-cid-jo6i4kqk] {
  display: grid;
  grid-template-columns: 1fr 1fr .6fr;
  gap: 3rem;
  padding-bottom: clamp(4rem, 10vw, 10rem);
}

nav[data-astro-cid-jo6i4kqk], .footer-contact[data-astro-cid-jo6i4kqk] {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .65rem;
}

.footer-contact[data-astro-cid-jo6i4kqk], .footer-social[data-astro-cid-jo6i4kqk] {
  font-size: clamp(.9rem, 1.4vw, 1.2rem);
}

.footer-contact[data-astro-cid-jo6i4kqk] p[data-astro-cid-jo6i4kqk]:last-child {
  margin-top: 1.5rem;
}

a[data-astro-cid-jo6i4kqk] {
  position: relative;
  max-width: 100%;
}

a[data-astro-cid-jo6i4kqk]:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.08em;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 100%;
  transition: transform .4s;
}

a[data-astro-cid-jo6i4kqk]:is(:hover, :focus-visible):after {
  transform: scaleX(1);
  transform-origin: 0;
}

a[data-astro-cid-jo6i4kqk]:focus-visible {
  outline: 2px solid;
  outline-offset: 6px;
}

.footer-primary[data-astro-cid-jo6i4kqk] {
  font-size: clamp(2rem, 4.1vw, 4.5rem);
  line-height: 1.15;
  letter-spacing: -.05em;
}

.footer-contact[data-astro-cid-jo6i4kqk] a[data-astro-cid-jo6i4kqk] {
  overflow-wrap: anywhere;
}

.footer-wordmark[data-astro-cid-jo6i4kqk] {
  display: block;
  width: 100%;
  font-size: 13vw;
  line-height: 1.05;
  letter-spacing: -.065em;
  white-space: nowrap;
}

.footer-copyright[data-astro-cid-jo6i4kqk] {
  margin-top: 2.5rem;
  font: .75rem IBM Plex Mono, monospace;
}

.footer-shade[data-astro-cid-jo6i4kqk] {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0;
  pointer-events: none;
}

.portfolio-footer[data-astro-cid-jo6i4kqk]:focus-within {
  transform: none !important;
}

@media (width <= 700px) {
  .footer-columns[data-astro-cid-jo6i4kqk] {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 4rem;
  }

  .footer-primary[data-astro-cid-jo6i4kqk] {
    font-size: 2.5rem;
  }

  .footer-wordmark[data-astro-cid-jo6i4kqk] {
    font-size: 11vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  a[data-astro-cid-jo6i4kqk]:after {
    transition: none;
  }
}
.cursor {
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    width: 1em;
    height: 1em;
    border: 1px solid var(--accent, #006b54);
    border-radius: 100em;
    background: var(--accent, #006b54);
    pointer-events: none;
    opacity: 0;
    transition: background-color .375s cubic-bezier(.625, .05, 0, 1),
      height .375s cubic-bezier(.625, .05, 0, 1),
      width .375s cubic-bezier(.625, .05, 0, 1);
  }
  body:has(a:hover, button:hover, [data-cursor]:hover) .cursor {
    width: 3em;
    height: 3em;
    background-color: rgb(0 107 84 / 30%);
  }
  @media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
    .cursor { display: none; }
  }