/* Local editorial revisions requested for the portfolio homepage. */

@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/geist-mono.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/*
 * Reuse the three supplied portraits throughout the site. Existing component
 * dimensions remain authoritative; cover cropping keeps every card and panel
 * filled without stretching the source artwork.
 */
img[data-site-artwork="true"] {
  object-fit: cover !important;
  object-position: var(--site-artwork-position, 50% 38%) !important;
}

.contact-visual[data-site-artwork-background="true"] {
  background-image: var(--site-artwork-image) !important;
  background-position: var(--site-artwork-position, 50% 38%) !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

/* Keep the global navigation container unchanged while swapping its artwork. */
.hhh-global-nav__home {
  width: 34px !important;
  height: 34px !important;
}

.hhh-global-nav__home img[data-site-nav-avatar="true"] {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* Resume viewer opened from the navigation portrait. */
html.site-resume-open,
body.site-resume-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

.site-resume-dialog {
  position: fixed;
  z-index: 2147483600;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 52px);
  background: rgba(225, 231, 241, .2);
  -webkit-backdrop-filter: blur(12px) saturate(.78);
  backdrop-filter: blur(12px) saturate(.78);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s ease, visibility 0s linear .3s;
}

.site-resume-dialog.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.site-resume-window {
  width: min(700px, calc((92svh - 48px) * .6953125), calc(100vw - 48px));
  height: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 18px;
  background: #f8f8f7;
  box-shadow:
    0 42px 110px rgba(0, 0, 0, .76),
    0 12px 35px rgba(0, 0, 0, .48),
    0 0 0 1px rgba(0, 0, 0, .16);
  transform: translateY(24px) scale(.965);
  opacity: 0;
  transition: transform .42s cubic-bezier(.22, 1, .36, 1), opacity .28s ease;
}

.site-resume-dialog.is-open .site-resume-window {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.site-resume-window__bar {
  flex: 0 0 48px;
  display: grid;
  grid-template-columns: 112px 1fr 112px;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid #d9d9d7;
  background: linear-gradient(180deg, #fff 0%, #f4f4f2 100%);
  color: #242424;
  user-select: none;
}

.site-resume-window__bar strong {
  overflow: hidden;
  font: 600 13px/1 Arial, "Microsoft YaHei", sans-serif;
  letter-spacing: .02em;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-resume-window__controls {
  display: flex;
  align-items: center;
  gap: 9px;
}

.site-resume-window__controls > * {
  width: 14px;
  height: 14px;
  box-sizing: border-box;
  display: block;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, .13);
  border-radius: 50%;
}

.site-resume-window__close {
  appearance: none;
  background: #ff5f57;
  cursor: pointer;
}

.site-resume-window__close:hover,
.site-resume-window__close:focus-visible {
  outline: 2px solid rgba(255, 95, 87, .34);
  outline-offset: 3px;
  filter: brightness(.94);
}

.site-resume-window__minimize {
  background: #febc2e;
}

.site-resume-window__maximize {
  background: #28c840;
}

.site-resume-window__content {
  flex: 0 0 auto;
  min-height: 0;
  overflow: hidden;
  overscroll-behavior: contain;
  background: #fff;
  scrollbar-color: #858585 transparent;
  scrollbar-width: thin;
}

.site-resume-window__content::-webkit-scrollbar {
  width: 10px;
}

.site-resume-window__content::-webkit-scrollbar-track {
  background: transparent;
}

.site-resume-window__content::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: #858585;
  background-clip: padding-box;
}

.site-resume-window__content img {
  width: 100%;
  height: auto;
  max-height: calc(92svh - 48px);
  display: block;
  margin: 0;
  object-fit: contain;
  background: #fff;
}

@media (max-width: 700px) {
  .site-resume-dialog {
    padding: 12px;
  }

  .site-resume-window {
    width: min(calc((92svh - 44px) * .6953125), calc(100vw - 24px));
    height: auto;
    min-height: 0;
    border-radius: 14px;
  }

  .site-resume-window__content img {
    max-height: calc(92svh - 44px);
  }

  .site-resume-window__bar {
    flex-basis: 44px;
    grid-template-columns: 82px 1fr 82px;
    padding: 0 13px;
  }

  .site-resume-window__bar strong {
    font-size: 11px;
  }

  .site-resume-window__controls {
    gap: 7px;
  }

  .site-resume-window__controls > * {
    width: 12px;
    height: 12px;
  }
}

/* Soft Aurora closing layer, adapted to the site's native canvas runtime. */
.portfolio-end__matrix.site-soft-aurora-ending {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  height: 33.333svh !important;
  min-height: 260px !important;
  overflow: hidden !important;
  background:
    radial-gradient(ellipse at 50% 57%, rgba(68, 38, 98, .42) 0%, rgba(19, 13, 29, .7) 38%, transparent 68%),
    #0c0912 !important;
  color: transparent !important;
  pointer-events: none !important;
  isolation: isolate;
}

.portfolio-end__matrix.site-soft-aurora-ending::before,
.portfolio-end__matrix.site-soft-aurora-ending::after {
  content: none !important;
  display: none !important;
}

.site-soft-aurora-ending__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

@media (max-width: 700px) {
  .portfolio-end__matrix.site-soft-aurora-ending {
    height: 33.333svh !important;
    min-height: 220px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-resume-dialog,
  .site-resume-window {
    transition: none;
  }
}

/* Nova Glow-inspired treatment for the profile CTA. */
@property --site-nova-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.hhh-global-nav__profile {
  --site-nova-angle: 0deg;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid transparent !important;
  background:
    linear-gradient(#090a0f, #090a0f) padding-box,
    conic-gradient(
      from var(--site-nova-angle),
      #65efff,
      #7067ff 27%,
      #df66ff 53%,
      #ff71b8 72%,
      #65efff
    ) border-box !important;
  color: #fff !important;
  box-shadow:
    0 0 11px rgba(103, 225, 255, .34),
    0 0 23px rgba(130, 91, 255, .22),
    inset 0 1px rgba(255, 255, 255, .12) !important;
  text-shadow: 0 0 10px rgba(255, 255, 255, .28);
  animation: site-nova-spin 4.8s linear infinite;
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .28s ease !important;
}

.hhh-global-nav__profile::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -10px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--site-nova-angle),
    rgba(101, 239, 255, .72),
    rgba(112, 103, 255, .5),
    rgba(223, 102, 255, .68),
    rgba(255, 113, 184, .48),
    rgba(101, 239, 255, .72)
  );
  filter: blur(13px);
  opacity: .44;
  pointer-events: none;
}

.hhh-global-nav__profile::after {
  content: "";
  position: absolute;
  inset: -35% auto -35% -48%;
  width: 36%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .72), transparent);
  transform: skewX(-18deg) translateX(-220%);
  transition: transform .62s cubic-bezier(.22, 1, .36, 1);
  pointer-events: none;
}

.hhh-global-nav__profile:hover,
.hhh-global-nav__profile:focus-visible {
  background:
    linear-gradient(#10121a, #10121a) padding-box,
    conic-gradient(
      from var(--site-nova-angle),
      #8df5ff,
      #8a80ff 27%,
      #ee88ff 53%,
      #ff90cb 72%,
      #8df5ff
    ) border-box !important;
  box-shadow:
    0 0 15px rgba(103, 225, 255, .52),
    0 0 32px rgba(147, 91, 255, .38),
    inset 0 1px rgba(255, 255, 255, .16) !important;
  outline: 0;
  transform: scale(1.045);
}

.hhh-global-nav__profile:hover::after,
.hhh-global-nav__profile:focus-visible::after {
  transform: skewX(-18deg) translateX(620%);
}

@keyframes site-nova-spin {
  to { --site-nova-angle: 360deg; }
}

@media (max-width: 560px) {
  .hhh-global-nav__home {
    width: 27px !important;
    height: 27px !important;
  }

  .hhh-global-nav__profile {
    box-shadow: 0 0 8px rgba(103, 225, 255, .3), 0 0 16px rgba(130, 91, 255, .18) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hhh-global-nav__profile {
    animation: none;
  }
}

/* Remove the large cover reference image requested on the homepage. */
.portfolio-cover-2026__reference {
  display: none !important;
}

/* Give the existing waterfall substantially more vertical viewing space. */
.layout-design__drift {
  height: clamp(2200px, 260svh, 2800px) !important;
  pointer-events: none !important;
}

/* Portfolio masonry: equal column widths, intrinsic image heights, no crops. */
#layout-design .layout-design__column,
#layout-design .layout-design__poster {
  width: 100%;
}

#layout-design .layout-design__poster {
  height: auto !important;
}

#layout-design .layout-design__poster img {
  display: block;
  width: 100%;
  height: auto !important;
  object-fit: contain !important;
}

@media (max-width: 700px) {
  .layout-design__drift {
    height: clamp(1280px, 185svh, 1650px) !important;
  }
}

/* Remove the four full-page sections without leaving scroll or pinning space. */
.motion-transition,
.operation-showcase,
#brand-projects,
.font-design {
  display: none !important;
}

/* These wrappers collapse away on mobile, preserving the original flow. */
.hhh-about-editorial__composition,
.hhh-about-editorial__text-group {
  display: contents;
}

/* The biography is deliberately static: pure white type and a full-colour portrait. */
#about .hhh-about-editorial__composition,
#about .hhh-about-editorial__composition p,
#about .hhh-about-editorial__composition h3,
#about .hhh-about-editorial__composition time,
#about .hhh-about-editorial__composition a,
#about .hhh-about-editorial__composition b,
#about .hhh-about-editorial__composition span,
#about .fuel-about__main,
#about .fuel-about__main p,
#about .fuel-about__main h2,
#about .fuel-about__main h3,
#about .fuel-about__main time {
  color: #fff !important;
  background: none !important;
  filter: none !important;
  text-shadow: none !important;
  -webkit-text-fill-color: #fff !important;
  transition: none !important;
}

#about .fuel-about__portrait[data-site-static-portrait="true"] {
  pointer-events: none !important;
  cursor: default !important;
}

#about .fuel-about__portrait[data-site-static-portrait="true"]::before,
#about .fuel-about__portrait[data-site-static-portrait="true"]::after,
#about .fuel-about__portrait[data-site-static-portrait="true"] .hhh-portrait-color,
#about .fuel-about__portrait[data-site-static-portrait="true"] .hhh-portrait-light,
#about .fuel-about__portrait[data-site-static-portrait="true"] .site-profile-card__shine,
#about .fuel-about__portrait[data-site-static-portrait="true"] .site-profile-card__glare {
  display: none !important;
}

#about .fuel-about__portrait[data-site-static-portrait="true"] > img {
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
  transition: none !important;
}

/* Restore the original cursor-following spotlight on the about typography. */
#about .fuel-about__body [data-hhh-light-text] {
  color: transparent !important;
  background: radial-gradient(
    circle 104px at var(--hhh-text-light-x, -999px) var(--hhh-text-light-y, -999px),
    #fff 0,
    #fff 22%,
    rgba(248, 252, 255, .98) 42%,
    rgba(206, 216, 220, .78) 65%,
    #48494b 100%
  ) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* Full-viewport LiquidFluid embed. Keep this final so legacy iframe and
   color-scheme rules cannot collapse the external page to 300 x 150. */
.portfolio-end__matrix.site-liquid-fluid-embed {
  position: relative !important;
  width: 100% !important;
  height: 33.333svh !important;
  min-height: 260px !important;
  overflow: hidden !important;
  background: #000 !important;
}

.portfolio-end__matrix.site-liquid-fluid-embed > iframe.site-liquid-fluid-embed__frame {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  background: #000 !important;
  transform: none !important;
}

@media (max-width: 700px) {
  .portfolio-end__matrix.site-liquid-fluid-embed {
    height: 33.333svh !important;
    min-height: 220px !important;
  }
}

/* Fuel-inspired closing hero, replacing the former matrix footer. */
@font-face {
  font-family: "Site Fuel Grotesk";
  src: url("/fuel-ending/bdo-grotesk.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

footer.portfolio-end.site-fuel-ending {
  position: relative !important;
  display: block !important;
  min-height: 100svh !important;
  margin: 0 !important;
  padding: 24px !important;
  overflow: hidden !important;
  background: #050505 !important;
  color: #fff !important;
}

.site-fuel-ending__hero {
  --site-fuel-parallax-y: 0px;
  position: relative;
  isolation: isolate;
  height: calc(100svh - 48px);
  min-height: 560px;
  max-height: 800px;
  overflow: hidden;
  border-radius: 5px;
  background: #000;
  color: #fff;
  font-family: "Site Fuel Grotesk", Arial, sans-serif;
}

.site-fuel-ending__background {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  opacity: .64;
  transform: translate3d(0, var(--site-fuel-parallax-y), 0);
  will-change: transform;
}

.site-fuel-ending__background::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(0, 0, 0, .2), transparent 45%, rgba(0, 0, 0, .08)), linear-gradient(180deg, rgba(0, 0, 0, .04), rgba(0, 0, 0, .2));
}

.site-fuel-ending__background img {
  position: absolute;
  top: -116%;
  left: 0;
  width: 100%;
  height: 315%;
  display: block;
  object-fit: fill;
  transform: scale(1.015);
  animation: site-fuel-background-in 1.5s cubic-bezier(.22, 1, .36, 1) both;
}

.site-fuel-ending__content { position: absolute; inset: 0; }

.site-fuel-ending__message {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 152px;
  pointer-events: none;
  transform: translateY(-50%);
}

.site-fuel-ending__marquee-window {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.site-fuel-ending__marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  animation: site-fuel-marquee 22s linear infinite;
  will-change: transform;
}

.site-fuel-ending__marquee-track span {
  flex: none;
  color: #fff;
  font-size: 100px;
  font-weight: 1000;
  font-variation-settings: "wght" 500;
  line-height: 1;
  letter-spacing: -3px;
}

.site-fuel-ending__markers {
  position: absolute;
  top: 0;
  z-index: 3;
  display: flex;
  width: 16px;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
}

.site-fuel-ending__markers--left { left: max(12.5%, calc(50% - 438px)); }
.site-fuel-ending__markers--right { right: max(12.5%, calc(50% - 438px)); }

.site-fuel-ending__markers i { position: relative; width: 16px; height: 16px; filter: drop-shadow(0 0 4px rgba(0, 0, 0, .32)); }
.site-fuel-ending__markers i::before,
.site-fuel-ending__markers i::after { position: absolute; top: 50%; left: 50%; content: ""; background: #d1e1e8; transform: translate(-50%, -50%); }
.site-fuel-ending__markers i::before { width: 2px; height: 16px; }
.site-fuel-ending__markers i::after { width: 16px; height: 2px; }

.site-fuel-ending__portrait {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  width: 224px;
  height: 324px;
  margin: 0;
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .18);
  transform: translate(-50%, -50%);
  animation: site-fuel-portrait-in 1.1s .12s cubic-bezier(.22, 1, .36, 1) both;
}

.site-fuel-ending__portrait img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 900ms cubic-bezier(.22, 1, .36, 1), filter 900ms cubic-bezier(.22, 1, .36, 1); }
.site-fuel-ending__portrait:hover img { filter: saturate(1.08) contrast(1.04); transform: scale(1.045); }

.site-fuel-ending__contact {
  position: absolute;
  top: calc(50% + 185px);
  left: 50%;
  z-index: 5;
  display: flex;
  width: 247px;
  height: 32px;
  align-items: flex-start;
  justify-content: space-between;
  overflow: hidden;
  color: #fff !important;
  font-family: "Site Fuel Grotesk", Arial, sans-serif;
  text-decoration: none;
  transform: translateX(-50%);
  animation: site-fuel-control-in .9s .42s cubic-bezier(.22, 1, .36, 1) both;
}

.site-fuel-ending__contact::after { position: absolute; right: 0; bottom: 0; left: 0; height: 1px; content: ""; background: #fff; transform-origin: left center; transition: transform 500ms cubic-bezier(.22, 1, .36, 1); }
.site-fuel-ending__contact > span { font-size: 16px; font-weight: 1000; font-variation-settings: "wght" 500; line-height: 20px; letter-spacing: -.5px; }
.site-fuel-ending__contact > i { width: 9px; height: 9px; margin-top: 1px; border-top: 1px solid #fff; border-right: 1px solid #fff; transition: transform 500ms cubic-bezier(.22, 1, .36, 1); }
.site-fuel-ending__contact:hover::after { transform: scaleX(.72); }
.site-fuel-ending__contact:hover > i { transform: translate(2px, -2px); }
.site-fuel-ending__contact:focus-visible { outline: 2px solid #fff; outline-offset: 7px; }

.site-fuel-ending__toast {
  position: absolute;
  right: 42px;
  bottom: 42px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: calc(100% - 84px);
  padding: 14px 14px 14px 18px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 5px;
  background: rgba(8, 8, 8, .88);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .26);
  font-family: "Site Fuel Grotesk", Arial, sans-serif;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity 400ms cubic-bezier(.22, 1, .36, 1), transform 400ms cubic-bezier(.22, 1, .36, 1), visibility 400ms;
}

.site-fuel-ending__toast.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.site-fuel-ending__toast button { width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: #000; cursor: pointer; font-size: 20px; line-height: 1; }
.site-fuel-ending__sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@keyframes site-fuel-marquee { from { transform: translate3d(-32%, 0, 0); } to { transform: translate3d(-65.333%, 0, 0); } }
@keyframes site-fuel-background-in { from { opacity: 0; transform: scale(1.07); } to { opacity: 1; transform: scale(1.015); } }
@keyframes site-fuel-portrait-in { from { opacity: 0; transform: translate(-50%, -44%) scale(.96); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes site-fuel-control-in { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }

@media (max-width: 809px) {
  footer.portfolio-end.site-fuel-ending { padding: 10px !important; }
  .site-fuel-ending__hero { height: calc(100svh - 20px); min-height: 620px; }
  .site-fuel-ending__background img { top: -44%; left: -70%; width: 240%; height: 200%; }
  .site-fuel-ending__message { height: 116px; }
  .site-fuel-ending__marquee-track span { font-size: 44px; line-height: 44px; letter-spacing: -2px; }
  .site-fuel-ending__portrait { width: 180px; height: 260px; }
  .site-fuel-ending__contact { top: calc(50% + 151px); width: 210px; }
  .site-fuel-ending__markers--left { left: 5%; }
  .site-fuel-ending__markers--right { right: 5%; }
  .site-fuel-ending__markers i { width: 12px; height: 12px; }
  .site-fuel-ending__markers i::before { width: 1px; height: 12px; }
  .site-fuel-ending__markers i::after { width: 12px; height: 1px; }
  .site-fuel-ending__toast { right: 26px; bottom: 26px; max-width: calc(100% - 52px); }
}

@media (prefers-reduced-motion: reduce) {
  .site-fuel-ending *, .site-fuel-ending *::before, .site-fuel-ending *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

@media (min-width: 701px) {
  /* Centre the portrait against the complete right-hand text group. */
  #about .fuel-about__body.hhh-about-editorial .fuel-about__portrait {
    top: 50% !important;
    left: 8vw !important;
    transform: translateY(-50%) !important;
  }
}

/* Exact liquid-button component loaded from the supplied local reference. */
#layout-design .font-design__badge[data-site-liquid-badge="true"] {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  width: 307px !important;
  height: auto !important;
  aspect-ratio: 274 / 111;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  isolation: isolate;
}

#layout-design .font-design__badge[data-site-liquid-badge="true"]::before,
#layout-design .font-design__badge[data-site-liquid-badge="true"]::after {
  content: none !important;
}

#layout-design .font-design__badge[data-site-liquid-badge="true"] > i,
#layout-design .font-design__badge[data-site-liquid-badge="true"] > span {
  display: none !important;
}

#layout-design .font-design__badge[data-site-liquid-badge="true"] > liquid-button {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

#layout-design .layout-design__intro > p {
  font-size: clamp(12px, 0.88vw, 14px) !important;
  line-height: 1.5 !important;
}

#layout-design .font-design__badge[data-site-liquid-badge="true"] > strong {
  display: none !important;
}

#layout-design .font-design__badge[data-site-liquid-badge="true"]:active {
  transform: none !important;
}

@media (max-width: 700px) {
  #layout-design .font-design__badge[data-site-liquid-badge="true"] {
    width: min(307px, calc(100vw - 36px)) !important;
    height: auto !important;
    aspect-ratio: 274 / 111;
  }

  #layout-design .font-design__badge[data-site-liquid-badge="true"] > liquid-button {
    transform-origin: center;
  }

  #layout-design .layout-design__intro > p {
    font-size: clamp(11px, 2.9vw, 13px) !important;
  }
}

@media (min-width: 701px) {
  /*
   * Treat both introduction paragraphs and the experience block as one
   * composition (group A). The portrait is vertically centered against that
   * complete group, then nudged right without changing its dimensions.
   */
  .fuel-about__body.hhh-about-editorial {
    display: block;
  }

  .hhh-about-editorial__composition {
    --hhh-about-copy-gap: clamp(72px, 9.2svh, 92px);
    position: absolute;
    top: 24svh;
    right: 4.2vw;
    left: 0;
    display: grid;
    grid-template-columns: 42.8vw minmax(0, 1fr);
    column-gap: 24px;
  }

  .hhh-about-editorial__text-group {
    grid-column: 2;
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: var(--hhh-about-copy-gap);
  }

  .hhh-about-editorial__copy {
    display: contents;
  }

  .hhh-about-editorial__copy p {
    position: static;
    inset: auto;
    min-width: 0;
    margin: 0;
    text-align: left;
  }

  .hhh-about-editorial__experience {
    position: static;
    inset: auto;
    min-width: 0;
    width: auto;
    margin: 0;
    text-align: left;
  }

  .fuel-about__body.hhh-about-editorial .fuel-about__portrait {
    top: 50%;
    left: 8vw;
    transform: translateY(-50%);
  }
}

/* Two project-experience entries supplied for group A. */
#about .site-about-projects__header {
  align-items: end;
  padding-bottom: clamp(8px, 1svh, 12px);
  border-bottom: 1px solid rgba(255, 255, 255, .42);
}

#about .site-about-projects__header h3 {
  margin: 0;
}

#about .site-about-projects__label {
  justify-self: end;
  font-size: clamp(11px, .78vw, 14px);
  font-weight: 600;
}

#about .site-about-project-entry {
  margin-top: clamp(18px, 2.3svh, 24px);
}

#about .site-about-project-entry + .site-about-project-entry {
  margin-top: clamp(24px, 3.2svh, 34px);
}

#about .site-about-project-entry__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 18px;
}

#about .site-about-project-entry h4 {
  min-width: 0;
  margin: 0;
  font-size: clamp(12px, .86vw, 16px);
  font-weight: 650;
  line-height: 1.45;
}

#about .site-about-project-entry time {
  font-size: clamp(10px, .68vw, 13px);
  white-space: nowrap;
}

#about .site-about-project-entry p {
  margin: 6px 0 0 !important;
  font-size: clamp(10px, .68vw, 13px) !important;
  line-height: 1.55 !important;
}

@media (max-width: 700px) {
  #about .site-about-project-entry__heading {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  #about .site-about-projects__label {
    justify-self: end;
  }
}

/*
 * Project cards: the original GSAP entrance writes large inline horizontal
 * translations and a very low opacity while a card is approaching the
 * viewport.  That animation can be left half-finished by anchor navigation,
 * which made the whole projects section look broken.  Keep the sticky stack
 * and the deliberate hover focus, but make every cover enter in place.
 */
#projects .featured-project-card {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

#projects .featured-project-card__media {
  animation: none !important;
  transform: none !important;
}

/* macOS-inspired project window requested for the detail viewer. */
.hhh-project-viewer__panel {
  width: min(74vw, 1040px) !important;
  height: min(88svh, 920px) !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, .38) !important;
  border-radius: 17px !important;
  background: #fff !important;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, .7),
    0 12px 30px rgba(0, 0, 0, .42) !important;
}

.hhh-project-viewer__header {
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: center !important;
  min-height: 52px !important;
  padding: 0 17px !important;
  border-bottom: 1px solid #e4e4e4 !important;
  background: #fafafa !important;
  color: #171717 !important;
}

.hhh-project-viewer__actions {
  grid-column: 1 !important;
  grid-row: 1 !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 0 !important;
}

.hhh-project-viewer__actions::before {
  content: "";
  order: 2;
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  border-radius: 50%;
  background: #ffbd2e;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
}

.hhh-project-viewer__actions button {
  width: 13px !important;
  height: 13px !important;
  flex: 0 0 13px !important;
  border: 0 !important;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08) !important;
}

.hhh-project-viewer__close {
  order: 1;
  background: #ff5f57 !important;
}

.hhh-project-viewer__fullscreen {
  order: 3;
  background: #28c840 !important;
}

.hhh-project-viewer__actions svg {
  width: 8px !important;
  height: 8px !important;
  color: rgba(0, 0, 0, .52) !important;
  opacity: 0 !important;
  transition: opacity .18s ease !important;
}

.hhh-project-viewer__actions:hover svg,
.hhh-project-viewer__actions:focus-within svg {
  opacity: 1 !important;
}

.hhh-project-viewer__title {
  grid-column: 2 !important;
  grid-row: 1 !important;
  align-self: center !important;
  min-width: 0 !important;
  padding-left: 15px !important;
}

.hhh-project-viewer__title h2 {
  overflow: hidden !important;
  margin: 0 !important;
  color: #171717 !important;
  font-size: clamp(13px, 1vw, 16px) !important;
  font-weight: 650 !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.hhh-project-viewer__title span {
  display: block !important;
  overflow: hidden !important;
  margin-top: 2px !important;
  color: #777 !important;
  font-size: 8px !important;
  line-height: 1.05 !important;
  letter-spacing: .02em !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.hhh-project-viewer__content,
.hhh-project-viewer__stack,
.hhh-project-viewer__stack figure,
.hhh-project-viewer__stack img {
  background: #fff !important;
}

.hhh-project-viewer__content {
  scrollbar-color: #8b8b8b transparent !important;
}

.hhh-project-viewer__scroll-indicator {
  top: 62px !important;
  right: 3px !important;
  bottom: 13px !important;
  width: 8px !important;
}

.hhh-project-viewer__scroll-indicator i {
  width: 4px !important;
  min-height: 54px !important;
  border-radius: 999px !important;
  background: #858585 !important;
  box-shadow: none !important;
}

.hhh-project-viewer__panel.is-expanded {
  width: calc(100vw - 18px) !important;
  height: calc(100svh - 18px) !important;
  border-radius: 17px !important;
}

@media (max-width: 700px) {
  .hhh-project-viewer__panel {
    width: calc(100vw - 20px) !important;
    height: min(88svh, 820px) !important;
    min-height: 390px !important;
    border-radius: 14px !important;
  }

  .hhh-project-viewer__header {
    min-height: 48px !important;
    padding: 0 13px !important;
  }

  .hhh-project-viewer__actions {
    gap: 7px !important;
  }

  .hhh-project-viewer__actions::before,
  .hhh-project-viewer__actions button {
    width: 12px !important;
    height: 12px !important;
    flex-basis: 12px !important;
  }

  .hhh-project-viewer__title {
    padding-left: 12px !important;
  }

  .hhh-project-viewer__title h2 {
    font-size: 13px !important;
  }

  .hhh-project-viewer__scroll-indicator {
    top: 57px !important;
  }
}

/* Video-free site: prevent any late media insertion from flashing on screen. */
video,
source[type^="video/"] {
  display: none !important;
}

.hhh-project-viewer__stack--video-poster {
  min-height: 100%;
  place-items: center;
}

.hhh-project-viewer__stack--video-poster figure,
.hhh-project-viewer__stack--video-poster img {
  width: 100%;
  min-height: 100%;
}

.hhh-project-viewer__stack--video-poster img {
  object-fit: cover !important;
}

/* Opening montage artwork: eight supplied images, repeated to fill twelve cards. */
.hhh-opening__image {
  background-position: center !important;
  background-size: cover !important;
}

.hhh-opening__trail--top .hhh-opening__image:nth-child(1) {
  background-image: url("/performance-assets/opening-card-01.webp") !important;
}

.hhh-opening__trail--top .hhh-opening__image:nth-child(2) {
  background-image: url("/performance-assets/opening-card-02.webp") !important;
}

.hhh-opening__trail--top .hhh-opening__image:nth-child(3) {
  background-image: url("/performance-assets/opening-card-03.webp") !important;
}

.hhh-opening__trail--top .hhh-opening__image:nth-child(4) {
  background-image: url("/performance-assets/opening-card-04.webp") !important;
}

.hhh-opening__trail--top .hhh-opening__image:nth-child(5) {
  background-image: url("/performance-assets/opening-card-05.webp") !important;
}

.hhh-opening__trail--top .hhh-opening__image:nth-child(6) {
  background-image: url("/performance-assets/opening-card-06.webp") !important;
}

.hhh-opening__trail--bottom .hhh-opening__image:nth-child(1) {
  background-image: url("/performance-assets/opening-card-04.webp") !important;
}

.hhh-opening__trail--bottom .hhh-opening__image:nth-child(2) {
  background-image: url("/performance-assets/opening-card-03.webp") !important;
}

.hhh-opening__trail--bottom .hhh-opening__image:nth-child(3) {
  background-image: url("/performance-assets/opening-card-02.webp") !important;
}

.hhh-opening__trail--bottom .hhh-opening__image:nth-child(4) {
  background-image: url("/performance-assets/opening-card-01.webp") !important;
}

.hhh-opening__trail--bottom .hhh-opening__image:nth-child(5) {
  background-image: url("/performance-assets/opening-card-08.webp") !important;
}

.hhh-opening__trail--bottom .hhh-opening__image:nth-child(6) {
  background-image: url("/performance-assets/opening-card-07.webp") !important;
}

/* Originkit-inspired radial image stream: tiles emerge at the centre, grow,
   and travel along unique rays before fading at the viewport edge. */
.hhh-opening {
  animation: hhh-opening-stage-reveal .48s cubic-bezier(.2, .72, .22, 1) 3.56s forwards;
}

.hhh-opening,
.hhh-opening__image,
.hhh-opening__name {
  animation-play-state: paused !important;
}

.hhh-opening.is-hhh-playing,
.hhh-opening.is-hhh-playing .hhh-opening__image,
.hhh-opening.is-hhh-playing .hhh-opening__name {
  animation-play-state: running !important;
}

/* Keep the cover completely hidden until every opening element has finished
   shrinking. The timeline removes this layer at completion; only then may the
   cover appear. */
html.is-hhh-opening .hhh-opening {
  animation: none !important;
  background-color: #000 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

@keyframes hhh-opening-stage-reveal {
  from {
    background-color: #000;
  }

  to {
    background-color: rgba(0, 0, 0, 0);
  }
}

.hhh-opening__image {
  top: 50% !important;
  left: 50% !important;
  width: clamp(106px, 12vw, 210px) !important;
  opacity: 0;
  visibility: visible !important;
  transform: translate(-50%, -50%);
  transform-origin: center;
  animation:
    hhh-opening-radial-stream 1.25s cubic-bezier(.2, .72, .22, 1) var(--hhh-radial-delay, 0s) both,
    hhh-opening-radial-collapse .52s cubic-bezier(.55, 0, .8, .28) 3.7s forwards !important;
}

@keyframes hhh-opening-radial-collapse {
  from {
    translate: var(--hhh-radial-x) var(--hhh-radial-y);
    scale: 1;
    rotate: var(--hhh-radial-rotate, 0deg);
    opacity: .96;
    filter: blur(0);
  }

  to {
    translate: 0 0;
    scale: .12;
    rotate: 0deg;
    opacity: 0;
    filter: blur(10px);
  }
}

@keyframes hhh-opening-radial-stream {
  0% {
    translate: 0 0;
    scale: .16;
    rotate: 0deg;
    opacity: 0;
    filter: blur(12px);
  }

  12% {
    opacity: .96;
    filter: blur(0);
  }

  65%,
  100% {
    translate: var(--hhh-radial-x) var(--hhh-radial-y);
    scale: 1;
    rotate: var(--hhh-radial-rotate, 0deg);
    opacity: .96;
    filter: blur(0);
  }
}

.hhh-opening__trail--top .hhh-opening__image:nth-child(1) {
  --hhh-radial-x: -36vw;
  --hhh-radial-y: -10vh;
  --hhh-radial-rotate: -8deg;
  --hhh-radial-delay: 1s;
}

.hhh-opening__trail--bottom .hhh-opening__image:nth-child(1) {
  --hhh-radial-x: -27vw;
  --hhh-radial-y: -27vh;
  --hhh-radial-rotate: 7deg;
  --hhh-radial-delay: 1.08s;
}

.hhh-opening__trail--top .hhh-opening__image:nth-child(2) {
  --hhh-radial-x: -10vw;
  --hhh-radial-y: -36vh;
  --hhh-radial-rotate: 5deg;
  --hhh-radial-delay: 1.16s;
}

.hhh-opening__trail--bottom .hhh-opening__image:nth-child(2) {
  --hhh-radial-x: 10vw;
  --hhh-radial-y: -36vh;
  --hhh-radial-rotate: -6deg;
  --hhh-radial-delay: 1.24s;
}

.hhh-opening__trail--top .hhh-opening__image:nth-child(3) {
  --hhh-radial-x: 27vw;
  --hhh-radial-y: -27vh;
  --hhh-radial-rotate: -4deg;
  --hhh-radial-delay: 1.32s;
}

.hhh-opening__trail--bottom .hhh-opening__image:nth-child(3) {
  --hhh-radial-x: 36vw;
  --hhh-radial-y: -10vh;
  --hhh-radial-rotate: 8deg;
  --hhh-radial-delay: 1.4s;
}

.hhh-opening__trail--top .hhh-opening__image:nth-child(4) {
  --hhh-radial-x: 36vw;
  --hhh-radial-y: 10vh;
  --hhh-radial-rotate: 6deg;
  --hhh-radial-delay: 1.48s;
}

.hhh-opening__trail--bottom .hhh-opening__image:nth-child(4) {
  --hhh-radial-x: 27vw;
  --hhh-radial-y: 27vh;
  --hhh-radial-rotate: -7deg;
  --hhh-radial-delay: 1.56s;
}

.hhh-opening__trail--top .hhh-opening__image:nth-child(5) {
  --hhh-radial-x: 10vw;
  --hhh-radial-y: 36vh;
  --hhh-radial-rotate: -5deg;
  --hhh-radial-delay: 1.64s;
}

.hhh-opening__trail--bottom .hhh-opening__image:nth-child(5) {
  --hhh-radial-x: -10vw;
  --hhh-radial-y: 36vh;
  --hhh-radial-rotate: 7deg;
  --hhh-radial-delay: 1.72s;
}

.hhh-opening__trail--top .hhh-opening__image:nth-child(6) {
  --hhh-radial-x: -27vw;
  --hhh-radial-y: 27vh;
  --hhh-radial-rotate: 5deg;
  --hhh-radial-delay: 1.8s;
}

.hhh-opening__trail--bottom .hhh-opening__image:nth-child(6) {
  --hhh-radial-x: -36vw;
  --hhh-radial-y: 10vh;
  --hhh-radial-rotate: -6deg;
  --hhh-radial-delay: 1.88s;
}

@media (max-width: 700px) {
  .hhh-opening__image {
    width: clamp(72px, var(--hhh-mobile-size), 118px) !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    animation:
      hhh-opening-mobile-reference var(--hhh-mobile-duration) linear var(--hhh-mobile-delay) both,
      hhh-opening-mobile-collapse .52s cubic-bezier(.55, 0, .8, .28) 3.7s forwards !important;
  }

  .hhh-opening__trail--top .hhh-opening__image {
    --hhh-mobile-start-x: -32vw;
    --hhh-mobile-start-rotate: calc(var(--hhh-mobile-rotate) - 3deg);
    --hhh-mobile-drift-x: 7vw;
    --hhh-mobile-duration: 2.65s;
  }

  .hhh-opening__trail--bottom .hhh-opening__image {
    --hhh-mobile-start-x: 112vw;
    --hhh-mobile-start-rotate: calc(var(--hhh-mobile-rotate) + 3deg);
    --hhh-mobile-drift-x: -7vw;
    --hhh-mobile-duration: 2.1s;
  }

  .hhh-opening__image:nth-child(1) { --hhh-mobile-size: 21vw; --hhh-mobile-rotate: -3.2deg; --hhh-mobile-drift-y: 7px; }
  .hhh-opening__image:nth-child(2) { --hhh-mobile-size: 19vw; --hhh-mobile-rotate: 2.1deg; --hhh-mobile-drift-y: -7px; }
  .hhh-opening__image:nth-child(3) { --hhh-mobile-size: 23vw; --hhh-mobile-rotate: -1.4deg; --hhh-mobile-drift-y: 7px; }
  .hhh-opening__image:nth-child(4) { --hhh-mobile-size: 20vw; --hhh-mobile-rotate: 3.1deg; --hhh-mobile-drift-y: -7px; }
  .hhh-opening__image:nth-child(5) { --hhh-mobile-size: 22vw; --hhh-mobile-rotate: -2.3deg; --hhh-mobile-drift-y: 7px; }
  .hhh-opening__image:nth-child(6) { --hhh-mobile-size: 19vw; --hhh-mobile-rotate: 1.2deg; --hhh-mobile-drift-y: -7px; }

  .hhh-opening__trail--top .hhh-opening__image:nth-child(1) { --hhh-mobile-x: -5vw; --hhh-mobile-y: 9vh; --hhh-mobile-delay: .4s; }
  .hhh-opening__trail--top .hhh-opening__image:nth-child(2) { --hhh-mobile-x: 13.5vw; --hhh-mobile-y: 17vh; --hhh-mobile-delay: .5s; }
  .hhh-opening__trail--top .hhh-opening__image:nth-child(3) { --hhh-mobile-x: 31vw; --hhh-mobile-y: 7.5vh; --hhh-mobile-delay: .6s; }
  .hhh-opening__trail--top .hhh-opening__image:nth-child(4) { --hhh-mobile-x: 49vw; --hhh-mobile-y: 20vh; --hhh-mobile-delay: .7s; }
  .hhh-opening__trail--top .hhh-opening__image:nth-child(5) { --hhh-mobile-x: 67.5vw; --hhh-mobile-y: 10.5vh; --hhh-mobile-delay: .8s; }
  .hhh-opening__trail--top .hhh-opening__image:nth-child(6) { --hhh-mobile-x: 86vw; --hhh-mobile-y: 19vh; --hhh-mobile-delay: .9s; }

  .hhh-opening__trail--bottom .hhh-opening__image:nth-child(1) { --hhh-mobile-x: 89.5vw; --hhh-mobile-y: 69vh; --hhh-mobile-delay: .75s; }
  .hhh-opening__trail--bottom .hhh-opening__image:nth-child(2) { --hhh-mobile-x: 71.5vw; --hhh-mobile-y: 75vh; --hhh-mobile-delay: .85s; }
  .hhh-opening__trail--bottom .hhh-opening__image:nth-child(3) { --hhh-mobile-x: 53.5vw; --hhh-mobile-y: 65vh; --hhh-mobile-delay: .95s; }
  .hhh-opening__trail--bottom .hhh-opening__image:nth-child(4) { --hhh-mobile-x: 35vw; --hhh-mobile-y: 78vh; --hhh-mobile-delay: 1.05s; }
  .hhh-opening__trail--bottom .hhh-opening__image:nth-child(5) { --hhh-mobile-x: 17vw; --hhh-mobile-y: 68vh; --hhh-mobile-delay: 1.15s; }
  .hhh-opening__trail--bottom .hhh-opening__image:nth-child(6) { --hhh-mobile-x: -1.5vw; --hhh-mobile-y: 75.5vh; --hhh-mobile-delay: 1.25s; }
}

@keyframes hhh-opening-mobile-reference {
  0% {
    translate: var(--hhh-mobile-start-x) var(--hhh-mobile-y);
    scale: .28;
    rotate: var(--hhh-mobile-start-rotate);
    opacity: 0;
    filter: blur(18px);
    animation-timing-function: cubic-bezier(.22, 1, .36, 1);
  }

  30% {
    translate: var(--hhh-mobile-x) var(--hhh-mobile-y);
    scale: 1;
    rotate: var(--hhh-mobile-rotate);
    opacity: .94;
    filter: blur(0);
    animation-timing-function: linear;
  }

  100% {
    translate: calc(var(--hhh-mobile-x) + var(--hhh-mobile-drift-x)) calc(var(--hhh-mobile-y) + var(--hhh-mobile-drift-y));
    scale: 1;
    rotate: var(--hhh-mobile-rotate);
    opacity: .94;
    filter: blur(0);
  }
}

@keyframes hhh-opening-mobile-collapse {
  from {
    translate: calc(var(--hhh-mobile-x) + var(--hhh-mobile-drift-x)) calc(var(--hhh-mobile-y) + var(--hhh-mobile-drift-y));
    scale: 1;
    rotate: var(--hhh-mobile-rotate);
    opacity: .96;
    filter: blur(0);
  }

  to {
    translate: 50vw 50vh;
    scale: .12;
    rotate: 0deg;
    opacity: 0;
    filter: blur(10px);
  }
}

@media (min-width: 701px) {
  .hhh-opening__image {
    transform: translate(-50%, -50%) !important;
  }
}

/* Opening name uses the same orange handwritten signature as the cover. */
.hhh-opening__word--name {
  position: relative;
  isolation: isolate;
  width: min(94vw, 1680px);
  height: clamp(240px, 44vw, 660px);
  max-width: none;
  place-items: center;
  display: grid;
  transform: none !important;
}

.hhh-opening__name {
  z-index: 1;
  display: block;
  width: min(82vw, 1150px);
  height: auto;
  object-fit: contain;
  transform: scale(1);
  transform-origin: center;
  animation:
    hhh-opening-name-enlarge .95s cubic-bezier(.2, .72, .22, 1) both,
    hhh-opening-name-shrink .52s cubic-bezier(.55, 0, .8, .28) 3.7s forwards;
}

@keyframes hhh-opening-name-enlarge {
  from {
    transform: scale(.68);
  }

  to {
    transform: scale(1);
  }
}

@keyframes hhh-opening-name-shrink {
  from {
    transform: scale(1);
    opacity: 1;
    filter: blur(0);
  }

  to {
    transform: scale(.24);
    opacity: 0;
    filter: blur(9px);
  }
}

@media (max-width: 700px) {
  .hhh-opening__word--name {
    width: 98vw;
    height: clamp(220px, 62vw, 390px);
  }

  .hhh-opening__name {
    width: min(92vw, 560px);
  }

}

@media (prefers-reduced-motion: reduce) {
  .hhh-opening__name {
    animation: none;
  }
}

/*
 * The replacement cover keeps the about section's original positive lift,
 * but no longer runs the legacy cover-motion script that used to reconcile
 * that offset. Reserve the same amount of space in the cover so the ticker
 * remains inside its clipping boundary instead of being covered by the next
 * section.
 */
.portfolite-cover {
  padding-bottom: calc(max(0px, var(--about-lift, 0px)) + 16px) !important;
}

/* Keep the extra anti-clipping space visually continuous with both sections. */
.portfolite-cover::after {
  content: attr(data-ticker-edge-mask);
  position: absolute;
  z-index: 20;
  right: 0;
  bottom: 0;
  left: 0;
  height: 16px;
  pointer-events: none;
  background: #000;
}

/* White theme retained for easy future toggling; disabled to restore the original dark portfolio. */
@media not all {
/*
 * White portfolio theme. The portfolio used several independent black
 * surfaces rather than one theme token, so keep the conversion together at
 * the end of the local overrides and let project artwork retain its colours.
 */
:root {
  color-scheme: light;
  --site-canvas: #f6f6f3;
  --site-surface: #ffffff;
  --site-ink: #11110f;
  --site-ink-muted: rgba(17, 17, 15, .58);
  --site-rule: rgba(17, 17, 15, .18);
}

html,
body,
main {
  background: var(--site-canvas) !important;
  color: var(--site-ink) !important;
}

::selection {
  background: #171715;
  color: #fff;
}

/* Opening sequence: retain the moving artwork while reversing its stage. */
.hhh-opening {
  background: var(--site-surface) !important;
  color: var(--site-ink) !important;
}

.hhh-opening__word {
  filter: invert(1) !important;
}

.hhh-opening__image {
  background-color: #ecece8 !important;
  box-shadow: 0 12px 34px rgba(20, 20, 18, .14) !important;
}

/* Navigation stays transparent, with dark copy over the light page. */
.hhh-global-nav {
  color: var(--site-ink) !important;
}

.hhh-global-nav__projects {
  color: var(--site-ink-muted) !important;
  text-shadow: 0 1px 12px rgba(255, 255, 255, .92) !important;
}

.hhh-global-nav__profile {
  background:
    linear-gradient(var(--site-surface), var(--site-surface)) padding-box,
    conic-gradient(
      from var(--site-nova-angle),
      #1ccfe9,
      #655cff 27%,
      #cf48ee 53%,
      #f04d99 72%,
      #1ccfe9
    ) border-box !important;
  color: var(--site-ink) !important;
  box-shadow:
    0 5px 18px rgba(35, 28, 94, .12),
    0 0 16px rgba(101, 92, 255, .12),
    inset 0 1px rgba(255, 255, 255, .9) !important;
  text-shadow: none !important;
}

.hhh-global-nav__profile:hover,
.hhh-global-nav__profile:focus-visible {
  background:
    linear-gradient(#f2f2ef, #f2f2ef) padding-box,
    conic-gradient(
      from var(--site-nova-angle),
      #1ccfe9,
      #655cff 27%,
      #cf48ee 53%,
      #f04d99 72%,
      #1ccfe9
    ) border-box !important;
  box-shadow:
    0 7px 22px rgba(35, 28, 94, .16),
    0 0 22px rgba(101, 92, 255, .16),
    inset 0 1px rgba(255, 255, 255, .96) !important;
}

/* Cover artwork and its animated monochrome canvas. */
.portfolite-cover,
.portfolite-hero.portfolio-cover-2026,
.portfolio-cover-2026__atmosphere,
.portfolio-cover-2026__board {
  background: var(--site-canvas) !important;
  color: var(--site-ink) !important;
}

.portfolio-cover-2026__board {
  background: var(--site-surface) !important;
  box-shadow: inset 0 0 0 1px var(--site-rule), 0 28px 80px rgba(25, 25, 22, .08);
}

.portfolio-cover-2026__atmosphere::after {
  background:
    linear-gradient(90deg, rgba(30, 30, 26, .06), transparent 23% 77%, rgba(30, 30, 26, .06)),
    radial-gradient(70% 62% at 50% 48%, transparent 28%, rgba(20, 20, 18, .08) 100%) !important;
}

.portfolio-cover-2026__wave {
  filter: blur(2px) invert(1) !important;
}

.portfolio-cover-2026__clock-line,
.portfolio-cover-2026__crosshair::before,
.portfolio-cover-2026__crosshair::after,
.portfolio-cover-2026__sweep::before {
  background: rgba(17, 17, 15, .23) !important;
}

.portfolio-cover-2026__intro,
.portfolio-cover-2026__services {
  color: rgba(17, 17, 15, .58) !important;
}

.portfolio-cover-2026__title,
.portfolio-cover-2026__year strong {
  color: rgba(17, 17, 15, .88) !important;
}

.portfolio-cover-2026__year i {
  border-color: rgba(17, 17, 15, .62) !important;
}

.portfolio-cover-2026__portraits figure {
  background: #e9e9e5 !important;
}

/* About section. */
#about,
#about .fuel-about__body,
#about .fuel-about__portrait {
  background: var(--site-canvas) !important;
  color: var(--site-ink) !important;
}

#about {
  box-shadow: none !important;
}

#about .fuel-about__identity,
#about .fuel-about__identity *,
#about .fuel-about__contacts,
#about .fuel-about__contacts * {
  color: var(--site-ink-muted) !important;
  -webkit-text-fill-color: var(--site-ink-muted) !important;
}

#about .hhh-about-editorial__composition,
#about .hhh-about-editorial__composition p,
#about .hhh-about-editorial__composition h3,
#about .hhh-about-editorial__composition h4,
#about .hhh-about-editorial__composition time,
#about .hhh-about-editorial__composition a,
#about .hhh-about-editorial__composition b,
#about .hhh-about-editorial__composition span,
#about .fuel-about__main,
#about .fuel-about__main p,
#about .fuel-about__main h2,
#about .fuel-about__main h3,
#about .fuel-about__main h4,
#about .fuel-about__main time {
  color: var(--site-ink) !important;
  -webkit-text-fill-color: var(--site-ink) !important;
}

#about .fuel-about__body [data-hhh-light-text] {
  color: transparent !important;
  background: radial-gradient(
    circle 104px at var(--hhh-text-light-x, -999px) var(--hhh-text-light-y, -999px),
    #11110f 0,
    #11110f 24%,
    rgba(30, 30, 27, .94) 44%,
    rgba(56, 56, 53, .86) 68%,
    #6c6c67 100%
  ) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

#about .site-about-projects__header {
  border-bottom-color: rgba(17, 17, 15, .32) !important;
}

#about .fuel-about__ticker-card {
  border: 1px solid rgba(17, 17, 15, .1);
  background: var(--site-surface) !important;
  box-shadow: 0 14px 42px rgba(24, 24, 21, .08);
}

/* Chapter titles and the selected project stack. */
.selected-work,
.selected-work > .campaign-title-panel,
.featured-projects,
.brand-packaging-title,
.brand-packaging-title > .campaign-title-panel,
.layout-design {
  background: var(--site-canvas) !important;
  color: var(--site-ink) !important;
}

.campaign-title-panel__copy,
.campaign-title-panel__copy.is-hhh-pixel-drift .campaign-word,
.campaign-title-panel__arrow,
.featured-projects__bar,
.featured-projects__side-copy,
.particle-label,
.layout-design__intro,
#layout-design .layout-design__intro > p {
  color: var(--site-ink) !important;
  -webkit-text-fill-color: var(--site-ink) !important;
}

.campaign-title-panel__copy.is-hhh-pixel-active .campaign-word {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}

.hhh-pixel-drift-title {
  filter: invert(1);
}

.campaign-title-dots i {
  background: currentColor !important;
}

.campaign-title-panel__arrow {
  border-color: currentColor !important;
}

.campaign-title-panel__arrow i::before {
  background: currentColor !important;
}

.campaign-title-panel__arrow i::after {
  border-color: currentColor !important;
}

.featured-project-card__media {
  background: #e8e8e4 !important;
  box-shadow: 0 20px 52px rgba(24, 24, 21, .12);
}

.featured-project-card__caption {
  color: #fff !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}

/* Card labels must never disappear while the card reveal animation settles. */
.featured-project-card__caption h3,
.featured-project-card__caption p {
  visibility: visible !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

/* Poster waterfall: light edge fades replace the old black glass fades. */
.layout-design__drift::before,
.layout-design__drift::after {
  background: rgba(246, 246, 243, .74) !important;
}

.layout-design__poster {
  border: 1px solid rgba(17, 17, 15, .09);
  background: var(--site-surface) !important;
  box-shadow: 0 16px 42px rgba(22, 22, 19, .1) !important;
}

/* Closing information keeps the animated matrix, inverted for white paper. */
.portfolio-end,
.portfolio-end__matrix,
.portfolio-end__matrix-canvas {
  background: var(--site-surface) !important;
  color: var(--site-ink-muted) !important;
}

.portfolio-end__info {
  border-top: 1px solid var(--site-rule);
}

.portfolio-end__label,
.portfolio-end__tel,
.portfolio-end__wechat,
.portfolio-end__email,
.portfolio-end__home {
  color: var(--site-ink-muted) !important;
}

.portfolio-end__home:hover,
.portfolio-end__home:focus-visible {
  color: var(--site-ink) !important;
}

.portfolio-end__matrix-canvas {
  filter: invert(1);
}

.portfolio-end__matrix-copy {
  color: var(--site-ink) !important;
}

.portfolio-end__matrix-copy span {
  text-shadow: 0 1px 12px rgba(255, 255, 255, .7) !important;
}

.portfolio-end__matrix-copy {
  display: grid;
  place-items: center;
  padding: clamp(28px, 5vw, 80px);
  text-align: center;
}

.portfolio-end__matrix-message {
  margin: 0;
  color: var(--site-ink) !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(34px, 5.6vw, 88px);
  font-weight: 800;
  line-height: .94;
  letter-spacing: -.055em;
  text-shadow: 0 2px 20px rgba(255, 255, 255, .64) !important;
}

.portfolio-end__matrix.site-liquid-fluid {
  isolation: isolate;
  background: #020205 !important;
}

.portfolio-end__matrix.site-liquid-fluid > .portfolio-end__matrix-canvas[hidden] {
  display: none !important;
}

.site-liquid-fluid__canvas {
  z-index: 0;
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: #020205;
  pointer-events: none;
}

.portfolio-end__matrix.site-liquid-fluid .portfolio-end__matrix-copy {
  z-index: 2;
  color: #fff !important;
}

.portfolio-end__matrix.site-liquid-fluid .portfolio-end__matrix-message {
  color: #fff !important;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .52) !important;
}

.portfolio-end__matrix.site-liquid-fluid-embed {
  height: 33.333svh !important;
  min-height: 260px !important;
  background: #000 !important;
}

.portfolio-end__matrix.site-liquid-fluid-embed > iframe.site-liquid-fluid-embed__frame {
  position: absolute;
  inset: 0 !important;
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 100% !important;
  border: 0 !important;
  background: #000 !important;
  transform: none !important;
}

@media (max-width: 700px) {
  .portfolio-end__matrix.site-liquid-fluid-embed {
    height: 33.333svh !important;
    min-height: 220px !important;
  }

  .portfolio-end__matrix.site-liquid-fluid-embed > iframe.site-liquid-fluid-embed__frame {
    transform: none !important;
  }
}

.portfolio-end__matrix-canvas.is-unavailable {
  background: radial-gradient(ellipse at 30% 65%, rgba(17, 17, 15, .2), transparent 36%), var(--site-surface) !important;
}

/* Light glass surrounds the already light macOS-style project windows. */
.hhh-project-viewer__backdrop {
  background: rgba(236, 236, 232, .72) !important;
  -webkit-backdrop-filter: blur(18px) saturate(.72) !important;
  backdrop-filter: blur(18px) saturate(.72) !important;
}

@media (max-width: 700px) {
  .hhh-global-nav {
    background: linear-gradient(180deg, rgba(246, 246, 243, .94), rgba(246, 246, 243, 0)) !important;
  }
}

@media (max-width: 560px) {
  /* Pixel titles are desktop-only; hide a previously mounted canvas if the
     browser is resized down after it was initialized on a wide viewport. */
  .hhh-pixel-drift-title {
    display: none !important;
  }

  .campaign-title-panel__copy.is-hhh-pixel-drift .campaign-word,
  .campaign-title-panel__copy.is-hhh-pixel-active .campaign-word {
    color: var(--site-ink) !important;
    -webkit-text-fill-color: var(--site-ink) !important;
  }
}
}

/*
 * Keep the campaign headings anchored while their pixel-drift canvas is
 * active. The base stylesheet offsets every word on hover, but the canvas is
 * sampled from the resting layout; switching between those coordinate sets
 * caused the title to jump before the particles began moving.
 */
@media (min-width: 561px) and (hover: hover) and (pointer: fine) {
  .selected-work .campaign-title-panel__copy .campaign-word,
  #brand-packaging .campaign-title-panel__copy .campaign-word {
    --campaign-x: 0px !important;
    --campaign-y: 0px !important;
    --campaign-r: 0deg !important;
  }
}

.selected-work .campaign-title-panel__copy .campaign-word,
.selected-work .campaign-title-panel__copy.is-hhh-pixel-drift .campaign-word {
  color: currentColor !important;
  -webkit-text-fill-color: currentColor !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}

/* Keep the resting layout fixed, then swap only the glyph pixels while the
   pointer is over the title. The emoji artwork remains above the canvas. */
.selected-work .campaign-title-panel__copy.is-hhh-pixel-drift.is-hhh-pixel-active .campaign-word {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  transform: none !important;
}

.selected-work .campaign-title-panel__copy .hhh-pixel-drift-title,
#brand-packaging .campaign-title-panel__copy .hhh-pixel-drift-title,
.particle-label .hhh-pixel-drift-title {
  display: block !important;
  filter: none !important;
}

.selected-work .campaign-title-emojis,
#brand-packaging .campaign-title-emojis {
  display: inline-flex !important;
  align-items: center;
  gap: .14em;
  margin-left: .06em;
  transform: translateY(.035em);
}

.selected-work .campaign-title-emoji,
#brand-packaging .campaign-title-emoji {
  display: block;
  flex: 0 0 auto;
  width: .48em;
  height: .48em;
  object-fit: contain;
  transition: opacity .12s ease;
}

.selected-work .campaign-title-panel__copy.is-hhh-pixel-active .campaign-title-emoji,
#brand-packaging .campaign-title-panel__copy.is-hhh-pixel-active .campaign-title-emoji {
  opacity: 0 !important;
}

.particle-label .particle-label__text {
  opacity: 1 !important;
  filter: none !important;
}

.particle-label.is-hhh-pixel-drift.is-hhh-pixel-active .particle-label__text {
  opacity: 1 !important;
}

.particle-label.is-hhh-pixel-drift.is-hhh-pixel-active .particle-label__text i {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}

.particle-label__text .site-particle-emoji-slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  margin-right: .12em;
  vertical-align: -.1em;
}

.particle-label__text .site-particle-emoji {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity .12s ease;
}

.particle-label.is-hhh-pixel-active .site-particle-emoji {
  opacity: 0 !important;
}

/* Tighten the transition from the brand chapter title into layout work. */
#brand-packaging.brand-packaging-title {
  height: auto !important;
  min-height: 0 !important;
}

/* Give the Selected Other Works title a little more breathing room while
   preserving its existing two-line composition and pixel-drift interaction. */
#brand-packaging .campaign-title-panel__copy .campaign-word {
  letter-spacing: -0.02em !important;
}

#brand-packaging .campaign-title-panel {
  height: auto !important;
  min-height: clamp(360px, 46svh, 480px) !important;
  padding-top: clamp(72px, 8svh, 96px) !important;
  padding-bottom: clamp(52px, 6svh, 72px) !important;
}

#layout-design.layout-design {
  padding-top: clamp(56px, 6svh, 76px) !important;
}

@media (max-width: 700px) {
  #brand-packaging .campaign-title-panel {
    min-height: 320px !important;
    padding-top: 48px !important;
    padding-bottom: 44px !important;
  }

  #layout-design.layout-design {
    padding-top: 56px !important;
  }

  /* Keep every project card on one shared mobile grid instead of alternating
     the left and right edge. */
  #projects .featured-project-card__link,
  #projects .featured-project-card--left .featured-project-card__link,
  #projects .featured-project-card--right .featured-project-card__link {
    width: calc(100% - 36px) !important;
    margin-inline: auto !important;
    transform: none !important;
  }
}

/* Keep the profile copy readable even before the pointer spotlight arrives.
   This final override must follow the legacy spotlight declaration above. */
#about .fuel-about__body [data-hhh-light-text] {
  color: #a7aaad !important;
  background: radial-gradient(
    circle 138px at var(--hhh-text-light-x, -999px) var(--hhh-text-light-y, -999px),
    #fff 0,
    #fff 22%,
    #f0f2f3 42%,
    #cdd1d4 64%,
    #a7aaad 100%
  ) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* The embedded Framer demo is cross-origin, so its labels cannot be edited
   directly. These non-interactive masks keep the fluid canvas visible while
   presenting the portfolio's own closing message. */
.portfolio-end__matrix.site-liquid-fluid-embed::before {
  content: "Keep creating. Keep evolving.";
  z-index: 4;
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(92%, 1120px);
  box-sizing: border-box;
  display: grid;
  min-height: clamp(140px, 17svh, 205px);
  place-items: center;
  padding: .18em .28em .22em;
  transform: translate(-50%, -50%);
  background: #010104;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(30px, 5.2vw, 78px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.052em;
  text-align: center;
  white-space: nowrap;
  pointer-events: auto;
  user-select: none;
  animation: none !important;
  transition: none !important;
  filter: none !important;
  will-change: auto !important;
}

.portfolio-end__matrix.site-liquid-fluid-embed::after {
  content: "";
  z-index: 5;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: clamp(85px, 10svh, 125px);
  background: #000;
  pointer-events: none;
}

@media (max-width: 700px) {
  .portfolio-end__matrix.site-liquid-fluid-embed::before {
    width: min(88%, 480px);
    min-height: 120px;
    font-size: clamp(27px, 8.6vw, 48px);
    white-space: normal;
  }

  .portfolio-end__matrix.site-liquid-fluid-embed::after {
    height: 82px;
  }
}

/* The final contact bar sits on black after the closing stage is removed. */
footer.portfolio-end {
  background: #050505 !important;
  color: #fff !important;
}

footer.portfolio-end .portfolio-end__info {
  background: #050505 !important;
  border-top: 1px solid rgba(255, 255, 255, .18) !important;
  min-height: 112px !important;
  padding-block: 22px !important;
}

footer.portfolio-end .portfolio-end__label,
footer.portfolio-end .portfolio-end__tel,
footer.portfolio-end .portfolio-end__wechat,
footer.portfolio-end .portfolio-end__email,
footer.portfolio-end .portfolio-end__home {
  color: rgba(255, 255, 255, .82) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, .82) !important;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
  filter: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  font-size: clamp(13px, .9vw, 15px) !important;
  font-weight: 500 !important;
}

footer.portfolio-end .portfolio-end__label {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-weight: 700 !important;
}

footer.portfolio-end .portfolio-end__home:hover,
footer.portfolio-end .portfolio-end__home:focus-visible {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

@media (max-width: 700px) {
  footer.portfolio-end .portfolio-end__label,
  footer.portfolio-end .portfolio-end__tel,
  footer.portfolio-end .portfolio-end__wechat,
  footer.portfolio-end .portfolio-end__email,
  footer.portfolio-end .portfolio-end__home {
    font-size: 13px !important;
    line-height: 1.4 !important;
  }

  footer.portfolio-end .portfolio-end__info {
    min-height: 0 !important;
    padding: 26px 18px !important;
  }
}
