@font-face {
  font-family: "SF Pro Text Light Portfolio";
  src: url("assets/SF-Pro-Text-Light.otf") format("opentype");
  font-weight: 300;
  font-display: swap;
}
:root { color-scheme: dark; scroll-behavior: auto; overflow-x: hidden; }
body { background: #000; font-synthesis: none; font-family: "SF Pro Text Light Portfolio", system-ui, sans-serif; }
h1, h3 { margin: 0; font-weight: 300; }
[id] { scroll-margin-top: 78px; }
.site-menu { display: block; padding: 0; z-index: 10; }
.header-inner { position: relative; height: 64px; margin: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-inline: clamp(16px, 2vw, 34px); }
.site-star { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); transition: left .44s cubic-bezier(.2,.75,.25,1), transform .44s cubic-bezier(.2,.75,.25,1); display: grid; place-items: center; }
.site-star img { display: block; }
.site-menu.is-scrolled .site-star { left: clamp(16px, 2vw, 34px); transform: translateY(-50%); }
.brand { transition: transform .44s cubic-bezier(.2,.75,.25,1); }
.site-menu.is-scrolled .brand { transform: translateX(29px); }
.site-nav { width: auto; gap: 2px; padding: 5px; visibility: hidden; opacity: 0; transform: translateY(-7px); transition: opacity .25s, transform .35s, visibility .25s; }
.site-menu.is-scrolled .site-nav, .site-nav:focus-within { visibility: visible; opacity: 1; transform: none; }
.site-nav a { min-width: 0; }
.site-nav a:is(:hover, :focus-visible) { background: #fff; color: #060606; }
.portfolio-layout { --small-copy-size: .81cqw; margin-inline: auto; container-type: inline-size; }
.hero { height: 60.37cqw; position: relative; isolation: isolate; overflow: clip; }
.hero-art { position: absolute; top: min(50%, 50svh); inset-inline: 0; margin-inline: auto; width: min(100%, calc(60.37cqw - 48px), calc(100svh - 64px)); height: auto; translate: 0 -50%; }
.hero h1 { position: absolute; left: 2%; top: 15.33cqw; width: 20.66cqw; color: #fff; mix-blend-mode: difference; font-size: 3.44cqw; line-height: .8; letter-spacing: -.07em; }
.hero h1 span { display: block; }
.hero-line-first { width: 19.12cqw; }
.hero-line-second { text-align: right; margin-top: .65cqw; }
.hero-copy { position: absolute; left: 2%; top: 42.05cqw; width: 20.7%; font-size: .81cqw; line-height: 1.4; text-align: justify; letter-spacing: -.05em; color: #ffffffb3; }
.hero-mark { position: absolute; top: 15.3cqw; right: 2%; width: 13.05%; height: auto; }
.hero-contact { position: absolute; right: 2%; top: 44cqw; }
.features, .projects { margin-inline: 2%; }
.features { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, 22.85cqw); gap: .89cqw; }
.profile-art { position: absolute; z-index: -1; width: 70%; aspect-ratio: 814 / 1016; left: 13%; top: -16cqw; background: #000; isolation: isolate; }
.profile-image { display: block; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: hard-light; }
.profile-color { position: absolute; inset: 0; background: #fff; mix-blend-mode: color; }
.feature { display: flex; flex-direction: column; justify-content: space-between; position: relative; isolation: isolate; overflow: hidden; padding: 1.62cqw; background: rgb(255 255 255 / 4%); border-radius: 8px; backdrop-filter: blur(13.5px); transform: perspective(800px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); transition: transform .38s cubic-bezier(.22,.61,.36,1); }
.feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at var(--light-x, 50%) var(--light-y, 50%), #fc70495c, #b50e165c 36%, transparent 74%), url("assets/fig-2-30.png") center / cover; opacity: 0; transition: opacity .7s cubic-bezier(.22,.61,.36,1); }
.feature:hover::after { opacity: .60; }
.feature-wide { grid-column: 1 / 3; }
.feature-left { grid-row: 2; grid-column: 1; }
.feature-middle { grid-row: 2; grid-column: 3; }
.feature-tall { grid-row: 1 / 3; grid-column: 4; }
.feature-meta { display: flex; justify-content: space-between; color: rgb(255 255 255 / 70%); font-size: .81cqw; }
.feature h3 { font-size: 2.27cqw; line-height: .9; letter-spacing: -.05em; }
.feature p { max-width: 20.66cqw; color: rgb(255 255 255 / 70%); margin-top: 1.7cqw; font-size: .81cqw; line-height: 1.4; letter-spacing: -.05em; }
.projects { position: relative; margin-top: 9.7cqw; }
.projects h2, .archive h2 { position: static; font: 300 3.44cqw/.9 "SF Pro Text Light Portfolio", system-ui, sans-serif; letter-spacing: -.06em; text-align: center; }
.projects h2 { margin-bottom: 3cqw; }
.work-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: 29.66cqw repeat(3, 42.14cqw) 38.25cqw; gap: 1.62cqw; }
.work { position: relative; grid-column: var(--col) / span var(--span); grid-row: var(--row); overflow: hidden; border-radius: 8px; isolation: isolate; background: #171717; }
.work img { position: absolute; width: 100%; height: 100%; object-fit: cover; transition: transform .85s cubic-bezier(.2,.75,.25,1); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .work:hover img { transform: scale(1.04); } }
.work::after { content: ""; position: absolute; inset: 44% 0 0; background: linear-gradient(transparent, #000b); pointer-events: none; }
.work-caption { position: absolute; z-index: 1; left: 1.95cqw; bottom: 1.9cqw; right: 1.4cqw; }
.work-caption h3 { font: 300 1em "SF Pro Text Light Portfolio", system-ui, sans-serif; font-size: 2.27cqw; line-height: .95; letter-spacing: -.05em; }
.work-caption p { font-family: "SF Pro Text Light Portfolio", system-ui, sans-serif; font-weight: 300; margin-top: .65cqw; font-size: var(--small-copy-size); color: #ffffffb3; letter-spacing: -.05em; line-height: 1.4; }
.work-tags { position: absolute; z-index: 1; top: 1.95cqw; right: 1.95cqw; left: 1cqw; display: flex; justify-content: end; gap: 4px; flex-wrap: wrap; }
.work-tags span { font-family: "SF Pro Text Light Portfolio", system-ui, sans-serif; font-size: .8cqw; font-weight: 300; letter-spacing: -.05em; padding: .55cqw .82cqw; background: #16161655; backdrop-filter: blur(12px); border-radius: 99px; }
.archive { position: relative; height: min(78cqw, 122svh); margin-top: clamp(20px, 3cqw, 64px); overflow: clip; isolation: isolate; }
.orbit { position: absolute; inset: 0; pointer-events: none; }
.orbit-item { position: absolute; left: calc(var(--left) * 100cqw / 1234); top: calc(var(--top) * 100cqw / 1234); width: calc(var(--w) * 100cqw / 1234); height: calc(var(--h) * 100cqw / 1234); object-fit: contain; scale: var(--orbit-size, .82); }
.archive-copy { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 1.5cqw; text-align: center; white-space: nowrap; }
.archive-copy p { font-size: .95cqw; color: #888; }
.contact-pill {
  --contact-unit: max(1px, calc(100cqw / 1234));
  display: inline-flex; align-items: center; justify-content: center;
  gap: calc(3 * var(--contact-unit)); min-width: calc(145 * var(--contact-unit)); height: calc(37 * var(--contact-unit));
  padding-inline: calc(20 * var(--contact-unit)); border-radius: 999px;
  color: #fff; text-decoration: none; background: #1c1c1c;
  font-size: calc(10 * var(--contact-unit)); letter-spacing: -.05em;
  white-space: nowrap; transition: background-color .25s ease, color .25s ease;
}
.contact-pill img { width: calc(14 * var(--contact-unit)); height: auto; }
.contact-pill:is(:hover, :focus-visible) { background-color: #fff; color: #000; }
.contact-pill:is(:hover, :focus-visible) img { filter: brightness(0); }
.contact-pill.hero-contact { background-color: #151515; min-width: calc(147 * var(--contact-unit)); }
.contact-pill.hero-contact:is(:hover, :focus-visible) { background-color: #fff; }
.process { position: relative; background: #060606; }
.process .viewport { position: relative; }
.process h2 { font-family: "SF Pro Text Light Portfolio", system-ui, sans-serif; }
.process-caption, .site-progress { position: absolute; }
.process-caption { top: 80px; }
@media (min-width: 1000px) and (prefers-reduced-motion: no-preference) {
  .process.scroll-enabled .viewport { position: sticky; top: 0; }
}
@media (max-width: 700px) {
  .header-inner { height: 58px; grid-template-columns: 1fr 1fr; }
  .availability span { display: none; }
  .availability { grid-column: 2; }
  .site-nav { position: absolute; top: 54px; left: 50%; transform: translate(-50%, -7px); }
  .site-menu.is-scrolled .site-nav, .site-nav:focus-within { transform: translate(-50%, 0); }
  .hero { height: 68svh; min-height: 450px; overflow: hidden; }
  .hero h1 { left: 5%; top: 23%; width: min(64vw, 300px); font-size: clamp(34px, 8.2vw, 54px); }
  .hero-line-first { width: 100%; }
  .hero-line-second { margin-top: 6px; }
  .hero-copy { left: 5%; top: auto; bottom: 8%; width: min(72%, 270px); font-size: 12px; text-align: left; }
  .hero-contact { top: auto; bottom: 2%; right: 5%; }
  .hero-mark { top: 66px; right: 5%; width: auto; }
  .features, .projects { margin-inline: 5%; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; gap: 8px; }
  .feature { grid-column: auto; grid-row: auto; min-height: 160px; padding: 12px; }
  .feature-wide { grid-column: 1 / -1; }
  .feature h3 { font-size: clamp(17px, 5vw, 28px); }
  .feature-meta, .feature p { font-size: 10px; }
  .feature p { margin-top: 10px; max-width: none; }
  .projects { margin-top: 58px; }
  .projects h2, .archive h2 { font-size: clamp(26px, 6vw, 40px); }
  .projects h2 { margin-bottom: 22px; }
  .work-grid { grid-template-columns: 1fr; grid-template-rows: none; gap: 10px; }
  .work { grid-column: auto; grid-row: auto; aspect-ratio: var(--ratio); max-height: 115vw; }
  .work-caption { left: 14px; bottom: 14px; }
  .work-caption h3 { font-size: clamp(20px, 5.5vw, 32px); }
  .work-tags span { font-size: 10px; }
  .work-tags { top: 10px; right: 10px; }
  .work-tags span { padding: 5px 7px; }
  .archive { min-height: 310px; }
  .orbit { inset: 0; }
  .archive-copy { gap: 7px; }
  .archive-copy p { font-size: 9px; }
  .portfolio-layout { --small-copy-size: 11px; }
  .process-caption { top: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .site-star, .site-nav, .brand, .feature, .feature::after, .work img { transition: none; }
}


.hero-monogram { display: block; width: 31px; height: 14px; margin: 0 0 max(8px, .95cqw) .81cqw; }
.hero-mark a { display: block; position: relative; padding-left: .81cqw; color: #fff; font-size: max(10px, .81cqw); line-height: 1.1; letter-spacing: -.05em; text-decoration: none; margin-bottom: clamp(8px, .9cqw, 17px); }
:is(.hero-mark, .footer-nav) a::before { content: ""; position: absolute; left: 0; top: .38em; border-block: 2px solid transparent; border-left: 4px solid #fff; opacity: 0; }
:is(.hero-mark, .footer-nav) a:is(:hover, :focus-visible)::before { opacity: 1; }
.contact-pill { font-family: "SF Pro Text Light Portfolio", system-ui, sans-serif; font-weight: 300; }
body { overflow-x: clip; }
body, .site-menu, .process-caption, .brief p, .process h2 { font-family: "SF Pro Text Light Portfolio", sans-serif; font-weight: 300; }


@media (min-width: 701px) {
  .hero-copy span { display: block; text-align-last: justify; }
  .hero-copy span:last-child { text-align-last: left; }
  .feature-copy { position: absolute; inset: 0; pointer-events: none; }
  .feature-copy h3, .feature-copy p { position: absolute; left: 1.62cqw; right: 1cqw; margin: 0; }
  .feature-copy p { bottom: 1.62cqw; }
  .feature-wide h3 { top: 10.37cqw; }
  .feature-left h3 { top: 10.94cqw; }
  .feature-middle h3 { top: 11.83cqw; }
  .feature-tall h3 { top: 35.58cqw; }
}
@media (max-width: 700px) {
  .hero-copy span:not(:last-child)::after { content: " "; }
  .feature p br { display: none; }
}
.orbit-item[src$="fig-38-58.png"] { clip-path: ellipse(13.9% 24.5% at 49.7% 46%); }

@property --light-x { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
@property --light-y { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
@media (prefers-reduced-motion: no-preference) {
  .feature { transition: transform .38s cubic-bezier(.22,.61,.36,1), --light-x .3s ease-out, --light-y .3s ease-out; }
}

.process { z-index: auto; background: transparent; }
.archive { z-index: 1; }
@media (max-width: 700px) {
  [id] { scroll-margin-top: 105px; }
  .header-inner { padding-inline: 16px; }
  .site-nav { width: max-content; max-width: calc(100vw - 24px); padding: 4px; }
  .site-nav a { padding-inline: clamp(7px, 2.2vw, 11px); font-size: 11px; min-height: 28px; }
  .hero { min-height: 520px; height: 76svh; }
  .hero-art { width: 100%; top: 45%; }
  .hero-mark { top: 78px; }
  .hero h1 { top: 29%; width: min(66vw, 310px); }
  .hero-copy { width: min(84%, 330px); line-height: 1.5; }
  .profile-art { width: 94%; left: 3%; top: -14vw; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature { min-height: 184px; }
  .feature-tall { grid-column: 1 / -1; }
  .feature p { font-size: 11px; line-height: 1.4; }
  .archive { height: min(88vw, 460px); margin-block: 24px; }
  .process .stage { min-height: min(100svh, 650px); }
  .process .details { top: 69%; width: min(63%, 300px); }
}

.project-count {
  display: inline-block;
  min-width: 3ch;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
@media (prefers-reduced-motion: no-preference) {
  .orbit:not(.orbit-started) .orbit-item { scale: 0; }
  .orbit-started .orbit-item {
    animation: orbit-grow .78s cubic-bezier(.22,1,.36,1) var(--orbit-delay, 0ms) both;
  }
  @keyframes orbit-grow {
    from { scale: 0; }
    to { scale: var(--orbit-size, .82); }
  }
  .reveal {
    --reveal-distance: clamp(22px, 3vw, 48px);
    transition: opacity .68s ease, translate .85s cubic-bezier(.2,.7,.22,1),
      transform .38s cubic-bezier(.22,.61,.36,1),
      --light-x .3s ease-out, --light-y .3s ease-out;
  }
  .reveal-pending { opacity: 0; translate: 0 var(--reveal-distance); }
  .work.reveal:nth-child(even), .feature-middle.reveal, .feature-tall.reveal {
    transition-delay: .08s;
  }
  .hero-scroll-motion .hero-art {
    mask-image: linear-gradient(155deg, black calc(var(--shadow-edge, 130%) - 25%), transparent var(--shadow-edge, 130%));
  }
  .hero-scroll-motion .hero-line-first { --exit: var(--text-first, 0); }
  .hero-scroll-motion .hero-line-second { --exit: var(--text-second, 0); }
  .hero-scroll-motion h1 > span {
    translate: 0 calc(-25px * var(--exit, 0));
    opacity: calc(1 - var(--exit, 0));
  }
  .hero-scroll-motion :is(.hero-copy, .hero-mark, .hero-contact) {
    opacity: calc(1 - var(--text-rest, 0));
    translate: 0 calc(-18px * var(--text-rest, 0));
  }
  .hero-scroll-motion :is(.hero-mark:focus-within, .hero-contact:focus-visible) { opacity: 1; translate: none; }
}

/* Keep the full lower ray above the following portrait. */
.hero { z-index: 2; overflow: visible; }
.hero-art { pointer-events: none; }
@media (min-width: 701px) {
  .hero-art { top: 47%; width: 100%; }
}

@font-face {
  font-family: "SF Pro Text Regular Portfolio";
  src: url("assets/SF-Pro-Text-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}
.portfolio-footer {
  font-family: "SF Pro Text Regular Portfolio", system-ui, sans-serif;
  font-weight: 400;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 1fr auto auto;
  gap: 5.8cqw 2cqw;
  min-height: 42.22cqw;
  margin: 14.42cqw 3% 3%;
  padding: 3.24cqw;
  background: #000;
  --footer-radius: clamp(16px, 1.35cqw, 26px);
  border-radius: var(--footer-radius);
  clip-path: inset(0 round var(--footer-radius));
  color: white;
  font-size: max(10px, .81cqw);
  line-height: 1.4;
  letter-spacing: -.05em;
}
.portfolio-footer p { margin: 0; }
.portfolio-footer h2 {
  position: static;
  inset: auto;
  width: auto;
  max-width: 25cqw;
  margin: 0;
  font-size: max(34px, 3.4cqw);
  font-family: inherit;
  font-weight: inherit;
  line-height: .8;
  letter-spacing: -.07em;
}
.footer-star-art {
  position: absolute;
  z-index: -1;
  inset: -37% auto auto 9%;
  width: 80%;
  height: auto;
  max-width: none;
  mix-blend-mode: normal;
  pointer-events: none;
}
.footer-light {
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
}
.footer-light::before,
.footer-light::after {
  content: "";
  position: absolute;
  inset: -35%;
  mix-blend-mode: screen;
}
.footer-light::before {
  background:
    radial-gradient(ellipse at 22% 34%, #ef1517b0, #9b0d133a 14%, transparent 24%),
    radial-gradient(ellipse at 76% 23%, #ff1018, #e71619cf 13%, #85081159 25%, transparent 38%),
    radial-gradient(ellipse at 84% 68%, #ff9b7be8, #d64022ac 18%, #95261172 29%, transparent 45%);
  animation: footer-glow 13s ease-in-out infinite alternate;
}
.footer-light::after {
  background: radial-gradient(ellipse at 73% 62%, #ff643c65, #dc251a30 13%, transparent 30%);
  animation: footer-sheen 9s ease-in-out infinite alternate;
}
@keyframes footer-glow {
  0% { transform: translate(-3%, -3%) rotate(-7deg); }
  55% { transform: translate(4%, 4%) rotate(5deg); }
  100% { transform: translate(1%, -3%) rotate(10deg); }
}
@keyframes footer-sheen {
  from { transform: translate(-23%, 14%) scale(.85); opacity: .35; }
  to { transform: translate(21%, -12%) scale(1.1); opacity: 1; }
}
.footer-nav { display: grid; align-content: start; gap: .65em; min-width: 18cqw; }
.footer-nav a { position: relative; color: inherit; text-decoration: none; width: fit-content; }
.footer-nav a::before { left: -10px; top: .63em; }
.footer-contact { grid-column: 1 / -1; display: grid; justify-items: start; gap: 12px; }
.footer-contact p { font-size: max(9px, .68cqw); max-width: max(230px, 20.66cqw); color: rgb(255 255 255 / 70%); }
.footer-legal { max-width: max(185px, 17cqw); align-self: end; }
.footer-credit, .footer-legal { font-size: max(9px, .58cqw); color: rgb(255 255 255 / 40%); }
.footer-credit { align-self: end; }
@media (min-width: 701px) {
  .portfolio-footer h2,
  .footer-nav,
  .footer-contact,
  .portfolio-footer .footer-credit,
  .portfolio-footer .footer-legal { position: absolute; }
  .portfolio-footer h2 { top: 3.29cqw; left: 3.24cqw; max-width: none; font-size: 3.4cqw; mix-blend-mode: difference; }
  .footer-nav { top: 4.1cqw; left: 73.74cqw; gap: .324cqw; line-height: 1.7; }
  .footer-monogram { width: 2.51cqw; height: auto; margin-bottom: 1.59cqw; }
  .footer-contact { grid-column: auto; top: 24.64cqw; left: 3.24cqw; gap: 1.48cqw; }
  .footer-contact p { width: 20.66cqw; max-width: none; }
  .footer-contact .contact-pill { width: 11.75cqw; min-height: 3cqw; padding: 0; background-color: #1c1c1c; }
  .footer-contact .contact-pill:is(:hover, :focus-visible) { background-color: #fff; }
  .portfolio-footer .footer-credit { top: 37.82cqw; left: 3.24cqw; }
  .portfolio-footer .footer-legal { top: 35.4cqw; left: 73.74cqw; width: 16.85cqw; }
}
@media (max-width: 700px) {
  .portfolio-footer { padding: 24px; gap: 24px; min-height: 0; }
  .portfolio-footer h2 { max-width: 9em; grid-column: 1 / -1; }
  .footer-nav, .footer-legal { grid-column: 1 / -1; }
  .footer-star-art { inset: -7% auto auto -44%; width: 190%; }
}
@media (prefers-reduced-motion: reduce) {
  .footer-light::before, .footer-light::after { animation: none; }
}

@media (prefers-reduced-motion: no-preference) {
  :is(.hero-line-first, .hero-title-end, .hero-monogram, .hero-mark a, .hero-copy, .hero-contact) {
    animation: hero-enter .82s cubic-bezier(.2,.74,.25,1) var(--hero-entry-delay, .08s) backwards;
  }
  .hero-title-end:first-child { --hero-entry-delay: .23s; }
  .hero-title-end:last-child { --hero-entry-delay: .36s; }
  .hero-monogram { --hero-entry-delay: .58s; }
  .hero-mark a:nth-of-type(1) { --hero-entry-delay: .68s; }
  .hero-mark a:nth-of-type(2) { --hero-entry-delay: .77s; }
  .hero-mark a:nth-of-type(3) { --hero-entry-delay: .86s; }
  .hero-mark a:nth-of-type(4) { --hero-entry-delay: .95s; }
  .hero-copy { --hero-entry-delay: 1.15s; }
  .hero-contact { --hero-entry-delay: 1.32s; }
  .site-menu { animation: header-enter .9s cubic-bezier(.2,.74,.25,1) .18s backwards; }
  .hero-mark:focus-within a, .hero-contact:focus-visible, .site-menu:focus-within { animation: none; }
}

@keyframes hero-enter {
  from { opacity: 0; transform: translateY(clamp(14px, 2vw, 30px)); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes header-enter {
  from { opacity: 0; transform: translateY(-24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-art { aspect-ratio: 1; }


.hero-crystal { display: block; width: 100%; height: auto; }
.hero-glint { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero-crystal {
    mask-image: linear-gradient(110deg, black 34%, transparent 66%);
    mask-size: 300% 100%;
    mask-position: 0% 50%;
    animation: crystal-reveal 1.35s cubic-bezier(.25,.65,.3,1) backwards;
  }
  .hero-glint {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: auto;
    filter: brightness(1.55) saturate(.85);
    mask-image: linear-gradient(110deg, transparent 43%, black 50%, transparent 57%);
    mask-size: 300% 100%;
    opacity: 0;
    animation: crystal-glint 1.45s cubic-bezier(.25,.65,.3,1) both;
  }
}
@keyframes crystal-reveal {
  from { mask-position: 100% 50%; }
  to { mask-position: 0% 50%; }
}
@keyframes crystal-glint {
  0% { opacity: 0; mask-position: 100% 50%; }
  25% { opacity: .76; }
  100% { opacity: 0; mask-position: 0% 50%; }
}

#portfolio-intro:not([hidden]) {
  position: fixed; inset: 0; z-index: 2147483646; display: grid;
  place-items: center; background: #050505; overflow: hidden;
  transition: opacity .38s ease;
}
#portfolio-intro svg { display: block; width: min(100%, 1560px); height: auto; max-height: 85vh; }
#portfolio-intro.is-finished { opacity: 0; pointer-events: none; }
@media (max-width: 640px) {
  #portfolio-intro svg { width: 150vw; max-width: none; justify-self: center; grid-area: 1/1; }
  #portfolio-intro:not([hidden]) { grid-template-columns: minmax(0,1fr); }
  #portfolio-intro .intro-number { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  #portfolio-intro:not([hidden]) { display: none; }
}
