:root {
  --ink: #27242a;
  --blue: #288cb9;
  --pink: #efa7ce;
  --mono: "Cristik", Arial, sans-serif;
  --cream: #f3f4dd;
  --page-gutter: 32px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}
.site-loader {
  display: none;
}
html.is-loading {
  overflow: hidden;
}
.is-loading body > :not(#site-loader) {
  visibility: hidden;
  pointer-events: none;
}
.is-loading .site-loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: var(--cream);
}
.loader-content {
  width: min(280px, 72vw);
  text-align: center;
}
.loader-content p {
  font: 16px/1.5 var(--mono);
  letter-spacing: 0.08em;
  margin: 14px 0 18px;
}
.loader-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin: 0 auto;
  filter: url("#logo-remove-white");
  animation: logo-coin 1.067s linear infinite;
}
@keyframes logo-coin {
  from {
    transform: perspective(500px) rotateY(0deg);
  }
  to {
    transform: perspective(500px) rotateY(360deg);
  }
}
.loader-filter {
  position: absolute;
}
.loader-track {
  height: 26px;
  border: 3px solid var(--cream);
  padding: 4px;
  overflow: hidden;
  box-shadow: 5px 5px 0 #27242a30;
  clip-path: polygon(
    4px 0,
    calc(100% - 4px) 0,
    calc(100% - 4px) 4px,
    100% 4px,
    100% calc(100% - 4px),
    calc(100% - 4px) calc(100% - 4px),
    calc(100% - 4px) 100%,
    4px 100%,
    4px calc(100% - 4px),
    0 calc(100% - 4px),
    0 4px,
    4px 4px
  );
}
.loader-track span {
  display: block;
  width: var(--loading-progress, 0%);
  height: 100%;
  background: repeating-linear-gradient(
    90deg,
    var(--cream) 0 10px,
    transparent 10px 14px
  );
  transition: width 0.3s steps(18, end);
}
@media (prefers-reduced-motion: reduce) {
  html:not(.motion-explicit) .loader-logo {
    animation: none;
  }
  .loader-track span {
    transition: none;
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-synthesis: none;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button,
a,
input {
  touch-action: manipulation;
}
button {
  border: 0;
  background: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #fa81ba;
  outline-offset: 7px;
}
::selection {
  background: #ffc1df;
  color: #233e7c;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  padding: 15px;
  background: #fff;
}
.skip-link:focus {
  top: 15px;
}
.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 32px;
  color: white;
  font: 14px var(--mono);
  gap: 20px;
  text-shadow: 0 1px 8px #23628255;
}
.utility {
  display: flex;
  gap: 17px;
  align-items: center;
}
.utility button {
  padding: 4px 0;
  font: inherit;
  white-space: nowrap;
}
.home-link {
  font-size: 26px;
  line-height: 1;
}
.site-header nav {
  display: flex;
  gap: 26px;
}
.site-header nav a {
  position: relative;
  padding: 8px 0;
}
.site-header nav a:after {
  content: "";
  height: 1px;
  background: white;
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 100%;
  transition: right 0.25s;
}
.site-header nav a:hover:after {
  right: 0;
}
.menu-toggle {
  display: none;
}
.sky {
  background-color: #2d90b9;
  background-image:
    radial-gradient(ellipse at 70% 5%, #78c7e044, transparent 60%),
    linear-gradient(120deg, #328fae, #299ac7 60%, #318db7);
  position: relative;
  isolation: isolate;
  color: white;
  overflow: hidden;
}
.sky:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.075;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.8' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
  z-index: 8;
}
.hero {
  height: 100vh;
  height: 100dvh;
  min-height: 660px;
  overflow: hidden;
}
.hero-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-wordmark {
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  height: 122px;
  width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 4;
}
.hero-wordmark img {
  height: 100%;
  width: 23%;
  object-fit: contain;
  filter: drop-shadow(0 5px 4px #15456436);
  animation: letterfloat 6s ease-in-out infinite;
}
.hero-wordmark img:nth-child(2) {
  animation-delay: -1.3s;
}
.hero-wordmark img:nth-child(3) {
  animation-delay: -3s;
}
.hero-wordmark img:nth-child(4) {
  animation-delay: -4.5s;
}
.hero-wordmark video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hero-signature {
  position: absolute;
  top: calc(18% + 124px);
  width: 100%;
  text-align: center;
  font: 12px var(--mono);
  letter-spacing: 0.16em;
  color: #e3f9ff;
  z-index: 5;
}
.portrait-button {
  position: absolute;
  top: 40%;
  left: calc(50% - 162.426px);
  width: 324.852px;
  z-index: 6;
  padding: 0;
  transition: transform 0.5s var(--ease);
}
.portrait-frames {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 14px #16436735);
  animation: headfloat 5s ease-in-out infinite;
}
.portrait-button:hover {
  transform: scale(1.06) rotate(-3deg);
}
.cloud {
  position: absolute;
  pointer-events: none;
  max-width: none;
  z-index: 1;
}
.cloud-hero-back {
  width: 660px;
  right: -180px;
  top: 23%;
  opacity: 0.7;
  transform: rotate(-8deg);
}
.cloud-hero-left {
  width: 85%;
  left: -22%;
  bottom: -5%;
  z-index: 3;
}
.cloud-hero-right {
  width: 87%;
  right: -26%;
  bottom: -7%;
  z-index: 3;
  transform: scaleX(-1);
}
.hero:before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 80px;
  background: linear-gradient(transparent, #fff);
  z-index: 7;
  pointer-events: none;
}
.orbit {
  position: absolute;
  inset: 0;
  z-index: 5;
}
.floater {
  position: absolute;
  display: grid;
  place-items: center;
  width: 85px;
  height: 95px;
  will-change: transform;
}
.float-art {
  display: block;
  width: 65px;
  height: 65px;
  object-fit: contain;
  filter: drop-shadow(3px 9px 6px #08496733);
  transition: scale 0.3s;
  animation: bob 5s ease-in-out infinite;
}
.floater:hover .float-art {
  scale: 1.22;
}
.float-label {
  font: 12px var(--mono);
  background: white;
  color: #315478;
  padding: 5px 7px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
  position: absolute;
  bottom: -6px;
}
.floater:hover .float-label,
.floater:focus-visible .float-label {
  opacity: 1;
}
.f1 {
  left: 18%;
  top: 47%;
  --r: -18deg;
}
.f2 {
  left: 26%;
  top: 61%;
  --r: 12deg;
}
.f3 {
  left: 9%;
  top: 61%;
  --r: -15deg;
}
.f4 {
  left: 32%;
  top: 38%;
  --r: 14deg;
}
.f5 {
  right: 23%;
  top: 44%;
  --r: 15deg;
}
.f6 {
  right: 13%;
  top: 62%;
  --r: -12deg;
}
.f7 {
  right: 30%;
  top: 68%;
  --r: 15deg;
}
.f8 {
  right: 8%;
  top: 40%;
  --r: 15deg;
}
.f2 .float-art,
.f6 .float-art {
  animation-delay: -2s;
}
.f4 .float-art,
.f8 .float-art {
  animation-delay: -4s;
}
.book {
  background: linear-gradient(130deg, #e1caff, #a09ad7);
  height: 50px;
  border-radius: 5px;
  box-shadow:
    4px 6px 0 #fcf8ff,
    6px 7px 0 #a4a0c8;
  transform: rotate(-18deg);
  display: grid;
  place-items: center;
}
.book:after {
  content: "IDEAS";
  font: 12px var(--mono);
  color: white;
}
.cup {
  background: linear-gradient(110deg, #e7ffc5, #a9c976);
  border-radius: 6px 6px 22px 22px;
  width: 48px;
  height: 54px;
  border-top: 8px solid #dae9b3;
  color: #fcffff;
  text-align: center;
  line-height: 40px;
  font-size: 32px;
  transform: rotate(10deg);
}
.cup:after {
  content: "";
  border: 6px solid #b6d193;
  border-left: 0;
  position: absolute;
  width: 15px;
  height: 25px;
  right: -13px;
  top: 8px;
  border-radius: 0 12px 12px 0;
}
.envelope {
  font: 68px Arial;
  color: #fff2c2;
  text-shadow: 2px 3px #f8cb69;
  transform: rotate(-15deg);
}
.music {
  font: bold 77px Arial;
  color: #e5b9ff;
  text-shadow: 3px 4px #c091e7;
  transform: rotate(12deg);
}
.camera {
  background: linear-gradient(130deg, #414856, #101a31);
  border-radius: 12px;
  height: 46px;
  color: #adbfd3;
  font-size: 46px;
  line-height: 42px;
  text-align: center;
  transform: rotate(-12deg);
}
.camera:before {
  content: "";
  position: absolute;
  width: 24px;
  height: 10px;
  background: #293d51;
  top: -7px;
  left: 12px;
  border-radius: 4px;
}
.flower {
  font: 88px Arial;
  color: #f4b1d5;
  line-height: 65px;
  text-shadow: 3px 5px #db87b2;
}
.scroll-note {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: #356785;
  font: 12px var(--mono);
  letter-spacing: 0.1em;
  display: flex;
  gap: 12px;
  align-items: center;
}
.scroll-note span {
  font-size: 24px;
}
.intro {
  min-height: 430px;
  position: relative;
  display: grid;
  place-items: start center;
  padding: 136px 24px 150px;
}
.intro-copy {
  text-align: center;
  z-index: 2;
}
.eyebrow {
  font: 12px/1.6 var(--mono);
  letter-spacing: 0.09em;
}
.intro h2 {
  font: 21px/1.45 var(--mono);
  text-transform: uppercase;
  letter-spacing: -0.7px;
  margin: 16px 0;
}
.intro-copy > p:last-child {
  font-size: 13px;
}
.intro-copy a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.intro-floater {
  position: absolute;
  z-index: 3;
}
.intro-floater:has(.intro-tooltip:not([hidden])) {
  z-index: 4;
}
.intro-floater-trigger {
  display: block;
  width: 100%;
  padding: 0;
}
.intro-floater-trigger img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.intro-star {
  width: 114px;
  top: 178px;
  left: 12%;
}
.intro-star .intro-floater-trigger img {
  transform: rotate(-8deg);
}
.intro-spiral {
  width: 116px;
  top: 115px;
  right: 12%;
}
.intro-spiral .intro-floater-trigger img {
  transform: scaleX(-1);
}
.intro-ribbon {
  width: 80px;
  bottom: 20px;
  left: calc(50% - 40px);
}
.intro-ribbon .intro-floater-trigger img {
  transform: rotate(-32.4deg);
}
.intro-tooltip {
  position: absolute;
  bottom: calc(100% - 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 190px;
  aspect-ratio: 1036 / 550;
  overflow: hidden;
}
.intro-tooltip[hidden] {
  display: none;
}
/* Show the supplied artwork without its transparent outer padding. */
.intro-tooltip img {
  position: absolute;
  top: 0;
  left: 0;
  width: 121.042471%;
  max-width: none;
  height: auto;
  transform: translate(-8.692185%, -28.070175%);
}
.section-heading {
  text-align: center;
}
.section-heading :is(h1,h2) {
  font-size: 30px;
  letter-spacing: -1px;
  margin: 9px 0;
}
.section-heading > p:not(.eyebrow) {
  font-size: 14px;
  margin: 9px 0;
}
.works {
  padding: 105px 0 88px;
  overflow: hidden;
}
.carousel {
  height: 400px;
  margin-top: 65px;
  position: relative;
  perspective: 1000px;
  touch-action: pan-y;
}
.carousel-track {
  height: 100%;
  position: relative;
  width: 100%;
}
.project-slide {
  position: absolute;
  width: 340px;
  height: 340px;
  top: 24px;
  left: calc(50% - 170px);
  padding: 0;
  border-radius: 26px;
  transition:
    transform 0.7s var(--ease),
    opacity 0.6s;
  box-shadow: 0 15px 30px #3b4b5c15;
  border: 1px solid #a2a7ad50;
  overflow: hidden;
  text-align: left;
}
.project-slide:hover {
  box-shadow: 0 18px 40px #3b4b5c25;
}
.preview-art {
  width: 100%;
  height: 100%;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #e8e9ea;
}
.preview-art > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.preview-label {
  position: absolute;
  bottom: 17px;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  font: 11px var(--mono);
  letter-spacing: 0.04em;
  z-index: 3;
}
.art-nature {
  background: #e0e6d6;
}
.nature-word {
  font: italic 40px Arial;
  color: #5b6753;
  letter-spacing: -2px;
}
.nature-word small {
  display: block;
  font: 10px var(--mono);
  letter-spacing: 3px;
  text-align: center;
  margin-top: 12px;
}
.art-collect {
  background: #e4e4f1;
}
.mini-cards {
  position: relative;
  width: 160px;
  height: 190px;
}
.mini-cards i {
  position: absolute;
  inset: 0;
  background: #a1a0c5;
  border: 8px solid #faf8ff;
  border-radius: 9px;
  transform: rotate(-15deg);
  box-shadow: 0 6px 15px #4443;
}
.mini-cards i:nth-child(2) {
  transform: rotate(13deg);
  background:
    radial-gradient(circle at 60% 35%, #efbccc 0 25%, transparent 26%),
    linear-gradient(130deg, #a6bed6, #dbcbe6);
  display: grid;
  place-items: center;
  font: 47px Arial;
  color: #fff;
}
.art-kitchen {
  background: #f2dfcf;
}
.pizza {
  width: 160px;
  height: 160px;
  border: 13px solid #dfb67d;
  border-radius: 50%;
  background:
    radial-gradient(circle at 27% 25%, #b44f3e 0 12%, transparent 13%),
    radial-gradient(circle at 69% 37%, #b44f3e 0 12%, transparent 13%),
    radial-gradient(circle at 47% 70%, #b44f3e 0 12%, transparent 13%), #f2d598;
  transform: rotate(-13deg);
  box-shadow: 9px 10px #aa705314;
}
.art-identity {
  background: #d6ecf5;
}
.art-identity img {
  width: 55%;
  height: 55%;
  object-fit: contain;
  filter: drop-shadow(0 10px 10px #4479a329);
}
.art-art {
  background: #e5dfe4;
}
.art-art:before {
  content: "";
  width: 55%;
  height: 65%;
  background:
    radial-gradient(ellipse at 40% 30%, #d69eaa, transparent 50%),
    radial-gradient(ellipse at 75% 65%, #82777d, transparent 60%), #c7b4c1;
  transform: rotate(-7deg);
  border: 9px solid #faf6f0;
  box-shadow: 5px 9px 20px #5c4e5b22;
}
.art-orbit {
  background: #dcebf3;
}
.art-orbit img,
.art-motion img {
  width: 65%;
  height: 65%;
  object-fit: contain;
}
.art-photo {
  background: #dddcd5;
}
.art-photo:before {
  content: "";
  width: 65%;
  height: 58%;
  background: linear-gradient(165deg, #b6dce7 60%, #aab3a0 60%);
  border: 10px solid #f8f6f0;
  border-bottom-width: 35px;
  transform: rotate(8deg);
  box-shadow: 3px 7px 10px #3332;
}
.art-motion {
  background: #f6e2ec;
}
.art-sketch {
  background: repeating-linear-gradient(0deg, #e9e8e0 0 19px, #ccd2d8 20px);
}
.sketch {
  font: italic 76px Arial;
  color: #426ba5;
  transform: rotate(-18deg);
}
.project-caption {
  position: relative;
  top: -20px;
  text-align: center;
  min-height: 100px;
}
.project-caption > .eyebrow {
  display: block;
  margin-bottom: 10px;
  color: #777a80;
}
.project-caption button {
  display: block;
  margin: auto;
  font: 15px var(--mono);
  font-weight: bold;
}
.project-caption button, .gallery-preview .preview-caption {
  padding: 7px 18px;
  border-radius: 20px;
  background: #edf0f2;
}
.project-caption p {
  font-size: 14px;
}
.archive {
  padding: 70px 0 140px;
}
.archive-toolbar {
  max-width: 1350px;
  margin: 40px auto 22px;
  padding-inline: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.filters {
  display: flex;
  gap: 6px;
}
.filters button {
  font: 12px var(--mono);
  border: 1px solid transparent;
  padding: 8px 12px;
  border-radius: 20px;
}
.filters button.active {
  border-color: #c4c7ce;
  background: #f0f1f3;
}
.archive-card {
  padding: 0;
  text-align: left;
  min-width: 0;
}
.archive-card .preview-art {
  height: 260px;
  border: 1px solid #c3c8ce50;
  border-radius: 20px;
  box-shadow: 0 5px 12px #101a2610;
  transition: transform 0.35s var(--ease);
}
.archive-card h3 {
  font: 14px var(--mono);
  margin: 19px 0 7px;
}
.archive-card > p {
  font-size: 13px;
  color: #7b7e84;
  margin: 0;
}
.archive-card .preview-label {
  font-size: 10px;
}
.about {
  min-height: 690px;
  padding: 250px 24px 150px;
  display: flex;
  justify-content: center;
  align-items: start;
}
.about-cloud {
  width: 850px;
  top: 30px;
  right: -150px;
  opacity: 0.85;
  transform: rotate(-10deg);
}
.about-portrait {
  position: absolute;
  height: 319px;
  width: auto;
  top: 65px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: headfloat 7s ease-in-out infinite;
  animation-delay: -2s;
}
.about-copy {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: var(--about-measure);
  text-shadow: 0 2px 10px #185c8d50;
}
.about-copy > p:not(.eyebrow) {
  font: 17px/1.8 var(--mono);
  text-transform: uppercase;
}
.about-signature {
  display: block;
  margin-top: 28px;
  font: italic 28px Arial;
  color: #e7faff;
}
.contact {
  padding: 60px 4% 48px;
  min-height: 660px;
  display: flex;
  flex-direction: column;
}
.contact .section-heading {
  position: relative;
  z-index: 3;
}
.contact-cloud-left {
  width: 800px;
  left: -260px;
  bottom: -90px;
  opacity: 0.9;
}
.contact-cloud-right {
  width: 900px;
  right: -350px;
  top: 140px;
  opacity: 0.85;
}
.card-stage {
  height: 360px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  perspective: 1100px;
  position: relative;
  z-index: 4;
}
.business-card {
  position: relative;
  width: 410px;
  height: 252px;
  transform-style: preserve-3d;
  transform: rotateX(5deg) rotateY(-13deg) rotateZ(-5deg);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  will-change: transform;
}
.business-card.dragging {
  cursor: grabbing;
}
.card-face {
  position: absolute;
  inset: 0;
  background: #fff;
  border: 1px solid #d5d5dd;
  border-radius: 17px;
  backface-visibility: hidden;
  box-shadow: 0 12px 28px #0d446540;
  color: #383640;
  padding: 19px;
  overflow: hidden;
}
.card-front {
  transform: translateZ(1px);
  background: linear-gradient(135deg, #fff, #fbf9fc);
}
.card-back {
  transform: rotateY(180deg) translateZ(1px);
  background: #ffe4f0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card-top {
  display: flex;
  justify-content: space-between;
  font: 13px var(--mono);
  z-index: 2;
  position: relative;
}
.card-top > span:first-child {
  font: 20px Arial;
  line-height: 16px;
}
.card-top small {
  font: 9px var(--mono);
}
.card-top > span:last-child {
  font-size: 10px;
  text-align: right;
}
.card-monogram {
  position: absolute;
  top: 30px;
  left: 85px;
  font: italic 148px Arial;
  letter-spacing: -45px;
  color: #efa4c6;
  text-shadow:
    2px 3px #cb78a4,
    3px 4px #fbd8e7;
  transform: rotate(-8deg);
}
.card-monogram > span {
  font-style: normal;
}
.card-monogram i {
  position: absolute;
  font: 52px Arial;
  right: -34px;
  top: 22px;
}
.card-bottom {
  position: absolute;
  bottom: 17px;
  left: 19px;
  right: 19px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  font: 9px/1.5 var(--mono);
}
.card-bottom > span:last-child {
  text-align: right;
}
.card-back > p {
  font: 38px/1.1 Arial;
  margin: 10px 0;
}
.card-back > span:last-of-type:not(.card-back-star) {
  font: 11px var(--mono);
}
.card-back-star {
  position: absolute;
  right: 25px;
  bottom: 60px;
  font: 82px Arial;
  color: #d28fb7;
}
.card-hint {
  position: relative;
  z-index: 6;
  display: flex;
  justify-content: center;
  gap: 20px;
  font: 12px var(--mono);
  align-items: center;
  margin-top: -8px;
}
.card-hint button {
  font: inherit;
  border-bottom: 1px solid #ffffff60;
  padding: 5px 0;
}
.contact-links {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  margin-top: auto;
  padding-top: 55px;
  font: 13px var(--mono);
  flex-wrap: wrap;
}
.contact-links > div {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}
.contact-links button {
  padding: 5px 0;
  border-bottom: 1px solid #ffffff66;
}
.contact-links button:hover {
  border-bottom-color: white;
}
.contact-links > div > span {
  font-size: 10px;
  opacity: 0.85;
}
footer {
  display: flex;
  justify-content: space-between;
  padding: 22px 32px;
  gap: 20px;
  font: 11px/1.6 var(--mono);
}
dialog {
  border: 0;
  border-radius: 24px;
  padding: 0;
  width: min(880px, 90vw);
  max-height: 85svh;
  color: var(--ink);
  box-shadow: 0 25px 120px #09193555;
}
dialog::backdrop {
  background: #1e48665c;
  backdrop-filter: blur(9px);
}
dialog[open] {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.dialog-close {
  position: absolute;
  z-index: 4;
  right: 14px;
  top: 12px;
  border-radius: 50%;
  background: #fff9;
  width: 36px;
  height: 36px;
  font-size: 28px;
}
#dialog-art {
  min-height: 440px;
}
#dialog-art .preview-art {
  min-height: 440px;
}
.dialog-copy {
  padding: 65px 35px 35px;
}
.dialog-copy h2 {
  font-size: 34px;
  letter-spacing: -1px;
}
.dialog-copy > p:not(.eyebrow) {
  font-size: 16px;
  line-height: 1.8;
}
.placeholder-note {
  color: #737984;
  border-top: 1px solid #e2e4e7;
  padding-top: 20px;
  font-size: 13px !important;
}
.dialog-done {
  font: 13px var(--mono);
  padding: 14px 0;
  margin-top: 15px;
}
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%, 25px);
  background: #fff;
  color: #315078;
  box-shadow: 0 5px 30px #172b4033;
  padding: 15px 22px;
  border-radius: 6px;
  font: 14px/1.5 var(--mono);
  z-index: 100;
  opacity: 0;
  transition: 0.3s;
  pointer-events: none;
  width: max-content;
  max-width: 90vw;
}
.toast.visible {
  transform: translate(-50%, 0);
  opacity: 1;
}
.model-canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.floater.model-loaded > .float-art {
  visibility: hidden;
}
.floater .model-canvas {
  position: absolute;
  inset: 0;
}
.business-card.model-loaded > .card-face {
  display: none;
}
.business-card.model-loaded {
  transform: none !important;
  width: 500px;
  height: 340px;
  max-width: 90vw;
}
@keyframes bob {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -12px;
  }
}
@keyframes letterfloat {
  0%,
  100% {
    translate: 0 0;
    rotate: -3deg;
  }
  50% {
    translate: 0 -8px;
    rotate: 3deg;
  }
}
@keyframes headfloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -9px;
  }
}
html.motion-off,
html.motion-off *,
html.motion-off *:before,
html.motion-off *:after {
  animation: none !important;
  scroll-behavior: auto !important;
}
.motion-off .project-slide {
  transition: none;
}
.motion-off .portrait-frames {
  animation: none;
}
@media (min-width: 1500px) {
  .orbit {
    max-width: 1450px;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
  }
}
@media (max-width: 1000px) {
  .site-header {
    padding: 22px;
  }
  .site-header nav {
    gap: 16px;
  }
  .utility {
    gap: 10px;
  }
  .hero {
    min-height: 620px;
  }
  .intro-star {
    left: 8%;
  }
  .intro-spiral {
    right: 6%;
  }
  .intro h2 {
    font-size: 18px;
  }
  .intro-copy > p:last-child {
    max-width: 330px;
    margin: 12px auto;
    line-height: 1.5;
  }
  .archive-card .preview-art {
    height: 215px;
  }
  .archive-card .preview-label {
    left: 10px;
    right: 10px;
  }
  .contact-links {
    justify-content: center;
  }
}
@media (max-width: 700px) {
  .site-header {
    padding: 20px 18px;
  }
  .utility {
    font-size: 12px;
    gap: 13px;
  }
  .home-link {
    font-size: 22px;
  }
  .menu-toggle {
    display: block;
    font: 13px var(--mono);
    color: white;
    padding: 6px;
  }
  .site-header nav {
    display: none;
    position: absolute;
    top: 65px;
    left: 18px;
    right: 18px;
    background: #fff;
    color: #2b5779;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 10px 35px #18476440;
    font-size: 15px;
    gap: 20px;
    text-shadow: none;
    flex-direction: column;
  }
  .site-header nav.open {
    display: flex;
  }
  .hero {
    min-height: 660px;
  }
  .hero-wordmark {
    top: 19%;
    height: 95px;
    width: 235px;
  }
  .hero-signature {
    top: calc(19% + 95px);
    font-size: 10px;
  }
  .portrait-button {
    width: min(41vw, 200px);
    left: 50%;
    translate: -50% 0;
    top: 42%;
  }
  .floater {
    width: 60px;
    height: 65px;
  }
  .float-art {
    width: 45px;
    height: 45px;
  }
  .f1 {
    left: 13%;
    top: 43%;
  }
  .f2 {
    left: 16%;
    top: 67%;
  }
  .f3 {
    left: 3%;
    top: 55%;
  }
  .f4 {
    left: 23%;
    top: 32%;
    display: none;
  }
  .f5 {
    right: 14%;
    top: 37%;
  }
  .f6 {
    right: 8%;
    top: 65%;
  }
  .f7 {
    right: 18%;
    top: 76%;
  }
  .f8 {
    right: 2%;
    top: 51%;
  }
  .book {
    height: 34px;
  }
  .cup {
    height: 39px;
    width: 34px;
    line-height: 26px;
    font-size: 22px;
    border-top-width: 6px;
  }
  .cup:after {
    height: 20px;
    width: 10px;
    right: -9px;
    top: 5px;
    border-width: 4px;
  }
  .envelope {
    font-size: 50px;
  }
  .music {
    font-size: 58px;
  }
  .camera {
    height: 32px;
    font-size: 34px;
    line-height: 29px;
  }
  .flower {
    font-size: 64px;
    line-height: 45px;
  }
  .cloud-hero-left {
    width: 155%;
    left: -75%;
    bottom: 0;
  }
  .cloud-hero-right {
    width: 160%;
    right: -85%;
    bottom: 2%;
  }
  .cloud-hero-back {
    width: 420px;
    right: -230px;
    top: 28%;
  }
  .scroll-note {
    font-size: 10px;
    bottom: 26px;
    white-space: nowrap;
  }
  .intro {
    padding: 145px 22px 145px;
    min-height: 470px;
  }
  .intro-star {
    width: 77px;
    top: 99px;
    left: 48px;
  }
  .intro-spiral {
    width: 90px;
    right: 26px;
    top: 52px;
  }
  .intro-copy {
    padding-top: 50px;
  }
  .intro h2 {
    font-size: 18px;
    line-height: 1.5;
  }
  .intro-copy .eyebrow {
    font-size: 10px;
  }
  .intro-copy > p:last-child {
    font-size: 12px;
  }
  .intro-ribbon {
    width: 64px;
    bottom: 22px;
    left: calc(50% - 32px);
  }
  .intro-tooltip {
    width: 180px;
    bottom: calc(100% + 4px);
  }
  .intro-star .intro-tooltip {
    left: -24px;
    transform: none;
  }
  .intro-spiral .intro-tooltip {
    left: auto;
    right: -10px;
    transform: none;
  }
  .section-heading :is(h1,h2) {
    font-size: 25px;
  }
  .section-heading > .eyebrow {
    font-size: 10px;
  }
  .section-heading > p:not(.eyebrow) {
    font-size: 13px;
    padding: 0 15px;
  }
  .works {
    padding: 65px 0 50px;
  }
  .carousel {
    height: 315px;
    margin-top: 45px;
  }
  .project-slide {
    width: 260px;
    height: 270px;
    left: calc(50% - 130px);
  }
  .project-caption {
    min-height: 95px;
  }
  .archive {
    padding: 70px 0 85px;
  }
  .archive-toolbar {
    margin-top: 30px;
  }
  .filters button {
    font-size: 11px;
    padding: 8px 10px;
  }
  .archive-card {
    flex: 0 0 66%;
    scroll-snap-align: start;
  }
  .archive-card .preview-art {
    height: 260px;
  }
  .about {
    min-height: 720px;
    padding: 235px 24px 90px;
  }
  .about-portrait {
    height: 291.5px;
    top: 55px;
  }
  .about-cloud {
    right: -360px;
    width: 800px;
    top: 65px;
  }
  .about-copy > p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.9;
  }
  .about-signature {
    font-size: 24px;
  }
  .contact {
    padding: 50px 22px 50px;
    min-height: 650px;
  }
  .contact .section-heading > .eyebrow {
    font-size: 10px;
    max-width: 240px;
    margin: 0 auto 12px;
  }
  .card-stage {
    height: 310px;
  }
  .business-card {
    width: 310px;
    height: 193px;
  }
  .card-face {
    padding: 15px;
    border-radius: 12px;
  }
  .card-top > span:first-child {
    font-size: 17px;
  }
  .card-top > span:last-child {
    font-size: 9px;
  }
  .card-monogram {
    font-size: 115px;
    left: 60px;
    top: 24px;
    letter-spacing: -35px;
  }
  .card-monogram i {
    font-size: 37px;
    right: -25px;
    top: 18px;
  }
  .card-bottom {
    font-size: 7.5px;
    left: 15px;
    right: 15px;
    bottom: 14px;
  }
  .card-back > p {
    font-size: 32px;
  }
  .card-back > .eyebrow {
    font-size: 9px;
  }
  .card-back-star {
    font-size: 62px;
    bottom: 35px;
  }
  .card-hint {
    font-size: 10px;
    gap: 15px;
  }
  .contact-links {
    margin-top: auto;
    padding-top: 35px;
    gap: 25px;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
  }
  .contact-links > div {
    gap: 12px;
    justify-content: center;
  }
  .contact-links > div > span {
    flex-basis: 100%;
    text-align: center;
    font-size: 9px;
  }
  .contact-cloud-left {
    width: 600px;
    left: -290px;
    bottom: 20px;
  }
  .contact-cloud-right {
    width: 750px;
    right: -480px;
    top: 160px;
  }
  footer {
    padding: 20px;
    flex-direction: column;
    align-items: center;
    font-size: 10px;
    gap: 10px;
  }
  dialog[open] {
    display: block;
  }
  #dialog-art,
  #dialog-art .preview-art {
    min-height: 230px;
    height: 230px;
  }
  .dialog-copy {
    padding: 24px;
  }
  .dialog-copy h2 {
    font-size: 29px;
    margin: 10px 0;
  }
  .dialog-copy > p:not(.eyebrow) {
    font-size: 14px;
  }
  .dialog-close {
    background: #fff;
  }
  .business-card.model-loaded {
    height: 300px;
    width: 350px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html:not(.motion-explicit) {
    scroll-behavior: auto;
  }
  html:not(.motion-explicit) * {
    animation: none !important;
    transition: none !important;
  }
}

/* Foundation corrections: preserve composition while allowing narrow screens. */
.site-header nav[hidden] {
  display: none;
}
.utility button,
.menu-toggle,
.home-link {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.menu-toggle {
  display: none;
}
.business-card {
  max-width: 100%;
  aspect-ratio: 410 / 252;
  height: auto;
}
html.motion-off *,
html.motion-off *::before,
html.motion-off *::after {
  transition: none !important;
}
@media (min-width: 701px) and (max-width: 1100px) {
  .intro-copy {
    max-width: 45%;
  }
  .intro h2 br {
    display: none;
  }
}
@media (max-width: 700px) {
  .menu-toggle {
    display: inline-flex;
  }
  .business-card {
    width: min(310px, 90%);
    height: auto;
  }
  .utility {
    gap: 9px;
  }
  .site-header {
    gap: 8px;
  }
}
@media (max-width: 360px) {
  .site-header {
    padding: 16px 10px;
  }
  .utility {
    gap: 7px;
    font-size: 11px;
  }
  .menu-toggle {
    font-size: 12px;
  }
  .card-monogram {
    font-size: 92px;
    left: 45px;
    top: 20px;
  }
  .card-back > p {
    font-size: 27px;
  }
}

/* Shared GLB orbit; portrait depth mask is rendered by the same scene. */
.orbit {
  inset: 0;
  z-index: 7;
  pointer-events: none;
  max-width: none;
  width: 100%;
  left: 0;
  transform: none;
}
.orbit-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.orbit-hit {
  position: absolute;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: auto;
  touch-action: pan-y;
  cursor: grab;
  padding: 0;
}
.orbit-hit span {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  font: 12px var(--mono);
  color: #24435e;
  background: white;
  padding: 5px 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}
.orbit-hit:hover span,
.orbit-hit:focus-visible span {
  opacity: 1;
}
.orbit.dragging .orbit-hit {
  cursor: grabbing;
}
.orbit-status {
  position: absolute;
  top: 84%;
  width: 100%;
  text-align: center;
  font: 12px var(--mono);
  color: white;
}
.hero {
  touch-action: pan-y;
}
.hero-wordmark {
  width: 320px;
  height: auto;
  aspect-ratio: 656/256;
}
.hero-wordmark .logo-poster,
.hero-wordmark canvas {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: none;
  filter: none;
}
.portrait-frames {
  animation: headfloat 5.8s ease-in-out infinite;
}
.portrait-button:hover {
  transform: none;
}
@media (max-width: 700px) {
  .hero-wordmark {
    width: 245px;
    height: auto;
  }
  .orbit-hit span {
    font-size: 11px;
  }
}

/* Supplied section artwork replaces the temporary cloud layers and grain. */
.hero.sky {
  background-image: url("assets/backgrounds/landing.png");
}
.about.sky {
  background-image: url("assets/backgrounds/about.png");
}
.contact.sky {
  background-image: url("assets/backgrounds/contact.png");
}
.hero.sky,
.about.sky,
.contact.sky {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.sky::after,
.hero::before {
  content: none;
}

/* Persistent transparent navigation; each control follows its underlying section. */
.site-header,
.site-header nav {
  background: transparent;
  box-shadow: none;
  text-shadow: none;
}
.site-header nav a:after {
  background: currentColor;
}
.site-header [data-surface="light"] {
  color: var(--blue);
}
.site-header [data-surface="sky"] {
  color: var(--cream);
}
.site-header a,
.site-header button,
.site-header #clock {
  transition: color 0.15s ease;
}

.reel-dialog[open] {
  display: block;
  width: 65vw;
  max-width: 90vw;
  max-height: 85svh;
  padding: 28px;
  background: #101722;
  color: white;
  border-radius: 16px;
}
.reel-dialog::backdrop {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}
.reel-dialog h2 {
  font: 20px var(--mono);
  margin: 0 45px 20px 0;
}
.reel-close {
  position: absolute;
  right: 14px;
  top: 10px;
  width: 44px;
  height: 44px;
  color: white;
  font-size: 32px;
}
.reel-content {
  aspect-ratio: 16/9;
  display: grid;
  place-items: center;
  background: #192534;
  border-radius: 8px;
  font: 16px var(--mono);
  text-align: center;
}
.reel-content video {
  width: 100%;
  max-height: 68svh;
  display: block;
}
@media (max-width: 700px) {
  .reel-dialog[open] {
    width: 92vw;
    padding: 20px;
  }
  .reel-content {
    font-size: 14px;
  }
}
.orbit-hit {
  user-select: none;
  -webkit-user-drag: none;
}

/* Typography from the supplied wireframe. Cristik is self-hosted for consistent rendering. */
@font-face {
  font-family: "Cristik";
  src: url("assets/fonts/Cristik-aligned.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
.site-header {
  color: var(--cream);
  font-size: 18px;
  font-weight: 400;
}
.utility {
  font-size: 15px;
}
.intro h2 {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: normal;
}
.intro-copy > p:last-child {
  font-family: Arial, sans-serif;
  font-size: 14px;
}
.project-caption button,
.archive-card h3 {
  font-size: 16px;
  font-weight: 400;
}
.section-heading :is(h1,h2) {
  font-family: Arial, sans-serif;
  font-weight: 700;
}
.project-caption > .eyebrow,
.archive-card > p,
.placeholder-note,
.card-face,
.toast,
.orbit-hit span {
  color: var(--ink);
}
.about-copy,
.about-signature,
.contact {
  color: var(--cream);
}
.about-copy > p:not(.eyebrow) {
  font-weight: 400;
  font-style: normal;
}
.about-copy em {
  font-style: normal;
}
.contact-links,
.contact-links button,
.contact-links a,
.contact-links > div > span {
  font-family: Arial, sans-serif;
  font-weight: 700;
  color: var(--cream);
  opacity: 1;
}
.contact-links {
  font-size: 16px;
}
.contact-links > div > span {
  font-size: 16px;
}
.contact-links button {
  border-bottom-color: var(--cream);
}
.contact-links button:hover {
  border-bottom-color: var(--cream);
}
footer {
  font-family: var(--mono);
  color: var(--ink);
  font-size: 16px;
}
@media (max-width: 700px) {
  .site-header nav,
  .menu-toggle {
    font-size: 16px;
  }
  .utility {
    font-size: 13px;
  }
  .intro h2 {
    font-size: 18px;
  }
  .contact-links {
    font-size: 16px;
  }
  .contact-links > div > span {
    font-size: 14px;
  }
  footer {
    font-size: 14px;
  }
}
@media (max-width: 360px) {
  .utility {
    font-size: 12px;
  }
  .menu-toggle {
    font-size: 14px;
  }
}

/* Supplied utility artwork inherits the header contrast colour. */
.utility button {
  gap: 4px;
}
.utility-icon {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  background-color: currentColor;
  mask: var(--icon) center / contain no-repeat;
  -webkit-mask: var(--icon) center / contain no-repeat;
}
.icon-music {
  --icon: url("assets/ui/music.png");
}
.icon-cursor {
  --icon: url("assets/ui/cursor.png");
}
.icon-movement {
  --icon: url("assets/ui/movement.png");
}
/* Keep artwork pixels intact and crop only the transparent canvas with CSS. */
.hero-callout {
  position: absolute;
  z-index: 9;
  padding: 0;
  animation: quiet-float 6s ease-in-out infinite;
}
.hero-callout[hidden] {
  display: none;
}
.hero-click {
  --float-lift: 6px;
  top: calc(40% + 28px);
  left: calc(50% + 95px);
  width: 125px;
}
.hero-greeting {
  top: calc(40% - 36px);
  right: calc(50% + 90px);
  width: 212.8px;
  max-width: calc(50vw - 102px);
  pointer-events: auto;
  animation-duration: 6.8s;
}
.callout-art {
  display: block;
  position: relative;
  overflow: hidden;
}
.hero-click .callout-art {
  aspect-ratio: 1036 / 348;
}
.hero-greeting .callout-art {
  aspect-ratio: 1177 / 696;
}
.callout-art img {
  position: absolute;
  top: 0;
  left: 0;
  height: auto;
  max-width: none;
}
.hero-click img {
  width: 121.042471%;
  transform: translate(-8.692185%, -37.480064%);
}
.hero-greeting img {
  width: 106.542056%;
  transform: translate(-3.030303%, -22.248804%);
}
.intro-floater-trigger {
  --float-lift: 5.5px;
  animation: quiet-float 6.4s ease-in-out infinite;
}
.intro-spiral .intro-floater-trigger {
  animation-duration: 7.3s;
  animation-delay: -1.8s;
}
.intro-ribbon .intro-floater-trigger {
  animation-duration: 5.8s;
  animation-delay: -3.2s;
}
@keyframes quiet-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 calc(-1 * var(--float-lift, 5px));
  }
}
@media (min-width: 701px) and (max-width: 1000px) {
  .site-header {
    gap: 12px;
    padding-inline: 18px;
  }
  .site-header nav {
    gap: 12px;
    font-size: 16px;
  }
  .utility {
    gap: 7px;
    font-size: 13px;
  }
}
@media (max-width: 700px) {
  .utility {
    gap: 7px;
  }
  .utility-icon {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }
  .hero-click {
    top: calc(42% + 27px);
    left: min(calc(50% + 65px), calc(100% - 117px));
    width: 105px;
  }
  .hero-greeting {
    top: calc(42% + min(5vw, 22px));
    left: max(8px, calc(50% - 265px));
    right: auto;
    width: 178.4px;
    max-width: calc(35vw - 12px);
  }

}
@media (max-width: 380px) {
  .site-header {
    padding-inline: 10px;
  }
  .utility {
    gap: 5px;
    font-size: 12px;
  }
  .utility button {
    gap: 2px;
  }
  .utility-icon {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }
  .menu-toggle {
    font-size: 14px;
  }
}

/* Shared scale keeps the clock, switches and navigation visually consistent. */
.site-header {
  --nav-size: 17px;
}
.site-header .utility,
.site-header nav,
.site-header .menu-toggle {
  font-size: var(--nav-size);
}
.site-header .utility-icon {
  width: 1em;
  height: 1em;
  flex-basis: 1em;
  mask-size: var(--icon-size);
  -webkit-mask-size: var(--icon-size);
  mask-position: var(--icon-position);
  -webkit-mask-position: var(--icon-position);
}
/* Exclude the PNGs' transparent margins from their visible 1em size. */
.icon-music {
  --icon-size: 137.802198%;
  --icon-position: 26.889535% 84.883721%;
}
.icon-cursor {
  --icon-size: 136.156352%;
  --icon-position: 56.006006% 50.15015%;
}
.icon-movement {
  --icon-size: 144.971098%;
  --icon-position: 45.501285% 50%;
}
.external-arrow {
  font-family: Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
}
@media (max-width: 1000px) {
  .site-header {
    --nav-size: 15px;
  }
}
@media (max-width: 380px) {
  .site-header {
    --nav-size: 13px;
  }
}

/* Align navigation, contact links and copyright to one responsive page gutter. */
.site-header,
.contact,
footer {
  padding-inline: var(--page-gutter);
}
@media (max-width: 1000px) {
  :root {
    --page-gutter: 18px;
  }
}
@media (max-width: 380px) {
  :root {
    --page-gutter: 10px;
  }
}
/* Continuous horizontal cover flow; the five project slots wrap in either direction. */
.carousel {
  --project-gap: clamp(12px, 2vw, 24px);
  --project-card-size: 36vw;
  height: calc(var(--project-card-size) * 1.25 + 60px);
  cursor: grab;
  user-select: none;
}
.carousel .project-slide {
  width: var(--project-card-size);
  height: calc(var(--project-card-size) * 1.1);
  aspect-ratio: 10 / 11;
  left: calc(50% - var(--project-card-size) / 2);
  transition: none;
  cursor: grab;
  touch-action: pan-y;
}
.carousel.dragging,
.carousel.dragging .project-slide {
  cursor: grabbing;
}
.carousel img {
  -webkit-user-drag: none;
}

/* A seamless archive ribbon; works are for browsing, without activation. */
.archive-viewport {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 12px 0 22px;
  overflow: hidden;
}
.archive-marquee-track {
  display: flex;
  width: max-content;
  animation: archive-scroll var(--archive-duration, 45s) linear infinite;
}
.archive-group {
  display: flex;
  flex: 0 0 auto;
  width: max-content;
  gap: 22px;
  padding-right: 22px;
}
.archive-group .archive-card {
  width: clamp(190px, 20vw, 250px);
  flex: 0 0 auto;
  cursor: default;
}
.archive-group .archive-card .preview-art {
  height: auto;
  aspect-ratio: 5 / 8;
}
.archive-viewport:hover .archive-marquee-track,
.archive-viewport:focus-within .archive-marquee-track {
  animation-play-state: paused;
}
@keyframes archive-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
html.motion-off .archive-viewport {
  overflow-x: hidden;
}
html.motion-off .archive-group[aria-hidden],
html.motion-off .archive-card[data-repeat] {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  html:not(.motion-explicit) .archive-viewport {
    overflow-x: hidden;
  }
  html:not(.motion-explicit) .archive-group[aria-hidden],
  html:not(.motion-explicit) .archive-card[data-repeat] {
    display: none;
  }
}

/* The new orbit destinations share the site's cream, sky and ink palette. */
.world-dialog {
  width: min(70vw, 900px);
  max-width: calc(100vw - 32px);
  max-height: 85dvh;
  border: 0;
  border-radius: 18px;
  padding: 36px;
  background: var(--cream);
  color: var(--ink, #27242a);
  box-shadow: 0 20px 80px #173b6950;
  overflow-y: auto;
}
.world-dialog::backdrop {
  background: rgb(12 25 45 / 45%);
}
.world-dialog h2 {
  font: 32px/1.2 var(--mono);
  margin: 0 40px 14px 0;
}
.world-dialog p,
.world-dialog label {
  font:
    17px/1.5 Arial,
    sans-serif;
}
.world-dialog small {
  font:
    14px/1.4 Arial,
    sans-serif;
}
.world-intro {
  max-width: 620px;
  margin: 0 0 22px;
}
.world-close {
  position: absolute;
  right: 16px;
  top: 12px;
  font: 30px/1 Arial;
  padding: 8px;
}
.world-dialog a {
  color: #18658b;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.world-primary {
  background: #288cb9;
  color: #f3f4dd;
  padding: 12px 18px;
  border-radius: 8px;
  font: 16px/1.2 Arial;
  white-space: nowrap;
}
.world-text-button {
  font: 14px/1.4 Arial;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 8px 0;
}
.world-dialog :focus-visible {
  outline: 2px solid #288cb9;
  outline-offset: 4px;
}
.world-dialog button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.notes-form {
  display: grid;
  gap: 12px;
  margin: 20px 0 26px;
}
.notes-form[hidden],
.notes-signin[hidden] {
  display: none;
}
.notes-form label {
  display: grid;
  gap: 5px;
}
.notes-form input,
.notes-form textarea {
  width: 100%;
  border: 1px solid #288cb950;
  background: #fffefa;
  padding: 12px;
  border-radius: 8px;
  color: #27242a;
  font: 16px/1.5 Arial;
}
.notes-form textarea {
  resize: vertical;
  min-height: 100px;
}
.notes-form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.notes-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.note-card {
  padding: 20px;
  background: #fffefa;
  border-radius: 3px 15px 15px 15px;
  overflow-wrap: anywhere;
}
.note-card.from-raechell {
  background: #dceef5;
}
.note-card p {
  white-space: pre-wrap;
  margin-top: 0;
}
.note-card strong,
.note-card time {
  display: block;
  font: 14px/1.5 Arial;
}
.note-card strong {
  font-weight: bold;
}
.note-card time {
  opacity: 0.65;
}
.notes-status:empty {
  display: none;
}
.notes-refresh {
  margin-top: 16px;
}
.os-caption {
  color: #18658b;
  letter-spacing: 0.06em;
}
.os-log {
  height: min(34dvh, 310px);
  min-height: 160px;
  overflow-y: auto;
  padding: 16px;
  background: #dceef5;
  border: 1px solid #288cb940;
  border-radius: 12px;
}
.os-message {
  max-width: 90%;
  margin: 0 0 12px;
  padding: 14px 16px;
  background: #fffefa;
  border-radius: 10px 10px 10px 2px;
  font: 16px/1.5 Arial;
}
.os-message p {
  font-size: 16px;
  margin: 0 0 10px;
}
.os-question {
  margin-left: auto;
  background: #288cb9;
  color: #f3f4dd;
  border-radius: 10px 10px 2px 10px;
}
.os-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}
.os-prompts button {
  border: 1px solid #288cb960;
  padding: 9px 13px;
  border-radius: 20px;
  font: 15px/1.3 Arial;
}
.os-prompts button:hover {
  background: #dceef5;
}
.os-footer {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.spotify-player {
  margin-bottom: 16px;
}
@media (max-width: 700px) {
  .world-dialog {
    width: calc(100vw - 28px);
    max-width: none;
    padding: 28px 20px;
  }
  .notes-list {
    grid-template-columns: 1fr;
  }
  .notes-form-footer,
  .os-footer {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }
  .world-dialog h2 {
    font-size: 28px;
  }
}

/* Non-modal chat stays alongside the page, without a backdrop or scroll lock. */
.world-dialog.os-dialog {
  position: fixed;
  z-index: 950;
  inset: 0 0 0 auto;
  margin: 0;
  width: 25vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  padding: 28px clamp(16px, 1.5vw, 28px);
  border-radius: 18px 0 0 18px;
  box-shadow: -12px 0 45px #173b6925;
  overscroll-behavior: contain;
}
.os-dialog[open] {
  display: flex;
  flex-direction: column;
}
.os-dialog h2 {
  flex-shrink: 0;
}
.os-dialog .os-caption {
  margin: 0 0 14px;
  font-size: 14px;
}
.os-dialog .world-intro {
  margin-bottom: 16px;
}
.os-dialog .os-log {
  flex: 1 1 180px;
  min-height: 120px;
  height: auto;
  padding: 12px;
}
.os-dialog .os-message {
  max-width: 100%;
  padding: 12px;
}
.os-dialog .os-prompts {
  flex-shrink: 0;
  gap: 6px;
}
.os-dialog .os-prompts button {
  text-align: left;
}
.os-dialog .os-footer {
  flex-shrink: 0;
  flex-direction: column;
  align-items: start;
  gap: 6px;
}
@media (max-width: 1000px) {
  .world-dialog.os-dialog {
    width: min(380px, calc(100vw - 20px));
  }
}

/* Extra canvas room around the card for tilted corners and floating motion. */
.card-stage { height: 470px; }
.business-card.model-loaded {
  width: 660px;
  height: 450px;
  max-width: 100%;
  aspect-ratio: auto;
}
@media (max-width: 700px) {
  .card-stage { height: 390px; }
  .business-card.model-loaded { width: 420px; height: 370px; max-width: 100%; }
}

.portrait-button { -webkit-tap-highlight-color: transparent; }
.portrait-frames { position: relative; display: block; aspect-ratio: 1; }
.portrait-frames img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.portrait-frames .expression { opacity: 0; }

/* Keep the original skin, glasses and curls visible throughout the sequence. */
.portrait-frames .expression {
  mask-image: radial-gradient(ellipse 15% 11% at 50% 44%, #000 58%, transparent 100%);
}
.hero-welcome .callout-art { aspect-ratio: 1177 / 603; }
.hero-welcome img { transform: translate(-3.030303%, -29.665072%); }

/* Lift the print highlights while keeping the dark ink distinct. */
.business-card.model-loaded .model-canvas { filter: contrast(1.08) brightness(1.025); }

.card-download {
  position: relative; z-index: 4; align-self: center; margin-inline: auto;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: 0 1em; border-radius: 2rem;
  background: var(--cream); color: var(--ink); font: 600 15px/1.3 Arial, sans-serif;
  text-decoration: none;
}
.card-download:hover { text-decoration: underline; text-underline-offset: .2em; }
.card-download:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.business-card:not(.model-loaded) { width: min(496.1px, 100%); }
@media (max-width: 700px) { .business-card:not(.model-loaded) { width: min(375.1px, 100%); } }

.orbit-grip {
  position: absolute;
  left: 0;
  top: 0;
  box-sizing: content-box;
  padding: 4px;
  border-radius: 50%;
  pointer-events: auto;
  touch-action: pan-y;
  user-select: none;
}
.orbit-grip > .orbit-hit {
  display: block;
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  transform: none;
}
@media (max-width: 700px) {
  .card-stage { width: 100%; min-width: 0; grid-template-columns: minmax(0, 1fr); }
  .card-stage .business-card.model-loaded { width: min(100%, 420px); justify-self: center; margin-inline: auto; min-width: 0; }
}

.contact-links .footer-social { font: inherit; font-weight: 700; color: var(--cream); padding: 5px 0; border-bottom: 1px solid currentColor; text-decoration: none; }

/* Use the visitor's native cursors for browsing, activation and dragging. */
.orbit-grip { cursor: grab; }
.orbit-hit:is(a[href], button) { cursor: pointer; }
.hero:has(.orbit.dragging), .hero:has(.orbit.dragging) *,
.carousel.dragging, .carousel.dragging *, .business-card.dragging, .business-card.dragging * {
  cursor: grabbing !important;
}
.cursor-spark {
  position: fixed;
  left: 0;
  top: 0;
  width: 24.4944px;
  height: 29.9376px;
  z-index: 2147483647;
  pointer-events: none;
  user-select: none;
  background: url("assets/cursors/stars.png") center / contain no-repeat;
  image-rendering: pixelated;
  filter: drop-shadow(0 1px 0 rgba(39,36,42,.32));
}

/* Keep controls beside the independently scrolling project panel. */
:root { font-variant-emoji: text; }
#project-dialog {
  --rail: 54px; width: min(988px, 98vw); max-width: 98vw;
  background: transparent; border-radius: 0; box-shadow: none; overflow: visible;
}
#project-dialog[open] { display: block; }
.project-panel {
  margin-inline: var(--rail); max-height: 85svh; overflow: auto;
  background: white; border-radius: 24px; display: grid;
  grid-template-columns: 1fr 1fr; box-shadow: 0 16px 50px #09193533;
}
#project-dialog .dialog-close { right: calc(var(--rail) + 12px); }
.project-pager { position: absolute; inset: 50% 0 auto; transform: translateY(-50%);
  display: flex; justify-content: space-between; pointer-events: none; }
.project-pager button { pointer-events: auto; }
@media (max-width: 700px) {
  #project-dialog { --rail: 42px; width: calc(100% - 24px); }
  .project-panel { display: block; border-radius: 16px; }
  #project-dialog .project-pager button { width: 44px; height: 44px; padding: 0; font-size: 18px; background: radial-gradient(circle, #f3f4dd 15.5px, transparent 16px); }
}
.project-pager button {
  display: grid; place-items: center; width: 46px; height: 44px;
  border: 0; border-radius: 999px;
  background: #f3f4dd; color: #27242a; font: 24px/1 Arial,sans-serif;
}
.project-pager button:hover { box-shadow: none; }
.project-pager button:focus-visible { outline: 2px solid #a2d3e4; outline-offset: 3px; }

@media (max-width: 700px) {
  .utility #cursor-toggle { display: none; }
  .site-header:has(nav.open) { z-index: 100; }
  .site-header nav.open {
    position: fixed; inset: 0; height: 100dvh; box-sizing: border-box;
    align-items: center; justify-content: safe center; text-align: center;
    padding: 64px 20px; overflow-y: auto; overscroll-behavior: contain;
    gap: clamp(4px, 2vh, 20px); border-radius: 0; background: rgb(25 34 50 / 84%);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  }
  .site-header nav.open a { color: #f3f4dd; font-size: 1.3em; }
  .site-header:has(nav.open) .menu-toggle { position: relative; z-index: 2; color: #f3f4dd; }
  .site-header:has(nav.open) .utility { visibility: hidden; }
  html:has(.site-header nav.open) { overflow: hidden; }
}

.contact-links .footer-icon { display: none; }
@media (max-width: 700px) {
  .contact-links > div { column-gap: 6px; row-gap: 2px; }
  .contact-links .footer-link-text { display: none; }
  .contact-links :is(.footer-social, button[data-social]) {
    display: inline-grid; place-items: center; width: 44px; height: 44px;
    padding: 0; border: 0; background: transparent; color: #f3f4dd;
  }
  .contact-links .footer-icon { display: block; width: 25px; height: 25px; }
}

.mobile-footer-socials, .mobile-menu-socials { display: none; }
@media (max-width: 700px) {
  #contact .contact-links { display: none; }
  footer { text-align: center; }
  footer > span { width: 100%; }
  footer .mobile-footer-socials, .site-header nav.open .mobile-menu-socials {
    display: flex; flex-wrap: nowrap; justify-content: center; align-items: center;
    gap: clamp(0px, 1vw, 6px); color: #f3f4dd;
  }
  footer .mobile-footer-socials {
    align-self: stretch; margin: 6px calc(-1 * var(--page-gutter)) -20px;
    padding: 6px 0 max(8px, env(safe-area-inset-bottom)); background: #2f8bba;
  }
  .site-header nav.open { padding-block: 78px; }
  .mobile-menu-socials { position: absolute; inset: auto 0 max(16px, env(safe-area-inset-bottom)); }
  :is(.mobile-footer-socials,.mobile-menu-socials) :is(a,button) {
    display: grid; place-items: center; width: 44px; height: 44px;
    padding: 0; border: 0; color: inherit; background: transparent;
  }
  .mobile-menu-socials a::after { display: none; }
  :is(.mobile-footer-socials,.mobile-menu-socials) .footer-icon { display: block; width: 25px; height: 25px; }
}
@media (max-width: 700px) and (max-height: 480px) {
  .site-header nav.open { padding-block: 48px 12px; }
  .site-header nav.open .mobile-menu-socials { position: static; }
}

.project-panel #dialog-description { margin-bottom: 20px; }
.project-panel .dialog-copy { display:flex; flex-direction:column; }
#dialog-more { margin:auto 0 0; }
#dialog-more:hover { text-decoration:underline; }
.art-record { background:#c7d9e4; }
.record-disc,.plate.record i { display:block;width:56%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,#f3f4dd 0 2%,#94acb6 2% 24%,transparent 25%),repeating-radial-gradient(circle,#27242a 0 3px,#49474d 4px); }
.art-pebble { background:#e2dfd5; }
.pebble-form,.plate.pebble i {display:block;width:55%;aspect-ratio:1.4;border-radius:64% 40% 54% 45%;transform:rotate(-20deg);background:radial-gradient(ellipse at 32% 20%,#e6e6d5,#9da9a0 55%,#58665e);}

/* The artwork is the entire recto; correspondence lives on the verso. */
.carousel { height:calc(var(--project-card-size) * .85 + 52px); }
.carousel .project-slide { aspect-ratio:3 / 2; height:auto; border-radius:0; border:0; }
.project-panel.postcard-back { display:block; border-radius:0; color:#27242a; background:#f3f4dd; }
.postcard-body { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); padding:clamp(32px,4vw,54px); gap:clamp(24px,3vw,48px); min-height:clamp(340px,28vw,424px); }
.postcard-note { display:flex;flex-direction:column; }
.postcard-kicker,.address-lines { font:12px/1.6 var(--mono); letter-spacing:.04em; }
.postcard-kicker { color:#50666b; text-transform:uppercase; margin-bottom:32px; }
.postcard-note .eyebrow { margin:0; }
.postcard-note h2 { font:600 clamp(23px,2.6vw,38px)/1.08 Arial,sans-serif; letter-spacing:-.045em; margin:10px 0 16px; overflow-wrap:break-word; }
.postcard-note #dialog-description { font:16px/1.55 Arial,sans-serif; margin:0; }
.postcard-signature { margin:auto 0 0; padding-top:22px; font:italic 21px Georgia,serif; }
.postcard-address { display:flex;flex-direction:column; border-left:1px solid #b4bdba;padding-left:clamp(18px,2.7vw,40px); }
.postage { position:relative;align-self:flex-end;width:155px;height:90px;margin:7px 0 20px; }
.postage-stamp {position:absolute;right:0;top:0;width:68px;height:81px;display:grid;place-items:center;background:#4982a0;border:4px dotted #f3f4dd;transform:rotate(5deg);}
.postage-stamp img {width:92%;height:92%;object-fit:contain}
.postmark {position:absolute;left:0;bottom:4px;width:113px;color:#526771;transform:rotate(-8deg);}
.address-lines {margin:auto 0 20px;color:#53616a;}
.address-lines span { display:block; padding:7px 0 3px;border-bottom:1px solid #b4bdba; }
.postcard-address #dialog-more {margin:auto 0 0;align-self:flex-end;}
@media(max-width:700px){
  .postcard-body { display:block;min-height:0;padding:20px; }
  .postcard-kicker { font-size:10px;margin:0 30px 20px 0; }
  .postcard-note h2 { font-size:24px; }
  .postcard-note #dialog-description { font-size:15px; }
  .postcard-signature {padding-top:12px;font-size:18px;}
  .postcard-address {border:0;border-top:1px solid #b4bdba;padding:14px 0 0;margin-top:18px;display:grid;grid-template-columns:1fr 70px;gap:12px;}
  .postage {width:76px;height:54px;grid-column:2;grid-row:1;margin:0;}
  .postage-stamp {width:39px;height:50px;}
  .postmark {width:56px;}
  .address-lines {grid-row:1;grid-column:1;font-size:10px;margin:0;}
  .address-lines span {padding:1px 0;}
  .postcard-address #dialog-more {grid-column:1/-1;justify-self:end;}
}

.carousel .project-slide,.postcard-reveal-front { border:5px solid #f3f4dd; box-sizing:border-box; }
.postcard-reveal-front { position:absolute; inset:0 var(--rail); background:#f3f4dd; pointer-events:none; backface-visibility:hidden; box-shadow:0 10px 28px #27242a24; }
.postcard-reveal-front[hidden] { display:none; }
#project-dialog .project-pager { z-index:2; }

/* Keep both faces on the same sheet; only the note scrolls when space is tight. */
#project-dialog { --rail:0px; width:min(800px,94vw,126svh); max-height:none; }
#project-dialog {
  width:min(800px,94vw,calc(150svh - 180px)); padding:0;
}
.postcard-sheet {position:relative;aspect-ratio:3/2;}
#project-dialog .postcard-back {
  position:absolute;inset:0;margin:0;max-height:none;display:block;overflow-y:auto;overflow-x:hidden;
  background:#f3f4dd; scrollbar-width:thin;
}
#project-dialog .dialog-close {right:0; top:-40px; background:#f3f4dd;}
.postcard-back .postcard-body {
  display:grid;box-sizing:border-box;min-height:100%;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);
  gap:clamp(14px,3vw,40px); padding:clamp(14px,3.8vw,48px);
}
.postcard-kicker {font:600 clamp(13px,2vw,24px)/1.1 Georgia,serif; letter-spacing:.14em; margin:0 0 clamp(12px,3vw,36px);}
.postcard-note #dialog-description {font:italic clamp(15px,1.8vw,22px)/1.4 Georgia,serif;}
.postcard-address {min-width:0;}
.postcard-address .postage {align-self:flex-end;max-width:100%;}
#project-dialog .project-pager {
  position:static;transform:none;justify-content:center;align-items:center;
  gap:12px;margin:12px auto 0;padding:0;width:fit-content;background:transparent;
}
.postcard-reveal-front .preview-art > img,.carousel .preview-art > img {object-fit:contain;}
@media(max-width:700px){
  .carousel {--project-card-size:52vw;}
  .postcard-back .postcard-body {gap:10px;padding:clamp(11px,3vw,20px);}
  .postcard-note .postcard-kicker {font:600 12px/1 Georgia,serif;letter-spacing:.14em;margin:0 0 7px;}
  .postcard-note .eyebrow {font:10px/1.2 Arial,sans-serif;letter-spacing:.02em;}
  .postcard-note h2 {font-size:clamp(16px,4.2vw,24px);margin:5px 0 8px;}
  .postcard-note #dialog-description {font-size:clamp(13px,3.2vw,17px);line-height:1.25;}
  .postcard-signature {font-size:15px;padding-top:8px;}
  .postcard-address {display:flex;border:0;border-left:1px solid #b4bdba;padding:0 0 0 10px;margin:0;gap:5px;}
  .postcard-address .postage {margin:0 0 2px;}
  .postcard-address .address-lines {font:11px/1.25 Arial,sans-serif;margin:auto 0 4px;}
  .postcard-address .address-lines span {padding:3px 0;}

}

/* A cut edge, a contact shadow and a diffuse shadow give the paper its thickness. */
.carousel .project-slide,.postcard-reveal-front,#project-dialog .postcard-back {
  box-shadow:inset 0 1px 0 #fff, 0 1px 0 #e1d9c9, 0 2px 0 #bfb6a4,
    1px 4px 5px #3b34261a, 3px 12px 22px -9px #342e2942;
}
#project-dialog .postcard-back {
  background: #f3f4dd url("assets/ui/paper-grain.svg");
  box-shadow:inset 0 1px 0 #fff, 0 1px 0 #e1d9c9,0 2px 0 #bfb6a4,
    1px 5px 7px #24232a24, 6px 21px 35px -13px #1c252d66;
}
.postcard-reveal-front::after,.carousel .project-slide::after {
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(125deg,#fff2,transparent 48%,#2b253204);
}
.postage-stamp {
  padding:6px;box-sizing:border-box;height:calc(56px * 570 / 520 + 12px);
  border:0;background:transparent url("assets/ui/postage-paper.svg") center/100% 100% no-repeat;
  transform:perspective(280px) rotateZ(5deg) rotateY(-7deg) rotateX(4deg);
  filter:drop-shadow(.5px 1px .4px #56493080) drop-shadow(1.5px 2.5px 1.5px #40342240);
}
.postage-stamp img {
  width:100%;height:100%;margin:0;object-fit:contain;
  filter:none;
}
.postmark {opacity:.8;mix-blend-mode:multiply;}

.card-download{font-family:"Cristik",monospace;font-weight:400}

.project-pager svg{display:block;margin:auto;pointer-events:none}

#works-title,#archive-title,#contact-title,.contact-links > div > span{font-family:Arial,sans-serif;font-weight:700}
.contact-links .footer-link-text{font-family:Arial,sans-serif}

.larger-title,#project-title{font-size:calc(1em + 4px)}
.larger-subtitle{font-size:calc(1em + 2px)}
#project-dialog #dialog-title{font:italic 400 calc(clamp(23px,2.6vw,38px) + 4px)/1.08 "argent-pixel-cf",ArchiveArgent,"Argent Pixel CF","Argent Pixel",Arial,sans-serif;letter-spacing:normal}
#project-dialog .postcard-kicker,#project-dialog .postcard-signature{font-family:Cristik,Arial,sans-serif;font-weight:400;font-style:normal}
#project-dialog .address-lines,#project-dialog #dialog-category,#project-dialog #dialog-description{font-family:Arial,sans-serif;font-style:normal}
@media(max-width:700px){#project-dialog #dialog-title{font-size:calc(clamp(16px,4.2vw,24px) + 4px)}}

#project-title{font-family:"argent-pixel-cf",Georgia,serif;font-weight:400;font-style:italic;text-transform:none}
body:has(dialog[open]) .site-header{visibility:hidden}

.site-header .nav-home {flex:none;display:grid;place-items:center;width:calc(1.35em + 7px);min-height:24px;color:inherit}
.site-header .nav-home::before {content:"";width:calc(1.15em + 7px);height:calc(1.15em + 7px);background:currentColor;mask:url("/assets/ui/zhbo-nav.png") 45% 55% / 140% no-repeat}
.site-header .nav-home[data-surface="light"] {color:var(--blue)}

/* One cloud field spans the landing and the space before the intro copy. */
main {
  --about-measure: 1100px;
  --cloud-fade: clamp(120px, 14vw, 215px);
  --sky-mist: #dfedf5;
  --section-gap: calc(clamp(96px, 9vw, 144px) + 60px);
  --portrait-top: 65px;
  --studio-bottom: calc(var(--section-gap) - var(--portrait-top));
}
.landing-sky { position: relative; }
.landing-sky .hero-background {
  pointer-events: none;
  background: linear-gradient(to bottom, transparent calc(100% - clamp(80px,12vh,156px)), var(--sky-mist)),
              #2f8cb7 url("assets/backgrounds/pixel-cloudbank.png") center bottom / cover no-repeat;
}
.landing-sky .hero-background::after {
  content: "";
  position: absolute;
  inset: 100% 0 auto;
  height: var(--cloud-fade);
  background: linear-gradient(to bottom, var(--sky-mist), white);
}
.hero.sky { background: transparent; }
.intro {
  padding-top: calc(var(--cloud-fade) + 96px);
  background: transparent;
}
.works { padding-block: calc(var(--section-gap) - 20px) 0; }
#archive { padding-block: var(--section-gap) var(--studio-bottom); }
.toronto-descent .about { min-height: auto; padding-bottom: 0; }
.toronto-descent .about-portrait { top: var(--portrait-top); }
.toronto-descent .about-copy > p:last-child { margin-bottom: 0; }
.toronto-descent .contact { padding-top: var(--section-gap); }
#archive .stamp-sheet { position: relative; z-index: 1; }
.toronto-descent { position: relative; isolation: isolate; }
.toronto-descent::before {
  --city-fade: clamp(135px, 15vw, 225px);
  content: ""; position: absolute; inset: 0;
  z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, #fff, #ffffffe6 calc(var(--city-fade) * .12), #ffffff94 calc(var(--city-fade) * .42), #ffffff26 calc(var(--city-fade) * .77), transparent var(--city-fade)),
              linear-gradient(180deg, #18344f19, #10284099 31%, #172e4388 64%, #142b40b5),
              url("assets/backgrounds/pixel-toronto.png") center 64% / cover no-repeat;
}
.toronto-descent > .sky { background: transparent; border: 0; }
.toronto-descent .about-copy, .toronto-descent .section-heading, .toronto-descent .contact-links {
  text-shadow: 0 1px 5px #14304ee0;
}
.toronto-descent .card-stage { margin-top: 15px; translate: 0 -12px; }
@media (max-width: 700px) {
  main { --portrait-top: 55px; }
  .toronto-descent::before { background-position: center, center, center bottom; }
}

.preview-art.art-title-card { display:grid; place-items:center; padding:8%; text-align:center; color:#f3f4dd; background:#27242a; font:italic clamp(24px,4vw,60px)/1.05 "argent-pixel-cf",Georgia,serif; }
#dialog-more[hidden], #postcard-role[hidden] { display:none; }

#project-dialog .address-lines { font-family:Cristik,monospace; font-size:16px; }
#project-dialog .postcard-signature { font-size:16px; }
@media(max-width:700px) {
  #project-dialog .address-lines { font-size:15px; }
  #project-dialog .postcard-signature { font-size:13px; }
}

#project-dialog .project-pager[hidden] { display:none; }
@media(max-width:700px) { .postage-stamp { padding:4px;height:calc(31px * 570 / 520 + 8px); } }

/* The artwork fills the postcard, including its narrow mobile border. */
.carousel .preview-art > img,.postcard-reveal-front .preview-art > img { object-fit:cover; }
#project-dialog .postcard-note h2 { margin-top:0; }
#project-dialog .postcard-signature { margin:auto 0 0; padding:7px 0; line-height:1.2; }
#project-dialog .postcard-body { align-items:stretch; }
.resume-link { margin-top:24px; text-shadow:none; }
.contact > .card-download { margin-top:24px; }
@media(max-width:700px) {
  #project-dialog .postcard-sheet { aspect-ratio:auto; }
  #project-dialog .postcard-back { position:relative; overflow:visible; }
  #project-dialog .postcard-body { min-height:250px; padding:14px; gap:12px; }
  #project-dialog #dialog-title { font-size:20px; margin:0 0 8px; }
  #project-dialog .postcard-note #dialog-description { font-size:12px; line-height:1.35; margin:0 0 10px; }
  #project-dialog .address-lines { font-size:12px; line-height:1.3; }
  #project-dialog .postcard-signature { font-size:13px; }
  #project-dialog .postcard-address { gap:8px; }
}

html,body {overflow-x:clip}

.intro-copy > p:last-child,.section-heading > p:not(.eyebrow) .larger-subtitle {font-size:18px}
.work-sheet {
  width:min(calc(100% - 2 * var(--page-gutter)),1320px);margin:auto;
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:32px 24px;
}
.work-card {min-width:0;text-align:center;overflow-wrap:anywhere}
.work-card img {display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;box-shadow:0 3px 10px #27242a26}
.work-card span {display:block;margin:10px 0 4px;font:italic 22px/1.12 "argent-pixel-cf",Georgia,serif}
.work-card small {font:14px/1.25 Cristik,Arial,sans-serif}
@media(max-width:1000px){.work-sheet {grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.work-sheet {grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px}}

#dialog-description > p {margin:0;font:inherit;color:inherit}
#dialog-description > p + p {margin-top:.65em}
@media(min-width:701px){
  #project-dialog .postcard-note #dialog-description {font-size:clamp(14px,1.2vw,17px);line-height:1.4}
}
@media(max-width:700px){
  #project-dialog .postcard-body {grid-template-columns:minmax(0,1.65fr) minmax(0,1fr)}
}

.site-header .mobile-home-link { display:none }
@media(max-width:700px) {
  .site-header nav.open .mobile-home-link { display:block }

}

@media (max-width: 700px) {
  .site-header nav#navigation.open,
  .site-header nav#navigation.open a { color: #f3f4dd; }
  .site-header nav#navigation.open { background-color: rgba(23, 28, 43, .82); }
}

/* Shared fixed header above every page theme. Only the open drawer has a scrim. */
body header.site-header { background: transparent !important; box-shadow: none; backdrop-filter: none; }
header.site-header { --header-ink: #2f8bba; }
header.site-header[data-surface="sky"], header.site-header:has(#navigation.open) { --header-ink: #f3f4dd; }
body header.site-header, body header.site-header :is(#clock, button, a, .utility-icon, #navigation) {
  color: var(--header-ink) !important;
  transition: none;
}
body header.site-header #navigation:not(.open) { background: transparent; }
body header.site-header #navigation.open { background: rgba(23,28,43,.86); }
body header.site-header button.menu-toggle {
  appearance: none; -webkit-appearance: none;
  background: transparent !important; border: 0 !important; border-radius: 0; box-shadow: none !important;
  -webkit-tap-highlight-color: transparent; flex: none;
  padding: 10px; width: 44px; height: 44px;
}
.menu-toggle svg { display:block; width:24px; height:24px; }
.menu-toggle .menu-cross, .menu-toggle[aria-expanded="true"] .menu-bars { display:none; }
.menu-toggle[aria-expanded="true"] .menu-cross { display:inline; }
.site-header :is(a,button):focus-visible { outline:2px solid currentColor; outline-offset:2px; }

/* Mask the entire expanded control so only the two diagonal strokes can paint. */
@media (max-width: 700px) {
  body header.site-header button.menu-toggle[aria-expanded="true"] {
    background: transparent !important;
    -webkit-mask: url("/assets/ui/nav-close.svg") center / 24px 24px no-repeat;
    mask: url("/assets/ui/nav-close.svg") center / 24px 24px no-repeat;
  }
  body header.site-header button.menu-toggle[aria-expanded="true"]:focus-visible {
    mask-size: 30px 30px;
  }
}
